/* WHIZTY landing page: the same claymorphism look as the Android app.
   Brand palette (strict): cream #F2F3EE · orange #FF8A00 · turquoise #2EC4D6 · yellow #FFD23F
   Fonts are the app's own Fredoka (headings, buttons) and Nunito (body), kept in /fonts.
   Clay recipe = ui/ClayStyle.kt in the app: soft shadow underneath, a light patch top-left,
   a faint shade bottom-right and a thin light rim. Pressed things dip to 95%. */

@font-face {
  font-family: "Fredoka";
  src: url("../fonts/fredoka_variable.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito_variable.ttf") format("truetype");
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  --cream: #F2F3EE;
  --orange: #FF8A00;
  --turq: #2EC4D6;
  --sun: #FFD23F;
  --orange-tint: #FFE3C2;   /* the app's "today" day card */
  --turq-tint: #D6F3F7;
  --sun-tint: #FFF2B8;
  --locked: #F4F4F0;        /* the app's locked day card */
  --ink: #26262B;
  --ink-soft: #55565E;
  --surface: #FFFFFF;       /* the app's finished-day card */
  --r-16: 16px;
  --r-20: 20px;
  --r-24: 24px;
  --sh: 60, 60, 40;         /* shadow colour (r, g, b); coloured clay overrides it */
  /* light patch top-left + faint shade bottom-right, drawn over the clay colour */
  --patch: radial-gradient(circle at 16% 10%, rgba(255, 255, 255, .62), rgba(255, 255, 255, 0) 62%),
           radial-gradient(circle at 92% 105%, rgba(0, 0, 0, .07), rgba(0, 0, 0, 0) 45%);
  --clay: 0 14px 24px -8px rgba(var(--sh), .34), 0 3px 6px rgba(var(--sh), .14),
          inset 3px 3px 6px rgba(255, 255, 255, .85), inset -4px -6px 10px rgba(0, 0, 0, .08);
  --clay-in: inset 3px 4px 8px rgba(60, 60, 40, .18), inset -3px -4px 8px rgba(255, 255, 255, .9);
  --font-head: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 72px;
  --press: cubic-bezier(.34, 1.56, .64, 1);   /* the app's bouncy spring */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, .btn, .tag, .badge, .eyebrow { font-family: var(--font-head); }
h1, h2, h3 { line-height: 1.18; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--turq); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }
section { padding: 88px 0; scroll-margin-top: var(--header-h); }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 42em; }
.center .lead { margin-inline: auto; }
.eyebrow {
  display: inline-block; margin: 0 0 16px; padding: 6px 16px;
  font-weight: 600; font-size: .9rem; color: #C46500;
  background: var(--patch), var(--surface); border-radius: 999px; box-shadow: var(--clay);
  --sh: 255, 138, 0;
}
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--sun); padding: 8px 14px; border-radius: 12px; }
.skip:focus { left: 8px; }

/* ---------- Header (logo top-left = start of the Z) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(242, 243, 238, .9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: 1.55rem; letter-spacing: .03em; }
/* darken blend lets the wordmark's off-white background melt into the cream page */
.logo img { width: auto; height: 44px; mix-blend-mode: darken; }
.nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 6px; background: var(--patch), var(--surface); border-radius: var(--r-24); box-shadow: var(--clay); }
.nav ul a { display: block; padding: 8px 14px; border-radius: var(--r-16); text-decoration: none; font-family: var(--font-head); font-weight: 500; font-size: 1rem; transition: transform .25s var(--press), background .2s; }
.nav ul a:hover { background: var(--orange-tint); }
.nav ul a:active { transform: scale(.95); }

/* ---------- Buttons (clay, dip to 95% when pressed) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 28px; border: 0; border-radius: var(--r-24);
  font-size: 1.08rem; font-weight: 600; text-decoration: none; text-align: center; cursor: pointer;
  color: var(--ink); background: var(--patch), var(--surface); box-shadow: var(--clay);
  transition: transform .25s var(--press), box-shadow .2s ease, translate .25s cubic-bezier(.2, .8, .2, 1);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.95); }
.btn-primary { background: var(--patch), var(--orange); --sh: 255, 110, 0; }
.btn-turq { background: var(--patch), var(--turq); --sh: 20, 140, 155; }
.btn-lg { min-height: 64px; padding: 18px 34px; font-size: 1.2rem; }
.btn-sm { min-height: 42px; padding: 9px 18px; font-size: .95rem; border-radius: var(--r-16); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; }
.btn svg { width: 22px; height: 22px; flex: none; }

/* ---------- Clay cards (puffy, expand on hover) ---------- */
.card {
  position: relative; padding: 28px; border-radius: var(--r-24);
  background: var(--patch), var(--surface); box-shadow: var(--clay);
  transition: transform .28s var(--press), box-shadow .28s ease;
}
@media (hover: hover) {
  .card:hover { transform: translateY(-6px) scale(1.035); }
}
.card:focus-within { transform: translateY(-4px) scale(1.02); }
.card h3 { margin-bottom: 6px; }
.card p { color: var(--ink-soft); margin: 0; }
.accent-turq { background: var(--patch), var(--turq-tint); --sh: 46, 196, 214; }
.accent-sun { background: var(--patch), var(--sun-tint); --sh: 230, 170, 0; }
.accent-orange { background: var(--patch), var(--orange-tint); --sh: 255, 138, 0; }
.bubble {
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 16px;
  border-radius: 50%; font-size: 1.6rem; line-height: 1; background: var(--surface);
  box-shadow: 0 6px 10px rgba(60, 60, 40, .18), inset 2px 2px 4px #fff;
}
.accent-turq .bubble { background: var(--turq); box-shadow: 0 6px 10px rgba(20, 140, 155, .35), inset 2px 2px 4px rgba(255, 255, 255, .6); }
.accent-sun .bubble { background: var(--sun); box-shadow: 0 6px 10px rgba(190, 150, 0, .35), inset 2px 2px 4px rgba(255, 255, 255, .6); }
.accent-orange .bubble { background: var(--orange); box-shadow: 0 6px 10px rgba(214, 112, 0, .4), inset 2px 2px 4px rgba(255, 255, 255, .55); }
.grid { display: grid; gap: 26px; margin-top: 48px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(1.75rem, 3.5vw, 2.7rem); font-weight: 600; max-width: 30ch; }
.hl { background: linear-gradient(transparent 58%, var(--sun) 58%, var(--sun) 92%, transparent 92%); padding: 0 .08em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px; margin: 30px 0 18px; }
.trust-line { font-size: .95rem; font-weight: 700; color: var(--ink-soft); margin: 0; }
.trust-line::before { content: "✓ "; color: #0E8C9B; }
.hero-visual { position: relative; display: grid; justify-items: center; }
.neev-stage {
  position: relative; width: min(400px, 100%); aspect-ratio: 1;
  border-radius: 50%; background: var(--patch), var(--sun-tint); box-shadow: var(--clay); --sh: 230, 170, 0;
}
.neev-stage::after {
  content: ""; position: absolute; inset: 14%; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 210, 63, .5), rgba(46, 196, 214, .22) 70%);
}
.neev-slot { position: absolute; inset: 4%; z-index: 1; }
.neev-slot img { width: 100%; height: 100%; object-fit: contain; }
.neev-caption { margin: 18px 0 0; font-family: var(--font-head); font-weight: 500; color: var(--ink-soft); text-align: center; }
.how { margin-top: 64px; }

/* The day cards, like the app's dashboard */
.days { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.day {
  padding: 16px 10px; text-align: center; border-radius: var(--r-24);
  background: var(--patch), var(--orange-tint); box-shadow: var(--clay); --sh: 255, 138, 0;
  font-family: var(--font-head); font-weight: 600;
  transition: transform .28s var(--press);
}
@media (hover: hover) { .day:hover { transform: translateY(-4px) scale(1.04); } }
.day b {
  display: grid; place-items: center; width: 40px; height: 40px; margin: 0 auto 6px;
  border-radius: 50%; background: var(--orange); color: var(--ink);
  box-shadow: 0 5px 8px rgba(214, 112, 0, .4), inset 2px 2px 4px rgba(255, 255, 255, .55);
}
.day small { display: block; font-family: var(--font-body); font-weight: 700; font-size: .82rem; color: var(--ink-soft); }
.day-locked { margin-top: 16px; display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: var(--r-24); background: var(--patch), var(--locked); box-shadow: var(--clay); font-family: var(--font-head); font-weight: 600; }
.day-locked span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #D9DAD2; flex: none; }

/* Neev canvas: fixed overlay that travels down the page with scroll */
.neev-canvas {
  position: fixed; left: 0; top: 0; z-index: 20;
  width: 360px; height: 360px; transform-origin: 0 0;
  pointer-events: none; will-change: transform;
}
.neev-canvas.is-static { display: none; }
body.modal-open .neev-canvas { opacity: 0; }

/* ---------- Trust ---------- */
.trust-link { margin-top: 36px; }
.text-link { font-weight: 800; color: var(--ink); text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.buddies { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 18px; }
.buddies span { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--surface); box-shadow: 0 7px 12px rgba(60, 60, 40, .2), inset 2px 2px 4px #fff; }
.buddies img { width: 62px; height: 62px; }

/* ---------- Curriculum (looks like the app's "What will my child learn?") ---------- */
.skills { background: var(--patch), var(--surface); border-radius: 40px; box-shadow: var(--clay); margin-inline: 16px; }
.skill-grid { grid-template-columns: repeat(3, 1fr); }
.skill-grid .card .ico { font-size: 2rem; line-height: 1; margin-bottom: 10px; }
.tag { display: inline-block; margin-top: 12px; padding: 3px 12px; border-radius: 12px; font-weight: 600; font-size: .8rem; background: var(--turq); color: var(--ink); }
.tag.soon { background: var(--surface); color: var(--ink-soft); box-shadow: inset 0 0 0 1.5px #D5D6CE; }
.card.more { display: grid; place-content: center; text-align: center; background: transparent; box-shadow: var(--clay-in); border: 3px dashed rgba(85, 86, 94, .25); }
.levels { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 40px; }
.level { display: flex; gap: 18px; align-items: center; }
.level .tag { flex: none; margin: 0; padding: 10px 16px; border-radius: var(--r-16); font-size: 1rem; }
.level.free .tag { background: var(--turq); }
.level.paid .tag { background: var(--sun); }

/* ---------- Social proof (real reviews only) ---------- */
.review-slot {
  min-height: 210px; display: grid; place-content: center; text-align: center; gap: 8px;
  background: transparent; box-shadow: var(--clay-in); border: 3px dashed rgba(85, 86, 94, .25);
}
.review-slot .quote { font-family: var(--font-head); font-size: 3rem; line-height: .6; color: var(--turq); }
.review blockquote { margin: 0 0 16px; font-size: 1.05rem; }
.review figcaption { font-weight: 800; }

/* ---------- Pricing + final CTA (end of the Z: bottom-right) ---------- */
.price-grid { align-items: stretch; }
.plan { display: flex; flex-direction: column; }
.plan .price { font-family: var(--font-head); font-size: 2.4rem; font-weight: 600; margin: 6px 0 2px; color: var(--ink); }
.plan .price small { font-size: 1rem; font-weight: 500; color: var(--ink-soft); }
.plan ul { list-style: none; padding: 0; margin: 16px 0 0; color: var(--ink-soft); }
.plan li { padding-left: 28px; position: relative; margin-bottom: 8px; }
.plan li::before { content: "✓"; position: absolute; left: 0; top: 0; font-weight: 800; color: #0E8C9B; }
.plan.featured { background: var(--patch), var(--sun-tint); --sh: 230, 170, 0; }
.plan.featured p, .plan.featured ul, .plan.featured .price small { color: var(--ink); }
.plan.free { background: var(--patch), var(--turq-tint); --sh: 46, 196, 214; }
.plan.free p, .plan.free ul, .plan.free .price small { color: var(--ink); }
.badge { position: absolute; top: -14px; right: 22px; padding: 6px 14px; border-radius: 999px; background: var(--patch), var(--orange); box-shadow: var(--clay); --sh: 255, 110, 0; font-weight: 600; font-size: .9rem; }
.pay-note { margin-top: 26px; color: var(--ink-soft); text-align: center; font-size: .95rem; }

.final-cta {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 28px; align-items: end;
  margin-top: 64px; padding: 40px; border-radius: 32px; background: var(--patch), var(--orange-tint); box-shadow: var(--clay); --sh: 255, 138, 0;
}
.final-cta h2 { margin-bottom: .3em; }
.final-cta .actions { display: grid; justify-items: end; gap: 12px; }
.final-cta .trust-line { text-align: right; }
.wa-link { font-weight: 800; font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { padding: 48px 0 56px; color: var(--ink-soft); font-size: .95rem; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.foot nav a { margin-left: 18px; }
/* keep footer links clear of the travelling Neev medallion when side margins are narrow */
@media (min-width: 700px) and (max-width: 1519px) { .site-footer .foot { padding-right: 130px; } }
@media (max-width: 699px) { .site-footer { padding-bottom: 110px; } }

/* ---------- Early Access dialog ---------- */
.dialog {
  width: min(480px, calc(100% - 24px)); max-height: calc(100dvh - 24px); overflow: auto;
  padding: 34px 28px 28px; border: 0; border-radius: var(--r-24);
  background: var(--patch), var(--cream); color: var(--ink); box-shadow: var(--clay);
}
.dialog::backdrop { background: rgba(38, 38, 43, .45); backdrop-filter: blur(3px); }
.dialog h2 { font-size: 1.7rem; }
.dialog-close {
  position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: var(--r-16);
  background: var(--patch), var(--surface); box-shadow: var(--clay); font-size: 1.4rem; cursor: pointer; color: var(--ink);
  transition: transform .25s var(--press);
}
.dialog-close:active { transform: scale(.92); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 800; margin-bottom: 6px; }
.field .hint { font-size: .85rem; color: var(--ink-soft); margin: 6px 0 0; }
.input {
  width: 100%; min-height: 52px; padding: 12px 16px; border: 2px solid transparent; border-radius: var(--r-16);
  background: var(--surface); color: var(--ink); font: inherit; box-shadow: var(--clay-in);
}
.input:focus { outline: none; border-color: var(--turq); }
.phone-field { display: flex; align-items: stretch; gap: 8px; }
.phone-field .prefix { display: grid; place-items: center; padding: 0 14px; border-radius: var(--r-16); background: var(--patch), var(--sun); box-shadow: var(--clay); --sh: 230, 170, 0; font-weight: 800; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; margin-bottom: 18px; }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--orange); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }   /* spam trap: real people never see it */
.form-error { min-height: 1.2em; margin: 0 0 12px; color: #B42318; font-weight: 700; font-size: .95rem; }
.dialog .trust-line { margin-top: 14px; text-align: center; font-size: .88rem; }

.done-rank { font-size: 1.9rem; }
.progress-wrap { margin: 18px 0; padding: 20px; border-radius: var(--r-20); background: var(--patch), var(--surface); box-shadow: var(--clay); }
.bar { height: 18px; border-radius: 999px; background: var(--cream); box-shadow: var(--clay-in); overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--turq); box-shadow: inset -2px -3px 5px rgba(10, 110, 125, .35), inset 2px 2px 4px rgba(190, 245, 250, .8); transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.progress-wrap .count { margin: 10px 0 0; font-weight: 800; }
.reward { font-weight: 700; }
.small { font-size: .9rem; color: var(--ink-soft); }
.share-row { display: grid; gap: 12px; margin-top: 18px; }
.ref-link { margin: 14px 0 0; word-break: break-all; text-align: center; font-size: .9rem; color: var(--ink-soft); }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--ink-soft); text-decoration: underline; cursor: pointer; }

/* ---------- Cookie notice ---------- */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40;
  display: flex; gap: 16px; align-items: center; justify-content: space-between;
  max-width: 720px; margin-inline: auto; padding: 16px 20px;
  border-radius: var(--r-20); background: var(--patch), var(--surface); box-shadow: var(--clay);
  font-size: .92rem;
}
.cookie p { margin: 0; }
.cookie[hidden] { display: none; }

/* ---------- Legal / 404 pages ---------- */
.doc { padding: 48px 0 80px; }
.doc .paper { max-width: 820px; margin-inline: auto; padding: 44px; border-radius: 32px; background: var(--patch), var(--surface); box-shadow: var(--clay); }
.doc h1 { font-size: clamp(2rem, 5vw, 2.7rem); }
.doc h2 { font-size: 1.35rem; margin-top: 1.8em; }
.doc .meta { font-weight: 700; color: var(--ink-soft); }
.doc ul { padding-left: 1.3em; }
.doc li { margin-bottom: .45em; }
.doc a { text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.notfound .big { font-family: var(--font-head); font-size: clamp(5rem, 18vw, 9rem); font-weight: 700; line-height: 1; margin: 0 0 10px; color: var(--orange); text-shadow: 6px 8px 0 rgba(214, 112, 0, .18); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .neev-stage { width: min(280px, 75%); }
  .grid-3, .skill-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  :root { --header-h: 112px; }
  body { font-size: 16px; }
  section { padding: 64px 0; }
  .nav { flex-direction: column; align-items: stretch; gap: 8px; padding: 10px 0; }
  .logo { font-size: 1.35rem; }
  .logo img { height: 38px; }
  .nav:has(> .btn) { flex-direction: row; align-items: center; }
  .nav ul { justify-content: space-between; gap: 0; padding: 4px; }
  .nav ul a { padding: 7px 8px; font-size: .92rem; }
  .grid-3, .grid-2, .skill-grid, .levels { grid-template-columns: 1fr; }
  .days { grid-template-columns: repeat(2, 1fr); }
  .card { padding: 24px; }
  .skills { margin-inline: 8px; border-radius: 28px; }
  .final-cta { grid-template-columns: 1fr; padding: 28px 22px; }
  .final-cta .actions { justify-items: stretch; }
  .final-cta .trust-line { text-align: left; }
  .cta-row .btn { width: 100%; }
  .cookie { flex-direction: column; align-items: stretch; }
  .doc .paper { padding: 28px 20px; }
  .foot nav a { margin: 0 18px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* extra bits for the pricing note and the day strip */
.pay-note-card { margin-top: 36px; }
.pay-note-card p + p { margin-top: .8em; }
.how-days { margin-top: 64px; }
.how-days h3 { font-size: 1.5rem; }
.dialog .check a, .pay-note-card a { font-weight: 800; }
