:root {
  color-scheme: dark;
  --canvas: #000000;
  --surface: #0a0a0a;
  --sheet: #1a1a1a;
  --line: #262626;
  --ink: #ffffff;
  --muted: #9a9a9a;
  --accent: #00ffff;
  --accent-pressed: #00cccc;
  --measure: 64ch;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  font-weight: 400;
  background: var(--canvas);
  color: var(--ink);
}

* { box-sizing: border-box; }
html { scroll-padding-bottom: 116px; }
body { margin: 0; font-size: 20px; line-height: 1.45; }
body[data-drawer-open] { overflow: hidden; }
::selection { color: var(--canvas); background: var(--ink); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 5px; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
}
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
svg { flex: 0 0 auto; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
h1, h2, h3, h4 { line-height: 1.12; font-weight: 700; }
h1 { font-size: clamp(38px, 4.45vw, 64px); letter-spacing: -1.3px; max-width: 19ch; text-wrap: balance; }
h2 { font-size: 29px; letter-spacing: -.55px; max-width: 28ch; text-wrap: balance; }
h3 { font-size: 24px; letter-spacing: -.35px; }
h4 { font-size: 20px; line-height: 1.25; font-weight: 600; }
p, li { max-width: var(--measure); }
p + p { margin-top: 16px; }
ul, ol { padding-left: 24px; }
li + li { margin-top: 12px; }
[hidden] { display: none !important; }
[data-role="skip-link"] {
  position: absolute;
  top: -100px;
  left: 16px;
  min-height: 48px;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--canvas);
  z-index: 30;
}
[data-role="skip-link"]:focus { top: 12px; }
[data-role="masthead"] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1168px;
  margin: 0 auto;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
[data-role="masthead"] a { min-height: 48px; display: inline-flex; align-items: center; text-decoration: none; font-weight: 700; letter-spacing: -.5px; }
[data-role="edition"] { font-size: 16px; color: var(--muted); }
[data-role="quality-badge"] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 5px 8px;
  color: var(--accent);
  font-size: 13.333px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.3;
  text-transform: uppercase;
}
[data-role="quality-badge"]::before { content: ""; width: 6px; height: 6px; background: currentColor; }
main { max-width: 1120px; padding: 0 0 56px; margin: 0 auto; }
[data-role="hero"] { display: grid; grid-template-columns: minmax(0, 1fr) 288px; gap: 56px; align-items: center; padding: 56px 0 48px; }
[data-role="hero"] > div { min-width: 0; }
[data-role="eyebrow"] { color: var(--muted); font-size: 16px; margin-bottom: 20px; }
[data-role="hero"] h1 + p { margin-top: 24px; max-width: 52ch; }
[data-role="hero"] [data-role="hero-art"] { margin: 0; }
[data-role="art"] { position: relative; aspect-ratio: 1; background: var(--surface); overflow: hidden; }
[data-role="art"] img { display: block; width: 100%; height: 100%; object-fit: cover; font-size: 16px; line-height: 1.45; color: var(--muted); }
[data-role="hero-art"] figcaption { font-size: 16px; color: var(--muted); margin-top: 12px; max-width: 29ch; }
[data-role="hero-art"] [data-role="quality-badge"] { margin-top: 16px; }
[data-role="actions"] { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
[data-role="primary-link"], [data-role="text-link"], [data-role="source-trigger"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}
[data-role="primary-link"] { padding: 12px 24px; background: var(--ink); color: var(--canvas); border-radius: 999px; }
[data-role="primary-link"]:hover { background: #dedede; }
[data-role="text-link"] { border-bottom: 1px solid var(--line); padding: 10px 0; }
[data-role="source-trigger"] { border: 1px solid var(--line); border-radius: 999px; background: var(--surface); padding: 10px 16px; }
[data-role="source-trigger"] svg { color: var(--accent); }
[data-role="source-trigger"]:active svg { color: var(--accent-pressed); }
[data-role="section"] { margin-top: 48px; }
[data-role="section-head"] { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
[data-role="section"] > p { margin-top: 20px; }
[data-role="comparison"] { background: var(--surface); border: 1px solid var(--line); }
[data-role="comparison-row"] { display: grid; grid-template-columns: 190px minmax(0, 1fr); border-bottom: 1px solid var(--line); }
[data-role="comparison-row"]:last-child { border-bottom: 0; }
[data-role="criterion"] { font-size: 16px; font-weight: 600; color: var(--muted); padding: 24px; letter-spacing: 0; line-height: 1.45; }
[data-role="options"] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
[data-role="option"] { min-width: 0; padding: 24px; border-left: 1px solid var(--line); }
[data-role="option"] h4 { margin-bottom: 12px; }
[data-role="option"] p { font-size: 18px; }
[data-role="caption"] { font-size: 16px; color: var(--muted); margin-top: 16px; }
[data-role="note"] { border-left: 2px solid var(--ink); padding: 4px 0 4px 20px; max-width: var(--measure); margin-top: 24px; }
[data-role="question-list"] { list-style: none; padding: 0; margin-top: 24px; }
[data-role="question-list"] li { max-width: none; border-top: 1px solid var(--line); padding: 20px 0; margin: 0; }
[data-role="question-list"] li:last-child { border-bottom: 1px solid var(--line); }
[data-role="question-list"] h3 { font-size: 21px; margin-bottom: 10px; font-weight: 600; }
[data-role="question-list"] p { font-size: 18px; }
[data-role="collection"] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
[data-role="collection-card"] { min-width: 0; text-decoration: none; display: block; background: var(--surface); }
[data-role="collection-card"] > div:last-child { padding: 20px; }
[data-role="collection-card"] h3 { font-size: 25px; }
[data-role="collection-card"] p { color: var(--muted); font-size: 18px; margin-top: 12px; }
[data-role="collection-card"] [data-role="card-link"] { display: inline-flex; gap: 12px; align-items: center; min-height: 44px; font-size: 16px; font-weight: 600; margin-top: 12px; }
[data-role="collection-card"]:hover, [data-role="shelf-card"]:hover { background: var(--sheet); }
[data-role="shelf"] { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 4px 2px 16px; }
[data-role="shelf-card"] { display: flex; min-width: 0; flex-direction: column; gap: 12px; padding: 24px; background: var(--surface); text-decoration: none; }
[data-role="shelf-card"] span { color: var(--muted); font-size: 16px; }
[data-role="shelf-card"] h3 { font-size: 22px; max-width: 16ch; }
[data-role="shelf-card"] p { font-size: 18px; color: var(--muted); }
[data-role="briefing-index"] { margin-top: 24px; }
[data-role="index-item"] { display: grid; grid-template-columns: 170px minmax(0, 1fr) 32px; align-items: center; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); text-decoration: none; }
[data-role="index-item"]:last-child { border-bottom: 1px solid var(--line); }
[data-role="index-item"] span { font-size: 16px; color: var(--muted); }
[data-role="index-item"] h3 { font-size: 22px; font-weight: 600; }
[data-role="index-item"] p { margin-top: 8px; font-size: 18px; color: var(--muted); }
[data-role="index-item"]:hover h3 { text-decoration: underline; text-underline-offset: 5px; }
[data-role="steps"] { list-style: none; padding: 0; margin-top: 24px; }
[data-role="step"] { padding: 24px 0; border-top: 1px solid var(--line); max-width: none; }
[data-role="step"] h3 { font-size: 23px; margin-bottom: 12px; }
[data-role="step"] p { font-size: 18px; }
[data-role="evidence-drawer"] { margin-top: 48px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
[data-role="evidence-drawer"] summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none; font-size: 18px; font-weight: 600; cursor: pointer; min-height: 64px; padding: 18px 0; }
[data-role="evidence-drawer"] summary::-webkit-details-marker { display: none; }
[data-role="evidence-drawer"] summary svg { color: var(--accent); }
[data-role="evidence-content"] { padding: 8px 0 24px; }
[data-role="evidence-content"] > p { font-size: 18px; color: var(--muted); }
[data-role="source-list"] { list-style: none; padding: 0; margin-top: 20px; }
[data-role="source-list"] li { border-top: 1px solid var(--line); padding: 20px 0; max-width: none; margin: 0; }
[data-role="source-list"] li p { font-size: 18px; }
[data-role="source-list"] [data-role="source-publisher"] { font-size: 16px; color: var(--muted); margin-bottom: 8px; }
[data-role="source-list"] a { display: inline-flex; align-items: center; min-height: 48px; font-size: 16px; gap: 8px; }
[data-role="next-briefing"] { margin-top: 40px; padding: 24px; border: 1px solid var(--line); text-decoration: none; display: grid; grid-template-columns: minmax(0, 1fr) 32px; gap: 12px; align-items: center; }
[data-role="next-briefing"] span { font-size: 16px; color: var(--muted); display: block; margin-bottom: 8px; }
[data-role="next-briefing"] strong { font-size: 24px; line-height: 1.2; }
[data-role="next-briefing"]:hover { background: var(--surface); }
[data-role="footer"] { max-width: 1120px; margin: 0 auto; padding: 32px 0 140px; border-top: 1px solid var(--line); }
[data-role="footer"] p { font-size: 16px; color: var(--muted); max-width: 66ch; }
[data-role="footer-links"] { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 16px; }
[data-role="footer-links"] a { min-height: 48px; display: inline-flex; align-items: center; font-size: 16px; }
[data-role="dock"] { position: fixed; bottom: 0; left: 0; right: 0; z-index: 10; background: var(--surface); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
[data-role="dock"] > div { max-width: 720px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0 auto; }
[data-role="dock"] a { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 6px; font-size: 16px; line-height: 1.3; min-height: 80px; padding: 12px 4px; text-decoration: none; color: var(--muted); }
[data-role="dock"] a[aria-current] { color: var(--ink); background: var(--sheet); }
[data-role="dock"] a:hover { color: var(--ink); }
[data-role="dock"] svg { width: 22px; height: 22px; }
[data-role="evidence-sheet"] { position: fixed; inset: 0 0 0 auto; margin: 0; border: 1px solid var(--line); border-radius: 14px 0 0 14px; width: min(560px, 100%); height: 100%; max-height: 100dvh; max-width: 100%; overflow-y: auto; overscroll-behavior: contain; padding: 28px; color: var(--ink); background: var(--sheet); box-shadow: -16px 0 48px #0008; }
[data-role="evidence-sheet"]::backdrop { background: #0009; }
[data-role="sheet-header"] { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
[data-role="sheet-header"] h2 { font-size: 26px; max-width: 16ch; }
[data-action="close-evidence"] { font-size: 16px; min-height: 48px; min-width: 76px; padding: 8px 16px; border: 1px solid #5c5c5c; border-radius: 999px; background: transparent; }

@media (max-width: 1180px) {
  main, [data-role="footer"] { margin-left: 24px; margin-right: 24px; }
  [data-role="hero"] { gap: 32px; }
  [data-role="shelf"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  body { font-size: 19px; }
  main, [data-role="footer"] { margin-left: 16px; margin-right: 16px; }
  [data-role="masthead"] { padding: 12px 16px; }
  [data-role="masthead"] a { font-size: 20px; }
  [data-role="edition"] { max-width: 9ch; line-height: 1.3; text-align: right; }
  [data-role="hero"] { display: block; padding: 36px 0 8px; }
  h1 { font-size: 38px; letter-spacing: -.8px; }
  h2 { font-size: 28px; }
  [data-role="hero"] [data-role="hero-art"] { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 16px; margin-top: 32px; }
  [data-role="hero-art"] figcaption { margin-top: 0; max-width: none; }
  [data-role="hero-art"] [data-role="quality-badge"] { grid-column: 2; margin-top: -8px; justify-self: start; }
  [data-role="section"] { margin-top: 36px; }
  [data-role="section-head"] { gap: 16px; }
  [data-role="comparison-row"] { display: block; }
  [data-role="criterion"] { padding: 16px 16px 0; font-size: 16px; }
  [data-role="option"] { border: 0; padding: 16px; }
  [data-role="option"] + [data-role="option"] { border-left: 1px solid var(--line); }
  [data-role="option"] p { font-size: 16px; }
  [data-role="option"] h4 { font-size: 18px; }
  [data-role="collection-card"] > div:last-child { padding: 16px 12px; }
  [data-role="collection-card"] h3 { font-size: 22px; }
  [data-role="collection-card"] p { font-size: 16px; }
  [data-role="collection-card"] [data-role="card-link"] { margin-top: 8px; }
  [data-role="shelf"] { grid-template-columns: 1fr; }
  [data-role="shelf-card"] { padding: 20px; }
  [data-role="index-item"] { grid-template-columns: minmax(0, 1fr) 24px; gap: 8px 16px; padding: 20px 0; }
  [data-role="index-item"] > span { grid-column: 1; }
  [data-role="index-item"] > div { grid-column: 1; }
  [data-role="index-item"] > svg { grid-column: 2; grid-row: 1 / 3; }
  [data-role="dock"] a { min-height: 80px; font-size: 16px; }
  [data-role="next-briefing"] { padding: 20px; }
  [data-role="next-briefing"] strong { font-size: 22px; }
  [data-role="evidence-sheet"] { inset: auto 0 0; width: 100%; height: auto; max-height: 88dvh; border-radius: 14px 14px 0 0; padding: 24px 20px max(24px, env(safe-area-inset-bottom)); box-shadow: 0 -16px 48px #0008; }
}

@media (max-width: 359px) {
  [data-role="options"] { grid-template-columns: 1fr; }
  [data-role="option"] + [data-role="option"] { border-left: 0; border-top: 1px solid var(--line); }
  [data-role="dock"] a { font-size: 16px; }
  [data-role="collection"] { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: no-preference) {
  a, button { transition: background-color 120ms ease, color 120ms ease; }
}

@media print {
  body { color: #000; background: #fff; font-size: 16px; }
  [data-role="dock"], [data-role="source-trigger"], [data-role="hero-art"], [data-role="evidence-sheet"], [data-role="skip-link"] { display: none; }
  [data-role="footer"] { padding-bottom: 24px; }
  [data-role="comparison"], [data-role="collection-card"] { background: transparent; }
  [data-role="muted"], [data-role="caption"], [data-role="criterion"], [data-role="eyebrow"] { color: #333; }
  a { color: #000; }
}
