/* DFS Benchmark — site styles. Light, warm paper; one serif for display, one sans for text. */
/* Self-hosted open-source fonts (SIL Open Font License; see /assets/fonts/). */
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(/assets/fonts/newsreader-latin-opsz-normal.woff2) format('woff2-variations'), url(/assets/fonts/newsreader-latin-opsz-normal.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; }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(/assets/fonts/newsreader-latin-ext-opsz-normal.woff2) format('woff2-variations'), url(/assets/fonts/newsreader-latin-ext-opsz-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 200 800; font-display: swap;
  src: url(/assets/fonts/newsreader-latin-opsz-italic.woff2) format('woff2-variations'), url(/assets/fonts/newsreader-latin-opsz-italic.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; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/assets/fonts/instrument-sans-latin-wght-normal.woff2) format('woff2-variations'), url(/assets/fonts/instrument-sans-latin-wght-normal.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; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/assets/fonts/instrument-sans-latin-ext-wght-normal.woff2) format('woff2-variations'), url(/assets/fonts/instrument-sans-latin-ext-wght-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: light;
  --bg: #F5F3EC;
  --paper: #FFFFFF;
  --ink: #1A1917;
  --ink-2: #4F4C45;
  --muted: #6B675F;
  --rule: #D8D4C8;
  --grid: #E2DED3;
  --axis: #C9C4B7;
  --footer: #ECE9E0;
  --brand: #33414E;
  --brand-ink: #FFFFFF;
  --highlight: #DCE2E7;
  --dark: #1A1917;
  --dark-ink: #F5F3EC;
  --dark-ink-2: #C9C4B7;
  --dark-rule: #6B675F;
  /* Series colors follow the source, never its rank. Validated on --bg (adjacent pairs). */
  --s1: #2a78d6;
  --s2: #eb6834;
  --s3: #1baf7a;
  --s4: #4a3aa7;
  --s5: #e87ba4;
  --s6: #008300;
  --s0: #6B675F;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --pad: 80px;
  --maxw: 1440px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--ink); text-underline-offset: 4px; }
a:hover { color: var(--brand); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; }
strong { font-weight: 600; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 10; padding: 10px 16px; background: var(--ink); color: var(--dark-ink); border-radius: 8px; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- header ---------- */
.site-header { position: relative; z-index: 5; }
.site-header .wrap { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo svg { width: 30px; height: 30px; flex: none; }
.logo .word { font-family: var(--serif); font-size: 27px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; }
.logo .mark-bg { fill: var(--brand); }
.logo .bar { fill: none; stroke: var(--dark-ink); stroke-width: 2.4px; stroke-linecap: round; }
.logo .bar1 { stroke-dasharray: 14 40; animation: sbGrow1 700ms cubic-bezier(.2,.7,.2,1) 150ms both; }
.logo .bar2 { stroke-dasharray: 11 40; animation: sbGrow2 700ms cubic-bezier(.2,.7,.2,1) 300ms both; }
.logo .bar3 { stroke-dasharray: 7 40; animation: sbGrow3 700ms cubic-bezier(.2,.7,.2,1) 450ms both; }
.logo:hover .bar1, .logo:focus-visible .bar1 { animation: sbSwap1 1.1s ease-in-out; }
.logo:hover .bar2, .logo:focus-visible .bar2 { animation: sbSwap2 1.1s ease-in-out; }
.logo:hover .bar3, .logo:focus-visible .bar3 { animation: sbSwap3 1.1s ease-in-out; }
@keyframes sbGrow1 { from { stroke-dasharray: 0 40; } to { stroke-dasharray: 14 40; } }
@keyframes sbGrow2 { from { stroke-dasharray: 0 40; } to { stroke-dasharray: 11 40; } }
@keyframes sbGrow3 { from { stroke-dasharray: 0 40; } to { stroke-dasharray: 7 40; } }
@keyframes sbSwap1 { 0%, 100% { stroke-dasharray: 14 40; } 40%, 60% { stroke-dasharray: 7 40; } }
@keyframes sbSwap2 { 0%, 100% { stroke-dasharray: 11 40; } 40%, 60% { stroke-dasharray: 14 40; } }
@keyframes sbSwap3 { 0%, 100% { stroke-dasharray: 7 40; } 40%, 60% { stroke-dasharray: 11 40; } }

.nav-right { display: flex; align-items: center; gap: 40px; }
.main-nav { display: flex; align-items: center; gap: 32px; font-size: 15px; }
.main-nav a { text-decoration: none; }
.main-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.btn, .btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 28px; border-radius: 999px;
  font: inherit; font-size: 16px; font-weight: 500; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn { background: var(--brand); color: var(--brand-ink); border: none; }
.btn:hover { color: var(--brand-ink); background: #26313b; }
.btn-outline { height: 44px; padding: 0 20px; border: 1px solid var(--ink); color: var(--ink); background: transparent; font-size: 15px; }
.btn-outline:hover { background: var(--ink); color: var(--dark-ink); }
.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ink);
  background: transparent; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; padding: 0;
}
.menu-btn svg { width: 20px; height: 20px; }
.mobile-nav { display: none; }

/* ---------- shared bits ---------- */
.section { padding: 96px 0; border-bottom: 1px solid var(--rule); }
.section.flush { border-bottom: 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; margin-bottom: 40px; }
.section-head .text { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
h2.h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.05; letter-spacing: -0.015em; }
.lede { font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.eyebrow { font-size: 15px; color: var(--ink-2); }
.small { font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.link-arrow { font-size: 16px; font-weight: 500; white-space: nowrap; }
.chip {
  display: inline-flex; align-items: center; height: 26px; padding: 0 11px;
  border: 1px solid var(--muted); border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap;
}
.chip.solid { background: var(--ink); border-color: var(--ink); color: var(--dark-ink); }
.chip.brand { border-color: var(--brand); color: var(--brand); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot.line { width: 16px; height: 2px; border-radius: 0; }
.who { display: inline-flex; align-items: center; gap: 8px; }
.c1 { background: var(--s1); } .c2 { background: var(--s2); } .c3 { background: var(--s3); }
.c4 { background: var(--s4); } .c5 { background: var(--s5); } .c6 { background: var(--s6); } .c0 { background: var(--s0); }

/* ---------- hero ---------- */
.hero { padding: 112px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: end; }
.hero-copy { grid-column: span 7; display: flex; flex-direction: column; gap: 36px; }
.hero h1 { font-size: clamp(44px, 5.9vw, 84px); line-height: 1.02; letter-spacing: -0.028em; }
.hero h1 span { display: block; text-wrap: balance; }
.hero h1 em { display: block; font-style: italic; }
.hero .lede { max-width: 600px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.report-card { grid-column: 9 / span 4; display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--ink); }
.report-card:hover { color: var(--ink); }
.report-card:hover .rc-title { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.report-meta { margin-top: 4px; display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); flex-wrap: wrap; }
.report-meta b { color: var(--ink); font-weight: 600; }
.rc-title { font-size: 30px; line-height: 1.15; text-wrap: balance; }
.rc-dek { font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.rc-more { font-size: 16px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }

/* Report cover: the logo's three bars, swapping places. Decoration, not data. */
.cover {
  position: relative; aspect-ratio: 16 / 10; border-radius: 14px; background: var(--brand); color: var(--dark-ink);
  padding: 22px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
}
.cover-top { display: flex; justify-content: space-between; font-size: 13px; color: #D7DCE1; }
.cover-top b { color: #FFFFFF; font-weight: 600; }
.cover-bars { display: flex; flex-direction: column; gap: 14px; }
.cover-bars span { display: block; height: 16px; border-radius: 0 6px 6px 0; background: #F5F3EC; transform-origin: left center; }
.cover-bars .b1 { width: 82%; animation: cvSwap1 6s cubic-bezier(.45,0,.2,1) 0.4s infinite; }
.cover-bars .b2 { width: 82%; animation: cvSwap2 6s cubic-bezier(.45,0,.2,1) 0.4s infinite; }
.cover-bars .b3 { width: 82%; animation: cvSwap3 6s cubic-bezier(.45,0,.2,1) 0.4s infinite; }
.cover-bars .b1 { transform: scaleX(1); }
.cover-bars .b2 { transform: scaleX(.74); }
.cover-bars .b3 { transform: scaleX(.46); }
@keyframes cvSwap1 { 0%, 30% { transform: scaleX(1); } 45%, 80% { transform: scaleX(.46); } 95%, 100% { transform: scaleX(1); } }
@keyframes cvSwap2 { 0%, 30% { transform: scaleX(.74); } 45%, 80% { transform: scaleX(1); } 95%, 100% { transform: scaleX(.74); } }
@keyframes cvSwap3 { 0%, 30% { transform: scaleX(.46); } 45%, 80% { transform: scaleX(.74); } 95%, 100% { transform: scaleX(.46); } }
.cover-foot { font-family: var(--serif); font-size: 24px; line-height: 1.1; }
.cover-foot i { color: #D7DCE1; }

/* ---------- steps / grids ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding-bottom: 112px; border-bottom: 1px solid var(--rule); }
.step { padding-top: 24px; border-top: 1px solid var(--ink); display: flex; flex-direction: column; gap: 10px; }
.step .n { font-size: 14px; color: var(--ink-2); }
.step .t { font-family: var(--serif); font-size: 30px; line-height: 1.15; }
.step .d { font-size: 16px; line-height: 1.5; color: var(--ink-2); }

.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.tl { padding-top: 20px; border-top: 1px solid var(--ink); display: flex; flex-direction: column; gap: 8px; }
.tl .when { font-family: var(--serif); font-size: 26px; line-height: 1.15; }
.tl .what { font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.tl.now { border-top: 3px solid var(--brand); padding-top: 18px; }

.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.principle { padding-top: 20px; border-top: 1px solid var(--ink); display: flex; flex-direction: column; gap: 10px; }
.principle .n { font-family: var(--serif); font-size: 22px; }
.principle .t { font-size: 18px; font-weight: 600; }
.principle .d { font-size: 16px; line-height: 1.5; color: var(--ink-2); }

/* Who's tested */
.groups { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; }
.group { border-top: 1px solid var(--ink); padding-top: 20px; display: flex; flex-direction: column; gap: 16px; }
.group.tools { grid-column: span 5; }
.group.other { grid-column: span 2; }
.group.house { grid-column: span 3; }
.group h3 { font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--ink-2); letter-spacing: 0.02em; }
.group ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.group li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 17px; font-weight: 600; }
.group li:last-child { border-bottom: 0; }
.group .note { font-size: 14px; line-height: 1.55; color: var(--ink-2); }

/* Benchmarks table (definitions) */
.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.defs { width: 100%; border-collapse: collapse; font-size: 16px; }
.defs th, .defs td { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.defs thead th { font-size: 13px; font-weight: 500; color: var(--ink-2); border-bottom: 1px solid var(--ink); }
.defs td.n { width: 40px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.defs td.b { font-weight: 600; white-space: nowrap; }
.defs td.better { white-space: nowrap; color: var(--ink-2); }

/* ---------- dark band ---------- */
.band-dark { background: var(--dark); color: var(--dark-ink); padding: 104px 0; }
.band-dark a { color: var(--dark-ink); }
.band-dark .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; row-gap: 40px; }
.band-dark .copy { grid-column: span 6; display: flex; flex-direction: column; gap: 20px; }
.band-dark .eyebrow { color: var(--dark-ink-2); }
.band-dark h2 { font-size: clamp(36px, 4vw, 56px); line-height: 1.05; letter-spacing: -0.015em; }
.band-dark .lede { color: var(--dark-ink-2); font-size: 18px; }
.band-dark .list { grid-column: 8 / span 5; display: flex; flex-direction: column; }
.band-dark .item { padding: 24px 0; border-top: 1px solid var(--dark-rule); display: flex; flex-direction: column; gap: 8px; }
.band-dark .item:last-child { border-bottom: 1px solid var(--dark-rule); }
.band-dark .item b { font-size: 18px; font-weight: 600; }
.band-dark .item span { font-size: 16px; line-height: 1.5; color: var(--dark-ink-2); }

/* ---------- awards ---------- */
.awards .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; row-gap: 40px; }
.awards .copy { grid-column: span 7; display: flex; flex-direction: column; gap: 20px; }
.award-list { margin: 12px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; max-width: 640px; }
.award-list li { padding: 14px 0; border-top: 1px solid var(--ink); font-size: 16px; font-weight: 500; }
.award-list li:nth-last-child(-n+2) { border-bottom: 1px solid var(--ink); }
.award-list li .holder { display: block; margin-top: 2px; font-size: 14px; font-weight: 400; color: var(--ink-2); }
.badge-wrap { grid-column: 9 / span 4; display: flex; justify-content: flex-end; align-items: flex-start; }
.badge { width: 360px; max-width: 100%; padding: 6px; border: 2px solid var(--ink); background: var(--bg); }
.badge-in { padding: 40px 32px 36px; border: 1px solid var(--ink); display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.badge-brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 19px; font-weight: 500; }
.badge-brand svg { width: 22px; height: 22px; }
.badge-rule { width: 48px; height: 1px; background: var(--ink); }
.badge-n { font-family: var(--serif); font-size: 104px; line-height: .95; }
.badge-row { font-family: var(--serif); font-size: 28px; line-height: 1.15; }
.badge-season { font-size: 15px; color: var(--ink-2); }
.badge-who { font-size: 17px; font-weight: 600; }

/* ---------- weekly ---------- */
.weekly { padding: 96px 0; }
.weekly-box { padding: 56px; border: 1px solid var(--ink); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; row-gap: 28px; align-items: end; }
.weekly-box .copy { grid-column: span 6; display: flex; flex-direction: column; gap: 16px; }
.weekly-box h2 { font-size: clamp(32px, 3.2vw, 44px); line-height: 1.08; letter-spacing: -0.01em; }
.weekly-box form { grid-column: 8 / span 5; display: flex; flex-direction: column; gap: 10px; }
.field-label { font-size: 14px; font-weight: 500; }
.field-row { display: flex; gap: 12px; }
.input, .textarea {
  flex-grow: 1; min-width: 0; height: 52px; padding: 0 16px; border: 1px solid var(--ink); border-radius: 8px;
  background: var(--paper); color: var(--ink); font: inherit; font-size: 16px;
}
.textarea { height: auto; min-height: 140px; padding: 14px 16px; resize: vertical; width: 100%; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13px; color: var(--ink-2); }

/* ---------- footer ---------- */
.site-footer { background: var(--footer); padding: 72px 0 56px; }
.site-footer .wrap { display: flex; flex-direction: column; gap: 48px; }
.foot-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.foot-brand { display: flex; flex-direction: column; gap: 12px; }
.foot-brand .logo .word { font-size: 24px; }
.foot-brand .logo svg { width: 28px; height: 28px; }
.foot-brand .logo .bar1, .foot-brand .logo .bar2, .foot-brand .logo .bar3 { animation: none; }
.foot-cols { display: flex; gap: 96px; }
.foot-cols nav { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.foot-cols nav b { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.foot-cols a { text-decoration: none; }
.foot-cols a:hover { text-decoration: underline; }
.disclosure { max-width: 820px; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.disclosure strong { color: var(--ink); }
.foot-legal { padding-top: 20px; border-top: 1px solid var(--axis); font-size: 13px; color: var(--ink-2); display: flex; gap: 8px 20px; flex-wrap: wrap; }
.foot-legal a { color: var(--ink-2); }

/* ---------- inner pages ---------- */
.page-head { padding: 72px 0 56px; border-bottom: 1px solid var(--rule); }
.page-head .wrap { display: flex; flex-direction: column; gap: 18px; }
.page-head h1 { font-size: clamp(42px, 5vw, 68px); line-height: 1.04; letter-spacing: -0.022em; }
.page-head .lede { max-width: 720px; font-size: 19px; }
.page-head .chips { display: flex; gap: 10px; flex-wrap: wrap; }
.notice {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; row-gap: 24px;
  padding: 40px; border: 1px solid var(--ink); background: var(--paper); border-radius: 2px;
}
.notice .copy { grid-column: span 7; display: flex; flex-direction: column; gap: 12px; }
.notice h2 { font-size: clamp(28px, 3vw, 36px); line-height: 1.1; }
.notice .side { grid-column: 9 / span 4; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.kv { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.kv:last-child { border-bottom: 0; }
.kv span:first-child { color: var(--ink-2); }
.kv span:last-child { font-weight: 600; text-align: right; }

/* Long-form text (rulebook, reports, about, privacy) */
.prose-layout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; padding: 64px 0 96px; }
.toc { grid-column: span 3; position: sticky; top: 24px; align-self: start; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.toc b { font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 4px; }
.toc a { text-decoration: none; color: var(--ink-2); }
.toc a:hover { color: var(--ink); text-decoration: underline; }
.prose { grid-column: 5 / span 7; font-size: 17px; line-height: 1.65; }
.prose.wide { grid-column: span 12; max-width: 860px; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: clamp(28px, 2.6vw, 36px); line-height: 1.15; letter-spacing: -0.01em; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--ink); scroll-margin-top: 24px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 24px; line-height: 1.2; margin-top: 36px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--muted); }
.prose .formula { padding: 22px 24px; background: var(--paper); border: 1px solid var(--rule); font-family: var(--serif); font-size: 22px; text-align: center; }
.prose .formula span { font-style: italic; }
.prose .flow { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; counter-reset: flow; }
.prose .flow li { margin: 0; counter-increment: flow; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--ink); border-radius: 999px; font-size: 15px; background: var(--paper); }
.prose .flow li::before { content: counter(flow); font-size: 12px; font-weight: 600; color: var(--ink-2); }
.prose table.rules { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.prose table.rules th, .prose table.rules td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--rule); }
.prose table.rules thead th { font-size: 13px; font-weight: 500; color: var(--ink-2); border-bottom: 1px solid var(--ink); }
.prose pre { margin: 0; padding: 20px 22px; background: var(--paper); border: 1px solid var(--rule); overflow-x: auto; font-size: 14px; line-height: 1.55; white-space: pre-wrap; word-break: break-word; }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.92em; }
.prose .byline { font-size: 15px; color: var(--ink-2); }
.callout { padding: 20px 22px; border-left: 3px solid var(--brand); background: var(--paper); font-size: 16px; }

/* ---------- data tables ---------- */
.lb { width: 100%; min-width: 860px; border-collapse: collapse; table-layout: fixed; font-variant-numeric: tabular-nums; }
.lb th, .lb td { padding: 18px 20px; border: 1px solid var(--ink); text-align: left; vertical-align: top; }
.lb thead th { font-size: 16px; font-weight: 600; }
.lb thead th .sub { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: var(--ink-2); }
.lb thead th.corner { font-size: 14px; font-weight: 500; color: var(--ink-2); width: 280px; }
.lb tbody th { font-weight: 400; width: 280px; }
.lb tbody th .t { display: block; font-size: 16px; font-weight: 600; }
.lb tbody th .d { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-2); }
.lb td .v { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 19px; font-weight: 500; }
.lb td .r { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.lb td.lead { background: var(--highlight); }
.lb td.lead .v { font-weight: 700; }
.lb td.lead .r { color: var(--ink-2); }
.lb td.ref .v { color: var(--ink-2); }
.lb .chip { height: 20px; padding: 0 7px; font-size: 10px; }
.lb .house { display: inline-block; margin-left: 6px; }

.datatable { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 15px; }
.datatable th, .datatable td { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--rule); text-align: right; white-space: nowrap; }
.datatable th:first-child, .datatable td:first-child { text-align: left; }
.datatable thead th { font-size: 12.5px; font-weight: 500; color: var(--ink-2); border-bottom: 1px solid var(--ink); }
.datatable td.l, .datatable th.l { text-align: left; }
.datatable tfoot th, .datatable tfoot td { border-top: 1px solid var(--ink); border-bottom: 0; font-weight: 600; }
.datatable .muted { color: var(--muted); }
.datatable .sub { display: block; font-size: 12px; color: var(--muted); }

.two-col { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; row-gap: 40px; }
.two-col .main { grid-column: span 7; }
.two-col .aside { grid-column: 9 / span 4; display: flex; flex-direction: column; gap: 20px; }
.two-col h3 { font-size: 30px; line-height: 1.15; }

.hbar { display: grid; grid-template-columns: 130px minmax(0, 1fr); align-items: center; gap: 14px; }
.hbar .track { display: flex; align-items: center; gap: 10px; }
.hbar .fill { height: 14px; border-radius: 0 4px 4px 0; }
.hbar .val { font-size: 15px; font-weight: 500; white-space: nowrap; }
.hbars { display: flex; flex-direction: column; gap: 16px; }

/* charts */
.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart text { font-family: var(--sans); }
.chart .grid { stroke: var(--grid); stroke-width: 1px; }
.chart .axis { stroke: var(--axis); stroke-width: 1px; }
.chart .zero { stroke: var(--muted); stroke-width: 1.5px; }
.chart .tick { font-size: 13px; fill: var(--ink-2); }
.chart .lab { font-size: 14px; font-weight: 600; fill: var(--ink); }
.chart .lab tspan.v { font-weight: 400; fill: var(--ink-2); }
.chart .hit { fill: transparent; cursor: pointer; }
.chart .pt { stroke: var(--bg); stroke-width: 2px; }
.forms { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 32px; }
.form-card { display: flex; flex-direction: column; gap: 12px; padding-top: 16px; border-top: 1px solid var(--ink); }
.form-card .top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.form-card .name { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; }
.form-card .now { font-size: 20px; font-weight: 500; }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; font-size: 15px; margin-bottom: 18px; }

.tip {
  position: fixed; z-index: 20; pointer-events: none; padding: 8px 12px; border-radius: 8px;
  background: var(--ink); color: var(--dark-ink); font-size: 13px; line-height: 1.4; box-shadow: 0 6px 20px rgba(0,0,0,.18);
  opacity: 0; transition: opacity .12s;
}
.tip b { display: block; font-size: 15px; }
.tip.on { opacity: 1; }

.empty { padding: 56px; border: 1px dashed var(--muted); display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.empty h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; }

.list-rows { list-style: none; margin: 0; padding: 0; }
.list-rows li { display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; gap: 24px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.list-rows li:first-child { border-top: 1px solid var(--ink); }
.list-rows .date { font-size: 14px; color: var(--ink-2); }
.list-rows .title { font-family: var(--serif); font-size: 26px; line-height: 1.2; }
.list-rows a { text-decoration: none; }
.list-rows a:hover .title { text-decoration: underline; text-decoration-thickness: 1px; }

@media (prefers-reduced-motion: reduce) {
  .logo .bar1, .logo .bar2, .logo .bar3, .cover-bars span { animation: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  :root { --pad: 40px; }
  .main-nav { gap: 22px; }
  .nav-right { gap: 24px; }
  .hero-copy { grid-column: span 12; }
  .report-card { grid-column: span 12; max-width: 560px; margin-top: 56px; }
  .groups .group.tools { grid-column: span 12; }
  .groups .group.other, .groups .group.house { grid-column: span 4; }
  .toc { display: none; }
  .prose { grid-column: span 12; max-width: 760px; }
}
@media (max-width: 980px) {
  .main-nav, .nav-right .btn-outline { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-nav { position: absolute; left: 0; right: 0; top: 80px; background: var(--bg); border-bottom: 1px solid var(--rule); padding: 8px var(--pad) 24px; flex-direction: column; box-shadow: 0 12px 24px rgba(26,25,23,.06); }
  .mobile-nav.open { display: flex; }
  .mobile-nav a { padding: 14px 0; border-bottom: 1px solid var(--rule); text-decoration: none; font-size: 18px; }
  .mobile-nav a.btn { margin-top: 18px; border: 0; color: var(--brand-ink); }
  .band-dark .copy, .band-dark .list, .awards .copy, .badge-wrap, .weekly-box .copy, .weekly-box form,
  .notice .copy, .notice .side, .two-col .main, .two-col .aside { grid-column: span 12; }
  .badge-wrap { justify-content: flex-start; }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  :root { --pad: 20px; }
  /* 12-column grids: everything spans the full width here, so drop the column gaps
     (11 gaps x 32px would be wider than a phone screen). */
  .hero .wrap, .groups, .band-dark .wrap, .awards .wrap, .weekly-box, .notice, .two-col, .prose-layout { column-gap: 0; }
  .site-header .wrap { height: 80px; }
  .logo .word { font-size: 23px; }
  .logo svg { width: 26px; height: 26px; }
  .hero { padding: 48px 0 56px; }
  .hero-copy { gap: 26px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 20px; }
  .hero-actions .btn { width: 100%; }
  .hero-actions .link-arrow { align-self: flex-start; }
  .report-card { margin-top: 48px; }
  .rc-title { font-size: 26px; }
  .steps, .timeline, .principles { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .steps { padding-bottom: 64px; }
  .section { padding: 64px 0; }
  .groups .group.other, .groups .group.house { grid-column: span 12; }
  .band-dark { padding: 64px 0; }
  .weekly { padding: 56px 0; }
  .weekly-box { padding: 28px 22px; }
  .field-row { flex-direction: column; }
  .field-row .btn { width: 100%; }
  .award-list { grid-template-columns: minmax(0, 1fr); }
  .award-list li:nth-last-child(2) { border-bottom: 0; }
  .foot-cols { gap: 32px 48px; flex-wrap: wrap; }
  .page-head { padding: 48px 0 40px; }
  .notice { padding: 26px 22px; }
  .prose-layout { padding: 40px 0 64px; }
  .prose { font-size: 16.5px; }
  .empty { padding: 28px 22px; }
  .list-rows li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  /* Benchmark definitions: one card per row on phones. */
  .defs thead { display: none; }
  .defs, .defs tbody, .defs tr, .defs td { display: block; width: 100%; }
  .defs tr { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
  .defs td { border: 0; padding: 0; }
  .defs td.n { grid-row: span 4; padding-top: 2px; }
  .defs td.b { white-space: normal; font-size: 17px; }
  .defs td:nth-child(3) { margin-top: 4px; }
  .defs td:nth-child(4) { margin-top: 6px; font-size: 14px; color: var(--ink-2); }
  .defs td.better { margin-top: 6px; font-size: 14px; }
  .defs td.better::before { content: "Better: "; }
  .prose .table-wrap table.rules { min-width: 600px; }
  .hbar { grid-template-columns: 110px minmax(0, 1fr); }
}
