/* ==========================================================================
   Volunteen — public /schools pages
   One stylesheet, three languages, two writing directions.

   Colours are the brand guideline's, sampled from
   Brand Colors/36_Brand_Color_Palette.png rather than transcribed from the
   PDF text (the guideline misprints Trust Blue as #006BEE; it is #123D59).

   Layout uses logical properties throughout — margin-inline, inset-inline,
   padding-block — so RTL mirrors without a second stylesheet.
   ========================================================================== */

/* --- Typefaces ----------------------------------------------------------
   NOT the brand's Kindage/Poltab. Both files in the Handoff package are
   unlicensed demo builds — Poltab's own name table says "Poltab Demo
   (c) Glyphminds Studios", and Kindage is a TimelessType demo whose DIGITS
   are replaced by a "TimelessType" watermark, which would have rendered the
   headline statistics (15 / 2,000+ / 50,000+) as advertising copy.

   Substituted with OFL faces chosen to match the brand's character:
     Baloo 2  - rounded, chunky geometric display, closest to the wordmark
     Rubik    - Latin + Hebrew body and Hebrew display
     Cairo    - Arabic body and display (already the app's Arabic face)

   To switch back once the real licences are bought: restore the @font-face
   blocks and change --font-display / --font-body below. Nothing else needs
   to change.                                                               */

/* --- Tokens ------------------------------------------------------------- */

:root {
  /* Primary */
  --orange:        #FA7E02;   /* Momentum Orange — action */
  --blue:          #1DACFC;   /* Progress Blue — product, trust */
  --yellow:        #FCBF01;   /* Milestone Yellow — rewards */
  /* Secondary */
  --gold:          #FAA201;   /* Reward Gold */
  --orange-deep:   #F96100;   /* Challenge Orange — hover/pressed */
  --navy:          #123D59;   /* Trust Blue — deep sections */
  /* Supporting — used selectively, never as a section background */
  --green:         #2FCB7D;   /* Growth Green — completion */
  --coral:         #F45C4E;   /* Action Coral — participation */
  --purple:        #B679FD;   /* Curiosity Purple — discovery */

  /* Surfaces */
  --cream:         #FDF3E9;
  --cream-deep:    #F8E7D5;
  --white:         #FFFFFF;
  --ink:           #16303F;
  --ink-soft:      #4A6475;
  --ink-mute:      #7D93A1;
  --line:          rgba(18, 61, 89, 0.10);
  --line-strong:   rgba(18, 61, 89, 0.20);

  /* Elevation — four tiers, used as a scale rather than ad hoc shadows */
  --e1: 0 1px 2px rgba(18,61,89,.06), 0 2px 8px rgba(18,61,89,.05);
  --e2: 0 2px 6px rgba(18,61,89,.07), 0 10px 24px rgba(18,61,89,.08);
  --e3: 0 6px 14px rgba(18,61,89,.09), 0 22px 46px rgba(18,61,89,.12);
  --e4: 0 12px 28px rgba(18,61,89,.12), 0 40px 80px rgba(18,61,89,.18);

  /* Spacing */
  --s1: .25rem;  --s2: .5rem;   --s3: .75rem;  --s4: 1rem;
  --s5: 1.5rem;  --s6: 2rem;    --s7: 3rem;    --s8: 4rem;
  --s9: 6rem;    --s10: 8rem;

  /* Radius */
  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-xl: 32px; --r-pill: 999px;

  --container: 1180px;
  --gutter: 20px;

  /* Per-script typography; overridden by the html[lang] blocks below. */
  --font-display: 'Baloo 2', 'Rubik', system-ui, sans-serif;
  --font-body: 'Rubik', system-ui, sans-serif;
  --display-weight: 800;
  --display-tracking: -0.01em;
  --display-leading: 1.08;
}

/* Hebrew: no brand Hebrew face exists. Rubik is the closest geometric,
   slightly rounded match to Poltab's character. */
html[lang="he"] {
  --font-display: 'Rubik', system-ui, sans-serif;
  --font-body: 'Rubik', system-ui, sans-serif;
  --display-weight: 800;
  --display-tracking: -0.02em;
  --display-leading: 1.22;   /* Hebrew needs more leading than Latin */
}

/* Arabic: the brand's Anaqa VF is Adobe-protected and was not packaged, and
   Lenos ships without a licence statement, so Cairo carries both roles. */
html[lang="ar"] {
  --font-display: 'Cairo', system-ui, sans-serif;
  --font-body: 'Cairo', system-ui, sans-serif;
  --display-weight: 700;
  --display-tracking: 0;
  --display-leading: 1.45;   /* Arabic ascenders/descenders need real room */
}

html[lang="en"] {
  --font-display: 'Baloo 2', system-ui, sans-serif;
  --font-body: 'Rubik', system-ui, sans-serif;
}

/* --- Reset -------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

/* A display rule on a component must never beat the hidden attribute —
   the form's success panel is display:grid and was showing through it. */
[hidden] { display: none !important; }

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.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video, svg { max-width: 100%; display: block; }
/* The HTML width/height attributes are presentation hints. They beat an
   UNSET block-size, so any rule that sizes an image on one axis must set the
   other to auto or the artwork is silently squashed — this stretched the logo
   and the characters once each. A global img[width][height] rule is not the
   answer: an attribute selector outranks component classes.
   tools/audit_image_ratios.py catches regressions. */
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  line-height: var(--display-leading, 1.08);
  margin: 0;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* --- Layout ------------------------------------------------------------- */

.wrap {
  width: min(var(--container), 100% - (var(--gutter) * 2));
  margin-inline: auto;
}

.section { padding-block: clamp(3.5rem, 8vw, 7rem); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.section-head { max-width: 46rem; margin-bottom: var(--s7); }
.section-title { font-size: clamp(2rem, 4.6vw, 3.1rem); }
.section-sub {
  margin-top: var(--s4);
  font-size: clamp(1.03rem, 1.7vw, 1.2rem);
  color: var(--ink-soft);
}

 /* Progress Blue, not orange: on the warm hero an orange pill on an orange
   wash simply vanished. Small, one line, icon-led. */
.eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .76rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; white-space: nowrap;
  color: #0b6d9e;
  background: rgba(29, 172, 252, .14);
  border: 1px solid rgba(29, 172, 252, .28);
  border-radius: var(--r-pill);
  padding: .3rem .7rem .3rem .55rem;
}
.eyebrow svg {
  inline-size: 15px; block-size: 15px; color: var(--blue);
  flex: 0 0 auto;
}
html[lang="he"] .eyebrow, html[lang="ar"] .eyebrow {
  text-transform: none; letter-spacing: 0; font-size: .82rem;
  padding-inline: .55rem .7rem;
}
@media (max-width: 420px) {
  .eyebrow { white-space: normal; }
}

/* --- Buttons ------------------------------------------------------------ */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--s2);
  padding: .95rem 1.7rem;
  border-radius: var(--r-pill);
  border: 2px solid transparent;
  font-weight: 700; font-size: 1.02rem;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
  will-change: transform;
}
.btn--primary { background: var(--orange); color: var(--white); box-shadow: var(--e2); }
.btn--primary:hover { background: var(--orange-deep); transform: translateY(-2px); box-shadow: var(--e3); }
.btn--ghost { background: var(--white); color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--orange); color: var(--orange-deep); transform: translateY(-2px); }
.btn--lg { padding: 1.1rem 2.1rem; font-size: 1.08rem; }
.btn--on-dark { background: var(--white); color: var(--navy); }
.btn--on-dark:hover { background: var(--yellow); color: var(--navy); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--blue); outline-offset: 3px;
}

/* --- Nav ---------------------------------------------------------------- */

.skip {
  position: absolute; inset-inline-start: -9999px; top: 0; z-index: 200;
  background: var(--navy); color: var(--white); padding: var(--s3) var(--s5);
  border-radius: 0 0 var(--r-md) var(--r-md);
}
.skip:focus { inset-inline-start: 0; }

.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 243, 233, .82);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.nav.is-stuck { border-bottom-color: var(--line); box-shadow: var(--e1); }
.nav__in {
  display: flex; align-items: center; gap: var(--s5);
  padding-block: var(--s4);
}
.nav__logo img { height: 42px; width: auto; }
/* The panel is transparent on a wide screen: display:contents lets the
   audience links and the languages sit in the bar exactly as if it were not
   there, and become one sheet on a phone. */
.nav__panel { display: contents; }
.nav__group { display: none; }

.nav__links { display: flex; gap: var(--s5); margin-inline-start: auto; }
.nav__links a {
  font-size: .95rem; font-weight: 600; color: var(--ink-soft);
  padding-block: var(--s2);
  border-bottom: 2px solid transparent;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a[aria-current="page"] { color: var(--orange-deep); border-bottom-color: var(--orange); }

.langs { display: flex; align-items: center; margin-inline-start: var(--s2); }
.langs__menu { display: flex; gap: var(--s1); align-items: center; }
.langs__menu a {
  font-size: .85rem; font-weight: 600; color: var(--ink-mute);
  padding: .3rem .6rem; border-radius: var(--r-pill); white-space: nowrap;
}
.langs__menu a:hover { color: var(--ink); background: rgba(18,61,89,.06); }
.langs__menu a[aria-current="true"] { color: var(--white); background: var(--navy); }

 /* No box around it: three bars that become an X. */
.burger {
  display: none; align-items: center; justify-content: center;
  inline-size: 44px; block-size: 44px;
  border: 0; background: none; color: var(--ink);
  padding: 0; margin-inline-end: calc(var(--s2) * -1);
}
.burger__box { position: relative; display: block; inline-size: 24px; block-size: 16px; }
.burger__box i {
  position: absolute; inset-inline: 0; block-size: 2.5px; border-radius: 2px;
  background: currentColor;
  transition: transform .3s cubic-bezier(.2,.7,.3,1),
              opacity .16s ease, top .3s cubic-bezier(.2,.7,.3,1);
}
.burger__box i:nth-child(1) { top: 0; }
.burger__box i:nth-child(2) { top: 50%; transform: translateY(-50%); }
.burger__box i:nth-child(3) { top: calc(100% - 2.5px); }
.nav.is-open .burger__box i:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.nav.is-open .burger__box i:nth-child(2) { opacity: 0; transform: translateY(-50%) scaleX(.4); }
.nav.is-open .burger__box i:nth-child(3) { top: 50%; transform: translateY(-50%) rotate(-45deg); }

@media (max-width: 860px) {
  /* wrap, or the full-width panel cannot take a row of its own */
  /* wrap, or the full-width panel cannot take a row of its own.
     Equal padding top and bottom: with the panel closed the old
     `var(--s3) 0` left the logo sitting on the bar's bottom edge. */
  .nav__in { flex-wrap: wrap; gap: var(--s3); padding-block: var(--s4); }
  .nav__logo img { height: 28px; }
  .burger { display: inline-flex; margin-inline-start: 0; order: 3; }
  .nav__cta { order: 2; margin-inline-start: auto;
              padding: .55rem .95rem; font-size: .88rem; white-space: nowrap; }

  .nav__panel {
    display: block; order: 4; flex: 1 0 100%;
    margin-inline: calc(var(--gutter) * -1);
    margin-block-start: var(--s4);
    padding: var(--s5) var(--gutter);
    background: var(--white);
    border-block-start: 1px solid var(--line);
    box-shadow: 0 18px 34px rgba(18,61,89,.12);
  }
  html.js .nav__panel { display: none; }
  html.js .nav.is-open .nav__panel { display: block; }
  html.js .nav.is-open .burger__open { display: none; }
  html.js .nav.is-open .burger__shut { display: block; }

  .nav__group {
    display: block; margin-block: 0 var(--s2);
    font-size: .72rem; font-weight: 800; letter-spacing: .08em;
    text-transform: uppercase; color: var(--ink-mute);
  }
  html[lang="he"] .nav__group, html[lang="ar"] .nav__group {
    text-transform: none; letter-spacing: 0;
  }

  .nav__links { display: grid; gap: var(--s1); margin-inline-start: 0; }
  .nav__links a {
    padding: .6rem .8rem; border-radius: var(--r-sm); font-size: 1rem;
    border-bottom: 0; background: var(--cream);
  }
  .nav__links a[aria-current="page"] { background: var(--orange); color: #fff; }

  .langs { display: block; margin-inline-start: 0; margin-block-start: var(--s5); }
  .langs__menu { display: grid; gap: var(--s1); }
  .langs__menu a { padding: .55rem .8rem; font-size: .95rem; text-align: start; }
  .langs__menu a[aria-current="true"] { background: var(--navy); }
}

/* --- Motion primitives -------------------------------------------------- */

/* Scoped to html.js, which an inline script in <head> sets. With JavaScript
   blocked or broken the content is simply visible — never a blank page. */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1);
}
html.js [data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }
[data-reveal][data-delay="5"] { transition-delay: .40s; }

[data-parallax] { will-change: transform; }

/* Depth: a card that leans toward the pointer. JS sets the two angles. */
[data-tilt] {
  transform: perspective(1200px)
             rotateX(var(--tilt-x, 0deg))
             rotateY(var(--tilt-y, 0deg));
  transition: transform .4s cubic-bezier(.2,.7,.3,1);
  transform-style: preserve-3d;
}

/* --- Reduced motion ------------------------------------------------------
   The whole page must be legible and usable with every animation off.      */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  html.js [data-reveal] { opacity: 1 !important; transform: none !important; }
  [data-parallax] { transform: none !important; }
  [data-tilt] { transform: none !important; }
  .float { animation: none !important; }
}

/* --- Hero --------------------------------------------------------------- */

.hero { position: relative; padding-block: clamp(3rem, 7vw, 6rem) clamp(3.5rem, 8vw, 7rem); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero__blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; }
.hero__blob--a {
  inline-size: 520px; block-size: 520px; inset-block-start: -160px;
  inset-inline-end: -120px;
  background: radial-gradient(circle at 30% 30%, rgba(252,191,1,.55), rgba(250,126,2,.18) 60%, transparent 70%);
}
.hero__blob--b {
  inline-size: 420px; block-size: 420px; inset-block-end: -180px;
  inset-inline-start: -140px;
  background: radial-gradient(circle at 60% 40%, rgba(29,172,252,.40), transparent 68%);
}
.hero__blob--c {
  inline-size: 360px; block-size: 360px; inset-block-end: 6%;
  inset-inline-end: 24%;
  background: radial-gradient(circle at 50% 50%, rgba(47,203,125,.28), transparent 68%);
}
.hero__pattern {
  position: absolute; inset-block-start: 0; inset-inline-end: 0;
  inline-size: 62%; opacity: .11; object-fit: cover; block-size: 100%;
  -webkit-mask-image: linear-gradient(to var(--mask-dir, left),
                      rgba(0,0,0,1) 55%, rgba(0,0,0,0) 100%);
          mask-image: linear-gradient(to var(--mask-dir, left),
                      rgba(0,0,0,1) 55%, rgba(0,0,0,0) 100%);
}
html[dir="rtl"] .hero__pattern { --mask-dir: right; }

.hero__in {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero__h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.5rem);
  margin-block: var(--s5) 0;
  max-width: 17ch;
}
html[lang="he"] .hero__h1, html[lang="ar"] .hero__h1 { max-width: 15ch; }
.hero__sub {
  margin-block-start: var(--s5); font-size: clamp(1.06rem, 1.9vw, 1.28rem);
  color: var(--ink-soft); max-width: 36rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s3); margin-block-start: var(--s6); }
.hero__tag {
  display: flex; align-items: center; gap: var(--s3);
  margin-block-start: var(--s6); color: var(--ink-mute);
  font-weight: 600; font-size: .95rem;
}
.hero__tag img { inline-size: 72px; block-size: auto; }

/* Depth without a fight: a two-row grid rather than three absolutely
   positioned cards competing for the same space. Reality and the game sit
   side by side; the number that proves it spans underneath them. */

.hero__stage {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: var(--s4);
  align-items: end;
  perspective: 1600px;
}

.hcard, .hphone { margin: 0; position: relative; }

/* Reality — a real event, slightly turned away from the reader. */
.hcard--real {
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--e4);
  --tilt-y: 5deg;
  transform: perspective(1600px) rotateY(5deg) rotateX(1.5deg);
}
.hcard--real img {
  inline-size: 100%; block-size: auto; display: block;
  aspect-ratio: 4 / 3; object-fit: cover; object-position: center 42%;
}
.hcard__tag {
  position: absolute; inset-inline-start: 12px; inset-block-start: 12px;
  background: rgba(13,27,36,.62); backdrop-filter: blur(8px);
  color: #fff; font-size: .78rem; font-weight: 700;
  padding: .38rem .8rem; border-radius: var(--r-pill);
}

/* The fun — the game as the child sees it, nearest the reader. */
.hphone {
  justify-self: end; inline-size: min(188px, 100%); align-self: end;
  background: #0d1b24; padding: 8px; border-radius: 34px;
  box-shadow: var(--e4);
  --tilt-y: -5deg;
  transform: perspective(1600px) rotateY(-5deg) translateY(-18px);
  z-index: 3;
}
.hphone img {
  inline-size: 100%; block-size: auto; display: block; border-radius: 27px;
  aspect-ratio: 420 / 680; object-fit: cover; object-position: top center;
}

/* The proof — spans both, so it reads as the conclusion of the two above. */
.hcard--results {
  grid-column: 1 / -1;
  background: var(--white); border-radius: var(--r-lg);
  padding: var(--s3); box-shadow: var(--e4);
  margin-block-start: calc(var(--s5) * -1);
  --tilt-y: 2deg;
  transform: perspective(1600px) rotateX(-1.5deg);
  z-index: 4;
}
.hcard--results img { inline-size: 100%; block-size: auto; display: block; border-radius: var(--r-sm); }
.hcard__head {
  display: flex; align-items: center; gap: var(--s2);
  font-size: .8rem; font-weight: 700; color: var(--ink-soft);
  padding: .2rem .4rem .5rem;
}
.hcard__dot {
  inline-size: 9px; block-size: 9px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 0 4px rgba(47,203,125,.18);
}
.hcard__stat {
  position: absolute; inset-inline-end: -14px; inset-block-end: -16px;
  background: var(--green); color: #fff;
  border-radius: var(--r-md); padding: .55rem .85rem;
  box-shadow: 0 14px 30px rgba(47,203,125,.42);
  display: grid; justify-items: center; line-height: 1.1;
  border: 3px solid var(--white);
}
.hcard__stat strong {
  font-family: var(--font-display); font-weight: var(--display-weight);
  font-size: 1.6rem; letter-spacing: -.02em;
}
.hcard__stat small { font-size: .66rem; opacity: .92; font-weight: 600; }

.hero__char {
  position: absolute; z-index: 5; block-size: auto;
  filter: drop-shadow(0 14px 26px rgba(18,61,89,.26));
}
.hero__char--1 { inset-block-start: -34px; inset-inline-end: 24%; inline-size: 84px; }
.hero__char--2 { inset-block-start: 30%; inset-inline-start: -22px; inline-size: 70px; }

.float { animation: float 6s ease-in-out infinite; }
.hero__char--2.float { animation-duration: 7.5s; animation-delay: -2s; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%      { transform: translateY(-14px) rotate(3deg); }
}

@media (max-width: 920px) {
  .hero__in { grid-template-columns: 1fr; }
  .hero__stage { order: 2; margin-block-start: var(--s7); }
}
@media (max-width: 560px) {
  .hero__stage { grid-template-columns: 1fr 1fr; gap: var(--s3); }
  .hphone { transform: none; inline-size: 100%; }
  .hcard--real { transform: none; }
  .hcard--results { transform: none; margin-block-start: var(--s2); }
  .hero__char--1 { inline-size: 62px; inset-block-start: -26px; }
  .hero__char--2 { inline-size: 56px; inset-inline-start: -12px; }
  .hcard__stat { inset-inline-end: -6px; inset-block-end: -12px; padding: .4rem .65rem; }
  .hcard__stat strong { font-size: 1.2rem; }
  .hero__cta .btn { flex: 1 1 100%; }
}

/* --- Numbers ------------------------------------------------------------ */

.numbers { background: var(--white); border-block: 1px solid var(--line); }
.numbers__title {
  text-align: center; color: var(--ink-mute); font-weight: 700;
  letter-spacing: .04em; margin-bottom: var(--s6);
}
.numbers__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--s5); text-align: center;
}
.stat { padding-inline: var(--s3); }
.stat + .stat { border-inline-start: 1px solid var(--line); }
.stat__value {
  display: block; font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: clamp(2.4rem, 6vw, 3.9rem); line-height: 1;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}
.stat__label { display: block; margin-block-start: var(--s3); color: var(--ink-soft); font-weight: 600; }
@media (max-width: 680px) {
  .numbers__grid { grid-template-columns: 1fr; gap: var(--s6); }
  .stat + .stat { border-inline-start: 0; border-block-start: 1px solid var(--line); padding-block-start: var(--s6); }
}

/* --- Problem ------------------------------------------------------------ */

.problem__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--s6);
  box-shadow: var(--e1);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--e3); }
.card__rule {
  display: block; inline-size: 44px; block-size: 5px; border-radius: var(--r-pill);
  background: var(--orange); margin-bottom: var(--s4);
}
.card--problem:nth-child(2) .card__rule { background: var(--blue); }
.card--problem:nth-child(3) .card__rule { background: var(--yellow); }
.card__title { font-size: 1.3rem; margin-bottom: var(--s3); }
.card__body { color: var(--ink-soft); }
@media (max-width: 860px) { .problem__grid { grid-template-columns: 1fr; } }

/* --- How it works ------------------------------------------------------- */

.how { background: var(--cream-deep); }
.how__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5);
  position: relative; counter-reset: how;
}
.how__grid::before {
  content: ""; position: absolute; inset-inline: 12%; inset-block-start: 34px;
  block-size: 3px; border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--orange), var(--yellow), var(--green));
  opacity: .35;
}
.how__step { position: relative; padding-block-start: 0; }
.how__num {
  display: grid; place-items: center;
  inline-size: 68px; block-size: 68px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--orange);
  color: var(--orange-deep);
  font-family: var(--font-display); font-weight: var(--display-weight);
  font-size: 1.4rem; box-shadow: var(--e2);
  position: relative; z-index: 1;
}
.how__step:nth-child(2) .how__num { border-color: var(--yellow); color: var(--gold); }
.how__step:nth-child(3) .how__num { border-color: var(--green); color: #1f9c5c; }
.how__title { font-size: 1.4rem; margin-block: var(--s5) var(--s3); }
.how__body { color: var(--ink-soft); }

/* Every step shows something: the goals you might pick, the plan we build
   from them, and the moment a mentor approves and the child is celebrated. */
.how__goals-label {
  margin-block: var(--s4) var(--s3);
  font-size: .8rem; font-weight: 700; color: var(--ink-soft);
}
.goals { display: flex; flex-wrap: wrap; gap: 6px; }
.goal {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-pill); padding: .28rem .6rem;
  font-size: .78rem; font-weight: 600; color: var(--ink-soft);
}
.goal svg { inline-size: 14px; block-size: 14px; color: var(--orange); }
.goal:nth-child(3n+2) svg { color: var(--blue); }
.goal:nth-child(3n+3) svg { color: var(--green); }
.how__goals-tag { display: none; }

.how__shot {
  margin: var(--s4) 0 0;
  border-radius: var(--r-md); overflow: hidden;
  background: var(--white); border: 1px solid var(--line);
  box-shadow: var(--e2);
  --tilt-y: 0deg;
}
.how__shot img { inline-size: 100%; block-size: auto; display: block; }

@media (min-width: 861px) {
  .how__grid { align-items: start; }
  .how__step { display: flex; flex-direction: column; }
  .how__shot { margin-block-start: auto; }
}
.how__note {
  margin-block-start: var(--s7); padding: var(--s5) var(--s6);
  background: var(--white); border-radius: var(--r-lg);
  border-inline-start: 6px solid var(--yellow);
  font-weight: 600; font-size: 1.1rem; box-shadow: var(--e1);
}
@media (max-width: 860px) {
  .how__grid { grid-template-columns: 1fr; gap: var(--s6); }
  .how__grid::before { display: none; }
}

/* --- The fun: reel wall -------------------------------------------------- */

.fun {
  background:
    radial-gradient(800px 420px at 80% 0%, rgba(252,191,1,.20), transparent 62%),
    var(--cream);
}
/* Four tiles: the produced story reel first, then the three raw clips. */
.reels { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.85rem,1.8vw,1.5rem); }
.reel__frame {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  background: #0d1b24;
  box-shadow: 0 26px 56px rgba(18,61,89,.30), 0 0 0 7px rgba(255,255,255,.9);
  aspect-ratio: 9 / 16;
  transition: transform .45s cubic-bezier(.2,.7,.3,1), box-shadow .45s ease;
}
.reel__frame:hover { box-shadow: 0 34px 74px rgba(18,61,89,.38), 0 0 0 7px #fff; }
/* a shallow wave across the row, so four tall tiles don't read as a fence */
.reel:nth-child(1) .reel__frame { --tilt-y: -3deg; transform: translateY(  8px) perspective(1200px); }
.reel:nth-child(2) .reel__frame { --tilt-y: -1deg; transform: translateY(-20px) perspective(1200px); }
.reel:nth-child(3) .reel__frame { --tilt-y:  1deg; transform: translateY( -8px) perspective(1200px); }
.reel:nth-child(4) .reel__frame { --tilt-y:  3deg; transform: translateY( 14px) perspective(1200px); }
.reel__frame--story { box-shadow: 0 26px 56px rgba(18,61,89,.34), 0 0 0 7px var(--orange); }
.reel__badge {
  position: absolute; z-index: 2;
  inset-block-start: var(--s3); inset-inline-start: var(--s3);
  background: var(--orange); color: #fff;
  border-radius: var(--r-pill); padding: .32rem .7rem;
  font-size: .76rem; font-weight: 800; letter-spacing: .01em;
  box-shadow: 0 6px 16px rgba(249,97,0,.4);
}
.reel__video { inline-size: 100%; block-size: 100%; object-fit: cover; }
.reel__sound {
  position: absolute; inset-block-end: var(--s4); inset-inline-start: var(--s4);
  display: inline-flex; align-items: center; gap: var(--s2);
  background: rgba(13, 27, 36, .66); color: #fff;
  border: 0; border-radius: var(--r-pill);
  padding: .5rem .9rem; font-size: .84rem; font-weight: 600;
  backdrop-filter: blur(6px);
  transition: background-color .2s ease;
}
.reel__sound:hover { background: rgba(250,126,2,.92); }
.reel__sound-icon { inline-size: 18px; block-size: 18px; flex: none; }
.reel__frame.is-live .reel__sound-text { display: none; }
@media (max-width: 1040px) {
  .reels { grid-template-columns: 1fr 1fr; }
  .reel:nth-child(n) .reel__frame { transform: none; }
}
@media (max-width: 520px) {
  .reels { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .reel__sound { padding: .42rem .5rem; }
  .reel__sound-text { display: none; }
  .reel__badge { font-size: .66rem; padding: .24rem .5rem; }
}

/* --- Product tour: tabbed, one screen at a time, big -------------------- */

.product {
  /* the tab photo is meant to bleed past its panel; clip it here so the bleed
     cannot add a few pixels of sideways scroll on a phone. overflow-x: clip
     rather than hidden, so this never becomes a scroll container. */
  overflow-x: clip;
  background:
    radial-gradient(900px 600px at 15% 0%, rgba(29,172,252,.20), transparent 60%),
    radial-gradient(800px 520px at 85% 100%, rgba(250,126,2,.18), transparent 60%),
    var(--navy);
  color: #EAF4FA;
}
.product .section-title { color: #fff; }
.product .section-sub { color: rgba(234,244,250,.78); }

.tabs__bar {
  display: flex; flex-wrap: wrap; gap: var(--s2);
  margin-bottom: var(--s6);
  padding-bottom: var(--s4);
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.tabs__btn {
  display: inline-flex; align-items: center; gap: var(--s2);
  background: rgba(255,255,255,.08); color: rgba(234,244,250,.82);
  border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-pill);
  padding: .62rem 1.1rem; font-weight: 700; font-size: .96rem;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.tabs__btn:hover { background: rgba(255,255,255,.16); color: #fff; }
.tabs__btn.is-on {
  background: var(--orange); color: #fff; border-color: transparent;
  box-shadow: 0 10px 24px rgba(250,126,2,.36);
}
.tabs__n {
  display: grid; place-items: center;
  inline-size: 22px; block-size: 22px; border-radius: 50%;
  background: rgba(255,255,255,.18); font-size: .76rem;
}
.tabs__btn.is-on .tabs__n { background: rgba(0,0,0,.18); }

/* Without JS every panel shows; with JS only the selected one. */
.tabs__panel {
  display: grid; grid-template-columns: .8fr 1.2fr;
  gap: clamp(1.6rem, 4vw, 3.2rem); align-items: center;
  margin-bottom: var(--s7);
}
html.js .tabs__panel { display: none; margin-bottom: 0; }
html.js .tabs__panel.is-on { display: grid; animation: tabin .45s cubic-bezier(.2,.7,.3,1); }
@keyframes tabin { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.tabs__title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: #fff; }
.tabs__body { margin-block: var(--s4); color: rgba(234,244,250,.80); font-size: 1.05rem; }
.ticks { display: grid; gap: var(--s3); }
.ticks li {
  position: relative; padding-inline-start: 2rem;
  color: rgba(234,244,250,.92); font-size: 1rem;
}
.ticks li::before {
  content: "✓"; position: absolute; inset-inline-start: 0; inset-block-start: .05em;
  inline-size: 22px; block-size: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: .72rem; font-weight: 800;
  background: var(--green); color: #06301c;
}

.tabs__media { position: relative; }
.tabs__photo {
  position: absolute; margin: 0;
  inset-inline-start: -26px; inset-block-end: -34px;
  inline-size: 34%; max-inline-size: 240px;
  border-radius: var(--r-md); overflow: hidden;
  border: 5px solid var(--white);
  box-shadow: 0 22px 46px rgba(0,0,0,.42);
  transform: rotate(-3deg);
  z-index: 2;
}
html[dir="rtl"] .tabs__photo { transform: rotate(3deg); }
.tabs__photo img {
  inline-size: 100%; block-size: auto; display: block;
  aspect-ratio: 4 / 3; object-fit: cover;
}

.tabs__shot {
  position: relative; margin: 0;
  border-radius: var(--r-lg); padding: 30px 14px 14px;
  background: linear-gradient(160deg, rgba(255,255,255,.16), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 34px 70px rgba(0,0,0,.46), 0 2px 0 rgba(255,255,255,.16) inset;
  transform-style: preserve-3d;
}
.tabs__shot::before {
  content: ""; position: absolute; inset: -12% -8% -22%; z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(252,191,1,.34), transparent 72%);
  filter: blur(28px);
}
.tabs__shot img {
  inline-size: 100%; block-size: auto; display: block;
  border-radius: var(--r-sm); background: #0f3148;
  box-shadow: 0 10px 26px rgba(0,0,0,.36);
}
.shot__chrome {
  position: absolute; inset-block-start: 0; inset-inline: 0; block-size: 30px;
  display: flex; align-items: center; gap: 6px; padding-inline-start: 14px;
  border-radius: var(--r-lg) var(--r-lg) 0 0; background: rgba(255,255,255,.09);
}
.shot__chrome i { inline-size: 9px; block-size: 9px; border-radius: 50%; }
.shot__chrome i:first-child { background: #FF5F57; }
.shot__chrome i:nth-child(2) { background: #FEBC2E; }
.shot__chrome i:nth-child(3) { background: #28C840; }

@media (max-width: 900px) {
  .tabs__panel { grid-template-columns: 1fr; }
  .tabs__media { order: -1; }
  .tabs__photo { inline-size: 32%; inset-inline-start: -10px; inset-block-end: -20px; }
  .tabs__btn { font-size: .88rem; padding: .5rem .85rem; }
}

/* --- Demo ---------------------------------------------------------------- */

.demo { background: var(--cream-deep); }
.demo__in {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.demo__list { margin-block-start: var(--s5); display: grid; gap: var(--s3); }
.demo__list li {
  padding-inline-start: var(--s5); position: relative; color: var(--ink-soft);
}
.demo__list li::before {
  content: ""; position: absolute; inset-inline-start: 0; inset-block-start: .62em;
  inline-size: 10px; block-size: 10px; border-radius: 50%; background: var(--orange);
}
.demo__phone {
  margin: 0; justify-self: center;
  inline-size: min(300px, 80vw);
  background: #0d1b24; padding: 10px; border-radius: 36px;
  box-shadow: var(--e4);
}
.demo__video { inline-size: 100%; border-radius: 28px; display: block; background: #000; }
.demo__cap {
  color: rgba(255,255,255,.72); text-align: center;
  font-size: .86rem; padding-block: var(--s3) var(--s1);
}
@media (max-width: 920px) { .demo__in { grid-template-columns: 1fr; } }

/* --- Journey: before, with us, and what comes out ----------------------
   The middle column is the brand one and carries the logo, so the eye
   reads it as the thing that caused the third column.                    */

.journey__grid {
  display: grid; grid-template-columns: 1fr 1.14fr 1fr;
  gap: var(--s5); align-items: stretch;
}
.jcol {
  position: relative;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: var(--s6);
  box-shadow: var(--e1);
  display: flex; flex-direction: column;
}
/* arrows between the columns, on wide screens only */
.jcol--before::after, .jcol--with::after {
  content: "→"; position: absolute;
  inset-inline-end: calc(var(--s5) * -1 - 6px); inset-block-start: 50%;
  transform: translateY(-50%);
  inline-size: 30px; block-size: 30px; border-radius: 50%;
  display: grid; place-items: center; z-index: 2;
  background: var(--white); border: 1px solid var(--line);
  color: var(--ink-mute); font-size: .9rem; font-weight: 700;
}
html[dir="rtl"] .jcol--before::after, html[dir="rtl"] .jcol--with::after { content: "←"; }
.jcol--with::after { background: var(--green); border-color: transparent; color: #fff; }

.jcol--before { background: #F6F8FA; }
.jcol--with {
  background: linear-gradient(165deg, var(--orange), var(--orange-deep));
  border-color: transparent; color: #fff;
  box-shadow: 0 24px 54px rgba(250,126,2,.34);
  transform: translateY(-14px);
  padding-block-end: calc(var(--s6) + var(--s6));
}
.jcol--impact { background: linear-gradient(170deg, #F1FBF6, var(--white)); border-color: rgba(47,203,125,.34); }

.jcol__badge {
  inline-size: 44px; block-size: 44px; border-radius: 13px; align-self: flex-start;
  display: grid; place-items: center;
  background: var(--cream-deep); color: var(--ink-mute);
  margin-bottom: var(--s4);
}
.jcol__badge svg { inline-size: 22px; block-size: 22px; }
.jcol__badge--good { background: rgba(47,203,125,.16); color: #1b8a53; }
/* A mark, not a banner: at 84% of the card width it dwarfed the heading. */
/* align-self matters here: .jcol is a flex column, so a default stretch made
   the wordmark span the whole card and squash to the fixed height — a
   distorted logo, which the brand guideline forbids outright. */
.jcol__logo {
  block-size: 34px; inline-size: auto; align-self: flex-start;
  margin-bottom: var(--s5); opacity: .97;
}

.jcol__title { font-size: 1.3rem; margin-bottom: var(--s4); }
.jcol--before .jcol__title { color: var(--ink-soft); }
.jcol--with .jcol__title { color: #fff; }
.jcol--impact .jcol__title { color: #19814c; }

.jcol__list { display: grid; gap: var(--s3); }
.jcol__list li {
  position: relative; padding-inline-start: 1.45rem;
  color: var(--ink-soft); font-size: 1rem; line-height: 1.5;
}
.jcol__list li::before {
  content: ""; position: absolute; inset-inline-start: 0; inset-block-start: .62em;
  inline-size: 7px; block-size: 7px; border-radius: 2px;
  background: currentColor; opacity: .42;
}
.jcol--with .jcol__list li { color: rgba(255,255,255,.96); font-weight: 600; }
.jcol--with .jcol__list li::before { background: var(--yellow); opacity: 1; }
.jcol--impact .jcol__list li::before { background: var(--green); opacity: 1; }

.jcol__char {
  position: absolute; inset-inline-end: 14px; inset-block-end: 12px;
  inline-size: 72px; block-size: auto;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.22));
}

@media (max-width: 980px) {
  .journey__grid { grid-template-columns: 1fr; }
  .jcol--with { transform: none; }
  .jcol--before::after, .jcol--with::after {
    inset-inline-end: 50%; inset-block-start: auto;
    inset-block-end: calc(var(--s5) * -1 - 6px);
    transform: translateX(50%) rotate(90deg);
  }
  html[dir="rtl"] .jcol--before::after, html[dir="rtl"] .jcol--with::after {
    transform: translateX(-50%) rotate(-90deg);
  }
}

/* --- Objections ---------------------------------------------------------- */

.objections { background: var(--white); }
.qa { display: grid; gap: var(--s3); max-width: 54rem; }
.qa__item {
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--cream); overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.qa__item:hover { border-color: var(--line-strong); box-shadow: var(--e1); }
.qa__item details[open] { background: var(--white); }
.qa__q {
  cursor: pointer; list-style: none;
  padding: var(--s5) var(--s6);
  font-weight: 700; font-size: 1.08rem;
  display: flex; align-items: center; gap: var(--s4);
}
.qa__q::-webkit-details-marker { display: none; }
.qa__q::after {
  content: "+"; margin-inline-start: auto;
  font-family: var(--font-display); font-size: 1.5rem; line-height: 1;
  color: var(--orange); transition: transform .25s ease;
}
details[open] .qa__q::after { content: "−"; }
.qa__a {
  padding: 0 var(--s6) var(--s5);
  color: var(--ink-soft);
  border-inline-start: 4px solid var(--yellow);
  margin-inline-start: var(--s6); margin-block-end: var(--s5);
  padding-inline-start: var(--s5);
}

/* --- How to start -------------------------------------------------------- */

.start__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.start__step {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--s6); box-shadow: var(--e1);
  position: relative; overflow: hidden;
}
.start__step::after {
  content: ""; position: absolute; inset-block-start: 0; inset-inline: 0;
  block-size: 4px; background: var(--orange);
}
.start__step:nth-child(2)::after { background: var(--yellow); }
.start__step:nth-child(3)::after { background: var(--green); }
.start__num {
  display: grid; place-items: center;
  inline-size: 40px; block-size: 40px; border-radius: 50%;
  background: var(--cream-deep); color: var(--orange-deep);
  font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.1rem;
}
.start__title { font-size: 1.2rem; margin-block: var(--s4) var(--s2); }
.start__body { color: var(--ink-soft); }
@media (max-width: 860px) { .start__grid { grid-template-columns: 1fr; } }

/* --- Contact form -------------------------------------------------------- */

.contact { background: var(--cream-deep); }
.contact__card {
  background: var(--white); border-radius: var(--r-xl);
  box-shadow: var(--e4); overflow: hidden;
  display: grid; grid-template-columns: .85fr 1.15fr;
}
.contact__intro {
  background: linear-gradient(160deg, var(--orange), var(--orange-deep));
  color: #fff; padding: clamp(2rem, 4vw, 3.2rem);
  position: relative; display: flex; flex-direction: column; justify-content: center;
}
.contact__intro .section-title { color: #fff; }
.contact__intro .section-sub { color: rgba(255,255,255,.90); }
.contact__char {
  inline-size: 104px; block-size: auto; align-self: flex-start;
  margin-block-start: var(--s6);
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.18));
}

.lead { padding: clamp(1.6rem, 3.5vw, 2.6rem); display: grid; gap: var(--s4); }
.lead__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.field { display: grid; gap: var(--s2); }
.field__label { font-size: .88rem; font-weight: 700; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  inline-size: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .78rem .95rem;
  border: 1.5px solid var(--line-strong); border-radius: var(--r-sm);
  background: var(--white);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--orange); box-shadow: 0 0 0 4px rgba(250,126,2,.14); outline: none;
}
.field textarea { resize: vertical; min-block-size: 92px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--coral); }
.field__err { color: var(--coral); font-size: .82rem; font-style: normal; min-block-size: 0; }
.field__err:empty { display: none; }

.hp { position: absolute; inset-inline-start: -9999px; inline-size: 1px; block-size: 1px; overflow: hidden; }

/* Optional detail, folded away: a long form on a phone is a lead that
   never arrives. Opens automatically when a field in it failed. */
.more { border-block-start: 1px solid var(--line); padding-block-start: var(--s4); }
.more__sum {
  display: inline-flex; align-items: center; gap: var(--s2);
  cursor: pointer; list-style: none;
  font-size: .9rem; font-weight: 700; color: var(--orange-deep);
}
.more__sum::-webkit-details-marker { display: none; }
.more__sum::marker { content: ""; }
.more__sum svg {
  inline-size: 18px; block-size: 18px;
  background: rgba(250,126,2,.12); border-radius: 50%; padding: 2px;
  transition: transform .2s ease;
}
.more[open] .more__sum svg { transform: rotate(45deg); }
.more__body { display: grid; gap: var(--s4); margin-block-start: var(--s4); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-mute); opacity: .75; }
 /* :user-invalid, not :invalid — the latter matches an untouched required
   field, so the form greeted everyone with two red boxes. */
.field input:user-invalid { border-color: var(--coral); }
.field input:user-invalid:focus { box-shadow: 0 0 0 4px rgba(244,92,78,.14); }

.lead__hint { font-size: .82rem; color: var(--ink-mute); }
.lead__actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-block-start: var(--s2); }
.lead__actions .btn { flex: 1 1 auto; }
.lead__error { color: var(--coral); font-weight: 600; }

.lead__done {
  padding: clamp(2rem, 5vw, 4rem); display: grid; place-items: center;
  text-align: center; gap: var(--s3);
}
.lead__tick {
  inline-size: 68px; block-size: 68px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(47,203,125,.14); color: #1f9c5c; font-size: 2rem;
}
.lead__done h3 { font-size: 1.6rem; }
.lead__done p { color: var(--ink-soft); max-width: 28rem; }

@media (max-width: 900px) {
  .contact__card { grid-template-columns: 1fr; }
  .lead__row { grid-template-columns: 1fr; }
}

/* --- Footer -------------------------------------------------------------- */

.foot { background: var(--navy); color: rgba(234,244,250,.80); padding-block: var(--s8) var(--s5); }
.foot__in {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--s6); align-items: start;
}
.foot__brand img { block-size: 44px; inline-size: auto; }
.foot__blurb { margin-block-start: var(--s4); max-width: 26rem; font-size: .95rem; }
.foot__h { color: #fff; font-size: 1rem; margin-bottom: var(--s3); }
.foot__col { display: grid; gap: var(--s2); align-content: start; }
.foot__col a { font-size: .95rem; }
.foot__col a:hover { color: var(--yellow); }
.foot__base {
  margin-block-start: var(--s7); padding-block-start: var(--s5);
  border-block-start: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; gap: var(--s4);
  font-size: .86rem; color: rgba(234,244,250,.56);
}
.foot__tag { font-family: var(--font-display); color: var(--yellow); }
@media (max-width: 860px) {
  .foot__in { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
  .foot__base { flex-direction: column; }
}

/* --- Floating WhatsApp ---------------------------------------------------
   No sticky bottom CTA: the nav is sticky and carries the same button at
   every width, so a second one only competed with it and cost a strip of
   every screen. */

.wa {
  position: fixed; z-index: 90;
  inset-block-end: 22px; inset-inline-end: 22px;
  inline-size: 56px; block-size: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: #fff;
  box-shadow: var(--e3);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa:hover { transform: scale(1.07); box-shadow: var(--e4); }

@media (max-width: 720px) {
  .wa { inset-block-end: 16px; inset-inline-end: 16px; inline-size: 52px; block-size: 52px; }
}

/* --- Thanks page (the no-JavaScript success landing) --------------------- */

.thanks {
  min-block-size: 100svh;
  display: grid; place-items: center;
  padding: var(--s6) var(--gutter);
  background:
    radial-gradient(900px 500px at 70% -10%, rgba(252,191,1,.28), transparent 60%),
    radial-gradient(700px 420px at 10% 110%, rgba(29,172,252,.22), transparent 60%),
    var(--cream);
}
.thanks__card {
  background: var(--white); border-radius: var(--r-xl);
  box-shadow: var(--e4); padding: clamp(2rem, 6vw, 3.5rem);
  max-width: 34rem; text-align: center;
  display: grid; justify-items: center; gap: var(--s4);
}
.thanks__logo { block-size: 30px; inline-size: auto; margin-bottom: var(--s2); }
.thanks__tick {
  inline-size: 74px; block-size: 74px; border-radius: 50%;
  display: grid; place-items: center; font-size: 2.1rem;
  background: rgba(47,203,125,.14); color: #1f9c5c;
}
.thanks__tick--warn { background: rgba(244,92,78,.14); color: var(--coral); }
.thanks h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.thanks p { color: var(--ink-soft); }
.thanks__actions { display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: center; margin-block-start: var(--s2); }
.thanks__char { inline-size: 96px; margin-block-start: var(--s4); }
