/* lectogram.com v11 / direction a: "The plan is the proof".
   Calm paper-and-ink, single column. Paper bands are the film's stage tone
   (#f3f1ea) so the film sits flush; white bands carry the evidence. One
   accent: the film's green. film.css is linked after this file and relies on
   --sans, --serif, --muted, --border, --surface and --shadow. */

:root {
  color-scheme: light;
  --paper: #f3f1ea;
  --white: #ffffff;
  --ink: #1b1b1a;
  --muted: #4a4843;          /* secondary text, >= 7:1 on both bands */
  --rule: #dedbd2;
  --accent: #1e7e46;
  --btn-bg: #1b1b1a;
  --btn-fg: #f3f1ea;
  --card: #ffffff;
  /* proof band: a shade darker than the page, so the white lecture card sits
     on it like an object on a desk (dark mode does the same, lifted) */
  --inkband: #e6e2d7; --on-ink: #1b1b1a; --on-ink-soft: #4a4843; --on-ink-accent: #1e7e46;
  /* names film.css reads */
  --text: var(--ink);
  --border: var(--rule);
  --surface: #ffffff;
  --shadow: 0 1px 2px rgba(27,27,26,.05), 0 10px 30px rgba(27,27,26,.07);
  --card-shadow: 0 1px 2px rgba(27,27,26,.05), 0 14px 40px rgba(27,27,26,.08);
  /* The film keeps the stack it was measured with; page headings use Charter. */
  --serif: Georgia, "Times New Roman", serif;
  --display: Charter, "Iowan Old Style", Georgia, serif;
  --sans: -apple-system, "Segoe UI", Roboto, system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #161615; --white: #1d1c1a; --ink: #ecebe7; --muted: #bdbab3;
    --rule: #34322e; --accent: #6fcf97; --btn-bg: #ecebe7; --btn-fg: #161615;
    --surface: #1d1c1a; --inkband: #252421; --on-ink: #f3f1ea; --on-ink-soft: #c9c6bf; --on-ink-accent: #6fcf97;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 30px rgba(0,0,0,.4);
    --card-shadow: 0 1px 2px rgba(0,0,0,.4), 0 14px 40px rgba(0,0,0,.35);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #161615; --white: #1d1c1a; --ink: #ecebe7; --muted: #bdbab3;
  --rule: #34322e; --accent: #6fcf97; --btn-bg: #ecebe7; --btn-fg: #161615;
  --surface: #1d1c1a; --inkband: #252421; --on-ink: #f3f1ea; --on-ink-soft: #c9c6bf; --on-ink-accent: #6fcf97;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 30px rgba(0,0,0,.4);
  --card-shadow: 0 1px 2px rgba(0,0,0,.4), 0 14px 40px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.125rem/1.55 var(--sans); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
p { margin: 0; }
figure { margin: 0; }

.wrap { max-width: calc(960px + 3rem); margin: 0 auto; padding: 0 1.5rem; }
.measure { max-width: 680px; margin-left: auto; margin-right: auto; }
.wrap.measure { max-width: calc(680px + 3rem); }

/* ── Nav ── */
.nav { position: sticky; top: 0; z-index: 10; background: var(--paper); border-bottom: 1px solid var(--rule); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 56px; max-width: 1240px; }
.brand { display: inline-flex; color: var(--ink); flex: none; }
.logo { height: 24px; width: auto; display: block; }
.logo-sm { height: 20px; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; font-size: 1rem; white-space: nowrap; }
.nav-links a:not(.btn) { color: var(--ink); text-decoration: none; }
.nav-links a:not(.btn):hover { text-decoration: underline; }
@media (max-width: 600px) {
  .nav-links { gap: 1rem; }
  .nav-anchor { display: none; }
  /* 44px-tall tap targets without moving anything. */
  .nav-signin { padding: .6rem .25rem; margin: -.6rem -.25rem; }
  .footer nav a { display: inline-block; padding: .7rem 0; margin: -.7rem 0; }
  .footer nav { row-gap: 1.1rem; }
}

/* ── Buttons: ink pill, like the app's "+ Generate" ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 1.5rem; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 600 1rem/1 var(--sans); text-decoration: none; white-space: nowrap;
}
.btn:hover { opacity: .88; }
.btn-sm { min-height: 36px; padding: 0 1rem; font-size: .9375rem; }
.text-link { color: var(--accent); font-weight: 600; text-decoration: none; min-height: 48px; display: inline-flex; align-items: center; }
.text-link:hover { text-decoration: underline; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-top: 2rem; }
.cta-row.center { justify-content: center; }

/* ── Bands + type ── */
.band { padding: 104px 0; }
.band-paper { background: var(--paper); }
.band-white { background: var(--white); }
.band-ink { background: var(--inkband); color: var(--on-ink); }
.band-ink h2, .band-ink .lead { color: var(--on-ink); }
.band-ink .dash { background: var(--on-ink-accent); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; color: var(--ink); }
h2 { font-size: 2rem; line-height: 1.18; letter-spacing: -.005em; text-wrap: balance; }
.dash { display: block; width: 32px; height: 3px; background: var(--accent); margin-bottom: 1.25rem; }
.body { margin-top: 1.1rem; }
.lead { margin-top: 1.25rem; font-size: 1.1875rem; line-height: 1.6; color: var(--ink); text-wrap: pretty; }
.sub { margin-top: 1rem; color: var(--muted); }
.serif-line { font: 400 1.375rem/1.4 var(--display); margin-top: 2rem; }
.label { font: 600 .9375rem/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ── 1. Hero ── */
.hero { padding: 88px 0 96px; text-align: center; }
.hero h1 {
  font-size: clamp(2.25rem, 4.2vw, 3.6rem); line-height: 1.08; letter-spacing: -.012em;
  max-width: 22ch; margin: 0 auto; text-wrap: balance;
}
/* Wide screens: two lines, broken after the comma. */
@media (min-width: 1200px) {
  .hero .wrap { max-width: calc(1240px + 3rem); }
  .hero h1 { max-width: none; }
  .hero h1 .h1-line { display: block; white-space: nowrap; }
}
.hero-sub {
  max-width: 40rem; margin: 1.5rem auto 0; color: var(--muted);
  font-size: 1.25rem; line-height: 1.5; text-wrap: pretty;
}
.hero .cta-row { justify-content: center; margin-top: 2rem; }
/* The film player (our own, outside the verbatim film block). Light mode: the
   film is a framed card on the page, with its controls (play/pause, restart, a
   seekable progress bar, the time) in ink just below it, so it reads as the
   app in motion rather than a video product. Dark mode puts it back on a dark
   mat (see the dark-mode block). The film's own caption + pause pill
   (.movie-foot) are replaced by these. Overrides film.css, linked later. */
.film-mat {
  max-width: 960px; margin: 3.5rem auto 0; text-align: left;
  --fb-fg: #1b1b1a; --fb-hover: rgba(27,27,26,.08); --fb-rail: rgba(27,27,26,.16);
  --fb-fill: #1f7a4d; --fb-time: #5f5d57; --fb-focus: #1b1b1a;
}
html .film-mat { position: relative; background: transparent; padding: 0; border: 0; box-shadow: none; }
html .film-mat .movie { margin: 0; max-width: none; }
html .film-mat .movie-stage.film { border: 0; border-radius: 12px; cursor: pointer; box-shadow: 0 0 0 1px rgba(27,27,26,.10), 0 18px 44px rgba(27,27,26,.12); }
.film-mat .movie-foot { display: none; }
.film-bar { display: flex; align-items: center; gap: .85rem; padding: 12px 0 0; }
.fb-play { flex: none; width: 34px; height: 34px; border: 0; padding: 0; background: none; color: var(--fb-fg); display: grid; place-items: center; cursor: pointer; }
.fb-play span { display: block; }
.fb-play[data-state="playing"] span { width: 12px; height: 15px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; box-sizing: border-box; }
.fb-play[data-state="paused"] span { width: 0; height: 0; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent currentColor; margin-left: 3px; }
.fb-restart { flex: none; width: 34px; height: 34px; border: 0; padding: 0; background: none; color: var(--fb-fg); display: grid; place-items: center; cursor: pointer; opacity: .9; }
.fb-play:hover, .fb-restart:hover { opacity: 1; background: var(--fb-hover); border-radius: 50%; }
.fb-track { flex: 1; padding: 10px 0; cursor: pointer; }
.fb-rail { height: 4px; border-radius: 2px; background: var(--fb-rail); overflow: hidden; transition: height .12s; }
.fb-track:hover .fb-rail, .fb-track:focus-visible .fb-rail { height: 6px; }
.fb-fill { height: 100%; background: var(--fb-fill); transform: scaleX(0); transform-origin: left; }
.fb-time { flex: none; font: 500 .875rem/1 var(--sans); color: var(--fb-time); font-variant-numeric: tabular-nums; }
.fb-big { position: absolute; left: 50%; top: calc(50% - 22px); width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; border: 0; background: rgba(22,22,21,.82); color: #fff; display: none; place-items: center; cursor: pointer; }
.fb-big span { width: 0; height: 0; border-style: solid; border-width: 14px 0 14px 23px; border-color: transparent transparent transparent currentColor; margin-left: 6px; }
.film-mat.is-user-paused .fb-big { display: grid; }
.fb-cap { max-width: 960px; margin: .6rem auto 0; color: var(--muted); font-size: .9375rem; text-align: left; }
.fb-cap a { color: var(--muted); }
@media (max-width: 480px) {
  /* The film bleeds to 6px from the screen edges; the bar lines up with it. */
  html .film-mat { margin-left: -1.1rem; margin-right: -1.1rem; padding: 0 6px; }
  html .film-mat .movie { margin: 0; width: auto; }
  html .film-mat .movie-stage.film { border-radius: 12px; }
  .film-bar { padding: 8px 0 0; }
  .fb-cap { font-size: .875rem; }
}
@media (prefers-reduced-motion: reduce) { .film-bar, .fb-big { display: none !important; } }
.film-bar :focus-visible, .fb-big:focus-visible { outline-color: var(--fb-focus); }
.fb-big:focus-visible { outline-color: #fff; }
/* Short screens (a phone held sideways, a squat laptop window): size the film
   so the whole player, bar included, fits under the nav. */
@media (min-width: 601px) {
  .film-mat, .fb-cap { max-width: min(960px, calc((100svh - 150px) * 16 / 9 + 20px)); }
}


/* ── 2. The proof ── */
.proof-card {
  max-width: 760px; margin: 3.5rem auto 0; padding: 2.75rem 3rem 2.5rem;
  background: var(--card); border: 0; border-radius: 6px;
  box-shadow: 0 0 0 1px rgba(27,27,26,.07), 0 2px 4px rgba(27,27,26,.05), 0 26px 60px rgba(27,27,26,.16);
  /* the lecture map's own palette (LectureMap.LIGHT), via the vars its dots read */
  --surface: #ffffff; --text: #1b1b1a; --text-secondary: #4a4843; --border: #d4d4d4;
  color: var(--text);
}
.proof-for { font-size: 1.0625rem; color: var(--text); }
.proof-for .label { margin-right: .5rem; color: var(--text-secondary); }
.proof-title { font: 600 2.1rem/1.15 var(--display); color: var(--text); margin-top: .9rem; overflow-wrap: anywhere; }
.proof-opens-label { margin-top: 1.9rem; font-size: .9375rem; letter-spacing: .08em; color: var(--text-secondary); }
.proof-opens { font: 400 1.25rem/1.5 var(--display); margin-top: .5rem; color: var(--text); }
.opens-short { display: none; }
.proof-map { margin-top: 2rem; padding-top: 1.75rem; border-top: 1px solid var(--rule-card, #e6e3db); }
.proof-go { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--rule-card, #e6e3db); }
.proof-go a { font-weight: 600; font-size: 1.0625rem; color: #1e7e46; text-decoration: none; }
.proof-go a:hover, .proof-go a:focus-visible { text-decoration: underline; }
/* Chapters 1-4 by default; the toggle shows the rest. */
.proof-card.is-collapsed .is-extra { display: none; }
.proof-card.is-collapsed .lmap-part:has(+ .lmap-part.is-extra) .lmap-ch:last-child::before,
.proof-card.is-collapsed .lmap-ch:has(+ .lmap-ch.is-extra)::before { display: none; }
.map-toggle {
  display: inline-flex; align-items: center; min-height: 44px; margin-top: .75rem; padding: 0 1.1rem;
  border: 1px solid var(--border); border-radius: 999px; background: transparent; color: var(--text);
  font: 600 .9375rem/1 var(--sans); cursor: pointer;
}
.map-toggle:hover { border-color: var(--text-secondary); }
.map-toggle::before { content: "+"; margin-right: .5rem; font-weight: 400; font-size: 1.1rem; }
.map-toggle[aria-expanded="true"]::before { content: "\2212"; }
/* The renderer's status line ("8 chapters. Start with chapter 1") is dropped: the toggle
   and the one read link carry it. */
.proof-card .lmap-status { display: none; }

/* Lecture map (spine). Same rules as docs/mockups/lecture_map/index.html,
   sized up for a marketing page (nothing under 15px). */
.lmap { margin: 0; }
.lmap-status { font: 400 1rem/1.4 var(--sans); color: var(--text-secondary); margin: 0 0 1.25rem; }
.lmap-continue { color: #1e7e46; font-weight: 600; margin-left: .35rem;  text-decoration: none; }
.lmap-continue:hover, .lmap-continue:focus-visible { text-decoration: underline; }
.lmap-part { position: relative; padding-left: 2.9rem; }
.lmap-part + .lmap-part { margin-top: .5rem; }
.lmap-part-name { font: 600 .9375rem/1.3 var(--sans); color: var(--text-secondary); margin: 0 0 .4rem; }
.lmap-chapters { list-style: none; margin: 0; padding: 0 0 .6rem; }
.lmap-ch { position: relative; padding: .3rem 0 .5rem; }
.lmap-ch:not(:last-child)::before { content: ""; position: absolute; left: calc(-2.9rem + 1.0625rem - 1.5px); top: 1.4rem; bottom: -1.3rem; width: 3px; background: var(--border); }
.lmap-link { display: block; text-decoration: none; color: inherit; border-radius: 6px; }
/* No permanent underlines: titles underline on hover and keyboard focus only. */
a.lmap-link:hover .lmap-title,
a.lmap-link:focus-visible .lmap-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.lmap-dot { position: absolute; left: -2.9rem; top: .25rem; width: 2.125rem; height: 2.125rem; color: var(--text); z-index: 1; }
.lmap-dot svg { display: block; width: 100%; height: 100%; }
.lmap-text { display: flex; flex-direction: column; padding-top: .2rem; min-width: 0; }
.lmap-title { font: 400 1.1875rem/1.35 var(--display); overflow-wrap: anywhere; }
.lmap-sub { font: 400 .9375rem/1.4 var(--sans); color: var(--text-secondary); margin-top: .1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lmap-more { margin: .25rem 0 0; }
.lmap-more summary { cursor: pointer; font: 400 .9375rem/1.4 var(--sans); color: var(--text-secondary); list-style: none; display: inline-block; padding: .1rem 0; }
.lmap-more summary::-webkit-details-marker { display: none; }
.lmap-more summary::before { content: "+ "; }
.lmap-more[open] summary::before { content: "\2212  "; }
.lmap-more p { font: 400 1rem/1.6 var(--display); margin: .4rem 0 .5rem; color: var(--text); }
.lmap-more.is-featured p { border-left: 3px solid #1e7e46; padding-left: 1rem; }

/* ── 3. How it works ── */
.steps { list-style: none; margin: 2.5rem 0 0; padding: 0; }
.steps li { position: relative; padding: 0 0 1.75rem 3.25rem; }
.steps li:last-child { padding-bottom: 0; }
.steps li:not(:last-child)::before { content: ""; position: absolute; left: calc(1rem - 1.5px); top: 2.1rem; bottom: .1rem; width: 3px; background: var(--rule); }
/* Ring dot, as in the lecture map: hollow circle, 3px ring, centred numeral. */
.ring {
  position: absolute; left: 0; top: -.05rem; width: 2rem; height: 2rem; border-radius: 50%;
  border: 3px solid var(--rule); background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font: 600 .9375rem/1 var(--sans); color: var(--ink);
}
.steps p { padding-top: .1rem; }
.steps strong { font-weight: 600; }

/* ── Stills: one per section, cropped to the app window ── */
.still {
  max-width: 760px; margin: 3.5rem auto 0; overflow: hidden;
  border: 1px solid var(--rule); border-radius: 12px; background: #f3f1ea;
}
.still img { width: 100%; height: auto; }
.still-ask img { aspect-ratio: 1132 / 944; object-fit: cover; object-position: 50% 55%; }

/* Still 04: just the sharp notification, clipped to its own rounded corners. */
.still-mail { max-width: 480px; margin: 3rem auto 0; }
.still-mail img {
  width: 100%; aspect-ratio: 554 / 158; border-radius: 5.4% / 19%;
  box-shadow: 0 14px 38px rgba(20,24,40,.16), 0 2px 6px rgba(0,0,0,.06);
}
.still-mail figcaption { margin: 1.25rem auto 0; max-width: 34ch; text-align: center; color: var(--muted); font-size: 1rem; line-height: 1.5; text-wrap: balance; }
.serif-line.measure { text-align: center; margin-top: 3rem; }

/* ── 5. Samples: a plain list; the whole row is the link (ink, not green) ── */
.samples { list-style: none; margin: 2.25rem 0 0; padding: 0; border-top: 1px solid var(--rule); }
.samples li { border-bottom: 1px solid var(--rule); }
.s-row { position: relative; display: block; padding: 1.15rem 2.5rem 1.15rem 0; color: var(--ink); text-decoration: none; }
.s-row::after { content: "\2192"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); font-size: 1.25rem; color: var(--ink); }
.s-title { display: block; font: 600 1.25rem/1.3 var(--display); overflow-wrap: anywhere; text-wrap: balance; }
.s-for { display: block; color: var(--muted); font-size: 1rem; line-height: 1.5; margin-top: .25rem; }
.s-row:hover .s-title, .s-row:focus-visible .s-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.next-up { margin-top: 1.5rem; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.next-up a.pending { color: var(--muted); text-decoration: underline dotted; text-underline-offset: 3px; cursor: default; }

/* ── 6. Pricing: hairline rows, figures in tabular numbers ── */
.prices { list-style: none; margin: 2.25rem 0 0; padding: 0; border-top: 1px solid var(--rule); font-variant-numeric: tabular-nums; }
.prices li { padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.prices b { font-weight: 600; }
#pricing .body { margin-top: 1.5rem; }
#pricing .prices + .body { margin-top: 2rem; }

/* ── 7. Good to know ── */
.faqs { margin-top: 2rem; border-top: 1px solid var(--rule); }
.faq { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2.25rem 1.1rem 0; font-weight: 600; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: 1rem; color: var(--muted); font-weight: 400; font-size: 1.3rem; }
.faq[open] summary::after { content: "\2212"; }
.faq p { margin: 0 0 1.15rem; }
.faq-contact { margin-top: 1.75rem; color: var(--muted); }

/* ── 8. Close + footer ── */
.close { text-align: center; }
.close h2 { font-size: 2.4rem; }
.close-signin { margin-top: 1.25rem; color: var(--muted); }
.footer { background: var(--paper); border-top: 1px solid var(--rule); padding: 2rem 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem 1.5rem; color: var(--ink); }
.footer nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .9375rem; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--ink); text-decoration: underline; }

/* ── Dark mode: film + stills sit on a mat, dimmed so the cream stage
   doesn't glare. The map uses its built-in dark palette (LectureMap.DARK). ── */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .film-mat,
  :root:not([data-theme="light"]) .still { background: #1d1c1a; padding: 12px; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; }
  :root:not([data-theme="light"]) .film-mat { --fb-fg: #fff; --fb-hover: rgba(255,255,255,.12); --fb-rail: rgba(255,255,255,.22); --fb-fill: #6fcf97; --fb-time: rgba(255,255,255,.82); --fb-focus: #fff; }
  :root:not([data-theme="light"]) .film-mat .movie-stage.film { box-shadow: none; border-radius: 10px; }
  :root:not([data-theme="light"]) .film-bar { padding: 10px 6px 2px; }
  :root:not([data-theme="light"]) .film-mat .film,
  :root:not([data-theme="light"]) .still img,
  :root:not([data-theme="light"]) .still-mail img { filter: brightness(.86); }
  :root:not([data-theme="light"]) .still img { border-radius: 6px; }
  :root:not([data-theme="light"]) .proof-card { --card: #161618; --surface: #161618; --text: #e4e4e7; --text-secondary: #a1a1aa; --border: #3a3a40; --rule-card: #3a3a40; box-shadow: 0 0 0 1px #3a3a40, 0 30px 70px rgba(0,0,0,.6); }
  :root:not([data-theme="light"]) .proof-go a,
  :root:not([data-theme="light"]) .lmap-continue { color: #6fcf97; }
  :root:not([data-theme="light"]) .lmap-more.is-featured p { border-left-color: #6fcf97; }
}
:root[data-theme="dark"] .film-mat,
:root[data-theme="dark"] .still { background: #1d1c1a; padding: 12px; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; }
:root[data-theme="dark"] .film-mat { --fb-fg: #fff; --fb-hover: rgba(255,255,255,.12); --fb-rail: rgba(255,255,255,.22); --fb-fill: #6fcf97; --fb-time: rgba(255,255,255,.82); --fb-focus: #fff; }
:root[data-theme="dark"] .film-mat .movie-stage.film { box-shadow: none; border-radius: 10px; }
:root[data-theme="dark"] .film-bar { padding: 10px 6px 2px; }
:root[data-theme="dark"] .film-mat .film,
:root[data-theme="dark"] .still img,
:root[data-theme="dark"] .still-mail img { filter: brightness(.86); }
:root[data-theme="dark"] .still img { border-radius: 6px; }
:root[data-theme="dark"] .proof-card { --card: #161618; --surface: #161618; --text: #e4e4e7; --text-secondary: #a1a1aa; --border: #3a3a40; --rule-card: #3a3a40; box-shadow: 0 0 0 1px #3a3a40, 0 30px 70px rgba(0,0,0,.6); }
:root[data-theme="dark"] .proof-go a,
:root[data-theme="dark"] .lmap-continue { color: #6fcf97; }
:root[data-theme="dark"] .lmap-more.is-featured p { border-left-color: #6fcf97; }

/* ── Mobile ── */
@media (max-width: 600px) {
  .band { padding: 64px 0; }
  .hero { padding: 44px 0 56px; }
  .hero-sub { font-size: 1.0625rem; margin-top: 1.1rem; }
  .lead { font-size: 1.0625rem; }
  h2 { font-size: 1.6rem; }
  .close h2 { font-size: 1.85rem; }
  .film-mat { margin-top: 2.25rem; }
  .proof-card { margin-top: 2rem; padding: 1.75rem 1.25rem 1.5rem; }
  .proof-title { font-size: 1.65rem; }
  .opens-full { display: none; }
  .opens-short { display: inline; }
  .lmap-part { padding-left: 2.6rem; }
  .lmap-dot { left: -2.6rem; width: 2rem; height: 2rem; }
  .lmap-ch:not(:last-child)::before { left: calc(-2.6rem + 1rem - 1.5px); }
  /* Stills at full width: bleed to 6px margins, like the film. */
  .still { margin: 2.25rem -1.1rem 0; border-radius: 10px; }
  .still-ask img { aspect-ratio: 712 / 668; }
  .still-mail { max-width: none; margin: 2.25rem -1.1rem 0; }
  .still-mail img { aspect-ratio: 680 / 126; border-radius: 4.7% / 25%; }
  .serif-line.measure { margin-top: 2.25rem; }
}
@media (max-width: 480px) {
  /* The film bleeds to 6px margins here; keep the dark mat thin so it still can. */
  :root[data-theme="dark"] .film-mat { padding: 6px; border-radius: 14px; }
}
@media (max-width: 480px) and (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .film-mat { padding: 6px; border-radius: 14px; }
}
@media (max-width: 399px) {
  .hero .cta-row { flex-direction: column; align-items: stretch; gap: .25rem; }
  .hero .cta-row .btn { width: 100%; }
  .hero .cta-row .text-link { justify-content: center; }
}
