/* Full Time Shooter: shared styles, "camera brand" look (approved by Julian Nov 26, 2026: "i like the last one").
   Source of the look: _design/camera-brand/styles.css. Backup of the old look: _design/backup-2026-11-26/.
   Type (Julian picked option C, Nov 28, 2026, after "still feels a bit ai-ish"): Barlow Semi Condensed 600 caps for
   headlines, and wide-tracked caps for labels, nav and buttons; Barlow 400/500 for reading.
   IBM Plex Mono only for camera settings readouts. Palette: black, graphite, white, silver. No hue accent: the
   photos bring the color. Light and dark follow the system until the visitor presses the toggle (site.js), then
   the choice is remembered. Text is never under 12px.
   The old token names (--txt, --dim, --mut, --accent, --surface, --ground ...) stay defined below, mapped onto the
   new palette, because the hand-written tool CSS in site/tools/<slug>/ uses them. */

:root {
  --bg: #ffffff;
  --bg-2: #f3f3f1;
  --bg-3: #e7e7e4;
  --stage: #ececea;
  --subnav: #ececea;
  --text: #111112;
  --text-2: #4b4b49;
  --text-3: #686865;
  --line: rgba(17, 17, 18, 0.14);
  --line-strong: rgba(17, 17, 18, 0.32);
  --btn-bg: #111112;
  --btn-fg: #ffffff;
  --btn-bg-hover: #3a3a3a;
  --field: #ffffff;
  --err: #8f2a1d;
  --ok: #1f6b38;
  --shot-shadow: 0 1px 0 rgba(0,0,0,0.06);
  color-scheme: light;

  --font: "Barlow", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: "Barlow Semi Condensed", "Arial Narrow", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --ease-out: cubic-bezier(.16,1,.3,1);
  /* Height of the sticky sub-nav (60 px row + 1 px rule; 52 + 1 on phones). Tool bars that stick under it use this. */
  --subnav-h: 61px;
}
@media (max-width: 640px) {
  :root { --subnav-h: 53px; }
  :root:has(.subnav.no-links) { --subnav-h: 0px; }   /* that bar is hidden on phones */
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a0a0a;
    --bg-2: #121212;
    --bg-3: #1b1b1b;
    --stage: #000000;
    --subnav: #202224;
    --text: #f1f1ef;
    --text-2: #b9b9b5;
    --text-3: #a09f9b;
    --line: rgba(241, 241, 239, 0.13);
    --line-strong: rgba(241, 241, 239, 0.34);
    --btn-bg: #f1f1ef;
    --btn-fg: #0a0a0a;
    --btn-bg-hover: #d2d2ce;
    --field: #121212;
    --err: #f0a493;
    --ok: #7fd49a;
    color-scheme: dark;
  }
}
/* .keep-dark: the old Camera Simulator pages (tools/camera, tools/camera-v2) were drawn for a dark page and are not
   restyled here, so they keep the dark palette whatever the theme. */
:root[data-theme="dark"], .keep-dark {
  --bg: #0a0a0a;
  --bg-2: #121212;
  --bg-3: #1b1b1b;
  --stage: #000000;
  --subnav: #202224;
  --text: #f1f1ef;
  --text-2: #b9b9b5;
  --text-3: #a09f9b;
  --line: rgba(241, 241, 239, 0.13);
  --line-strong: rgba(241, 241, 239, 0.34);
  --btn-bg: #f1f1ef;
  --btn-fg: #0a0a0a;
  --btn-bg-hover: #d2d2ce;
  --field: #121212;
  --err: #f0a493;
  --ok: #7fd49a;
  color-scheme: dark;
}
/* Old names, for the tool pages' own CSS. Declared on .keep-dark too so they resolve against its palette. */
:root, .keep-dark {
  --ground: var(--bg);
  --surface: var(--bg-2);
  --raised: var(--bg-3);
  --accent: var(--text);
  --accent-hover: var(--text-2);
  --on-accent: var(--bg);
  --txt: var(--text);
  --dim: var(--text-2);
  --mut: var(--text-3);
  --field-stroke: var(--line-strong);
  --error: var(--err);
  --error-text: var(--err);
  --green: var(--ok);
}
.keep-dark { background: var(--bg); color: var(--text); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
/* The picture element only carries the WebP srcset; the img inside it is what layouts size. */
picture { display: contents; }
picture > source { display: none; }   /* with display:contents a source would otherwise take a grid cell */
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; text-transform: uppercase; line-height: 1.04; letter-spacing: 0.01em; text-wrap: balance; }
/* Bare headings (tool pages write plain h1.page / h2 / h3): the sample's scale. Classes below override. */
h1 { font-size: clamp(38px, 5.4vw, 76px); letter-spacing: 0.01em; line-height: 0.98; }
h2 { font-size: clamp(28px, 3.4vw, 46px); letter-spacing: 0.01em; line-height: 1.04; }
h3 { font-size: 20px; letter-spacing: 0.01em; line-height: 1.25; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
dl, dd { margin: 0; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
::selection { background: var(--text); color: var(--bg); }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

.wrap, .wide { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(760px + 2 * var(--gutter)); }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--btn-bg); color: var(--btn-fg); padding: 10px 14px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Wide uppercase: nav, sub-nav, buttons, data labels. Never as a heading prefix. */
.caps {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}
.mono { font-family: var(--mono); font-size: 13px; letter-spacing: 0; }

/* ---------- Main header ---------- */
.top { background: var(--bg); border-bottom: 1px solid var(--line); position: relative; z-index: 30; }
.top-row { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.mark {
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  white-space: nowrap;
}
.top-links { display: flex; gap: 32px; }
.top-links a { text-decoration: none; color: var(--text-2); }
/* Six main links since Nov 26, 2026 (Community and Coaching added): they never wrap, and between 901 and 1319 px the row
   tightens step by step so it fits beside the mark and the theme button. YouTube stays in the footer and every end band. */
.top-links a { white-space: nowrap; }
@media (max-width: 1319px) { .top-links { gap: 22px; } }
@media (max-width: 1239px) {
  .top-links a[href^="https://www.youtube.com"] { display: none; }
  .top-row .theme-btn .lbl { display: none; }
}
@media (min-width: 901px) and (max-width: 1099px) {
  .top-row { gap: 16px; }
  .top-links { gap: 16px; }
  .top-links a { letter-spacing: 0.1em; }
  .top-links .tl-x { display: none; }
}
.top-links a:hover, .top-links a[aria-current] { color: var(--text); }
.top-tools { display: flex; align-items: center; gap: 12px; }
.theme-btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 12px;
  background: transparent; color: var(--text-2);
  border: 1px solid var(--line); border-radius: 2px; cursor: pointer;
  font-family: var(--font-display); font-size: 12px; font-weight: 500;
}
.theme-btn:hover { color: var(--text); border-color: var(--line-strong); }
.theme-btn svg { width: 15px; height: 15px; }
.theme-btn .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: block; }
:root[data-theme="dark"] .theme-btn .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-btn .i-moon { display: none; }
}

/* ---------- Sticky sub-nav ---------- */
.subnav {
  position: sticky; top: 0; z-index: 25;
  background: var(--subnav);
  border-bottom: 1px solid var(--line);
}
.subnav-row { height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.subnav .here { white-space: nowrap; color: var(--text); overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.subnav nav { display: flex; align-items: center; gap: 28px; }
.subnav nav a { text-decoration: none; color: var(--text-2); white-space: nowrap; padding: 6px 0; border-bottom: 1px solid transparent; }
.subnav nav a:hover { color: var(--text); }
.subnav nav a.on { color: var(--text); border-bottom-color: var(--text); }
.subnav .btn { flex: none; }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 22px;
  border-radius: 2px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 12px; font-weight: 600;
  text-align: center;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn span { text-wrap: balance; }
.btn-solid { background: var(--btn-bg); color: var(--btn-fg); }
.btn-solid:hover { background: var(--btn-bg-hover); }
.btn-line { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-line:hover { border-color: var(--text); }
.btn-sm { min-height: 36px; padding: 0 16px; }
.btn-photo { background: #f4f4f2; color: #0a0a0a; }
.btn-photo:hover { background: #ffffff; }
.btn:disabled { opacity: .6; cursor: progress; }
/* .go: the old button class, still written by tool partials and the lesson "practice it" button. Same as .btn-solid. */
.go {
  margin-top: 22px; width: 100%;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 22px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid transparent; border-radius: 2px; cursor: pointer; text-decoration: none;
  font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 12px; font-weight: 600; line-height: 1.4;
  transition: background-color .2s ease;
}
.go span { text-wrap: balance; text-align: center; }
.go:hover { background: var(--btn-bg-hover); }
.go:disabled { opacity: .6; cursor: progress; }
.go.inline { width: auto; }
.link, .text-link {
  color: var(--text); text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: 4px; text-decoration-color: var(--line-strong);
}
.link:hover, .text-link:hover { text-decoration-color: currentColor; }
.alt-link { color: var(--text-2); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-strong); }
.alt-link:hover { color: var(--text); }
.more { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.more .ar { transition: transform .2s ease; }
.more:hover .ar { transform: translateX(4px); }
.ar { display: inline-block; width: 18px; height: 10px; flex: none; }

/* ---------- Section scaffolding ---------- */
.sec { padding: clamp(72px, 10vw, 144px) 0; }
.sec-tight { padding: clamp(56px, 7vw, 96px) 0; }
.sec.rule, .sec-tight.rule { border-top: 1px solid var(--line); }
.h2 { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: clamp(34px, 4.6vw, 64px); letter-spacing: 0.01em; line-height: 1.02; }
.h3 { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: clamp(22px, 2vw, 28px); letter-spacing: 0.01em; line-height: 1.15; }
.lede { font-size: 19px; line-height: 1.55; color: var(--text-2); max-width: 56ch; }
.lede b { color: var(--text); font-weight: 600; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head .lede { justify-self: start; }
.body { color: var(--text-2); max-width: 64ch; }
.body b { color: var(--text); font-weight: 600; }
.body p + p { margin-top: 14px; }

/* Page header without a photo (thanks, legal, tool pages): the tools write section.hero + h1.page + .lede. */
.hero, .p-head { padding: clamp(48px, 7vw, 104px) 0 clamp(40px, 5vw, 72px); }
.hero h1.page, .p-head h1 { max-width: 18ch; }
.hero .lede, .p-head .lede { margin-top: 22px; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; } }
.section { padding: clamp(56px, 7vw, 104px) 0; }
.band { background: var(--bg-2); padding: clamp(56px, 7vw, 104px) 0; }
.band + .band { border-top: 1px solid var(--line); }
.section h2, .band h2 { max-width: 22ch; }

/* ---------- Sign-up module ---------- */
.signup-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.inside { margin-top: 40px; border-top: 1px solid var(--line); }
.inside li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.inside li .mono { color: var(--text-3); padding-top: 2px; }
.also { margin-top: 28px; color: var(--text-2); display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.yt { display: inline-flex; align-items: center; gap: 10px; }
.yt svg { width: 22px; height: 16px; flex: none; }

.lead-form, .panel { background: var(--bg-2); padding: clamp(24px, 3.2vw, 44px); border-radius: 2px; }
.form-title, .panel-head { font-family: var(--font-display); text-transform: uppercase; font-size: 24px; font-weight: 600; letter-spacing: 0.01em; line-height: 1.2; }
.form-why, .panel-why { margin-top: 8px; color: var(--text-2); }
.fields { margin-top: 28px; display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field > span:first-child { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.14em; font-size: 12px; font-weight: 500; line-height: 1.4; color: var(--text-2); }
.field input, .field select {
  width: 100%; height: 50px; padding: 0 14px;
  background: var(--field); color: var(--text);
  border: 1px solid var(--line-strong); border-radius: 2px;
  font: inherit; font-size: 17px;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23888' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; cursor: pointer;
}
.field select:invalid { color: var(--text-3); }
.field input:hover, .field select:hover { border-color: var(--text-3); }
.field input:focus, .field select:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 1px var(--text); }
.field .err { display: none; font-size: 14px; color: var(--err); }
.field [aria-invalid="true"] { border-color: var(--err); }
.field [aria-invalid="true"] ~ .err { display: block; }
.lead-form .btn, .lead-form .go, .panel .btn { margin-top: 26px; width: 100%; min-height: 52px; }
.fine { margin-top: 16px; font-size: 14px; line-height: 1.5; color: var(--text-3); }
.fine a { color: var(--text-2); }
.form-msg { display: none; margin-top: 14px; font-size: 15px; color: var(--err); }
.form-msg.show { display: block; }
@media (min-width: 900px) { .sticky-panel { position: sticky; top: 84px; } }

/* ---------- End band: the sign-up at the end of every page ---------- */
.endband { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--bg-2); }
.endband .pic { position: relative; min-height: 100%; background: #0a0a0a; }
.endband .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.endband .pic figcaption { position: absolute; left: 0; bottom: 0; right: 0; padding: 16px var(--gutter); color: rgba(244,244,242,0.9); font-size: 14px; background: linear-gradient(to top, rgba(0,0,0,0.5), rgba(0,0,0,0)); }
.endband-body { padding: clamp(48px, 7vw, 112px) var(--gutter); max-width: 720px; }
.endband-body .lede { margin-top: 18px; }
.endband .lead-form { background: transparent; padding: 0; margin-top: 36px; }
.endband .fields { grid-template-columns: 1fr 1fr; margin-top: 0; align-items: end; }
.endband .field input, .endband .field select { background: var(--bg); }
.endband .lead-form .btn { max-width: 100%; }
/* Three fields (a lane page: the lane is a hidden input): the last one spans both columns, no empty slot. */
.endband .fields:not(:has(select[name="lane"])) > label.field:last-of-type { grid-column: 1 / -1; }

/* ---------- Photo captions: the place, then the settings as the camera's info screen shows them ---------- */
.exif { display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: space-between; padding-top: 12px; font-size: 14px; color: var(--text-3); line-height: 1.5; }
.exif b { color: var(--text-2); font-weight: 500; }
.set { display: inline-flex; flex-wrap: wrap; gap: 0 1.1em; font-family: var(--mono); font-size: 13px; }
.set > span { white-space: nowrap; }
.readout { display: flex; flex-wrap: wrap; border-top: 1px solid var(--line-strong); }
.readout span { padding: 12px 18px 0 0; margin-right: 18px; border-right: 1px solid var(--line); font-family: var(--mono); font-size: 13px; color: var(--text); }
.readout span:last-child { border-right: 0; margin-right: 0; }

/* ---------- Questions (three objections, open, with sources) ---------- */
.qs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-strong); }
.qs > div { padding: 28px 32px 0 0; }
.qs > div + div { padding-left: 32px; border-left: 1px solid var(--line); }
.qs h3 { font-size: 22px; letter-spacing: 0.01em; line-height: 1.25; }
.qs p { margin-top: 12px; color: var(--text-2); font-size: 16px; }
.qs p b { color: var(--text); font-weight: 600; }
.qs a { color: var(--text); }
.qs .src, .src { display: block; margin-top: 12px; font-size: 14px; color: var(--text-3); }
.src a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }

/* Tool pages' own objection rows (.objs > .obj): ledger rows. */
.objs { margin-top: 32px; border-top: 1px solid var(--line-strong); max-width: 980px; }
.obj { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 24px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .obj { grid-template-columns: 300px 1fr; gap: 40px; } }
.obj h3 { font-size: 20px; line-height: 1.3; }
.obj p { color: var(--text-2); font-size: 16px; line-height: 1.65; max-width: 62ch; }
.obj p b { color: var(--text); font-weight: 600; }
.obj p a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Lesson and track lists (home, /learn/, lane pages, thanks) ---------- */
.tracks-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); }
.track-big { text-decoration: none; display: block; }
.track-big .pic { overflow: hidden; border-radius: 2px; background: var(--bg-3); aspect-ratio: 3 / 2; }
.track-big img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.track-big:hover img { transform: scale(1.025); }
.track-big .meta { display: flex; justify-content: space-between; gap: 16px; color: var(--text-3); }
.track-big h3, .track-big h2 { margin-top: 18px; }
.track-big p { margin-top: 8px; color: var(--text-2); max-width: 52ch; }
.track-big p.meta { max-width: none; margin-top: 14px; }

.lesson-pick { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); background: var(--bg-2); text-decoration: none; border-radius: 2px; overflow: hidden; }
.lesson-pick img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.lesson-pick .txt { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.lesson-pick .txt .kind { color: var(--text-3); font-size: 15px; }
.lesson-pick .txt p { color: var(--text-2); }
.lesson-pick .more { margin-top: 8px; }

.track-list { margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line-strong); }
.track-list a, .track-list .row { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr) 130px 24px; gap: 24px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.track-list .t { font-size: 22px; font-weight: 500; letter-spacing: 0; line-height: 1.25; }
.track-list .d { color: var(--text-2); font-size: 16px; }
.track-list .d b { color: var(--text); font-weight: 600; }
.track-list .n { color: var(--text-3); text-align: right; white-space: nowrap; }
.track-list .ar { justify-self: end; transition: transform .2s ease; }
.track-list a:hover .ar { transform: translateX(4px); }
.track-list a:hover .t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.track-list .row .t { color: var(--text-3); }

/* Lanes, led by the lane name */
.lanes { border-top: 1px solid var(--line-strong); }
.lane-group { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; border-bottom: 1px solid var(--line-strong); }
.lane-group h3 { padding-top: 26px; color: var(--text); font-size: 12px; letter-spacing: 0.16em; }
.lane-list li + li { border-top: 1px solid var(--line); }
.lane-list a { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr) 24px; gap: 24px; align-items: baseline; padding: 22px 0; text-decoration: none; }
.lane-list .ln { font-size: 20px; font-weight: 500; letter-spacing: 0; }
.lane-list .lp { color: var(--text-2); font-size: 16px; }
.lane-list .ar { justify-self: end; transition: transform .2s ease; }
.lane-list a:hover .ar { transform: translateX(4px); }
.lane-list a:hover .ln { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }

/* .rows / .door-list: older list classes still written by the v1 simulator page. */
.rows { margin-top: 28px; border-top: 1px solid var(--line-strong); max-width: 860px; }
.rows li { border-bottom: 1px solid var(--line); }
.rows a, .rows .row { display: grid; grid-template-columns: 44px 1fr auto; gap: 16px; align-items: baseline; padding: 18px 0; text-decoration: none; }
.rows .num { font-family: var(--mono); font-size: 13px; color: var(--text-3); }
.rows .t { font-size: 19px; font-weight: 500; line-height: 1.3; }
.rows .d { display: block; margin-top: 4px; font-size: 15px; color: var(--text-2); }
.rows .tag { font-size: 12px; color: var(--text-3); white-space: nowrap; }
.rows a:hover .t { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.door-list { border-top: 1px solid var(--line-strong); }
.door-list li { border-bottom: 1px solid var(--line); }
.door { display: block; padding: 22px 0; text-decoration: none; }
.door-line { display: block; font-size: 22px; font-weight: 500; letter-spacing: 0; }
.door-next { display: block; margin-top: 6px; font-size: 16px; color: var(--text-2); max-width: 60ch; }
.door:hover .door-line { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }

/* ---------- Lane pages ---------- */
.lane-top { padding-top: clamp(48px, 7vw, 104px); }
.lane-top h1 { font-size: clamp(34px, 4.6vw, 64px); letter-spacing: 0.01em; line-height: 1; max-width: 16ch; }
.lane-top .lede { margin-top: 24px; }
.lane-photo { margin-top: 0; }
.lane-photo .pic { aspect-ratio: 3 / 2; overflow: hidden; border-radius: 2px; background: var(--bg-3); }
.lane-photo img { width: 100%; height: 100%; object-fit: cover; }
/* DOM order is copy, form, photo, so phones get the form on the first screen. From 900px the photo sits under the
   copy and the form spans both rows beside them. */
@media (min-width: 900px) {
  .lane-top .signup-grid { grid-template-rows: auto 1fr; row-gap: 48px; }
  .lane-top .lane-copy { grid-column: 1; grid-row: 1; }
  .lane-top .lane-photo { grid-column: 1; grid-row: 2; }
  .lane-top .lead-form { grid-column: 2; grid-row: 1 / span 2; }
}

/* ---------- Footer ---------- */
.foot { padding: 64px 0 48px; border-top: 1px solid var(--line); }
.foot-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.foot-links { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.foot-links a { text-decoration: none; color: var(--text-2); }
.foot-links a:hover { color: var(--text); }
.foot p { margin-top: 24px; max-width: 92ch; font-size: 14px; color: var(--text-3); line-height: 1.6; }
.foot .ai-note { margin-top: 12px; color: var(--text-2); }

/* Mobile bar, shown by form.js whenever no sign-up form or [data-cta] action is on screen. Hidden from 768px. */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); }
.sticky-cta .btn { width: 100%; min-height: 48px; }
@media (min-width: 768px) { .sticky-cta { display: none !important; } }
@media (max-width: 767px) { body:has(.sticky-cta) .foot { padding-bottom: 104px; } }

/* ---------- Legal pages ---------- */
.legal-body { margin-top: 40px; max-width: 72ch; color: var(--text-2); }
.legal-body h2 { font-size: 22px; letter-spacing: 0.01em; margin: 40px 0 10px; color: var(--text); max-width: none; }
.legal-body h3 { font-size: 18px; margin: 24px 0 8px; color: var(--text); }
.legal-body p, .legal-body li { font-size: 16px; line-height: 1.7; }
.legal-body p + p { margin-top: 12px; }
.legal-body ul { list-style: disc; padding-left: 22px; margin: 10px 0; }
.legal-body li + li { margin-top: 6px; }
.legal-body a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.legal-body div { margin-top: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .top-links { gap: 22px; }
  .track-list a, .track-list .row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) 90px 24px; }
}
@media (max-width: 900px) {
  .top-links { display: none; }
  .sec-head, .signup-grid, .lesson-pick, .tracks-feature, .endband { grid-template-columns: 1fr; }
  .qs { grid-template-columns: 1fr; }
  .qs > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 28px; }
  .lane-group { grid-template-columns: 1fr; gap: 0; }
  .lane-group h3 { padding-top: 22px; }
  .endband .pic { min-height: 0; aspect-ratio: 16 / 10; }
  .lesson-pick img { aspect-ratio: 16 / 10; height: auto; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .top-row { height: 56px; }
  .mark { font-size: 13px; letter-spacing: 0.2em; }
  .theme-btn .lbl { display: none; }
  .subnav-row { height: 52px; }
  .subnav .here { display: none; }
  .subnav nav { gap: 22px; overflow-x: auto; scrollbar-width: none; flex: 1; }
  .subnav nav::-webkit-scrollbar { display: none; }
  .subnav .btn { display: none; }
  .lede { font-size: 17px; }
  .go.inline { width: 100%; }
  .track-list a, .track-list .row { grid-template-columns: minmax(0, 1fr) 24px; gap: 6px 16px; }
  .track-list .d { grid-column: 1; grid-row: 2; }
  .track-list .n { grid-column: 1; grid-row: 3; text-align: left; }
  .track-list .ar { grid-column: 2; grid-row: 1; }
  .lane-list a { grid-template-columns: minmax(0, 1fr) 24px; gap: 6px 16px; }
  .lane-list .lp { grid-column: 1; grid-row: 2; }
  .lane-list .ar { grid-column: 2; grid-row: 1; }
  .endband .fields { grid-template-columns: 1fr; }
  .rows a, .rows .row { grid-template-columns: 32px 1fr; }
  .rows .tag { grid-column: 2; }
}
@media (max-width: 380px) {
  .mark { font-size: 12px; letter-spacing: 0.16em; }
  .theme-btn { padding: 0 10px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* A page with no on-page links gets no sub-nav bar on a phone (its only parts, the label and the button, hide there). */
@media (max-width: 640px) { .subnav.no-links { display: none; } }
.qs-title { margin-bottom: clamp(28px, 3vw, 40px); }
@media print {
  .top, .subnav, .foot, .endband, .sticky-cta, .skip { display: none !important; }
  body { background: #fff; color: #000; }
}
