/* Public scorecard. Built on the Profound design system web marketing kit:
   black canvas, Inter at weight 500 for display, hairline borders, pill badges. */
@font-face {
  font-family: "Inter";
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/InterVariable.woff2") format("woff2");
}

:root {
  --bg-page: #000000;
  --bg-gradient: linear-gradient(0deg, #0d0d0d 0%, #000000 100%);
  --bg-light: #ffffff;
  --bg-tertiary: #141414;
  --bg-light-gray: #1e1e1e;
  --bg-card: #0d0d0d;
  --bg-card-elevated: #141416;
  --bg-success: #00b87c;

  --text-white: #ffffff;
  --text-secondary: #a0a0a0;
  --text-tertiary: #6b6b6b;
  --text-dark: #0a0a0a;

  --border-light: #2c2c2c;
  --border-subtle: #1a1a1a;
  --accent-yellow: #f9ff57;

  --ship: #00b87c;
  --ship-bg: rgba(0, 184, 124, 0.1);
  --ship-border: rgba(0, 184, 124, 0.35);
  --skip: oklch(0.704 0.191 22.216);
  --skip-bg: oklch(0.704 0.191 22.216 / 0.1);
  --skip-border: oklch(0.704 0.191 22.216 / 0.35);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  --font-inter: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --h1: clamp(44px, 6vw, 88px);
  --h2: clamp(30px, 4vw, 52px);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg-page); color: var(--text-white); font-family: var(--font-inter); font-feature-settings: "cv01", "ss02", "ss03", "cv05"; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg-gradient); font-size: 16px; line-height: 24px; }
a { color: inherit; text-decoration: none; }
strong, b { font-weight: 500; }
.shell { max-width: 1200px; margin: 0 auto; padding: 24px 32px 64px; }
.loading { color: var(--text-secondary); padding: 120px 0; text-align: center; }
[hidden] { display: none !important; }

/* ---------- nav ---------- */
.mnav {
  position: sticky; top: 16px; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 20px; border: 1px solid var(--border-light); border-radius: var(--radius-lg);
  background: rgba(14, 14, 16, 0.7); backdrop-filter: blur(12px);
}
.mnav-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; letter-spacing: -0.3px; }
.brand-mark { width: 24px; height: 24px; border-radius: 7px; background: var(--bg-light); color: var(--text-dark); display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.mnav-links { display: inline-flex; align-items: center; gap: 28px; }
.mnav-link { font-size: 14px; color: var(--text-secondary); transition: color 200ms ease; }
.mnav-link:hover { color: var(--text-white); }

/* ---------- pills ---------- */
.mpill {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 6px 12px; border-radius: var(--radius-pill);
  font-size: 12px; line-height: 1; font-weight: 500;
  background: rgba(255, 255, 255, 0.06); color: var(--text-white); border: 1px solid var(--border-light);
}
.mpill--glow { background: rgba(249, 255, 87, 0.08); border-color: rgba(249, 255, 87, 0.3); color: var(--accent-yellow); }
.mpill--quiet { background: transparent; color: var(--text-secondary); }
.call { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px 5px 9px; border-radius: var(--radius-pill); font-size: 12px; line-height: 1; font-weight: 600; letter-spacing: 0.04em; border: 1px solid; }
.call::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.call.ship { color: var(--ship); background: var(--ship-bg); border-color: var(--ship-border); }
.call.ship::before { box-shadow: 0 0 8px var(--ship); }
.call.skip { color: var(--skip); background: var(--skip-bg); border-color: var(--skip-border); }
.call.lg { font-size: 14px; padding: 8px 14px 8px 12px; }

/* one dot per run: filled green for a run that shipped, hollow for a skip */
.call-row { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.dots { display: inline-flex; gap: 5px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; }
.dots i.ok { background: var(--ship); box-shadow: 0 0 6px rgba(0, 184, 124, 0.5); }
.dots i.no { box-shadow: inset 0 0 0 1.5px var(--text-tertiary); }

/* ---------- notice bar ---------- */
.notice { margin-top: 16px; padding: 12px 20px; border-radius: var(--radius-lg); border: 1px solid rgba(249, 255, 87, 0.3); background: rgba(249, 255, 87, 0.06); color: var(--accent-yellow); font-size: 14px; line-height: 20px; display: flex; gap: 10px; flex-wrap: wrap; }
.notice span { color: var(--text-secondary); }

/* ---------- hero ---------- */
.mhero {
  position: relative; overflow: hidden; margin-top: 16px;
  border: 1px solid var(--border-light); border-radius: var(--radius-xl);
  padding: 104px 48px 88px; text-align: center;
  background: radial-gradient(60% 60% at 50% 40%, rgba(249, 255, 87, 0.06), transparent 70%), linear-gradient(180deg, #0a0a0a 0%, #000000 100%);
}
.eyebrow-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--radius-pill); border: 1px solid var(--border-light); background: rgba(255, 255, 255, 0.03); font-size: 12px; line-height: 1; color: var(--text-secondary); margin-bottom: 28px; }
.eyebrow-pill::before { content: ""; width: 6px; height: 6px; background: var(--accent-yellow); border-radius: 50%; box-shadow: 0 0 16px var(--accent-yellow); }
.eyebrow-pill strong { color: var(--text-white); }
.mhero h1 { font-size: var(--h1); line-height: 1.02; letter-spacing: -0.025em; font-weight: 500; margin: 0 auto 24px; max-width: 18ch; text-wrap: balance; }
.mhero h1 .h1-sub { display: block; }
.mhero h1 em { font-style: normal; }
.mhero h1 .w-ship { color: var(--ship); }
.mhero h1 .w-skip { color: var(--skip); }
.mhero p.lede { font-size: 18px; line-height: 28px; color: var(--text-secondary); max-width: 60ch; margin: 0 auto; text-wrap: pretty; }

/* ---------- stats ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.stat { border: 1px solid var(--border-light); border-radius: var(--radius-lg); background: var(--bg-card); padding: 28px; }
.stat-num { font-size: 56px; line-height: 1; font-weight: 500; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.stat-num small { font-size: 24px; letter-spacing: -0.02em; color: var(--text-tertiary); }
.stat-label { margin-top: 12px; color: var(--text-secondary); font-size: 14px; line-height: 20px; }

/* ---------- sections ---------- */
.sec { margin-top: 112px; scroll-margin-top: 96px; }
.sec > header { margin-bottom: 32px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; line-height: 1; letter-spacing: 0.1em; color: var(--text-tertiary); text-transform: uppercase; margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 8px; height: 1px; background: currentColor; }
.sec h2 { font-size: var(--h2); line-height: 1.06; letter-spacing: -0.022em; font-weight: 500; margin: 0 0 14px; text-wrap: balance; max-width: 20ch; }
.sec > header p { margin: 0; color: var(--text-secondary); font-size: 16px; line-height: 24px; max-width: 68ch; text-wrap: pretty; }
.section-card { border: 1px solid var(--border-light); border-radius: var(--radius-xl); background: var(--bg-card); overflow: hidden; }
.section-card + .section-card { margin-top: 16px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 24px 28px; border-bottom: 1px solid var(--border-light); }
.card-head h3 { margin: 0; font-size: 20px; line-height: 1.2; letter-spacing: -0.3px; font-weight: 500; }
.card-head .pills { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- scorecard matrix ---------- */
.scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 20px; }
th { text-align: left; font-weight: 500; font-size: 12px; line-height: 16px; color: var(--text-tertiary); padding: 14px 12px; border-bottom: 1px solid var(--border-light); vertical-align: bottom; }
th.brief-col { min-width: 128px; max-width: 200px; color: var(--text-secondary); }
th.brief-col small { display: block; margin-top: 2px; color: var(--text-tertiary); font-weight: 400; }
td { padding: 18px 12px; border-bottom: 1px solid var(--border-subtle); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
td:first-child, th:first-child { padding-left: 28px; }
td:last-child, th:last-child { padding-right: 28px; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.model { font-weight: 500; white-space: nowrap; }
.model small { display: block; font-weight: 400; font-size: 12px; color: var(--text-tertiary); font-family: ui-monospace, "JetBrains Mono", Menlo, monospace; }
.cell-sub { margin-top: 6px; font-size: 12px; line-height: 16px; color: var(--text-tertiary); font-variant-numeric: tabular-nums; white-space: nowrap; }
.big { font-size: 20px; font-weight: 500; letter-spacing: -0.3px; }
.big small { font-size: 13px; color: var(--text-tertiary); letter-spacing: 0; font-weight: 400; }
.divider-left { border-left: 1px solid var(--border-light); }

/* ---------- distance bars ---------- */
.bars { padding: 28px; display: grid; gap: 22px; }
.bar-row { display: grid; grid-template-columns: 220px 1fr 96px; gap: 20px; align-items: center; }
.bar-label { font-size: 14px; font-weight: 500; }
.bar-label small { display: block; font-size: 12px; font-weight: 400; color: var(--text-tertiary); }
.bar-track { position: relative; height: 28px; border-radius: 8px; background: rgba(255, 255, 255, 0.04); }
.bar-range { position: absolute; top: 9px; height: 10px; border-radius: 5px; background: rgba(255, 255, 255, 0.16); }
.bar-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 8px; background: var(--bg-light); min-width: 3px; }
.bar-fill.over { background: var(--skip); }
.bar-fill.me { background: transparent; border: 1px dashed var(--text-secondary); }
.bar-cap { position: absolute; top: -6px; bottom: -6px; width: 0; border-left: 2px solid var(--accent-yellow); }
.bar-cap span { position: absolute; top: -18px; left: -2px; transform: translateX(-50%); font-size: 11px; line-height: 1; color: var(--accent-yellow); white-space: nowrap; }
.bar-val { font-size: 20px; font-weight: 500; letter-spacing: -0.3px; font-variant-numeric: tabular-nums; text-align: right; }
.bar-val small { font-size: 12px; color: var(--text-tertiary); font-weight: 400; letter-spacing: 0; }
.legend { display: flex; gap: 20px; flex-wrap: wrap; padding: 0 28px 24px; font-size: 12px; color: var(--text-tertiary); }
.legend i { display: inline-block; vertical-align: middle; margin-right: 6px; }

/* ---------- why skipped ---------- */
.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.feature { border: 1px solid var(--border-light); border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0) 100%); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.feature h3 { margin: 0; font-size: 20px; line-height: 1.2; letter-spacing: -0.3px; font-weight: 500; }
.feature p { margin: 0; font-size: 14px; line-height: 22px; color: var(--text-secondary); }
.feature .model small { margin-top: 2px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: var(--radius-pill); border: 1px solid var(--border-light); font-size: 12px; line-height: 1; color: var(--text-secondary); }
.chip b { color: var(--text-white); font-variant-numeric: tabular-nums; }
.chip.crit { border-color: var(--skip-border); background: var(--skip-bg); color: var(--skip); }
.chip.crit b { color: var(--skip); }
.feature-num { width: 40px; height: 40px; border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-light); display: grid; place-items: center; font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* ---------- judge ---------- */
.judge { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 720px; }
.jcell { border: 1px solid var(--border-light); border-radius: var(--radius-lg); background: var(--bg-card); padding: 24px 28px; }
.jcell .stat-num { font-size: 48px; }
.jcell.hot { border-color: rgba(249, 255, 87, 0.4); background: rgba(249, 255, 87, 0.05); }
.jcell.hot .stat-num { color: var(--accent-yellow); }

/* ---------- receipts ---------- */
details.receipt { border: 1px solid var(--border-light); border-radius: var(--radius-lg); background: var(--bg-card); }
details.receipt + details.receipt { margin-top: 12px; }
details.receipt > summary { list-style: none; cursor: pointer; padding: 22px 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 18px; font-weight: 500; letter-spacing: -0.2px; }
details.receipt > summary::-webkit-details-marker { display: none; }
details.receipt > summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--text-secondary); }
details.receipt[open] > summary::after { content: "\2212"; }
details.receipt > summary small { display: block; margin-top: 4px; font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--text-tertiary); }
.receipt-body { padding: 0 28px 28px; }
.receipt-body h4 { margin: 24px 0 10px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-tertiary); font-weight: 500; }
.prose { white-space: pre-wrap; font-size: 15px; line-height: 24px; color: var(--text-secondary); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); background: var(--bg-page); padding: 18px 20px; }
.prose ins { text-decoration: none; color: var(--ship); background: var(--ship-bg); border-radius: 3px; }
.prose del { color: var(--skip); background: var(--skip-bg); border-radius: 3px; }
.out-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 28px 0 10px; }
.out-head .model { margin-right: 4px; }

/* ---------- footer ---------- */
.mfooter { margin-top: 112px; border: 1px solid var(--border-light); border-radius: var(--radius-xl); background: var(--bg-card); padding: 40px 48px; display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.mfooter p { font-size: 13px; color: var(--text-tertiary); line-height: 20px; max-width: 44ch; margin: 14px 0 0; }
.mfooter h4 { margin: 0 0 14px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-tertiary); font-weight: 500; }
.mfooter ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.mfooter li a { font-size: 13px; color: var(--text-secondary); }
.mfooter li a:hover { color: var(--text-white); }
.empty { margin-top: 16px; border: 1px solid var(--border-light); border-radius: var(--radius-xl); background: var(--bg-card); padding: 72px 48px; text-align: center; color: var(--text-secondary); }
.empty b { display: block; color: var(--text-white); font-size: 24px; line-height: 32px; letter-spacing: -0.3px; margin-bottom: 8px; }

@media (max-width: 980px) {
  .stat-grid, .method-grid { grid-template-columns: repeat(2, 1fr); }
  .mnav-links { display: none; }
}
@media (max-width: 640px) {
  .shell { padding: 12px 14px 40px; }
  .mhero { padding: 64px 22px 56px; }
  .mhero p.lede { font-size: 16px; line-height: 24px; }
  .stat-grid, .method-grid, .judge { grid-template-columns: 1fr; }
  .stat-num { font-size: 44px; }
  .sec { margin-top: 72px; }
  .bar-row { grid-template-columns: 1fr 72px; }
  .bar-row .bar-track { grid-column: 1 / -1; grid-row: 2; }
  .bars { padding: 28px 20px; gap: 26px; }
  .mfooter { padding: 28px 24px; }
  details.receipt > summary, .receipt-body { padding-left: 20px; padding-right: 20px; }
  .card-head { padding: 20px; }
  td:first-child, th:first-child { padding-left: 20px; }
}
