/* Aethon: Idle Hero RPG — aethon.numinousworks.com
   Tokens lifted from Marketing/Aethon Brand Kit/colors_and_type.css.
   Fonts are SELF-HOSTED (see fonts/). The brand kit @imports them from
   Google Fonts; that was deliberately not carried over — a CDN font request
   leaks visitor IPs to a third party and the CSP here blocks it. */

/* ---------- Self-hosted faces (SIL Open Font License, see fonts/LICENSE-*) ---------- */

@font-face { font-family:"Manrope"; font-style:normal; font-weight:400; font-display:swap;
  src:url("fonts/manrope-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family:"Manrope"; font-style:normal; font-weight:500; font-display:swap;
  src:url("fonts/manrope-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family:"Manrope"; font-style:normal; font-weight:600; font-display:swap;
  src:url("fonts/manrope-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family:"Manrope"; font-style:normal; font-weight:700; font-display:swap;
  src:url("fonts/manrope-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family:"Cormorant Garamond"; font-style:normal; font-weight:400; font-display:swap;
  src:url("fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); }

:root {
  --bg-neutral:   #0D0D12;
  --bg-fire:      #150C09;
  --surface-1:    #14141B;
  --surface-2:    #1C1C25;
  --surface-line: #2A2A36;

  --fg-1: #ECE9E1;
  --fg-2: #B6B2A6;
  --fg-3: #6E6A5E;          /* marks and chrome only (brooch, rules) - 3.6:1, too dim for text */
  /* Muted TEXT. #6E6A5E measured 3.13-3.59:1 on the page surfaces and failed
     WCAG AA (PageSpeed, 5 Oct 2026). #8F8A7D is the same warm grey lifted to
     4.9:1 on --surface-2 (the worst case, a hovered card) and 5.6:1 on the page. */
  --fg-3-text: #8F8A7D;
  --fg-on-accent: #0D0D12;

  /* Page-dominant accent is FIRE — World 1, the Ember Wastes.
     The brand kit's "one accent per screen" rule is held everywhere except
     the class grid, where five accents side by side IS the content. */
  --accent-fire:   #FF6B35;
  /* Class accents are the SHIPPED values from the game's GlobalConstants.gd,
     not the Brand Board's. The two diverge on four of five (the board has
     Vessel icy-white and Warden amber; the game has them teal and blue-grey).
     The game wins: the site represents the product, and the board was never
     direction-locked. If the board is ever locked, reconcile in BOTH places. */
  --class-ember:   #FF6B1A;
  --class-vessel:  #2DD4BF;
  --class-warden:  #6B8AA8;
  --class-drift:   #7B2FFF;
  --class-hollow:  #8FFFB0;

  --font-display: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --font-ui: "Manrope", -apple-system, "Segoe UI", system-ui, sans-serif;

  --r-3: 6px; --r-4: 10px; --r-5: 14px; --r-pill: 999px;
  --tap-min: 44px;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --measure: 34rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--bg-neutral);
  color: var(--fg-1);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

:focus-visible { outline: 2px solid var(--accent-fire); outline-offset: 3px; border-radius: 3px; }

.wrap { width: 100%; max-width: 64rem; margin: 0 auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: -9999px;
  background: var(--surface-2); color: var(--fg-1);
  padding: 0.6rem 1rem; border-radius: var(--r-3); z-index: 10;
}
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Hero ---------- */

/* The ambient glow cycles with the sigil strip, matching the cinematic's
   hero-cycle beat (_beat_hero_cycle tints the hero per class). Registering the
   custom property as a <color> is what makes it interpolate — without
   @property an animated custom property steps discretely at each keyframe,
   which is a graceful fallback at an 11s cycle rather than a break.
   The CTA deliberately does NOT cycle: its dark label on Drift's #7B2FFF
   measures 3.41:1, below AA for 15px text, and a moving accent stops reading
   as "this is the interactive element". */
@property --hero-glow {
  syntax: "<color>";
  inherits: true;
  initial-value: rgba(255, 107, 26, 0.10);
}

.hero {
  position: relative;
  /* Dark world, bright hero: one accent glow behind the figure, nothing else. */
  --hero-glow: rgba(255, 107, 26, 0.10);
  animation: hero-glow-cycle 11s ease-in-out infinite;
  background:
    radial-gradient(60% 45% at 50% 42%, var(--hero-glow), transparent 70%),
    linear-gradient(180deg, var(--bg-fire) 0%, var(--bg-neutral) 78%);
  padding-block: clamp(3rem, 9vh, 5.5rem) clamp(3rem, 8vh, 5rem);
  text-align: center;
  overflow: hidden;
}

/* The brooch is the monogram and stays CLASS-AGNOSTIC in both placements —
   header and footer are deliberately the same --fg-3, so the fixed chrome
   never belongs to one class while the sigils and glow cycle beneath it. */
.brooch { width: 34px; height: 34px; color: var(--fg-3); margin: 0 auto 1.5rem; display: block; }
.brooch svg { width: 100%; height: 100%; display: block; }

.wordmark {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 13vw, 5.75rem);
  line-height: 1;
  letter-spacing: 0.14em;
  text-indent: 0.14em;           /* optical centring against the tracking */
  color: var(--fg-1);
}

.tagline {
  margin: 1.15rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.0625rem, 3.4vw, 1.4rem);
  letter-spacing: 0.09em;
  color: var(--fg-2);
}

.hero-figure {
  display: block;
  /* BOTH auto. With width:auto alone the height="1024" attribute supplies the
     used height, max-height clamps it independently of the width, and the
     aspect ratio is silently lost (rendered 0.585 against a true 0.813).
     With both auto, CSS's replaced-element constraint rules honour the ratio
     against max-width and max-height together. */
  /* Width is computed from the viewport alone, so the box is the right size
     before the image arrives. The old width:auto + max-width/max-height pair
     only resolved once the image decoded, and the page below jumped (desktop
     CLS 0.129, PageSpeed 5 Oct 2026). 52vh x 832/1024 keeps the old height cap. */
  width: min(340px, 72vw, calc(52vh * 832 / 1024));
  height: auto;
  aspect-ratio: 832 / 1024;
  object-fit: contain;
  margin: clamp(2rem, 5vh, 3rem) auto clamp(1.75rem, 4vh, 2.5rem);
  /* The figure is the lightest thing in frame; the glow sits under it. */
  /* Rim light follows the same beat, at a slightly higher alpha so the figure
     stays the lightest thing in frame at every point in the cycle. */
  filter: drop-shadow(0 0 40px var(--hero-glow));
}

/* Beats land at 0 / 2.2 / 4.4 / 6.6 / 8.8s — the same stagger as .sigil-*,
   so the wash and the lit sigil are always the same class. Alphas are tuned
   per colour, not shared: Hollow and Vessel are far lighter than Drift and
   would otherwise wash the section out. */
/* The glow must HOLD, not drift. With a single stop per class the colour
   interpolates across the whole 20% segment, so it is already halfway to the
   next class while the current sigil is still fully lit — the glow visibly
   leads the icon. Each class therefore gets a PAIR of stops: hold for 0-16%
   (the sigil's lit window), cross-fade over 16-20% (the sigil's handover).
   These percentages are the same two numbers as @keyframes sigil-beat and must
   stay in lockstep with it — change one, change both. */
@keyframes hero-glow-cycle {
  0%,   16% { --hero-glow: rgba(255, 107,  26, 0.11); }  /* Ember  */
  20%,  36% { --hero-glow: rgba( 45, 212, 191, 0.09); }  /* Vessel */
  40%,  56% { --hero-glow: rgba(107, 138, 168, 0.11); }  /* Warden */
  60%,  76% { --hero-glow: rgba(123,  47, 255, 0.15); }  /* Drift  */
  80%,  96% { --hero-glow: rgba(143, 255, 176, 0.08); }  /* Hollow */
  100%      { --hero-glow: rgba(255, 107,  26, 0.11); }  /* back to Ember */
}

/* ---------- Class sigil strip (mirrors the launch cinematic) ----------
   LaunchCinematicScene._build_sigil_strip(): SIGIL_STRIP_ICON_SIZE 45px,
   separation 18, corner radius 50% (a circle), bg Color(0.08,0.07,0.12,0.85),
   border 2px Color(0.2,0.2,0.26,0.5), icon inset 20% of the slot, tinted to
   the class accent at SIGIL_STRIP_INACTIVE_OPACITY 0.30. In-game the active
   beat lifts one sigil at a time; here that cycle is CSS, not a Tween. */

.sigil-strip {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: clamp(1.75rem, 4.5vh, 2.5rem) 0 0;
  padding: 0;
  list-style: none;
}

.sigil {
  width: 45px; height: 45px;
  flex: 0 0 auto;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(20, 18, 31, 0.85);
  border: 2px solid rgba(51, 51, 66, 0.5);
  animation: sigil-beat 11s var(--ease-in-out, ease-in-out) infinite;
}

/* 20% inset each side leaves the mark at 60% of the slot — 27px of 45px. */
.sigil-mark { width: 27px; height: 27px; color: var(--sigil-accent); opacity: 0.30; }
.sigil-mark svg { width: 100%; height: 100%; display: block; }

.sigil-ember  { --sigil-accent: var(--class-ember);  animation-delay: 0s; }
.sigil-vessel { --sigil-accent: var(--class-vessel); animation-delay: 2.2s; }
.sigil-warden { --sigil-accent: var(--class-warden); animation-delay: 4.4s; }
.sigil-drift  { --sigil-accent: var(--class-drift);  animation-delay: 6.6s; }
.sigil-hollow { --sigil-accent: var(--class-hollow); animation-delay: 8.8s; }

/* Each slot holds the accent border for its ~2.2s beat, then hands over.
   The mark's own opacity is animated on the same element so the two stay in
   step without a second keyframe track. */
/* The next sigil's delay is exactly 20% of the cycle, so the lit window has to
   CLOSE by 20% or two are lit through the handover (Warden and Drift were both
   burning at t=6.6s before this was tightened). Lit 0-16%, faded out by 20%,
   which is the instant the next one lights: never two, never a dark gap. */
@keyframes sigil-beat {
  0%,  16% { border-color: var(--sigil-accent); box-shadow: 0 0 18px -6px var(--sigil-accent); }
  20%, 100% { border-color: rgba(51, 51, 66, 0.5); box-shadow: none; }
}
.sigil-ember  .sigil-mark { animation: sigil-lift 11s ease-in-out infinite 0s; }
.sigil-vessel .sigil-mark { animation: sigil-lift 11s ease-in-out infinite 2.2s; }
.sigil-warden .sigil-mark { animation: sigil-lift 11s ease-in-out infinite 4.4s; }
.sigil-drift  .sigil-mark { animation: sigil-lift 11s ease-in-out infinite 6.6s; }
.sigil-hollow .sigil-mark { animation: sigil-lift 11s ease-in-out infinite 8.8s; }

@keyframes sigil-lift {
  0%,  16% { opacity: 1; }
  20%, 100% { opacity: 0.30; }
}

/* Motion is decoration here, never information: with it suppressed every
   sigil simply rests at the inactive opacity, exactly as the strip looks
   between beats in-game. */
@media (prefers-reduced-motion: reduce) {
  .sigil, .sigil-mark { animation: none !important; }
  .sigil-mark { opacity: 0.30; }
  .hero { animation: none !important; --hero-glow: rgba(255, 107, 26, 0.11); }
}

.sr {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--tap-min);
  padding: 0.7rem 1.6rem;
  border-radius: var(--r-3);
  font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 200ms var(--ease-out), border-color 200ms var(--ease-out),
              box-shadow 200ms var(--ease-out), color 200ms var(--ease-out);
}
/* CLASS-AGNOSTIC by decision (Ash, 13 Sep 2026). The CTA is the one fixed
   point on a page that cycles, so it takes the brand's own light value rather
   than any class accent. --fg-1 (#ECE9E1) not pure #FFFFFF: the palette is
   warm near-black and clinical white reads cold against it. Dark label on
   bone measures 15.98:1, so every accessibility worry from the cycling
   version is gone outright. */
.btn-primary {
  background: var(--fg-1); color: var(--fg-on-accent);
  box-shadow: 0 0 0 1px rgba(236,233,225,0.22), 0 0 26px -8px rgba(236,233,225,0.28);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: #FFFFFF;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.42), 0 0 34px -8px rgba(255,255,255,0.40);
}

/* ---------- Sections ---------- */

section { padding-block: clamp(3.5rem, 10vh, 6rem); }

.section-label {
  margin: 0 0 0.9rem;
  font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--fg-3-text);
}

.lede {
  max-width: var(--measure);
  margin: 0 auto;
  font-size: clamp(1rem, 2.6vw, 1.125rem);
  line-height: 1.75;
  color: var(--fg-2);
  text-align: center;
}
.lede strong { color: var(--fg-1); font-weight: 500; }
.lede-left { text-align: left; margin-inline: 0; }

h2 {
  margin: 0 0 1.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4.6vw, 2.15rem);
  font-weight: 400; letter-spacing: 0.05em; line-height: 1.2;
  color: var(--fg-1);
}
.centred { text-align: center; }
.centred h2, .centred .section-label { text-align: center; }

/* ---------- The choice (gameplay loop) ----------
   Portrait footage, framed like the phone it was captured on. Stacked on
   phones; side by side from 48rem. The loop is muted and decorative; under
   reduced motion the still replaces it. */

.choice { padding-block-start: 0; }
.choice-grid {
  display: grid; gap: 2rem; align-items: center;
  justify-items: center;
}
.choice-media { margin: 0; width: min(17rem, 72vw); }
.choice-video, .choice-still {
  display: block; width: 100%; height: auto; aspect-ratio: 540 / 1050;
  border-radius: var(--r-5);
  border: 1px solid var(--surface-line);
  background: var(--bg-fire);
  box-shadow: 0 0 60px -18px rgba(255, 107, 53, 0.35);
}
.choice-still { display: none; }
.choice-copy { max-width: var(--measure); }
@media (min-width: 48rem) {
  .choice-grid { grid-template-columns: auto minmax(0, 30rem); justify-content: center; justify-items: start; gap: 3.5rem; }
  .choice-media { width: 19rem; }
  .choice-copy h2 { font-size: clamp(2rem, 3.6vw, 2.6rem); }
}
@media (prefers-reduced-motion: reduce) {
  .choice-video { display: none; }
  .choice-still { display: block; }
}

/* ---------- Class grid ---------- */

/* Five cards never divide evenly into a 3- or 4-column row. Fixed-max tracks
   plus centred justification make the orphan row centre under the one above,
   which reads as designed rather than left over. */
.class-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 19rem));
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2rem;
}

.class-card {
  display: flex; flex-direction: column; gap: 0.6rem;
  padding: 1.4rem 1.35rem 1.5rem;
  background: var(--surface-1);
  border: 1px solid var(--surface-line);
  border-radius: var(--r-4);
  transition: border-color 200ms var(--ease-out), background-color 200ms var(--ease-out);
}
.class-card:hover { background: var(--surface-2); border-color: #3A3A48; }

.class-mark { width: 28px; height: 28px; color: var(--class-accent, var(--fg-3)); }

/* Accents are classes, never inline style="" - the CSP's style-src 'self'
   silently drops inline styles, which is how every card went grey on live
   until 5 Oct 2026. */
.class-card--ember  { --class-accent: var(--class-ember); }
.class-card--vessel { --class-accent: var(--class-vessel); }
.class-card--warden { --class-accent: var(--class-warden); }
.class-card--drift  { --class-accent: var(--class-drift); }
.class-card--hollow { --class-accent: var(--class-hollow); }
.class-mark svg { width: 100%; height: 100%; display: block; }

.class-name {
  font-size: 0.9375rem; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--fg-1);
}
.class-role { font-size: 0.875rem; line-height: 1.55; color: var(--fg-2); margin: 0; }
.class-idle {
  margin: 0.2rem 0 0;
  font-size: 0.8125rem; line-height: 1.5; color: var(--fg-3-text);
  font-style: italic;
}

/* ---------- Worlds ---------- */

.world-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 0.85rem; margin-top: 2rem;
}
.world-card {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 1.1rem 1.25rem;
  background: var(--surface-1);
  border: 1px solid var(--surface-line);
  border-radius: var(--r-4);
}
.world-mark { width: 24px; height: 24px; flex: 0 0 auto; color: var(--world-accent, var(--fg-3)); }
/* World accents: GlobalConstants ACCENT_FIRE / ACCENT_VOID / ACCENT_STORM. */
.world-card--ember { --world-accent: #FF6B35; }
.world-card--void  { --world-accent: #7B2FFF; }
.world-card--storm { --world-accent: #00D4FF; }
.world-mark svg { width: 100%; height: 100%; display: block; }
.world-name { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.06em; color: var(--fg-1); }

/* ---------- Beta ---------- */

.beta { background: linear-gradient(180deg, var(--bg-neutral), #100D11); border-block: 1px solid var(--surface-line); }

.beta-form {
  display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center;
  max-width: 30rem; margin: 1.9rem auto 0;
}
.beta-form input[type="email"] {
  flex: 1 1 15rem; min-width: 0; min-height: var(--tap-min);
  padding: 0.7rem 0.95rem;
  background: var(--surface-1);
  border: 1px solid var(--surface-line);
  border-radius: var(--r-3);
  color: var(--fg-1);
  font-family: inherit; font-size: 0.9375rem;
}
.beta-form input[type="email"]::placeholder { color: var(--fg-3-text); }
.beta-form input[type="email"]:focus { border-color: var(--accent-fire); outline: none; }
.beta-note { margin: 1rem auto 0; max-width: 28rem; font-size: 0.75rem; line-height: 1.6; color: var(--fg-3-text); }
.beta-note a { color: var(--fg-2); }

/* Honeypot — must never be visible or focusable. */
.hp { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

/* ---------- Footer ---------- */

footer { border-top: 1px solid var(--surface-line); padding-block: clamp(2.25rem, 6vh, 3rem); }
.footer-grid { display: flex; flex-wrap: wrap; gap: 1.25rem 2.5rem; justify-content: space-between; align-items: flex-start; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-links a { color: var(--fg-2); font-size: 0.875rem; text-decoration: none; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--fg-1); }
.footer-brand { display: flex; align-items: center; gap: 0.6rem; }
/* Explicit --fg-3, NOT inherited: .footer-brand span also matches this element
   (the brooch is a span) and would otherwise win with --fg-2, silently
   unmatching the two marks. Header and footer brooch must stay identical. */
.footer-brand .brooch { width: 18px; height: 18px; margin: 0; color: var(--fg-3); }
.footer-brand span { font-family: var(--font-display); font-size: 1rem; letter-spacing: 0.16em; color: var(--fg-2); }

.legalese { margin: 2rem 0 0; font-size: 0.75rem; line-height: 1.7; color: var(--fg-3-text); }
.legalese strong { color: var(--fg-2); font-weight: 600; }

/* ---------- Thanks page ----------
   Deliberately still: no glow cycle, no sigil strip. The page is a full stop,
   not another invitation, and the voice is inscription rather than
   notification (Brand Board, Voice). */

.thanks {
  min-height: 78vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding-block: clamp(3rem, 12vh, 6rem);
  background: linear-gradient(180deg, #100D11 0%, var(--bg-neutral) 70%);
}
.thanks .wrap { display: flex; flex-direction: column; align-items: center; }

.thanks-title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 7vw, 3rem);
  letter-spacing: 0.05em;
  color: var(--fg-1);
}

.thanks-body {
  max-width: 30rem; margin: 0 auto;
  font-size: clamp(1rem, 2.6vw, 1.0625rem);
  line-height: 1.75; color: var(--fg-2);
}

.thanks-note {
  max-width: 30rem; margin: 1.75rem auto 0;
  font-size: 0.8125rem; line-height: 1.6; color: var(--fg-3-text);
  overflow-wrap: anywhere;
}
.thanks-note strong { color: var(--fg-2); font-weight: 500; }

.thanks-back {
  margin-top: clamp(2.25rem, 6vh, 3rem);
  color: var(--fg-2);
  font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--surface-line);
  padding-bottom: 0.3em;
  transition: color 140ms var(--ease-out), border-color 140ms var(--ease-out);
}
.thanks-back:hover, .thanks-back:focus-visible { color: var(--fg-1); border-color: var(--fg-3); }

/* ---------- Legal document pages ---------- */

.doc { max-width: 46rem; padding-block: clamp(2.5rem, 7vh, 4rem); }
.doc h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 6vw, 2.75rem);
          letter-spacing: 0.05em; margin: 0 0 0.6rem; }
.doc h2 { font-size: clamp(1.15rem, 3.4vw, 1.4rem); margin: 2.5rem 0 0.85rem; }
.doc h3 { font-family: var(--font-ui); font-size: 1rem; font-weight: 700; letter-spacing: 0.03em;
          margin: 1.75rem 0 0.6rem; color: var(--fg-1); }
.doc p, .doc li { color: var(--fg-2); font-size: 0.9375rem; line-height: 1.75; }
.doc ul, .doc ol { padding-left: 1.25rem; }
.doc li { margin-bottom: 0.5rem; }
.doc strong { color: var(--fg-1); }
.doc code { font-size: 0.85em; background: var(--surface-1); border: 1px solid var(--surface-line);
            padding: 0.1em 0.35em; border-radius: var(--r-3); color: var(--fg-2); overflow-wrap: anywhere; }
.doc a { color: var(--accent-fire); }
.doc hr { border: 0; border-top: 1px solid var(--surface-line); margin: 2.5rem 0; }
.doc blockquote { margin: 1.5rem 0; padding: 0.9rem 1.1rem; border-left: 2px solid var(--surface-line);
                  background: var(--surface-1); border-radius: 0 var(--r-3) var(--r-3) 0; }
.doc blockquote p { margin: 0; font-size: 0.875rem; color: var(--fg-3-text); }

.doc-back { display: inline-block; margin-bottom: 2rem; font-size: 0.8125rem;
            letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-3-text); text-decoration: none; }
.doc-back:hover, .doc-back:focus-visible { color: var(--fg-1); }

/* Unmissable pre-publication banner. Delete only when the document is
   lawyer-reviewed AND the entity placeholders are filled. */
.draft-banner {
  margin: 0 0 2.5rem;
  padding: 1rem 1.2rem;
  background: rgba(255,107,53,0.07);
  border: 1px solid rgba(255,107,53,0.35);
  border-radius: var(--r-4);
}
.draft-banner p { margin: 0; color: var(--fg-1); font-size: 0.875rem; line-height: 1.65; }
.draft-banner strong { color: var(--accent-fire); }

@media print { body { background:#fff; color:#000; } .doc p,.doc li{color:#000;} .draft-banner{border-color:#000;} }
