/* Founders of Tomorrow – brand colours and type (see brand-identity.md) */
:root {
  --midnight: #170A26;
  --plum: #3A1647;
  --coral: #FF4D2E;
  --deep-coral: #C7361A;
  --sunrise: #FF8A3D;
  --gold: #FFCE5C;
  --cream: #FFF3E3;
  --card-dark: #24133A;
  --line-light: #EBD9C3;
  --radius: 20px;
  --font: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ar: "Readex Pro", "Sora", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;      /* 17px on phones */
  line-height: 1.65;
  color: var(--midnight);
  background: var(--cream);
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 8vw, 4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 5vw, 2.4rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: .2em; }
p { margin: 0 0 1em; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 40px); }
.center { text-align: center; }
section { padding: 72px 0; }
.dark { background: var(--midnight); color: var(--cream); }
.light { background: var(--cream); color: var(--midnight); }
.small { font-size: .9rem; }
.muted { opacity: .8; }
.sub { font-size: 1.1rem; margin-bottom: 2rem; }

.skip { position: absolute; left: 10px; top: -80px; background: var(--gold); color: var(--midnight); padding: 8px 14px; z-index: 10; }
.skip:focus { top: 10px; }

/* ---------- Top bar ---------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: var(--midnight); color: var(--cream);
  border-bottom: 1px solid rgba(255,243,227,.08);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.lockup { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.lockup__en { font-weight: 700; font-size: 1.02rem; letter-spacing: -.01em; }

/* Phone: menu button + drop-down panel */
.menu-btn {
  width: 44px; height: 44px; margin-right: -8px; border: 0; background: none; cursor: pointer;
  display: grid; place-items: center; border-radius: 10px; color: var(--cream);
}
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after {
  display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-btn__bars { position: relative; }
.menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; }
.menu-btn__bars::before { top: -7px; }
.menu-btn__bars::after { top: 7px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after { transform: translateY(-7px) rotate(-45deg); }

.nav {
  position: absolute; left: 0; right: 0; top: 64px;
  background: var(--midnight); border-bottom: 1px solid rgba(255,243,227,.1);
  padding: 8px 20px 24px; box-shadow: 0 24px 40px rgba(0,0,0,.35);
  display: none;
}
.nav.is-open { display: block; }
.nav__links { list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: block; padding: 15px 2px; text-decoration: none; font-weight: 600; font-size: 1.1rem;
  border-bottom: 1px solid rgba(255,243,227,.08);
}
.nav__links a:hover { color: var(--gold); }
.nav__actions { display: grid; gap: 12px; margin-top: 20px; }
.nav__wa, .nav__cta {
  display: block; text-align: center; text-decoration: none; font-weight: 700;
  padding: 13px 20px; border-radius: 999px; transition: background .15s ease, color .15s ease;
}
.nav__wa { border: 1.5px solid rgba(255,243,227,.35); }
.nav__wa:hover { border-color: var(--cream); }
.nav__cta { border: 1.5px solid var(--gold); color: var(--gold); }
.nav__cta:hover { background: var(--gold); color: var(--midnight); }
section[id] { scroll-margin-top: 72px; }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 16px 30px; border-radius: 999px; font-size: 1.05rem;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn--gold { background: var(--gold); color: var(--midnight); box-shadow: 0 6px 20px rgba(255,138,61,.35); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(255,138,61,.45); }
.btn--block { display: block; text-align: center; margin-top: 1.5rem; }
.link { font-weight: 600; text-underline-offset: 4px; }
.link:hover { color: var(--gold); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin: 1.8rem 0 1.4rem; }
.cta-row--center { justify-content: center; }

.tag, .badge {
  display: inline-block; font-size: .85rem; font-weight: 600;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 1.2rem;
}
.tag { background: rgba(255,138,61,.15); color: var(--sunrise); }
.badge { background: var(--coral); color: var(--cream); }
.badge--light { background: var(--midnight); color: var(--gold); }

/* ---------- Hero: sun arcs rising from the bottom corner ---------- */
.hero {
  position: relative; overflow: hidden;
  --arcs: min(460px, 112vw);
  padding: 64px 0 calc(var(--arcs) * .5 + 24px);
  background: radial-gradient(120% 70% at 50% 100%, var(--plum) 0%, var(--midnight) 65%);
}
.hero__inner { position: relative; z-index: 1; }
.h1-accent { color: var(--gold); }
.h1-sub { font-size: clamp(1.3rem, 4.5vw, 1.7rem); font-weight: 600; color: var(--sunrise); margin: -.2em 0 .9em; }
.lead { font-size: 1.2rem; max-width: 38ch; }
.hero .small { opacity: .85; }
.hero__arcs {
  position: absolute; width: var(--arcs); aspect-ratio: 1; border-radius: 50%;
  right: calc(var(--arcs) * -.5); bottom: calc(var(--arcs) * -.5);
  background: radial-gradient(circle closest-side,
    var(--gold) 0 44%, var(--sunrise) 44.5% 71%, var(--coral) 71.5% 100%);
  animation: rise 1.6s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes rise { from { transform: translateY(80px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Numbers (in the hero) ---------- */
.numbers { list-style: none; padding: 22px 0 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; text-align: center; border-top: 1px solid rgba(255,243,227,.12); }
.numbers li { display: flex; flex-direction: column; font-size: .78rem; line-height: 1.3; opacity: .95; }
.num { font-size: clamp(1.9rem, 8vw, 3rem); font-weight: 700; color: var(--gold); line-height: 1.1; margin-bottom: 4px; }

.dot { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: var(--midnight); background: var(--c, var(--coral)); }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 16px; }
.card { background: var(--card-dark); border-radius: var(--radius); padding: 24px; }
.card p:last-child { margin: 0; }
.meta { color: var(--sunrise); font-size: .9rem; font-weight: 600; margin-bottom: .6em; }

/* ---------- Lists with coral pieces as bullets ---------- */
.pieces { list-style: none; padding: 0; margin: 0; }
.pieces li { position: relative; padding-left: 34px; margin-bottom: 1.1rem; }
.pieces li::before {
  content: ""; position: absolute; left: 4px; top: .45em;
  width: 14px; height: 11px; border-radius: 2px; background: var(--coral);
  transform: rotate(-30deg);
}

/* ---------- Guarantee ---------- */
.guarantee { background: linear-gradient(180deg, var(--midnight) 0%, var(--plum) 100%); }

/* ---------- Price ---------- */
.price-card { background: #fff; border-radius: 24px; padding: 32px 24px; box-shadow: 0 12px 40px rgba(23,10,38,.08); border: 1px solid var(--line-light); }
.price { margin: 0; font-weight: 600; font-size: 1.2rem; }
.price__big { font-size: clamp(2.6rem, 11vw, 3.4rem); font-weight: 700; line-height: 1; }
.price__was { margin: 0 0 .2rem; font-weight: 600; color: var(--deep-coral); }
.price__was s { text-decoration-thickness: 2px; }
.price__gbp { font-size: .95rem; opacity: .75; margin-bottom: 1.4rem; }
.pay { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.pay li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-light); }
.pay strong { white-space: nowrap; text-align: right; }
.pay small { display: block; font-weight: 400; opacity: .7; }
.pay .when { display: block; font-size: .85rem; opacity: .7; margin-top: 2px; }
.pay__total { border-bottom: 0 !important; font-weight: 700; }

/* ---------- Founder ---------- */
.video-ph { margin-top: 1rem; border: 2px dashed var(--sunrise); border-radius: var(--radius); padding: 40px 20px; text-align: center; font-weight: 600; color: var(--deep-coral); }

/* ---------- FAQ ---------- */
details { border-bottom: 1px solid rgba(255,243,227,.15); }
summary { cursor: pointer; list-style: none; font-weight: 600; padding: 18px 40px 18px 0; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.6rem; color: var(--gold); }
details[open] summary::after { content: "–"; }
details p { opacity: .9; padding-bottom: 6px; }

/* ---------- Final CTA (dawn gradient, sun colours at the bottom) ---------- */
.final { background: linear-gradient(180deg, var(--midnight) 0%, var(--plum) 45%, var(--coral) 100%); color: var(--cream); padding: 88px 0 96px; }

/* ---------- Footer ---------- */
.footer { background: var(--midnight); color: var(--cream); padding: 40px 0; font-size: .95rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer__links a { text-underline-offset: 3px; }
.footer__links a:hover { color: var(--gold); }

/* ---------- Bigger screens ---------- */
@media (min-width: 720px) {
  body { font-size: 1.125rem; }
  section { padding: 96px 0; }
  .numbers { max-width: 640px; gap: 20px; }
  .numbers li { font-size: .9rem; }
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .hero { --arcs: 720px; padding-bottom: 110px; }
  .cards { grid-template-columns: repeat(4, 1fr); }
  /* Journey becomes a climbing row */
}

/* Computer: links in one line, outlined CTA on the right */
@media (min-width: 960px) {
  .topbar__inner { height: 72px; }
  .menu-btn { display: none; }
  .nav {
    position: static; display: flex !important; align-items: center; gap: 32px;
    background: none; border: 0; padding: 0; box-shadow: none;
  }
  .nav__links { display: flex; gap: 28px; }
  .nav__links a {
    position: relative; padding: 6px 0; border: 0; font-size: .95rem; font-weight: 500; opacity: .85;
  }
  .nav__links a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
    background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
  }
  .nav__links a:hover { opacity: 1; color: var(--cream); }
  .nav__links a:hover::after { transform: scaleX(1); }
  .nav__actions { display: flex; align-items: center; gap: 20px; margin: 0; }
  .nav__wa { border: 0; padding: 6px 0; font-weight: 500; font-size: .95rem; opacity: .85; }
  .nav__wa:hover { opacity: 1; color: var(--gold); }
  .nav__cta { padding: 10px 20px; font-size: .95rem; }
  section[id] { scroll-margin-top: 80px; }
}


/* =========================================================
   FIRST SCREEN FIT: hero (headline → stats) fills exactly
   one screen on phones and laptops, no scrolling needed.
   Sizes scale with screen height (vh) as well as width.
   ========================================================= */
:root { --hdr: 64px; }
.hero {
  --arcs: min(250px, 62vw);
  min-height: calc(100vh - var(--hdr));
  min-height: calc(100svh - var(--hdr));
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(16px, 3vh, 44px) 0 calc(var(--arcs) * .5 + clamp(8px, 1.5vh, 20px));
}
.hero .tag { font-size: .8rem; padding: 5px 12px; margin-bottom: clamp(10px, 1.8vh, 20px); }
.hero h1 {
  font-size: clamp(1.8rem, min(8.6vw, 5.1vh), 4.2rem);
  line-height: 1.12; margin-bottom: clamp(8px, 1.4vh, 16px);
}
.hero .h1-sub { font-size: clamp(1.05rem, min(4.6vw, 2.7vh), 1.7rem); margin: 0 0 clamp(8px, 1.4vh, 16px); }
.hero .lead { font-size: clamp(.95rem, min(4.2vw, 2.25vh), 1.2rem); line-height: 1.5; margin: 0; }
.hero .cta-row { margin: clamp(14px, 2.4vh, 28px) 0 clamp(8px, 1.6vh, 16px); gap: 8px 24px; }
.hero .btn { padding: clamp(11px, 1.8vh, 16px) 26px; font-size: clamp(.95rem, 2vh, 1.05rem); }
.hero .link { font-size: .95rem; }
.hero .small { font-size: .8rem; margin: 0; }
.hero .numbers { margin-top: clamp(12px, 2.2vh, 26px); padding-top: clamp(10px, 2vh, 22px); }
.hero .num { font-size: clamp(1.5rem, min(7.5vw, 4.4vh), 3rem); margin-bottom: 2px; }
.hero .numbers li { font-size: clamp(.72rem, 1.6vh, .9rem); }

/* Phones with the script on: content starts at the top, and the sun arcs
   are sized by site.js to fill whatever space is left under the stats,
   so the first screen is always exactly one screen. */
@media (max-width: 959px) {
  .hero.is-fitted { justify-content: flex-start; padding-bottom: 0; }
  .hero.is-fitted .hero__arcs { right: calc(var(--arcs) * -.5); bottom: calc(var(--arcs) * -.5); }
}

/* Very short phone screens (e.g. iPhone SE): smaller sun arcs */
@media (max-width: 959px) and (max-height: 700px) {
  .hero { --arcs: 150px; }
}

/* Laptops and desktops: text on the left, sun arcs fill the right */
@media (min-width: 960px) {
  :root { --hdr: 72px; }
  .hero {
    --arcs: min(68vh, 680px);
    padding: clamp(24px, 4vh, 56px) 0 clamp(24px, 4vh, 56px);
  }
  .hero__inner { max-width: 1120px; }
  .hero h1 { font-size: clamp(2.4rem, 7vh, 4.4rem); }
  .hero .h1-sub { font-size: clamp(1.2rem, 3vh, 1.8rem); }
  .hero .lead { font-size: clamp(1rem, 2.3vh, 1.25rem); max-width: 40ch; }
  .hero .num { font-size: clamp(2rem, 5.2vh, 3.2rem); }
  .hero .numbers { max-width: 620px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__arcs { animation: none; }
  .btn { transition: none; }
}

/* ---------- Reserve a place (pop-up form) ---------- */
.reserve {
  width: min(480px, 100% - 24px); max-height: calc(100dvh - 24px);
  padding: 0; border: 0; border-radius: 24px;
  background: var(--cream); color: var(--midnight);
  box-shadow: 0 30px 80px rgba(0,0,0,.45); overflow: auto;
}
.reserve::backdrop { background: rgba(23,10,38,.75); }
.reserve__form, .reserve__done { position: relative; padding: 28px 22px 24px; }
.reserve h2 { font-size: 1.6rem; margin-bottom: .4em; }
.reserve__intro { font-size: .95rem; margin-bottom: 1.4rem; }
.reserve .badge { margin-bottom: .8rem; }
.reserve__close {
  position: absolute; top: 12px; right: 12px; width: 40px; height: 40px;
  border: 0; border-radius: 50%; background: rgba(23,10,38,.06); color: var(--midnight);
  font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.reserve__close:hover { background: rgba(23,10,38,.12); }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.field em { font-style: normal; font-weight: 400; opacity: .65; }
.field input, .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--midnight);
  padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--line-light); background: #fff;
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--midnight) 50%), linear-gradient(135deg, var(--midnight) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%;
  background-size: 6px 6px; background-repeat: no-repeat;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--sunrise); box-shadow: 0 0 0 3px rgba(255,138,61,.25); }
.field__hint { display: block; font-size: .8rem; opacity: .65; margin-top: 5px; }
.field__error { display: none; font-size: .82rem; font-weight: 600; color: var(--deep-coral); margin-top: 5px; }
.is-invalid input, .is-invalid select { border-color: var(--deep-coral); }
.is-invalid .field__error, .field__error.is-shown { display: block; }
.is-invalid .field__hint { display: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; margin: 4px 0 2px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--deep-coral); }
.field__error--check { margin: 4px 0 0 30px; }
.reserve .btn--block { margin-top: 20px; width: 100%; border: 0; cursor: pointer; font-family: inherit; }
.reserve__back { display: block; margin: 14px auto 0; background: none; border: 0; font: inherit; font-size: .95rem; color: var(--midnight); text-decoration: underline; cursor: pointer; }

/* Section colour tweaks after removing "Dates and times" */
.founder-section .video-ph { color: var(--sunrise); }
#faq details { border-bottom-color: var(--line-light); }
#faq summary::after { color: var(--deep-coral); }

/* =========================================================
   HERO HEADLINE: editorial composition
   Small quiet line → huge two-line statement → "somewhere"
   underlined with a coral pen stroke, and the full stop is
   the brand sun, whose two pieces break off and fly up.
   ========================================================= */
.kicker {
  display: flex; align-items: center; gap: 10px; margin: 0 0 clamp(12px, 2.2vh, 26px);
  font-size: clamp(.68rem, 1.6vh, .8rem); font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--sunrise);
}
.kicker__piece { width: 12px; height: 9px; border-radius: 2px; background: var(--coral); transform: rotate(-30deg); flex: none; }
.kicker__sep { opacity: .5; font-weight: 400; }

.hero .headline { font-size: 1rem; margin: 0 0 clamp(12px, 2.2vh, 24px); line-height: 1; letter-spacing: -.035em; }
.headline__pre {
  display: block; margin-bottom: .45em;
  font-size: clamp(1.05rem, min(5.2vw, 2.9vh), 2rem); font-weight: 500; line-height: 1.2; letter-spacing: -.01em;
  color: rgba(255,243,227,.7);
}
.headline__big {
  display: block; font-weight: 700; line-height: .98;
  font-size: clamp(2.5rem, min(13.6vw, 7.6vh), 7rem);
}
.headline__gold { color: var(--gold); white-space: nowrap; }
.headline__word { position: relative; display: inline-block; }
.swoosh {
  position: absolute; left: -.02em; right: .02em; bottom: -.16em; width: 100%; height: .2em; overflow: visible;
}
.swoosh path { stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw .7s .55s cubic-bezier(.6,.1,.2,1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.sun-dot { width: 1em; height: 1em; vertical-align: -.135em; margin-left: .03em; overflow: visible; }
.sun-dot__rays, .sun-dot__piece { transform-box: fill-box; }
.sun-dot__rays { transform-origin: 50% 100%; animation: rays .5s 1s ease-out both; }
.sun-dot__piece--l { animation: piece-l .65s 1.1s cubic-bezier(.2,.9,.3,1.2) both; }
.sun-dot__piece--r { animation: piece-r .65s 1.1s cubic-bezier(.2,.9,.3,1.2) both; }
@keyframes rays { from { transform: scaleY(0); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes piece-l { from { transform: translate(14px, 28px) rotate(25deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes piece-r { from { transform: translate(-14px, 28px) rotate(-25deg); opacity: 0; } to { transform: none; opacity: 1; } }

.motto {
  display: flex; align-items: center; flex-wrap: wrap; margin: 0 0 clamp(10px, 1.8vh, 18px);
  font-size: clamp(.98rem, min(4.4vw, 2.4vh), 1.25rem); font-weight: 500; color: rgba(255,243,227,.72);
}
.motto::before { content: none; }
.motto strong { color: var(--sunrise); font-weight: 700; }

@media (min-width: 960px) {
  .headline__pre { font-size: clamp(1.3rem, 3.4vh, 2.1rem); }
  .headline__big { font-size: clamp(3.4rem, 11vh, 7.6rem); }
  .motto { font-size: clamp(1.05rem, 2.6vh, 1.35rem); }
}
@media (prefers-reduced-motion: reduce) {
  .swoosh path { animation: none; stroke-dashoffset: 0; }
  .sun-dot__rays, .sun-dot__piece--l, .sun-dot__piece--r { animation: none; }
}
/* Very short phone screens: tighten a little more */
@media (max-width: 959px) and (max-height: 620px) {
  .headline__big { font-size: min(12.4vw, 7vh); }
  .headline__pre { font-size: 1rem; }
  .hero .lead { font-size: .9rem; }
  .hero .cta-row { margin: 12px 0 8px; }
  .hero .numbers { margin-top: 10px; padding-top: 8px; }
}

/* =========================================================
   FIRST SCREEN: more breathing room
   Fewer lines (start date moved into the label, WhatsApp
   link beside the button), and the space they freed goes
   into generous gaps between the groups.
   ========================================================= */
.hero .kicker { margin-bottom: clamp(18px, 3.6vh, 40px); }
.hero .headline { margin-bottom: clamp(16px, 3vh, 32px); }
.headline__pre { margin-bottom: .55em; }
.hero .motto { margin-bottom: clamp(16px, 3vh, 30px); }
.hero .lead { max-width: 34ch; line-height: 1.6; color: rgba(255,243,227,.88); }
.hero .cta-row { margin: clamp(22px, 4vh, 44px) 0 0; flex-wrap: nowrap; gap: 22px; }
.hero .cta-row .link { white-space: nowrap; }
.hero .numbers {
  margin-top: clamp(26px, 5vh, 56px); padding-top: clamp(16px, 2.8vh, 28px);
  border-top-color: rgba(255,243,227,.1);
}
.hero .numbers li { opacity: .85; }
@media (min-width: 960px) {
  .hero .lead { max-width: 42ch; }
  .hero .numbers { margin-top: clamp(30px, 6vh, 64px); }
}
@media (max-width: 959px) and (max-height: 620px) {
  .hero .kicker { margin-bottom: 14px; }
  .hero .headline, .hero .motto { margin-bottom: 12px; }
  .hero .cta-row { margin-top: 16px; }
  .hero .numbers { margin-top: 16px; padding-top: 10px; }
}
@media (min-width: 960px) and (max-height: 760px) {
  .hero { padding-top: 22px; padding-bottom: 22px; }
  .headline__big { font-size: 10vh; }
  .hero .kicker { margin-bottom: 3vh; }
  .hero .numbers { margin-top: 4vh; padding-top: 2.2vh; }
}
/* Label: one clean line on every phone (real Sora font is wide) */
.hero .kicker { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: .12em; }
.hero .kicker__piece { display: inline-block; vertical-align: .05em; margin-right: 10px; }
.kicker__sep { margin: 0 .4em; }
@media (max-width: 599px) { .kicker__opt { display: none; } }

/* =========================================================
   FOUNDER JOURNEY: 4 simple numbered steps (no animation)
   ========================================================= */
.steps4 { list-style: none; margin: 8px 0 0; padding: 0; }
.steps4__item { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding-bottom: 30px; }
.steps4__item:last-child { padding-bottom: 0; }
.steps4__item::before {   /* the line to the next step */
  content: ""; position: absolute; left: 25px; top: 60px; bottom: 8px;
  border-left: 2px dashed rgba(23,10,38,.2);
}
.steps4__item:last-child::before { display: none; }
.steps4__num {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--midnight); color: var(--gold); font-size: 1.35rem; font-weight: 700;
}
.steps4__text { display: flex; flex-direction: column; padding-top: 4px; }
.steps4__title { font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; }
.steps4__desc { font-size: 1rem; line-height: 1.55; opacity: .78; margin-top: 3px; max-width: 34ch; }
@media (min-width: 960px) {
  .steps4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .steps4__item { grid-template-columns: 1fr; gap: 18px; padding: 0; }
  .steps4__item::before { left: 72px; right: -24px; top: 26px; bottom: auto; border-left: 0; border-top: 2px dashed rgba(23,10,38,.2); }
  .steps4__desc { max-width: 26ch; }
}

/* =========================================================
   SECTION DIVIDERS in the brand style
   A thin dawn line (coral → sunrise → gold) between every
   section, with one coral piece sitting on it in the middle.
   ========================================================= */
main > section { position: relative; }
main > section + section::before, .footer::before {
  content: ""; position: absolute; z-index: 4; left: 0; right: 0; top: -2px; height: 4px;
  background: linear-gradient(90deg, var(--coral) 0%, var(--sunrise) 50%, var(--gold) 100%);
}
main > section + section::after, .footer::after {
  content: ""; position: absolute; z-index: 5; left: 50%; top: 0;
  width: 18px; height: 13px; margin: -6.5px 0 0 -9px; border-radius: 3px;
  background: var(--coral); transform: rotate(-30deg);
  box-shadow: 0 0 0 4px var(--ring, var(--cream));
}
main > section.dark::after, main > section.final::after, .footer::after { --ring: var(--midnight); }
main > section.light::after { --ring: var(--cream); }
.footer { position: relative; }

/* =========================================================
   FLOATING WHATSAPP BUTTON (bottom right, every screen)
   Our style: a coral circle with a cream WhatsApp mark and a
   small gold piece, a cream ring so it reads on both cream
   and Midnight sections. On computers it opens into a pill
   that says "WhatsApp us" on hover.
   ========================================================= */
.wa-float {
  position: fixed; z-index: 30;
  right: calc(16px + env(safe-area-inset-right));
  bottom: calc(16px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 0;
  height: 58px; min-width: 58px; padding: 0 13px; border-radius: 999px;
  background: var(--coral); color: var(--cream); text-decoration: none;
  box-shadow: 0 0 0 3px var(--cream), 0 10px 28px rgba(23,10,38,.35);
  transition: transform .2s ease, box-shadow .2s ease, gap .25s ease, padding .25s ease;
  animation: wa-in .5s 1.2s cubic-bezier(.2,.9,.3,1.3) both;
}
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 0 0 3px var(--cream), 0 14px 32px rgba(23,10,38,.42); }
.wa-float:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.wa-float__icon { width: 32px; height: 32px; flex: none; }
.wa-float__bubble { fill: none; stroke: var(--cream); stroke-width: 2.4; stroke-linejoin: round; }
.wa-float__phone { fill: var(--cream); }
.wa-float__label {
  max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 700; font-size: .98rem;
  transition: max-width .3s ease;
}
.wa-float__piece {
  position: absolute; top: -3px; right: 2px; width: 13px; height: 10px; border-radius: 2px;
  background: var(--gold); transform: rotate(-30deg); box-shadow: 0 0 0 2.5px var(--cream);
}
/* a soft ring that pulses twice after the page loads, to get noticed */
.wa-float::after {
  content: ""; position: absolute; inset: -3px; border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(255,77,46,.55); animation: wa-pulse 1.6s 2s ease-out 2;
}
@keyframes wa-in { from { transform: scale(.4) translateY(20px); opacity: 0; } }
@keyframes wa-pulse { to { box-shadow: 0 0 0 16px rgba(255,77,46,0); } }

@media (min-width: 960px) {
  .wa-float { right: 28px; bottom: 28px; }
  .wa-float:hover { gap: 10px; padding-right: 22px; }
  .wa-float:hover .wa-float__label { max-width: 140px; }
}
/* hide it while the phone menu is open */
body:has(.nav.is-open) .wa-float { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .wa-float, .wa-float::after { animation: none; }
}

/* Phones: the floating WhatsApp button now shows on the first screen too, so the
   hero keeps the bottom-right corner free for it (stats end above the button). */
@media (max-width: 959px) {
  .hero .kicker { margin-bottom: clamp(14px, 2.8vh, 32px); }
  .hero .headline { margin-bottom: clamp(12px, 2.4vh, 26px); }
  .hero .motto { margin-bottom: clamp(12px, 2.4vh, 24px); }
  .hero .cta-row { margin-top: clamp(16px, 3vh, 36px); }
  .hero .numbers { margin-top: clamp(16px, 3.2vh, 40px); padding-top: clamp(12px, 2.2vh, 24px); }
  .headline__big { font-size: clamp(2.3rem, min(13.4vw, 7.1vh), 7rem); }
  .hero.is-fitted { padding-bottom: 0; }
}
@media (max-width: 959px) and (max-height: 620px) {
  .headline__big { font-size: min(12vw, 6.6vh); }
  .hero .lead { font-size: .88rem; line-height: 1.5; }
  .hero .numbers { margin-top: 12px; padding-top: 8px; }
  .hero .btn { padding-top: 10px; padding-bottom: 10px; }
}
/* Short phone screens: a slightly smaller button, a little tighter hero */
@media (max-width: 959px) and (max-height: 660px) {
  .wa-float { height: 50px; min-width: 50px; padding: 0 10px; bottom: calc(12px + env(safe-area-inset-bottom)); right: calc(12px + env(safe-area-inset-right)); }
  .wa-float__icon { width: 28px; height: 28px; }
}
@media (max-width: 959px) and (max-height: 600px) {
  .headline__big { font-size: min(11.6vw, 6.2vh); }
  .headline__pre { font-size: .95rem; margin-bottom: .4em; }
  .hero .kicker { margin-bottom: 10px; }
  .hero .numbers { margin-top: 10px; }
}

/* Hero: note under the call buttons */
.hero__note { margin: clamp(8px, 1.4vh, 14px) 0 0; font-size: clamp(.76rem, 1.7vh, .88rem); color: rgba(255,243,227,.62); }
.hero__note span { margin: 0 .35em; }
@media (max-width: 380px) { .hero__note { font-size: .72rem; } }
.hero__note { white-space: nowrap; }
@media (max-width: 959px) { .hero .cta-row { margin-top: clamp(14px, 2.6vh, 32px); } }
@media (min-width: 960px) and (max-height: 760px) { .hero .numbers { margin-top: 3.2vh; } }
@media (max-width: 959px) and (max-height: 660px) { .hero .numbers { margin-top: 14px; } .hero .lead { line-height: 1.45; } }
.hero__note a { color: var(--cream); font-weight: 600; text-underline-offset: 3px; }
.hero__note a:hover { color: var(--gold); }
@media (max-width: 380px) { .hero__note { white-space: normal; } }
.hero__note { white-space: normal; max-width: 34ch; }
.hero__note a { text-decoration: none; }
.hero__note a:hover { text-decoration: none; color: var(--gold); }
@media (max-width: 959px) and (max-height: 600px) { .hero .lead { font-size: .84rem; } .hero .cta-row { margin-top: 12px; } }
@media (max-width: 959px) and (min-height: 640px) { .hero .headline { margin-bottom: clamp(18px, 3.2vh, 32px); } }
.price { margin-bottom: 1.4rem; }

/* Price now sits on Midnight (before the guarantee); guarantee on cream */
#price.dark .price-card { border-color: transparent; box-shadow: 0 18px 50px rgba(0,0,0,.35); color: var(--midnight); }
.guarantee.light { background: var(--cream); color: var(--midnight); }

/* =========================================================
   FIRST SCREEN: "First cohort · Starts late January 2027"
   Only on taller screens, in the empty space under the stats.
   There the top label shows "Online founder camp" instead,
   so the date isn't repeated. On shorter screens the block is
   hidden and the date stays in the top label.
   ========================================================= */
.kicker__sep { margin: 0 .4em; }
.kicker__a { display: none; }                         /* default (short screens): date only */
@media (min-width: 600px) { .kicker__a { display: inline; } }   /* wider: "Online founder camp / Starts…" */

.hero__start { display: none; }
@media (max-width: 959px) and (min-height: 760px), (min-width: 960px) and (min-height: 980px) {
  .kicker__a { display: inline; }
  .kicker__b { display: none; }
  .hero__start {
    display: inline-flex; align-items: center; gap: 14px; position: relative; z-index: 1;
    margin-top: clamp(22px, 3.4vh, 40px); padding: 14px 20px 14px 16px; border-radius: 18px;
    background: rgba(255,243,227,.06); border: 1px solid rgba(255,243,227,.14);
    max-width: min(100%, 360px);
  }
  .hero__start-piece { width: 16px; height: 12px; border-radius: 3px; background: var(--coral); transform: rotate(-30deg); flex: none; }
  .hero__start-text { display: flex; flex-direction: column; line-height: 1.25; }
  .hero__start-label { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sunrise); margin-bottom: 3px; }
  .hero__start strong { font-size: clamp(1.05rem, 2.1vh, 1.3rem); font-weight: 700; color: var(--cream); }
}



.faq-list { list-style: none; margin: 0 0 1em; padding: 0; }
.faq-list li { position: relative; padding-left: 24px; margin-bottom: 8px; opacity: .9; }
.faq-list li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 10px; height: 7px; border-radius: 2px; background: var(--coral); transform: rotate(-30deg); }

/* =========================================================
   MEET THE FOUNDER
   Profile card (photo, name, role, credentials, LinkedIn)
   + quote and story. Phones: card on top, photo beside the
   name. Tablets: card is a wide row. Computers: card on the
   left, story on the right.
   ========================================================= */
.founder-section .founder { display: grid; gap: 32px; align-items: start; }

.founder__card {
  display: grid; grid-template-columns: 84px 1fr; column-gap: 16px; row-gap: 14px; align-items: center;
  padding: 20px; border-radius: 24px;
  background: rgba(255,243,227,.05); border: 1px solid rgba(255,243,227,.12);
}
.founder__photo {
  grid-column: 1; grid-row: 1; width: 100%; aspect-ratio: 1; overflow: hidden;
  border-radius: 999px 999px 18px 18px;                     /* sunrise arch */
  background: linear-gradient(180deg, var(--gold), var(--sunrise) 50%, var(--coral));
  display: grid; place-items: center;
}
.founder__photo img { width: 46%; height: auto; filter: brightness(0) invert(1) opacity(.65); }
.founder__photo img:not([src$=".svg"]) { width: 100%; height: 100%; object-fit: cover; filter: none; }
.founder__head { grid-column: 2; grid-row: 1; min-width: 0; }
.founder__name { margin: 0; font-size: 1.3rem; font-weight: 700; line-height: 1.2; }
.founder__role { margin: 4px 0 0; font-size: .92rem; font-weight: 600; color: var(--sunrise); }
.founder__creds {
  grid-column: 1 / -1; list-style: none; margin: 0; padding: 14px 0 0;
  border-top: 1px solid rgba(255,243,227,.1);
  font-size: .9rem; line-height: 1.45; color: rgba(255,243,227,.78);
}
.founder__creds li { position: relative; padding-left: 18px; margin-bottom: 6px; }
.founder__creds li:last-child { margin-bottom: 0; }
.founder__creds li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 6px; border-radius: 1.5px; background: var(--coral); transform: rotate(-30deg); }
.founder__link {
  grid-column: 1 / -1; justify-self: start;
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 9px 16px 9px 10px; border-radius: 999px; border: 1px solid rgba(255,243,227,.22);
  font-size: .9rem; font-weight: 600; color: var(--cream); text-decoration: none;
  transition: border-color .2s ease, color .2s ease;
}
.founder__link:hover { border-color: var(--gold); color: var(--gold); }
.founder__in { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--cream); color: var(--midnight); font-size: .78rem; font-weight: 700; }
.founder__link:hover .founder__in { background: var(--gold); }

.founder__story { min-width: 0; }
.founder__quote {
  position: relative; margin: 0 0 22px; padding-left: 18px; border-left: 4px solid var(--coral);
  font-size: clamp(1.35rem, 5.2vw, 2.1rem); font-weight: 700; line-height: 1.25; letter-spacing: -.015em; color: var(--gold);
}
.founder__story p { margin: 0 0 1em; color: rgba(255,243,227,.88); max-width: 62ch; }
.founder__story p:last-child { margin-bottom: 0; }

/* tablets: the card becomes a wide row (photo | name, role, credentials, link) */
@media (min-width: 600px) {
  .founder__card { grid-template-columns: 140px 1fr; column-gap: 24px; row-gap: 10px; padding: 24px; align-items: start; }
  .founder__photo { grid-row: 1 / span 3; }
  .founder__head { grid-column: 2; grid-row: 1; }
  .founder__creds { grid-column: 2; grid-row: 2; border-top: 0; padding-top: 2px; }
  .founder__link { grid-column: 2; grid-row: 3; margin-top: 4px; }
}

/* computers: card on the left, quote and story on the right */
@media (min-width: 960px) {
  .founder-section .founder { grid-template-columns: minmax(260px, 320px) 1fr; gap: 64px; }
  .founder__card { grid-template-columns: 1fr; row-gap: 16px; padding: 24px; }
  .founder__photo, .founder__head, .founder__creds, .founder__link { grid-column: 1; grid-row: auto; }
  .founder__photo { width: 100%; max-width: 272px; }
  .founder__creds { border-top: 1px solid rgba(255,243,227,.1); padding-top: 16px; }
  .founder__quote { margin-top: 4px; max-width: 24ch; }
}

/* Reserve form: country code picker (flags drawn in flags.svg) beside the WhatsApp number */
.field--phone > label > span { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.phone-row { display: flex; gap: 8px; }
.phone-row input { flex: 1; min-width: 0; }
.cc { position: relative; flex: none; }
.cc__btn {
  height: 100%; min-height: 50px; display: flex; align-items: center; gap: 8px; padding: 0 12px;
  border: 1.5px solid var(--line-light); border-radius: 12px; background: #fff; cursor: pointer;
  font: inherit; font-size: 1rem; font-weight: 600; color: var(--midnight);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.cc__btn:focus-visible, .cc__btn[aria-expanded="true"] { outline: none; border-color: var(--sunrise); box-shadow: 0 0 0 3px rgba(255,138,61,.25); }
.flag { width: 24px; height: 16px; flex: none; border-radius: 3px; box-shadow: 0 0 0 1px rgba(23,10,38,.12); overflow: hidden; }
.cc__caret { width: 7px; height: 7px; margin-left: 2px; border-right: 2px solid var(--midnight); border-bottom: 2px solid var(--midnight); transform: translateY(-2px) rotate(45deg); transition: transform .2s ease; }
.cc__btn[aria-expanded="true"] .cc__caret { transform: translateY(2px) rotate(-135deg); }
.cc__list {
  position: absolute; z-index: 5; left: 0; top: calc(100% + 6px); width: min(300px, 78vw); max-height: 264px; overflow-y: auto;
  margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line-light); border-radius: 14px;
  box-shadow: 0 16px 40px rgba(23,10,38,.22); outline: none;
}
.cc__list [role="option"] { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; cursor: pointer; font-size: .95rem; }
.cc__list [role="option"].is-active { background: var(--cream); }
.cc__list [role="option"][aria-selected="true"] { font-weight: 700; }
.cc__name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc__dial { color: rgba(23,10,38,.6); font-variant-numeric: tabular-nums; }
.cc__sep { height: 1px; margin: 6px 4px; background: var(--line-light); }
.is-invalid .phone-row input { border-color: var(--deep-coral); }

/* =========================================================
   MOBILE-FIRST INTERACTION POLISH
   1. Scroll lock: when the menu or the form is open, the page
      behind is frozen (site.js), and the header stays put.
   2. Phone menu: dimmed backdrop, tap outside to close, the
      panel scrolls on its own, smooth open.
   3. Reserve form = a "sheet": title bar pinned at the top,
      fields scroll in the middle, the button pinned at the
      bottom. Full screen on phones (slides up), centred card
      on bigger screens. The keyboard doesn't open by itself.
   ========================================================= */
html.is-locked .topbar { position: fixed; left: 0; right: 0; top: 0; }
html.is-locked body:not(:has(.langbar)) { padding-top: var(--hdr); }
html.is-locked .langbar { margin-bottom: var(--hdr); }   /* holds the header's place while it's pinned */
html.is-locked .topbar { top: var(--navtop, 0px); }

/* phone menu */
.nav-backdrop {
  position: fixed; z-index: 19; left: 0; right: 0; top: calc(var(--hdr) + var(--navtop, 0px)); bottom: 0;
  background: rgba(14,6,24,.6); animation: fade-in .2s ease both;
}
.nav-backdrop[hidden] { display: none; }
@media (max-width: 959px) {
  .nav { max-height: calc(100vh - var(--hdr) - var(--navtop, 0px)); max-height: calc(100dvh - var(--hdr) - var(--navtop, 0px)); overflow-y: auto; overscroll-behavior: contain; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  .nav.is-open { display: block; animation: menu-in .22s ease-out both; }
  .nav__links a { padding: 16px 2px; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }
@keyframes fade-in { from { opacity: 0; } }

/* reserve form as a sheet */
.reserve { padding: 0; overflow: hidden; overscroll-behavior: contain; max-height: min(760px, calc(100dvh - 48px)); }
.reserve[open] { display: flex; flex-direction: column; }
.reserve::backdrop { background: rgba(14,6,24,.7); }
.reserve .sheet { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; padding: 0; }
.reserve .sheet[hidden] { display: none; }
.sheet__bar {
  flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 14px 12px 22px; border-bottom: 1px solid var(--line-light); background: var(--cream);
}
.reserve .sheet__title { margin: 0; font-size: 1.3rem; line-height: 1.2; outline: none; }
.reserve .reserve__close { position: static; flex: none; }
.sheet__body {
  flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  padding: 18px 22px 22px;
}
.sheet__body > .badge { margin-bottom: .7rem; }
.sheet__foot {
  flex: none; padding: 14px 22px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-light); background: var(--cream);
}
.reserve .sheet__foot .btn--block { margin-top: 0; }
.reserve .sheet__foot .reserve__back { margin-top: 10px; }
.reserve__done .sheet__body p { font-size: 1.05rem; }

/* phones: full-screen sheet that slides up */
@media (max-width: 599px) {
  .reserve {
    width: 100%; max-width: 100%; height: 100%; max-height: 100%; height: 100dvh; max-height: 100dvh;
    margin: 0; border-radius: 0; box-shadow: none;
  }
  .reserve[open] { animation: sheet-up .28s cubic-bezier(.2,.8,.3,1) both; }
  .sheet__bar { padding-top: calc(12px + env(safe-area-inset-top)); }
}
@keyframes sheet-up { from { transform: translateY(24px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .reserve[open], .nav.is-open, .nav-backdrop { animation: none; }
}

/* "We reply on WhatsApp within 24 hours" */
.reply-promise { display: inline-flex; align-items: center; gap: 8px; margin: 18px 0 0; font-size: .92rem; font-weight: 500; opacity: .9; }
.reply-promise__dot { width: 8px; height: 8px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 4px rgba(61,220,132,.18); flex: none; }
.reply-promise--card { display: flex; justify-content: center; margin-top: 14px; font-size: .88rem; color: rgba(23,10,38,.7); }

/* =========================================================
   FOUNDER JOURNEY: example story in 4 steps
   A dark card: "Step X of 4" + segmented bar (coral → gold),
   then the step's text and its animated scene. site.js moves
   between steps (autoplay while on screen; tap, arrows or
   swipe to move). Scene animations run when a step is active.
   ========================================================= */
.story {
  --dur: 7s;
  margin-top: 8px; padding: 20px 18px 14px; border-radius: 28px;
  background: var(--midnight); color: var(--cream);
  box-shadow: 0 24px 60px rgba(23,10,38,.22);
}
.story__eyebrow {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px;
  margin: 0 0 10px; font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.story__count { color: var(--sunrise); }
.story__example { color: rgba(255,243,227,.55); font-weight: 500; letter-spacing: .04em; text-transform: none; font-size: .78rem; }
.story__bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.story__seg { position: relative; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.story__seg::before, .story__fill { position: absolute; left: 0; top: 8px; height: 8px; border-radius: 4px; }
.story__seg::before { content: ""; right: 0; background: rgba(255,243,227,.14); }
.story__fill { width: 0; background: var(--c, var(--coral)); }
.story__seg:nth-child(1) { --c: var(--coral); }
.story__seg:nth-child(2) { --c: var(--sunrise); }
.story__seg:nth-child(3) { --c: var(--gold); }
.story__seg:nth-child(4) { --c: var(--gold); }
.story__seg.is-done .story__fill, .story__seg.is-active .story__fill { width: 100%; }
.story:not(.is-manual) .story__seg.is-active.is-run .story__fill { animation: st-fill var(--dur) linear both; }
.story.is-paused .story__fill { animation-play-state: paused !important; }
@keyframes st-fill { from { width: 0; } }
.story__seg:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

/* steps share one spot, so the card never jumps in height */
.story__stage { display: grid; margin-top: 16px; }
.story__step { grid-area: 1 / 1; display: grid; gap: 18px; align-content: start; transition: opacity .35s ease; }
.story__step[hidden] { display: grid; visibility: hidden; opacity: 0; pointer-events: none; }
.story__title { margin: 0; font-size: clamp(1.9rem, 7vw, 2.6rem); line-height: 1.05; letter-spacing: -.02em; }
.story__lead { margin: 6px 0 8px; font-weight: 600; color: var(--sunrise); font-size: 1.05rem; }
.story__text { margin: 0; color: rgba(255,243,227,.82); font-size: .98rem; line-height: 1.6; max-width: 46ch; }

.scene { position: relative; min-height: 300px; padding: 16px; border-radius: 20px; overflow: hidden; background: #221236; border: 1px solid rgba(255,243,227,.08); }

.story__nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.story__arrow { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid rgba(255,243,227,.25); background: none; cursor: pointer; display: grid; place-items: center; transition: border-color .2s ease, background .2s ease; }
.story__arrow:hover { border-color: var(--gold); background: rgba(255,206,92,.08); }
.story__arrow span { width: 9px; height: 9px; border-top: 2px solid var(--cream); border-right: 2px solid var(--cream); }
.story__prev span { transform: translateX(2px) rotate(-135deg); }
.story__next span { transform: translateX(-2px) rotate(45deg); }
.story__names { display: flex; justify-content: center; gap: 4px 14px; flex-wrap: wrap; margin: 0; font-size: .85rem; font-weight: 600; }
.story__names span { cursor: pointer; color: rgba(255,243,227,.42); transition: color .2s ease; }
.story__names span.is-on { color: var(--cream); }

/* ---------- scene 1: Discover (people + online research) ---------- */
.scene--discover { display: grid; gap: 14px; align-content: center; }
.sd__people { display: grid; gap: 10px; }
.sd__person { display: flex; align-items: flex-start; gap: 10px; }
.sd__avatar { width: 30px; height: 30px; flex: none; border-radius: 50%; background: linear-gradient(180deg, var(--gold), var(--sunrise)); }
.sd__p2 .sd__avatar { background: linear-gradient(180deg, var(--sunrise), var(--coral)); }
.sd__p3 .sd__avatar { background: linear-gradient(180deg, #FFE7B8, var(--gold)); }
.sd__bubble { padding: 8px 12px; border-radius: 4px 14px 14px 14px; background: var(--cream); color: var(--midnight); font-size: .82rem; line-height: 1.35; font-weight: 500; }
.sd__search { padding: 12px; border-radius: 14px; background: #2B1845; border: 1px solid rgba(255,243,227,.1); }
.sd__input { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: #fff; color: var(--midnight); font-size: .82rem; font-weight: 500; }
.sd__glass { position: relative; width: 11px; height: 11px; flex: none; border: 2px solid var(--midnight); border-radius: 50%; }
.sd__glass::after { content: ""; position: absolute; right: -5px; bottom: -4px; width: 5px; height: 2px; background: var(--midnight); transform: rotate(45deg); }
.sd__typed { display: inline-block; overflow: hidden; white-space: nowrap; border-right: 2px solid var(--coral); max-width: 100%; }
.sd__result { margin: 8px 2px 0; font-size: .78rem; line-height: 1.4; color: rgba(255,243,227,.85); }
.sd__result b { color: var(--sunrise); font-weight: 700; margin-right: 4px; }

.is-active .sd__p1 { animation: st-pop .45s cubic-bezier(.2,.9,.3,1.3) .3s both; }
.is-active .sd__p2 { animation: st-pop .45s cubic-bezier(.2,.9,.3,1.3) 1s both; }
.is-active .sd__p3 { animation: st-pop .45s cubic-bezier(.2,.9,.3,1.3) 1.7s both; }
.is-active .sd__search { animation: st-up .45s ease 2.3s both; }
.is-active .sd__typed { animation: st-type 1.3s steps(29) 2.7s both, st-caret .8s step-end 2.7s 5; }
.is-active .sd__r1 { animation: st-up .35s ease 4.1s both; }
.is-active .sd__r2 { animation: st-up .35s ease 4.4s both; }
.is-active .sd__r3 { animation: st-up .35s ease 4.7s both; }
@keyframes st-pop { from { opacity: 0; transform: translateY(8px) scale(.92); } }
@keyframes st-up { from { opacity: 0; transform: translateY(10px); } }
@keyframes st-type { from { width: 0; } to { width: 29ch; } }
@keyframes st-caret { 50% { border-color: transparent; } }

/* ---------- scene 2: Decide (insights → what exists → decision) ---------- */
.scene--decide { display: grid; gap: 14px; align-content: center; }
.sdc__notes { display: flex; flex-wrap: wrap; gap: 8px; }
.sdc__note { flex: 1 1 120px; padding: 10px 12px; border-radius: 6px; background: var(--gold); color: var(--midnight); font-size: .8rem; font-weight: 700; line-height: 1.3; box-shadow: 0 6px 14px rgba(0,0,0,.25); }
.sdc__n1 { transform: rotate(-2deg); } .sdc__n2 { transform: rotate(1.5deg); background: #FFDC8A; } .sdc__n3 { transform: rotate(-1deg); }
.sdc__compare { padding: 10px 12px; border-radius: 12px; background: rgba(255,243,227,.06); }
.sdc__label { margin: 0 0 6px; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sunrise); }
.sdc__row { display: flex; justify-content: space-between; gap: 10px; margin: 4px 0 0; font-size: .82rem; }
.sdc__no { font-style: normal; color: #FF8C74; white-space: nowrap; }
.sdc__no::before { content: "✗ "; }
.sdc__log { position: relative; padding: 12px 14px; border-radius: 14px; background: var(--cream); color: var(--midnight); }
.sdc__logtitle { margin: 0; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--deep-coral); }
.sdc__logtext { margin: 4px 0 0; font-size: .9rem; font-weight: 600; line-height: 1.4; padding-right: 56px; }
.sdc__stamp { position: absolute; right: 12px; top: 50%; margin-top: -16px; padding: 2px 10px; border: 3px solid var(--coral); border-radius: 8px; color: var(--coral); font-weight: 800; font-size: 1.1rem; letter-spacing: .08em; transform: rotate(-12deg); }

.is-active .sdc__n1 { animation: st-note .45s cubic-bezier(.2,.9,.3,1.3) .3s both; }
.is-active .sdc__n2 { animation: st-note .45s cubic-bezier(.2,.9,.3,1.3) .7s both; }
.is-active .sdc__n3 { animation: st-note .45s cubic-bezier(.2,.9,.3,1.3) 1.1s both; }
.is-active .sdc__compare { animation: st-up .4s ease 1.8s both; }
.is-active .sdc__c1 { animation: st-up .35s ease 2.2s both; }
.is-active .sdc__c2 { animation: st-up .35s ease 2.5s both; }
.is-active .sdc__log { animation: st-up .45s ease 3.1s both; }
.is-active .sdc__stamp { animation: st-stamp .4s cubic-bezier(.3,1.6,.5,1) 3.9s both; }
@keyframes st-note { from { opacity: 0; transform: translateY(-14px) rotate(-8deg) scale(.9); } }
@keyframes st-stamp { from { opacity: 0; transform: rotate(-12deg) scale(2.4); } }

/* ---------- scene 3: Build (a real app screen) ---------- */
.scene--build { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.sb__phone { position: relative; width: 204px; height: 366px; padding: 7px; border-radius: 32px; background: #0E0618; box-shadow: 0 0 0 2px #3A1647, 0 20px 40px rgba(0,0,0,.45); }
.sb__notch { position: absolute; z-index: 2; left: 50%; top: 12px; width: 56px; height: 14px; margin-left: -28px; border-radius: 10px; background: #0E0618; }
.sb__screen { position: relative; height: 100%; padding: 30px 12px 12px; border-radius: 26px; overflow: hidden; background: var(--cream); color: var(--midnight); }
.sb__app { margin: 0; font-size: .64rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--deep-coral); }
.sb__h { margin: 2px 0 10px; font-size: 1.05rem; font-weight: 700; }
.sb__days { display: flex; gap: 5px; }
.sb__days span { padding: 4px 8px; border-radius: 99px; background: #fff; border: 1px solid var(--line-light); font-size: .68rem; font-weight: 600; }
.sb__days .is-on { background: var(--midnight); border-color: var(--midnight); color: var(--cream); }
.sb__card { margin-top: 10px; padding: 10px; border-radius: 12px; background: #fff; box-shadow: 0 4px 12px rgba(23,10,38,.08); }
.sb__card--dim { opacity: .55; }
.sb__name { margin: 0; font-size: .8rem; font-weight: 700; }
.sb__meta { margin: 2px 0 0; font-size: .66rem; opacity: .6; }
.sb__slots { display: flex; gap: 6px; margin-top: 8px; }
.sb__slots span { padding: 4px 8px; border-radius: 8px; border: 1.5px solid var(--line-light); font-size: .68rem; font-weight: 700; }
.sb__slots .is-taken { opacity: .4; text-decoration: line-through; }
.sb__slots .sb__pick { background: var(--gold); border-color: var(--gold); }
.sb__btn { position: absolute; left: 12px; right: 12px; bottom: 14px; padding: 10px; border-radius: 99px; background: var(--midnight); color: var(--cream); text-align: center; font-size: .8rem; font-weight: 700; }
.sb__tap { position: absolute; left: 50%; bottom: 18px; width: 30px; height: 30px; margin-left: -15px; border-radius: 50%; border: 2px solid var(--gold); opacity: 0; }
.sb__toast { position: absolute; left: 10px; right: 10px; bottom: 62px; padding: 10px 12px; border-radius: 12px; background: var(--midnight); color: var(--cream); font-size: .72rem; line-height: 1.35; box-shadow: 0 10px 24px rgba(23,10,38,.35); }
.sb__toast b { color: var(--gold); }
.sb__label { margin: 12px 0 0; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,243,227,.5); }

.is-active .sb__phone { animation: st-up .5s ease .2s both; }
.is-active .sb__pick { animation: st-pick 1.6s ease .6s both; }
.is-active .sb__btn { animation: st-btn 2.6s ease .6s both; }
.is-active .sb__tap { animation: st-tap .6s ease-out 2.6s both; }
.is-active .sb__toast { animation: st-toast .5s cubic-bezier(.2,.9,.3,1.2) 3.1s both; }
@keyframes st-pick { 0%, 55% { background: #fff; border-color: var(--line-light); } 70% { transform: scale(1.15); } 100% { background: var(--gold); border-color: var(--gold); } }
@keyframes st-btn { 0%, 70% { opacity: .35; } 85% { opacity: 1; transform: scale(1.04); } 100% { opacity: 1; } }
@keyframes st-tap { 0% { opacity: .9; transform: scale(.5); } 100% { opacity: 0; transform: scale(1.8); } }
@keyframes st-toast { from { opacity: 0; transform: translateY(18px); } }

/* ---------- scene 4: Launch (pitching to judges) ---------- */
.scene--launch { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto 1fr; gap: 14px 12px; align-items: end; }
.sl__screen { grid-column: 2; grid-row: 1; padding: 12px 14px; border-radius: 12px; background: var(--cream); color: var(--midnight); border: 4px solid #3A1647; box-shadow: 0 14px 30px rgba(0,0,0,.35); }
.sl__title { margin: 0; font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; }
.sl__sub { margin: 2px 0 8px; font-size: .74rem; opacity: .7; }
.sl__pt { margin: 4px 0 0; font-size: .78rem; font-weight: 600; }
.sl__presenter { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; align-items: center; align-self: end; }
.sl__head { display: block; width: 18px; height: 18px; border-radius: 50%; background: var(--sunrise); }
.sl__body { display: block; width: 32px; height: 30px; margin-top: 3px; border-radius: 16px 16px 6px 6px; background: var(--coral); }
.sl__judges { grid-column: 1 / -1; grid-row: 2; display: flex; justify-content: space-around; align-items: flex-end; padding-top: 30px; border-top: 1px dashed rgba(255,243,227,.15); }
.sl__judge { position: relative; display: flex; flex-direction: column; align-items: center; }
.sl__judge .sl__head { background: rgba(255,243,227,.85); }
.sl__judge .sl__body { width: 40px; height: 26px; background: rgba(255,243,227,.55); }
.sl__card { position: absolute; bottom: calc(100% + 6px); white-space: nowrap; padding: 4px 8px; border-radius: 6px; background: var(--gold); color: var(--midnight); font-size: .68rem; font-weight: 800; box-shadow: 0 6px 14px rgba(0,0,0,.3); }
.sl__confetti { position: absolute; left: 60%; top: 22%; pointer-events: none; }
.sl__confetti i { position: absolute; width: 9px; height: 7px; border-radius: 2px; background: var(--coral); opacity: 0; }
.sl__confetti i:nth-child(2n) { background: var(--gold); }
.sl__confetti i:nth-child(3n) { background: var(--sunrise); }
.sl__confetti i:nth-child(1) { --dx: -80px; --dy: -30px; --r: -140deg; }
.sl__confetti i:nth-child(2) { --dx: -40px; --dy: -60px; --r: 90deg; }
.sl__confetti i:nth-child(3) { --dx: 0px;   --dy: -70px; --r: 200deg; }
.sl__confetti i:nth-child(4) { --dx: 40px;  --dy: -58px; --r: -80deg; }
.sl__confetti i:nth-child(5) { --dx: 80px;  --dy: -26px; --r: 160deg; }
.sl__confetti i:nth-child(6) { --dx: -60px; --dy: 10px;  --r: 60deg; }
.sl__confetti i:nth-child(7) { --dx: 64px;  --dy: 14px;  --r: -200deg; }

.is-active .sl__screen { animation: st-up .5s ease .2s both; }
.is-active .sl__presenter { animation: st-up .5s ease .5s both, st-bob 1.6s ease-in-out 1.2s 3; }
.is-active .sl__t1 { animation: st-up .35s ease 1s both; }
.is-active .sl__t2 { animation: st-up .35s ease 1.5s both; }
.is-active .sl__t3 { animation: st-up .35s ease 2s both; }
.is-active .sl__judges { animation: st-up .5s ease .4s both; }
.is-active .sl__j1 .sl__card { animation: st-card .45s cubic-bezier(.2,.9,.3,1.3) 2.7s both; }
.is-active .sl__j2 .sl__card { animation: st-card .45s cubic-bezier(.2,.9,.3,1.3) 3.1s both; }
.is-active .sl__j3 .sl__card { animation: st-card .45s cubic-bezier(.2,.9,.3,1.3) 3.5s both; }
.is-active .sl__confetti i { animation: st-burst 1.2s cubic-bezier(.2,.8,.3,1) 4s both; }
@keyframes st-bob { 50% { transform: translateY(-3px); } }
@keyframes st-card { from { opacity: 0; transform: translateY(12px); } }
@keyframes st-burst { 0% { opacity: 0; transform: translate(0,0) scale(.4); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--r)); } }

/* tablets and computers */
@media (min-width: 600px) {
  .scene--discover { grid-template-columns: 1fr 1.05fr; align-items: center; }
  .scene--decide { grid-template-columns: 1fr 1fr; }
  .sdc__notes { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .story { padding: 32px 36px 24px; }
  .story__step { grid-template-columns: minmax(240px, .8fr) 1.2fr; gap: 40px; align-items: center; }
  .scene { min-height: 380px; padding: 22px; }
  .scene--discover { grid-template-columns: 1fr; }
  .sb__phone { width: 214px; height: 384px; }
}
@media (prefers-reduced-motion: reduce) {
  .story *, .story *::before, .story *::after { animation: none !important; }
  .story__step { transition: none; }
  .sb__tap, .sl__confetti i { display: none; }
}
/* story refinements */
.sdc__logtext { padding-right: 74px; }
.story__names { flex-wrap: nowrap; gap: 12px; font-size: .82rem; }
@media (max-width: 599px) {
  .story { padding: 18px 16px 12px; }
  .story__lead { margin: 4px 0 6px; }
  .story__text { font-size: .93rem; line-height: 1.55; }
  .scene { min-height: 0; padding: 14px; }
  .sd__p3, .sd__r3 { display: none; }               /* phones: 2 voices + 2 results is enough */
  .sb__phone { width: 196px; height: 350px; }
}
@media (max-width: 359px) { .story__names { display: none; } .story__nav { justify-content: space-between; } }
@media (min-width: 900px) {
  .sd__bubble { font-size: .9rem; padding: 10px 14px; }
  .sd__avatar { width: 36px; height: 36px; }
  .sd__input { font-size: .9rem; padding: 10px 12px; }
  .sd__result { font-size: .85rem; margin-top: 10px; }
  .sdc__note { font-size: .9rem; padding: 14px; }
  .sdc__row { font-size: .9rem; }
  .sdc__logtext { font-size: 1rem; }
  .sl__screen { padding: 16px 20px; }
  .sl__title { font-size: 1.4rem; }
  .sl__pt { font-size: .9rem; }
  .sl__card { font-size: .78rem; padding: 6px 10px; }
  .scene--launch { grid-template-columns: 60px 1fr; }
  .sl__presenter .sl__head { width: 24px; height: 24px; }
  .sl__presenter .sl__body { width: 42px; height: 40px; }
}

.sd__bubble { flex: 1; min-width: 0; }
@media (min-width: 900px) { .sd__people { grid-template-columns: 1fr; } .sd__person { max-width: 440px; } .sd__p2 { margin-left: 40px; } }

/* Story: gentle "always alive" motion once each scene has played (loops quietly) */
.is-active .sd__avatar { animation: st-breathe 3s ease-in-out 2s infinite; }
.is-active .sd__p2 .sd__avatar { animation-delay: 2.6s; }
.is-active .sd__p3 .sd__avatar { animation-delay: 3.2s; }
.story__step.is-active .sd__typed { animation: st-type 1.3s steps(29) 2.7s both, st-caret 1s step-end 2.7s infinite; }
.is-active .sdc__notes { animation: st-sway 5s ease-in-out 2s infinite; }
.story__step.is-active .sdc__stamp { animation: st-stamp .4s cubic-bezier(.3,1.6,.5,1) 3.9s both, st-pulse 2.4s ease-in-out 4.6s infinite; }
.story__step.is-active .sb__pick { animation: st-pick 1.6s ease .6s both, st-glow 2s ease-in-out 2.4s infinite; }
.story__step.is-active .sb__tap { animation: st-tap 1.2s ease-out 2.6s infinite; }
.story__step.is-active .sl__presenter { animation: st-up .5s ease .5s both, st-bob 1.8s ease-in-out 1.2s infinite; }
.story__step.is-active .sl__j1 .sl__card { animation: st-card .45s cubic-bezier(.2,.9,.3,1.3) 2.7s both, st-bob 2.2s ease-in-out 3.4s infinite; }
.story__step.is-active .sl__j2 .sl__card { animation: st-card .45s cubic-bezier(.2,.9,.3,1.3) 3.1s both, st-bob 2.2s ease-in-out 3.9s infinite; }
.story__step.is-active .sl__j3 .sl__card { animation: st-card .45s cubic-bezier(.2,.9,.3,1.3) 3.5s both, st-bob 2.2s ease-in-out 4.4s infinite; }
.story__step.is-active .sl__confetti i { animation: st-burst 1.4s cubic-bezier(.2,.8,.3,1) 4s infinite; }
@keyframes st-breathe { 50% { transform: scale(1.08); } }
@keyframes st-sway { 50% { transform: translateY(-3px); } }
@keyframes st-pulse { 50% { transform: rotate(-12deg) scale(1.08); } }
@keyframes st-glow { 50% { box-shadow: 0 0 0 4px rgba(255,206,92,.35); } }

/* =========================================================
   STORY ON PHONES: fit the whole card in one screen
   ========================================================= */
@media (max-width: 599px) {
  #journey h2 { margin-bottom: .3em; }
  #journey .sub { margin-bottom: 14px; font-size: 1rem; }
  .story { padding: 14px 14px 10px; border-radius: 24px; }
  .story__eyebrow { flex-wrap: nowrap; margin-bottom: 4px; font-size: .7rem; }
  .story__example { font-size: .72rem; }
  .story__example-long { display: none; }          /* keeps the label on one line */
  .story__stage { margin-top: 8px; }
  .story__step { gap: 12px; }
  .story__title { font-size: 1.7rem; }
  .story__lead { margin: 2px 0 4px; font-size: .95rem; }
  .story__text { font-size: .88rem; line-height: 1.5; }
  .scene { padding: 12px; border-radius: 16px; }

  /* Discover */
  .scene--discover { gap: 10px; }
  .sd__people { gap: 8px; }
  .sd__avatar { width: 26px; height: 26px; }
  .sd__bubble { font-size: .76rem; padding: 6px 10px; }
  .sd__search { padding: 10px; }
  .sd__input { font-size: .76rem; padding: 7px 9px; }
  .sd__result { font-size: .72rem; margin-top: 6px; }

  /* Decide: notes in one row */
  .scene--decide { gap: 10px; }
  .sdc__notes { flex-wrap: nowrap; gap: 6px; }
  .sdc__note { flex: 1 1 0; min-width: 0; padding: 8px; font-size: .68rem; }
  .sdc__compare { padding: 8px 10px; }
  .sdc__row { font-size: .76rem; margin-top: 2px; }
  .sdc__log { padding: 10px 12px; }
  .sdc__logtext { font-size: .82rem; padding-right: 64px; }
  .sdc__stamp { font-size: .95rem; padding: 1px 8px; margin-top: -14px; }

  /* Build: a smaller phone */
  .sb__phone { width: 168px; height: 290px; border-radius: 28px; padding: 6px; }
  .sb__screen { padding: 24px 10px 10px; border-radius: 22px; }
  .sb__notch { top: 10px; width: 48px; height: 12px; margin-left: -24px; }
  .sb__h { font-size: .9rem; margin-bottom: 7px; }
  .sb__days span { padding: 3px 6px; font-size: .6rem; }
  .sb__card { margin-top: 7px; padding: 8px; }
  .sb__name { font-size: .72rem; }
  .sb__meta { font-size: .6rem; }
  .sb__slots { gap: 4px; margin-top: 6px; }
  .sb__slots span { padding: 3px 6px; font-size: .6rem; }
  .sb__card--dim { display: none; }
  .sb__btn { left: 10px; right: 10px; bottom: 10px; padding: 8px; font-size: .72rem; }
  .sb__tap { bottom: 12px; }
  .sb__toast { left: 8px; right: 8px; bottom: 50px; padding: 8px 10px; font-size: .64rem; }

  /* Launch */
  .scene--launch { gap: 10px; }
  .sl__screen { padding: 10px 12px; border-width: 3px; }
  .sl__title { font-size: 1rem; }
  .sl__sub { font-size: .68rem; margin-bottom: 4px; }
  .sl__pt { font-size: .72rem; margin-top: 2px; }
  .sl__judges { padding-top: 26px; }
  .sl__card { font-size: .62rem; padding: 3px 6px; }

  .story__nav { margin-top: 10px; }
  .story__arrow { width: 40px; height: 40px; }
  .story__names { font-size: .78rem; gap: 10px; }
}
@media (max-width: 599px) {
  .sb__phone { width: 160px; height: 250px; }
  .sb__app { font-size: .56rem; }
  .sb__toast { bottom: 46px; }
}
@media (max-width: 374px) { .story__text { font-size: .84rem; } }
/* very short phone screens (e.g. iPhone SE): trim a little more */
@media (max-width: 599px) and (max-height: 620px) {
  .story__lead { display: none; }
  .story__title { font-size: 1.5rem; }
  .story__text { font-size: .82rem; line-height: 1.45; }
  .sd__p2 { display: none; }
  .sdc__compare { display: none; }
  .sb__phone { height: 214px; }
  .sb__days { display: none; }
  .sl__sub { display: none; }
  .sl__judges { padding-top: 22px; }
}
/* phones: the floating WhatsApp button steps aside while the journey card is on screen (it would cover the arrows) */
@media (max-width: 959px) {
  .wa-float { transition: opacity .25s ease, transform .25s ease, box-shadow .2s ease; }
  html.story-in-view .wa-float { opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; }
}

/* =========================================================
   RESERVE FORM: fits one screen, no scrolling
   ========================================================= */
.reserve__intro { margin: 0 0 14px; font-size: .92rem; line-height: 1.45; }
.reserve .field { margin-bottom: 12px; }
.reserve .field > span, .field--phone > label > span { margin-bottom: 5px; font-size: .9rem; }
.reserve .field input, .reserve .cc__btn { padding-top: 11px; padding-bottom: 11px; }
.reserve .cc__btn { min-height: 46px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field-row .field { margin-bottom: 12px; }
.reserve .check { font-size: .85rem; line-height: 1.4; margin-top: 2px; }
.sheet__body { padding-top: 14px; padding-bottom: 14px; }
/* short phone screens */
@media (max-width: 599px) and (max-height: 700px) {
  .sheet__bar { padding-top: calc(8px + env(safe-area-inset-top)); padding-bottom: 8px; }
  .reserve .sheet__title { font-size: 1.15rem; }
  .reserve .reserve__close { width: 36px; height: 36px; }
  .sheet__body { padding: 10px 18px 10px; }
  .reserve__intro { margin-bottom: 10px; font-size: .86rem; }
  .reserve .field { margin-bottom: 9px; }
  .reserve .field > span, .field--phone > label > span { margin-bottom: 4px; font-size: .84rem; }
  .reserve .field input, .reserve .cc__btn { padding-top: 9px; padding-bottom: 9px; font-size: .95rem; }
  .reserve .cc__btn { min-height: 42px; }
  .reserve .check { font-size: .8rem; }
  .sheet__foot { padding: 10px 18px calc(10px + env(safe-area-inset-bottom)); }
  .reserve .sheet__foot .btn--block { padding-top: 12px; padding-bottom: 12px; }
}
.reserve .cc__list { max-height: min(264px, 42vh); max-height: min(264px, 42dvh); }

/* =========================================================
   LEGAL PAGES (privacy notice, terms): easy to read on a phone
   ========================================================= */
.legal-page { background: var(--cream); }
.legal-back { font-weight: 600; font-size: .92rem; text-decoration: none; color: var(--cream); padding: 8px 0; }
.legal-back:hover { color: var(--gold); }
.legal { padding: 40px 0 64px; }
.legal__wrap { width: min(720px, 100% - 40px); margin-inline: auto; }
.legal__kicker { margin: 0 0 8px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--deep-coral); }
.legal h1 { font-size: clamp(1.8rem, 7vw, 2.6rem); margin-bottom: .3em; }
.legal__date { font-size: .9rem; opacity: .65; margin-bottom: 24px; }
.legal__summary { padding: 18px 20px; border-radius: 18px; background: var(--midnight); color: var(--cream); margin-bottom: 24px; }
.legal__summary-title { margin: 0 0 8px; font-weight: 700; color: var(--gold); }
.legal__summary ul { margin: 0; padding: 0; list-style: none; }
.legal__summary li { position: relative; padding-left: 22px; margin-bottom: 6px; font-size: .95rem; }
.legal__summary li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 7px; border-radius: 2px; background: var(--coral); transform: rotate(-30deg); }
.legal__toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.legal__toc a { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-light); background: #fff; font-size: .85rem; font-weight: 600; text-decoration: none; }
.legal__toc a:hover { border-color: var(--sunrise); }
.legal section { padding-top: 28px; scroll-margin-top: 80px; }
.legal h2 { font-size: 1.35rem; margin-bottom: .6em; }
.legal h3 { font-size: 1.02rem; margin: 1.1em 0 .4em; }
.legal p, .legal li { font-size: 1rem; line-height: 1.65; }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal li { margin-bottom: 4px; }
.legal a { color: var(--deep-coral); text-underline-offset: 3px; }
.legal__table { border: 1px solid var(--line-light); border-radius: 14px; overflow: hidden; background: #fff; margin-bottom: 1em; }
.legal__row { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 12px 14px; border-top: 1px solid var(--line-light); font-size: .95rem; line-height: 1.5; }
.legal__row:first-child { border-top: 0; }
.legal__row span:last-child { opacity: .75; }
.legal__row--head { display: none; }
@media (min-width: 600px) {
  .legal__row { grid-template-columns: 1fr 1fr; gap: 16px; }
  .legal__row--head { display: grid; background: var(--midnight); color: var(--cream); font-weight: 700; }
  .legal__row--head span:last-child { opacity: 1; }
}
/* legal pages: don't inherit the homepage's big section spacing or dividers */
.legal section { padding: 28px 0 0; position: static; }
main.legal > section::before, main.legal > section::after { content: none; display: none; }
.legal-page .topbar { position: sticky; top: 0; }


/* =========================================================
   LANGUAGE SWITCH: a thin bar at the very top of every page
   (English | العربية). The page you're on is filled in gold.
   It scrolls away; the main header below it stays pinned.
   ========================================================= */
:root { --lb: 32px; }
.langbar { position: relative; z-index: 21; height: var(--lb); background: #0E0618; color: var(--cream); }
.langbar__inner { height: 100%; display: flex; align-items: center; justify-content: flex-end; }
.lang {
  display: inline-flex; align-items: center; gap: 2px; padding: 2px; border-radius: 999px;
  border: 1px solid rgba(255,243,227,.18); background: rgba(255,243,227,.04);
}
.lang__opt {
  display: block; min-width: 66px; padding: 2px 13px; border-radius: 999px; text-align: center;
  font-family: var(--font); font-size: .78rem; font-weight: 600; line-height: 20px; letter-spacing: .01em;
  color: rgba(255,243,227,.72); text-decoration: none; transition: color .15s ease, background .15s ease;
}
.lang__opt[lang="ar"], [lang="ar"] .lang__opt:not([lang="en"]) { font-family: var(--font-ar); font-size: .84rem; }
.lang__opt:hover { color: var(--cream); background: rgba(255,243,227,.08); }
.lang__opt.is-current, .lang__opt.is-current:hover { background: var(--gold); color: var(--midnight); font-weight: 700; cursor: default; }
.lang__opt:focus-visible { outline-offset: 1px; }

/* the first screen still fits exactly: subtract the bar too */
.hero { min-height: calc(100vh - var(--hdr) - var(--lb)); min-height: calc(100svh - var(--hdr) - var(--lb)); }

/* =========================================================
   ARABIC (right-to-left). The layout mirrors: logo on the
   right, sun arcs and the WhatsApp button bottom-left, bullets
   and borders on the right. Arabic type is Readex Pro, with no
   letter-spacing and a little more line height.
   ========================================================= */
html[lang="ar"] body, html[lang="ar"] button, html[lang="ar"] input { font-family: var(--font-ar); }
html[lang="ar"] [lang="en"] { font-family: var(--font); }
html[lang="ar"] *, html[lang="ar"] *::before, html[lang="ar"] *::after { letter-spacing: 0 !important; }
html[lang="ar"] body { line-height: 1.75; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { line-height: 1.4; }
html[lang="ar"] .headline__pre { line-height: 1.5; font-weight: 400; }
html[lang="ar"] .headline__big { line-height: 1.3; font-weight: 700; }
html[lang="ar"] .headline__big + .headline__big { margin-top: .05em; }
html[lang="ar"] .swoosh { bottom: -.12em; }
html[lang="ar"] .story__title { line-height: 1.3; }
html[lang="ar"] .hero .lead, html[lang="ar"] .story__text { line-height: 1.75; }
html[lang="ar"] .kicker, html[lang="ar"] .story__eyebrow { font-size: .8rem; }
html[lang="ar"] .hero .kicker { font-size: clamp(.78rem, 1.8vh, .9rem); }
html[lang="ar"] .hero__start-label, html[lang="ar"] .sdc__label, html[lang="ar"] .sdc__logtitle { font-size: .8rem; }
html[lang="ar"] .story__example { font-size: .8rem; }
html[lang="ar"] .numbers li { line-height: 1.45; }

[dir="rtl"] .menu-btn { margin-right: 0; margin-left: -8px; }
[dir="rtl"] .hero .hero__arcs { right: auto !important; left: calc(var(--arcs) * -.5) !important; }
[dir="rtl"] .swoosh { transform: scaleX(-1); }              /* the pen stroke is drawn right to left */
[dir="rtl"] .hero .kicker__piece { margin-right: 0; margin-left: 10px; }
[dir="rtl"] .kicker__piece, [dir="rtl"] .hero__start-piece { transform: rotate(30deg); }
[dir="rtl"] .hero__start { padding: 14px 16px 14px 20px; }

[dir="rtl"] .pieces li { padding-left: 0; padding-right: 34px; }
[dir="rtl"] .pieces li::before { left: auto; right: 4px; transform: rotate(30deg); }
[dir="rtl"] .faq-list li { padding-left: 0; padding-right: 24px; }
[dir="rtl"] .faq-list li::before { left: auto; right: 2px; transform: rotate(30deg); }
[dir="rtl"] .founder__creds li { padding-left: 0; padding-right: 18px; }
[dir="rtl"] .founder__creds li::before { left: auto; right: 0; transform: rotate(30deg); }
[dir="rtl"] .founder__quote { padding-left: 0; padding-right: 18px; border-left: 0; border-right: 4px solid var(--coral); }
[dir="rtl"] .founder__link { padding: 9px 10px 9px 16px; }
[dir="rtl"] .pay strong { text-align: left; }
[dir="rtl"] summary { padding: 18px 0 18px 40px; }
[dir="rtl"] summary::after { right: auto; left: 4px; }
@media (min-width: 960px) { [dir="rtl"] .nav__links a::after { transform-origin: right; } }

/* floating WhatsApp: bottom-left */
[dir="rtl"] .wa-float { right: auto; left: calc(16px + env(safe-area-inset-left)); }
[dir="rtl"] .wa-float__piece { right: auto; left: 2px; transform: rotate(30deg); }
@media (min-width: 960px) {
  [dir="rtl"] .wa-float { left: 28px; }
  [dir="rtl"] .wa-float:hover { padding-right: 13px; padding-left: 22px; }
}
@media (max-width: 959px) and (max-height: 660px) {
  [dir="rtl"] .wa-float { left: calc(12px + env(safe-area-inset-left)); }
}

/* form: phone numbers stay left-to-right (+20 then the number), the country list reads in Arabic */
[dir="rtl"] .sheet__bar { padding: 14px 22px 12px 14px; }
[dir="rtl"] .phone-row { direction: ltr; }
[dir="rtl"] .cc__list { direction: rtl; }
[dir="rtl"] .cc__dial { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] #r-phone { text-align: left; }
[dir="rtl"] #r-phone::placeholder { text-align: left; }

/* founder journey */
[dir="rtl"] .story__fill { left: auto; right: 0; }
[dir="rtl"] .story__prev span { transform: translateX(-2px) rotate(45deg); }
[dir="rtl"] .story__next span { transform: translateX(2px) rotate(-135deg); }
[dir="rtl"] .sd__bubble { border-radius: 14px 4px 14px 14px; }
[dir="rtl"] .sd__glass::after { right: auto; left: -5px; transform: rotate(-45deg); }
[dir="rtl"] .sd__result b { margin-right: 0; margin-left: 4px; }
[dir="rtl"] .sd__typed { border-right: 0; border-left: 2px solid var(--coral); }
[dir="rtl"] .story__step.is-active .sd__typed { animation: st-type-rtl 1.3s steps(22) 2.7s both, st-caret 1s step-end 2.7s infinite; }
@keyframes st-type-rtl { from { max-width: 0; } to { max-width: 100%; } }
[dir="rtl"] .sdc__logtext { padding-right: 0; padding-left: 74px; }
[dir="rtl"] .sdc__stamp { right: auto; left: 12px; }
@media (min-width: 900px) { [dir="rtl"] .sd__p2 { margin-left: 0; margin-right: 40px; } }
@media (max-width: 599px) { [dir="rtl"] .sdc__logtext { padding-left: 64px; } }

/* the same switch inside the menu: at the bottom of the phone menu, at the end of the header on computers */
.nav__lang { display: flex; width: max-content; margin: 18px auto 0; }
.nav__lang .lang__opt { padding: 6px 18px; font-size: .9rem; }
@media (min-width: 960px) {
  .nav__lang { display: none; }              /* computers: the top bar is enough */
}

/* phones: the bar costs a little height, so the first screen tightens slightly
   and keeps the bottom corner free for the WhatsApp button */
@media (max-width: 959px) and (max-height: 791px) {
  .hero { padding-top: clamp(12px, 2vh, 28px); }
  .hero .kicker { margin-bottom: clamp(10px, 2vh, 26px); }
  .hero .headline { margin-bottom: clamp(10px, 2vh, 24px); }
  .hero .cta-row { margin-top: clamp(12px, 2.2vh, 28px); }
  .hero .numbers { margin-top: clamp(12px, 2.2vh, 32px); padding-top: clamp(10px, 1.6vh, 20px); }
}
@media (max-width: 959px) and (min-height: 760px) and (max-height: 791px) {
  .kicker__a { display: none; } .kicker__b { display: inline; } .hero__start { display: none; }
}

.lang__short { display: none; }
@media (min-width: 960px) {
  .nav__links a, .nav__wa, .nav__cta { white-space: nowrap; }
}
/* narrower computers: the floating button already covers WhatsApp, so the header drops its text link */
@media (min-width: 960px) and (max-width: 1239px) {
  .nav { gap: 22px; }
  .nav__links { gap: 22px; }
  .nav__wa { display: none; }
}

/* Arabic: slightly tighter line spacing on the first screen so it fits like the English one */
html[lang="ar"] .headline__big { line-height: 1.16; }
html[lang="ar"] .headline__pre { line-height: 1.35; margin-bottom: .4em; }
html[lang="ar"] .hero .lead { line-height: 1.62; }
@media (max-width: 959px) {
  html[lang="ar"] .headline__big { font-size: clamp(2.2rem, min(12.6vw, 6.6vh), 6.6rem); }
}
/* very short phones (e.g. iPhone SE in Safari) */
@media (max-width: 959px) and (max-height: 600px) {
  .hero { padding-top: 8px; }
  .hero .kicker { margin-bottom: 8px; }
  .hero .headline { margin-bottom: 8px; }
  .hero .cta-row { margin-top: 10px; }
  .hero__note { margin-top: 6px; }
  .hero .numbers { margin-top: 8px; padding-top: 8px; }
}
@media (min-width: 960px) { html[lang="ar"] .headline__big { font-size: clamp(3.2rem, 10vh, 7rem); } }
html[lang="ar"] .hero .lead, html[lang="ar"] .hero__note { max-width: 46ch; }
/* Arabic founder journey on phones: same one-screen card as English */
html[lang="ar"] .sb__days span:nth-child(4) { display: none; }
html[lang="ar"] .sb__days span { padding-inline: 7px; }
@media (max-width: 599px) {
  html[lang="ar"] .story__title { line-height: 1.15; font-size: 1.6rem; }
  html[lang="ar"] .story__lead { margin: 0 0 2px; }
  html[lang="ar"] .story__text { font-size: .86rem; line-height: 1.55; }
  html[lang="ar"] #journey .sub { line-height: 1.5; }
  html[lang="ar"] .story__eyebrow { font-size: .74rem; }
}
/* founder photo: face sits in the middle of the arch */
.founder__photo img:not([src$=".svg"]) { object-position: 50% 30%; }
/* Arabic legal pages */
[dir="rtl"] .legal__summary li { padding-left: 0; padding-right: 22px; }
[dir="rtl"] .legal__summary li::before { left: auto; right: 0; transform: rotate(30deg); }
[dir="rtl"] .legal ul { padding-left: 0; padding-right: 1.2em; }

/* 404 page */
.nf { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; display: flex; align-items: center; }
.nf__inner { position: relative; z-index: 1; padding-top: 40px; padding-bottom: 40px; }
.nf .lockup { margin-bottom: 40px; }
.nf__code { margin: 0; font-size: 1rem; font-weight: 700; letter-spacing: .14em; color: var(--sunrise); }
.nf__title { margin: 8px 0 12px; font-size: clamp(2rem, 7vw, 3.6rem); line-height: 1.08; max-width: 16ch; }
.nf__text { margin: 0; max-width: 36ch; color: rgba(255,243,227,.8); }
.nf .cta-row { margin-top: 28px; }
.nf__ar { text-align: left; margin-top: 28px; font-family: var(--font-ar); color: rgba(255,243,227,.8); }
.nf__ar a { color: var(--gold); }
.nf .nf__arcs { --arcs: min(70vw, 520px); }

/* Smooth change of language: the page fades from one language into the other
   (cross-document view transition; browsers without it just open the page) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .32s; animation-timing-function: ease; }
.topbar { view-transition-name: topbar; }
::view-transition-group(topbar) { animation-duration: .32s; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}
}
.langbar { view-transition-name: langbar; }
/* computers: the top bar takes 32 px, so the first screen tightens a little to keep the stats in view */
@media (min-width: 960px) {
  .hero { padding-top: clamp(16px, 3vh, 40px); }
  .hero .kicker { margin-bottom: clamp(10px, 2vh, 26px); }
  .hero .headline { margin-bottom: clamp(12px, 2.2vh, 28px); }
  .hero .cta-row { margin-top: clamp(14px, 2.4vh, 30px); }
  .hero .numbers { margin-top: clamp(14px, 2.6vh, 36px); padding-top: clamp(12px, 1.8vh, 22px); }
}
/* Arriving from the language switch: the page is already "open", so the intro animations don't replay */
html.lang-arrive .hero__arcs,
html.lang-arrive .wa-float,
html.lang-arrive .sun-dot__rays, html.lang-arrive .sun-dot__piece--l, html.lang-arrive .sun-dot__piece--r { animation: none; }
html.lang-arrive .swoosh path { animation: none; stroke-dashoffset: 0; }
/* short laptop screens (e.g. 1280×630): Arabic headline a touch smaller so the whole first screen fits */
@media (min-width: 960px) and (max-height: 680px) {
  html[lang="ar"] .headline__big { font-size: clamp(3rem, 9.2vh, 7rem); }
}

/* Founder photo loads smoothly: a tiny blurred preview shows at once (inside this file, no extra
   download), the real photo is fetched with the page, then fades in over the preview */
.founder__photo { position: relative; }
.founder__photo img { position: relative; }
.founder__photo img:not([src$=".svg"]) { transition: opacity .45s ease; }
.js .founder__photo img:not([src$=".svg"]):not(.is-loaded) { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .founder__photo img { transition: none; } }

/* Founder photo frame (26 Nov 2026): a thin sunrise ring around the arch, one coral piece flying
   off it (brand photo frame), a soft preview while the photo loads, then the photo fades in */
.founder__photo {
  position: relative; overflow: visible; padding: 4px;
  border-radius: 999px 999px 20px 20px;
  background: linear-gradient(180deg, var(--gold), var(--sunrise) 55%, var(--coral));
}
.founder__photo:has(img:not([src$=".svg"]))::before {
  content: ""; position: absolute; inset: 4px; border-radius: 999px 999px 16px 16px;
  background: url(data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAA4KCw0LCQ4NDA0QDw4RFiQXFhQUFiwgIRokNC43NjMuMjI6QVNGOj1OPjIySGJJTlZYXV5dOEVmbWVabFNbXVn/2wBDAQ8QEBYTFioXFypZOzI7WVlZWVlZWVlZWVlZWVlZWVlZWVlZWVlZWVlZWVlZWVlZWVlZWVlZWVlZWVlZWVlZWVn/wAARCAAgACADASIAAhEBAxEB/8QAFwAAAwEAAAAAAAAAAAAAAAAAAwQFBv/EACAQAAEEAgIDAQAAAAAAAAAAAAEAAgMRBBIhMQUGExT/xAAWAQEBAQAAAAAAAAAAAAAAAAACAAH/xAAZEQADAQEBAAAAAAAAAAAAAAAAAQIRAyH/2gAMAwEAAhEDEQA/ALLvMGrpJzex6GqScrqYaU3UPcbCTtop5pluL2QSPAPCt4me2ZosrBz4xYQ5gTmNkTRsHaptv0yuaXgbfjlIzT6SJ3FZ+kW1Ay8QGSkWhy8YWB/2aOEeTRjOkHEjpwY1WB40SsF9rJnBW9P/2Q==) center / cover no-repeat;
}
.founder__photo img:not([src$=".svg"]) { position: relative; display: block; border-radius: 999px 999px 16px 16px; }
.founder__photo::after {
  content: ""; position: absolute; top: 3%; right: 6%; width: 18px; height: 12px; border-radius: 4px;
  background: var(--coral); transform: rotate(-30deg);
}
[dir="rtl"] .founder__photo::after { right: auto; left: 6%; transform: rotate(30deg); }
@media (max-width: 599px) {
  .founder__photo { padding: 3px; }
  .founder__photo:has(img:not([src$=".svg"]))::before { inset: 3px; }
  .founder__photo::after { top: 1%; right: 2%; width: 11px; height: 8px; border-radius: 3px; }
  [dir="rtl"] .founder__photo::after { right: auto; left: 2%; }
}

/* Owner, 26 Nov 2026: no ring and no coral piece on the founder photo: just the photo in the arch */
.founder__photo:has(img:not([src$=".svg"])) { padding: 0; background: none; }
.founder__photo:has(img:not([src$=".svg"]))::before { inset: 0; border-radius: 999px 999px 18px 18px; }
.founder__photo img:not([src$=".svg"]) { border-radius: 999px 999px 18px 18px; }
.founder__photo::after { content: none; display: none; }
@media (max-width: 599px) {
  .founder__photo:has(img:not([src$=".svg"])) { padding: 0; }
  .founder__photo:has(img:not([src$=".svg"]))::before { inset: 0; }
}

/* =========================================================
   "PROGRAMMING COURSE FOR KIDS?" PAGE (EN + AR)
   ========================================================= */
.lp-hero { position: relative; overflow: hidden; padding: clamp(36px, 7vh, 80px) 0 clamp(44px, 8vh, 96px); }
.lp-hero .wrap { position: relative; z-index: 1; }
.lp-hero h1 { margin: 0 0 18px; font-size: clamp(2.1rem, 7.4vw, 3.9rem); line-height: 1.08; max-width: 17ch; letter-spacing: -.02em; }
.lp-hero h1 .gold { color: var(--gold); }
.lp-hero .lead { max-width: 40ch; }
.lp-hero .kicker { margin-bottom: 18px; }
.lp-hero .hero__arcs { --arcs: min(62vw, 460px); }
html[lang="ar"] .lp-hero h1 { line-height: 1.3; }
html[lang="ar"] .lp-hero .lead { max-width: 46ch; }

.compare { margin-top: 28px; border-radius: 20px; overflow: hidden; border: 1px solid rgba(23,10,38,.12); background: #fff; }
.compare__row { display: grid; grid-template-columns: 1fr; border-top: 1px solid rgba(23,10,38,.1); }
.compare__row:first-child { border-top: 0; }
.compare__row > * { padding: 14px 18px; margin: 0; }
.compare__topic { font-weight: 700; background: rgba(23,10,38,.04); font-size: .95rem; }
.compare__cell { font-size: .95rem; line-height: 1.55; }
.compare__cell b { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(23,10,38,.55); margin-bottom: 2px; }
.compare__cell--us { background: #FFF3E3; }
.compare__cell--us b { color: var(--deep-coral, #C7361A); }
.compare__head { display: none; }
@media (min-width: 760px) {
  .compare__row { grid-template-columns: 1.1fr 1.4fr 1.6fr; }
  .compare__head { display: grid; }
  .compare__head > * { font-weight: 700; font-size: .85rem; background: var(--midnight); color: var(--cream); }
  .compare__head > :last-child { background: var(--plum, #3A1647); color: var(--gold); }
  .compare__topic { background: transparent; }
  .compare__cell b { display: none; }
}
html[lang="ar"] .compare__cell b { letter-spacing: 0; text-transform: none; }

.lp-note { margin-top: 22px; padding: 16px 18px; border-radius: 16px; background: rgba(23,10,38,.05); font-size: .95rem; }
.lp-steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
@media (min-width: 760px) { .lp-steps { grid-template-columns: repeat(4, 1fr); } }
.lp-steps li { padding: 18px; border-radius: 18px; background: #fff; border: 1px solid rgba(23,10,38,.1); }
.lp-steps strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.lp-steps span { font-size: .92rem; color: rgba(23,10,38,.75); }
.lp-more { margin-top: 18px; }
.lp-more a, .faq-more a { color: var(--deep-coral, #C7361A); font-weight: 600; }
#why .card h3 { margin-bottom: 8px; }
@media (min-width: 960px) { #why .cards { grid-template-columns: repeat(3, 1fr); } }

/* Comparison side by side on phones too (owner, 26 Nov 2026): the two courses sit in two columns,
   each topic is a small label across both */
@media (max-width: 759px) {
  .compare__row { grid-template-columns: 1fr 1fr; }
  .compare__topic { grid-column: 1 / -1; padding: 9px 14px; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(23,10,38,.6); background: rgba(23,10,38,.05); }
  html[lang="ar"] .compare__topic { letter-spacing: 0; text-transform: none; font-size: .85rem; }
  .compare__cell { padding: 12px 14px; font-size: .9rem; line-height: 1.5; }
  .compare__cell b { display: none; }
  .compare__head { display: grid; }
  .compare__head > :first-child { display: none; }
  .compare__head > * { padding: 12px 14px; font-weight: 700; font-size: .85rem; line-height: 1.3; background: var(--midnight); color: var(--cream); }
  .compare__head > :last-child { background: var(--plum); color: var(--gold); }
  .compare__cell + .compare__cell { border-inline-start: 1px solid rgba(23,10,38,.1); }
}
/* programming-course page, new order: reasons on light, comparison on dark */
.light .card { background: #fff; border: 1px solid rgba(23,10,38,.1); }
.light .card h3 { color: var(--midnight); }
.dark .lp-note { background: rgba(255,243,227,.08); color: rgba(255,243,227,.88); }
.dark .compare { border-color: rgba(255,243,227,.14); color: var(--midnight); }

/* =========================================================
   COMPARISON, brand style (owner, 26 Nov 2026): dark tiles like
   "How a week works", topic labels like the kicker (coral piece +
   sunrise caps), our column in plum with coral-piece bullets.
   ========================================================= */
.dark .compare { background: none; border: 0; border-radius: 0; overflow: visible; color: var(--cream); margin-top: 30px; display: grid; gap: 18px; }
.dark .compare__row { border: 0; gap: 10px; grid-template-columns: 1fr 1fr; align-items: stretch; }
.dark .compare__row > * { margin: 0; }
/* topic label */
.dark .compare__topic {
  grid-column: 1 / -1; padding: 0; background: none; display: flex; align-items: center; gap: 10px;
  font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sunrise);
}
.dark .compare__topic::before { content: ""; width: 12px; height: 8px; border-radius: 2px; background: var(--coral); transform: rotate(-30deg); flex: none; }
[dir="rtl"] .dark .compare__topic::before { transform: rotate(30deg); }
html[lang="ar"] .dark .compare__topic { letter-spacing: 0; text-transform: none; font-size: .9rem; }
/* tiles */
.dark .compare__cell { border: 0 !important; border-radius: 16px; padding: 16px 18px; font-size: .95rem; line-height: 1.55; background: var(--card-dark); color: rgba(255,243,227,.72); }
.dark .compare__cell b { display: none; }
.dark .compare__cell--us { background: var(--plum); color: var(--cream); position: relative; padding-inline-start: 38px; }
.dark .compare__cell--us::before { content: ""; position: absolute; inset-inline-start: 16px; top: 23px; width: 11px; height: 7px; border-radius: 2px; background: var(--coral); transform: rotate(-30deg); }
[dir="rtl"] .dark .compare__cell--us::before { transform: rotate(30deg); top: 26px; }
/* column headers */
.dark .compare__head { display: grid; }
.dark .compare__head > :first-child { display: none; }
.dark .compare__head > * { border-radius: 16px; padding: 14px 18px; font-size: .95rem; font-weight: 700; line-height: 1.3; background: var(--card-dark); color: rgba(255,243,227,.85); }
.dark .compare__head > :last-child { background: var(--plum); color: var(--gold); box-shadow: inset 0 0 0 1px rgba(255,206,92,.35); }
@media (max-width: 759px) {
  .dark .compare { gap: 16px; }
  .dark .compare__row { gap: 8px; }
  .dark .compare__cell { padding: 13px 14px; font-size: .88rem; }
  .dark .compare__cell--us { padding-inline-start: 30px; }
  .dark .compare__cell--us::before { inset-inline-start: 12px; top: 20px; width: 9px; height: 6px; }
  .dark .compare__head > * { padding: 12px 14px; font-size: .85rem; }
}
@media (min-width: 760px) {
  .dark .compare__row { grid-template-columns: 200px 1fr 1fr; }
  .dark .compare__topic { grid-column: auto; align-self: center; }
  .dark .compare__head > :first-child { display: block; background: none; box-shadow: none; }
}
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
[dir="rtl"] .hp { left: auto !important; right: -9999px !important; }
