/* Lights Out Handbook — shared styles + homepage
   Brand: hard square corners, no gradients, Signal red used sparingly.
   Three reading modes: Night (default), Lights on, Red light (keeps night vision). */

/* ---------- Tokens: Night (default) ---------- */
:root {
  --bg: #0C120F;          /* Blackout */
  --panel: #141D18;
  --ink: #E6E2D3;         /* Candle */
  --muted: #A9B3A8;
  --rule: #2A372F;
  --rule-strong: #4A564E;
  --red: #FF5A47;         /* Signal red: accents, alerts */
  --on-red: #0C120F;
  --logo-o: #FF5A47;
  --t-green: #6CCB8A;     /* tier cells / chapter tones */
  --t-blue: #5EB0E8;
  --t-amber: #FFB020;
  --t-red: #FF5A47;
  --on-tone: #0C120F;
  --cell-off: #2A372F;
  --mentol: #FFB020;      /* Mentol amber: Mentol only */
  --on-mentol: #0C120F;
  --gobag: #4E5A3A;       /* Go-bag green */
  --focus: #FFB020;
  --header-bg: #0C120F;
  --media-filter: none;

  --stencil: 'Big Shoulders Stencil', 'Arial Narrow', sans-serif;
  --display: 'Big Shoulders', 'Arial Narrow', sans-serif;
  --body: Archivo, 'Arial Narrow', Arial, sans-serif;

  --gutter: clamp(20px, 4vw, 40px);
  --max: 1360px;
  --header-h: 81px;
  color-scheme: dark;
}

/* ---------- Lights on ---------- */
:root[data-theme="light"] {
  --bg: #F2EFE6;
  --panel: #E6E2D3;
  --ink: #0C120F;
  --muted: #4A564E;
  --rule: #CFC9B6;
  --rule-strong: #9C9886;
  --red: #B02818;
  --on-red: #F2EFE6;
  --logo-o: #C9301F;
  --t-green: #1B6E3E;
  --t-blue: #1A5F92;
  --t-amber: #845600;
  --t-red: #B02818;
  --on-tone: #F2EFE6;
  --cell-off: #CFC9B6;
  --focus: #1A5F92;
  --header-bg: #F2EFE6;
  color-scheme: light;
}

/* ---------- Red light: everything red on black ---------- */
:root[data-theme="red"] {
  --bg: #000000;
  --panel: #140303;
  --ink: #FF4A3A;
  --muted: #E8493C;
  --rule: #4A1410;
  --rule-strong: #7A2018;
  --red: #FF7A6C;
  --on-red: #000000;
  --logo-o: #FF7A6C;
  --t-green: #FF8A7C;
  --t-blue: #F05A4A;
  --t-amber: #FF6A5C;
  --t-red: #FF7A6C;
  --on-tone: #000000;
  --cell-off: #4A1410;
  --mentol: #FF4A3A;
  --on-mentol: #000000;
  --gobag: #2A0805;
  --focus: #FF7A6C;
  --header-bg: #000000;
  --media-filter: grayscale(1) brightness(.5) sepia(1) hue-rotate(-40deg) saturate(4);
  color-scheme: dark;
}

/* Sections that sit on video, photos or Go-bag green stay dark in every mode */
.on-dark {
  --ink: #E6E2D3;
  --muted: #C9CFC7;
  --red: #FF5A47;
  --on-red: #0C120F;
  --field-bg: #E6E2D3;
  --field-ink: #0C120F;
  --field-ph: #5D665F;
  --dark-btn: #0C120F;
  --t-green: #6CCB8A; --t-blue: #5EB0E8; --t-amber: #FFB020; --t-red: #FF5A47; --on-tone: #0C120F;
  color: var(--ink);
}
:root[data-theme="red"] .on-dark {
  --ink: #FF4A3A;
  --muted: #E8493C;
  --red: #FF7A6C;
  --on-red: #000000;
  --field-bg: #FF4A3A;
  --field-ink: #000000;
  --field-ph: #3A0A06;
  --dark-btn: #000000;
  --t-green: #FF8A7C; --t-blue: #F05A4A; --t-amber: #FF6A5C; --t-red: #FF7A6C; --on-tone: #000000;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .3s ease, color .3s ease;
}

img, video, svg { display: block; max-width: 100%; }
p { margin: 0; }

a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--t-amber); color: var(--on-tone); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 14px; background: var(--ink); color: var(--bg); font-weight: 800;
}
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.red { color: var(--red); }
.muted { color: var(--muted); }
.small { font-size: 15px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 24px;
  font-family: var(--body); font-weight: 900; font-stretch: 112%; font-size: 17px; line-height: 1.1;
  text-decoration: none; text-align: center; border: 1px solid transparent; border-radius: 0; cursor: pointer;
  background: none; color: var(--ink);
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .1s ease;
  user-select: none; -webkit-user-select: none;
}
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: var(--on-red); }
.btn-red:hover { background: var(--ink); color: var(--bg); }
.on-dark .btn-red:hover { background: #E6E2D3; color: #0C120F; }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--bg); }
.on-dark .btn-line:hover { color: #0C120F; }
.btn-quiet { border-color: var(--rule-strong); min-height: 48px; padding: 0 20px; font-size: 16px; align-self: flex-start; }
.btn-dark { background: var(--dark-btn, var(--ink)); color: var(--ink); }
.btn-dark:hover { background: var(--red); color: var(--on-red); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 15px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  border-bottom: 1px solid var(--rule);
  padding-top: env(safe-area-inset-top);
  transition: background-color .3s ease;
}
.site-header.is-static { position: relative; }
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px 28px;
  padding-top: 18px; padding-bottom: 18px;
}
.logo {
  display: flex; align-items: center;
  text-decoration: none; color: var(--ink);
  font-family: var(--stencil); font-weight: 900; font-size: 34px; line-height: .8;
  flex: none;
}
.logo:hover { color: var(--ink); }
.logo-o { width: 25px; height: 28px; margin: 0 1px 0 8px; color: var(--logo-o); }

.site-nav { display: flex; align-items: center; gap: 8px 24px; font-size: 15px; font-weight: 700; }
.site-nav a:not(.btn) { text-decoration: none; padding: 10px 0; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--red); }

/* Reading-light toggle */
.modes { display: flex; border: 1px solid var(--rule-strong); }
.modes button {
  min-width: 44px; min-height: 44px; padding: 0 11px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; background: transparent; color: var(--ink); cursor: pointer;
  font: inherit; font-weight: 800; font-stretch: 110%; font-size: 14px; white-space: nowrap;
}
.modes button + button { border-left: 1px solid var(--rule-strong); }
.modes button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.modes button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.modes button:hover:not([aria-pressed="true"]) { color: var(--red); }
.site-nav .modes .mode-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.menu-btn, .now-mobile { display: none; }
.now-mobile { white-space: nowrap; }

/* ---------- Media backgrounds ---------- */
.bg-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: var(--media-filter); }
.shade { position: absolute; inset: 0; background: rgba(12, 18, 15, var(--shade, .5)); pointer-events: none; }
:root[data-theme="red"] .shade { background: rgba(0, 0, 0, calc(var(--shade, .5) + .15)); }

/* ---------- Hero (H1) ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 680px; display: flex; align-items: flex-end;
  background: #0C120F;
}
.hero-inner { position: relative; display: flex; flex-direction: column; gap: 28px; padding-bottom: 64px; padding-top: 96px; }
.hero-title {
  margin: 0;
  font-family: var(--stencil); font-weight: 900;
  font-size: clamp(64px, 11vw, 168px); line-height: .8;
}
.lede { max-width: 560px; font-size: 19px; line-height: 1.55; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Section blocks ---------- */
.block { padding-top: 96px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 32px; }
.block-tight { padding-top: 64px; padding-bottom: 96px; }
.block-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; }
.block-head p { max-width: 420px; font-size: 17px; }

.h2 {
  margin: 0;
  font-family: var(--stencil); font-weight: 900;
  font-size: clamp(48px, 6vw, 80px); line-height: .85;
}
.h2-xl { font-size: clamp(48px, 6vw, 88px); line-height: .82; }

/* ---------- Topic cards (T1–T4) ---------- */
.topics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.topic {
  position: relative; overflow: hidden;
  aspect-ratio: 3 / 4;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px; text-decoration: none;
  background: #141D18;
}
.topic:hover { color: var(--ink); }
.topic .bg-media { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.topic .shade { transition: background-color .3s ease; }
.topic-name, .topic-tip { position: relative; }
.topic { container-type: inline-size; }
.topic-name { font-family: var(--stencil); font-weight: 900; font-size: min(64px, 19cqi); line-height: .82; overflow-wrap: normal; text-wrap: balance; }
.topic-tip { margin-top: 10px; font-size: 16px; font-weight: 600; line-height: 1.4; }
.topic-name::after {
  content: ""; display: block; width: 0; height: 4px; margin-top: 12px; background: var(--red);
  transition: width .3s ease;
}
@media (hover: hover) {
  .topic:hover .bg-media { transform: scale(1.04); }
  .topic:hover .shade { background: rgba(12, 18, 15, .3); }
  .topic:hover .topic-name::after { width: 48px; }
}


/* ---------- Chapter / scenario tones ---------- */
.tone-green { --tone: var(--t-green); }
.tone-blue  { --tone: var(--t-blue); }
.tone-amber { --tone: var(--t-amber); }
.tone-red   { --tone: var(--t-red); }
.tone-muted { --tone: var(--muted); }

/* ---------- Scenario rail (side-scrolling) ---------- */
.rail-block { padding-top: 96px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 32px; }
.rail-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; }
.rail-head .side { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.rail-head .side p { max-width: 420px; font-size: 17px; }
.rail-ctrl { display: flex; align-items: center; gap: 8px; }
.rail-count { font-size: 14px; font-weight: 800; color: var(--muted); margin-right: 8px; font-variant-numeric: tabular-nums; }
.rail-btn {
  width: 54px; height: 54px; padding: 0; display: grid; place-items: center; cursor: pointer;
  background: none; color: var(--ink); border: 1px solid var(--rule-strong); border-radius: 0;
  transition: background-color .15s ease, color .15s ease, opacity .15s ease;
}
.rail-btn:hover:not(:disabled) { background: var(--ink); color: var(--bg); }
.rail-btn:disabled { opacity: .3; cursor: default; }
.rail-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: square; }
.rail {
  --rail-pad: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  display: flex; gap: 12px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding: 0 var(--rail-pad) 4px; scroll-padding: 0 var(--rail-pad);
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail .topic { flex: 0 0 clamp(260px, 23vw, 320px); scroll-snap-align: start; aspect-ratio: 3 / 4; }
.topic-tag {
  position: absolute; top: 16px; left: 18px; right: 18px;
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; line-height: 1.3;
}
.topic-tag i { width: 10px; height: 10px; background: var(--tone); flex: none; }
.topic.flat { background: var(--gobag); border-top: 6px solid var(--tone); }
.topic.flat .topic-tag { top: 14px; }
.topic.flat .shade { display: none; }

/* ---------- Prep tiers ---------- */
.tiers {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px; background: var(--rule); border: 1px solid var(--rule);
}
.tier-card {
  background: var(--bg); padding: 28px;
  display: flex; flex-direction: column; gap: 22px;
  text-decoration: none; color: var(--ink);
  transition: background-color .2s ease;
}
.tier-card:hover { background: var(--panel); color: var(--ink); }
.battery { width: 96px; height: 48px; }
.battery .shell { fill: none; stroke: var(--ink); stroke-width: 7; }
.battery .nub { fill: var(--ink); }
.battery .off { fill: var(--cell-off); }
.battery .c1 { fill: var(--t-green); }
.battery .c2 { fill: var(--t-blue); }
.battery .c3 { fill: var(--t-amber); }
.battery .c4 { fill: var(--t-red); }
.tier-name { font-family: var(--stencil); font-weight: 900; font-size: 48px; line-height: .85; }
.tier-card .muted { font-size: 16px; }

/* ---------- Chapter index (homepage) ---------- */
.chapters {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1px; padding: 1px;
}
.chapter-link {
  background: var(--bg); padding: 22px 24px 24px;
  display: grid; grid-template-columns: 48px 1fr; gap: 4px 14px; align-items: baseline;
  text-decoration: none; color: var(--ink);
  border-top: 4px solid var(--tone, var(--rule));
  outline: 1px solid var(--rule);
  transition: background-color .2s ease;
}
.chapter-link:hover { background: var(--panel); color: var(--ink); }
.chapter-link .n { grid-row: span 2; font-family: var(--stencil); font-weight: 900; font-size: 44px; line-height: .8; color: var(--tone); }
.chapter-link .t { font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1.05; }
.chapter-link .d { font-size: 15px; line-height: 1.45; color: var(--muted); }

/* ---------- V2 band + Mentol ---------- */
.band { position: relative; overflow: hidden; min-height: 520px; display: flex; align-items: center; background: #0C120F; }
.band-inner { position: relative; padding-top: 64px; padding-bottom: 64px; }
.mentol-card {
  background: var(--mentol); color: var(--on-mentol);
  padding: 32px; max-width: 480px;
  display: flex; gap: 22px; align-items: flex-end;
}
.mentol-text { display: flex; flex-direction: column; gap: 14px; }
.mentol-line { font-family: var(--stencil); font-weight: 900; font-size: 64px; line-height: .8; }
.mentol-tip { font-weight: 900; font-stretch: 112%; font-size: 19px; line-height: 1.2; }
.mentol { width: 72px; height: 89px; flex: none; color: var(--on-mentol); }

/* ---------- Story (S1) ---------- */
.story { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 40px; padding-bottom: 96px; }
.story-media { position: relative; flex: 1 1 480px; min-width: 0; max-width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: #141D18; }
.story-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.quote { margin: 0; font-family: var(--display); font-weight: 800; font-size: 32px; line-height: 1.1; }

/* ---------- Sign-up ---------- */
.signup { background: var(--gobag); }
.signup-inner {
  padding-top: 88px; padding-bottom: 88px;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px 48px;
}
.signup-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.signup-copy p { max-width: 520px; font-size: 18px; }
.signup-form { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.signup-form label { font-size: 14px; font-weight: 700; }
.field-row { display: flex; flex-wrap: wrap; gap: 8px; }
.field-row input {
  flex: 1 1 220px; min-width: 0; min-height: 54px; padding: 0 16px;
  background: var(--field-bg); color: var(--field-ink);
  border: 2px solid var(--field-bg); border-radius: 0;
  font: inherit; font-size: 17px; /* 16px+ stops iOS zoom */
  -webkit-appearance: none; appearance: none;
}
.field-row input::placeholder { color: var(--field-ph); }
.field-row input:focus { outline: none; border-color: var(--field-ink); box-shadow: 0 0 0 3px #FFB020; }
.field-row input[aria-invalid="true"] { border-color: var(--red); }
.form-msg { min-height: 1.4em; font-size: 15px; font-weight: 700; }
.text-link { font-size: 15px; font-weight: 700; align-self: flex-start; padding: 6px 0; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(32px, 5vw, 56px); display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: flex-end; }
.page-hero > div:first-child { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.eyebrow { font-weight: 900; font-stretch: 118%; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.page-title { margin: 0; font-family: var(--stencil); font-weight: 900; font-size: clamp(56px, 9vw, 136px); line-height: .82; text-wrap: balance; }
.page-hero .lede { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--rule); padding-bottom: env(safe-area-inset-bottom); }
.footer-inner {
  padding-top: 40px; padding-bottom: 40px;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 40px;
  font-size: 14px; color: var(--muted);
}
.footer-line { font-family: var(--stencil); font-weight: 900; font-size: 28px; color: var(--ink); line-height: 1; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-nav a { color: var(--muted); text-decoration: none; padding: 6px 0; }
.footer-nav a:hover { color: var(--red); }
.footer-999 a { color: var(--red); font-weight: 800; }

/* ======================================================
   Tablet
   ====================================================== */
@media (max-width: 1180px) {
  .site-nav { gap: 8px 18px; }
}
@media (max-width: 1100px) {
  .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topic { aspect-ratio: 4 / 3; }
  .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ======================================================
   Phone + small tablet: header collapses into a menu
   ====================================================== */
@media (max-width: 1100px) {
  :root { --header-h: 65px; }
  .header-inner { padding-top: 10px; padding-bottom: 10px; gap: 10px; }
  .logo { font-size: 28px; margin-right: auto; }
  .logo-o { width: 21px; height: 23px; margin-left: 6px; }
  .now-mobile { display: inline-flex; padding: 0 12px; font-size: 14px; }
  .now-desktop { display: none; }
  .menu-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; padding: 0; margin-right: -8px;
    background: none; border: 0; color: var(--ink); cursor: pointer;
  }
  .menu-btn svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: square; }
  .menu-btn .i-close { display: none; }
  .menu-btn[aria-expanded="true"] .i-open { display: none; }
  .menu-btn[aria-expanded="true"] .i-close { display: block; }

  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--header-bg); border-bottom: 1px solid var(--rule);
    padding: 0 var(--gutter) 20px;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
  }
  .site-nav.open { visibility: visible; opacity: 1; transform: none; transition: opacity .18s ease, transform .18s ease; }
  .site-nav a:not(.btn) {
    padding: 16px 0; border-top: 1px solid var(--rule);
    font-family: var(--stencil); font-weight: 900; font-size: 36px; line-height: 1;
  }
  .site-nav a:not(.btn):first-child { border-top: 0; }
  .site-nav .modes { margin-top: 14px; }
  .site-nav .modes button { flex: 1; }
  .site-nav .modes .mode-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}

@media (max-width: 760px) {
  body { font-size: 17px; }

  .hero { min-height: calc(100svh - var(--header-h)); max-height: 820px; }
  .hero-inner { gap: 22px; padding-bottom: 36px; }
  .hero-title { font-size: clamp(50px, 15.5vw, 110px); }
  .lede { font-size: 17px; }
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; }

  .block { padding-top: 64px; padding-bottom: 40px; gap: 24px; }
  .block-tight { padding-top: 40px; padding-bottom: 64px; }
  .h2, .h2-xl { font-size: clamp(44px, 13vw, 64px); }

  /* Topics: swipeable row */
  .topics {
    display: flex; gap: 10px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter);
    margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 4px;
    scrollbar-width: none;
  }
  .topics::-webkit-scrollbar { display: none; }
  .topic { flex: 0 0 78%; aspect-ratio: 3 / 4; scroll-snap-align: start; padding: 20px; }
  .topic-name { font-size: min(56px, 19cqi); }
  .rail-block { padding-top: 64px; padding-bottom: 40px; gap: 24px; }
  .rail-head .side { align-items: flex-start; }
  .rail-ctrl { display: none; }
  .rail .topic { flex-basis: 78%; padding: 20px; }

  .tier-card { padding: 20px 16px; gap: 16px; }
  .battery { width: 72px; height: 36px; }
  .tier-name { font-size: clamp(30px, 9vw, 40px); }
  .tier-card .muted { font-size: 15px; line-height: 1.4; }

  .chapters { grid-template-columns: 1fr; }
  .chapter-link { padding: 18px 18px 20px; grid-template-columns: 40px 1fr; }
  .chapter-link .n { font-size: 38px; }
  .chapter-link .t { font-size: 25px; }

  .band { min-height: 0; }
  .band-inner { padding-top: 120px; padding-bottom: 40px; }
  .mentol-card { padding: 24px; gap: 18px; max-width: none; flex-direction: column; align-items: flex-start; }
  .mentol-line { font-size: clamp(44px, 14vw, 64px); }
  .mentol-tip { font-size: 17px; }
  .mentol { order: -1; width: 56px; height: 70px; }

  .story { gap: 28px; padding-bottom: 64px; }
  .story-media { flex-basis: 100%; }
  .story-text { flex-basis: 100%; gap: 18px; }
  .quote { font-size: 26px; }

  .signup-inner { padding-top: 64px; padding-bottom: 64px; }
  .signup-copy, .signup-form { flex-basis: 100%; }
  .signup-copy p { font-size: 17px; }
  .field-row .btn { width: 100%; }

  .page-title { font-size: clamp(50px, 15vw, 96px); }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
}

@media (max-width: 360px) {
  .header-inner { gap: 8px; }
  .now-mobile { padding: 0 8px; font-size: 12px; font-stretch: 105%; }
  .logo { font-size: 23px; }
  .logo-o { width: 17px; height: 19px; margin-left: 5px; }
}

/* Calm mode for people who prefer less motion: videos stay on their poster frame. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}
