/* changelle.me prelaunch landing page v2 — built on brand/tokens.css v0.3 (Tide).
   Colour roles: Deep Sea (--c-brand/--c-group) = us + the group, the Launch card, the partner block.
   Teal (--c-progress) = forward only: done-day pills, the step markers, and ONE action per view
   (the form's "Join the waitlist"). A missed day is Return, never red.
   The one bold element is the "How a challenge works" track: a giant Day Strip. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-anchor: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { min-height: 100vh; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.025em; line-height: var(--lh-heading); margin: 0; color: var(--c-text); }
h3 { font-size: 20px; }
p { margin: 0; }
a { color: var(--c-progress-text); }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
blockquote { margin: 0; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 88px; }

:root {
  --gutter: 16px;
  --focus: 0 0 0 3px var(--c-bg), 0 0 0 5px var(--c-brand);
  --on-brand: var(--cl-white);           /* text on Deep Sea, 7.8:1 */
  --brand-muted: #C7DCE6;                /* secondary text on Deep Sea */
  --face-1: #C98B6B; --face-2: #6B8FA3; --face-3: #8FA36B; --face-4: #A36B8F; --face-5: #D1A45C;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --on-brand: var(--cl-night); --brand-muted: #1C3440; } }
:root[data-theme="dark"] { --on-brand: var(--cl-night); --brand-muted: #1C3440; }
@media (min-width: 768px) { :root { --gutter: 32px; } }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; padding: 12px 16px; border-radius: 12px; background: var(--c-text); color: var(--c-bg); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 8px; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 8px; }
.icon { width: 20px; height: 20px; flex: none; }
.mono { font-family: var(--mono); font-size: .92em; letter-spacing: 0; }
.caption { font-size: var(--fs-caption); color: var(--c-text-muted); }
.eyebrow { font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--c-text-muted); }
.is-todo { color: var(--c-return); font-style: italic; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--btn-h); padding: 0 24px;
  border-radius: var(--r-button); border: 0; font: 700 17px/1.2 var(--font-body); text-decoration: none; cursor: pointer; text-align: center;
  transition: transform 80ms var(--ease-out), background-color var(--dur-base) var(--ease-out); }
.btn:active { transform: scale(.97); }   /* brand motion: press to 97% in 80 ms */
.btn-primary { background: var(--c-progress); color: var(--c-on-progress); }
.btn-primary:hover { background: color-mix(in srgb, var(--c-progress) 88%, var(--c-text)); }
.btn-secondary { background: var(--c-brand); color: var(--on-brand); }
.btn-secondary:hover { background: color-mix(in srgb, var(--c-brand) 85%, var(--c-text)); }
.btn-quiet { background: transparent; color: var(--c-text); border: 1.5px solid var(--c-line); font-weight: 600; }
.btn-quiet:hover { border-color: var(--c-text-muted); }
.btn[aria-disabled="true"], .btn:disabled { opacity: .6; cursor: progress; }
.btn-text { display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; border: 0; background: none; cursor: pointer;
  font-weight: 700; font-size: 16px; color: var(--c-brand); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.btn-text:hover { text-decoration-thickness: 2.5px; }
.link-btn { border: 0; background: none; padding: 0; color: var(--c-progress-text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; }

/* -------------------------------------------------------------- link cards */
/* A link-card is one <a> that looks like an address: the domain is part of the design. */
.link-cards { display: grid; gap: 12px; }
@media (min-width: 560px) { .link-cards { grid-template-columns: 1fr 1fr; } }
.link-card { position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 48px; padding: 20px 22px 22px;
  border-radius: var(--r-card); text-decoration: none; color: var(--c-text);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.link-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-float); }
.link-card:focus-visible { border-radius: var(--r-card); box-shadow: var(--focus), var(--shadow-float); transform: translateY(-3px); }
.lc-url { font-family: var(--mono); font-size: 13px; letter-spacing: 0; opacity: .85; }
.lc-title { font-family: var(--font-display); font-weight: 600; font-size: 23px; letter-spacing: -0.02em; line-height: 1.15; }
.lc-arrow { display: inline-block; transition: transform var(--dur-base) var(--ease-out); }
.link-card:hover .lc-arrow, .link-card:focus-visible .lc-arrow { transform: translateX(5px); }
.lc-text { font-size: 16px; line-height: 1.45; }
.lc-micro { margin-top: auto; padding-top: 10px; font-size: 13px; font-weight: 600; }
.link-card-primary { background: var(--c-brand); color: var(--on-brand); }
.link-card-primary .lc-url, .link-card-primary .lc-micro { color: var(--brand-muted); opacity: 1; }
.link-card-secondary { background: var(--c-surface); border: 2px solid var(--c-brand); padding: 18px 20px 20px; }
.link-card-secondary .lc-url { color: var(--c-text-muted); opacity: 1; }
.link-card-secondary .lc-text { color: var(--c-text-muted); }
.link-card-secondary .lc-micro { color: var(--c-brand); }
.link-card-sm { margin-top: auto; padding: 14px 18px 16px; background: var(--c-bg); border: 1.5px solid var(--c-line); }
.link-card-sm:hover { border-color: var(--c-brand); }
.link-card-sm .lc-url { color: var(--c-text-muted); }
.link-card-sm .lc-title { font-size: 19px; }
.link-card-on-dark { background: var(--cl-teal-night); border-color: transparent; color: var(--cl-night); }
.link-card-on-dark .lc-url { color: var(--cl-night); opacity: .75; }
.link-card-on-dark:hover { border-color: transparent; }
.partner-line { font-size: 16px; }
.partner-line a { color: var(--c-text); font-weight: 600; text-decoration: underline; text-decoration-color: var(--c-line); text-decoration-thickness: 2px; text-underline-offset: 5px; display: inline-block; padding: 10px 0; }
.partner-line a:hover { text-decoration-color: var(--c-brand); }

/* ----------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--c-bg) 92%, transparent);
  backdrop-filter: saturate(1.2) blur(8px); -webkit-backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--c-line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.brand-link { display: block; padding: 8px 0; border-radius: 8px; }
.brand-link img { height: 24px; width: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 12px; color: var(--c-text); text-decoration: none; font-weight: 600; font-size: 15px; border-radius: 12px; }
.nav-list a:hover { color: var(--c-brand); }
.theme-toggle { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--c-line); background: transparent; color: var(--c-text); cursor: pointer; }
.theme-toggle:hover { border-color: var(--c-text-muted); }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; } :root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .theme-toggle .icon-sun { display: block; } :root:not([data-theme]) .theme-toggle .icon-moon { display: none; } }
.nav-list .nav-cta { border: 1.5px solid var(--c-text); min-height: 44px; padding: 0 16px; margin-left: 8px; white-space: nowrap; }
.nav-list .nav-cta:hover { background: var(--c-text); color: var(--c-bg); }
@media (max-width: 899px) { .nav-optional { display: none; } }
@media (max-width: 359px) { .brand-link img { height: 19px; } .nav-list .nav-cta { padding: 0 12px; font-size: 14px; } }

/* ------------------------------------------------------------------- hero */
.hero { padding: 36px 0 64px; }
.hero-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1000px) { .hero { padding: 64px 0 96px; } .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; } }
/* The hero is built around the brand's one animation. The H1 below is laid out exactly
   like the splash engine's end frame (same size, gap and padding), so when the animation
   plays over it (site.js adds .is-live) nothing moves; the H1 stays real text. */
.hero-anim { position: relative; }
.hero-h1 { --s: clamp(46px, 6.6vw, 92px); display: flex; flex-direction: column; align-items: flex-start; gap: calc(var(--s) * .32);
  padding: 24px 0; margin: 0; letter-spacing: normal; }
.h1-word { font-size: var(--s); line-height: 1; white-space: nowrap; }
.h1-slogan { font: 500 calc(var(--s) * .3) var(--font-display); letter-spacing: -.01em; color: var(--c-brand); white-space: nowrap; }
.h1-change { color: var(--c-progress-text); }
.hero-h1.is-live > * { opacity: 0; }           /* hidden visually, still read by screen readers */
.hero-splash { position: absolute; left: 0; top: 0; }
.hero-splash .cls-root { align-items: flex-start !important; }
.hero-lead { margin-top: 20px; font-size: clamp(19px, 1.7vw, 22px); line-height: 1.45; max-width: 36ch; }
.hero-copy .link-cards { margin-top: 28px; }

/* concept preview: one phone + one chat card */
.hero-art { margin: 0; }
.phone-scene { position: relative; padding: 16px 0 24px; display: flex; justify-content: center; }
@media (min-width: 1000px) { .phone-scene { justify-content: flex-end; padding-right: 8px; } }
.phone { width: min(300px, 88%); border-radius: 42px; padding: 9px; background: var(--cl-ink); box-shadow: 0 40px 80px rgb(16 38 43 / .18); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .phone { background: var(--cl-night-line); box-shadow: 0 40px 80px rgb(0 0 0 / .45); } }
:root[data-theme="dark"] .phone { background: var(--cl-night-line); }
.app { display: flex; flex-direction: column; gap: 11px; padding: 22px 18px 0; border-radius: 33px; background: var(--c-bg); overflow: hidden; }
.app-tabs { display: flex; justify-content: space-around; margin: 118px -18px 0 !important; padding: 14px 0 18px; border-top: 1px solid var(--c-line); font-size: 12px; color: var(--c-text-muted); }
.app-tabs .is-active { color: var(--c-text); font-weight: 700; }
.app p { margin: 0; }
.app .strip { flex: none; }
.app-head { display: flex; align-items: center; gap: 10px; font-size: 13px; line-height: 1.3; }
.app-head b { display: block; font-size: 14px; }
.app-head small, .chat-head small { display: block; color: var(--c-text-muted); font-size: 12px; }
.app-avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--c-brand); color: var(--on-brand); flex: none; }
.app-avatar .icon { width: 18px; height: 18px; }
.app-day { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1; margin-top: 6px !important; }
.app-day-n { font-size: 48px; }
.app-day-of { font-size: 19px; color: var(--c-text-muted); font-weight: 400; }
.app-meta { font-size: 13px; color: var(--c-text-muted); font-variant-numeric: tabular-nums; }
.app-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--c-text-muted); }
.app-task { display: grid; gap: 7px; padding: 14px; border-radius: 18px; background: var(--c-surface); box-shadow: var(--shadow-card); }
.app-task-title { font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.app-btn { display: grid; place-items: center; height: 44px; margin-top: 2px; border-radius: 14px; background: var(--c-progress); color: var(--c-on-progress); font-weight: 700; font-size: 15px; }
.app-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; color: var(--c-group); margin-top: 2px !important; }
.app-num { color: var(--c-text-muted); font-weight: 400; font-variant-numeric: tabular-nums; }
/* the group streak row: one small avatar per person, a Teal tick when they checked in today */
.app-streak { display: block; }
.app-streak .il { width: 100%; height: auto; }
.app-streak .il-av { stroke: var(--c-bg); }
.chat-card { position: absolute; left: 0; bottom: 36px; width: min(250px, 72%); padding: 12px; border-radius: 20px; background: var(--c-surface-2); box-shadow: var(--shadow-float); font-size: 14px; }
@media (min-width: 1000px) { .chat-card { left: -12px; } }
.chat-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; line-height: 1.2; }
.chat-head b { font-size: 13px; }
.chat-head small { margin-left: auto; font-size: 11px; }
.chat-bot { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--c-surface); flex: none; }
.chat-bubble { display: grid; gap: 7px; padding: 10px 12px 12px; border-radius: 4px 16px 16px 16px; background: var(--c-surface); }
.chat-bubble p { margin: 0; }
.chat-sub { font-size: 12px; color: var(--c-group); font-weight: 600; }
.chat-actions { display: flex; gap: 6px; margin: 8px 0 0; }
.chat-actions span { flex: 1; display: grid; place-items: center; min-height: 32px; padding: 0 8px; border-radius: 12px; background: var(--c-surface); font-size: 12px; font-weight: 700; color: var(--c-brand); text-align: center; }

/* ------------------------------------------------------------- Day Strips */
.strip, .mini-strip { display: flex; align-items: center; gap: 4px; flex: 1; min-width: 0; height: 16px; }
.strip i, .mini-strip i { flex: 1 1 0; min-width: 0; height: 10px; border-radius: 999px; background: var(--c-upcoming); }
.strip i.done { background: var(--c-progress); }
.strip i.missed { background: transparent; border: 2px solid var(--c-return); }
.strip i.today { height: 16px; background: var(--c-bg); border: 2.5px solid var(--c-progress); }
.strip-s { gap: 3px; height: 10px; }
.strip-s i { height: 6px; }
.strip-s i.today { height: 10px; border-width: 2px; }
.strip-s i.missed { border-width: 1.5px; }

/* --------------------------------------------------------------- sections */
.section { padding: 64px 0; }
@media (min-width: 1000px) { .section { padding: 96px 0; } }
.section-title { font-size: var(--fs-h2); max-width: 22ch; }
.section-intro { font-size: 18px; color: var(--c-text-muted); max-width: 56ch; }

/* why it works: three quiet points, no cards */
.section-why { padding-top: 32px; }
.why-list { display: grid; gap: 28px; margin-top: 36px; }
@media (min-width: 768px) { .why-list { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.why-list li { display: grid; gap: 8px; align-content: start; }
.why-list .il { width: 100%; height: auto; padding: 18px 16px; margin-bottom: 10px; border-radius: 18px; background: var(--c-return-bg); }
.why-list li:nth-child(2) .il { background: var(--c-group-track); }
.why-list li:nth-child(3) .il { background: var(--c-highlight); }
.why-list p { color: var(--c-text-muted); max-width: 32ch; }

/* ------------------------------------------------ how a challenge works */
/* Each step is a card tied to its numbered marker by a short stem. The track is an SVG
   wave (site.js draws it through the markers): pale pills underneath, Teal pills drawn over
   them as the visitor scrolls. Desktop: a sticky stage that reveals one step per scroll
   stretch. Phones: each step slides in as it reaches the viewport. No JS / reduced motion:
   everything is shown and the line is fully drawn. */
.section-how { background: var(--c-surface); }
.how-head { display: grid; gap: 8px; margin-bottom: 32px; }
.flow { --track: 64px; --gap-to-track: 22px; position: relative; display: grid; gap: 22px; padding-left: 56px; }
.flow-line { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.flow-line path { fill: none; stroke-linecap: round; }
.flow-line .fl-base { stroke: var(--c-upcoming); stroke-width: 10; stroke-dasharray: 20 12; }
.flow-line .fl-done { stroke: var(--c-progress); stroke-width: 10; stroke-dasharray: 20 12; }
.flow-line .fl-mask { stroke: #fff; stroke-width: 24; transition: stroke-dashoffset 700ms var(--ease-out); }
.flow-line.is-scrubbed .fl-mask { transition: none; }
.step { position: relative; display: grid; gap: 6px; align-content: start; padding: 4px 0 8px; z-index: 1; }
.step .il { width: 100%; max-width: 260px; height: auto; max-height: 124px; margin: 0 auto 4px; }
.step-no { font-size: 12px; font-weight: 700; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--c-progress-text); }
.step h3 { font-size: 19px; }
.step p { color: var(--c-text-muted); font-size: 15px; line-height: 1.45; }
.step .il-av { stroke: var(--c-surface); }
.step .il-card, .step .il-tail { stroke: var(--c-line); fill: var(--c-bg); }
.step-n { position: absolute; left: -56px; top: 14px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--c-progress); color: var(--c-on-progress); font: 600 17px/1 var(--font-display); font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 5px var(--c-surface); z-index: 2; transition: background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out); }
/* stem: ties the card to its number */
.step::before { content: ""; position: absolute; left: -20px; top: 31px; width: 20px; height: 2px; background: var(--c-progress); opacity: .5; }
@media (min-width: 1000px) {
  .flow { padding-left: 0; grid-template-columns: repeat(16, minmax(0, 1fr)); grid-template-rows: auto var(--track) auto; gap: 0 18px; }
  .step { grid-row: 1; align-self: end; margin-bottom: var(--gap-to-track); }
  .step:nth-of-type(even) { grid-row: 3; align-self: start; margin: var(--gap-to-track) 0 0; }
  .step:nth-of-type(1) { grid-column: 1 / span 4; } .step:nth-of-type(2) { grid-column: 3 / span 4; }
  .step:nth-of-type(3) { grid-column: 5 / span 4; } .step:nth-of-type(4) { grid-column: 7 / span 4; }
  .step:nth-of-type(5) { grid-column: 9 / span 4; } .step:nth-of-type(6) { grid-column: 11 / span 4; }
  .step:nth-of-type(7) { grid-column: 13 / span 4; }
  .step-n { left: 50%; top: auto; margin-left: -18px; bottom: calc(-1 * (var(--gap-to-track) + var(--track) / 2 + 18px)); }
  .step:nth-of-type(even) .step-n { bottom: auto; top: calc(-1 * (var(--gap-to-track) + var(--track) / 2 + 18px)); }
  .step::before { left: 50%; top: auto; bottom: calc(-1 * (var(--gap-to-track) + var(--track) / 2 - 18px)); width: 2px; margin-left: -1px;
    height: calc(var(--gap-to-track) + var(--track) / 2 - 18px); opacity: 1; }
  .step:nth-of-type(even)::before { bottom: auto; top: calc(-1 * (var(--gap-to-track) + var(--track) / 2 - 18px)); }
  .step { padding: 0 6px; gap: 4px; }
  .step .il { max-height: 108px; }
  .step h3 { font-size: 18px; }
  .step p { font-size: 14px; line-height: 1.4; }
  .step-no { font-size: 11px; }
}
/* scroll reveal (site.js adds .will-reveal only when motion is allowed) */
.flow.will-reveal .step { opacity: 0; transform: translateY(18px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
.flow.will-reveal .step.is-in { opacity: 1; transform: none; }
.flow.will-reveal .step-n { background: var(--c-surface); color: var(--c-progress); box-shadow: 0 0 0 5px var(--c-surface), inset 0 0 0 2.5px var(--c-progress); }
.flow.will-reveal .step.is-in .step-n { background: var(--c-progress); color: var(--c-on-progress); box-shadow: 0 0 0 5px var(--c-surface); }
/* desktop: a sticky stage; the room around it gives each step a stretch of scrolling */
.how-room.is-scrolly .how-stage { position: sticky; }

/* illustration system (see illustrations/README.md): colours are brand roles */
.il { overflow: visible; }
.il-av { stroke: var(--c-surface); stroke-width: 2.5; }
.il-a1 { fill: var(--face-1); } .il-a2 { fill: var(--face-2); } .il-a3 { fill: var(--face-3); } .il-a4 { fill: var(--face-4); } .il-a5 { fill: var(--face-5); }
.il-fade { opacity: .35; }
.il-pbg-1 { fill: var(--c-group-track); } .il-pbg-2 { fill: var(--c-highlight); } .il-pbg-3 { fill: var(--c-return-bg); } .il-pbg-4 { fill: var(--c-surface-2); }
.il-skin-1 { fill: #F2CDB0; } .il-skin-2 { fill: #D9A47E; } .il-skin-3 { fill: #A9714E; } .il-skin-4 { fill: #7B4B31; } .il-skin-5 { fill: #E9BF95; }
.il-hair-1 { fill: #2B211D; } .il-hair-2 { fill: #5A3B27; } .il-hair-3 { fill: #8C5E36; } .il-hair-4 { fill: #C99E62; } .il-hair-5 { fill: #8E8E8E; }
.il-lead { fill: none; stroke: var(--c-group); stroke-width: 2.5; }
.il-done, .il-badge { fill: var(--c-progress); }
.il-badge-check { fill: none; stroke: var(--c-on-progress); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.il-up { fill: var(--c-upcoming); }
.il-group { fill: var(--c-group); }
.il-soft, .il-ring-group, .il-chip, .il-live { fill: var(--c-group-track); }
.il-chip-dark { fill: var(--c-group); }
.il-miss { fill: none; stroke: var(--c-return); stroke-width: 2; }
.il-today { fill: var(--c-bg); stroke: var(--c-progress); stroke-width: 2.5; }
.il-card, .il-tail { fill: var(--c-surface); stroke: var(--c-line); stroke-width: 2; stroke-linejoin: round; }
.il-textline { fill: var(--c-line); }
.il-strong { fill: var(--c-text-muted); }
.il-icon { fill: none; stroke: var(--c-text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.il-icon * { vector-effect: non-scaling-stroke; }
.il-icon-group { stroke: var(--c-group); }
.il-icon-return { stroke: var(--c-return); }
.il-icon-light { stroke: var(--on-brand); }
.il-path { fill: none; stroke: var(--c-line); stroke-width: 2; stroke-linecap: round; }
.il-dash { stroke-dasharray: 2 6; }
.il-fadeline { opacity: .5; }
.il-spark { fill: var(--c-group); }
.il-startline { fill: none; stroke: var(--c-group); stroke-width: 2; stroke-dasharray: 4 6; stroke-linecap: round; }
.il-label { font: 600 11px var(--font-body); fill: var(--c-text-muted); }
.il-label-group { fill: var(--c-group); }
.il-label-live { font-size: 10px; fill: var(--c-group); }
.il-live-dot { fill: var(--c-progress); }
.il-lane-done { fill: none; stroke: var(--c-progress); stroke-width: 4; stroke-linecap: round; }
.il-lane-fade { fill: none; stroke: var(--c-line); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1 8; }
.il-loop { fill: none; stroke: var(--c-group); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.il-you-ring { fill: none; stroke: var(--c-progress); stroke-width: 2.5; }
.il-icon-progress { stroke: var(--c-progress); }
.il-label-light { fill: var(--brand-muted); }
.il-obj { stroke: var(--c-group); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.il-obj:not([class*="il-fill"]) { fill: none; }
.il-fill-sun { fill: var(--c-highlight); } .il-fill-teal { fill: var(--c-progress); } .il-fill-group { fill: var(--c-group); }
.il-fill-soft { fill: var(--c-group-track); } .il-fill-white { fill: var(--c-surface); }
.idea:nth-child(4n+2) .il-fill-sun { fill: var(--c-surface); }
.il-steam { fill: none; stroke: var(--c-progress); stroke-width: 2; stroke-linecap: round; }
.il-bubble-text { font: 600 15px var(--font-display); fill: var(--c-group); }
.il-bubble-text-light { fill: var(--c-on-progress); }
.il-chip-text { font: 700 10px var(--font-body); fill: var(--c-on-progress); }

/* ---------------------------------------------------------- who it's for */
.who-head { display: grid; gap: 12px; margin-bottom: 36px; }
.who-grid { display: grid; gap: 16px; }
@media (min-width: 1000px) { .who-grid { grid-template-columns: 1fr 1fr 1.15fr; gap: 20px; } }
.who-card { display: flex; flex-direction: column; gap: 14px; padding: 28px 24px 24px; border-radius: var(--r-card); background: var(--c-surface); box-shadow: var(--shadow-card); }
.who-card .il { width: 100%; height: auto; padding: 16px; margin-bottom: 4px; border-radius: 16px; background: var(--c-group-track); }
.who-card:nth-child(2) .il { background: var(--c-highlight); }
.who-card-partners .il { background: color-mix(in srgb, var(--c-brand) 82%, var(--cl-white)); }
.who-card > p { color: var(--c-text-muted); }
.ticks { display: grid; gap: 10px; margin-bottom: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--c-group-track); }
.ticks li::after { content: ""; position: absolute; left: 7px; top: 7px; width: 5px; height: 9px; border: solid var(--c-group); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.who-card-partners { background: var(--c-brand); color: var(--on-brand); box-shadow: none; }
.who-card-partners h3 { color: var(--on-brand); }
.who-card-partners > p { color: var(--brand-muted); }
.who-card-partners .il-av { stroke: var(--c-brand); }
.who-card-partners .il-lead { stroke: var(--cl-teal-night); }
.who-card-partners .il-chip-dark { fill: var(--cl-teal-night); }
.who-card-partners .il-icon-light { stroke: var(--cl-night); }
.partner-types { display: grid; gap: 10px; }
.partner-types > div { padding: 14px 16px; border-radius: 16px; background: color-mix(in srgb, var(--c-brand) 82%, var(--cl-white)); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .partner-types > div, :root:not([data-theme="light"]) .who-card-partners .il { background: color-mix(in srgb, var(--c-brand) 80%, var(--cl-night)); } }
:root[data-theme="dark"] .partner-types > div, :root[data-theme="dark"] .who-card-partners .il { background: color-mix(in srgb, var(--c-brand) 80%, var(--cl-night)); }
.partner-types dt { font-weight: 700; margin-bottom: 2px; }
.partner-types dd { font-size: 15px; line-height: 1.45; color: var(--brand-muted); }
.small-print { font-size: 13px; color: var(--brand-muted); }
.who-card-partners :focus-visible { box-shadow: 0 0 0 3px var(--c-brand), 0 0 0 5px var(--on-brand); }

/* --------------------------------------------------------- challenge ideas */
.section-ideas { background: var(--c-surface-2); }
.ideas-head { display: grid; gap: 14px; margin-bottom: 28px; }
@media (min-width: 900px) { .ideas-head { grid-template-columns: 1fr auto; align-items: end; } }
.label-note { justify-self: start; padding: 6px 14px; border-radius: var(--r-pill); background: var(--c-surface); border: 1px dashed var(--c-text-muted); font-size: 14px; font-weight: 600; }
.ideas { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .ideas { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .ideas { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
@media (max-width: 379px) { .ideas { grid-template-columns: 1fr; } }
.idea { display: flex; flex-direction: column; gap: 8px; padding: 12px 12px 6px; border-radius: var(--r-card); background: var(--c-surface); }
.idea-art { border-radius: 14px; background: var(--c-group-track); padding: 10px 8px; }
.idea:nth-child(4n+2) .idea-art { background: var(--c-highlight); }
.idea:nth-child(4n+3) .idea-art { background: var(--c-return-bg); }
.idea:nth-child(4n) .idea-art { background: color-mix(in srgb, var(--c-line) 65%, var(--c-surface)); }
.idea-art .il { width: 100%; height: auto; }
.idea-days { margin-top: 4px; padding: 0 6px; font-size: 13px; font-weight: 600; color: var(--c-text-muted); font-variant-numeric: tabular-nums; }
.idea h3 { font-size: 18px; flex: 1; padding: 0 6px; }
.idea .mini-strip { flex: none; margin: 6px 6px 2px; }
.idea .mini-strip i { height: 8px; }
.idea .btn-text { margin-left: 6px; }
.ideas + .caption { margin-top: 16px; }

/* ------------------------------------------------------------------- faq */
.faq { margin-top: 20px; max-width: 860px; }
.faq details { border-bottom: 1px solid var(--c-line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 16px 0; cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 19px; list-style: none; border-radius: 8px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; flex: none; border: solid var(--c-text); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-3px, -3px); transition: transform var(--dur-base) var(--ease-out); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details p { padding: 0 0 20px; color: var(--c-text-muted); max-width: 64ch; }

/* ------------------------------------------------------------ final call */
.section-final { padding-bottom: 32px; }
@media (min-width: 1000px) { .section-final { padding-top: 48px; } }
.final-inner { display: grid; justify-items: center; gap: 24px; text-align: center; }
.final-title { font-size: var(--fs-h1); letter-spacing: -0.03em; }
.final-inner .link-cards { width: 100%; max-width: 760px; text-align: left; }

/* ------------------------------------------------------------------ form */
.section-form { padding-top: 32px; }
.form-wrap { max-width: 760px; }
.interview-banner { margin-bottom: 16px; padding: 16px 20px; border-radius: 16px; background: var(--c-highlight); font-size: 17px; font-weight: 600; }
.form-card { padding: 28px 20px; border-radius: var(--r-sheet); background: var(--c-surface); box-shadow: var(--shadow-float); }
@media (min-width: 640px) { .form-card { padding: 44px; } }
.form-title { font-size: var(--fs-h2); }
.form-title:focus { box-shadow: none; }
.form-intro { margin-top: 8px; color: var(--c-text-muted); }
form { display: grid; gap: 22px; margin-top: 24px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 10px; }
legend { padding: 0; font-weight: 700; margin-bottom: 10px; }
legend:focus { box-shadow: none; }
.opt { font-weight: 400; color: var(--c-text-muted); }
.hint { font-size: 14px; color: var(--c-text-muted); margin-top: -8px; }
.role-grid { display: grid; gap: 8px; }
.choice { position: relative; display: flex; align-items: flex-start; gap: 12px; min-height: 52px; padding: 14px 16px; border-radius: 14px; background: var(--c-bg); border: 1.5px solid var(--c-line); cursor: pointer; line-height: 1.35; }
.choice:hover { border-color: var(--c-text-muted); }
.choice input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--c-brand); }
.choice:has(input:checked) { border-color: var(--c-brand); background: color-mix(in srgb, var(--c-group-track) 55%, var(--c-bg)); }
.choice:has(input:focus-visible) { box-shadow: var(--focus); }
.choice input:focus-visible { box-shadow: none; }
.choice-help { display: block; margin-top: 2px; font-size: 14px; color: var(--c-text-muted); font-weight: 400; }
.chat-choice strong { font-weight: 700; }
.chip-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-choice { position: relative; cursor: pointer; }
.chip-choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip-choice span { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: var(--r-pill); border: 1.5px solid var(--c-line); background: var(--c-bg); font-weight: 600; font-size: 15px; }
.chip-choice input:checked + span { background: var(--c-brand); color: var(--on-brand); border-color: var(--c-brand); }
.chip-choice input:checked + span::before { content: "✓"; }
.chip-choice input:focus-visible + span { box-shadow: var(--focus); }
.field-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.field label { font-weight: 700; }
input[type="text"], input[type="email"], select {
  width: 100%; min-height: 52px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--c-line); background: var(--c-bg); font-size: 17px; }
input:hover, select:hover { border-color: var(--c-text-muted); }
input:focus-visible, select:focus-visible { border-color: var(--c-brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-brand) 30%, transparent); }
[aria-invalid="true"] { border-color: var(--c-error) !important; }
.field-error { color: var(--c-error); font-size: 14px; font-weight: 600; }
.field-error:empty { display: none; }
.field-error::before { content: "! "; }
/* country picker (Tom Select) in brand form styling */
.ts-wrapper.single .ts-control, .ts-wrapper .ts-control { min-height: 52px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--c-line);
  background: var(--c-bg); color: var(--c-text); font-size: 17px; box-shadow: none; display: flex; align-items: center; }
.ts-wrapper.focus .ts-control { border-color: var(--c-brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-brand) 30%, transparent); }
.ts-control input { font-size: 17px; color: var(--c-text); }
.ts-control input::placeholder { color: var(--c-text-muted); }
.ts-dropdown { margin-top: 6px; border: 1.5px solid var(--c-line); border-radius: 14px; background: var(--c-surface); color: var(--c-text); box-shadow: var(--shadow-float); overflow: hidden; }
.ts-dropdown .ts-dropdown-content { max-height: 280px; }
.ts-dropdown .option, .ts-dropdown .no-results { padding: 10px 14px; font-size: 16px; }
.ts-dropdown .active { background: var(--c-group-track); color: var(--c-text); }
.ts-dropdown .optgroup-header { padding: 10px 14px 6px; font-size: 12px; font-weight: 700; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--c-text-muted); background: var(--c-surface); }
.ts-dropdown .optgroup:before { display: none; }
.ts-country { display: flex; align-items: center; gap: 10px; }
.ts-flag { font-size: 20px; line-height: 1; }
.picked { padding: 12px 16px; border-radius: 14px; background: var(--c-highlight); font-size: 15px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { font-size: 14px; color: var(--c-text-muted); }
.submit-row { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 479px) { .submit-row .btn { flex: 1 1 100%; } }
.form-status:empty { display: none; }
.form-status { padding: 14px 16px; border-radius: 14px; background: var(--c-error-bg); color: var(--c-error); font-weight: 600; }
.form-status.is-info { background: var(--c-surface-2); color: var(--c-text); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .form-status:not(.is-info), :root:not([data-theme="light"]) .field-error { color: #FFB4A8; } :root:not([data-theme="light"]) [aria-invalid="true"] { border-color: #FFB4A8 !important; } }
:root[data-theme="dark"] .form-status:not(.is-info), :root[data-theme="dark"] .field-error { color: #FFB4A8; } :root[data-theme="dark"] [aria-invalid="true"] { border-color: #FFB4A8 !important; }
.mock-note, .draft-flag { padding: 10px 14px; border-radius: 12px; background: var(--c-return-bg); color: var(--c-text); font-size: 14px; font-weight: 600; margin-top: 12px; }
#done { display: grid; gap: 12px; }
.done-mark { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--c-group-track); color: var(--c-group); }
.done-mark .icon { width: 28px; height: 28px; }
#done-chat { display: grid; gap: 8px; margin-top: 4px; }
/* brand milestone motion: the card rises 12 px, once. Reduced motion: 120 ms fade only. */
.rise { animation: cl-rise var(--dur-slow) var(--ease-out) both; }
@keyframes cl-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes cl-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .rise { animation: cl-fade 120ms linear both; } }

/* ---------------------------------------------------------------- footer */
.site-footer { border-top: 1px solid var(--c-line); padding: 32px 0 48px; margin-top: 64px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 24px; }
.site-footer img { height: 22px; width: auto; }
.footer-slogan { margin-top: 8px; color: var(--c-brand); font-family: var(--font-display); font-weight: 500; font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 24px; align-items: center; font-size: 14px; }
.footer-links li { min-height: 48px; display: flex; align-items: center; }
.footer-links a, .footer-links .link-btn { color: var(--c-text); }
.copyright { color: var(--c-text-muted); font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- dialog */
dialog { width: min(680px, calc(100vw - 32px)); max-height: min(86vh, 900px); padding: 0; border: 0; border-radius: var(--r-sheet); background: var(--c-surface); color: var(--c-text); box-shadow: var(--shadow-float); }
dialog::backdrop { background: rgb(10 24 27 / .55); }
.dialog-head { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; background: var(--c-surface); border-bottom: 1px solid var(--c-line); }
.dialog-head h2 { font-size: 24px; }
.dialog-close { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--c-line); background: transparent; cursor: pointer; font-size: 26px; line-height: 1; }
.dialog-body { display: grid; gap: 14px; padding: 20px 24px 28px; font-size: 16px; }

.dev-banner { padding: 8px var(--gutter); text-align: center; background: var(--cl-return); color: #fff; font-size: 13px; font-weight: 600; }
