/* ===== SHARED COMPONENTS =====
   Loaded on every page by includes/header.php, right after style.css.
   Page-only rules live in home.css / key.css / status.css / faq.css. The site's
   colour tokens are here (:root), hardcoded: there is no per-site colour config. */

/* --- Display face: Gabarito Black (900), free stand-in for firsty.app's Avantt Black ---
   Source: Google Fonts CSS2 API, family=Gabarito:wght@900 (latin subset)
   https://fonts.gstatic.com/s/gabarito/v9/QGYwz_0dZAGKJJ4t3FFkc3Q8AkNP9Pj2SsWEEQgsiaPVIzHL.woff2
   License: SIL Open Font License 1.1 (assets/fonts/gabarito/OFL.txt),
   Copyright 2023 The Gabarito Project Authors (github.com/naipefoundry/gabarito).
   One weight only: requests for 800 resolve to this 900 face (no faux bold). index.php preloads it. */
@font-face {
  font-family: "Gabarito";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("/assets/fonts/gabarito/gabarito-900-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Metric-matched stand-ins while the woff2 loads, so the swap doesn't reflow the hero.
   size-adjust = Gabarito/Arial advance width on the headings; ascent/descent = Gabarito's
   940/260 (per 1000 em) divided by size-adjust. Arial Black (macOS/Windows) first, Arial Bold next. */
@font-face {
  font-family: "Gabarito Fallback";
  src: local("Arial Black"), local("Arial-Black");
  font-weight: 900;
  size-adjust: 80%;
  ascent-override: 117.5%;
  descent-override: 32.5%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Gabarito Fallback Bold";
  src: local("Arial Bold"), local("Arial-BoldMT");
  font-weight: 900;
  size-adjust: 91%;
  ascent-override: 103.3%;
  descent-override: 28.6%;
  line-gap-override: 0%;
}
:root {
  /* Brand green. Tints: color-mix(in srgb, var(--green) N%, transparent). */
  --green: #1DB954;
  --green-hover: #1ed760;
  --text-secondary: #a3a3a3;

  --font-display: "Gabarito", "Gabarito Fallback", "Gabarito Fallback Bold", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Spacing: 4px steps (N x 0.25rem). Tight inside a group (2-5), generous between groups (12-32). */
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Page edges: one gutter for every page container and the footer. */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --content-max: 1240px;

  /* Floating pill nav: 16px offset + 60px pill + 16px air. Pages start below it. */
  --nav-clear: 92px;
  /* Poster panels (the big rounded colour blocks at the top of each page). */
  --poster-gutter: clamp(10px, 1.6vw, 24px);
  --poster-radius: clamp(22px, 2.4vw, 34px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Type roles. --font-display (set uppercase, heaviest weight) for the hero headline and
     section headings; system stack for everything else. */
  --text-display: clamp(2.5rem, min(5vw + 0.75rem, 8.5vh), 6.5rem); /* hero headline, uppercase 900, lh 0.88 */
  --text-h2: clamp(2rem, 1.3rem + 2.2vw, 3rem);                     /* section headings, uppercase 900, lh 0.9 */
  --text-title: 1.5rem;                                          /* card titles, lh 1.2 */
  --text-h3: 1.125rem;                                           /* step / item titles, lh 1.35 */
  --text-lead: clamp(1.125rem, 0.95rem + 0.6vw, 1.375rem);       /* sublines, lh 1.5 */
  --text-body: 1rem;                                             /* lh 1.6 */
  --text-sm: 0.875rem;                                           /* meta, trust line, lh 1.5 */
  --text-xs: 0.8125rem;                                          /* legal */
}

/* --- Page container: the navbar, page content and footer share the same edges at every width. --- */
.container {
  width: 100%;
  max-width: calc(var(--content-max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* --- Browser surfaces, themed from the palette --- */
::selection { background: color-mix(in srgb, var(--green) 38%, transparent); color: #fff; }
:root { caret-color: var(--green); accent-color: var(--green); }
a { text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
:focus-visible { outline-offset: 3px; }

/* Even line lengths on headings (no lone "Spotify" on its own line). */
h1, h2, h3 { text-wrap: balance; }

.nav-status-dot { display: inline-block; width: 7px; height: 7px; margin-left: 6px; border-radius: 50%; vertical-align: 2px; background: #a3a3a3; }
.nav-status-dot.is-warn { background: #f59e0b; }
.nav-status-dot.is-down { background: #ef4444; }

/* Maintenance banner: near-black on amber is 6.2:1 (white was 3.19:1) */
.maintenance-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: #d97706;
  color: #0a0a0a;
  font-size: 0.9375rem;
  text-align: center;
}
.maintenance-banner svg { width: 18px; height: 18px; flex-shrink: 0; }

/* --- Disclosure (from the FAQ accordion) ---
   <details class="fs-disclosure [is-compact]">
     <summary><?= icon('ICON') ?><span>Label</span></summary>
     <div class="fs-disclosure-body">...</div>
   </details>
   The label may be a heading (h2/h3) where the page outline needs one, as on /faq. */
.fs-disclosure {
  --fs-pad: 1.25rem;
  --fs-icon: 20px;
  --fs-gap: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  scroll-margin-top: calc(var(--nav-clear) + 20px); /* deep links (/faq#cookie) land below the pill nav */
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.fs-disclosure:hover { border-color: rgba(255, 255, 255, 0.15); }

.fs-disclosure > summary {
  display: flex;
  align-items: center;
  gap: var(--fs-gap);
  min-height: 44px;
  padding: 1rem var(--fs-pad);
  cursor: pointer;
  list-style: none;
  color: #fff;
  border-radius: 8px;
  -webkit-tap-highlight-color: transparent;
}
.fs-disclosure > summary::-webkit-details-marker { display: none; }
.fs-disclosure > summary::marker { content: ""; }
.fs-disclosure > summary > :is(span, h2, h3, h4) {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.4;
  color: inherit;
}
.fs-disclosure > summary > :is(i, svg) {
  width: var(--fs-icon);
  height: var(--fs-icon);
  flex-shrink: 0;
  color: var(--green);
}
/* The chevron */
.fs-disclosure > summary::after {
  content: "";
  width: 8px;
  height: 8px;
  margin: -4px 2px 0;
  flex-shrink: 0;
  border-right: 2px solid #a3a3a3;
  border-bottom: 2px solid #a3a3a3;
  transform: rotate(45deg);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.fs-disclosure[open] > summary::after { transform: rotate(225deg); margin-top: 4px; }
.fs-disclosure > summary:hover::after { border-color: #fff; }

/* Focus: the input-style ring on the whole card instead of the global hard
   outline on the summary row. Browsers without :has() keep that outline. */
@supports selector(:has(*)) {
  .fs-disclosure > summary:focus-visible { outline: none; }
  .fs-disclosure:has(> summary:focus-visible) {
    border-color: var(--green);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 20%, transparent);
  }
}

.fs-disclosure-body {
  padding: 0 var(--fs-pad) var(--fs-pad) calc(var(--fs-pad) + var(--fs-icon) + var(--fs-gap));
  color: var(--text-secondary);
  line-height: 1.6;
}
.fs-disclosure-body > * + * { margin-top: 0.75rem; }
.fs-disclosure-body ol, .fs-disclosure-body ul { padding-left: 1.25rem; line-height: 1.8; }
.fs-disclosure-body ol { list-style: decimal; }
.fs-disclosure-body ul { list-style: disc; }
.fs-disclosure-body strong { color: #fff; }
.fs-disclosure-body a { color: var(--green); text-decoration: underline; }
.fs-disclosure-body code { background: rgba(255, 255, 255, 0.08); padding: 1px 6px; border-radius: 4px; }
.fs-disclosure-body .is-fine-print { font-size: 0.85rem; opacity: 0.8; }

/* Compact: the in-form variant. No glass card, a hairline border, smaller type. */
.fs-disclosure.is-compact {
  --fs-pad: 0.875rem;
  --fs-icon: 16px;
  --fs-gap: 0.625rem;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.fs-disclosure.is-compact:hover { background: rgba(255, 255, 255, 0.025); }
.fs-disclosure.is-compact > summary { min-height: 40px; padding-block: 0.5rem; color: var(--text-secondary); }
.fs-disclosure.is-compact > summary:hover,
.fs-disclosure.is-compact[open] > summary { color: #fff; }
.fs-disclosure.is-compact > summary > :is(span, h2, h3, h4) { font-size: 0.875rem; font-weight: 600; }
.fs-disclosure.is-compact > summary::after { width: 6px; height: 6px; margin-top: -3px; }
.fs-disclosure.is-compact[open] > summary::after { margin-top: 3px; }
.fs-disclosure.is-compact .fs-disclosure-body { font-size: 0.875rem; line-height: 1.55; }

@media (max-width: 560px) {
  .fs-disclosure:not(.is-compact) .fs-disclosure-body { padding-left: var(--fs-pad); }
}
@media (prefers-reduced-motion: reduce) {
  .fs-disclosure, .fs-disclosure > summary::after { transition: none; }
}

/* A titled group of disclosures (FAQ sections). */
.fs-disclosure-group { display: grid; gap: 0.75rem; }
.fs-disclosure-group-title {
  margin: 1.25rem 0 0.25rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* --- Footer (includes/footer.php) ---
   Same .container as the page sections, and the same two-column split as home's
   "Get your upgrade key": brand left, link columns in the right-hand column.
   Headings are the section headings scaled down; links hover like the pill nav. */
.site-footer { padding: var(--space-16) 0 var(--space-8); color: #a1a1aa; }
.site-footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 680px);
  gap: var(--space-10) clamp(2rem, 5vw, 6rem);
  padding-top: var(--space-12);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.site-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem);
  font-weight: 900;
  font-synthesis: none;
  line-height: 0.9;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}
.site-footer-brand img { width: 1em; height: 1em; flex: none; }
.site-footer-line { max-width: 32ch; margin: var(--space-4) 0 0; font-size: var(--text-sm); line-height: 1.6; }
.site-footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-8); }
.site-footer h2 {
  margin: 0 0 var(--space-3);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 900;
  font-synthesis: none;
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #fff;
}
.site-footer ul { display: grid; justify-items: start; gap: 2px; margin: 0; padding: 0; list-style: none; }
/* Pill links; the negative margin keeps the text on the column's edge. */
.site-footer li a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 40px;
  margin-left: -12px;
  padding: 0 12px;
  border-radius: 999px;
  color: #a1a1aa;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.site-footer li a:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }
.site-footer li a:focus-visible { outline: 2px solid var(--green); outline-offset: 0; }
.site-footer li a:not([href]) { color: #a1a1aa; background: none; }
.site-footer li a svg { width: 16px; height: 16px; flex-shrink: 0; }
.site-footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2) var(--space-6);
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: var(--text-xs);
  font-variant-numeric: tabular-nums;
}
.site-footer-legal p { margin: 0; }
.site-footer-legal .heart { color: var(--green); }
@media (max-width: 900px) {
  .site-footer-top { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .site-footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-8) var(--space-6); }
  .site-footer-cols > :last-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { .site-footer li a { transition: none; } }

/* ===== Site nav: the floating pill (includes/header.php) =====
   Fixed, so #page-content starts --nav-clear lower. Below 640px the links fold into
   the menu dialog (.mobile-nav, style.css), opened by .site-nav-menu via footer.php. */
#page-content { padding-top: var(--nav-clear); }
.site-nav {
  position: fixed; z-index: 60; top: 16px; left: 50%; transform: translateX(-50%);
  width: min(100% - 32px, 780px);
  display: flex; align-items: center; gap: 8px;
  padding: 8px 8px 8px 20px;
  border-radius: 999px;
  background: rgba(24, 24, 27, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 12px 32px -12px rgba(0, 0, 0, 0.7);
}
.site-nav-brand {
  display: flex; align-items: center; gap: 8px; margin-right: auto;
  color: #fff; text-decoration: none;
  font-family: var(--font-display); font-weight: 800; font-size: 1.125rem; letter-spacing: -0.01em;
}
.site-nav-brand img { width: 28px; height: 28px; flex: none; }
.site-nav-links { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.site-nav-links a {
  display: block; padding: 10px 14px; border-radius: 999px;
  color: #d4d4d8; font-size: 0.9375rem; font-weight: 500; text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.site-nav-links a:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }
.site-nav-links a[aria-current] { color: #fff; }
.site-nav-cta {
  display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: 999px;
  background: var(--green); color: #04180b; font-size: 0.9375rem; font-weight: 700; text-decoration: none;
  transition: background 0.2s;
}
.site-nav-cta:hover { background: var(--green-hover); }
.site-nav-menu {
  display: none; width: 44px; height: 44px; border: 0; border-radius: 999px;
  background: rgba(255, 255, 255, 0.08); color: #fff;
  align-items: center; justify-content: center; cursor: pointer;
}
.site-nav-menu svg { width: 20px; height: 20px; }
@media (max-width: 640px) {
  .site-nav-links { display: none; }
  .site-nav-menu { display: inline-flex; }
  .site-nav { padding-left: 16px; }
  .site-nav-cta { padding: 0 16px; }
}

/* ===== Poster panel: a big rounded block of colour, tinted by --poster-tint =====
   A mesh of the tint and two hue-shifted neighbours (like an album gradient), a scrim
   (--poster-scrim, set per page) so white copy stays readable, and print grain.
   Registered so a tint change eases instead of snapping (home, /status). */
@property --poster-tint { syntax: '<color>'; inherits: true; initial-value: #1a4a75; }
.poster-panel {
  position: relative;
  isolation: isolate;
  border-radius: var(--poster-radius);
  color: #fff;
  /* fallback mesh (no relative colours) */
  background:
    radial-gradient(70% 90% at 88% 8%, color-mix(in oklab, var(--poster-tint), #fff 30%) 0%, transparent 62%),
    radial-gradient(60% 70% at 62% 108%, color-mix(in oklab, var(--poster-tint), #fff 12%) 0%, transparent 70%),
    radial-gradient(80% 90% at 0% 100%, color-mix(in oklab, var(--poster-tint), #000 70%) 0%, transparent 70%),
    var(--poster-tint);
  background:
    radial-gradient(70% 90% at 90% 6%, oklch(from var(--poster-tint) calc(l + 0.16) calc(c * 1.1) calc(h + 28)) 0%, transparent 62%),
    radial-gradient(55% 75% at 60% 110%, oklch(from var(--poster-tint) calc(l + 0.06) calc(c * 1.25) calc(h - 34)) 0%, transparent 70%),
    radial-gradient(80% 90% at 0% 100%, oklch(from var(--poster-tint) calc(l - 0.2) c h) 0%, transparent 70%),
    oklch(from var(--poster-tint) calc(l + 0.05) calc(c * 1.15) h);
}
.poster-panel::before,
.poster-panel::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; }
.poster-panel::before { background: var(--poster-scrim, none); }
.poster-panel::after {
  opacity: 0.22;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* Wrapper of a page built around a poster panel (index, status, faq, key). */
.poster-page { overflow-x: clip; color: #fff; }
.poster-page ::selection { background: var(--green); color: #0a0a0a; }

/* Pill CTA used on poster panels (home hero, error pages). */
.poster-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 54px;
  padding: 0 1.75rem;
  border-radius: 999px;
  font-size: 1.0625rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.poster-btn:active { transform: scale(0.98); }
.poster-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.poster-btn.is-primary { background: var(--green); color: #0a0a0a; }
.poster-btn.is-primary:hover { background: var(--green-hover); }
.poster-btn svg { width: 18px; height: 18px; flex: none; }
.poster-btn.is-primary svg { transition: transform 0.2s ease; }
.poster-btn.is-primary:hover svg { transform: translateX(3px); }
.poster-btn.is-ghost { color: #fff; background: rgba(0, 0, 0, 0.22); border: 1.5px solid rgba(255, 255, 255, 0.55); }
.poster-btn.is-ghost:hover { background: rgba(0, 0, 0, 0.34); border-color: #fff; }

/* ===== Text pages (privacy.php, moved.php) =====
   The FAQ look without the accordion: a poster panel with the display title, then
   static cards styled like the FAQ's accordion cards. */
.fs-display {
  font-family: var(--font-display);
  font-weight: 900;
  font-synthesis: none;
  line-height: 0.86;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #fff;
}
.fs-card {
  padding: 1.5rem;
  border-radius: 24px;
  background: #141416;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #b4b4bc;
  line-height: 1.65;
}
.fs-card > * + * { margin-top: 0.75rem; }
.fs-card h2 { font-size: 1.125rem; font-weight: 700; line-height: 1.35; color: #fff; }
.fs-card strong { color: #fff; }
.fs-card a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.fs-card a:hover { color: var(--green-hover); }
.fs-card ul { padding-left: 1.25rem; list-style: disc; line-height: 1.7; }
.fs-card li + li { margin-top: 0.35rem; }
.fs-card li::marker { color: #71717a; }
.fs-card code { padding: 2px 7px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); color: #ececef; font-size: 0.875em; }

.text-page { padding-bottom: clamp(3rem, 8vw, 6rem); }
.text-page .poster-panel {
  --poster-tint: #26324a;
  --poster-scrim: linear-gradient(90deg, rgba(6, 6, 9, 0.55) 0%, rgba(6, 6, 9, 0.38) 45%, rgba(6, 6, 9, 0) 80%);
  margin-inline: var(--poster-gutter);
  padding: clamp(2.75rem, 7vh, 5.5rem) clamp(1.5rem, 4.5vw, 5rem) clamp(2rem, 5vh, 3.5rem);
}
.text-page-title { font-size: clamp(2.6rem, min(7vw, 12vh), 6.25rem); }
.text-page-lead { margin-top: 1.25rem; font-size: var(--text-lead); color: rgba(255, 255, 255, 0.86); }
.text-page-body { display: grid; gap: 12px; max-width: calc(820px + 2 * var(--gutter)); padding-top: clamp(2.5rem, 6vw, 5rem); }
.text-page-note { margin-top: 1rem; text-align: center; font-size: var(--text-xs); line-height: 1.6; color: #71717a; }

.moved-page { display: grid; place-items: center; min-height: 100vh; padding: 1rem; }
.moved-card { max-width: 440px; text-align: center; }
.moved-card h1 { font-size: clamp(2.25rem, 9vw, 3rem); }
.moved-card > * + * { margin-top: 1rem; }

/* ===== Error pages: 404.php (missing page), notfound.php (honeypot / ban),
   maintenance.php. One poster panel tinted by state, the FAQ card for details. */
.error-page { display: flex; flex-direction: column; gap: 12px; min-height: calc(100vh - var(--nav-clear)); padding-bottom: var(--poster-gutter); }
.error-page .poster-panel {
  flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  margin-inline: var(--poster-gutter);
  padding: clamp(2.75rem, 8vh, 6rem) clamp(1.5rem, 4.5vw, 5rem);
  --poster-scrim: linear-gradient(90deg, rgba(6, 6, 9, 0.55) 0%, rgba(6, 6, 9, 0.3) 50%, rgba(6, 6, 9, 0) 85%);
}
.error-page.is-missing { --poster-tint: #26324a; }
.error-page.is-trap { --poster-tint: #5c1b26; }
.error-page.is-maintenance { --poster-tint: #6b4a12; }
.error-eyebrow { margin-bottom: 1rem; font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }
.error-title { font-size: clamp(2.75rem, min(9vw, 14vh), 7rem); max-width: 12ch; }
.error-lead { margin-top: 1.25rem; max-width: 44ch; font-size: var(--text-lead); line-height: 1.5; color: rgba(255, 255, 255, 0.86); }
.error-lead + .error-lead { margin-top: 0.5rem; font-size: 1rem; color: rgba(255, 255, 255, 0.66); }
.error-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* Standalone pages (trap, maintenance) show only the brand: shrink the pill to fit. */
.site-nav.is-solo { width: auto; padding: 10px 22px; }
.site-nav.is-solo .site-nav-brand { margin-right: 0; }

/* Honeypot "case file": what we logged about the request. */
.case-file { width: calc(100% - 2 * var(--poster-gutter)); max-width: 720px; margin-inline: auto; }
.case-file dl { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1.25rem; margin: 0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.8125rem; }
.case-file dt { color: #71717a; }
.case-file dd { margin: 0; color: #ececef; overflow-wrap: anywhere; }
.case-file .is-ok { color: var(--green); font-weight: 600; }
.case-file .is-bad { color: #f87171; font-weight: 600; }
.case-file-foot { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.9375rem; }

@media (max-width: 560px) {
  .text-page .poster-panel { padding: 2.5rem 1.25rem 1.5rem; }
  .text-page-title { font-size: clamp(2.4rem, 12.4vw, 4.5rem); }
  .fs-card { padding: 1.25rem 1.125rem; border-radius: 20px; }
}
