@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --primary: #2457A7;
  --primary-ink: #16386F;
  --accent: #A044C5;
  --background: #F6F8FC;
  --surface: #FFFFFF;
  --surface-2: #E9EEF7;
  --text: #1B2638;
  --muted: #4A5B70;
  --border: #CDD8E8;
  --primary-border: #8AA8D4;
  --soft-border: #D7E0ED;
  --ink: #1B2638;
  --paper: #F6F8FC;
  --warn: #8A4B12;
  --ok: #1F6B4A;
  --shadow: 0 8px 24px rgba(27, 38, 56, 0.08);
  --shadow-card: 0 4px 16px rgba(27, 38, 56, 0.06);
  --radius: 10px;
  --radius-chip: 999px;
  --header-h: 68px;
  --shell: min(1180px, calc(100% - 32px));
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Inter", ui-monospace, monospace;
  --gradient-tile: linear-gradient(180deg, #FFFFFF 0%, #E9EEF7 100%);
  --bg: #F6F8FC;
  --bg-2: #E9EEF7;
  --card: #FFFFFF;
}
*,
*::before,
*::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  background: var(--background);
  min-width: 0;
}
img { display: block; width: 100%; max-width: 100%; height: auto; }
a { color: var(--primary-ink); }
a:hover { color: var(--primary); }
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--ink);
  color: #F6F8FC;
  padding: 8px 12px;
  z-index: 400;
}
.skip:focus { top: 12px; }
.container {
  width: var(--shell);
  margin: 0 auto;
  min-width: 0;
}
.band { display: block; padding: 56px 0; }
.band-alt { background: var(--surface-2); }
.band-paper { background: var(--surface); }
.band-ink {
  background: var(--ink);
  color: #F4F7FB;
}
.band-ink a { color: #D6E4FF; }
.section[id] { scroll-margin-top: 84px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 250;
  background: #F6F8FC;
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}
.header-inner {
  width: var(--shell);
  margin: 0 auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.brand-mark {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: var(--primary);
  color: #F6F8FC;
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.brand-name { font-weight: 700; letter-spacing: -0.03em; }
.brand-tag {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}
.main-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}
.main-nav a[aria-current="page"] { color: var(--primary); }
.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-primary,
.header-cta {
  background: var(--primary);
  color: #F6F8FC;
}
.btn-primary:hover,
.header-cta:hover { background: var(--primary-ink); color: #F6F8FC; }
.btn-ghost {
  background: var(--surface);
  color: var(--primary-ink);
  border-color: var(--primary-border);
}
.header-cta-ghost { display: none; }
.hamburger {
  display: none;
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 500;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  touch-action: manipulation;
}
.hamburger:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
}
.mobile-drawer {
  position: fixed;
  inset: 0 auto 0 0;
  width: min(86vw, 360px);
  background: var(--surface);
  border-right: 1px solid var(--border);
  z-index: 400;
  padding: 84px 20px 28px;
  transform: translateX(-105%);
  transition: transform 0.2s ease, visibility 0.2s ease;
  overflow: auto;
  visibility: hidden;
  pointer-events: none;
}
.mobile-drawer.is-open {
  transform: none;
  visibility: visible;
  pointer-events: auto;
}
.mobile-drawer ul { list-style: none; margin: 0; padding: 0; }
.mobile-drawer li { margin: 0 0 8px; }
.mobile-drawer a {
  display: block;
  padding: 12px 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  border-radius: 8px;
}
.drawer-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 8px;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
}
html.is-drawer-open,
html.is-drawer-open body { overflow: hidden; }
body.nav-locked { overflow: hidden; }

.scoreboard {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 28px;
  align-items: stretch;
  padding: 36px 0 28px;
}
.score-copy { min-width: 0; }
.kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 10px;
}
h1, .h1 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin: 0 0 12px;
}
.lede {
  font-size: 18px;
  max-width: 38ch;
  margin: 0 0 18px;
  color: var(--text);
}
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.score-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  min-width: 0;
}
.score-panel img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
}
.meter-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.meter {
  background: var(--surface-2);
  border: 1px solid var(--soft-border);
  border-radius: 8px;
  padding: 10px;
  min-width: 0;
}
.meter b { display: block; font-size: 20px; letter-spacing: -0.03em; }
.meter span { display: block; color: var(--muted); font-size: 12px; font-weight: 600; }

.filter-desk { display: grid; gap: 16px; }
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-chips button {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius-chip);
  min-height: 40px;
  padding: 0 14px;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}
.filter-chips button.is-on {
  background: var(--primary);
  color: #F6F8FC;
  border-color: var(--primary);
}
.format-sheet {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  min-width: 0;
}
.format-sheet img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.split-axis {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 24px;
  min-width: 0;
}
.axis-rail {
  border-left: 2px solid var(--primary);
  padding-left: 16px;
}
.axis-step { margin: 0 0 18px; }
.axis-step strong { display: block; }
.axis-copy {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  min-width: 0;
}

.frame-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.frame-still {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 0;
}
.frame-still img { aspect-ratio: 16 / 10; object-fit: cover; }
.frame-cap { padding: 14px 16px 16px; }
.frame-cap p { margin: 8px 0 0; color: var(--muted); }

.instrument {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.instrument-pane {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  min-width: 0;
}
.instrument-pane h2, .instrument-pane h3 { margin-top: 0; }

.ledger,
.data-table-wrap { overflow-x: auto; }
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
}
.data-table th,
.data-table td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.data-table th { background: var(--surface-2); font-size: 14px; }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--soft-border);
}
.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: #F6F8FC;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.skill-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.skill-can, .skill-cannot { padding: 22px; min-width: 0; }
.skill-can { background: #E8F4EE; }
.skill-cannot { background: #F7EEE6; }

.gate-poster {
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 28px;
}
.control-bench {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.bench-cell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  min-width: 0;
}
.action-rail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.feed-list { list-style: none; padding: 0; margin: 0; }
.feed-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--soft-border);
}
.feed-list time { display: block; color: var(--muted); font-size: 13px; font-weight: 600; }

.dest-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.dest-card,
.card,
.data-card,
.step-card,
.loose-card,
.hub-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  min-width: 0;
}
.dest-card a { text-decoration: none; color: inherit; }
.faq-grid { display: grid; gap: 10px; }
.faq details,
.q-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
}
.faq summary { cursor: pointer; font-weight: 700; }
.colophon {
  font-size: 15px;
  color: var(--muted);
}
.page-hero { padding: 28px 0 10px; }
.page-hero img,
.inline-image-row img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--soft-border);
}
.inline-image-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  margin: 24px 0;
}
.prose { max-width: 70ch; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.2; letter-spacing: -0.03em; }
.prose h3 { font-size: 22px; }
.figure-cap { color: var(--muted); font-size: 14px; margin: 8px 0 0; }
.site-footer {
  background: var(--ink);
  color: #D7DEE8;
  padding: 40px 0 28px;
}
.foot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.site-footer a { color: #E8EEF7; text-decoration: none; }
.site-footer ul { list-style: none; padding: 0; margin: 10px 0 0; }
.site-footer li { margin: 0 0 8px; }
.legal-note { margin-top: 22px; font-size: 13px; color: #A8B4C4; }
.mobile-sticky {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 240;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.mobile-sticky .btn {
  width: 100%;
  min-height: 48px;
  background: var(--primary);
  color: #F6F8FC;
}

@media (max-width: 899px) {
  .main-nav, .header-cta { display: none; }
  .hamburger { display: flex; }
  html.is-drawer-open .site-header { position: static; z-index: auto; }
  html.is-drawer-open .mobile-sticky { z-index: 60; }
  .scoreboard,
  .format-sheet,
  .split-axis,
  .frame-grid,
  .instrument,
  .skill-strip,
  .control-bench,
  .dest-rail,
  .foot-grid,
  .inline-image-row,
  .action-rail {
    grid-template-columns: minmax(0, 1fr);
    display: grid;
  }
  .scoreboard {
    padding: 28px 0 8px;
  }
  .meter-row { grid-template-columns: minmax(0, 1fr); }
  .score-panel .meter-row { display: none; }
  h1 { font-size: 32px; }
  .lede { font-size: 16px; }
  .mobile-sticky { display: block; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .action-rail { justify-items: start; }
}

@media (min-width: 900px) {
  .mobile-drawer { display: none; }
}

.card { border: 1px solid var(--border); padding: 26px; }
.data-card { border: 1px solid var(--border); padding: 20px; }
.step-card { border: 1px solid var(--border); padding: 20px; }
.loose-card { padding: 20px; border: 1px solid var(--border); }
