/* pippadrop.com. Colours from the app's tokens (app/lib/src/design/tokens.dart):
   the grown-ups' green for text and links, the children's orange for the one
   main call to action, and their warm cream for the tinted bands. Nunito for
   headings, served from this site. Light only, like the app's public pages. */
@font-face {
  font-family: "Nunito";
  src: url("/fonts/Nunito-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("/fonts/Nunito-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --surface: #ffffff;
  --cream: #fff6e5;
  --cream-deep: #ffe9c7;
  --sunken: #f3f5f4;
  --ink: #18282a;
  --muted: #4a5b5d;
  --line: #d3dbd9;
  --primary: #2e6a5c;
  --primary-edge: #24564a;
  --kids: #ff8c1a;
  --kids-edge: #b85a00;
  --kids-ink: #2b1b0e;
  --focus: #1749c4;
  --radius: 20px;
  --head: "Nunito", ui-rounded, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font: 18px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: var(--primary); font-weight: 600; }
a:focus-visible, summary:focus-visible { outline: 4px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--head); line-height: 1.15; color: var(--ink); }
h1 { font-size: clamp(2.25rem, 5vw + 1rem, 3.5rem); font-weight: 800; margin: 0 0 16px; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 2vw + 1rem, 2.25rem); font-weight: 800; margin: 0 0 12px; }
h3 { font-size: 1.25rem; font-weight: 700; margin: 0 0 6px; }
p { margin: 0 0 12px; }

.wrap { max-width: 68rem; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 2; }
.skip:focus { left: 8px; }

/* Header and footer */
.top { border-bottom: 1px solid var(--line); background: var(--surface); }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding-top: 12px; padding-bottom: 12px; }
.brand { margin-right: auto; display: block; }
.brand img { display: block; height: 40px; width: auto; }
.top nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.top nav a { text-decoration: none; }
.top nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

.foot { background: var(--ink); color: #e9efed; padding: 40px 0; margin-top: 0; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; }
.foot img { filter: brightness(0) invert(1); opacity: 0.9; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot a { color: #ffffff; font-weight: 500; }
.foot p { width: 100%; margin: 0; color: #b9c6c3; font-size: 0.9rem; }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 8px; }
.button {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: var(--head);
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  border: 2px solid var(--primary);
  color: var(--primary);
  background: var(--surface);
}
.button:hover { background: var(--sunken); }
.button.primary {
  background: var(--kids);
  border-color: var(--kids);
  color: var(--kids-ink);
  box-shadow: 0 4px 0 var(--kids-edge);
}
.button.primary:hover { background: #ff9d3d; }
.button.primary:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--kids-edge); }
.note { color: var(--muted); font-size: 0.95rem; }

/* Hero */
.hero { display: grid; gap: 24px; align-items: center; padding: 40px 0 56px; }
.hero .lead { font-size: 1.25rem; color: var(--muted); max-width: 34rem; }
.hero-art {
  justify-self: center;
  width: min(320px, 70vw);
  background: radial-gradient(circle at 50% 55%, var(--cream-deep) 0 58%, transparent 59%);
  padding: 16px;
}
@media (min-width: 800px) {
  .hero { grid-template-columns: 1.3fr 1fr; padding: 64px 0 80px; }
  .hero-art { width: 360px; }
}

/* Sections */
.band { padding: 56px 0; }
.band.tint { background: var(--cream); }
.intro { font-size: 1.125rem; color: var(--muted); max-width: 44rem; margin-bottom: 28px; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 16px; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(5, 1fr); } }
.step { counter-increment: step; background: var(--surface); border-radius: var(--radius); padding: 20px; border: 1px solid var(--cream-deep); }
.step::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 40px; height: 40px; margin-bottom: 12px;
  border-radius: 50%;
  background: var(--kids); color: var(--kids-ink);
  font-family: var(--head); font-weight: 800; font-size: 1.2rem;
}
.step p { margin: 0; color: var(--muted); }

.adventures { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
@media (min-width: 900px) { .adventures { grid-template-columns: repeat(3, 1fr); } }
.adventure { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.adventure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: var(--cream); }
.adventure > div { padding: 16px 18px 20px; }
.adventure p { margin: 0; color: var(--muted); }
.adventure.coming { border: 3px dashed var(--kids); background: var(--cream); }
.coming-art { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; background: var(--cream-deep); }
.adventure.coming .coming-art img { width: 55%; aspect-ratio: 1; object-fit: contain; background: none; }
.count {
  position: absolute; top: 12px; right: 12px;
  padding: 4px 14px; border-radius: 999px;
  background: var(--kids); color: var(--kids-ink);
  font-family: var(--head); font-weight: 800; font-size: 1.4rem;
  box-shadow: 0 3px 0 var(--kids-edge);
}
.tag { display: inline-block; margin-left: 8px; padding: 2px 10px; border-radius: 999px; background: var(--kids); color: var(--kids-ink); font-size: 0.8rem; vertical-align: middle; }

.audiences { display: grid; gap: 24px; }
@media (min-width: 860px) { .audiences { grid-template-columns: 1fr 1fr; } }
.audience { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.audience img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.audience > div { padding: 20px 22px 24px; }

.bullets { padding-left: 1.2em; margin: 0 0 12px; }
.bullets li { margin-bottom: 8px; }
.band.tint .bullets { max-width: 48rem; }

.plans { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.plan.featured { border: 3px solid var(--kids); background: var(--cream); }
.price { margin: 4px 0 16px; color: var(--muted); }
.price strong { font-family: var(--head); font-size: 2.25rem; color: var(--ink); }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding-left: 28px; position: relative; margin-bottom: 8px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 800; }

.questions { max-width: 48rem; }
.question { border-bottom: 1px solid var(--line); padding: 4px 0; }
.question summary { cursor: pointer; padding: 14px 0; font-family: var(--head); font-weight: 700; font-size: 1.15rem; }
.question p { color: var(--muted); }

.closing { background: var(--primary); color: #ffffff; padding: 48px 0; }
.closing h2 { color: #ffffff; }
.closing-inner { display: grid; gap: 16px; align-items: center; justify-items: start; }
.closing img { width: 180px; background: radial-gradient(circle, #ffffff 0 60%, transparent 61%); padding: 8px; }
@media (min-width: 720px) { .closing-inner { grid-template-columns: auto 1fr; gap: 40px; } }
