/* ==========================================================================
   Porn Addiction Solution · site design system ("12 Clear Cinema", Oct 2026)
   One stylesheet for every page: marketing pages, blog hub/library/author, articles.
   Order: 1 tokens · 2 base · 3 layout · 4 components · 5 page sections
          (home, course, about, interior pages, blog) · 6 motion · 7 responsive.
   Page-specific tools keep their own files: assets/assessment.css, assets/breathing.css.
   One type system: Geist for everything, Newsreader only for quoted words (and long-form reading).
   Motion modes are set on <html> before first paint (build.py MODE_SCRIPT):
     .motion  animations, scroll drawing and video allowed
     .still   prefers-reduced-motion: posters only, finished diagram
     .static  automated screenshots: everything in its finished state
     .no-video Save-Data: posters only
   ========================================================================== */

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
  --white: #ffffff;
  --paper: #f4f7f6;
  --paper-2: #ecf2f0;
  --ink: #0f1a19;
  --ink-2: #374442;
  --ink-3: #55625f;
  --line: #e1e7e5;
  --line-2: #cfd8d6;
  --teal: #1e5856;
  --teal-700: #164644;
  --teal-500: #2b776e;
  --teal-300: #7fb5ac;
  --teal-100: #d8e9e5;
  --teal-50: #edf5f3;
  --ochre: #8a6320;
  --rust: #a8482a;
  --night: #0c1615;
  --night-2: #13201f;
  --night-ink: #f1f5f4;
  --night-ink-2: #b9c7c4;
  --mint: #b8e2d9;
  --scrim: 8, 17, 16;

  --f-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-serif: "Newsreader", "Iowan Old Style", Georgia, serif;

  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 34px;

  --sh-1: 0 1px 2px rgba(15, 26, 25, .05), 0 2px 6px rgba(15, 26, 25, .04);
  --sh-2: 0 1px 2px rgba(15, 26, 25, .04), 0 8px 24px -6px rgba(15, 26, 25, .10), 0 24px 48px -20px rgba(15, 26, 25, .14);
  --sh-3: 0 2px 4px rgba(15, 26, 25, .04), 0 18px 40px -12px rgba(15, 26, 25, .16), 0 50px 90px -40px rgba(15, 26, 25, .28);

  --ease: cubic-bezier(.2, .7, .1, 1);
  --hdr-h: 68px;
  --gutter: 40px;
  --bleed: 12px;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 18px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
video, iframe { max-width: 100%; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
svg { display: block; }
[hidden] { display: none !important; }
::selection { background: rgba(30, 88, 86, .16); color: var(--ink); }

:focus-visible { outline: 2.5px solid var(--teal); outline-offset: 3px; border-radius: 8px; }
.screen :focus-visible, .sec--glass :focus-visible, .hero__copy :focus-visible { outline-color: #a6e3d8; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.hidden { display: none !important; }

/* ==========================================================================
   3. Layout
   ========================================================================== */
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { width: 100%; max-width: 800px; margin: 0 auto; padding: 0 var(--gutter); }

.sec { padding: 128px 0; }
.sec--paper { background: var(--paper); }
.tile { border-radius: var(--r-xl); background: var(--paper); }
/* soft teal wash shared by the interior page header and the calm closing band */
.tile--soft {
  background:
    radial-gradient(64% 110% at 100% 0%, rgba(127, 181, 172, .30), transparent 64%),
    radial-gradient(60% 90% at 0% 100%, rgba(255, 255, 255, .85), transparent 70%),
    linear-gradient(165deg, #f1f6f4 0%, #e5eeeb 100%);
}
.sec-head { margin-bottom: 56px; }
.sec-head--split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: end; }
.sec-head__aside { font-size: 19px; color: var(--ink-2); line-height: 1.55; max-width: 30em; }

/* ==========================================================================
   4. Components
   ========================================================================== */

/* ---------- Type ---------- */
.display {
  font-size: clamp(40px, 4.2vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 600;
  text-wrap: balance;
}
.display__hl { color: var(--mint); }
.display__hl--own { display: block; }
.h1 {
  font-size: clamp(38px, 3.9vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.034em;
  font-weight: 600;
  color: var(--ink);
  text-wrap: balance;
}
.h2 {
  font-size: clamp(34px, 3.7vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.032em;
  font-weight: 600;
  text-wrap: balance;
}
.h2--wide { max-width: 18ch; }
.h2--sm { font-size: clamp(30px, 2.9vw, 42px); }
.h3 { font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; }
.lede { font-size: 20px; line-height: 1.55; color: var(--ink-2); max-width: 36em; text-wrap: pretty; }
.eyebrow { font-size: 16px; font-weight: 600; color: var(--teal); margin-bottom: 16px; }
.sec-num {
  display: flex; align-items: center; gap: 12px;
  font-size: 16px; font-weight: 600; color: var(--teal);
  margin-bottom: 18px;
}
.sec-num span {
  font-size: 13px; font-weight: 600; letter-spacing: .04em; font-variant-numeric: tabular-nums;
  color: var(--ink-3); padding: 3px 8px; border: 1px solid var(--line-2); border-radius: 7px;
}
.sec-num--light { color: #a6e3d8; }
.sec-num--light span { color: var(--night-ink-2); border-color: rgba(255,255,255,.2); }

/* ---------- Pills ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 9px; width: fit-content;
  padding: 7px 15px 7px 11px; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: -0.005em; line-height: 1.2;
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pill--dark {
  color: #fff; background: rgba(var(--scrim), .5); border: 1px solid rgba(255, 255, 255, .26);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.pill--dark .pill__dot { background: var(--mint); box-shadow: 0 0 0 4px rgba(184, 226, 217, .18); }
.pill__dot--live { background: #8fe0b5 !important; box-shadow: 0 0 0 4px rgba(143, 224, 181, .2) !important; }
.pill--free { color: var(--teal); background: var(--teal-50); border: 1px solid var(--teal-100); padding: 6px 14px; margin-bottom: 18px; }
/* on light tiles (interior page header) */
.pill--soft { color: var(--teal); background: var(--white); box-shadow: inset 0 0 0 1px var(--teal-100), var(--sh-1); }
.pill--soft .pill__dot { background: var(--teal-500); box-shadow: 0 0 0 4px rgba(43, 119, 110, .14); }

/* ---------- Icons ---------- */
.i-arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); flex: none; }
.ico { flex: none; width: 26px; height: 26px; fill: none; stroke: var(--teal); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }
.ico--lg { width: 36px; height: 36px; stroke-width: 1.4; }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 999px;
  font-size: 16px; font-weight: 600; letter-spacing: -0.01em; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer; border: 0;
  transition: background-color .2s, color .2s, box-shadow .25s var(--ease), transform .25s var(--ease);
}
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 17px; }
.btn--xl { min-height: 58px; padding: 0 28px; font-size: 17.5px; width: 100%; }
.btn--primary {
  background: var(--teal); color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 1px 2px rgba(15,26,25,.18), 0 8px 20px -8px rgba(30,88,86,.55);
}
.btn--primary:hover { background: var(--teal-700); transform: translateY(-1px); }
.btn--ghost { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--light { background: #fff; color: var(--ink); box-shadow: 0 10px 30px -12px rgba(0,0,0,.6); }
.btn--light:hover { background: #e9f4f1; transform: translateY(-1px); }
.btn--line { color: #fff; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); }
.btn--line:hover { background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1.5px #fff; }
.btn--quiet { background: var(--white); color: var(--teal); box-shadow: var(--sh-1), inset 0 0 0 1px var(--line); }
.btn--quiet:hover { box-shadow: var(--sh-2), inset 0 0 0 1px var(--teal-100); }
.btn:hover .i-arrow, .link-arrow:hover .i-arrow { transform: translateX(3px); }
.btn:hover .i-arrow--down { transform: translateY(3px); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  font-weight: 600; font-size: 17px; color: var(--teal); text-decoration: none;
}
.link-arrow--sm { font-size: 16px; }
.link-arrow--sm .i-arrow { width: 16px; height: 16px; }

/* ---------- Header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.hdr::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
}
html.menu-open .hdr::before { background: #fff; }
.hdr.is-scrolled { border-bottom-color: rgba(15, 26, 25, .07); box-shadow: 0 6px 24px -18px rgba(15, 26, 25, .3); }
.hdr__in {
  max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter);
  height: var(--hdr-h); display: flex; align-items: center; gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--teal); text-decoration: none; min-height: 44px; flex: none; }
.brand__mark { width: 34px; height: 28px; }
.brand__name { color: var(--ink); font-weight: 600; font-size: 16px; letter-spacing: -0.02em; line-height: 1.1; }
.brand__br { display: none; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 11px; white-space: nowrap;
  font-size: 15px; font-weight: 500; color: var(--ink-2); text-decoration: none; border-radius: 10px;
  transition: color .2s, background-color .2s;
}
.nav a:hover { color: var(--ink); background: var(--paper); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--paper); box-shadow: inset 0 -2px 0 var(--teal-300); }

.hdr__actions { display: flex; align-items: center; gap: 10px; flex: none; }
.hdr__login { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; font-size: 15px; font-weight: 500; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.hdr__login:hover { color: var(--ink); }

/* Quick exit: a real link to Google (works without JS); pas.js replaces this page in history */
.qx {
  display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 15px 0 12px;
  border-radius: 999px; border: 0; cursor: pointer; text-decoration: none; white-space: nowrap; flex: none;
  background: var(--white); color: var(--ink); font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  box-shadow: inset 0 0 0 1.5px var(--ink);
  transition: background-color .2s, color .2s;
}
.qx svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.qx:hover { background: var(--ink); color: #fff; }

.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 0; cursor: pointer;
  background: var(--paper); align-items: center; justify-content: center; flex: none;
}
.menu-btn__bars { position: relative; width: 18px; height: 12px; }
.menu-btn__bars i { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-btn__bars i:first-child { top: 2px; }
.menu-btn__bars i:last-child { top: 8px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars i:first-child { top: 5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars i:last-child { top: 5px; transform: rotate(-45deg); }

/* ---------- Mobile menu (sits under the header, so logo and Quick exit stay in view) ---------- */
.mnav { position: fixed; inset: var(--hdr-h) 0 0 0; z-index: 49; background: #fff; overflow-y: auto; }
.mnav[hidden] { display: none; }
.mnav__in { max-width: 640px; margin: 0 auto; padding: 18px 24px 40px; display: flex; flex-direction: column; }
.mnav__in > a {
  display: flex; align-items: center; min-height: 58px;
  font-size: 24px; font-weight: 600; letter-spacing: -0.025em; color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.mnav__in > a[aria-current="page"] { color: var(--teal); }
.mnav__foot { display: grid; gap: 10px; margin-top: 28px; }
.mnav__note { margin-top: 18px; font-size: 15px; color: var(--ink-3); }
html.menu-open { overflow: hidden; }

/* ---------- Breadcrumbs ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 15px; color: var(--ink-3); }
.crumbs li { display: inline-flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: "/"; color: var(--line-2); }
.crumbs a { display: inline-block; padding: 6px 0; color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--teal); text-decoration: underline; }

/* ---------- The screen: a rounded film tile (home hero, closing bands) ---------- */
.screen {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: var(--r-xl); background: #0b1514; color: #fff;
}
.screen__media { position: absolute; inset: 0; z-index: -2; }
.screen__media img,
.screen__media video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: var(--obj, 50% 50%);
}
.screen__vid { opacity: 0; transition: opacity 1.4s ease; }
.screen__vid.is-playing { opacity: 1; }
.screen__scrim { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

/* Pause / play: visible, keyboard reachable (WCAG 2.2.2) */
.vidctl {
  position: absolute; top: 20px; right: 20px; z-index: 3;
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; min-width: 44px; padding: 0 16px 0 11px;
  border: 1px solid rgba(255,255,255,.26); border-radius: 999px; cursor: pointer;
  background: rgba(var(--scrim), .6); color: #fff;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 14.5px; font-weight: 600; letter-spacing: -0.005em;
  transition: background-color .2s;
}
.vidctl:hover { background: rgba(var(--scrim), .82); }
.vidctl__ico { position: relative; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid currentColor; flex: none; }
.vidctl__ico::before, .vidctl__ico::after { content: ""; position: absolute; top: 6px; width: 2px; height: 7px; background: currentColor; border-radius: 1px; }
.vidctl__ico::before { left: 6.5px; }
.vidctl__ico::after { left: 10.5px; }
.vidctl.is-paused .vidctl__ico::before {
  left: 7.5px; top: 5px; width: 0; height: 0; border-radius: 0; background: none;
  border-style: solid; border-width: 4.5px 0 4.5px 7px; border-color: transparent transparent transparent currentColor;
}
.vidctl.is-paused .vidctl__ico::after { display: none; }
html.still .vidctl, html.no-video .vidctl, html:not(.motion):not(.static) .vidctl { display: none; }
html.still .screen__vid, html.no-video .screen__vid { display: none; }

/* ---------- Interior page header: the home hero's calmer sibling (light tile, no film) ----------
   <section class="phead [phead--aside]"><div class="phead__tile tile--soft"><div class="wrap phead__in">
     <div class="phead__main"> crumbs · pill--soft · h1 · lede · [cta-row] · [priceline--light] </div>
     [<div class="phead__aside"> facts card etc. </div>] </div></div></section> */
.phead { padding-top: 8px; }
.phead__tile { position: relative; isolation: isolate; overflow: hidden; margin: 0 var(--bleed); border-radius: var(--r-xl); }
/* the course's motif, drawn faintly: a line rising towards the top */
.phead__tile::after {
  content: ""; position: absolute; z-index: -1; right: 0; bottom: 0; width: min(48%, 660px); height: 74%; pointer-events: none; opacity: .62;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 320' preserveAspectRatio='none' fill='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='1' x2='0' y2='0'%3E%3Cstop offset='0' stop-color='%232b776e'/%3E%3Cstop offset='.55' stop-color='%23a87a2c'/%3E%3Cstop offset='1' stop-color='%23b0602f'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 34H640' stroke='%231e5856' stroke-opacity='.16' stroke-dasharray='4 8'/%3E%3Cpath d='M-4 312C170 308 300 284 400 222C482 172 560 104 652 30' stroke='url(%23g)' stroke-width='3' stroke-linecap='round' stroke-opacity='.34'/%3E%3C/svg%3E") no-repeat right bottom / 100% 100%;
}
.phead__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px 72px; align-items: end; padding-top: 60px; padding-bottom: 76px; }
.phead--aside .phead__in { grid-template-columns: minmax(0, 7fr) minmax(0, 4.4fr); }
.phead__main { max-width: 800px; }
.phead .crumbs { margin-bottom: 26px; }
.phead .pill { margin-bottom: 22px; }
.phead .h1 { max-width: 17ch; }
.phead .lede { margin-top: 22px; }
.phead .cta-row { margin-top: 32px; }

/* ---------- Price line (hero: on film; --light: on white or a light tile) ---------- */
.priceline {
  display: flex; flex-wrap: wrap; gap: 4px 0; margin-top: 26px; padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.18); max-width: 36em;
  font-size: 16px; line-height: 1.5; color: #dbe6e3;
}
.priceline li { position: relative; }
.priceline li + li + li::before { content: "\B7"; display: inline-block; padding: 0 10px; color: var(--mint); font-weight: 700; }
.priceline li:first-child { width: 100%; font-size: 18px; padding-left: 16px; }
.priceline li:first-child::before { content: ""; position: absolute; left: 0; top: .58em; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
.priceline strong { color: #fff; font-weight: 600; }
.priceline__fine { color: #c3d1ce; }
.priceline--light { color: var(--ink-2); border-top-color: rgba(15, 26, 25, .1); }
.priceline--light strong { color: var(--ink); }
.priceline--light li + li + li::before { color: var(--teal-300); }
.priceline--light li:first-child::before { background: var(--teal); }
.priceline--light .priceline__fine { color: var(--ink-3); }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { position: relative; border-radius: var(--r-lg); background: var(--paper); padding: 32px; }
.card--white { background: var(--white); box-shadow: var(--sh-1), inset 0 0 0 1px var(--line); }
.card h3 { font-size: 22px; line-height: 1.25; letter-spacing: -0.02em; font-weight: 600; }
.card > p { font-size: 17px; color: var(--ink-2); line-height: 1.6; margin-top: 8px; }
.card .ico--lg { margin-bottom: 20px; }
.card .parts__n { margin-bottom: 20px; }
.card h3 + .ticks { margin-top: 20px; }

/* ---------- Numbered part list (home) and part badge ---------- */
.parts { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; }
.parts li { display: grid; grid-template-columns: 56px 1fr; gap: 0 8px; padding: 26px 0 28px; border-top: 1px solid var(--line); }
.parts li:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
.parts__n {
  font-size: 15px; font-weight: 600; color: var(--teal); font-variant-numeric: tabular-nums;
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 11px;
  background: var(--teal-50); border: 1px solid var(--teal-100); transition: background-color .25s, color .25s;
}
.parts li:hover .parts__n { background: var(--teal); color: #fff; border-color: var(--teal); }
.parts h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.parts__meta { font-size: 15px; font-weight: 500; color: var(--ink-3); margin: 4px 0 10px; font-variant-numeric: tabular-nums; }
.parts p:not(.parts__meta) { color: var(--ink-2); font-size: 17px; line-height: 1.6; max-width: 30em; }

/* proportional bar: one segment per part, width = minutes (--g, generated) */
.runbar { margin-bottom: 48px; }
.runbar__track { display: flex; gap: 4px; height: 48px; }
.runbar__track span {
  flex: var(--g) 1 0; min-width: 0; border-radius: 10px;
  display: flex; align-items: center; padding-left: 12px;
  font-size: 14px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums;
  transform-origin: left center; transition: transform .9s var(--ease), box-shadow .25s;
}
.runbar__track span:nth-child(1) { background: #c6e0da; }
.runbar__track span:nth-child(2) { background: #a9d0c7; }
.runbar__track span:nth-child(3) { background: #8bbfb4; }
.runbar__track span:nth-child(4) { background: #6dada1; }
.runbar__track span:nth-child(5) { background: #5aa397; }
.runbar__track span:nth-child(6) { background: #2b766f; color: #fff; }
.runbar__track span:nth-child(7) { background: #286d68; color: #fff; }
.runbar__track span:nth-child(8) { background: #1e5856; color: #fff; }
.runbar__track span.is-hot { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); }
.runbar__legend { display: flex; justify-content: space-between; margin-top: 12px; font-size: 15px; color: var(--ink-3); }

/* ---------- Lesson rows (course page; generated by gen_curriculum.py) ---------- */
.lessons li { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 4px 12px; padding: 16px 0 17px; border-top: 1px solid var(--line); }
.lessons__n { grid-row: 1 / span 2; font-size: 15px; font-weight: 600; color: var(--teal); font-variant-numeric: tabular-nums; padding-top: 2px; }
.lessons__t { font-size: 17.5px; font-weight: 600; letter-spacing: -0.012em; line-height: 1.4; color: var(--ink); text-wrap: pretty; }
.lessons__m { font-size: 15px; color: var(--ink-3); white-space: nowrap; font-variant-numeric: tabular-nums; padding-top: 2px; }
.lessons__d { grid-column: 2 / -1; font-size: 16.5px; color: var(--ink-2); line-height: 1.55; max-width: 40em; text-wrap: pretty; }
.lessons--plain li { grid-template-columns: minmax(0, 1fr) auto; }
.lessons--plain .lessons__d { grid-column: 1 / -1; }

/* ---------- Tick lists ---------- */
.ticks { display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 38px; font-size: 17px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e5856' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.ticks--no li::before {
  background: #f7efe9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8482a' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M6.5 12h11'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ---------- The craving gradient figure (a teaching diagram; never asks about the visitor's own urge) ---------- */
.gfig {
  position: relative; display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  background: var(--white); border-radius: var(--r-lg); padding: 40px 44px 30px 30px;
  box-shadow: var(--sh-2);
}
.gfig__plot { position: relative; }
.gfig__svg { width: 100%; height: auto; overflow: visible; font-family: var(--f-sans); }
.gfig__grid line { stroke: #edf1f0; stroke-width: 1; }
.gfig__top { stroke: var(--ink-3); stroke-width: 1.2; stroke-dasharray: 5 6; opacity: .7; }
.gfig__axis { fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gfig__lbl { font-size: 15px; fill: var(--ink-3); font-weight: 500; }
.gfig__lbl--axis { fill: var(--ink); font-weight: 600; font-size: 16px; }
.gfig__lbl--top { font-size: 14.5px; }
.gfig__ghost { fill: none; stroke: #c9d3d1; stroke-width: 2; stroke-dasharray: 1.5 7; stroke-linecap: round; opacity: 0; transition: opacity .4s; }
.gfig__area { fill: url(#gArea); }
.gfig__line { fill: none; stroke: url(#gLine); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; }
.gfig__lead { stroke: var(--ink-3); stroke-width: 1.3; stroke-dasharray: 1.5 5; stroke-linecap: round; opacity: .7; transition: opacity .5s ease; }
.gfig__pt { transition: opacity .45s ease; }
.gfig__pt .ring { fill: #fff; stroke-width: 2.4; }
.gfig__pt[data-k="A"] .ring { stroke: #2b776e; } .gfig__pt[data-k="A"] .core { fill: #2b776e; }
.gfig__pt[data-k="B"] .ring { stroke: #a87a2c; } .gfig__pt[data-k="B"] .core { fill: #a87a2c; }
.gfig__pt[data-k="C"] .ring { stroke: #b0502f; } .gfig__pt[data-k="C"] .core { fill: #b0502f; }
.gfig__ptl { font-size: 17px; font-weight: 700; fill: var(--ink); text-anchor: middle; }
.gfig__head { display: none; transition: opacity .3s; }
.gfig__head.is-hidden { opacity: 0; }
.gfig__head .halo { fill: none; stroke-width: 2; opacity: .35; }
.gfig__head .dot { stroke: #fff; stroke-width: 2.5; }
/* scroll drawing only inside [data-grad] (home); elsewhere the figure is shown finished */
.motion [data-grad] .gfig__ghost, .gp-preview [data-grad] .gfig__ghost { opacity: 1; }
.motion [data-grad] .gfig__lead:not(.is-on), .motion [data-grad] .gfig__pt:not(.is-on),
.gp-preview [data-grad] .gfig__lead:not(.is-on), .gp-preview [data-grad] .gfig__pt:not(.is-on) { opacity: 0; }
.motion [data-grad] .gfig__head, .gp-preview [data-grad] .gfig__head { display: block; }

.gfig__keys { position: relative; }
.gkey { position: absolute; left: 26px; right: 0; transform: translateY(-50%); }
.gkey__tag, .gkey p, .gkey__tag b { transition: color .45s ease, background-color .45s ease, box-shadow .45s ease; }
/* not reached yet (motion only): quieter, but still readable */
.motion [data-grad] .gkey:not(.is-on) .gkey__tag, .gp-preview [data-grad] .gkey:not(.is-on) .gkey__tag { color: var(--ink-3); }
.motion [data-grad] .gkey:not(.is-on) p, .gp-preview [data-grad] .gkey:not(.is-on) p { color: var(--ink-3); }
.motion [data-grad] .gkey:not(.is-on) .gkey__tag b, .gp-preview [data-grad] .gkey:not(.is-on) .gkey__tag b { background: #fff !important; color: var(--ink-3); box-shadow: inset 0 0 0 1.5px #a9b5b2; }
.gkey[data-k="C"] { top: 24.3%; }
.gkey[data-k="B"] { top: 52.7%; }
.gkey[data-k="A"] { top: 75.8%; }
.gkey__tag { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; letter-spacing: -0.015em; margin-bottom: 5px; }
.gkey__tag b {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  font-size: 14px; font-weight: 700; color: #fff; background: var(--ink); flex: none;
  transition: box-shadow .4s;
}
.gkey[data-k="A"] .gkey__tag b { background: var(--teal-500); }
.gkey[data-k="B"] .gkey__tag b { background: var(--ochre); }
.gkey[data-k="C"] .gkey__tag b { background: var(--rust); }
.gkey.is-now .gkey__tag b { box-shadow: 0 0 0 5px rgba(15, 26, 25, .09); }
.gkey p { font-size: 17px; line-height: 1.5; color: var(--ink-2); max-width: 22em; }
.gfig__cap { grid-column: 1 / -1; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15.5px; line-height: 1.55; color: var(--ink-3); max-width: 62em; }

/* ---------- Questions: accordion list (.faq__list) and the split layout (.faq-split) ---------- */
.faq-split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 72px; align-items: start; }
.faq-split__head { position: sticky; top: calc(var(--hdr-h) + 40px); }
.faq-split__head .h2 { margin-bottom: 16px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 74px; padding: 18px 0; font-size: 20px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.35; color: var(--ink); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary:hover { color: var(--teal); }
.pm { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--paper); transition: background-color .25s; }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.8px; border-radius: 2px; background: var(--ink); transform: translate(-50%, -50%); }
.pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .35s var(--ease); }
details[open] .pm { background: var(--teal); }
details[open] .pm::before { background: #fff; }
details[open] .pm::after { transform: translate(-50%, -50%) rotate(0deg); background: #fff; }
.faq__a { padding: 0 64px 26px 0; }
.faq__a p { font-size: 18px; color: var(--ink-2); line-height: 1.65; max-width: 40em; }
.faq__a p + p { margin-top: 12px; }
.faq__a a { font-weight: 600; }

/* ---------- How enrolling works (numbered steps on a rail) ---------- */
.enrolsteps .h3 { font-size: 30px; letter-spacing: -0.03em; margin-bottom: 26px; }
.enrolsteps ol { position: relative; display: grid; gap: 4px; }
.enrolsteps ol::before { content: ""; position: absolute; left: 19px; top: 24px; bottom: 24px; width: 1.5px; background: linear-gradient(var(--teal-100), var(--line)); }
.enrolsteps li { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 18px; padding: 14px 0; }
.enrolsteps__n { position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 1.5px var(--teal-100), var(--sh-1); font-size: 15px; font-weight: 600; color: var(--teal); }
.enrolsteps strong { display: block; font-size: 18px; font-weight: 600; letter-spacing: -0.015em; padding-top: 7px; line-height: 1.35; }
.enrolsteps p { font-size: 17px; color: var(--ink-2); margin-top: 2px; }
.enrolsteps a { font-weight: 600; }

/* ---------- Price card ---------- */
.buy { margin-top: 96px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.price { position: relative; }
.price::before { content: ""; position: absolute; inset: -40px -30px; z-index: -1; border-radius: 48px; background: radial-gradient(60% 60% at 50% 40%, rgba(127, 181, 172, .32), transparent 70%); filter: blur(10px); }
.price__card { position: relative; padding: 40px; border-radius: 32px; background: #fff; box-shadow: 0 0 0 1px rgba(15,26,25,.06), 0 2px 4px rgba(15,26,25,.04), 0 24px 48px -16px rgba(15,26,25,.16), 0 70px 110px -50px rgba(30,88,86,.45); }
.price__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.price__label { font-size: 16px; font-weight: 600; color: var(--teal); }
.price__badge { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-3); padding: 5px 11px 5px 9px; border-radius: 999px; background: var(--paper); }
.price__badge svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.price__amt { display: flex; align-items: flex-start; margin: 18px 0 26px; font-size: 104px; line-height: .9; font-weight: 600; letter-spacing: -0.06em; color: var(--ink); }
.price__cur { font-size: .42em; letter-spacing: 0; margin: .14em .06em 0 0; color: var(--ink-2); font-weight: 500; }
.price__usd { align-self: flex-end; font-size: 17px; letter-spacing: 0; margin: 0 0 .5em 12px; font-weight: 600; color: var(--ink-3); }
.price__list { display: grid; gap: 12px; padding: 22px 0 26px; border-top: 1px solid var(--line); margin-bottom: 4px; }
.price__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; }
.price__list svg { flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--teal-50); fill: none; stroke: var(--teal); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.price__fine { margin-top: 18px; font-size: 15px; line-height: 1.55; color: var(--ink-3); }
.price__schol { margin-top: 12px; font-size: 15.5px; color: var(--ink-2); padding-top: 14px; border-top: 1px solid var(--line); }
.price__schol a { font-weight: 600; display: inline-block; padding: 10px 0; margin: -10px 0; }

/* ---------- Credentials card ---------- */
.cred__card { position: relative; padding: 38px 40px 32px; border-radius: 32px; background: #fff; box-shadow: var(--sh-3); overflow: hidden; }
.cred__card::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 140px; pointer-events: none; background: radial-gradient(120% 100% at 0% 0%, rgba(127, 181, 172, .22), transparent 60%), linear-gradient(180deg, var(--teal-50), rgba(237, 245, 243, 0)); }
.cred__card > * { position: relative; z-index: 1; }
.cred__head { display: flex; align-items: center; gap: 20px; }
.cred__mono { flex: none; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(150deg, #2d7470, #0f1a19); box-shadow: 0 0 0 5px #fff, 0 0 0 6px var(--teal-100), 0 16px 26px -10px rgba(30,88,86,.5); }
.cred__mono span { font-size: 27px; font-weight: 600; letter-spacing: -0.03em; color: #fff; }
.cred__name { font-size: 32px; font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; }
.cred__role { margin-top: 6px; color: var(--ink-2); font-size: 17px; line-height: 1.5; }
.cred__h { margin-top: 28px; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.cred__list { margin-top: 10px; border-top: 1px solid var(--line); }
.cred__list li { display: grid; gap: 2px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.cred__list strong { font-size: 17px; font-weight: 600; color: var(--ink); line-height: 1.45; letter-spacing: -0.01em; }
.cred__list span { font-size: 16.5px; color: var(--ink-2); line-height: 1.5; }
.cred__reg { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding: 14px 16px; border-radius: 16px; background: var(--teal-50); border: 1px solid var(--teal-100); }
.cred__reg svg { width: 28px; height: 28px; flex: none; fill: none; stroke: var(--teal); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cred__reg span { display: block; font-size: 15px; color: var(--ink-2); }
.cred__reg strong { display: block; font-size: 17px; font-weight: 600; letter-spacing: .04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.cred .link-arrow { margin-top: 8px; }

/* ---------- Closing bands: the film (home, course) and the calm tile (other pages) ---------- */
.sec.sec--close { padding: 40px var(--bleed) var(--bleed); }
.screen--close { min-height: 600px; display: flex; align-items: center; --txt-r: calc(max(40px, 50% - 600px) + 620px); --obj: 50% 60%; }
.screen--close .screen__scrim {
  background:
    linear-gradient(90deg,
      rgba(var(--scrim), .86) 0,
      rgba(var(--scrim), .78) calc(var(--txt-r) - 300px),
      rgba(var(--scrim), .68) calc(var(--txt-r) - 60px),
      rgba(var(--scrim), .5) calc(var(--txt-r) + 40px),
      rgba(var(--scrim), .2) calc(var(--txt-r) + 260px),
      rgba(var(--scrim), .08) calc(var(--txt-r) + 480px)),
    linear-gradient(0deg, rgba(var(--scrim), .4) 0, rgba(var(--scrim), 0) 30%);
}
.screen--close .screen__in { position: relative; z-index: 1; padding-top: 96px; padding-bottom: 96px; }
.close__copy { max-width: 620px; }
.close__copy .pill { margin-bottom: 24px; }
.h2--close { color: #fff; font-size: clamp(38px, 4.3vw, 62px); margin-bottom: 34px; max-width: 13ch; }
.close__notice { margin-top: 28px; font-size: 16px; line-height: 1.55; color: #d3dfdc; max-width: 32em; }
/* notify form on the film, while enrolment is closed */
.close__copy .notify { display: flex; flex-wrap: wrap; gap: 10px; max-width: 520px; }
.close__copy .notify .input { flex: 1 1 240px; min-height: 54px; border-radius: 999px; padding: 0 22px; border: 0; }
.close__copy .form-ok { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); color: #fff; }
.close__copy .form-error { color: #ffc9b8; }
.close__fine { margin-top: 12px; font-size: 15px; color: #c3d1ce; }

.sec.sec--cta { padding: 40px var(--bleed) var(--bleed); }
.cta-band { border-radius: var(--r-xl); }
.cta-band__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 56px; align-items: end; padding-top: 96px; padding-bottom: 96px; }
.cta-band .h2 { max-width: 16ch; margin-bottom: 32px; }
.cta-band__notice { font-size: 16px; line-height: 1.6; color: var(--ink-2); padding-left: 18px; border-left: 2px solid var(--teal-300); max-width: 30em; }
.cta-band__notice strong { color: var(--ink); font-weight: 600; }
.cta-band__sub { margin: -16px 0 30px; font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 34em; text-wrap: pretty; }
.cta-band__sub a { font-weight: 600; }

/* ---------- Footer ---------- */
.ftr { background: var(--paper); padding: 80px 0 40px; margin-top: 12px; border-top: 1px solid var(--line); }
.ftr__top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; }
.ftr__brand p { margin-top: 14px; font-size: 16.5px; color: var(--ink-2); max-width: 30em; }
.ftr__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ftr__cols h3 { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.ftr__cols a { display: flex; align-items: center; min-height: 40px; font-size: 16px; color: var(--ink-2); text-decoration: none; }
.ftr__cols a:hover { color: var(--teal); text-decoration: underline; }
.ftr__safety { display: flex; gap: 14px; align-items: flex-start; margin-top: 56px; padding: 22px 24px; border-radius: var(--r-md); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.ftr__safety svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; margin-top: 3px; }
.ftr__safety p { font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.ftr__safety a { font-weight: 600; }
.ftr__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 28px; font-size: 15px; color: var(--ink-3); }

/* ---------- Forms (notify, contact, scholarship) ---------- */
.input, .field input, .field textarea, .field select {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: #fff;
  font: 400 16.5px/1.4 var(--f-sans); color: var(--ink);
}
.input:focus, .field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(30,88,86,.15); }
.form-error { color: #9b2c1f; font-size: 15px; margin-top: 10px; }
.form-ok { background: var(--teal-50); border: 1px solid var(--teal-100); color: var(--teal-700); border-radius: 14px; padding: 16px 18px; }

/* ---------- Old button names, still written by assessment.js into its results ---------- */
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 1px 2px rgba(15,26,25,.18), 0 8px 20px -8px rgba(30,88,86,.55); }
.btn-primary:hover { background: var(--teal-700); color: #fff; }
.btn-ghost { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-primary, .btn-ghost { min-height: 50px; padding: 0 22px; }
.btn svg:not(.i-arrow) { width: 16px; height: 16px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Callouts and notes ---------- */
.callout { padding: 22px 24px; border-radius: var(--r-md); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.callout--soft { background: var(--teal-50); box-shadow: inset 0 0 0 1px var(--teal-100); }
.callout--alert { background: #fbf4ef; box-shadow: inset 3px 0 0 var(--rust), inset 0 0 0 1px #efdccf; }
.callout > :first-child { margin-top: 0; }
.callout > :last-child { margin-bottom: 0; }
.callout h2, .callout h3 { font-size: 19px; line-height: 1.3; letter-spacing: -0.015em; font-weight: 600; color: var(--ink); margin: 0 0 8px; }
.callout p { font-size: 16.5px; line-height: 1.6; color: var(--ink-2); }
.callout p + p, .callout p + ul, .callout ul + p { margin-top: 10px; }
/* the safety note (same look as the footer's) */
.note { display: flex; gap: 14px; align-items: flex-start; padding: 22px 24px; border-radius: var(--r-md); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.note > svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; margin-top: 2px; }
.note b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.note p { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.note p + p { margin-top: 8px; }
.note a { font-weight: 600; }

/* ---------- Prose: long-form text (.prose on legal pages; .prose-pas wraps article bodies) ---------- */
:is(.prose, .prose-pas) { font-size: 18px; line-height: 1.75; color: var(--ink-2); }
:is(.prose, .prose-pas) p, :is(.prose, .prose-pas) ul, :is(.prose, .prose-pas) ol, :is(.prose, .prose-pas) blockquote, :is(.prose, .prose-pas) table, :is(.prose, .prose-pas) .table-scroll, :is(.prose, .prose-pas) .callout { margin: 0 0 1.15em; }
:is(.prose, .prose-pas) > :first-child { margin-top: 0; }
:is(.prose, .prose-pas) > :last-child { margin-bottom: 0; }
:is(.prose, .prose-pas) h2 { font-size: clamp(25px, 2.3vw, 31px); line-height: 1.2; letter-spacing: -0.026em; font-weight: 600; color: var(--ink); margin: 2.1em 0 .6em; text-wrap: balance; scroll-margin-top: calc(var(--hdr-h) + 24px); }
:is(.prose, .prose-pas) h3 { font-size: 20px; line-height: 1.3; letter-spacing: -0.015em; font-weight: 600; color: var(--ink); margin: 1.7em 0 .45em; scroll-margin-top: calc(var(--hdr-h) + 24px); }
:is(.prose, .prose-pas) a { color: var(--teal); text-decoration: underline; text-decoration-color: rgba(30, 88, 86, .35); text-underline-offset: 3px; }
:is(.prose, .prose-pas) a:hover { text-decoration-color: var(--teal); }
:is(.prose, .prose-pas) strong, :is(.prose, .prose-pas) b { color: var(--ink); font-weight: 600; }
:is(.prose, .prose-pas) ul, :is(.prose, .prose-pas) ol { padding-left: 1.35em; }
:is(.prose, .prose-pas) ul { list-style: disc; }
:is(.prose, .prose-pas) ol { list-style: decimal; }
:is(.prose, .prose-pas) li { margin: 0 0 .45em; padding-left: .25em; }
:is(.prose, .prose-pas) li::marker { color: var(--teal-500); }
:is(.prose, .prose-pas) blockquote { padding: 4px 0 4px 22px; border-left: 3px solid var(--teal-300); font-family: var(--f-serif); font-style: italic; font-size: 1.12em; line-height: 1.55; color: var(--ink); }
:is(.prose, .prose-pas) hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
:is(.prose, .prose-pas) code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .86em; padding: .12em .4em; border-radius: 6px; background: var(--paper); color: var(--ink); overflow-wrap: anywhere; }
:is(.prose, .prose-pas) img { border-radius: var(--r-md); }
/* tables: a rounded frame; on phones they scroll sideways inside it */
:is(.prose, .prose-pas) table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 16px; line-height: 1.5; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
:is(.prose, .prose-pas) th, :is(.prose, .prose-pas) td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); }
:is(.prose, .prose-pas) th { background: var(--paper); color: var(--ink); font-weight: 600; font-size: 15px; }
:is(.prose, .prose-pas) tbody tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll table { min-width: 560px; }

/* ---------- Guide cards (blog hub, related guides) ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.guide-card {
  display: flex; flex-direction: column; padding: 28px 28px 24px; border-radius: var(--r-lg); background: var(--paper);
  color: var(--ink); text-decoration: none; transition: background-color .25s, box-shadow .3s var(--ease), transform .3s var(--ease);
}
.guide-card:hover { background: var(--white); box-shadow: var(--sh-2), inset 0 0 0 1px var(--line); transform: translateY(-2px); }
.guide-card .dk { font-size: 14px; font-weight: 600; color: var(--teal); }
.guide-card h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.02em; font-weight: 600; margin: 10px 0 10px; text-wrap: balance; }
.guide-card p { font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.guide-card .meta { margin-top: auto; padding-top: 18px; font-size: 14px; color: var(--ink-3); }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.related-card {
  display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 16px;
  background: var(--paper); color: var(--ink); font-weight: 600; font-size: 16.5px; line-height: 1.35; text-decoration: none;
  transition: background-color .2s, color .2s;
}
.related-card:hover { background: var(--teal-50); color: var(--teal); }
.related-card svg { width: 18px; height: 18px; flex: none; color: var(--teal); }

/* ---------- Byline and author box (articles) ---------- */
.mono { flex: none; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(150deg, #2d7470, #0f1a19); color: #fff; font-weight: 600; letter-spacing: -0.03em; object-fit: cover; }
.byline { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(15, 26, 25, .1); }
.byline .mono { width: 48px; height: 48px; font-size: 17px; box-shadow: 0 0 0 3px #fff; }
.byline p { font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }
.byline .dates { color: var(--ink-3); font-size: 14.5px; margin-top: 2px; }
.byline a { color: var(--teal); font-weight: 600; text-decoration: none; }
.byline a:hover { text-decoration: underline; }
.author-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; padding: 28px 30px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--sh-2); }
.author-card::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 110px; pointer-events: none; background: radial-gradient(120% 100% at 0% 0%, rgba(127, 181, 172, .2), transparent 60%), linear-gradient(180deg, var(--teal-50), rgba(237, 245, 243, 0)); }
.author-card > * { position: relative; z-index: 1; }
.author-card .mono { width: 64px; height: 64px; font-size: 23px; box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--teal-100); }
.author-card h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.author-card .role { font-size: 15px; color: var(--ink-3); margin: 2px 0 10px; }
.author-card p { font-size: 16.5px; line-height: 1.6; color: var(--ink-2); }
.author-card a { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; font-weight: 600; text-decoration: none; }

/* ---------- Chips (in-page links: FAQ topics, library topics) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 15px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-2); font-size: 15px; font-weight: 500; text-decoration: none; transition: box-shadow .2s, color .2s; }
.chips a:hover { color: var(--teal); box-shadow: inset 0 0 0 1.5px var(--teal); }
.phead .chips { margin-top: 30px; }

/* ---------- Form fields (scholarship) ---------- */
.form-card { padding: 36px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--sh-2), inset 0 0 0 1px var(--line); }
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field label { font-weight: 600; font-size: 16px; color: var(--ink); }
.field .hint { font-size: 15px; line-height: 1.5; color: var(--ink-3); margin-top: -2px; }
.field textarea { min-height: 128px; resize: vertical; }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form .input { flex: 1 1 240px; }
.small { font-size: 15px; line-height: 1.55; }
.faint { color: var(--ink-3); }

/* ==========================================================================
   5. Page sections
   ========================================================================== */

/* ---------- Home: hero (film tile + copy) ---------- */
.hero { position: relative; padding-top: 8px; }
.hero__top { display: grid; grid-template-columns: minmax(0, 1fr); }
.hero__top > * { grid-area: 1 / 1; }
.screen--hero {
  margin: 0 var(--bleed);
  min-height: clamp(620px, calc(100vh - var(--hdr-h) - 8px - 64px), 840px);
  min-height: clamp(620px, calc(100svh - var(--hdr-h) - 8px - 64px), 840px);
  --txt-r: calc(max(40px, 50% - 600px) + 640px);
}
.screen--hero .screen__scrim {
  background:
    linear-gradient(90deg,
      rgba(var(--scrim), .86) 0,
      rgba(var(--scrim), .78) calc(var(--txt-r) - 320px),
      rgba(var(--scrim), .68) calc(var(--txt-r) - 90px),
      rgba(var(--scrim), .54) calc(var(--txt-r) + 10px),
      rgba(var(--scrim), .24) calc(var(--txt-r) + 230px),
      rgba(var(--scrim), .07) calc(var(--txt-r) + 470px)),
    linear-gradient(0deg, rgba(var(--scrim), .5) 0, rgba(var(--scrim), 0) 34%),
    linear-gradient(180deg, rgba(var(--scrim), .3) 0, rgba(var(--scrim), 0) 16%);
}
.hero__copy {
  position: relative; z-index: 2; align-self: center;
  width: 100%; max-width: 1280px; margin: 0 auto; padding: 56px var(--gutter) 100px;
  pointer-events: none;
}
.hero__copy > * { pointer-events: auto; max-width: 640px; }
.hero__title { color: #fff; }
.hero__title .pill { margin-bottom: 24px; }
.hero .display { color: #fff; }
.hero__lead { margin-top: 22px; font-size: 18.5px; line-height: 1.55; color: #e9f0ee; max-width: 31em; text-wrap: pretty; }
.hero__rest .cta-row { margin-top: 30px; }
.hero__enrol { background: #fff; color: var(--ink); box-shadow: 0 10px 30px -12px rgba(0,0,0,.6); }
.hero__enrol:hover { background: #e9f4f1; transform: translateY(-1px); }
.hero__inside { color: #fff; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); }
.hero__inside:hover { background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1.5px #fff; }

/* Video sits right of the text on wide screens, feathered into the dark */
@media (min-width: 1200px) {
  .screen--hero .screen__media { left: 15%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%); mask-image: linear-gradient(90deg, transparent 0, #000 16%); }
  .screen--hero { --obj: 50% 46%; }
}

/* ---------- Home: devices + trust under the film ---------- */
.hero__below { position: relative; z-index: 3; }
.stage { position: relative; }
.stage__devices { position: relative; padding: 0 0 40px 11%; }

.laptop { position: relative; width: 100%; }
.laptop::after {
  content: ""; position: absolute; left: 4%; right: 4%; bottom: -26px; height: 40px; z-index: -1;
  background: radial-gradient(50% 50% at 50% 50%, rgba(15, 26, 25, .32), transparent 70%); filter: blur(8px);
}
.laptop__lid {
  position: relative; background: linear-gradient(180deg, #2a2d30, #17191b);
  border-radius: 2.6% 2.6% 0 0 / 4% 4% 0 0; padding: 2.1% 2.1% 2.6%;
  box-shadow: 0 0 0 1.5px #c3c8cb, inset 0 0 0 1px rgba(255,255,255,.08), 0 40px 80px -36px rgba(0, 0, 0, .55);
}
.laptop__cam { position: absolute; top: .8%; left: 50%; width: .8%; aspect-ratio: 1; border-radius: 50%; background: #3b4044; transform: translateX(-50%); }
.laptop__screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: .6%; background: #fff; container-type: inline-size; }
.laptop__base {
  position: relative; height: 0; padding-bottom: 2.3%; width: 112%; margin-left: -6%;
  background: linear-gradient(180deg, #f4f5f6 0%, #e1e4e6 30%, #c6cacd 72%, #a7acb0 100%);
  border-radius: 3px 3px 1.8% 1.8% / 3px 3px 70% 70%;
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(0,0,0,.12), 0 1px 2px rgba(15, 26, 25, .18);
}
.laptop__base span { position: absolute; top: 0; left: 50%; width: 14%; height: 38%; transform: translateX(-50%); background: linear-gradient(180deg, #b9bdc1, #d3d6d9); border-radius: 0 0 9px 9px; }

/* course UI inside the laptop (cqw units scale with the screen) */
.ui { height: 100%; display: flex; flex-direction: column; background: #fbfcfc; color: var(--ink); font-size: 1.25cqw; line-height: 1.3; }
.ui__bar { height: 4.6cqw; flex: none; display: flex; align-items: center; gap: 1cqw; padding: 0 1.6cqw; background: #f1f4f3; border-bottom: 1px solid #e2e7e6; }
.ui__lights { display: flex; gap: .7cqw; width: 8cqw; }
.ui__lights i { width: 1cqw; height: 1cqw; border-radius: 50%; background: #ff5f57; }
.ui__lights i:nth-child(2) { background: #febc2e; }
.ui__lights i:nth-child(3) { background: #28c840; }
.ui__bar-sp { width: 8cqw; }
.ui__url { flex: 1; max-width: 42cqw; margin: 0 auto; height: 2.8cqw; border-radius: .8cqw; display: flex; align-items: center; justify-content: center; gap: .5cqw; background: #fff; border: 1px solid #e2e7e6; color: #5c6967; font-size: 1.2cqw; }
.ui__url svg { width: 1.3cqw; height: 1.3cqw; fill: none; stroke: currentColor; stroke-width: 2.2; }
.ui__body { flex: 1; display: grid; grid-template-columns: 23cqw 1fr; min-height: 0; }
.ui__side { border-right: 1px solid #e7eceb; padding: 2cqw 1.5cqw; background: #fff; }
.ui__brand { display: flex; align-items: center; gap: .8cqw; font-weight: 600; font-size: 1.35cqw; margin-bottom: 1.8cqw; }
.ui__brand svg { width: 2.4cqw; height: 2cqw; }
.ui__parts { display: grid; gap: .25cqw; }
.ui__parts > li { display: block; padding: .75cqw .9cqw; border-radius: .8cqw; color: #3c4947; font-size: 1.18cqw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui__parts b { display: inline-block; width: 1.9cqw; font-weight: 500; color: #8a9593; font-size: 1.05cqw; }
.ui__parts > li.is-open { background: var(--teal-50); color: var(--ink); font-weight: 600; }
.ui__parts > li.is-open b { color: var(--teal); }
.ui__parts ul { display: grid; gap: .55cqw; margin: .9cqw 0 .2cqw 1.9cqw; font-weight: 500; }
.ui__parts ul li { display: flex; align-items: center; gap: .6cqw; font-size: 1.12cqw; color: var(--teal); }
.ui__playdot { width: .9cqw; height: .9cqw; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 .35cqw rgba(30,88,86,.15); flex: none; }
.sk { display: block; height: .9cqw; width: 80%; border-radius: 1cqw; background: #e3e9e7; }
.sk--s { width: 55%; }
.sk--m { width: 66%; }
.ui__parts ul .sk { height: .8cqw; margin-left: 1.5cqw; }
.ui__main { padding: 2cqw 2.4cqw; display: flex; flex-direction: column; gap: 1.5cqw; min-width: 0; }
.ui__video { position: relative; aspect-ratio: 16 / 9; border-radius: 1cqw; overflow: hidden; background: #ddd5c4; box-shadow: 0 .3cqw 1.2cqw rgba(15,26,25,.12); }
.ui__video img { width: 100%; height: 100%; object-fit: cover; }
.ui__ctrl { position: absolute; left: 0; right: 0; bottom: 0; height: 5cqw; padding: 0 1.6cqw; display: flex; align-items: center; gap: 1.3cqw; background: linear-gradient(180deg, transparent, rgba(15, 26, 25, .55)); color: #fff; }
.ui__ctrl-play { width: 1.9cqw; height: 1.9cqw; fill: #fff; }
.ui__ctrl-i { width: 1.8cqw; height: 1.8cqw; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; }
.ui__track { flex: 1; height: .45cqw; border-radius: 1cqw; background: rgba(255,255,255,.35); position: relative; }
.ui__fill { position: absolute; inset: 0 auto 0 0; width: 38%; border-radius: inherit; background: #fff; }
.ui__fill::after { content: ""; position: absolute; right: -.6cqw; top: 50%; width: 1.2cqw; height: 1.2cqw; border-radius: 50%; background: #fff; transform: translateY(-50%); }
.ui__meta { display: flex; align-items: flex-end; justify-content: space-between; gap: 2cqw; }
.ui__kicker { display: block; color: var(--teal); font-weight: 600; font-size: 1.15cqw; margin-bottom: .3cqw; }
.ui__title { display: block; font-weight: 600; font-size: 2.3cqw; letter-spacing: -0.03em; line-height: 1.1; }
.ui__chip { display: inline-flex; align-items: center; gap: .6cqw; flex: none; padding: .8cqw 1.2cqw; border-radius: 10cqw; background: #fff; border: 1px solid #dfe6e4; font-weight: 600; font-size: 1.15cqw; color: var(--ink); }
.ui__chip svg { width: 1.5cqw; height: 1.5cqw; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ui__lines { display: grid; gap: .8cqw; }

/* Phone */
.phone {
  position: absolute; left: 0; bottom: 0; width: 24.5%; z-index: 2;
  aspect-ratio: 9 / 19.2; padding: 2.6%;
  background: linear-gradient(160deg, #3a3e42, #151719 40%);
  border-radius: 15% / 7.2%;
  box-shadow: 0 0 0 1.5px #b9bec2, inset 0 0 0 1px rgba(255,255,255,.1), 0 2px 4px rgba(15,26,25,.1), 0 30px 50px -18px rgba(15, 26, 25, .45), 0 60px 90px -40px rgba(15, 26, 25, .35);
}
.phone__screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 12.5% / 5.8%; background: #fff; container-type: inline-size; }
.phone__island { position: absolute; top: 2.6cqw; left: 50%; width: 30cqw; height: 8.4cqw; border-radius: 10cqw; background: #000; transform: translateX(-50%); z-index: 3; }
.ps { position: relative; height: 100%; display: flex; flex-direction: column; color: var(--ink); font-size: 3.6cqw; line-height: 1.3; }
.ps__status { height: 13cqw; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 1.4cqw 8cqw 0 10cqw; font-weight: 600; font-size: 4.4cqw; }
.ps__icons { display: flex; align-items: center; gap: 1.6cqw; }
.ps__icons svg { height: 3.4cqw; width: auto; fill: currentColor; }
.ps__top { display: flex; align-items: center; gap: 2.4cqw; padding: 2cqw 5cqw 3cqw; font-weight: 600; font-size: 4cqw; }
.ps__top svg { width: 7cqw; height: 5.8cqw; }
.ps__burger { margin-left: auto; width: 5cqw; height: 3cqw; border-top: .7cqw solid var(--ink); border-bottom: .7cqw solid var(--ink); }
.ps__video { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.ps__video img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; }
.ps__play { position: absolute; left: 50%; top: 50%; width: 13cqw; height: 13cqw; border-radius: 50%; transform: translate(-50%, -50%); background: rgba(255,255,255,.88); display: grid; place-items: center; box-shadow: 0 1cqw 3cqw rgba(15,26,25,.25); }
.ps__play svg { width: 6cqw; height: 6cqw; fill: var(--ink); margin-left: .8cqw; }
.ps__cap { padding: 2.4cqw 5cqw; font-size: 3.1cqw; color: var(--ink-3); background: var(--paper); border-bottom: 1px solid var(--line); }
.ps__body { padding: 4.5cqw 5cqw; display: grid; gap: 2.2cqw; }
.ps__kicker { color: var(--teal); font-weight: 600; font-size: 3.3cqw; }
.ps__title { font-weight: 600; font-size: 7cqw; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 1.5cqw; }
.ps__body .sk { height: 2.2cqw; width: 100%; border-radius: 3cqw; }
.ps__body .sk--m { width: 70%; }
.ps__sheet { margin-top: 3cqw; display: flex; align-items: center; gap: 2cqw; padding: 3cqw 3.6cqw; border-radius: 4cqw; border: 1px solid var(--line); font-weight: 600; font-size: 3.5cqw; box-shadow: 0 .6cqw 2cqw rgba(15,26,25,.06); }
.ps__sheet svg { width: 5.4cqw; height: 5.4cqw; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ps__sheet .ps__dl { margin-left: auto; stroke: var(--ink-3); width: 4.6cqw; height: 4.6cqw; }
.ps__next { display: grid; grid-template-columns: 26cqw 1fr; gap: 3cqw; align-items: center; margin-top: 1.5cqw; }
.ps__thumb { display: block; aspect-ratio: 16 / 10; border-radius: 2.4cqw; overflow: hidden; background: #e2dbcb; }
.ps__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 10% 30%; }
.ps__next-txt { display: grid; gap: 1.8cqw; }
.ps__next-txt .sk { height: 2cqw; }
.ps__url { margin: auto 4cqw 0; height: 10.5cqw; border-radius: 6cqw; flex: none; display: flex; align-items: center; justify-content: center; gap: 1.4cqw; background: rgba(244, 247, 246, .95); box-shadow: 0 .6cqw 3cqw rgba(15,26,25,.12), inset 0 0 0 1px var(--line); font-size: 3.2cqw; color: var(--ink-2); white-space: nowrap; overflow: hidden; }
.ps__url svg { width: 3.2cqw; height: 3.2cqw; fill: none; stroke: currentColor; stroke-width: 2.4; flex: none; }
.ps__home { display: block; width: 36cqw; height: 1.4cqw; border-radius: 2cqw; background: var(--ink); margin: 3.4cqw auto 2.6cqw; flex: none; }

.stage__cap { display: flex; justify-content: space-between; gap: 16px; margin-top: 6px; font-size: 15px; color: var(--ink-3); }
.stage__cap span { display: inline-flex; align-items: center; gap: 8px; }
.stage__cap i { width: 18px; height: 1px; background: var(--ink-3); opacity: .6; }

/* Trust */
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.trust li { display: flex; gap: 14px; align-items: flex-start; padding: 0 22px; }
.trust li:first-child { padding-left: 0; }
.trust li + li { border-left: 1px solid var(--line); }
.trust strong { display: block; font-size: 16.5px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 3px; line-height: 1.3; }
.trust span { display: block; font-size: 17px; line-height: 1.5; color: var(--ink-3); }

/* Desktop: the devices rise out of the film; trust sits beside them */
@media (min-width: 1200px) {
  .hero__below {
    display: grid; grid-template-columns: minmax(0, 4.6fr) minmax(0, 7.4fr); column-gap: 56px; align-items: start;
  }
  .stage { grid-column: 2; grid-row: 1; margin-top: -130px; margin-right: -24px; }
  .trust {
    grid-column: 1; grid-row: 1; align-self: start;
    grid-template-columns: 1fr 1fr; gap: 36px 28px; margin-top: 72px; padding-top: 0; border-top: 0;
  }
  .trust li, .trust li:first-child { padding: 0; border-left: 0; flex-direction: column; gap: 10px; }
  .trust li + li { border-left: 0; }
}

/* ---------- Home: the craving gradient (scroll-drawn) ---------- */
.sec.sec--grad { padding: 120px 0 32px; }
.tile--grad {
  position: relative; padding: 80px 72px 72px;
  background: var(--mood, var(--paper));
  transition: background-color .4s linear;
}
.grad__head { max-width: 660px; margin-bottom: 44px; }
.grad__intro { margin-top: 18px; font-size: 21px; line-height: 1.5; color: var(--ink-2); max-width: 30em; }
.grad__run { position: relative; }
.grad__run.is-pinned { height: var(--run-h); }
.grad__run.is-pinned .gfig { position: sticky; top: var(--stick-top); }

/* ---------- Home: 01 Why ---------- */
.why__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 72px; }
.shot { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-2); aspect-ratio: 16 / 10; background: var(--paper); }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot__chip {
  position: absolute; left: 20px; bottom: 20px;
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px 9px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-size: 15px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; box-shadow: 0 4px 16px rgba(15,26,25,.12);
}
.shot__chip--dark { background: rgba(12, 22, 21, .78); color: #fff; }
.shot__sun { width: 12px; height: 12px; border-radius: 50%; background: #e9b766; box-shadow: 0 0 0 3px rgba(233,183,102,.25); }
.shot__moon { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset -4px -1px 0 0 #dfe7e5; transform: rotate(-20deg); }
.why__text { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 80px; }
.why__lead { font-size: clamp(23px, 2vw, 28px); line-height: 1.4; letter-spacing: -0.02em; font-weight: 500; color: var(--ink); }
.why__cols { display: grid; gap: 20px; color: var(--ink-2); font-size: 18px; line-height: 1.65; max-width: 36em; }
.why__key { margin-top: 8px; padding: 24px 28px; border-radius: var(--r-md); background: var(--teal-50); color: var(--ink) !important; border: 1px solid var(--teal-100); }
.pull { margin-top: 96px; max-width: 980px; }
.pull p { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: clamp(34px, 4.3vw, 62px); line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
.pull footer { margin-top: 20px; font-size: 16px; color: var(--ink-3); display: flex; align-items: center; gap: 12px; }
.pull footer::before { content: ""; width: 32px; height: 1px; background: var(--ink-3); }

/* ---------- Home: 02 Inside ---------- */
.sec.sec--inside { padding-top: 32px; }
.also { margin-top: 40px; padding: 28px 32px; border-radius: var(--r-lg); background: var(--paper); display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; }
.also__tag { font-size: 14px; font-weight: 600; color: var(--teal); padding: 7px 13px; border-radius: 999px; background: var(--white); box-shadow: var(--sh-1); white-space: nowrap; }
.also p { color: var(--ink-2); font-size: 17px; }

/* ---------- Home: summary sheet ---------- */
.sec.sec--sheet { padding-top: 24px; }
.tile--sheet {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center;
  padding: 88px 80px; overflow: hidden; position: relative;
  background: radial-gradient(60% 70% at 85% 50%, rgba(255,255,255,.9), transparent 70%), linear-gradient(160deg, #eef4f2, #e5eeeb);
}
.sheet-copy__lead { margin-top: 18px; font-size: 20px; line-height: 1.5; color: var(--ink-2); max-width: 26em; }
.sheet-notes { margin-top: 36px; display: grid; gap: 14px; }
.sheet-notes li { display: flex; align-items: center; gap: 14px; font-size: 17px; }
.sheet-notes strong { font-weight: 600; }
.sheet-notes__n { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: #fff; font-size: 14px; font-weight: 600; }
.sheet-notes__n svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sheet-stage { position: relative; padding: 16px 5% 24px 7%; }
.sheet { background: #fff; aspect-ratio: 1 / 1.414; container-type: inline-size; border-radius: 6px; box-shadow: 0 1px 1px rgba(15,26,25,.04), 0 4px 10px rgba(15,26,25,.05), 0 24px 48px -16px rgba(15,26,25,.22), 0 60px 90px -50px rgba(15,26,25,.3); }
.sheet--back { position: absolute; inset: 40px 0 0 22%; transform: rotate(5deg); opacity: .9; }
.sheet--back .sheet__in { padding: 10cqw; display: grid; gap: 4cqw; align-content: start; }
.sheet--back .sk { height: 2cqw; border-radius: 2cqw; background: #edf1f0; }
.sheet--back .sk--t { height: 5cqw; width: 60%; background: #e3e9e7; margin-bottom: 4cqw; }
.sheet--front { position: relative; transform: rotate(-2.2deg); transition: transform .8s var(--ease); }
.sheet-stage:hover .sheet--front { transform: rotate(-1deg) translateY(-6px); }
.sheet__in { height: 100%; padding: 7cqw 7.5cqw 5.5cqw; display: flex; flex-direction: column; color: var(--ink); }
.sheet__top { display: flex; justify-content: space-between; align-items: center; font-size: 2.15cqw; color: var(--ink-3); padding-bottom: 3cqw; border-bottom: 1px solid var(--line); }
.sheet__brand { display: inline-flex; align-items: center; gap: 1.4cqw; font-weight: 600; color: var(--ink); }
.sheet__brand svg { width: 3.6cqw; height: 3cqw; }
.sheet__kicker { margin-top: 5cqw; font-size: 2.4cqw; font-weight: 600; color: var(--teal); }
.sheet__title { font-weight: 600; font-size: 7cqw; letter-spacing: -0.035em; line-height: 1.05; margin-top: 1cqw; }
.sheet__label { display: flex; align-items: center; gap: 1.8cqw; margin-top: 5cqw; font-size: 2.2cqw; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.sheet__pin { width: 3.8cqw; height: 3.8cqw; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: #fff; font-size: 2cqw; letter-spacing: 0; }
.sheet__idea { margin-top: 2cqw; font-size: 3.4cqw; line-height: 1.4; color: var(--ink); }
.sheet__map { margin-top: 3.5cqw; display: grid; grid-template-columns: 40% 1fr; gap: 4cqw; align-items: center; padding: 3cqw; border-radius: 2cqw; background: var(--paper); }
.sheet__map svg { width: 100%; height: auto; }
.m-axis { fill: none; stroke: var(--ink); stroke-width: 1.6; }
.m-top { stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 3 4; }
.m-curve { fill: none; stroke: var(--teal-500); stroke-width: 3; stroke-linecap: round; }
.m-pt { fill: #fff; stroke-width: 2; }
.m-pt--a { stroke: #2b776e; } .m-pt--b { stroke: #a87a2c; } .m-pt--c { stroke: #b0502f; }
.m-t { font-size: 12px; font-weight: 700; fill: var(--ink); text-anchor: middle; }
.sheet__abc { display: grid; gap: 2cqw; }
.sheet__abc div { display: grid; grid-template-columns: 3.6cqw 1fr; gap: 1.6cqw; }
.sheet__abc dt { font-size: 2.3cqw; font-weight: 700; color: var(--teal); line-height: 1.4; }
.sheet__abc dd { font-size: 2.2cqw; line-height: 1.4; color: var(--ink-2); }
.sheet__quote { margin-top: 4cqw; padding-left: 3cqw; border-left: .6cqw solid var(--teal-300); font-family: var(--f-serif); font-style: italic; font-size: 3.3cqw; line-height: 1.35; color: var(--ink); }
.sheet__lines { display: grid; margin-top: 1cqw; }
.sheet__lines i { display: block; height: 6cqw; border-bottom: 1px solid #d9e1df; }
.sheet__foot { margin-top: auto; padding-top: 3cqw; display: flex; justify-content: space-between; font-size: 1.9cqw; color: var(--ink-3); }

/* ---------- Home: 03 Break Glass in Emergency (the dark glass section) ---------- */
.sec--glass { background: var(--night); color: var(--night-ink); position: relative; overflow: hidden; }
.sec--glass::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70%; height: 90%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(43, 119, 110, .26), transparent 70%); pointer-events: none;
}
.sec--glass::after {
  content: ""; position: absolute; inset: auto auto -30% -10%; width: 60%; height: 70%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(176, 80, 47, .12), transparent 70%); pointer-events: none;
}
.glass { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.pane {
  position: relative; padding: 30px 30px 22px; border-radius: var(--r-lg);
  background: linear-gradient(160deg, #18302d, #0f1d1c 70%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 40px 80px -30px rgba(0,0,0,.6);
}
.pane__fig { position: relative; }
.pane__svg { width: 100%; height: auto; overflow: visible; }
.pane__grid { stroke: rgba(255,255,255,.07); stroke-width: 1; }
.pane__axis { fill: none; stroke: rgba(255,255,255,.55); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pane__glass { stroke: rgba(255,255,255,.34); stroke-width: 1.2; }
.pane__shine { fill: rgba(255,255,255,.07); }
.pane__shine--thin { fill: rgba(255,255,255,.05); }
.pane__edge { stroke: rgba(255,255,255,.55); stroke-width: 1; stroke-linecap: round; }
.pane__line { fill: none; stroke: url(#bgLine); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.pane__pt { fill: #11201e; stroke: #f0a283; stroke-width: 3; }
.pane__tag {
  position: absolute; left: 11.4%; top: 24.2%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 1px;
}
.pane__tag-k { font-size: 18px; font-weight: 600; color: #fff; letter-spacing: -0.01em; }
.pane__tag-t { font-size: 15px; font-weight: 500; color: #f0b9a2; }
.pane__cap { margin-top: 12px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.08); font-size: 15px; color: var(--night-ink-2); }
.glass__copy .h2 { color: #fff; }
.glass__intro { margin-top: 20px; font-size: 19px; line-height: 1.6; color: var(--night-ink-2); max-width: 32em; }
.steps { margin-top: 36px; display: grid; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 22px 0; }
.steps li + li { border-top: 1px solid rgba(255,255,255,.1); }
.steps__ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(160deg, rgba(166, 227, 216, .16), rgba(166, 227, 216, .05)); box-shadow: inset 0 0 0 1px rgba(166, 227, 216, .25); }
.steps__ico svg { width: 28px; height: 28px; fill: none; stroke: #a6e3d8; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.steps__k { font-size: 13.5px; font-weight: 600; color: #a6e3d8; letter-spacing: .06em; margin-bottom: 2px; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; color: #fff; margin-bottom: 6px; }
.steps p:not(.steps__k) { font-size: 17px; color: var(--night-ink-2); line-height: 1.6; }
.glass__small { margin-top: 14px; font-size: 15px; color: #a3b4b1; padding-left: 76px; }

/* ---------- Home: 04 The course (bento) ---------- */
.bento {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
  grid-template-areas: "les les ava ava" "les les sht acc" "rel rel slf slf";
}
.bx { position: relative; border-radius: var(--r-lg); background: var(--paper); padding: 32px; overflow: hidden; }
.bx h3 { font-size: 22px; line-height: 1.22; letter-spacing: -0.02em; font-weight: 600; }
.bx p { font-size: 17px; color: var(--ink-2); line-height: 1.55; margin-top: 8px; }
.bx .ico--lg { margin-bottom: 20px; }
.bx--lessons { grid-area: les; display: flex; flex-direction: column; padding: 40px 40px 32px; background: linear-gradient(180deg, #f4f7f6, #eaf1ef); }
.bx--lessons h3 { font-size: 30px; letter-spacing: -0.03em; max-width: 16ch; }
.bx__big { color: var(--teal); }
.player { margin-top: 32px; border-radius: 18px; background: #fff; padding: 10px; box-shadow: var(--sh-3); }
.player__frame { border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 9; background: #ddd5c4; }
.player__frame img { width: 100%; height: 100%; object-fit: cover; }
.player__bar { display: flex; align-items: center; gap: 12px; padding: 12px 6px 4px; }
.player__bar svg { width: 18px; height: 18px; fill: var(--ink); }
.player__track { flex: 1; height: 4px; border-radius: 4px; background: var(--line); position: relative; overflow: hidden; }
.player__track span { position: absolute; inset: 0 auto 0 0; width: 62%; background: var(--teal); border-radius: inherit; }
.player__lbl { font-size: 14px; font-weight: 500; color: var(--ink-3); }
.bx .bx__cap { margin-top: 14px; font-size: 15px; color: var(--ink-3); }
.bx--avatar { grid-area: ava; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: 24px; align-items: center; }
.bx__avatar { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 4.3; box-shadow: var(--sh-2); }
.bx__avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 30%; }
.bx__avatar figcaption { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 8px 11px; border-radius: 10px; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.bx--sheet { grid-area: sht; }
.bx--sheet h3 { font-size: 20px; }
.bx--access { grid-area: acc; background: var(--ink); color: #fff; display: flex; flex-direction: column; }
.bx--access p { color: #c3cfcc; margin-top: 18px; }
.bx__access-top { display: flex; align-items: flex-end; gap: 10px; }
.bx__twelve { font-size: 84px; line-height: .82; font-weight: 600; letter-spacing: -0.06em; background: linear-gradient(170deg, #fff 30%, #7fb5ac); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bx__months { font-size: 18px; font-weight: 600; line-height: 1.1; padding-bottom: 4px; }
.devs { display: flex; gap: 10px; margin-top: auto; padding-top: 18px; }
.devs svg { width: 26px; height: 26px; fill: none; stroke: #a6e3d8; stroke-width: 1.5; stroke-linecap: round; }
.bx--rel { grid-area: rel; display: flex; gap: 22px; align-items: flex-start; }
.bx--self { grid-area: slf; display: flex; gap: 22px; align-items: flex-start; }
.bx--rel .ico--lg, .bx--self .ico--lg { margin-bottom: 0; }

/* ---------- Home: 05 Who made it (also About) ---------- */
.sec--who { background: linear-gradient(180deg, #fff, var(--paper) 30%, var(--paper)); }
.who { display: grid; grid-template-columns: minmax(0, 5.4fr) minmax(0, 6.6fr); gap: 80px; align-items: center; }
.who__q p { font-family: var(--f-serif); font-size: clamp(28px, 2.7vw, 40px); line-height: 1.2; letter-spacing: -0.015em; color: var(--ink); text-wrap: pretty; }
.who__q .who__q2 { margin-top: 24px; font-size: clamp(20px, 1.55vw, 23px); line-height: 1.5; color: var(--ink-2); letter-spacing: 0; }
.who__bio { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line-2); font-size: 18px; color: var(--ink-2); max-width: 38em; }
.who__words .link-arrow { margin-top: 8px; }

/* ---------- Home: partners ---------- */
.sec.sec--partners { padding-top: 0; background: var(--paper); }
.tile--partners { background: #fff; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); overflow: hidden; box-shadow: var(--sh-2); }
.partners__img { position: relative; min-height: 100%; }
.partners__img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.partners__frame { position: absolute; left: 24px; right: 24px; bottom: 24px; padding: 7px; border-radius: 14px; background: rgba(255,255,255,.92); box-shadow: 0 20px 40px -18px rgba(0,0,0,.45); }
.partners__frame img { border-radius: 8px; aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
.partners__copy { padding: 64px 64px 56px; }
.partners__lead { margin-top: 18px; font-size: 19px; color: var(--ink-2); max-width: 34em; margin-bottom: 28px; }
.partners__list { margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.partners__list-h { font-size: 15px; font-weight: 600; color: var(--ink-3); margin-bottom: 14px; }
.partners__list ul { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; }
.partners__list li { position: relative; padding-left: 22px; font-size: 17px; color: var(--ink-2); line-height: 1.5; }
.partners__list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--teal-300); }

/* ---------- Home: 06 Free ---------- */
.sec.sec--free { padding-bottom: 96px; }
.freelist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.freelist li + li { border-left: 1px solid var(--line); }
.freelist a { display: flex; flex-direction: column; height: 100%; padding: 36px 36px 32px; text-decoration: none; color: var(--ink); }
.freelist li:first-child a { padding-left: 0; }
.freelist li:last-child a { padding-right: 0; }
.freelist a:hover .freelist__go .i-arrow { transform: translateX(4px); }
.freelist a:hover .freelist__vis { transform: translateY(-3px); box-shadow: var(--sh-2); }
.freelist__vis { width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 28px; background: var(--paper); box-shadow: var(--sh-1); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.freelist__vis svg { width: 40px; height: 40px; fill: none; stroke: var(--teal); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.breath { position: relative; width: 40px; height: 40px; }
.breath i { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--teal); }
.breath i:last-child { inset: 11px; background: var(--teal); border: 0; opacity: .85; }
.freelist__k { font-size: 15px; font-weight: 600; color: var(--teal); margin-bottom: 8px; }
.freelist__t { font-size: 23px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.freelist__d { margin-top: 10px; font-size: 17px; color: var(--ink-2); line-height: 1.55; }
.freelist__go { margin-top: auto; padding-top: 24px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 16.5px; color: var(--teal); min-height: 44px; }

/* ---------- Home: 07 Questions ---------- */
.sec.sec--faq { padding-top: 64px; }

/* ---------- Course page ---------- */
.tile--fig { padding: 56px 64px; }
.tile--fig + .cards { margin-top: 16px; }
.curric { display: grid; gap: 16px; }
.curric__part {
  display: grid; grid-template-columns: minmax(0, 4.2fr) minmax(0, 7.8fr); grid-template-rows: auto 1fr; gap: 14px 56px; align-items: start;
  padding: 36px 40px 30px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--sh-1), inset 0 0 0 1px var(--line);
  scroll-margin-top: calc(var(--hdr-h) + 24px);
}
.curric__head { grid-column: 1; display: grid; grid-template-columns: 56px 1fr; gap: 0 8px; align-items: start; }
.curric__head h3 { font-size: 26px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; padding-top: 3px; }
.curric__head .parts__meta { margin: 6px 0 0; }
.curric__desc { grid-column: 1; padding-left: 64px; font-size: 17px; color: var(--ink-2); line-height: 1.6; text-wrap: pretty; }
.curric .lessons { grid-column: 2; grid-row: 1 / span 2; }
.curric .lessons li:first-child { border-top: 0; padding-top: 4px; }
.curric .lessons li:last-child { padding-bottom: 4px; }
.curric-extra { margin-top: 16px; }
.curric-extra .card > p { margin: 8px 0 18px; }
.curric-extra .lessons li:last-child { padding-bottom: 0; }

/* ---------- About page ---------- */
.facts { display: grid; padding: 6px 28px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--sh-2); }
.facts div { display: grid; grid-template-columns: 116px 1fr; gap: 16px; align-items: baseline; padding: 18px 0; }
.facts div + div { border-top: 1px solid var(--line); }
.facts dt { font-size: 46px; line-height: 1; font-weight: 600; letter-spacing: -0.045em; color: var(--teal); font-variant-numeric: tabular-nums; }
.facts dd { font-size: 17px; line-height: 1.4; color: var(--ink-2); }

.chapter { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 56px; padding: 64px 0; border-top: 1px solid var(--line); }
.chapter:first-child { border-top: 0; padding-top: 0; }
.chapter:last-child { padding-bottom: 0; }
.chapter__side { position: sticky; top: calc(var(--hdr-h) + 32px); align-self: start; }
.chapter__side .sec-num { margin-bottom: 0; flex-wrap: wrap; }
.chapter__body { max-width: 720px; }
.chapter__body .h2 { margin-bottom: 26px; }
.chapter__body > p { font-size: 18px; line-height: 1.7; color: var(--ink-2); text-wrap: pretty; }
.chapter__body > p + p { margin-top: 18px; }
.chapter__body > .chapter__big { font-size: clamp(23px, 2vw, 28px); line-height: 1.4; letter-spacing: -0.02em; font-weight: 500; color: var(--ink); }
.chapter__body > .chapter__big:not(:first-of-type) { margin-top: 28px; }
.ideas { margin-top: 32px; }
.ideas .card { padding: 28px; }
.ideas h3 { font-size: 20px; }
.ideas .card > p { font-size: 16.5px; }
.who__q--sm p { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.3; }

/* ---------- Interior pages: shared bits ---------- */
.h1 em, .phead .h1 em { font-style: normal; color: var(--teal-500); }
.phead__more { margin-top: 14px; font-size: 17px; line-height: 1.6; color: var(--ink-3); max-width: 40em; }
.sec.sec--first { padding-top: 88px; }

/* ---------- FAQ page: one split block per topic ---------- */
.faq-group { scroll-margin-top: calc(var(--hdr-h) + 24px); }
.faq-group + .faq-group { margin-top: 88px; }
.faq-group .faq-split__head .h2 { margin-bottom: 0; }

/* ---------- Partners page ---------- */
.partners-intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.partners-intro .prose p { font-size: 18.5px; }
.partners-intro .prose .partners-intro__fine { font-size: 16px; color: var(--ink-3); padding-top: 18px; border-top: 1px solid var(--line); }
/* lesson contents (generated by gen_partners.py: .toc-grid / .tn / .tm) */
.toc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
.toc-grid a {
  display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; align-items: center; min-height: 64px;
  padding: 12px 18px 12px 12px; border-radius: 16px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16.5px; line-height: 1.35; letter-spacing: -0.01em;
  transition: box-shadow .2s, color .2s;
}
.toc-grid a:hover { color: var(--teal); box-shadow: inset 0 0 0 1.5px var(--teal); }
.toc-grid .tn { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--teal-50); border: 1px solid var(--teal-100); color: var(--teal); font-size: 14px; font-variant-numeric: tabular-nums; }
.toc-grid .tm { font-size: 14.5px; font-weight: 500; color: var(--ink-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
/* one lesson: player + words (generated by gen_partners.py: .lesson-video / .frame / .lk) */
.lesson-video { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center; padding: 48px 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--hdr-h) + 16px); }
.lesson-video:first-child { border-top: 0; padding-top: 0; }
.lesson-video:last-child { padding-bottom: 0; }
.frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r-lg); background: var(--night-2); box-shadow: var(--sh-2); }
.frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.frame .pending { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; color: var(--night-ink-2); font-size: 16px; }
.lesson-video .lk { display: block; font-size: 15px; font-weight: 600; color: var(--teal); font-variant-numeric: tabular-nums; }
.lesson-video h3 { margin: 8px 0 12px; font-size: clamp(23px, 2.1vw, 28px); line-height: 1.2; letter-spacing: -0.024em; font-weight: 600; color: var(--ink); text-wrap: balance; }
.lesson-video p { font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 34em; }

/* ---------- Contact page ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: start; }
.contact__main { display: grid; gap: 16px; }
.contact__card p { font-size: 17px; color: var(--ink-2); margin-top: 8px; }
.contact__card .contact__addr { margin-top: 22px; font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; letter-spacing: -0.025em; color: var(--ink); overflow-wrap: anywhere; }
.contact__card .cta-row { margin-top: 24px; }
.contact__help .ticks { margin-top: 22px; }
.contact__help .ticks li { font-size: 17.5px; color: var(--ink); font-weight: 500; }
.contact__crisis { margin-top: 56px; max-width: 800px; }

/* ---------- Scholarship page ---------- */
.schol { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: start; }
.schol__how { display: grid; gap: 28px; }
.schol__how .enrolsteps .h3 { margin-bottom: 14px; }
.schol__apply { scroll-margin-top: calc(var(--hdr-h) + 24px); }
.schol__apply > .h2 { margin-bottom: 24px; }
.schol__apply #scholarship-form .btn { min-height: 56px; font-size: 17px; }
.schol__apply .form-ok { padding: 26px 28px; }
.schol__apply .form-ok p { margin-top: 10px; color: var(--ink-2); }

/* ---------- Legal pages (privacy, terms) ---------- */
.legal h2 { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); font-size: clamp(23px, 2vw, 28px); }
.legal .callout { margin: 1.4em 0; }
.legal .callout ul { margin: 10px 0 0; font-size: 16.5px; }

/* ---------- Breathing page (pacer lives in assets/breathing.css) ---------- */
.phead--pacer .phead__in { align-items: center; padding-top: 48px; padding-bottom: 56px; }
.phead--pacer .phead__tile::after { display: none; }
.br-how { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.br-how__intro p { margin-top: 18px; font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 30em; }
.br-how__fine { margin-top: 24px; font-size: 15px; line-height: 1.55; color: var(--ink-3); }
.cta-band__big { font-size: clamp(24px, 2.3vw, 32px); line-height: 1.3; letter-spacing: -0.022em; font-weight: 600; color: var(--ink); max-width: 24em; margin-bottom: 28px; text-wrap: pretty; }
.cta-band__in--wide { grid-template-columns: minmax(0, 1fr); }

/* ---------- Blog: hub ---------- */
.hub-flagship {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: end;
  padding: 48px 52px; border-radius: var(--r-xl); background: var(--night); color: var(--night-ink); text-decoration: none;
}
.hub-flagship::before { content: ""; position: absolute; z-index: -1; inset: -40% -10% auto auto; width: 70%; height: 140%; background: radial-gradient(50% 50% at 50% 50%, rgba(43, 119, 110, .32), transparent 70%); }
.hub-flagship::after { content: ""; position: absolute; z-index: -1; inset: auto auto -60% -10%; width: 60%; height: 120%; background: radial-gradient(50% 50% at 50% 50%, rgba(176, 80, 47, .14), transparent 70%); }
.hub-flagship .pill { margin-bottom: 20px; }
.hub-flagship h2 { font-size: clamp(32px, 3.2vw, 46px); line-height: 1.06; letter-spacing: -0.032em; font-weight: 600; color: #fff; text-wrap: balance; }
.hub-flagship .go { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 22px; font-weight: 600; color: var(--mint); }
.hub-flagship:hover .go .i-arrow { transform: translateX(3px); }
.hub-flagship p { font-size: 17px; line-height: 1.6; color: var(--night-ink-2); }
.hub-flagship .hub-flagship__meta { margin-top: 14px; font-size: 15px; color: #93a6a2; }
.hub-grid { margin-top: 16px; }
.hub-more { margin-top: 36px; font-size: 17px; color: var(--ink-2); }
.hub-more a { font-weight: 600; }

/* ---------- Blog: library ---------- */
.lib-lane { scroll-margin-top: calc(var(--hdr-h) + 24px); }
.lib-lane + .lib-lane { margin-top: 56px; }
.lib-lane h2 { font-size: 24px; line-height: 1.25; letter-spacing: -0.02em; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.lib-list { border-top: 1px solid var(--line); }
.lib-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 17px; font-weight: 500; text-decoration: none; transition: color .2s; }
.lib-list a:hover { color: var(--teal); }
.lib-list .m { color: var(--ink-3); font-size: 14.5px; font-weight: 400; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lib-foot { margin-top: 56px; font-size: 17px; color: var(--ink-2); }
.lib-foot a { font-weight: 600; }

/* ---------- Blog: author page ---------- */
.author-hero { display: flex; align-items: center; gap: 22px; }
.author-hero .mono { width: 88px; height: 88px; font-size: 30px; box-shadow: 0 0 0 5px #fff, 0 0 0 6px var(--teal-100), 0 16px 26px -10px rgba(30, 88, 86, .5); }
.author-hero .lede { margin-top: 6px; }
.author-reg { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 20px 24px; border-radius: var(--r-md); background: var(--teal-50); border: 1px solid var(--teal-100); }
.author-reg > div { display: flex; align-items: center; gap: 14px; }
.author-reg svg { width: 28px; height: 28px; flex: none; fill: none; stroke: var(--teal); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.author-reg span { display: block; font-size: 15px; color: var(--ink-2); }
.author-reg strong { display: block; font-size: 17px; font-weight: 600; color: var(--ink); }
.author-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: start; margin-top: 56px; }
.author-grid .cred__card { padding-top: 30px; }
.author-grid .cred__h:first-child { margin-top: 0; }
.author-grid .cred__list li { font-size: 16.5px; color: var(--ink-2); line-height: 1.5; }
.author-actions { margin-top: 48px; }

/* ---------- Blog: article ---------- */
.art-head .h1 { font-size: clamp(34px, 3.4vw, 50px); max-width: 22ch; }
.art-body { padding: 64px 0 24px; }
.art-col { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }
.keypoints { margin-bottom: 44px; padding: 26px 28px; border-radius: var(--r-lg); background: var(--teal-50); border: 1px solid var(--teal-100); }
.keypoints__h { font-size: 15px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); margin-bottom: 16px; }
.keypoints .ticks li { color: var(--ink); }
.keypoints .ticks li::before { background-color: var(--white); }
.prose-pas { font-size: 18.5px; }
/* the FAQ at the end of every guide: one soft card per question */
.prose-pas #frequently-asked-questions ~ p:has(> strong:first-child) { margin: 0 0 10px; padding: 18px 22px 20px; border-radius: 16px; background: var(--paper); }
.prose-pas #frequently-asked-questions ~ p:has(> strong:first-child) > strong:first-child { display: block; margin-bottom: 6px; font-size: 18.5px; line-height: 1.4; letter-spacing: -0.012em; }
.prose-pas #frequently-asked-questions ~ p:not(:has(> strong:first-child)) { margin-top: 24px; }
.art-note { margin-top: 48px; }
.art-block { margin-top: 48px; }
.art-block > h2 { font-size: 15px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.art-refs ol { padding-left: 1.4em; list-style: decimal; display: grid; gap: 10px; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.art-refs li { overflow-wrap: anywhere; padding-left: .2em; }
.art-refs li::marker { color: var(--ink-3); }
.art-refs a { color: var(--teal); font-weight: 600; }
/* "More on this topic" (injected at publish time by build_publish_set.py, with its own utility classes) */
section[data-spokes] { margin-top: 48px; padding: 26px 28px 12px; border-radius: var(--r-lg); background: var(--paper); }
section[data-spokes] h2 { font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); margin: 0 0 4px; }
section[data-spokes] p { font-size: 15px; color: var(--ink-3); margin: 0 0 12px; }
section[data-spokes] ul { border-top: 1px solid var(--line); }
section[data-spokes] li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
section[data-spokes] li:last-child { border-bottom: 0; }
section[data-spokes] li a { color: var(--ink); font-size: 16.5px; font-weight: 500; text-decoration: none; }
section[data-spokes] li a:hover { color: var(--teal); }
section[data-spokes] li span { color: var(--ink-3); font-size: 14.5px; white-space: nowrap; }
.art-author { margin-top: 48px; }
.phead--404 { padding-bottom: 72px; }
.phead--404 .phead__in { padding-top: 88px; padding-bottom: 96px; }
.byline .byline__reg { font-weight: 400; color: inherit; text-decoration: underline; text-decoration-color: var(--line-2); }
section[aria-labelledby="related-heading"] { margin-top: 48px; }
section[aria-labelledby="related-heading"] > h2 { font-size: 15px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.art-cta { margin-top: 48px; padding: 40px; border-radius: var(--r-lg); }
.art-cta h2 { font-size: clamp(25px, 2.3vw, 31px); line-height: 1.2; letter-spacing: -0.026em; font-weight: 600; color: var(--ink); }
.art-cta p { margin: 12px 0 24px; font-size: 17.5px; line-height: 1.6; color: var(--ink-2); max-width: 36em; }

/* ==========================================================================
   6. Motion (only when .motion is set: not reduced, not automated)
   ========================================================================== */
.motion [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.motion [data-reveal].is-in { opacity: 1; transform: none; }
.motion .bento [data-reveal]:nth-child(2), .motion .bento [data-reveal]:nth-child(5) { transition-delay: .08s; }
.motion .bento [data-reveal]:nth-child(3), .motion .bento [data-reveal]:nth-child(6) { transition-delay: .16s; }
.motion .bento [data-reveal]:nth-child(4) { transition-delay: .24s; }
.motion .hero__copy > * > * { animation: rise .9s var(--ease) both; }
.motion .hero__title > :nth-child(2) { animation-delay: .06s; }
.motion .hero__rest > :nth-child(1) { animation-delay: .14s; }
.motion .hero__rest > :nth-child(2) { animation-delay: .2s; }
.motion .hero__rest > :nth-child(3) { animation-delay: .26s; }
.motion .phead__main > * { animation: rise .9s var(--ease) both; }
.motion .phead__main > :nth-child(2) { animation-delay: .04s; }
.motion .phead__main > :nth-child(3) { animation-delay: .08s; }
.motion .phead__main > :nth-child(4) { animation-delay: .14s; }
.motion .phead__main > :nth-child(n+5) { animation-delay: .2s; }
.motion .phead__aside { animation: rise 1.1s var(--ease) .2s both; }
.motion .laptop { animation: rise 1.2s var(--ease) .2s both; }
.motion .phone { animation: phoneIn 1.3s var(--ease) .5s both; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes phoneIn { from { opacity: 0; transform: translateY(56px); } to { opacity: 1; transform: none; } }
.motion .breath i:last-child { animation: breathe 10s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(.55); } 50% { transform: scale(1.35); } }
.motion .runbar:not(.is-in) .runbar__track span { transform: scaleX(0); }
.motion .runbar .runbar__track span:nth-child(2) { transition-delay: .06s; }
.motion .runbar .runbar__track span:nth-child(3) { transition-delay: .12s; }
.motion .runbar .runbar__track span:nth-child(4) { transition-delay: .18s; }
.motion .runbar .runbar__track span:nth-child(5) { transition-delay: .24s; }
.motion .runbar .runbar__track span:nth-child(6) { transition-delay: .30s; }
.motion .runbar .runbar__track span:nth-child(7) { transition-delay: .36s; }
.motion .runbar .runbar__track span:nth-child(8) { transition-delay: .42s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .screen__vid { display: none !important; }
  .vidctl { display: none !important; }
}

/* touch screens: no sticky hover lift after a tap */
@media (hover: none) {
  .btn--primary:hover, .btn--light:hover, .hero__enrol:hover { transform: none; }
  .qx:hover { background: var(--white); color: var(--ink); }
}

/* ==========================================================================
   7. Responsive
   ========================================================================== */
@media (max-width: 1280px) {
  .nav a { padding: 0 8px; font-size: 14.5px; }
  .hdr__in { gap: 18px; }
}
/* header: seven nav items need room; collapse to the menu button earlier */
@media (max-width: 1259px) {
  .nav, .hdr__login { display: none; }
  .menu-btn { display: inline-flex; }
  .hdr__actions { margin-left: auto; }
}
@media (max-width: 1199px) {
  .hero__below { padding-top: 48px; }
  .stage { max-width: 780px; margin: 0 auto; }
  .tile--grad { padding: 64px 44px 48px; }
  .tile--sheet { padding: 72px 56px; }
  .tile--fig { padding: 44px 36px; }
  .phead--aside .phead__in { grid-template-columns: minmax(0, 1fr); }
  .phead__aside { max-width: 560px; }
}
@media (max-width: 999px) {
  :root { --gutter: 28px; }
  .sec { padding: 96px 0; }
  .trust { grid-template-columns: 1fr 1fr; gap: 24px 0; }
  .trust li:nth-child(3) { border-left: 0; padding-left: 0; }
  .sec-head--split { grid-template-columns: 1fr; gap: 20px; }
  .gfig { grid-template-columns: 1fr; padding: 28px 24px 24px; }
  .gfig__keys { display: grid; gap: 12px; margin-top: 22px; }
  .gkey { position: static; transform: none; padding: 16px 18px; border-radius: 16px; background: var(--paper); }
  .why__text { grid-template-columns: 1fr; gap: 32px; }
  .parts { grid-template-columns: 1fr; }
  .parts li:nth-last-child(2) { border-bottom: 0; }
  .tile--sheet { grid-template-columns: 1fr; gap: 40px; }
  .sheet-stage { max-width: 520px; margin: 0 auto; width: 100%; }
  .glass { grid-template-columns: 1fr; gap: 44px; }
  .glass__copy { display: contents; }
  .glass__copy > header { order: 1; }
  .glass__visual { order: 2; max-width: 600px; width: 100%; }
  .steps { order: 3; margin-top: 0; }
  .glass__small { order: 4; margin-top: -28px; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "les les" "ava ava" "sht acc" "rel rel" "slf slf"; }
  .buy { grid-template-columns: 1fr; gap: 56px; }
  .price { order: -1; max-width: 540px; }
  .who { grid-template-columns: 1fr; gap: 48px; }
  .who__words { order: -1; }
  .cred { max-width: 560px; }
  .tile--partners { grid-template-columns: minmax(0, 1fr); }
  .partners__img { aspect-ratio: 16 / 9; }
  .faq-split { grid-template-columns: 1fr; gap: 32px; }
  .faq-split__head { position: static; }
  .ftr__top { grid-template-columns: 1fr; gap: 40px; }
  /* interior pages */
  .phead__in { padding-top: 48px; padding-bottom: 60px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .cards--1-md { grid-template-columns: 1fr; }
  .curric__part { grid-template-columns: 1fr; grid-template-rows: none; gap: 14px; }
  .curric .lessons { grid-column: 1; grid-row: auto; margin-top: 10px; border-top: 1px solid var(--line); }
  .curric .lessons li:first-child { padding-top: 16px; }
  .curric__desc { padding-left: 64px; }
  .cta-band__in { grid-template-columns: 1fr; gap: 32px; padding-top: 72px; padding-bottom: 72px; }
  .chapter { grid-template-columns: 1fr; gap: 20px; padding: 52px 0; }
  .chapter__side { position: static; }
}

/* Phones and small tablets: the film carries the headline only; the rest sits on white */
@media (max-width: 899px) {
  .hero__top { grid-template-rows: auto auto; }
  .screen--hero { grid-area: 1 / 1; min-height: 0; height: clamp(400px, 56vh, 520px); height: clamp(400px, 56svh, 520px); --obj: 42% 50%; }
  .screen--hero .screen__scrim {
    background:
      linear-gradient(0deg, rgba(var(--scrim), .9) 0, rgba(var(--scrim), .82) 26%, rgba(var(--scrim), .62) 46%, rgba(var(--scrim), .26) 66%, rgba(var(--scrim), .06) 82%),
      linear-gradient(180deg, rgba(var(--scrim), .28) 0, rgba(var(--scrim), 0) 20%);
  }
  .hero__copy { display: contents; }
  .hero__title { grid-area: 1 / 1; align-self: end; z-index: 2; margin: 0 var(--bleed); padding: 0 var(--gutter) 26px; max-width: 680px; }
  .hero__title .pill { margin-bottom: 16px; }
  .hero__rest { grid-area: 2 / 1; width: 100%; max-width: 700px; padding: 0 calc(var(--gutter) + var(--bleed)); }
  .hero__rest :focus-visible { outline-color: var(--teal); }
  .hero__lead { margin-top: 22px; color: var(--ink-2); font-size: 17px; }
  .hero__rest .cta-row { margin-top: 22px; }
  .hero__enrol { background: var(--teal); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 8px 20px -8px rgba(30,88,86,.55); }
  .hero__enrol:hover { background: var(--teal-700); }
  .hero__inside { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-2); }
  .hero__inside:hover { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); }
  .priceline { color: var(--ink-2); border-top-color: var(--line); margin-top: 22px; padding-top: 16px; font-size: 15.5px; }
  .priceline strong { color: var(--ink); }
  .priceline { flex-direction: column; gap: 4px; }
  .priceline li { padding-left: 16px; }
  .priceline li + li + li::before { content: ""; display: block; padding: 0; }
  .priceline li + li::before { content: ""; position: absolute; left: 1px; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--teal-300); }
  .priceline li:first-child::before { background: var(--teal); }
  .priceline li:first-child { font-size: 17px; }
  .priceline__fine { color: var(--ink-3); }
  .hero .display .display__hl { color: var(--mint); }
  .stage__devices { padding-right: 6%; } /* the laptop base is 112% wide: keep it inside narrow tablets */
}

@media (max-width: 720px) {
  :root { --gutter: 20px; --hdr-h: 62px; --bleed: 8px; }
  body { font-size: 17px; }
  .sec { padding: 80px 0; }
  .hdr__in { gap: 10px; }
  .hdr__enrol { display: none; }
  .brand { gap: 8px; }
  .brand__mark { width: 30px; height: 25px; }
  .hdr .brand__name { font-size: 14.5px; line-height: 1.08; }
  .hdr .brand__br { display: inline; }
  .qx { padding: 0 13px 0 11px; font-size: 14.5px; gap: 6px; }
  .qx svg { width: 17px; height: 17px; }

  .screen { border-radius: 24px; }
  .screen--hero { height: clamp(360px, 47vh, 440px); height: clamp(360px, 47svh, 440px); }
  .display { font-size: clamp(33px, 9vw, 40px); line-height: 1.06; letter-spacing: -0.03em; }
  .h1 { font-size: clamp(32px, 8.6vw, 40px); line-height: 1.07; letter-spacing: -0.03em; }
  .lede { font-size: 17.5px; }
  .pill { font-size: 14px; padding: 6px 13px 6px 10px; }
  .vidctl { top: 12px; right: 12px; padding: 0; justify-content: center; width: 44px; }
  .vidctl__lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hero__lead { font-size: 16.5px; line-height: 1.55; margin-top: 18px; }
  .hero__rest .cta-row { gap: 10px; }
  .hero__rest .btn--lg { min-height: 52px; padding: 0 20px; font-size: 16.5px; }
  .hero__enrol { flex: 1 1 auto; }
  .priceline { gap: 4px 18px; font-size: 15px; }

  .hero__below { padding-top: 36px; }
  .stage__devices { padding: 0 0 26px 15%; }
  .phone { width: 30%; }
  .stage__cap { flex-direction: column; gap: 4px; font-size: 14.5px; }
  .trust { grid-template-columns: 1fr; gap: 0; margin-top: 32px; padding-top: 6px; }
  .trust li { padding: 16px 0 !important; border-left: 0 !important; }
  .trust span { font-size: 16.5px; }
  .trust li + li { border-top: 1px solid var(--line); }

  .tile { border-radius: 26px; }
  .sec.sec--grad { padding: 72px 0 16px; }
  .sec.sec--inside { padding-top: 16px; }
  .sec.sec--sheet { padding-top: 8px; }
  .sec.sec--free { padding-bottom: 72px; }
  .sec.sec--faq { padding-top: 40px; }
  .tile--grad { padding: 40px 16px 16px; margin: 0 -8px; }
  .grad__head { padding: 0 6px; margin-bottom: 28px; }
  .grad__intro { font-size: 18px; }
  .gfig { padding: 18px 12px 16px; border-radius: 20px; }
  .gfig__lbl { font-size: 23px; }
  .gfig__lbl--axis { font-size: 24px; }
  .gfig__lbl--top { font-size: 22px; }
  .gfig__ptl { font-size: 26px; }
  .gfig__pt .ring { stroke-width: 3.4; }
  .gfig__line { stroke-width: 6; }
  .gkey p { font-size: 16.5px; }
  .gkey__tag { font-size: 17px; }
  .gfig__cap { font-size: 15px; padding: 16px 4px 0; }

  .h2 { font-size: clamp(30px, 8.2vw, 38px); }
  .sec-head { margin-bottom: 36px; }
  .sec-head__aside { font-size: 17px; }
  .why__pair { gap: 8px; margin-bottom: 40px; }
  .shot { border-radius: 18px; aspect-ratio: 4 / 5.2; }
  .shot img { object-position: 60% 50%; }
  .shot--night img { object-position: 38% 50%; }
  .shot__chip { left: 8px; right: 8px; bottom: 8px; justify-content: center; padding: 8px; font-size: 14px; gap: 7px; }
  .why__lead { font-size: 22px; }
  .why__cols { font-size: 17px; }
  .why__key { padding: 20px 20px; }
  .pull { margin-top: 64px; }
  .pull p { font-size: clamp(30px, 8vw, 38px); }

  .runbar__track { height: 40px; gap: 3px; }
  .runbar__track span { padding-left: 0; justify-content: center; font-size: 13px; border-radius: 7px; }
  .runbar__legend { font-size: 14px; }
  .runbar__legend span:nth-child(2) { display: none; }
  .parts li { grid-template-columns: 50px 1fr; padding: 22px 0; }
  .parts h3 { font-size: 20px; }
  .parts p:not(.parts__meta) { font-size: 16.5px; }
  .also { grid-template-columns: 1fr; gap: 14px; padding: 24px 22px; justify-items: start; }
  .also p { font-size: 16.5px; }

  .tile--sheet { padding: 48px 20px 40px; margin: 0 -8px; }
  .sheet-copy__lead { font-size: 18px; }
  .sheet-notes li { font-size: 16.5px; }
  .sheet-stage { padding: 12px 6% 12px 4%; }
  .sheet--back { inset: 30px -4% 0 18%; }

  .pane { padding: 18px 16px 14px; border-radius: 22px; }
  .pane__tag { flex-direction: row; align-items: baseline; gap: 8px; }
  .pane__tag-k { font-size: 15px; }
  .pane__tag-t { font-size: 13.5px; }
  .glass__intro { font-size: 17px; }
  .steps li { grid-template-columns: 48px 1fr; gap: 16px; }
  .steps__ico { width: 48px; height: 48px; border-radius: 14px; }
  .steps__ico svg { width: 24px; height: 24px; }
  .steps h3 { font-size: 20px; }
  .steps p:not(.steps__k) { font-size: 16.5px; }
  .glass__small { padding-left: 0; }

  .bento { grid-template-columns: 1fr; grid-template-areas: "les" "ava" "sht" "acc" "rel" "slf"; gap: 12px; }
  .bx { padding: 26px 22px; border-radius: 24px; }
  .bx p { font-size: 16.5px; }
  .bx--lessons { padding: 30px 20px 22px; }
  .bx--lessons h3 { font-size: 26px; }
  .player { margin-top: 24px; padding: 7px; border-radius: 14px; }
  .bx--avatar { grid-template-columns: 1fr; }
  .bx__avatar { aspect-ratio: 16 / 10; }
  .bx__avatar img { object-position: 60% 25%; }
  .bx--rel, .bx--self { flex-direction: column; gap: 16px; }

  .buy { margin-top: 72px; overflow-x: clip; } /* the glow's blur box would widen the page on small phones */
  .enrolsteps .h3 { font-size: 26px; }
  .enrolsteps p { font-size: 16.5px; }
  .price::before { inset: -20px -10px; }
  .price__card { padding: 28px 22px; border-radius: 26px; }
  .price__amt { font-size: 88px; }
  .price__list li { font-size: 16.5px; }

  .cred__card { padding: 28px 22px 24px; border-radius: 26px; }
  .cred__head { gap: 16px; }
  .cred__mono { width: 64px; height: 64px; }
  .cred__mono span { font-size: 23px; }
  .cred__name { font-size: 28px; }
  .cred__role { font-size: 16px; }
  .cred__list strong { font-size: 16.5px; }
  .cred__list span { font-size: 16px; }
  .who__q p { font-size: 27px; }
  .who__q .who__q2 { font-size: 18px; }
  .who__q--sm p { font-size: 23px; }
  .who__bio { font-size: 17px; }

  .partners__copy { padding: 36px 22px 32px; }
  .partners__img { aspect-ratio: 4 / 3.4; }
  .partners__frame { left: 14px; right: auto; width: 68%; bottom: 14px; padding: 5px; border-radius: 12px; }
  .partners__lead { font-size: 17px; }
  .partners__list ul { grid-template-columns: 1fr; }
  .partners__list li { font-size: 16.5px; }

  .freelist { grid-template-columns: 1fr; border-bottom: 0; }
  .freelist li + li { border-left: 0; }
  .freelist li { border-bottom: 1px solid var(--line); }
  .freelist a, .freelist li:first-child a, .freelist li:last-child a { padding: 28px 0 22px; display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; }
  .freelist__vis { width: 56px; height: 56px; border-radius: 16px; margin-bottom: 0; grid-row: 1 / span 4; }
  .freelist__vis svg { width: 32px; height: 32px; }
  .breath { width: 32px; height: 32px; }
  .breath i:last-child { inset: 9px; }
  .freelist__t { font-size: 20px; }
  .freelist__d { font-size: 16.5px; }
  .freelist__go { padding-top: 10px; grid-column: 2; }

  .faq__list summary { font-size: 18px; min-height: 64px; gap: 16px; }
  .faq__a { padding-right: 0; }
  .faq__a p { font-size: 17px; }

  .sec.sec--close { padding-top: 24px; }
  .screen--close { min-height: 0; align-items: flex-end; --obj: 56% 50%; }
  .screen--close .screen__scrim {
    background:
      linear-gradient(0deg, rgba(var(--scrim), .9) 0, rgba(var(--scrim), .84) 40%, rgba(var(--scrim), .66) 64%, rgba(var(--scrim), .3) 84%, rgba(var(--scrim), .12) 100%);
  }
  .screen--close .screen__in { padding: 150px 18px 30px; }
  .h2--close { font-size: clamp(32px, 8.6vw, 40px); margin-bottom: 26px; }
  .screen--close .cta-row { flex-direction: column; }
  .screen--close .cta-row .btn { width: 100%; }
  .close__notice { font-size: 15.5px; }

  .ftr { padding: 56px 0 32px; }
  .ftr__cols { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .ftr__cols a { min-height: 44px; font-size: 16.5px; }
  .ftr__safety { padding: 18px; }
  .ftr__safety p { font-size: 15.5px; }
  .ftr__base { flex-direction: column; gap: 6px; }

  /* interior pages */
  .phead__tile { border-radius: 24px; }
  .phead__tile::after { display: none; }
  .phead__in { padding: 32px 18px 40px; gap: 32px; }
  .phead .crumbs { margin-bottom: 18px; font-size: 14.5px; }
  .phead .pill { margin-bottom: 18px; }
  .phead .cta-row { margin-top: 26px; }
  .phead .cta-row .btn { flex: 1 1 auto; }
  .cards, .cards--2 { grid-template-columns: 1fr; gap: 12px; }
  .card { padding: 26px 22px; border-radius: 24px; }
  .card h3 { font-size: 20px; }
  .card > p { font-size: 16.5px; }
  .tile--fig { padding: 16px 8px 8px; margin: 0 -8px; }
  .curric__part { padding: 26px 20px 18px; border-radius: 24px; }
  .curric__head { grid-template-columns: 50px 1fr; }
  .curric__head h3 { font-size: 22px; }
  .curric__desc { padding-left: 0; font-size: 16.5px; }
  .lessons li { grid-template-columns: 30px minmax(0, 1fr) auto; column-gap: 10px; }
  .lessons--plain li { grid-template-columns: minmax(0, 1fr) auto; }
  .lessons__t { font-size: 16.5px; }
  .lessons__d { font-size: 16px; }
  .ticks li { font-size: 16.5px; }
  .sec.sec--cta { padding-top: 24px; }
  .cta-band { border-radius: 24px; }
  .cta-band__in { padding: 48px 18px 36px; }
  .cta-band .h2 { margin-bottom: 24px; }
  .cta-band .cta-row { flex-direction: column; }
  .cta-band .cta-row .btn { width: 100%; }
  .cta-band__notice { font-size: 15.5px; }
  .facts { padding: 4px 20px; }
  .facts div { grid-template-columns: 96px 1fr; padding: 15px 0; }
  .facts dt { font-size: 38px; }
  .facts dd { font-size: 16px; }
  .chapter { padding: 44px 0; }
  .chapter__body > p { font-size: 17px; }
  .chapter__body > .chapter__big { font-size: 22px; }
}
/* the laptop base is 112% of the laptop: keep it inside the viewport where the gutter is too narrow for it */
@media (min-width: 431px) and (max-width: 720px) { .stage__devices { padding-right: 5%; } }
@media (min-width: 1200px) and (max-width: 1339px) { .stage__devices { padding-right: 5%; } }
@media (max-width: 380px) {
  .hdr .brand__name { font-size: 13.5px; }
  .qx { font-size: 13.5px; padding: 0 11px 0 9px; }
  /* long labels may wrap rather than push the page sideways */
  .btn { white-space: normal; text-align: center; line-height: 1.25; }
  .btn--lg, .btn--xl { padding-left: 18px; padding-right: 18px; }
}
/* very small phones (320-359px): logo, Quick exit and menu must still fit on one line */
@media (max-width: 359px) {
  :root { --gutter: 14px; }
  .hdr__in { gap: 6px; }
  .brand { gap: 6px; }
  .brand__mark { width: 26px; height: 22px; }
  .hdr .brand__name { font-size: 12.5px; }
  .qx { font-size: 13px; padding: 0 10px 0 8px; gap: 4px; }
  .qx svg { width: 15px; height: 15px; }
  .menu-btn { width: 42px; }
  .stage__devices { padding-right: 4px; }
}

/* ---------- Interior pages and blog: tablets and phones ---------- */
@media (max-width: 999px) {
  .partners-intro, .contact, .schol, .br-how, .author-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hub-flagship { grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; padding: 40px 36px; }
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lesson-video { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .sec.sec--first { padding-top: 72px; }
  .faq-group + .faq-group { margin-top: 64px; }
}
@media (max-width: 720px) {
  .guide-grid, .toc-grid, .related-grid { grid-template-columns: minmax(0, 1fr); }
  .guide-card { padding: 24px 22px 20px; border-radius: 24px; }
  .form-card { padding: 26px 20px; border-radius: 24px; }
  .callout, .note { padding: 20px; }
  .prose { font-size: 17px; }
  .prose-pas { font-size: 17.5px; }
  .prose-pas table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  :is(.prose, .prose-pas) table { font-size: 15px; }
  :is(.prose, .prose-pas) th, :is(.prose, .prose-pas) td { padding: 10px 12px; }
  .chips a { font-size: 14.5px; padding: 0 13px; }
  .phead .chips { margin-top: 24px; }
  .sec.sec--first { padding-top: 56px; }
  .faq-group + .faq-group { margin-top: 48px; }
  .toc-grid a { font-size: 16px; }
  .lesson-video { padding: 36px 0; }
  .lesson-video h3 { font-size: 22px; }
  .lesson-video p { font-size: 16.5px; }
  .frame { border-radius: 18px; }
  .contact__crisis { margin-top: 40px; }
  .legal h2 { margin-top: 44px; padding-top: 26px; }
  .br-how__intro p { font-size: 17px; }
  .cta-band__big { font-size: 23px; margin-bottom: 22px; }
  .hub-flagship { padding: 30px 22px 26px; border-radius: 24px; }
  .hub-flagship h2 { font-size: 30px; }
  .lib-lane h2 { font-size: 21px; }
  .lib-list a { font-size: 16.5px; }
  .author-hero { gap: 16px; }
  .author-hero .mono { width: 68px; height: 68px; font-size: 24px; }
  .author-reg { padding: 18px 18px; }
  .author-grid { margin-top: 40px; }
  .art-head .h1 { font-size: clamp(30px, 8vw, 38px); }
  .art-body { padding-top: 40px; }
  .keypoints { padding: 22px 20px; margin-bottom: 36px; }
  .prose-pas #frequently-asked-questions ~ p:has(> strong:first-child) { padding: 16px 18px 18px; }
  section[data-spokes] { padding: 22px 20px 8px; border-radius: 24px; }
  .author-card { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 24px 22px; border-radius: 24px; }
  .art-cta { padding: 30px 22px; border-radius: 24px; }
  .art-cta .cta-row { flex-direction: column; }
  .art-cta .cta-row .btn { width: 100%; }
  .byline { align-items: flex-start; }
  .cta-band__sub { margin: -10px 0 24px; font-size: 16.5px; }
  .phead--404 .phead__in { padding-top: 48px; padding-bottom: 56px; }
}
