/* ============================================================================
   WALKOUT SONG PRO — Marketing Site
   Design system: "Walkout Pro / Space Passport"
   Faithfully ported from DesignTokens.swift + WalkoutUI.swift (see design.md)

   HARD RULES (from design.md §1 / §10):
   - Never glass, gloss, or gradient. Flat, matte surfaces only.
   - One ground, a step-lighter card, a near-white/near-black structural role,
     a pale line, and the accents.
   - Orange = energy/CTA. Sky = fine connective detail. Teal = secondary.
   - Barlow Condensed SemiBold Italic headlines/numerals + Inter body
     + IBM Plex Mono notation.
   - Status hues only for real states; subordinate to structure.
   - Motion is structural (fade + small rise), Reduce-Motion-aware. No bounce.
   ============================================================================ */

/* ---------------------------------------------------------------------------
   1. DESIGN TOKENS  (DesignTokens.Palette / Spacing / Layout / Typography)
   --------------------------------------------------------------------------- */
:root {
  /* Grounds & surfaces */
  --ground:   #F2F0EA;   /* Screen canvas — warm paper */
  --card:     #FFFFFF;   /* Primary card / panel field */
  --card2:    #E9E5DD;   /* Secondary / inset field — chips, tracks */
  --line:     #D5CFC4;   /* Structural divider / border line */
  --hair:     #E2DDD3;   /* Quiet hairline border on cards */

  /* Text roles */
  --structure: #1A1A1A;  /* Primary text / key numerals / ring track */
  --muted:     #6E6B62;  /* Secondary text */
  --faint:     #9A968B;  /* Tertiary / disabled text */

  /* Accents */
  --accent:           #F94B2C;  /* Primary energetic orange — fills, CTAs, arcs */
  --accent-text:      #3F6B6F;  /* Fine sky/blue — text, icons, hairlines, ticks */
  --accent-dark:      #C53A1F;  /* Darker orange — pressed key-edge / depth lip */
  --accent-secondary: #517F83;  /* Secondary accent — petrol teal */
  --on-accent:           #1A1A1A;  /* Ink that sits on the orange fill */
  --on-accent-secondary: #F2F0EA;  /* Off-white on the teal fill */

  /* Status (kept distinct from the orange accent) */
  --ready:  #2F7D4F;     /* go / ready (green) */
  --needs:  #B07A1E;     /* warning / needs-attention (amber) */
  --unavailable: #B5384C;/* stop / error / unavailable (crimson) */

  /* Spacing — 4pt grid */
  --xxs: 4px;  --xs: 8px;  --sm: 12px;  --md: 16px;
  --lg: 24px;  --xl: 32px; --xxl: 48px;
  --screen-margin: 20px;
  --card-gutter: 12px;

  /* Layout & geometry */
  --r-card: 18px;        /* cardCornerRadius */
  --r-chip: 9px;         /* chipCornerRadius */
  --r-control: 14px;     /* controlCornerRadius */
  --hairline: 1px;
  --min-tap: 44px;
  --max-content: 1200px; /* wider than the app's 700 for the web canvas */

  /* Typography families */
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-head: "Barlow Condensed", "Inter", sans-serif; /* always italic 600 */
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);  /* ~ easeOut */
  --reveal-dur: 0.55s;
  --press-dur: 0.1s;

  color-scheme: light;
}

[data-theme="dark"] {
  --ground:   #111111;
  --card:     #1A1A1A;
  --card2:    #242424;
  --line:     #2E2E2E;
  --hair:     #1F1F1F;

  --structure: #F2F0EA;
  --muted:     #8C897F;
  --faint:     #565049;

  --accent:           #FB5A38;
  --accent-text:      #A3CFD6;
  --accent-dark:      #D14428;
  --accent-secondary: #5F9498;
  --on-accent:           #1A1A1A;
  --on-accent-secondary: #F2F0EA;

  --ready: #56B97C;
  --needs: #E0A23E;
  --unavailable: #DB5E72;

  color-scheme: dark;
}

/* ---------------------------------------------------------------------------
   2. RESET & BASE
   --------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  background: var(--ground);
  color: var(--structure);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01";
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
::selection { background: var(--accent); color: var(--on-accent); }

/* Skip link (a11y) */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--accent); color: var(--on-accent);
  padding: 12px 18px; font-weight: 800; border-radius: 0 0 var(--r-chip) 0;
}
.skip-link:focus { left: 0; }

/* Focus visibility */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 2px;
}

/* ---------------------------------------------------------------------------
   3. TYPOGRAPHY HELPERS  (DesignTokens.Typography)
   --------------------------------------------------------------------------- */

/* headline(): Barlow Condensed SemiBold Italic — screen titles, marquee names, big metrics */
.headline {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}

/* display(): Inter, weight-mapped — buttons, card & row titles, labels, body */
.display { font-family: var(--font-body); font-weight: 800; letter-spacing: -0.01em; }

/* mono(): IBM Plex Mono — units, labels, ticks, captions, eyebrows */
.mono {
  font-family: var(--font-mono);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--muted);
}

/* jerseyNumber(): Inter Black, monospaced digits */
.jersey { font-family: var(--font-body); font-weight: 900; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }

/* ---------------------------------------------------------------------------
   4. LAYOUT PRIMITIVES
   --------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-content);
  margin: 0 auto;
  padding-inline: clamp(20px, 5vw, 56px);
}
.section { padding-block: clamp(72px, 11vw, 140px); position: relative; }
.section--tight { padding-block: clamp(48px, 7vw, 88px); }

.stack-sm > * + * { margin-top: var(--sm); }
.stack-md > * + * { margin-top: var(--md); }
.stack-lg > * + * { margin-top: var(--lg); }

/* ---------------------------------------------------------------------------
   5. SIGNATURE MOTIFS
   --------------------------------------------------------------------------- */

/* WCSectionLabel: accent tick (16×1.5) + uppercase mono label */
.section-label { display: inline-flex; align-items: center; gap: 10px; }
.section-label::before {
  content: ""; width: 16px; height: 2px; background: var(--accent-text); flex: none;
}
.section-label span {
  font-family: var(--font-mono); font-weight: 500;
  font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--accent-text);
}

/* Eyebrow — mono micro-notation above headlines */
.eyebrow {
  font-family: var(--font-mono); font-weight: 500;
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent-text);
}

/* WCMeridian: fine rule + filled dot + open ring riding it */
.meridian { display: flex; align-items: center; gap: 7px; height: 8px; width: 100%; }
.meridian .rule { flex: 1; height: 1px; background: var(--accent-text); opacity: 0.55; }
.meridian .dot  { width: 5px; height: 5px; border-radius: 50%; background: var(--accent-text); flex: none; }
.meridian .ring { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--accent-text); flex: none; }

/* WCStatusDot */
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.status-dot.ready { background: var(--ready); }
.status-dot.needs { background: var(--needs); }
.status-dot.unavailable { background: var(--unavailable); }

/* WCNumberBadge: circular jersey-number badge on matte disc with ring border */
.badge {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--card2); border: 1.5px solid var(--line);
  font-family: var(--font-head); font-style: italic; font-weight: 600;
  font-size: 1.15rem; color: var(--structure); flex: none;
}
.badge.accent { border-color: var(--accent); color: var(--accent); }

/* WCPill: dot + mono label, crisp 0-radius rect */
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 11px; background: var(--card2);
  border: 1px solid var(--line); border-radius: 0;
}
.pill .status-dot { width: 6px; height: 6px; }
.pill span {
  font-family: var(--font-mono); font-weight: 500;
  font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}

/* WCRing: heavy track + accent progress arc + head dot (SVG) */
.ring-track { stroke: var(--line); }
.ring-arc   { stroke: var(--accent); stroke-linecap: round; transition: stroke-dashoffset 1s var(--ease); }
.ring-head  { fill: var(--accent); }

/* WCEqualizer: animated 4-bar now-playing marker */
.eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 16px; }
.eq i {
  width: 3px; background: var(--accent); border-radius: 1px;
  animation: eq 0.9s var(--ease) infinite alternate;
}
.eq i:nth-child(1) { height: 40%; animation-delay: 0s; }
.eq i:nth-child(2) { height: 90%; animation-delay: 0.14s; }
.eq i:nth-child(3) { height: 55%; animation-delay: 0.28s; }
.eq i:nth-child(4) { height: 75%; animation-delay: 0.42s; }
@keyframes eq { from { height: 22%; } to { height: 100%; } }

/* ---------------------------------------------------------------------------
   6. SURFACES  (wcCard / wcChip)
   --------------------------------------------------------------------------- */
.card {
  background: var(--card);
  border: 1px solid var(--hair);
  border-radius: var(--r-card);
  padding: var(--lg);
}
.card2 { background: var(--card2); border: 1px solid var(--line); }
.chip {
  background: var(--card2); border: 1px solid var(--line); border-radius: 0;
  padding: 6px 10px;
}

/* ---------------------------------------------------------------------------
   7. BUTTONS  (WCPrimaryButtonStyle / WCSecondaryButtonStyle — flat keycap)
   --------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--min-tap);
  font-family: var(--font-body); font-weight: 800; font-size: 0.95rem;
  letter-spacing: 0.02em; text-align: center; white-space: nowrap;
  border-radius: var(--r-control);
  transition: transform var(--press-dur) var(--ease),
              box-shadow var(--press-dur) var(--ease),
              background-color 0.2s var(--ease), opacity 0.2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}

/* Primary keycap: flat accent face + flat bottom depth lip; press travel y+ */
.btn-primary {
  background: var(--accent); color: var(--on-accent);
  padding: 15px 26px;
  box-shadow: 0 4px 0 0 var(--accent-dark);
}
.btn-primary:hover { background: var(--accent); filter: saturate(1.08); }
.btn-primary:active { transform: translateY(3px); box-shadow: 0 1px 0 0 var(--accent-dark); }

/* Secondary: matte card face + line border; press dims */
.btn-secondary {
  background: var(--card); color: var(--structure);
  border: 1px solid var(--line); padding: 14px 24px; border-radius: 0;
  font-weight: 700; font-size: 0.85rem;
}
.btn-secondary:hover { background: var(--card2); }
.btn-secondary:active { opacity: 0.65; }

/* Ghost — quiet text action */
.btn-ghost { color: var(--accent-text); font-weight: 700; padding: 12px 4px; }
.btn-ghost:hover { color: var(--accent); }

.btn-block { display: flex; width: 100%; }
.btn-lg { font-size: 1.05rem; padding: 19px 34px; }

/* App Store badge button (flat, on-brand — no real Apple art to keep matte) */
.appstore {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 0 22px;
  background: var(--structure); color: var(--ground);
  border-radius: var(--r-control);
  box-shadow: 0 4px 0 0 color-mix(in srgb, var(--structure) 70%, #000);
  transition: transform var(--press-dur) var(--ease), box-shadow var(--press-dur) var(--ease);
}
.appstore:active { transform: translateY(3px); box-shadow: 0 1px 0 0 color-mix(in srgb, var(--structure) 70%, #000); }
.appstore svg { width: 26px; height: 26px; fill: var(--ground); flex: none; }
.appstore .as-small { font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.8; line-height: 1.1; }
.appstore .as-big { font-family: var(--font-body); font-weight: 700; font-size: 1.15rem; line-height: 1.05; letter-spacing: -0.01em; }

/* ---------------------------------------------------------------------------
   8. NAVBAR  (matte, opaque, ground color — never glass)
   --------------------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--ground);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.4s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand .mark { width: 34px; height: 34px; flex: none; }
.brand .wordmark {
  font-family: var(--font-head); font-style: italic; font-weight: 600;
  font-size: 1.28rem; letter-spacing: 0.01em; text-transform: uppercase; line-height: 1;
}
.brand .wordmark b { color: var(--accent); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
  transition: color 0.2s var(--ease);
}
.nav-links a:hover { color: var(--structure); }
.nav-actions { display: flex; align-items: center; gap: var(--md); }

.theme-toggle {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%; color: var(--accent-text);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s;
}
.theme-toggle:hover { border-color: var(--accent-text); background: var(--card2); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .moon { display: none; }
[data-theme="dark"] .theme-toggle .sun { display: none; }
[data-theme="dark"] .theme-toggle .moon { display: block; }

.nav-cta { padding: 10px 18px; min-height: 40px; font-size: 0.82rem; box-shadow: 0 3px 0 0 var(--accent-dark); }
.nav-cta:active { transform: translateY(2px); box-shadow: 0 1px 0 0 var(--accent-dark); }

.hamburger { display: none; width: 44px; height: 44px; place-items: center; color: var(--structure); }
.hamburger svg { width: 24px; height: 24px; }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 68px 0 auto 0; z-index: 99;
  background: var(--ground); border-bottom: 1px solid var(--line);
  padding: var(--lg) var(--screen-margin) var(--xl);
  transform: translateY(-120%); transition: transform 0.35s var(--ease);
  display: flex; flex-direction: column; gap: var(--md);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a {
  font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--structure); padding: 8px 0;
  border-bottom: 1px solid var(--hair);
}

/* ---------------------------------------------------------------------------
   9. HERO
   --------------------------------------------------------------------------- */
.hero { padding-top: clamp(40px, 7vw, 80px); padding-bottom: clamp(56px, 9vw, 120px); position: relative; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-copy { min-width: 0; }
.hero-eyebrow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: var(--lg); }
.hero h1 {
  font-family: var(--font-head); font-style: italic; font-weight: 600;
  font-size: clamp(3.2rem, 8.5vw, 7.2rem); line-height: 0.86; text-transform: uppercase;
  letter-spacing: -0.01em; margin-bottom: var(--lg);
}
.hero h1 span { display: block; }
.hero h1 .ink-orange { color: var(--accent); }
.hero h1 .ink-sky { color: var(--accent-text); }
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 30em;
  line-height: 1.55; margin-bottom: var(--xl);
}
.hero-cta { display: flex; align-items: center; gap: var(--md); flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: var(--md); margin-top: var(--xl); flex-wrap: wrap; }
.stars { display: inline-flex; gap: 3px; color: var(--accent); }
.stars svg { width: 16px; height: 16px; fill: currentColor; }
.hero-trust .t-text { font-size: 0.85rem; color: var(--muted); }
.hero-trust .t-text b { color: var(--structure); font-weight: 700; }

/* Announcer ticker — "NOW BATTING…" marquee, mono */
.announcer-strip {
  margin-top: var(--xl); border-block: 1px solid var(--line);
  padding-block: 12px; overflow: hidden; position: relative; max-width: 34em;
}
.announcer-strip .track {
  display: inline-flex; gap: 48px; white-space: nowrap;
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted);
  animation: marquee 22s linear infinite;
}
.announcer-strip .track b { color: var(--accent-text); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; min-width: 0; }

/* ---------------------------------------------------------------------------
   10. PHONE MOCKUPS  (hand-built app screens — no gloss, matte bezel)
   --------------------------------------------------------------------------- */
.phone {
  width: 300px; max-width: 78vw; aspect-ratio: 300 / 620;
  background: var(--structure); border-radius: 46px; padding: 11px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.45), 0 0 0 1px var(--line);
  flex: none; position: relative;
}
[data-theme="dark"] .phone { box-shadow: 0 30px 70px -28px rgba(0,0,0,0.8), 0 0 0 1px #000; }
.phone-screen {
  width: 100%; height: 100%; background: var(--ground);
  border-radius: 36px; overflow: hidden; position: relative;
  display: flex; flex-direction: column;
}
.phone .island {
  position: absolute; top: 13px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 26px; background: #000; border-radius: 14px; z-index: 5;
}
.phone-pad { padding: 46px 16px 18px; flex: 1; display: flex; flex-direction: column; overflow: hidden; }

/* App-screen building blocks (scaled down) */
.app-eyebrow { font-family: var(--font-mono); font-size: 0.5rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-text); line-height: 1.3; }
.app-title { font-family: var(--font-head); font-style: italic; font-weight: 600; text-transform: uppercase; font-size: 1.35rem; line-height: 1; margin-top: 3px; }
.app-card { background: var(--card); border: 1px solid var(--hair); border-radius: 13px; padding: 12px; }
.app-meridian { display: flex; align-items: center; gap: 5px; height: 7px; margin: 9px 0; }
.app-meridian .rule { flex: 1; height: 1px; background: var(--accent-text); opacity: 0.5; }
.app-meridian .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent-text); }
.app-meridian .ring { width: 7px; height: 7px; border-radius: 50%; border: 1.3px solid var(--accent-text); }

/* Mini number badge inside screens */
.mini-badge {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--card2); border: 1.3px solid var(--line); flex: none;
  font-family: var(--font-head); font-style: italic; font-weight: 600; font-size: 0.85rem;
}
.mini-badge.accent { border-color: var(--accent); color: var(--accent); }
.mini-badge.ready { border-color: var(--ready); color: var(--ready); }
.mini-badge.needs { border-color: var(--needs); color: var(--needs); }

/* Giant Next Up keycap inside the game-day mock */
.nextup {
  margin-top: auto; width: 100%; min-height: 92px; border-radius: 16px;
  background: var(--accent); color: var(--on-accent);
  box-shadow: 0 5px 0 0 var(--accent-dark);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.nextup .lbl { font-family: var(--font-body); font-weight: 900; font-size: 1.5rem; letter-spacing: 0.02em; }
.nextup .sub { font-family: var(--font-mono); font-size: 0.5rem; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.85; }

/* Lineup rows */
.lu-row { display: flex; align-items: center; gap: 9px; padding: 7px 0; border-bottom: 1px solid var(--hair); }
.lu-row .ord { font-family: var(--font-mono); font-size: 0.6rem; color: var(--faint); width: 14px; }
.lu-row .nm { font-weight: 700; font-size: 0.72rem; flex: 1; }
.lu-row .sng { font-size: 0.58rem; color: var(--muted); }
.lu-row.done { opacity: 0.45; }
.lu-row.done .nm { text-decoration: none; }
.lu-row.current { background: color-mix(in srgb, var(--accent) 9%, transparent); margin-inline: -6px; padding-inline: 6px; border-radius: 7px; border-bottom-color: transparent; }
.lu-row.out .nm { text-decoration: line-through; color: var(--faint); }

/* Voice style chips (announcer mock) */
.voice-chip {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 11px; border: 1px solid var(--line); border-radius: 11px; background: var(--card);
  font-weight: 700; font-size: 0.74rem;
}
.voice-chip.sel { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--card)); }
.voice-chip .vmeta { font-family: var(--font-mono); font-size: 0.5rem; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; }

/* Slider mock */
.slider { height: 5px; background: var(--card2); border: 1px solid var(--line); border-radius: 3px; position: relative; }
.slider .fill { position: absolute; inset: 0 auto 0 0; background: var(--accent-text); border-radius: 3px; }
.slider .knob { position: absolute; top: 50%; width: 14px; height: 14px; border-radius: 50%; background: var(--card); border: 2px solid var(--accent-text); transform: translate(-50%, -50%); }

/* Waveform trimmer mock */
.wave { display: flex; align-items: center; gap: 2px; height: 46px; position: relative; }
.wave i { flex: 1; background: var(--line); border-radius: 1px; }
.wave i.sel { background: var(--accent); }
.wave .handle { position: absolute; top: -4px; bottom: -4px; width: 4px; background: var(--accent); border-radius: 2px; }

/* Status grid (readiness mock) */
.status-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; }

/* Floating spec tags around the hero phone */
.spec-tag {
  position: absolute; z-index: 6;
  background: var(--card); border: 1px solid var(--line); border-radius: 0;
  padding: 8px 11px; display: flex; align-items: center; gap: 8px;
  box-shadow: 0 12px 30px -16px rgba(0,0,0,0.35);
}
.spec-tag .mono { font-size: 0.6rem; letter-spacing: 0.1em; }
.spec-tag svg { width: 15px; height: 15px; stroke: var(--accent-text); fill: none; }

/* ---------------------------------------------------------------------------
   11. SECTION HEADERS (WCScreenHeader)
   --------------------------------------------------------------------------- */
.shead { max-width: 38rem; margin-bottom: clamp(40px, 6vw, 72px); }
.shead.center { margin-inline: auto; text-align: center; }
.shead .section-label { margin-bottom: var(--md); }
.shead.center .section-label { justify-content: center; }
.shead h2 {
  font-family: var(--font-head); font-style: italic; font-weight: 600;
  font-size: clamp(2.3rem, 5vw, 4rem); line-height: 0.92; text-transform: uppercase;
  letter-spacing: -0.005em; margin-bottom: var(--md);
}
.shead h2 .ink-orange { color: var(--accent); }
.shead p { font-size: clamp(1rem, 1.3vw, 1.15rem); color: var(--muted); }
.shead .meridian { margin-top: var(--lg); }

/* ---------------------------------------------------------------------------
   12. MARQUEE TRUST BAR (sports)
   --------------------------------------------------------------------------- */
.sportbar { border-block: 1px solid var(--line); overflow: hidden; padding-block: 18px; }
.sportbar .track { display: flex; gap: 56px; white-space: nowrap; animation: marquee 30s linear infinite; }
.sportbar .item { display: inline-flex; align-items: center; gap: 12px; }
.sportbar .item svg { width: 22px; height: 22px; stroke: var(--accent-text); fill: none; }
.sportbar .item span { font-family: var(--font-head); font-style: italic; font-weight: 600; font-size: 1.5rem; text-transform: uppercase; color: var(--structure); }
@media (prefers-reduced-motion: reduce) { .sportbar .track, .announcer-strip .track { animation: none; } }

/* ---------------------------------------------------------------------------
   13. FEATURE GRID
   --------------------------------------------------------------------------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--card-gutter); }
.feature {
  background: var(--card); border: 1px solid var(--hair); border-radius: var(--r-card);
  padding: var(--xl) var(--lg) var(--lg);
  display: flex; flex-direction: column; gap: var(--sm);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.feature:hover { transform: translateY(-4px); border-color: var(--line); }
.feature .ficon {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--card2); border: 1px solid var(--line); margin-bottom: var(--xs);
}
.feature .ficon svg { width: 22px; height: 22px; stroke: var(--accent-text); fill: none; stroke-width: 1.6; }
.feature h3 { font-family: var(--font-body); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em; }
.feature p { font-size: 0.95rem; color: var(--muted); line-height: 1.5; }
.feature .tag { margin-top: auto; padding-top: var(--sm); }

/* ---------------------------------------------------------------------------
   14. FEATURE SPOTLIGHTS (alternating mockups)
   --------------------------------------------------------------------------- */
.spotlight { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.spotlight + .spotlight { margin-top: clamp(80px, 12vw, 160px); }
.spotlight.flip .spot-visual { order: -1; }
.spot-copy h3 {
  font-family: var(--font-head); font-style: italic; font-weight: 600;
  font-size: clamp(2rem, 4vw, 3.3rem); line-height: 0.94; text-transform: uppercase; margin-block: var(--md);
}
.spot-copy h3 .ink-orange { color: var(--accent); }
.spot-copy > p { font-size: 1.08rem; color: var(--muted); margin-bottom: var(--lg); max-width: 32em; }
.spot-list { display: flex; flex-direction: column; gap: var(--sm); }
.spot-list li { display: flex; gap: 12px; align-items: flex-start; }
.spot-list .ck { width: 22px; height: 22px; flex: none; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 12%, transparent); margin-top: 1px; }
.spot-list .ck svg { width: 13px; height: 13px; stroke: var(--accent); fill: none; stroke-width: 2.4; }
.spot-list .li-t { font-weight: 700; font-size: 0.98rem; }
.spot-list .li-t span { display: block; font-weight: 400; color: var(--muted); font-size: 0.9rem; margin-top: 2px; }
.spot-visual { display: flex; align-items: center; justify-content: center; position: relative; min-width: 0; }

/* ---------------------------------------------------------------------------
   15. AUDIENCE / BENEFITS
   --------------------------------------------------------------------------- */
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--card-gutter); }
.aud-card {
  background: var(--card); border: 1px solid var(--hair); border-radius: var(--r-card);
  padding: var(--xl); display: flex; flex-direction: column; gap: var(--md);
}
.aud-card .aud-num {
  font-family: var(--font-head); font-style: italic; font-weight: 600; font-size: 3.4rem;
  color: var(--accent); line-height: 0.8;
}
.aud-card h3 { font-family: var(--font-body); font-weight: 800; font-size: 1.35rem; }
.aud-card ul { display: flex; flex-direction: column; gap: 10px; }
.aud-card li { display: flex; gap: 10px; font-size: 0.95rem; color: var(--muted); }
.aud-card li::before { content: ""; width: 14px; height: 2px; background: var(--accent-text); margin-top: 11px; flex: none; }

/* ---------------------------------------------------------------------------
   16. USE CASES (team/league)
   --------------------------------------------------------------------------- */
.usecase-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--card-gutter); }
.usecase {
  background: var(--card); border: 1px solid var(--hair); border-radius: var(--r-card);
  padding: var(--lg); display: flex; flex-direction: column; gap: var(--sm); min-height: 200px;
}
.usecase .uc-icon svg { width: 28px; height: 28px; stroke: var(--accent-text); fill: none; stroke-width: 1.5; }
.usecase h4 { font-family: var(--font-head); font-style: italic; font-weight: 600; font-size: 1.5rem; text-transform: uppercase; }
.usecase p { font-size: 0.88rem; color: var(--muted); }
.usecase .tag { margin-top: auto; }

/* Wide share-a-team band */
.band {
  background: var(--structure); color: var(--ground); border-radius: var(--r-card);
  padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1.2fr 1fr;
  gap: var(--xl); align-items: center;
}
.band .eyebrow { color: var(--accent); }
.band h3 { font-family: var(--font-head); font-style: italic; font-weight: 600; font-size: clamp(1.8rem, 3.5vw, 3rem); text-transform: uppercase; line-height: 0.95; margin-block: var(--sm) var(--md); }
.band p { color: color-mix(in srgb, var(--ground) 75%, transparent); font-size: 1.02rem; }
.band .band-visual { display: flex; flex-direction: column; gap: 10px; }
.band-file {
  display: flex; align-items: center; gap: 12px; background: color-mix(in srgb, var(--ground) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--ground) 22%, transparent); padding: 14px; border-radius: 10px;
}
.band-file svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; }
.band-file .bf-t { font-weight: 700; font-size: 0.9rem; }
.band-file .bf-s { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: color-mix(in srgb, var(--ground) 65%, transparent); }

/* ---------------------------------------------------------------------------
   17. STATS STRIP
   --------------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--card-gutter); }
.stat { text-align: center; padding: var(--lg) var(--sm); border: 1px solid var(--hair); border-radius: var(--r-card); background: var(--card); }
.stat .num { font-family: var(--font-head); font-style: italic; font-weight: 600; font-size: clamp(2.6rem, 5vw, 3.6rem); color: var(--accent); line-height: 0.9; }
.stat .num .sky { color: var(--accent-text); }
.stat .lbl { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }

/* ---------------------------------------------------------------------------
   18. TESTIMONIALS
   --------------------------------------------------------------------------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--card-gutter); }
.testi { background: var(--card); border: 1px solid var(--hair); border-radius: var(--r-card); padding: var(--xl); display: flex; flex-direction: column; gap: var(--md); }
.testi .stars { margin-bottom: 2px; }
.testi blockquote { font-size: 1.05rem; line-height: 1.5; font-weight: 500; }
.testi .who { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: var(--sm); }
.testi .who .badge { width: 40px; height: 40px; font-size: 1rem; }
.testi .who .nm { font-weight: 700; font-size: 0.92rem; }
.testi .who .role { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.placeholder-note { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); text-align: center; margin-top: var(--lg); }

/* ---------------------------------------------------------------------------
   19. PRICING
   --------------------------------------------------------------------------- */
.pricing-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: var(--card-gutter); align-items: stretch; }
.price-card { background: var(--card); border: 1px solid var(--hair); border-radius: var(--r-card); padding: var(--xl); display: flex; flex-direction: column; }
.price-card.pro { border: 2px solid var(--accent); position: relative; }
.price-card.pro::before {
  content: "MOST POPULAR"; position: absolute; top: 0; right: var(--lg); transform: translateY(-50%);
  background: var(--accent); color: var(--on-accent); font-family: var(--font-mono); font-size: 0.6rem;
  letter-spacing: 0.14em; padding: 5px 11px; font-weight: 600;
}
.price-card .tier { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-text); }
.price-card .amt { display: flex; align-items: baseline; gap: 8px; margin-block: var(--sm) 4px; }
.price-card .amt .big { font-family: var(--font-head); font-style: italic; font-weight: 600; font-size: clamp(3rem, 6vw, 4.4rem); line-height: 0.85; }
.price-card .amt .per { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.price-card .note { font-size: 0.9rem; color: var(--muted); margin-bottom: var(--lg); }
.price-card ul { display: flex; flex-direction: column; gap: 12px; margin-bottom: var(--xl); }
.price-card li { display: flex; gap: 11px; font-size: 0.95rem; align-items: flex-start; }
.price-card li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; stroke-width: 2.2; fill: none; }
.price-card li.yes svg { stroke: var(--ready); }
.price-card li.no { color: var(--faint); }
.price-card li.no svg { stroke: var(--faint); }
.price-card .price-cta { margin-top: auto; }
.credits-note {
  margin-top: var(--card-gutter); background: var(--card2); border: 1px solid var(--line);
  border-radius: var(--r-card); padding: var(--lg); display: flex; gap: var(--md); align-items: center; flex-wrap: wrap;
}
.credits-note .ci { width: 44px; height: 44px; border-radius: 50%; background: var(--card); border: 1px solid var(--line); display: grid; place-items: center; flex: none; }
.credits-note .ci svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; }
.credits-note .ct { flex: 1; min-width: 220px; }
.credits-note .ct b { font-weight: 800; }
.credits-note .ct p { font-size: 0.88rem; color: var(--muted); }
.credits-note .packs { display: flex; gap: 8px; }

/* ---------------------------------------------------------------------------
   20. PRIVACY / OFFLINE BAND
   --------------------------------------------------------------------------- */
.privacy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--card-gutter); }
.privacy-item { background: var(--card); border: 1px solid var(--hair); border-radius: var(--r-card); padding: var(--lg); }
.privacy-item .pi-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--card2); border: 1px solid var(--line); display: grid; place-items: center; margin-bottom: var(--sm); }
.privacy-item .pi-icon svg { width: 20px; height: 20px; stroke: var(--accent-text); fill: none; stroke-width: 1.6; }
.privacy-item h4 { font-weight: 800; font-size: 1.02rem; margin-bottom: 6px; }
.privacy-item p { font-size: 0.86rem; color: var(--muted); }

/* ---------------------------------------------------------------------------
   21. FAQ
   --------------------------------------------------------------------------- */
.faq-list { max-width: 820px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--md);
  padding: var(--lg) 4px; text-align: left; font-family: var(--font-body); font-weight: 700;
  font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--structure);
}
.faq-q .faq-ico { width: 26px; height: 26px; flex: none; position: relative; }
.faq-q .faq-ico::before, .faq-q .faq-ico::after { content: ""; position: absolute; background: var(--accent); transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.faq-q .faq-ico::before { top: 50%; left: 4px; right: 4px; height: 2px; transform: translateY(-50%); }
.faq-q .faq-ico::after { left: 50%; top: 4px; bottom: 4px; width: 2px; transform: translateX(-50%); }
.faq-item.open .faq-ico::after { transform: translateX(-50%) scaleY(0); opacity: 0; }
.faq-a { overflow: hidden; max-height: 0; transition: max-height 0.4s var(--ease); }
.faq-a-inner { padding: 0 4px var(--lg); color: var(--muted); font-size: 1rem; line-height: 1.6; max-width: 66ch; }
.faq-item.open .faq-a { max-height: 420px; }

/* ---------------------------------------------------------------------------
   22. FINAL CTA
   --------------------------------------------------------------------------- */
.final-cta { text-align: center; }
.final-cta .ring-wrap { display: grid; place-items: center; margin-bottom: var(--lg); }
.final-cta h2 {
  font-family: var(--font-head); font-style: italic; font-weight: 600;
  font-size: clamp(2.6rem, 7vw, 6rem); line-height: 0.88; text-transform: uppercase; margin-bottom: var(--md);
}
.final-cta h2 .ink-orange { color: var(--accent); }
.final-cta p { font-size: 1.15rem; color: var(--muted); max-width: 30em; margin: 0 auto var(--xl); }
.final-cta .hero-cta { justify-content: center; }
.final-cta .fine { margin-top: var(--lg); font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }

/* ---------------------------------------------------------------------------
   23. FOOTER
   --------------------------------------------------------------------------- */
.footer { border-top: 1px solid var(--line); padding-block: clamp(48px, 7vw, 80px) var(--xl); }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: var(--xl) var(--lg); margin-bottom: var(--xxl); }
.footer .brand { margin-bottom: var(--md); }
.footer-blurb { font-size: 0.92rem; color: var(--muted); max-width: 26em; margin-bottom: var(--md); }
.footer-col h5 { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-text); margin-bottom: var(--md); }
.footer-col a { display: block; font-size: 0.92rem; color: var(--muted); padding: 5px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--structure); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: var(--md); padding-top: var(--lg); border-top: 1px solid var(--hair); flex-wrap: wrap; }
.footer-bottom p { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }

/* ---------------------------------------------------------------------------
   24. LEGAL PAGES
   --------------------------------------------------------------------------- */
.legal { padding-block: clamp(48px, 7vw, 96px); }
.legal-wrap { max-width: 760px; margin-inline: auto; }
.legal h1 { font-family: var(--font-head); font-style: italic; font-weight: 600; font-size: clamp(2.6rem, 6vw, 4.4rem); text-transform: uppercase; line-height: 0.9; margin-block: var(--md) var(--sm); }
.legal .updated { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--xl); }
.legal h2 { font-family: var(--font-body); font-weight: 800; font-size: 1.4rem; margin-block: var(--xl) var(--sm); letter-spacing: -0.01em; }
.legal h3 { font-weight: 700; font-size: 1.08rem; margin-block: var(--lg) var(--xs); }
.legal p, .legal li { color: var(--muted); font-size: 1rem; line-height: 1.7; margin-bottom: var(--sm); }
.legal ul { list-style: none; margin-bottom: var(--md); }
.legal ul li { position: relative; padding-left: 22px; }
.legal ul li::before { content: ""; position: absolute; left: 0; top: 12px; width: 12px; height: 2px; background: var(--accent-text); }
.legal a.inline { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.legal a.inline:hover { color: var(--accent); }
.legal .callout { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 0 var(--r-card) var(--r-card) 0; padding: var(--lg); margin-block: var(--lg); }
.legal .callout p { margin: 0; color: var(--structure); }
.legal-toc { background: var(--card2); border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--lg); margin-bottom: var(--xl); }
.legal-toc h5 { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text); margin-bottom: var(--sm); }
.legal-toc a { display: block; padding: 4px 0; font-size: 0.92rem; color: var(--muted); }
.legal-toc a:hover { color: var(--accent); }

/* ---------------------------------------------------------------------------
   25. ENTRANCE MOTION  (wcEntrance: fade + 16px rise, easeOut 0.55s, staggered)
   --------------------------------------------------------------------------- */
/* Content is visible by default; only the .js gate hides-then-reveals it,
   so no-JS (and pre-JS first paint) always shows the full page. */
.reveal { transition: opacity var(--reveal-dur) var(--ease), transform var(--reveal-dur) var(--ease); }
.js .reveal:not(.in) { opacity: 0; transform: translateY(16px); }
@media (prefers-reduced-motion: reduce) {
  .js .reveal:not(.in) { opacity: 1; transform: none; }
  .reveal { transition: none; }
  .eq i { animation: none !important; }
}

/* ---------------------------------------------------------------------------
   26. RESPONSIVE
   --------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .feature-grid, .testi-grid, .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .usecase-grid, .privacy-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: repeat(4, 1fr); gap: var(--lg); }
  .footer-top > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: grid; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: var(--xl); }
  .hero-visual { order: -1; }
  /* decorative floating callouts cause negative-offset overflow on narrow screens */
  .spec-tag { display: none; }
  .spotlight, .spotlight.flip { grid-template-columns: 1fr; gap: var(--xl); }
  .spotlight .spot-visual, .spotlight.flip .spot-visual { order: -1; }
  .pricing-grid { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; gap: var(--lg); }
  .announcer-strip { max-width: 100%; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .feature-grid, .testi-grid, .audience-grid, .usecase-grid, .privacy-grid, .stats { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn, .hero-cta .appstore { width: 100%; }
  .credits-note { flex-direction: column; align-items: flex-start; }
}

/* ============================================================================
   27. EDITORIAL / CONTENT PAGES  (blog, guides, comparisons, audience landings)
   ============================================================================ */

.article { padding-block: clamp(28px, 4vw, 56px) clamp(56px, 8vw, 100px); }

/* Breadcrumb */
.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: var(--lg);
}
.breadcrumb a { color: var(--accent-text); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--faint); }

/* Article hero */
.article-hero { max-width: 800px; margin-inline: auto; }
.article-hero h1 {
  font-family: var(--font-head); font-style: italic; font-weight: 600; text-transform: uppercase;
  font-size: clamp(2.3rem, 5.2vw, 4.2rem); line-height: 0.92; letter-spacing: -0.005em;
  margin-block: var(--md) var(--md);
}
.article-hero h1 .ink-orange { color: var(--accent); }
.article-hero .lead { font-size: clamp(1.08rem, 1.7vw, 1.32rem); color: var(--muted); line-height: 1.5; }
.post-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: var(--lg);
  font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.post-meta .badge { width: 36px; height: 36px; font-size: 0.9rem; }
.post-meta .sep { color: var(--faint); }
.article-hero .meridian { margin-top: var(--lg); }

/* Prose body */
.prose { max-width: 760px; margin-inline: auto; }
.prose > * + * { margin-top: var(--md); }
.prose > .lead-p { font-size: 1.18rem; color: var(--structure); line-height: 1.6; }
.prose h2 {
  font-family: var(--font-body); font-weight: 800; letter-spacing: -0.01em;
  font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: var(--xl); line-height: 1.15;
  display: flex; align-items: baseline; gap: 12px;
}
.prose h2::before { content: ""; width: 18px; height: 3px; background: var(--accent); flex: none; transform: translateY(-5px); }
.prose h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.2rem; margin-top: var(--lg); }
.prose p, .prose li { color: var(--muted); font-size: 1.05rem; line-height: 1.7; }
.prose strong, .prose b { color: var(--structure); font-weight: 700; }
.prose a.inline { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.prose a.inline:hover { color: var(--accent); }
.prose ul, .prose ol { padding-left: 4px; display: flex; flex-direction: column; gap: 10px; }
.prose ul li { position: relative; padding-left: 24px; list-style: none; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 12px; width: 13px; height: 2px; background: var(--accent-text); }
.prose ol { counter-reset: li; }
.prose ol li { position: relative; padding-left: 34px; list-style: none; counter-increment: li; }
.prose ol li::before {
  content: counter(li); position: absolute; left: 0; top: 2px; width: 22px; height: 22px;
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 600; color: var(--accent);
  display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%;
}
.prose blockquote {
  border-left: 3px solid var(--accent); padding: 4px 0 4px var(--lg); margin-block: var(--lg);
  font-family: var(--font-head); font-style: italic; font-weight: 600; font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1.15; color: var(--structure); text-transform: none;
}
.prose code { font-family: var(--font-mono); font-size: 0.86em; color: var(--accent-text); background: var(--card2); padding: 1px 6px; border-radius: 4px; }
.prose hr { border: none; height: 1px; background: var(--line); margin-block: var(--xl); }
.prose img { border-radius: var(--r-card); border: 1px solid var(--hair); margin-block: var(--lg); }
.prose .callout { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 0 var(--r-card) var(--r-card) 0; padding: var(--lg); }
.prose .callout p { color: var(--structure); margin: 0; }
.prose .callout p + p { margin-top: var(--xs); }

/* Table of contents */
.toc { background: var(--card2); border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--lg); margin-bottom: var(--xl); }
.toc h5 { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text); margin-bottom: var(--sm); }
.toc a { display: block; padding: 5px 0; font-size: 0.95rem; color: var(--muted); }
.toc a:hover { color: var(--accent); }

/* Song list table */
.table-wrap { overflow-x: auto; margin-block: var(--lg); -webkit-overflow-scrolling: touch; }
.song-table { width: 100%; border-collapse: collapse; font-size: 1rem; min-width: 520px; }
.song-table th {
  text-align: left; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent-text); padding: 10px 14px; border-bottom: 2px solid var(--line);
}
.song-table td { padding: 13px 14px; border-bottom: 1px solid var(--hair); vertical-align: top; }
.song-table tbody tr:hover { background: var(--card); }
.song-table .rank { font-family: var(--font-head); font-style: italic; font-weight: 600; color: var(--accent); font-size: 1.2rem; width: 46px; }
.song-table .song { font-weight: 700; color: var(--structure); }
.song-table .artist { color: var(--muted); }
.song-table .vibe { color: var(--accent-text); font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }

/* Comparison table */
.compare-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare-table th, .compare-table td { padding: 15px 16px; border-bottom: 1px solid var(--hair); text-align: left; vertical-align: top; }
.compare-table thead th { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--line); }
.compare-table tbody td:first-child, .compare-table thead th:first-child { font-weight: 700; color: var(--structure); }
.compare-table .col-wsp { background: color-mix(in srgb, var(--accent) 8%, transparent); border-inline: 1px solid color-mix(in srgb, var(--accent) 20%, transparent); }
.compare-table thead .col-wsp { color: var(--accent); }
.compare-table .yes { color: var(--ready); font-weight: 700; }
.compare-table .no { color: var(--faint); }
.compare-table .mut { color: var(--muted); font-size: 0.92rem; }

/* Blog index grid + post cards */
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--card-gutter); }
.post-card {
  display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--hair);
  border-radius: var(--r-card); overflow: hidden; transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.post-card:hover { transform: translateY(-4px); border-color: var(--line); }
.post-card .pc-cover {
  background: var(--card2); border-bottom: 1px solid var(--hair); padding: var(--lg);
  min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; gap: var(--md);
}
.post-card .pc-cat { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text); display: inline-flex; align-items: center; gap: 8px; }
.post-card .pc-cat::before { content: ""; width: 14px; height: 2px; background: var(--accent); }
.post-card .pc-title { font-family: var(--font-head); font-style: italic; font-weight: 600; text-transform: uppercase; font-size: 1.6rem; line-height: 0.95; color: var(--structure); }
.post-card .pc-body { padding: var(--lg); flex: 1; display: flex; flex-direction: column; gap: var(--sm); }
.post-card .pc-excerpt { color: var(--muted); font-size: 0.92rem; line-height: 1.5; }
.post-card .pc-meta { margin-top: auto; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }

/* Pros / cons cards */
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: var(--card-gutter); margin-block: var(--lg); }
.pc-box { background: var(--card); border: 1px solid var(--hair); border-radius: var(--r-card); padding: var(--lg); }
.pc-box h4 { font-family: var(--font-body); font-weight: 800; font-size: 1.1rem; margin-bottom: var(--sm); display: flex; align-items: center; gap: 8px; }
.pc-box.pros h4 { color: var(--ready); }
.pc-box.cons h4 { color: var(--unavailable); }
.pc-box ul { display: flex; flex-direction: column; gap: 10px; }
.pc-box li { display: flex; gap: 10px; font-size: 0.95rem; color: var(--muted); }
.pc-box li::before { content: ""; width: 13px; height: 2px; background: var(--line); margin-top: 11px; flex: none; }

/* In-article CTA band (reuses .band visual) */
.cta-band { margin-block: var(--xl); }

/* Related posts */
.related { max-width: var(--max-content); margin-inline: auto; margin-top: clamp(56px, 8vw, 96px); }
.related .section-label { margin-bottom: var(--lg); }

/* Generic content section header for landing pages */
.lp-hero { max-width: 760px; }
.lp-hero h1 { font-family: var(--font-head); font-style: italic; font-weight: 600; text-transform: uppercase; font-size: clamp(2.6rem, 6vw, 5rem); line-height: 0.9; margin-block: var(--md); }
.lp-hero h1 .ink-orange { color: var(--accent); }
.lp-hero .lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); }

@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .blog-grid { grid-template-columns: 1fr; }
  .proscons { grid-template-columns: 1fr; }
  .prose h2::before { display: none; }
}
