/* Quillan — sales page, checkout and outcome modal.
   Visual authority: Claude Design canvas "Quillan — final visual brand & product experience (NXL-01)"
   (https://claude.ai/artifact/1weAK1BdH5xq5YwsejQZth): 02a colour & typography, 02b signature/paths, 06 landing
   brand frame, 08 implementation handoff (tokens, type scale, component states, accessibility). Claude Design owns
   the final visual and interaction direction (PDC §34.4d); this sheet implements it and invents no new identity.

   FONTS — self-hosted (product owner authorised the download, 2026-11-16). Schibsted Grotesk and Public Sans,
   variable, SIL OFL 1.1, from google/fonts @ 29b4ec6; licences beside the files in /assets/fonts/. */

@font-face { font-family: "Schibsted Grotesk"; src: url("/assets/fonts/SchibstedGrotesk.ttf") format("truetype"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("/assets/fonts/PublicSans.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }

:root {
  /* 08 · design tokens */
  --surface: #FFFFFF; --ink: #0F1A3A; --ink-muted: #4A5470; --line: #E4E7EF; --line-strong: #C9CFDD;
  --navy: #13224D; --navy-raised: #22377A; --on-navy: #DCE3FF; --on-navy-2: #B9C3DE;
  --action: #F28A1E; --action-pressed: #D97716; --action-disabled: #F7D2AB; --link: #A8530A;
  --p1: #2445C7; --p1t: #E9EDFC; --p2: #0B7A5E; --p2t: #E3F3EE; --p3: #6D35C2; --p3t: #F0E9FB;
  --success-bg: #E3F4EC; --success-text: #0B5A45;
  /* build-local: the checkout's inline errors (6.6:1 on white) */
  --danger: #B42318; --danger-bg: #FEF3F2;
  --r-chip: 6px; --r-sm: 10px; --r-control: 12px; --r-card: 16px; --r-sheet: 22px;
  --font-display: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-text: "Public Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  /* build-local: one easing and one shadow scale, so motion and depth stay consistent */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-phone: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 24px 48px -12px rgba(4, 9, 26, .55), 0 8px 16px -8px rgba(4, 9, 26, .4);
  --shadow-card: 0 1px 2px rgba(15, 26, 58, .06), 0 12px 32px -16px rgba(15, 26, 58, .18);
  --bar-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
/* The site is light only, also when the device is in dark mode: native controls stay light and legible. */
:root { color-scheme: light; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 1.0625rem/1.5 var(--font-text); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; text-wrap: balance; }
h1 { font-weight: 800; font-size: clamp(2.75rem, 6.6vw, 4.5rem); line-height: .98; letter-spacing: -0.035em; }
h2 { font-weight: 800; font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1.04; letter-spacing: -0.03em; }
h3 { font-weight: 700; font-size: 1.25rem; line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--link); font-weight: 600; text-underline-offset: 3px; text-decoration-thickness: 1.5px; transition: color .15s var(--ease); }
a:hover { color: var(--ink); }
/* 08 · focus: 3 px ink ring, 3 px offset */
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

.wrap { width: 100%; max-width: 1248px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r-sm); z-index: 30; }
.skip:focus { top: 12px; }
.todo { background: #FFE7A3; color: var(--ink); padding: 0 4px; border-radius: 4px; font-weight: 700; }
.wordmark { font: 800 1.375rem var(--font-display); letter-spacing: -0.02em; color: inherit; text-decoration: none; }
.wordmark:hover { color: inherit; }
.eyebrow { font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--p1); }
.section-head { display: grid; gap: 12px; max-width: 46rem; }
.section-lede { color: var(--ink-muted); font-size: 1.125rem; max-width: 40rem; }

/* 08 · primary button: ink on orange (6.9:1), pressed #D97716, disabled #F7D2AB + muted text */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px;
  border: 0; border-radius: var(--r-control); background: var(--action); color: var(--ink); font: 700 1.0625rem var(--font-text);
  text-decoration: none; cursor: pointer; transition: background-color .15s var(--ease), transform .15s var(--ease), box-shadow .15s var(--ease); }
.btn:hover { background: var(--action-pressed); color: var(--ink); box-shadow: 0 6px 16px -8px rgba(217, 119, 22, .8); }
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: .9375rem; }
.btn-lg { min-height: 58px; padding: 0 30px; font-size: 1.125rem; }
.btn-block { width: 100%; }

/* ---------- top bar ---------- */
.bar { border-bottom: 1px solid var(--line); background: var(--surface); }
.bar-navy { background: var(--navy); color: #fff; border-bottom: 1px solid rgba(220, 227, 255, .12); }
.bar-sticky { position: sticky; top: 0; z-index: 20; }
.bar-in { display: flex; align-items: center; justify-content: space-between; min-height: var(--bar-h); gap: 24px; }
.bar-nav { display: none; }
.bar-nav ul { list-style: none; display: flex; gap: 6px; }
.bar-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--r-sm); color: var(--on-navy); font-weight: 600; font-size: .9375rem; text-decoration: none; }
.bar-nav a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.bar-navy :focus-visible { outline-color: var(--action); }
.bar-back { color: var(--link); display: inline-flex; align-items: center; min-height: 44px; font-size: .95rem; }

/* ---------- S1 hero: navy, headline + signature underline, one orange action, app previews ---------- */
.hero { background: var(--navy); color: #fff; padding: 44px 0 40px; overflow: hidden; position: relative; }
.hero :focus-visible { outline-color: var(--action); }
.hero-in { display: grid; gap: 40px; position: relative; }
.hero .eyebrow { color: var(--on-navy-2); margin-bottom: 18px; }
.swash { display: block; color: var(--action); margin: 14px 0 22px; }
.lede { font-size: 1.1875rem; line-height: 1.55; color: var(--on-navy); max-width: 34rem; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 30px; }
.price-line { font-weight: 600; }
.hero .price-line { color: #fff; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; color: var(--on-navy); font-size: .9375rem; font-weight: 600; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg, .offer-list svg { color: var(--action); flex-shrink: 0; }
.hero-phones { margin: 0; display: grid; justify-items: center; gap: 18px; }
.phones { position: relative; width: 100%; max-width: 460px; aspect-ratio: 460 / 580; }
/* path-1 ring from the approved hero screen, as quiet depth behind the devices */
.phones::before { content: ""; position: absolute; inset: 6% 2% 4% 8%; border-radius: 50%; border: 2px solid rgba(36, 69, 199, .7); }
.phone { border-radius: 34px; overflow: hidden; background: #fff; border: 1px solid rgba(15, 26, 58, .14); }
.phone img { display: block; width: 100%; height: auto; }
.phones .phone { position: absolute; width: 52%; box-shadow: var(--shadow-phone); }
.phones .phone-1 { left: 4%; top: 8%; z-index: 2; }
.phones .phone-2 { right: 4%; top: 0; }

/* ---------- Sound familiar: from scattered tips to three paths (the approved N5 composition), quiet motion ---------- */
.familiar { padding: 64px 0; }
.familiar-in { display: grid; gap: 32px; }
.familiar-copy { display: grid; gap: 16px; align-content: start; }
.quotes { list-style: none; display: grid; gap: 12px; margin-top: 10px; }
.quotes li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: var(--r-card); background: var(--surface); }
.quotes p { font: 700 1.1875rem/1.3 var(--font-display); letter-spacing: -0.01em; }
.q-mark { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; }
.quotes .tone-p1 .q-mark { background: var(--p1t); color: var(--p1); } .quotes .tone-p2 .q-mark { background: var(--p2t); color: var(--p2); } .quotes .tone-p3 .q-mark { background: var(--p3t); color: var(--p3); }
.q-mark .mark { max-width: 30px; max-height: 30px; }
.familiar-visual { background: var(--navy); border-radius: 24px; padding: 28px 22px; display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1.15fr); align-items: center; min-height: 280px; position: relative; overflow: hidden; }
.scatter { position: relative; height: 230px; }
.scrap { position: absolute; font-size: .8125rem; line-height: 1.2; color: var(--on-navy); border: 1px solid rgba(220, 227, 255, .38); border-radius: 8px; padding: 6px 9px; background: rgba(255, 255, 255, .05); white-space: nowrap; }
.s1 { left: 0; top: 8px; rotate: -7deg; } .s2 { left: 22%; top: 66px; rotate: 6deg; } .s3 { left: 2%; top: 124px; rotate: -3deg; } .s4 { left: 16%; top: 182px; rotate: 8deg; }
@keyframes drift { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@keyframes march { to { stroke-dashoffset: -24; } }
/* WCAG 2.2.2: the motion starts when the section is in view (sales.js adds .is-moving) and ends within 5 s. */
.is-moving .scrap { animation: drift 2.2s var(--ease) 2; }
.is-moving .s2 { animation-delay: .2s; } .is-moving .s3 { animation-delay: .35s; } .is-moving .s4 { animation-delay: .1s; }
.flow { width: 100%; height: 220px; }
.flow path { stroke: var(--on-navy); stroke-opacity: .55; stroke-width: 1.6; stroke-dasharray: 2 6; vector-effect: non-scaling-stroke; }
.is-moving .flow path { animation: march 1.2s linear 4; }
.tiles { list-style: none; display: grid; gap: 10px; padding-left: 14px; border-left: 2px solid rgba(255, 255, 255, .8); }
.tiles li { display: flex; align-items: center; gap: 12px; min-height: 52px; border-radius: 12px; background: rgba(255, 255, 255, .1); overflow: hidden; color: #fff; }
.tiles .num { width: 48px; align-self: stretch; display: grid; place-items: center; font: 800 1.375rem var(--font-display); }
.tiles .tone-p1 .num { background: var(--p1); } .tiles .tone-p2 .num { background: var(--p2); } .tiles .tone-p3 .num { background: var(--p3); }
.tiles .tl { font: 700 1rem var(--font-display); padding-right: 10px; }
.for-whom { font-size: 1.125rem; max-width: 46rem; color: var(--ink); }

/* ---------- courses ---------- */
.paths { padding: 64px 0; border-top: 1px solid var(--line); }
.path-list { list-style: none; margin-top: 36px; display: grid; gap: 18px; }
.path { border: 1.5px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--surface); display: grid; grid-template-rows: auto 1fr; }
.path-tile { height: 132px; color: #fff; position: relative; display: flex; align-items: flex-end; padding: 16px 20px; }
.path-n { font: 800 3rem/1 var(--font-display); letter-spacing: -0.03em; }
.path-tile .mark { position: absolute; right: 20px; top: 20px; }
.tone-p1 .path-tile { background: var(--p1); } .tone-p2 .path-tile { background: var(--p2); } .tone-p3 .path-tile { background: var(--p3); }
.path-body { padding: 20px 22px 24px; display: grid; gap: 8px; align-content: start; }
.path-body > p { color: var(--ink-muted); }
.course-ex { margin-top: 10px; display: grid; gap: 8px; }
.course-ex-k { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.turn { margin: 0; border-radius: var(--r-control); padding: 10px 12px; font-size: .9375rem; line-height: 1.45; }
.turn span { display: block; font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 2px; }
.turn-a { border: 1.5px dashed #8A93A8; color: var(--ink-muted); }
.turn-b { border: 1.5px solid var(--ink); }
.tone-p1 .turn-b span { color: var(--p1); } .tone-p2 .turn-b span { color: var(--p2); } .tone-p3 .turn-b span { color: var(--p3); }
.course-topics { margin-top: 14px; display: grid; gap: 8px; }
.course-topics ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: t; }
.course-topics li { counter-increment: t; display: grid; grid-template-columns: 26px 1fr; gap: 8px; align-items: baseline; padding: 7px 0; border-top: 1px solid var(--line); font-size: .9375rem; font-weight: 600; color: var(--ink); }
.course-topics li::before { content: counter(t); font-size: .75rem; font-weight: 700; color: var(--ink-muted); }
.course-topics li:last-child::before { content: "★"; font-size: .8125rem; }
.tone-p1 .course-topics li:last-child::before { color: var(--p1); } .tone-p2 .course-topics li:last-child::before { color: var(--p2); } .tone-p3 .course-topics li:last-child::before { color: var(--p3); }

/* ---------- how a lesson works: the approved learning arc, then three previews ---------- */
.how { padding: 64px 0; border-top: 1px solid var(--line); }
.arc { list-style: none; margin-top: 32px; display: grid; gap: 10px; counter-reset: none; }
.arc li { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; align-items: start; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--r-card); }
.arc-n { grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font: 800 1.125rem var(--font-display); }
.arc li:nth-child(4) .arc-n { background: var(--p1); }
.arc-t { font: 700 1.0625rem/1.3 var(--font-display); }
.arc-d { color: var(--ink-muted); font-size: .9375rem; }
.how-screens { margin-top: 32px; display: grid; gap: 28px; }
.how-screens figure { margin: 0; display: grid; gap: 12px; }
.how-screens figcaption { font: 700 1.0625rem/1.3 var(--font-display); }
.how-panel { background: var(--p1t); border-radius: 22px; height: 340px; overflow: hidden; display: flex; justify-content: center; padding-top: 30px; }
.how-screens figure:first-child .how-panel { background: var(--p2t); }
.how-panel .phone { width: 72%; max-width: 264px; height: max-content; border-radius: 30px; box-shadow: 0 20px 40px -16px rgba(15, 26, 58, .35); border-color: rgba(15, 26, 58, .12); }

/* ---------- progress you can see ---------- */
.progress { padding: 64px 0; border-top: 1px solid var(--line); }
.progress-screens { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 28px; }
.progress-screens li { display: grid; gap: 10px; align-content: start; }
.progress-screens h3 { font-size: 1.125rem; margin-top: 4px; }
.progress-screens p { color: var(--ink-muted); }
.progress-panel { background: var(--p1t); border-radius: 22px; height: 340px; overflow: hidden; display: flex; flex-direction: column; align-items: center; padding-top: 30px; }
.progress-panel.tone-p2 { background: var(--p2t); } .progress-panel.tone-p3 { background: var(--p3t); }
.progress-panel.from-bottom { justify-content: flex-end; padding: 0 0 20px; }
.progress-panel.from-bottom .phone { width: 62%; }
.progress-panel .phone { flex: none; width: 72%; max-width: 264px; border-radius: 30px; box-shadow: 0 20px 40px -16px rgba(15, 26, 58, .35); border-color: rgba(15, 26, 58, .12); }

/* ---------- pricing: navy commercial band (02a) ---------- */
.offer { background: var(--navy); color: #fff; padding: 64px 0; }
.offer :focus-visible { outline-color: var(--action); }
.offer-card :focus-visible { outline-color: var(--ink); }
.offer-in { display: grid; gap: 32px; align-items: center; }
.offer .eyebrow { color: var(--on-navy-2); }
.offer-copy { display: grid; gap: 14px; }
.offer-list { list-style: none; display: grid; gap: 12px; margin-top: 10px; color: var(--on-navy); font-size: 1.0625rem; }
.offer-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; }
.offer-list svg { margin-top: 3px; }
.offer-card { background: #fff; color: var(--ink); border-radius: var(--r-sheet); padding: 30px 26px 24px; display: grid; gap: 18px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); width: 100%; max-width: 440px; justify-self: center; }
.offer-name { font: 700 1.0625rem var(--font-display); color: var(--ink-muted); }
.offer-price { display: grid; gap: 4px; }
.offer-price .amount { font: 800 4.25rem/1 var(--font-display); letter-spacing: -0.04em; }
.offer-price .per { font-weight: 600; color: var(--ink-muted); }
/* The money-back guarantee (PDC §35.8; shown only once recorded in the offer facts): an offer fact under the price. */
.offer-card .guarantee { font-size: .9375rem; line-height: 1.45; color: var(--ink-muted); padding-top: 14px; border-top: 1px solid rgba(0, 0, 0, .08); }
.offer-card .guarantee b { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { padding: 64px 0; }
.faq-in { display: grid; gap: 24px; }
.faq-list { border-top: 1.5px solid var(--line); }
.faq details { border-bottom: 1.5px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 16px 4px;
  font: 700 1.125rem/1.3 var(--font-display); letter-spacing: -0.01em; border-radius: var(--r-sm); transition: color .15s var(--ease); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--link); }
.faq-icon { position: relative; width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; border: 1.5px solid var(--line-strong); transition: background-color .15s var(--ease), border-color .15s var(--ease); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; margin: -1px 0 0 -5.5px; background: currentColor; border-radius: 1px; transition: transform .2s var(--ease); }
.faq-icon::after { transform: rotate(90deg); }
.faq details[open] .faq-icon { background: var(--ink); border-color: var(--ink); color: #fff; }
.faq details[open] .faq-icon::after { transform: rotate(0deg); }
.faq details p { padding: 0 48px 22px 4px; color: var(--ink-muted); max-width: 44rem; }

/* ---------- closing call ---------- */
.final { padding: 64px 0; border-top: 1px solid var(--line); }
.final-in { display: grid; gap: 8px; }
.final .price-line { color: var(--ink-muted); }

/* ---------- footer: brand + product, support, legal; discreet disclaimer; seller in a secondary zone ---------- */
.foot { border-top: 1px solid var(--line); padding: 48px 0 32px; color: var(--ink-muted); }
.foot-grid { display: grid; gap: 28px; padding-bottom: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.foot-brand { grid-column: 1 / -1; display: grid; gap: 6px; align-content: start; }
.foot .wordmark { color: var(--ink); justify-self: start; }
.foot-brand p { font-size: .9375rem; }
.foot-h { font: 700 .8125rem var(--font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-bottom: 6px; }
.foot-col ul { list-style: none; display: grid; gap: 0; }
.foot-col a { display: inline-flex; align-items: center; min-height: 40px; color: var(--ink-muted); font-weight: 600; font-size: .9375rem; text-decoration: none; }
.foot-col a:hover { color: var(--ink); text-decoration: underline; }
.foot-col li:not(:has(a)) { min-height: 40px; display: flex; align-items: center; font-size: .9375rem; }
.foot-disclaimer { border-top: 1px solid var(--line); padding-top: 20px; font-size: .8125rem; line-height: 1.6; max-width: 70rem; }
.foot-legal { margin-top: 10px; font-size: .8125rem; line-height: 1.5; }
.foot-legal-k { font-weight: 700; color: var(--ink); }

/* ---------- checkout in a modal over the landing page (the same /checkout page in a same-origin frame) ---------- */
html[data-embed="1"] .co-panel-in { padding-top: 20px; }

/* ---------- S2 checkout (redesign 2026-11-19): a split layout, the order on a navy panel, the form on white ---------- */
.co-shell { display: grid; }
.summary { background: var(--navy); color: var(--on-navy); }
.summary-in { padding: 22px 20px 24px; display: grid; gap: 6px; max-width: 560px; margin: 0 auto; }
.sum-h { font: 700 .8125rem/1.4 var(--font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--on-navy-2); }
.sum-product { font: 700 1.0625rem/1.3 var(--font-display); color: #fff; margin-top: 6px; }
.sum-price { font: 800 clamp(2.25rem, 7vw, 3rem)/1 var(--font-display); letter-spacing: -0.03em; color: #fff; }
.sum-cur { font-size: .45em; font-weight: 700; letter-spacing: 0; color: var(--on-navy-2); vertical-align: .55em; }
.sum-note { color: var(--on-navy-2); font-size: .9375rem; }
.sum-inc { margin-top: 14px; display: grid; gap: 8px; }
.sum-inc h3 { font: 700 .8125rem/1.4 var(--font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--on-navy-2); }
.sum-inc ul { list-style: none; display: grid; gap: 6px; }
.sum-inc li { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; font-size: .9375rem; }
.inc-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--on-navy); }
.inc-p1 { background: #8EA3FF; } .inc-p2 { background: #5FD0AE; } .inc-p3 { background: #C3A2F5; }
.sum-line, .sum-total { display: flex; justify-content: space-between; gap: 16px; }
.sum-line { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(220, 227, 255, .16); color: var(--on-navy-2); font-size: .9375rem; }
.sum-line span:last-child, .sum-total span:last-child { white-space: nowrap; }
.sum-total { padding-top: 10px; margin-top: 4px; border-top: 1px solid rgba(220, 227, 255, .16); color: #fff; font: 800 1.125rem var(--font-display); }

.co-panel-in { padding: 28px 20px 48px; max-width: 560px; margin: 0 auto; display: grid; gap: 20px; }
/* The page's h1 comes first for screen readers; the order panel and the form carry the visible hierarchy (as Stripe does). */
.co-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.co-main, .co-open { display: grid; gap: 24px; }
.co-section { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; }
.co-section h2 { font-size: 1.125rem; letter-spacing: -0.01em; }
.field { display: grid; gap: 6px; }
.field label, .cc-legend { font-weight: 600; font-size: .9375rem; color: var(--ink); }
.field input, .field select, .cc-box { width: 100%; border: 1.5px solid var(--line-strong); border-radius: var(--r-control); background: #fff;
  box-shadow: 0 1px 2px rgba(15, 26, 58, .05); transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.field input, .field select { min-height: 50px; padding: 0 14px; font: 400 1.0625rem var(--font-text); color: var(--ink); }
.field input:hover, .field select:hover, .cc-box:hover { border-color: #A9B1C6; }
/* 08 · form field focus: ink 2 px */
.field input:focus, .field select:focus { border-color: var(--ink); outline: 2px solid var(--ink); outline-offset: 0; }
.field select:invalid { color: var(--ink-muted); }
.field select option { color: var(--ink); }
.cc { border: 0; margin: 0; padding: 0; display: grid; gap: 6px; min-width: 0; }
.cc-legend { padding: 0; margin-bottom: 6px; }
.cc-box { display: grid; grid-template-columns: minmax(0, 1fr) 6.5rem; overflow: hidden; }
.cc-row { position: relative; min-width: 0; }
.cc-row + .cc-row { border-left: 1.5px solid var(--line); }
.cc-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cc-row input { width: 100%; min-height: 50px; border: 0; padding: 0 14px; background: transparent; font: 400 1.0625rem var(--font-text);
  color: var(--ink); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.cc-row input:focus { outline: 2px solid var(--ink); outline-offset: -2px; }
.cc-box:focus-within { border-color: var(--ink); }
/* 4.7:1 on white: the card placeholders are the fields' visible hints. */
.field input::placeholder, .cc-row input::placeholder { color: #6B7489; opacity: 1; }
/* Inline validation: shown on leaving a field or on pressing Buy Now, from the field's validity state only. */
.field-err { display: flex; gap: 6px; align-items: flex-start; color: var(--danger); font-size: .9375rem; font-weight: 600; line-height: 1.4; }
.field-err::before { content: "!"; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: var(--danger); color: #fff;
  font: 800 .75rem/18px var(--font-text); text-align: center; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .cc-box:has([aria-invalid="true"]) { border-color: var(--danger); }
.field input[aria-invalid="true"]:focus, .field select[aria-invalid="true"]:focus { outline-color: var(--danger); }
.cc-row input[aria-invalid="true"] { background: var(--danger-bg); }
.privacy { font-size: .875rem; line-height: 1.55; color: var(--ink-muted); }
.submit-block { display: grid; gap: 12px; }
.co-alert { margin: 0; padding: 12px 14px; border-radius: var(--r-control); background: var(--danger-bg); color: var(--danger); font-weight: 600; font-size: .9375rem; }
.co-alert:empty, .field-err[hidden] { display: none; }
.btn-buy, .oc-actions .btn { min-height: 56px; }
.btn-buy { font-size: 1.0625rem; }
.btn-buy[aria-disabled="true"] { background: var(--action-disabled); color: var(--ink-muted); cursor: not-allowed; box-shadow: none; transform: none; }
.closed-panel { border: 1.5px solid var(--line); border-radius: var(--r-card); padding: 24px; display: grid; gap: 12px; justify-items: start; }
.closed-panel h2 { font-size: 1.625rem; }
.closed-panel .oc-mark { color: var(--navy); }
@media (max-width: 959px) {
  /* Phones and tablets: a compact order panel (price, the three courses inline, total) so the form starts sooner. */
  .summary-in { padding: 18px 20px 20px; gap: 4px; }
  .sum-line { display: none; }
  .sum-inc { margin-top: 10px; }
  .sum-inc h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .sum-inc ul { display: flex; flex-wrap: wrap; gap: 6px 14px; }
  .sum-total { margin-top: 12px; }
}
@media (max-width: 420px) {
  .cc-box { grid-template-columns: minmax(0, 1fr) 6rem; }
  .cc-row input { padding: 0 10px 0 12px; font-size: 1rem; letter-spacing: 0; }
}
@media (min-width: 960px) {
  .co-shell { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100vh - var(--bar-h)); }
  /* The order summary starts on the same vertical line as the header logo (product owner, 2026-11-20): the logo sits at
     the .wrap gutter (20px) inside a centred 1248px wrap, so in this half-width column its x is max(20px, 100% - 604px).
     The content keeps its width (352px) and the column stays navy edge to edge. */
  .summary-in { position: sticky; top: 0; justify-self: stretch; width: 100%; max-width: none; margin: 0;
    padding: 64px 56px 64px max(20px, calc(100% - 604px)); gap: 8px; grid-template-columns: minmax(0, 352px); }
  .summary { display: grid; justify-items: stretch; align-items: start; }
  .co-panel-in { max-width: 480px; margin: 0; padding: 64px 32px 72px 56px; }
  .sum-price { font-size: 3.25rem; }
}

/* ---------- S3 outcome modal: mark, title, body, confirmation, next, one action ---------- */
dialog#outcome { width: min(560px, calc(100% - 32px)); max-height: calc(100% - 32px); border: 0; border-radius: var(--r-sheet);
  padding: 22px 24px 24px; color: var(--ink); box-shadow: 0 24px 64px rgba(6, 12, 32, .35); }
dialog#outcome::backdrop { background: rgba(15, 26, 58, .62); }
.oc-top { display: flex; justify-content: space-between; align-items: flex-start; }
.oc-mark { color: var(--navy); display: inline-flex; }
.oc-mark-error { color: var(--ink); }
.oc-x { width: 44px; height: 44px; margin: -6px -10px 0 0; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.oc-x:hover { background: var(--line); }
dialog#outcome h2 { margin-top: 14px; font-size: clamp(1.5rem, 4.6vw, 1.875rem); line-height: 1.1; letter-spacing: -0.02em; outline-offset: 4px; }
#oc-d { display: grid; gap: 14px; margin-top: 12px; }
.oc-body { color: var(--ink-muted); font-size: 1.0625rem; }
.oc-confirm { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; background: var(--p1t); color: var(--ink);
  border-radius: var(--r-control); padding: 14px 16px; font-weight: 700; }
.oc-confirm svg { color: var(--p1); margin-top: 1px; }
.oc-next { border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 4px; }
.oc-next h3 { font-size: .8125rem; font-family: var(--font-text); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.oc-actions { margin-top: 20px; display: grid; gap: 10px; }

.prose { padding-top: 32px; padding-bottom: 48px; display: grid; gap: 16px; max-width: 720px; }
.prose section { display: grid; gap: 8px; }
.prose h2 { font-size: 1.25rem; }
.prose-date { color: var(--ink-muted); font-size: .9375rem; }

/* ---------- responsive (08 · landing: hero 2-col ≥ 960, stacked below; 1200 px content) ---------- */
@media (max-width: 420px) {
  .familiar-visual { grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1.25fr); padding: 22px 14px; }
  .scrap { font-size: .6875rem; padding: 5px 7px; }
  .tiles { padding-left: 10px; } .tiles .num { width: 38px; font-size: 1.125rem; } .tiles .tl { font-size: .875rem; }
  .how-panel, .progress-panel { height: 300px; }
}
@media (max-width: 639px) {
  .path-tile { height: 96px; }
  .path-n { font-size: 2.5rem; }
}
@media (min-width: 640px) {
  .path-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .how-screens, .progress-screens { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .foot-grid { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: auto; }
}
@media (min-width: 880px) {
  .arc { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .arc li { grid-template-columns: 1fr; row-gap: 6px; }
  .arc-n { grid-row: auto; }
}
@media (min-width: 880px) {
  .bar-nav { display: block; }
}
@media (min-width: 960px) {
  .hero { padding: 72px 0 64px; }
  .hero-in { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 56px; }
  .familiar, .paths, .how, .faq, .final, .offer { padding: 104px 0; }
  .familiar-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); column-gap: 56px; row-gap: 36px; align-items: center; }
  .for-whom { grid-column: 1 / -1; font-size: 1.25rem; }
  .how-panel, .progress-panel { height: 380px; }
  .progress, .how { padding: 104px 0; }
  .offer-in { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 64px; }
  .faq-in { grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 56px; align-items: start; }
  .faq-in h2 { position: sticky; top: calc(var(--bar-h) + 32px); }
  .final-in { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px; }
  .final .cta-row { margin-top: 0; }

}

/* Survey (product owner, 2026-11-18): mobile-first, one column, large tap targets. */
.sv { max-width: 640px; padding-top: 32px; padding-bottom: 56px; display: grid; gap: 16px; }
.sv h1 { font-size: clamp(1.75rem, 5vw, 2.25rem); letter-spacing: -0.02em; }
.sv-intro { color: var(--ink-muted); font-size: 1.0625rem; margin: 0; }
.sv-form { display: grid; gap: 22px; }
.sv-q { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.sv-q legend, .sv-q > label { font: 700 1.0625rem/1.35 var(--font-text); padding: 0; margin-bottom: 10px; }
.sv-q > label { margin-bottom: 0; }
.sv-opts { display: grid; gap: 10px; }
.sv-o { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 12px 16px; border: 1.5px solid var(--line-strong);
  border-radius: var(--r-control); background: var(--surface); cursor: pointer; font-weight: 600; }
.sv-o input { width: 20px; height: 20px; margin: 0; accent-color: var(--ink); flex: none; }
.sv-o:has(input:checked) { border-color: var(--ink); background: var(--p1t); }
.sv-o:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; }
.sv-opt { font-weight: 400; color: var(--ink-muted); font-size: .9375rem; }
.sv textarea { width: 100%; border: 1.5px solid var(--line-strong); border-radius: var(--r-control); padding: 12px 14px;
  font: 400 1rem/1.5 var(--font-text); color: var(--ink); background: var(--surface); resize: vertical; }
.sv textarea:focus { border-color: var(--ink); outline: 2px solid var(--ink); outline-offset: 0; }
.sv-err { margin: 0; padding: 12px 16px; border-radius: var(--r-control); background: #FDECEC; color: #8A1C1C; font-weight: 600; }
.sv-note { margin: 0; color: var(--ink-muted); font-size: .9375rem; }
.pl-form { display: grid; gap: 16px; }
