/* ============================================================
 * EIQ Prism — Design Pilot CSS
 * ============================================================
 * The five Prism guardrails (do not remove this block):
 *
 * 1. The accent gradient means alpha / payout / earned —
 *    never decorative. Capsule CTAs (M5) and stats labelled
 *    "α" carry it. "Cancel" / "Back" never do.
 *
 * 2. Numerals are always JetBrains Mono with
 *    `font-variant-numeric: tabular-nums`. Never Inter for
 *    a number.
 *
 * 3. Frosted glass only sits on top of the canvas gradient
 *    or a coloured panel — never plain white (it disappears).
 *
 * 4. Hairlines are never thicker than 1px.
 *
 * 5. Only the three defined shadow tokens — no one-off
 *    `box-shadow` values.
 * ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  /* canvas + surface */
  --canvas: linear-gradient(135deg, #f4f8ff 0%, #fafafa 50%, #fff4ee 100%);
  --surface: #ffffff;
  --frosted-bg: rgba(255, 255, 255, 0.55);
  --frosted-border: rgba(255, 255, 255, 0.4);

  /* ink */
  --ink: #0a0e1a;
  --ink-2: #5b6178;
  --ink-3: #8d92a8;

  /* accent */
  --accent-grad: linear-gradient(90deg, #4a6cf7, #a560f0 70%);
  --accent-grad-running: linear-gradient(90deg, #4a6cf7, #a560f0, #4a6cf7);
  --accent-solid: #4a6cf7;
  --accent-solid-end: #a560f0;

  /* mesh ambient */
  --mesh-cool: radial-gradient(circle, rgba(140, 180, 255, 0.35), transparent 65%);
  --mesh-warm: radial-gradient(circle, rgba(255, 180, 160, 0.28), transparent 65%);

  /* status */
  --success: #2eb88a;
  --danger: #e54b58;
  --warning: #e89f3a;
  --info: #5b9af6;

  /* chrome */
  --hairline: rgba(10, 14, 26, 0.08);

  /* shadows — the only three */
  --shadow-subtle: 0 1px 2px rgba(10, 14, 26, 0.04);
  --shadow-card: 0 4px 16px rgba(10, 14, 26, 0.04), 0 1px 2px rgba(10, 14, 26, 0.06);
  --shadow-floating: 0 12px 40px rgba(10, 14, 26, 0.08), 0 4px 12px rgba(10, 14, 26, 0.04);
  --accent-glow: 0 0 24px rgba(74, 108, 247, 0.25);

  /* radii */
  --r-button: 8px;
  --r-card: 12px;
  --r-panel: 16px;
  --r-hero: 24px;
  --r-capsule: 999px;

  /* spacing */
  --container-max: 1280px;
  --gutter: 32px;
  --section-pad-y: 96px;

  /* font stacks */
  --font-sans: 'Inter', 'SF Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', ui-monospace, monospace;
}

@media (max-width: 1024px) {
  :root { --gutter: 24px; --section-pad-y: 64px; }
}
@media (max-width: 640px) {
  :root { --section-pad-y: 48px; }
}

/* ============================================================
 * Reset + base
 * ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font-sans);
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  color: var(--ink);
  background: var(--canvas);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  min-height: 100vh;
}

a { color: var(--accent-solid); text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ============================================================
 * Typography ramp
 * ============================================================ */

.display-l { font-size: 56px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
.display-m { font-size: 40px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; }
.display-s { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.body-lead { font-size: 19px; line-height: 1.55; font-weight: 400; letter-spacing: -0.01em; }
.body      { font-size: 16px; line-height: 1.6; font-weight: 400; letter-spacing: -0.01em; }
.meta      { font-size: 13px; line-height: 1.5; font-weight: 500; }
.eyebrow   { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2); }

.num       { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.num-l     { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 32px; font-weight: 600; }
.num-m     { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 14px; font-weight: 500; }

@media (max-width: 640px) {
  .display-l { font-size: 36px; }
  .display-m { font-size: 28px; }
  .display-s { font-size: 22px; }
  .body-lead { font-size: 17px; }
  .num-l     { font-size: 24px; }
}

.accent {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================================================
 * Layout primitives
 * ============================================================ */

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--gutter); }
.section   { padding: var(--section-pad-y) 0; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* ============================================================
 * Dashboard / activity layout primitives
 * ============================================================ */

.stat-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.activity-row {
  padding: 16px 22px;
  display: flex;
  gap: 24px;
  align-items: baseline;
  border-bottom: 1px solid var(--hairline);
}
.activity-row:last-child { border-bottom: none; }

.activity-ts {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  color: var(--ink-3);
  min-width: 120px;
  white-space: nowrap;
}

/* ============================================================
 * Surfaces
 * ============================================================ */

.card     { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-card); box-shadow: var(--shadow-subtle); }
.panel    { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-panel); box-shadow: var(--shadow-card); }
.hero-panel { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-hero); box-shadow: var(--shadow-floating); }
.frosted  { background: var(--frosted-bg); border: 1px solid var(--frosted-border); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: var(--r-card); }

/* ============================================================
 * Buttons
 * ============================================================ */

.btn-primary {
  background: rgba(10, 14, 26, 0.92);
  color: white;
  font-size: 13px; font-weight: 500;
  padding: 10px 20px;
  border-radius: var(--r-button);
  border: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-card); }

.btn-secondary {
  background: var(--frosted-bg);
  border: 1px solid var(--hairline);
  color: var(--ink);
  font-size: 13px; font-weight: 500;
  padding: 10px 20px;
  border-radius: var(--r-button);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-text {
  background: transparent;
  color: var(--ink);
  font-size: 13px; font-weight: 500;
  padding: 10px 12px;
  border: none;
}

.btn-capsule {
  background: var(--accent-grad-running);
  background-size: 200% 100%;
  color: white;
  font-size: 13px; font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--r-capsule);
  border: none;
  box-shadow: var(--accent-glow);
  animation: capsule-breathe 4s ease-in-out infinite; /* M5 */
}
.btn-capsule:hover { animation-play-state: paused; }

/* ============================================================
 * Stat band (hero pattern, exactly 3 stats)
 * ============================================================ */

.stat-band {
  display: inline-flex;
  gap: 0;
  padding: 14px 4px;
  background: var(--frosted-bg);
  border: 1px solid var(--frosted-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--r-panel);
}
.stat       { padding: 0 22px; border-right: 1px solid var(--hairline); }
.stat:last-child { border-right: none; }
.stat-value { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 22px; font-weight: 600; color: var(--ink); }
.stat-label { font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); margin-top: 4px; }

/* ============================================================
 * Live indicator (M6)
 * ============================================================ */

.live-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(46, 184, 138, 0.5);
  animation: live-pulse 1.6s ease-out infinite;
  vertical-align: middle;
  margin-right: 6px;
}

/* ============================================================
 * Topographic contour ambient layer (MTN-1)
 * Drop a <div class="topo"></div> into any positioned container.
 * ============================================================ */

.topo {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.6;
  /* Y-anchor changed from `30%` (parent-relative — moved with hero height
     so the oval landed at a different pixel position on each page) to a
     fixed `140px` from the top of the topo box. With every public hero
     using the shared <section class="section"> wrapper, the topo's top
     edge sits at a consistent offset below the header, so the oval now
     reads at the same vertical position across /tournament, /leaderboard,
     /data, /docs, /whitepaper, /seasons, /benchmarks, /privacy. */
  background-image:
    radial-gradient(ellipse 600px 180px at 85% 70px, transparent 28%, rgba(74, 108, 247, 0.07) 29%, transparent 30%),
    radial-gradient(ellipse 480px 144px at 85% 70px, transparent 38%, rgba(74, 108, 247, 0.06) 39%, transparent 40%),
    radial-gradient(ellipse 360px 108px at 85% 70px, transparent 48%, rgba(165, 96, 240, 0.07) 49%, transparent 50%),
    radial-gradient(ellipse 240px  72px at 85% 70px, transparent 60%, rgba(165, 96, 240, 0.08) 61%, transparent 62%),
    radial-gradient(ellipse 120px  36px at 85% 70px, transparent 72%, rgba(165, 96, 240, 0.10) 73%, transparent 74%);
}
.topo--sparse { opacity: 0.35; }
.topo--center { background-position: 50% 50%; }

/* ============================================================
 * Mesh blobs (legacy ambient, NOT animated — M2 was repurposed
 * to the elevation kinetic. Use only as decoration behind hero.)
 * ============================================================ */

.mesh-cool { position: absolute; top: -60px; right: -60px; width: 280px; height: 280px; border-radius: 50%; background: var(--mesh-cool); pointer-events: none; }
.mesh-warm { position: absolute; bottom: -60px; left: -60px; width: 220px; height: 220px; border-radius: 50%; background: var(--mesh-warm); pointer-events: none; }

/* ============================================================
 * Leaderboard row (MTN-3 peak-rank tier)
 * ============================================================ */

.lb-row {
  display: grid;
  grid-template-columns: 40px 130px 1fr 100px 90px 80px;
  gap: 16px;
  align-items: center;
  padding: 12px 20px;
  border-bottom: 1px solid var(--hairline);
  transition: transform .4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow .4s ease;
}
.lb-row:last-child { border-bottom: none; }

/* M4 — Tilt on hover (pointer-fine only) */
@media (hover: hover) and (pointer: fine) {
  .lb-row:hover {
    transform: perspective(800px) rotateX(1deg) rotateY(-1deg) translateY(-1px);
    box-shadow: var(--shadow-card);
    background: rgba(74, 108, 247, 0.025);
  }
}
.lb-rank  { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 13px; color: var(--ink-2); font-weight: 600; }
.lb-peak  { font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em; color: var(--accent-solid); }
.lb-model { font-family: var(--font-mono); font-size: 13.5px; font-weight: 600; color: var(--ink); }
.lb-elev  { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 11.5px; color: var(--ink-3); text-align: right; }
.lb-alpha { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 14px; font-weight: 600; text-align: right; }
.lb-delta { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 11.5px; text-align: right; }
.lb-delta.up   { color: var(--success); }
.lb-delta.down { color: var(--danger); }

/* ============================================================
 * Elevation profile SVG (MTN-2 / M2)
 *  - .pr-elev-line is set to stroke-dasharray: 1400; on mount,
 *    JS swaps to 0 to trigger the draw animation
 *  - .pr-summit pulses the active rank dot
 * ============================================================ */

.elev-line { stroke-dasharray: 1400; stroke-dashoffset: 1400; transition: stroke-dashoffset 2.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.elev-line.is-drawn { stroke-dashoffset: 0; }
.summit { animation: summit-pulse 2s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }

/* ============================================================
 * Header bar (shared across all surfaces)
 * ============================================================ */

.header {
  /* 3-column grid with equal 1fr side cols anchors the nav at the EXACT
     centre of the bar regardless of how wide the right-side actions are.
     With flex+space-between the nav drifted by ~41px between auth states
     because public has 2 CTAs (Sign in + Get API keys) and signed-in has
     3 short links (Settings + Sign out + agent pill) of different total
     width. Grid makes the side widths irrelevant to the nav position. */
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 14px var(--gutter);
  border-bottom: 1px solid var(--hairline);
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--frosted-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  /* Pin to the same height in every auth state. Anon (btn-primary at 38px)
     and authed (28px avatar) both fit inside; constraints below cap any
     overrun so the chrome doesn't grow when the user signs in. */
  min-height: 60px;
}
/* Cap right-side CTAs to the same vertical footprint as the avatar so
   anon vs authed render the bar at identical height. line-height: 1
   strips the default 1.5× line-box that was pushing btn-primary to ~38px. */
.header > div:last-child .btn-primary,
.header > div:last-child .btn-text {
  line-height: 1;
  padding-top: 8px; padding-bottom: 8px;
}
.header > .logo          { justify-self: start; }
.header > .nav           { justify-self: center; }
.header > div:last-child { justify-self: end; }
/* .logo wraps the brand wordmark image (BRAND_LOGO_URL). Kept as a flex
   container so future adjacent elements (e.g. an environment badge) sit
   inline. The .logo-mark CSS-rendered triangle is retained for any legacy
   markup that still references it. */
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
/* 22px matches the signed-in .app-header logo (see prism_app_base.html);
   keeping both at the same size so /landing → /onboarding doesn't jiggle. */
.logo img { height: 22px; width: auto; display: block; }
/* Slim the right-side CTAs INSIDE the public top bar so the bar's
   intrinsic height matches the signed-in chrome (51px). Without this
   override the .btn-primary padding pushes the bar to 68.5px. */
/* Right-side CTAs sized to match the signed-in .app-header's plain links.
   Locked to a fixed 18px box (matches the 18px Settings/Sign out links in
   prism_app_base.html) so navigating /landing ↔ /onboarding doesn't shift
   the top edge of the right-side controls — vertical-center on a 51px bar
   ends up at top=16 for both bases. */
.header .btn-primary {
  display: inline-flex; align-items: center;
  height: 18px;
  padding: 0 14px;
  font-size: 12.5px; line-height: 1;
}
.header .btn-text {
  display: inline-flex; align-items: center;
  height: 18px;
  padding: 0 10px;
  font-size: 12.5px; line-height: 1;
}

/* ============================================================
 * Table-of-contents sidebar (.toc-nav)
 * Shared by /docs, /whitepaper, and any future right-rail or
 * left-rail anchor-nav sidebar. Pair with data-scrollspy="<selector>"
 * on the parent <aside> — motion.js attachScrollSpy() will toggle
 * .active on the link whose href# matches the in-view section.
 * ============================================================ */
.toc-nav { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.toc-nav a {
  display: block;
  font-size: 13px;
  color: var(--ink-2);
  text-decoration: none;
  padding: 2px 0 2px 10px;
  margin-left: -10px;
  border-left: 2px solid transparent;
  transition: color 120ms ease, border-color 120ms ease;
}
.toc-nav a:hover { color: var(--ink); }
.toc-nav a.active {
  color: var(--accent-solid);
  font-weight: 600;
  border-left-color: var(--accent-solid);
}
/* When BRAND_LOGO_NEEDS_INVERT is true, the parent-firm wordmark ships
   white-on-transparent and needs filter:invert(1) to read on a light bg. */
.logo--invert img { filter: invert(1); }
.logo-mark { display: inline-block; width: 10px; height: 10px; background: var(--accent-grad); margin-right: 8px; vertical-align: -1px; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
/* `position: relative` makes the absolutely-positioned .nav-dashboard
   anchor against the nav block instead of the page. */
.nav { display: flex; gap: 28px; position: relative; }
.nav a { color: var(--ink-2); font-size: 13px; font-weight: 500; }
.nav a.active { color: var(--ink); }
/* Dashboard quick-jump.
   - Absolutely positioned so it does NOT participate in .nav's flex
     layout — that keeps the centered 5-item nav (Tournament / Leaderboard
     / Data / Docs / Whitepaper) at the EXACT same x in every auth state.
   - `right: 100%; margin-right: 28px` parks its right edge 28px left of
     the nav's left edge, matching the nav-item gap exactly.
   - Vertically centered against the nav (top: 50% + translateY) so it
     aligns with the other items regardless of line-height. */
.nav-dashboard {
  position: absolute;
  right: 100%; margin-right: 28px;
  top: 50%; transform: translateY(-50%);
  font-size: 13px;
  font-weight: 600;
  /* Gradient-filled text — accent blue → purple. Applied permanently
     (was only on :hover before). background-clip:text is well supported
     across modern browsers; the solid -webkit-text-fill-color: transparent
     and the plain color fallback keep it readable if a browser doesn't
     understand the clip. */
  color: var(--accent-solid);
  background: var(--accent-grad);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  white-space: nowrap;
  transition: filter 120ms ease;
}
.nav-dashboard:hover  { filter: brightness(1.15); }
.nav-dashboard.active { filter: brightness(1.10); }

/* ============================================================
 * Footer bar (shared across all surfaces)
 * ============================================================ */

.footer {
  padding: 32px var(--gutter);
  border-top: 1px solid var(--hairline);
  font-size: 11px;
  color: var(--ink-2);
  display: flex; justify-content: space-between; align-items: center;
}

/* ============================================================
 * Animations
 * ============================================================ */

@keyframes capsule-breathe {
  0%, 100% { background-position: 0% 50%; box-shadow: var(--accent-glow); }
  50%      { background-position: 100% 50%; box-shadow: 0 0 32px rgba(165, 96, 240, 0.35); }
}
@keyframes live-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(46, 184, 138, 0.5); }
  70%  { box-shadow: 0 0 0 12px rgba(46, 184, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 184, 138, 0); }
}
@keyframes summit-pulse {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-2px); }
}
@keyframes count-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.counter.is-animated { animation: count-fade-in 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }

@keyframes gradient-reveal {
  from { background-position: -100% 0; }
  to   { background-position: 0 0; }
}
.accent-reveal.is-revealed {
  background: var(--accent-grad);
  background-size: 200% 100%;
  background-position: -100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-reveal 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* ============================================================
 * prefers-reduced-motion fallback
 *  M2, M3, M5 disabled; M1 instant; M4 shadow-only; M6 stays
 * ============================================================ */

@media (prefers-reduced-motion: reduce) {
  .btn-capsule         { animation: none; }
  .elev-line           { transition: none; stroke-dashoffset: 0; }
  .elev-line.is-drawn  { stroke-dashoffset: 0; }
  .accent-reveal.is-revealed { animation: none; }
  .counter.is-animated       { animation: none; opacity: 1; transform: none; }
  .lb-row:hover        { transform: none; }
  /* M6 live-dot pulse stays on — it is the live-status signal */
}

/* ============================================================
 * Mobile — header collapse + leaderboard reflow
 * ============================================================ */

/* Default: never let a nav label wrap to two lines (would push Tournament
   off the visible row at intermediate viewports). */
.header .nav a { white-space: nowrap; }

/* Header wrap rule: lowered from 1280px → 900px after Stage D redesign
   trimmed the nav from 7 items to 5 (Tournament/Leaderboard/Data/Docs/
   Whitepaper). At ≥900px viewports the 5 items + wordmark + 2 CTAs fit
   inline; below 900px wrap onto a horizontal-scrollable second row. */
@media (max-width: 900px) {
  .header {
    flex-wrap: wrap;
    row-gap: 8px;
  }
  .header .nav {
    order: 3;
    width: 100%;
    gap: 18px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .header .nav::-webkit-scrollbar { display: none; }
}

@media (max-width: 640px) {
  /* Mobile: tighter padding + smaller nav font; shrink action buttons */
  .header {
    padding: 12px 16px;
    gap: 10px;
  }
  .header .nav {
    gap: 14px;
    font-size: 12px;
  }
  .header > div:last-child {
    gap: 4px;
  }
  .header > div:last-child .btn-primary,
  .header > div:last-child .btn-text {
    padding: 6px 12px;
    font-size: 12px;
  }

  /* Footer: stack vertically */
  .footer { flex-direction: column; gap: 12px; text-align: center; }
  .footer > div:last-child { gap: 12px; }

  /* Stat-band: full-width, each stat stacks with bottom hairline */
  .stat-band {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
  }
  .stat {
    flex: 1 1 100%;
    padding: 12px 16px;
    border-right: none;
    border-bottom: 1px solid var(--hairline);
  }
  .stat:last-child {
    border-bottom: none;
  }

  /* Leaderboard: drop Elevation + Delta columns on narrow screens */
  .lb-row {
    grid-template-columns: 32px 100px 1fr 72px;
  }
  .lb-elev, .lb-delta { display: none; }

  /* How-it-works 3-col grid → single column */
  .steps-grid {
    grid-template-columns: 1fr;
  }

  /* Dashboard 4-col stat strip → 2×2 */
  .stat-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Activity timeline rows: wrap on narrow so detail doesn't overflow */
  .activity-row {
    flex-wrap: wrap;
    gap: 6px 14px;
  }
  .activity-row .activity-ts {
    min-width: 0;
  }

}

/* ============================================================
 * Empty state — used everywhere a list/table/chart could be empty
 * Single source of truth so the "nothing here yet" tone stays
 * consistent. Rendered by templates/partials/_empty.html macro.
 * ============================================================ */
.empty-state {
  padding: 40px 24px;
  text-align: center;
  background: linear-gradient(135deg, rgba(244, 248, 255, 0.4) 0%, rgba(255, 244, 238, 0.4) 100%);
  border-radius: var(--r-card);
}
.empty-state__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(10, 14, 26, 0.04);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.empty-state__icon svg {
  width: 18px;
  height: 18px;
  color: var(--ink-3);
}
.empty-state__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.empty-state__copy {
  font-size: 12px;
  color: var(--ink-2);
  margin: 4px auto 16px;
  max-width: 320px;
  line-height: 1.5;
}
.empty-state__countdown {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: rgba(74, 108, 247, 0.08);
  padding: 4px 12px;
  border-radius: var(--r-button);
  margin: 4px 0 8px;
}
