@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700&family=Newsreader:ital,opsz,wght@1,6..72,400&display=swap");

:root {
  color: #131313;
  background: #f1efe9;
  font-family: "Manrope", sans-serif;
  font-synthesis: none;
  --ink: #131313;
  --paper: #f1efe9;
  --acid: #d8ff52;
  --line: rgba(19, 19, 19, 0.17);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100vh; }
button, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

.site-header {
  min-height: 76px;
  padding: 0 4vw;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; letter-spacing: -0.03em; }
.brand-mark { width: 29px; height: 29px; display: grid; gap: 2px; grid-template-columns: repeat(3, 1fr); transform: rotate(-12deg); }
.brand-mark i { background: var(--ink); border-radius: 20px; }
.brand-mark i:nth-child(2) { transform: translateY(5px); }
.site-header nav { display: flex; align-items: center; gap: 28px; }
.site-header nav a { font-size: 13px; text-decoration: none; font-weight: 600; }
.github-link { border: 1px solid var(--ink); border-radius: 100px; padding: 9px 14px; }

.hero { padding: clamp(52px, 6vw, 86px) 4vw clamp(56px, 6vw, 82px); max-width: 1440px; margin: 0 auto; }
.eyebrow { font: 500 11px/1 "DM Mono", monospace; letter-spacing: 0.12em; text-transform: uppercase; display: flex; align-items: center; gap: 9px; }
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.hero h1 { font-size: clamp(58px, 8vw, 124px); line-height: 0.82; letter-spacing: -0.072em; margin: 27px 0 30px; max-width: 1020px; font-weight: 600; }
.hero h1 em { font-family: "Newsreader", serif; font-weight: 400; }
.hero > p { font-size: clamp(15px, 1.35vw, 19px); line-height: 1.55; max-width: 680px; margin: 0 0 28px; color: #4c4b47; }
.hero-actions { display: flex; gap: 11px; flex-wrap: wrap; }
.button { min-height: 50px; border-radius: 100px; padding: 0 22px; font-weight: 700; font-size: 13px; border: 1px solid var(--ink); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 16px; }
.button-primary { background: var(--ink); color: white; }
.button-quiet { background: transparent; }

.principles { min-height: 74px; padding: 15px 4vw; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 22px; }
.principles > span { color: #77736c; font: 500 9px "DM Mono", monospace; letter-spacing: .09em; text-transform: uppercase; }
.principles p { margin: 0; color: #66645f; font-size: 12px; }
.principles strong { color: var(--ink); }
.principles a { font-size: 11px; font-weight: 700; text-decoration: none; }
.principles a span { margin-left: 5px; }

.arena-section { padding: 72px 4vw 90px; background: #fbfaf6; }
.arena-mode-switch { width: min(480px, 100%); margin: 0 auto 46px; padding: 5px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 100px; background: var(--paper); }
.arena-mode-switch button { min-height: 44px; padding: 0 16px; border: 0; border-radius: 100px; color: #66645f; background: transparent; cursor: pointer; font-size: 12px; font-weight: 700; }
.arena-mode-switch button span { margin-right: 8px; color: #8a877f; font: 500 8px "DM Mono", monospace; }
.arena-mode-switch button.active { color: var(--ink); background: var(--acid); box-shadow: 0 1px 4px rgba(19,19,19,.1); }
.arena-mode-switch button.active span { color: #4d5b19; }
.arena-mode-switch button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; max-width: 1500px; margin: 0 auto 28px; gap: 24px; }
.section-heading h2 { font-size: clamp(40px, 5.2vw, 72px); letter-spacing: -0.065em; line-height: 0.95; margin: 18px 0 0; }
.section-heading > div:first-child > p { margin: 13px 0 0; color: #77736c; font-size: 12px; }
.mode-panel[hidden], .analysis-view[hidden], .viewer-controls[hidden] { display: none !important; }
.analysis-tabs { max-width: 1500px; margin: 0 auto 34px; padding-bottom: 10px; display: flex; gap: 7px; border-bottom: 1px solid var(--line); }
.analysis-tabs button { min-height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 100px; color: #66645f; background: transparent; cursor: pointer; font-size: 10px; font-weight: 700; }
.analysis-tabs button.active { color: white; background: var(--ink); border-color: var(--ink); }
.analysis-tabs button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.viewer-controls { display: flex; align-items: center; gap: 8px; }
.plan-cycle { min-height: 46px; padding: 4px 14px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--ink); border-radius: 100px; color: var(--ink); background: var(--acid); cursor: pointer; }
.plan-cycle span { font: 500 8px "DM Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.plan-cycle strong { min-width: 26px; font-size: 13px; }
.plan-cycle:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.viewport-control { border: 1px solid var(--line); border-radius: 100px; display: flex; padding: 4px; background: #f1efe9; }
.viewport-control button { border: 0; padding: 10px 16px; border-radius: 100px; background: transparent; cursor: pointer; font-size: 12px; font-weight: 600; }
.viewport-control button.active { color: white; background: var(--ink); }

.demo-notice { max-width: 1500px; margin: 0 auto 14px; padding: 13px 16px; background: #fff6cf; border: 1px solid #e5d17d; border-radius: 10px; font-size: 12px; display: flex; gap: 12px; flex-wrap: wrap; }
.demo-notice[hidden] { display: none; }
.selection-drawer { max-width: 1500px; margin: 0 auto; }
.selection-drawer > summary { display: none; }
.selection-console { max-width: 1500px; margin: 0 auto 14px; padding: 22px; display: grid; grid-template-columns: minmax(240px, 1fr) minmax(240px, 1fr) auto; align-items: center; gap: 32px; color: white; background: var(--ink); border-radius: 14px; }
.slider-control { min-width: 0; }
.slider-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 15px; }
.slider-heading label { font: 500 9px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .1em; color: #8e8e8a; }
.slider-heading output { font-size: 14px; font-weight: 700; }
.slider-control input[type="range"] { --slider-progress: 0%; display: block; width: 100%; height: 20px; margin: 0; appearance: none; background: transparent; cursor: pointer; }
.slider-control input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 100px; background: linear-gradient(90deg, var(--acid) 0 var(--slider-progress), #444 0 100%); }
.slider-control input[type="range"]::-webkit-slider-thumb { width: 20px; height: 20px; margin-top: -8px; appearance: none; border: 5px solid var(--acid); border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 1px #111; }
.slider-control input[type="range"]::-moz-range-track { height: 4px; border-radius: 100px; background: #444; }
.slider-control input[type="range"]::-moz-range-progress { height: 4px; border-radius: 100px; background: var(--acid); }
.slider-control input[type="range"]::-moz-range-thumb { width: 11px; height: 11px; border: 5px solid var(--acid); border-radius: 50%; background: var(--ink); }
.slider-control input[type="range"]:focus-visible { outline: 2px solid white; outline-offset: 6px; }
.slider-control input[type="range"]:disabled { opacity: .5; cursor: not-allowed; }
.slider-ticks { position: relative; height: 12px; margin: 4px 10px 0; color: #777; font: 500 8px "DM Mono", monospace; text-transform: uppercase; }
.slider-ticks span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; text-align: center; }
.share-button { min-height: 44px; padding: 0 16px; white-space: nowrap; border: 1px solid #4b4b4b; background: #292929; color: white; border-radius: 100px; cursor: pointer; font-size: 11px; font-weight: 700; }

.result-viewer { max-width: 1500px; margin: 0 auto; min-width: 0; border: 1px solid var(--line); background: var(--paper); border-radius: 16px; overflow: clip; }
.result-heading { min-height: 91px; display: flex; align-items: center; justify-content: space-between; padding: 17px 20px; border-bottom: 1px solid var(--line); }
.result-kicker { font: 500 10px "DM Mono", monospace; text-transform: uppercase; letter-spacing: 0.08em; color: #66645f; }
.result-heading h3 { margin: 6px 0 0; font-size: 22px; letter-spacing: -0.035em; }
.result-actions { display: flex; align-items: center; justify-content: flex-end; gap: 7px; flex-wrap: wrap; }
.result-action { min-height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 100px; color: var(--ink); background: white; cursor: pointer; font-size: 10px; font-weight: 700; }
.result-action.primary { color: white; background: var(--ink); border-color: var(--ink); }
.result-action:hover, .result-action:focus-visible { border-color: var(--ink); outline: 0; }
.result-action.primary:hover, .result-action.primary:focus-visible { color: var(--ink); background: var(--acid); }
.status-pill { padding: 7px 9px; border: 1px solid var(--line); border-radius: 100px; text-transform: uppercase; font: 500 9px "DM Mono", monospace; letter-spacing: 0.08em; }
.status-pill.real { background: var(--acid); border-color: #b3da2e; }
.status-pill.reference { background: #fff; border-color: #8d8981; }
.status-pill.failed { background: #ffd7d1; border-color: #ec978a; color: #7f2115; }
.current-build-bar { min-height: 72px; display: grid; grid-template-columns: minmax(230px, .9fr) minmax(0, 2.2fr); color: white; background: var(--ink); border-bottom: 1px solid #3a3a3a; }
.current-build-identity { min-width: 0; padding: 12px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--ink); background: var(--acid); }
.current-build-identity > div { min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 3px 10px; }
.current-build-identity span, .current-build-metrics dt { font: 500 8px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .08em; }
.current-build-identity span { grid-column: 1 / -1; opacity: .62; }
.current-build-identity strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; letter-spacing: -.025em; }
.current-build-identity small { color: #3f4918; font: 600 9px "DM Mono", monospace; white-space: nowrap; }
.current-build-toggle { display: none; min-height: 34px; padding: 0 10px; border: 1px solid rgba(19,19,19,.25); border-radius: 100px; color: var(--ink); background: rgba(255,255,255,.25); cursor: pointer; font-size: 9px; font-weight: 700; }
.current-build-toggle i { margin-left: 6px; font-size: 14px; font-style: normal; transition: transform .18s ease; }
.current-build-metrics { min-width: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.current-build-metrics div { min-width: 0; padding: 12px 14px; display: flex; flex-direction: column; justify-content: center; border-left: 1px solid #3a3a3a; }
.current-build-metrics dt { color: #83837f; }
.current-build-metrics dd { margin: 6px 0 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 750; }
.current-build-metrics small { margin-top: 2px; overflow: hidden; color: #92928e; font: 500 7px "DM Mono", monospace; text-overflow: ellipsis; white-space: nowrap; }
.preview-shell { height: min(76vh, 820px); min-height: 610px; padding: 12px; position: relative; overflow: auto; background-color: #d7d5cf; background-image: radial-gradient(#aaa79e 0.65px, transparent 0.65px); background-size: 10px 10px; display: flex; justify-content: center; align-items: flex-start; }
.preview-shell iframe { display: block; width: 100%; height: 100%; flex: 0 0 auto; border: 0; background: white; transition: width 250ms ease; box-shadow: 0 3px 24px rgba(19, 19, 19, 0.16); }
.result-viewer[data-viewport="tablet"] .preview-shell iframe { width: 768px; max-width: 100%; }
.result-viewer[data-viewport="mobile"] .preview-shell iframe { width: 390px; max-width: 100%; }
.run-detail-panel { border-top: 1px solid var(--line); padding: 0 20px; }
.run-detail-panel summary { min-height: 58px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 700; list-style: none; }
.run-detail-panel summary::-webkit-details-marker { display: none; }
.run-notes { margin: 0 0 18px; color: #5e5c57; font-size: 12px; line-height: 1.6; }
.run-facts { margin: 0 0 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.run-facts div { min-width: 0; padding: 10px; border-bottom: 1px solid var(--line); }
.run-facts div:nth-child(odd) { border-right: 1px solid var(--line); }
.run-facts div:nth-last-child(-n + 2) { border-bottom: 0; }
.run-facts dt { font: 500 8px "DM Mono", monospace; text-transform: uppercase; color: #77736c; letter-spacing: .06em; }
.run-facts dd { margin: 5px 0 0; font-size: 10px; font-weight: 600; overflow-wrap: anywhere; }
.run-links { display: flex; gap: 8px; margin: -5px 0 18px; }
.run-links:empty { display: none; }
.run-links a { border: 1px solid var(--line); border-radius: 100px; padding: 7px 10px; font-size: 10px; font-weight: 700; text-decoration: none; background: white; }

.value-section { max-width: 1500px; margin: 0 auto; }
.value-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.value-heading span { color: #77736c; font: 500 9px "DM Mono", monospace; letter-spacing: .09em; text-transform: uppercase; }
.value-heading h3 { margin: 7px 0 0; font-size: 32px; letter-spacing: -.05em; }
.value-controls { display: flex; padding: 4px; border: 1px solid var(--line); border-radius: 100px; background: var(--paper); }
.value-controls button { min-height: 35px; padding: 0 13px; border: 0; border-radius: 100px; color: var(--ink); background: transparent; cursor: pointer; font-size: 10px; font-weight: 700; }
.value-controls button.active { color: white; background: var(--ink); }
.value-controls button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.value-intro { max-width: 690px; margin: 15px 0 18px; color: #77736c; font-size: 11px; line-height: 1.6; }
.value-chart { padding: 16px 16px 10px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.value-plot { width: 100%; height: auto; display: block; overflow: visible; }
.value-grid { stroke: #e6e3dc; stroke-width: 1; }
.value-axis { stroke: #8f8b83; stroke-width: 1; }
.value-axis-label { fill: #77736c; font: 500 10px "DM Mono", monospace; }
.value-axis-title { fill: #504e49; font: 500 11px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .04em; }
.value-frontier { fill: none; stroke: var(--ink); stroke-width: 2; }
.value-point { cursor: pointer; }
.value-point circle { stroke: white; stroke-width: 3; transition: r .15s ease, stroke-width .15s ease; }
.value-point:hover circle, .value-point:focus circle { r: 12; stroke: var(--ink); stroke-width: 4; outline: 0; }
.value-point.selected circle { stroke: var(--ink); stroke-width: 5; }
.value-point:focus { outline: 0; }
.value-frontier-label { fill: var(--ink); font: 500 9px "DM Mono", monospace; paint-order: stroke; stroke: white; stroke-width: 4px; stroke-linejoin: round; }
.value-point.model-gpt-5-5 circle, .value-legend i.model-gpt-5-5 { fill: #131313; background: #131313; }
.value-point.model-gpt-5-6-luna circle, .value-legend i.model-gpt-5-6-luna { fill: #7186ff; background: #7186ff; }
.value-point.model-gpt-5-6-terra circle, .value-legend i.model-gpt-5-6-terra { fill: #f29a5b; background: #f29a5b; }
.value-point.model-gpt-5-6-sol circle, .value-legend i.model-gpt-5-6-sol { fill: #d8ff52; background: #d8ff52; }
.value-legend { margin-top: 4px; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; color: #77736c; font-size: 9px; }
.value-legend span { display: inline-flex; align-items: center; gap: 6px; }
.value-legend i { width: 8px; height: 8px; border-radius: 50%; }
.value-detail { min-height: 86px; margin-top: 8px; padding: 15px 16px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.value-detail-copy { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.value-detail-copy > span { color: #77736c; font: 500 8px "DM Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.value-detail-copy strong { font-size: 16px; }
.value-detail-copy p { margin: 0; color: #77736c; font-size: 10px; }
.value-detail-actions { display: flex; justify-content: flex-end; gap: 7px; flex-wrap: wrap; }
.value-action { min-height: 37px; padding: 0 12px; border: 1px solid var(--line); border-radius: 100px; color: var(--ink); background: white; cursor: pointer; font-size: 10px; font-weight: 700; }
.value-action.primary { color: white; background: var(--ink); border-color: var(--ink); }
.value-action:hover, .value-action:focus-visible { border-color: var(--ink); outline: 0; }
.value-action.primary:hover, .value-action.primary:focus-visible { color: var(--ink); background: var(--acid); }

.matrix-section { max-width: 1500px; margin: 0 auto; }
.matrix-heading { margin-bottom: 18px; display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.matrix-heading span { font: 500 9px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .09em; color: #77736c; }
.matrix-heading h3 { margin: 7px 0 0; font-size: 28px; letter-spacing: -.05em; }
.matrix-heading p { margin: 0; color: #77736c; font-size: 11px; }
.matrix-scroll { overflow-x: auto; padding-bottom: 6px; }
.result-matrix { width: 100%; min-width: 700px; border-spacing: 7px; table-layout: fixed; }
.result-matrix th { text-align: left; }
.result-matrix thead th { padding: 0 10px 7px; color: #77736c; font: 500 9px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .08em; }
.result-matrix thead th:first-child { width: 180px; }
.result-matrix tbody th { padding: 14px; border: 1px solid var(--line); border-radius: 11px; background: #f1efe9; }
.result-matrix tbody th strong { display: block; font-size: 14px; }
.result-matrix tbody th span { display: block; margin-top: 5px; color: #77736c; font: 500 8px "DM Mono", monospace; overflow-wrap: anywhere; }
.result-matrix td { height: 108px; padding: 0; }
.matrix-cell { width: 100%; height: 100%; padding: 13px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; text-align: left; border: 1px solid var(--line); border-radius: 11px; background: white; color: var(--ink); cursor: pointer; transition: transform .18s ease, border-color .18s ease; }
.matrix-cell:hover { transform: translateY(-2px); border-color: #77736c; }
.matrix-cell.selected { color: white; background: var(--ink); border-color: var(--ink); box-shadow: inset 4px 0 0 var(--acid); }
.matrix-cell-header { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.matrix-cell-top { font: 500 8px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .06em; color: #88847d; }
.matrix-cell.selected .matrix-cell-top { color: var(--acid); }
.matrix-score { flex: 0 0 auto; min-width: 32px; padding: 4px 6px; border-radius: 100px; color: var(--ink); background: var(--acid); font: 700 9px "DM Mono", monospace; text-align: center; }
.matrix-cell.selected .matrix-score { color: var(--ink); background: var(--acid); }
.matrix-score.unavailable { color: #77736c; background: #ebe9e3; }
.matrix-cell.selected .matrix-score.unavailable { color: #aaa69e; background: #353535; }
.matrix-cell strong { font-size: 13px; }
.matrix-cell > span:last-child { color: #77736c; font-size: 9px; }
.matrix-cell.selected > span:last-child { color: #aaa; }
.matrix-empty { height: 100%; display: grid; place-items: center; border: 1px dashed var(--line); border-radius: 11px; color: #99958d; font-size: 10px; }
.matrix-tooltip { position: fixed; z-index: 20; width: 286px; padding: 14px; border: 1px solid #3e3e3e; border-radius: 12px; color: white; background: rgba(19,19,19,.96); box-shadow: 0 14px 38px rgba(0,0,0,.22); backdrop-filter: blur(16px); pointer-events: none; }
.matrix-tooltip[hidden] { display: none; }
.matrix-tooltip-heading { display: flex; flex-direction: column; gap: 5px; padding-bottom: 11px; border-bottom: 1px solid #3d3d3d; }
.matrix-tooltip-heading span { color: var(--acid); font: 500 8px "DM Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.matrix-tooltip-heading strong { font-size: 12px; }
.matrix-tooltip dl { margin: 10px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; }
.matrix-tooltip dl div { padding: 8px; border-radius: 7px; background: #252525; }
.matrix-tooltip dt { color: #92908a; font: 500 7px "DM Mono", monospace; text-transform: uppercase; }
.matrix-tooltip dd { margin: 5px 0 0; font-size: 13px; font-weight: 700; }
.matrix-tooltip-total { margin: 0; padding-top: 10px; border-top: 1px solid #3d3d3d; display: flex; align-items: center; justify-content: space-between; }
.matrix-tooltip-total span { color: #92908a; font: 500 8px "DM Mono", monospace; text-transform: uppercase; }
.matrix-tooltip-total strong { font-size: 14px; }
.matrix-tooltip-review { margin-top: 12px; padding-top: 12px; border-top: 1px solid #3d3d3d; }
.matrix-tooltip-review > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.matrix-tooltip-review > div span { color: var(--acid); font: 500 8px "DM Mono", monospace; letter-spacing: .07em; text-transform: uppercase; }
.matrix-tooltip-review > div strong { font-size: 14px; }
.matrix-tooltip-categories { margin: 9px 0 0 !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 5px !important; }
.matrix-tooltip-categories div { padding: 6px 7px !important; display: flex; align-items: center; justify-content: space-between; gap: 5px; }
.matrix-tooltip-categories dt { overflow: hidden; text-overflow: ellipsis; }
.matrix-tooltip-categories dd { margin: 0 !important; font-size: 10px !important; }
.matrix-tooltip-review > p { margin: 8px 0 0; color: #aaa69e; font: 500 8px "DM Mono", monospace; line-height: 1.45; }

.summary-section { max-width: 1500px; margin: 0 auto; }
.summary-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.summary-heading span, .summary-recommendations article > span { color: #77736c; font: 500 9px "DM Mono", monospace; letter-spacing: .09em; text-transform: uppercase; }
.summary-heading h3 { margin: 7px 0 0; font-size: 32px; letter-spacing: -.05em; }
.summary-heading > p { max-width: 360px; margin: 0; color: #77736c; font-size: 11px; text-align: right; }
.summary-insights { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.summary-insights article { min-height: 142px; padding: 17px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; background: white; }
.summary-insights article.accent { background: var(--acid); border-color: #b7db37; }
.summary-insights span { color: #77736c; font: 500 8px "DM Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.summary-insights strong { margin-top: auto; font-size: 18px; letter-spacing: -.035em; }
.summary-insights p { margin: 7px 0 0; color: #77736c; font-size: 9px; line-height: 1.5; }
.summary-recommendations { margin-top: 8px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--paper); }
.summary-recommendations article { min-height: 154px; padding: 18px; display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.summary-recommendations article:last-child { border-right: 0; }
.summary-recommendations strong { margin-top: 22px; font-size: 15px; }
.summary-recommendations p { margin: 7px 0 0; color: #6e6b64; font-size: 11px; line-height: 1.55; }

.usage-guide { padding: 22px; }
.usage-guide-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.usage-guide-heading span { color: #77736c; font: 500 9px "DM Mono", monospace; letter-spacing: .09em; text-transform: uppercase; }
.usage-guide-heading h3 { margin: 7px 0 0; font-size: 28px; letter-spacing: -.05em; }
.usage-guide-heading > p { max-width: 340px; margin: 0; color: #77736c; font-size: 11px; text-align: right; }
.usage-language, .allowance-guide { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.usage-language { border: 1px solid var(--line); border-radius: 11px; overflow: hidden; background: #fbfaf6; }
.usage-language article { min-height: 112px; padding: 16px; border-right: 1px solid var(--line); }
.usage-language article:last-child { border-right: 0; }
.usage-language article > span { color: #8c8880; font: 500 8px "DM Mono", monospace; }
.usage-language strong { display: block; margin-top: 18px; font-size: 14px; }
.usage-language p { margin: 5px 0 0; color: #6e6b64; font-size: 11px; line-height: 1.5; }
.allowance-guide { gap: 8px; margin-top: 8px; }
.allowance-guide article { padding: 15px 16px; border: 1px solid var(--line); border-radius: 11px; background: white; }
.allowance-guide article.current { background: var(--ink); color: white; box-shadow: inset 4px 0 0 var(--acid); }
.allowance-guide span { color: #77736c; font: 500 8px "DM Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.allowance-guide .current span { color: var(--acid); }
.allowance-guide strong { display: block; margin-top: 9px; font-size: 20px; letter-spacing: -.04em; }
.allowance-guide p { margin: 5px 0 0; color: #77736c; font-size: 10px; }
.allowance-guide .current p { color: #aaa; }
.usage-guide-note { display: flex; align-items: start; justify-content: space-between; gap: 24px; margin-top: 17px; }
.usage-guide-note p { max-width: 850px; margin: 0; color: #77736c; font-size: 10px; line-height: 1.6; }
.usage-guide-note a { flex: 0 0 auto; color: #504e49; font: 500 9px "DM Mono", monospace; text-decoration: none; border-bottom: 1px solid #aaa69d; }

.secondary-info { padding: 72px 4vw 86px; background: var(--paper); }
.secondary-info-heading { max-width: 1500px; margin: 0 auto 28px; }
.secondary-info-heading h2 { margin: 17px 0 0; font-size: clamp(34px, 4.5vw, 62px); letter-spacing: -.06em; }
.info-disclosure { max-width: 1500px; margin: 8px auto 0; border: 1px solid var(--line); border-radius: 14px; overflow: clip; background: #fbfaf6; }
.info-disclosure > summary { min-height: 82px; padding: 15px 20px; display: grid; grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr) auto; align-items: center; gap: 22px; cursor: pointer; list-style: none; }
.info-disclosure > summary::-webkit-details-marker { display: none; }
.info-disclosure > summary div { display: flex; flex-direction: column; gap: 6px; }
.info-disclosure > summary span { color: #77736c; font: 500 8px "DM Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.info-disclosure > summary strong { font-size: 16px; }
.info-disclosure > summary p { margin: 0; color: #77736c; font-size: 11px; }
.info-disclosure > summary i { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 20px; font-style: normal; transition: transform .18s ease; }
.info-disclosure[open] > summary i { transform: rotate(45deg); }
.info-disclosure-body { border-top: 1px solid var(--line); }
.method-copy { padding: 24px; display: grid; grid-template-columns: minmax(260px, 1fr) minmax(320px, 1fr); gap: 7vw; }
.method-copy > p { font-size: clamp(17px, 1.7vw, 24px); line-height: 1.45; letter-spacing: -0.025em; margin: 0; color: #44423e; }
.method-copy ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.method-copy li { border-bottom: 1px solid var(--line); padding: 14px 0; font-size: 12px; color: #66645f; }
.method-copy li span { color: #4f5c1e; font: 500 9px "DM Mono", monospace; text-transform: uppercase; letter-spacing: 0.08em; display: inline-block; width: 100px; }
.site-footer { min-height: 118px; padding: 26px 4vw; display: flex; align-items: center; justify-content: space-between; gap: 28px; background: var(--ink); color: #777; border-top: 1px solid #333; }
.footer-project { display: flex; flex-direction: column; gap: 7px; font-size: 11px; }
.footer-project strong { color: #d5d2ca; font-size: 12px; }
.footer-signature { display: flex; align-items: center; gap: 14px; }
.footer-made-by { color: #777; font: 500 8px "DM Mono", monospace; letter-spacing: .1em; text-transform: uppercase; }
.footer-name { color: #f1efe9; font-size: 13px; font-weight: 700; text-decoration: none; }
.footer-name::after { content: ""; display: block; width: 100%; height: 1px; margin-top: 3px; background: var(--acid); transform: scaleX(.28); transform-origin: left; transition: transform .18s ease; }
.footer-name:hover::after, .footer-name:focus-visible::after { transform: scaleX(1); }
.footer-socials { display: flex; gap: 6px; }
.footer-socials a { min-width: 42px; height: 34px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid #414141; border-radius: 100px; color: #bab8b2; font: 500 9px "DM Mono", monospace; text-decoration: none; transition: color .18s ease, background .18s ease, border-color .18s ease; }
.footer-socials a:hover, .footer-socials a:focus-visible { color: var(--ink); background: var(--acid); border-color: var(--acid); outline: 0; }

dialog { width: min(760px, calc(100% - 32px)); border: 0; border-radius: 18px; padding: 0; box-shadow: 0 30px 100px rgba(0,0,0,.3); }
dialog::backdrop { background: rgba(19,19,19,.66); backdrop-filter: blur(5px); }
.dialog-heading { padding: 25px 28px; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); }
.dialog-heading span { font: 500 10px "DM Mono", monospace; text-transform: uppercase; }
.dialog-heading h2 { margin: 6px 0 0; font-size: 30px; }
.dialog-heading button { border: 0; background: transparent; font-size: 32px; cursor: pointer; }
.prompt-content { padding: 28px; line-height: 1.7; color: #44423e; font-size: 14px; }
.prompt-content p { margin: 0 0 17px; }

body.compare-open { overflow: hidden; }
dialog.compare-dialog { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border-radius: 0; color: white; background: #111; overflow: hidden; }
dialog.compare-dialog[open] { display: grid; grid-template-rows: auto auto auto auto minmax(0, 1fr); }
.compare-dialog::backdrop { background: #111; }
.compare-dialog-header { min-height: 72px; padding: 13px 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #363636; }
.compare-dialog-header span, .compare-pane header span { color: var(--acid); font: 500 8px "DM Mono", monospace; letter-spacing: .09em; text-transform: uppercase; }
.compare-dialog-header h2 { margin: 4px 0 0; font-size: 23px; letter-spacing: -.045em; }
.compare-dialog-actions { display: flex; align-items: center; gap: 8px; }
.compare-copy, .compare-swap, .compare-pane header button { min-height: 36px; padding: 0 12px; border: 1px solid #444; border-radius: 100px; color: white; background: #252525; cursor: pointer; font-size: 10px; font-weight: 700; }
.compare-copy:hover, .compare-copy:focus-visible, .compare-swap:hover, .compare-swap:focus-visible, .compare-pane header button:hover, .compare-pane header button:focus-visible { color: var(--ink); background: var(--acid); border-color: var(--acid); outline: 0; }
.compare-close, .evidence-header button { width: 40px; height: 40px; border: 1px solid #444; border-radius: 50%; color: white; background: transparent; cursor: pointer; font-size: 25px; line-height: 1; }
.compare-close:hover, .compare-close:focus-visible { color: var(--ink); background: var(--acid); border-color: var(--acid); outline: 0; }
.compare-toolbar { padding: 10px 18px; display: grid; grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr) auto; align-items: end; gap: 10px; border-bottom: 1px solid #363636; }
.compare-toolbar label { display: flex; flex-direction: column; gap: 5px; color: #888; font: 500 8px "DM Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.compare-toolbar select { width: 100%; min-height: 39px; padding: 0 34px 0 10px; border: 1px solid #444; border-radius: 8px; color: white; background: #252525; font: 600 11px "Manrope", sans-serif; }
.compare-swap { width: 40px; padding: 0; border-radius: 8px; font-size: 18px; }
.compare-viewport { display: flex; padding: 3px; border: 1px solid #444; border-radius: 100px; background: #252525; }
.compare-viewport button, .compare-mobile-tabs button { min-height: 33px; padding: 0 11px; border: 0; border-radius: 100px; color: #aaa; background: transparent; cursor: pointer; font-size: 9px; font-weight: 700; }
.compare-viewport button.active, .compare-mobile-tabs button.active { color: var(--ink); background: var(--acid); }
.compare-delta { padding: 8px 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; border-bottom: 1px solid #363636; background: #181818; }
.compare-delta > span { min-width: 0; padding: 7px 9px; display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; border: 1px solid #343434; border-radius: 8px; }
.compare-delta small { grid-column: 1 / -1; color: #777; font: 500 7px "DM Mono", monospace; letter-spacing: .07em; text-transform: uppercase; }
.compare-delta strong { font-size: 13px; }
.compare-delta em { color: #888; font-size: 8px; font-style: normal; align-self: end; }
.compare-mobile-tabs { display: none; }
.compare-stage { min-height: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.compare-pane { min-width: 0; min-height: 0; display: grid; grid-template-rows: auto auto minmax(0, 1fr); overflow: hidden; }
.compare-pane + .compare-pane { border-left: 1px solid #363636; }
.compare-pane > header { min-height: 58px; padding: 9px 13px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid #363636; }
.compare-pane header > div { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.compare-pane header strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.compare-pane header button[hidden] { display: none; }
.compare-metrics { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid #363636; background: #181818; }
.compare-metrics div { min-width: 0; padding: 9px 11px; border-right: 1px solid #343434; }
.compare-metrics div:last-child { border-right: 0; }
.compare-metrics dt { color: #777; font: 500 7px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .06em; }
.compare-metrics dd { margin: 4px 0 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; font-weight: 700; }
.compare-frame-shell { min-height: 0; padding: 8px; display: flex; justify-content: center; overflow: auto; background-color: #2a2a2a; background-image: radial-gradient(#4a4a4a .65px, transparent .65px); background-size: 10px 10px; }
.compare-frame-shell iframe { width: 100%; height: 100%; min-height: 540px; flex: 0 0 auto; border: 0; background: white; }
.compare-stage[data-viewport="tablet"] .compare-frame-shell iframe { width: 768px; max-width: 100%; }
.compare-stage[data-viewport="mobile"] .compare-frame-shell iframe { width: 390px; max-width: 100%; }

dialog.evidence-dialog { width: min(660px, 100vw); max-width: none; height: 100dvh; max-height: none; margin: 0 0 0 auto; padding: 0; border-radius: 0; color: var(--ink); background: #fbfaf6; overflow: hidden; }
dialog.evidence-dialog[open] { display: flex; flex-direction: column; }
.evidence-header { flex: 0 0 auto; min-height: 78px; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; color: white; background: var(--ink); border-bottom: 1px solid #3a3a3a; }
.evidence-header span, .evidence-eyebrow, .evidence-section-heading span { color: #77736c; font: 500 8px "DM Mono", monospace; letter-spacing: .09em; text-transform: uppercase; }
.evidence-header span { color: var(--acid); }
.evidence-header h2 { margin: 5px 0 0; font-size: 22px; letter-spacing: -.04em; }
.evidence-header button:hover, .evidence-header button:focus-visible { color: var(--ink); background: var(--acid); border-color: var(--acid); outline: 0; }
.evidence-body { min-height: 0; padding: 18px; overflow-y: auto; }
.evidence-summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 22px; }
.evidence-summary h3 { margin: 6px 0 8px; font-size: 25px; letter-spacing: -.045em; }
.evidence-summary p { max-width: 450px; margin: 0; color: #66645f; font-size: 11px; line-height: 1.6; }
.evidence-score { min-width: 116px; padding: 12px; display: flex; flex-direction: column; align-items: flex-end; border: 1px solid #b3da2e; border-radius: 11px; background: var(--acid); }
.evidence-score.unavailable { border-color: var(--line); background: #e6e3dc; }
.evidence-score strong { font-size: 30px; letter-spacing: -.055em; }
.evidence-score span { margin-top: 2px; color: #55534e; font: 500 8px "DM Mono", monospace; text-transform: uppercase; }
.evidence-meta { margin: 16px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.evidence-meta div { min-width: 0; padding: 10px; border-bottom: 1px solid var(--line); }
.evidence-meta div:nth-child(odd) { border-right: 1px solid var(--line); }
.evidence-meta div:nth-last-child(-n + 2) { border-bottom: 0; }
.evidence-meta dt { color: #77736c; font: 500 7px "DM Mono", monospace; text-transform: uppercase; }
.evidence-meta dd { margin: 5px 0 0; overflow-wrap: anywhere; font-size: 10px; font-weight: 700; }
.evidence-section, .evidence-failure { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.evidence-section-heading h3 { margin: 6px 0 0; font-size: 20px; letter-spacing: -.04em; }
.evidence-categories { margin-top: 12px; display: grid; gap: 7px; }
.evidence-category { padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.evidence-category > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.evidence-category > div strong { font-size: 12px; }
.evidence-category > div span { color: #77736c; font: 500 8px "DM Mono", monospace; }
.evidence-category-track { height: 5px; margin-top: 9px; display: block; overflow: hidden; border-radius: 100px; background: #e5e2db; }
.evidence-category-track i { height: 100%; display: block; border-radius: inherit; background: var(--acid); box-shadow: inset 0 0 0 1px #b3da2e; }
.evidence-category ul, .evidence-perspective ul { margin: 10px 0 0; padding-left: 17px; color: #66645f; font-size: 9px; line-height: 1.55; }
.evidence-category li + li, .evidence-perspective li + li { margin-top: 5px; }
.evidence-findings { margin-top: 12px; display: grid; gap: 8px; }
.evidence-finding { padding: 13px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.evidence-finding > div { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.evidence-finding > div strong { font-size: 12px; }
.evidence-severity { flex: 0 0 auto; padding: 4px 6px; border-radius: 100px; color: #4f4d48; background: #e8e5de; font: 500 7px "DM Mono", monospace; text-transform: uppercase; }
.evidence-severity.medium { color: #683b00; background: #ffe1a8; }
.evidence-severity.high, .evidence-severity.critical { color: #7f2115; background: #ffd7d1; }
.evidence-finding code { margin-top: 8px; display: inline-block; color: #66645f; font: 500 8px "DM Mono", monospace; overflow-wrap: anywhere; }
.evidence-finding p { margin: 8px 0 0; color: #55534e; font-size: 9px; line-height: 1.55; }
.evidence-finding .evidence-impact { color: #6c4a00; }
.evidence-finding .evidence-remediation { color: #365b00; }
.evidence-perspective { margin-top: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.evidence-perspective > div { padding: 13px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.evidence-perspective strong { font-size: 12px; }
.evidence-failure p, .evidence-empty { margin: 10px 0 0; color: #66645f; font-size: 11px; line-height: 1.6; }

@media (max-width: 900px) {
  .selection-console { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .selection-console .share-button { grid-column: 1 / -1; }
  .method-copy { grid-template-columns: 1fr; gap: 24px; }
  .preview-shell { height: 600px; }
  .current-build-bar { grid-template-columns: minmax(215px, .85fr) minmax(0, 2fr); }
  .current-build-metrics div { padding-inline: 10px; }
  .value-detail { align-items: flex-start; flex-direction: column; }
  .value-detail-actions { justify-content: flex-start; }
  .compare-toolbar { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .compare-viewport { grid-column: 1 / -1; justify-self: center; }
  .compare-delta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
  dialog.compare-dialog[open] { grid-template-rows: auto auto auto auto minmax(0, 1fr); }
  .compare-dialog-header { min-height: 60px; }
  .compare-dialog-header h2 { font-size: 18px; }
  .compare-copy { display: none; }
  .compare-toolbar { padding: 8px 10px; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .compare-toolbar select { font-size: 10px; }
  .compare-delta { display: none; }
  .compare-mobile-tabs { padding: 6px 10px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; border-bottom: 1px solid #363636; background: #181818; }
  .compare-stage { grid-template-columns: 1fr; }
  .compare-stage[data-active-side="a"] .compare-pane[data-side="b"], .compare-stage[data-active-side="b"] .compare-pane[data-side="a"] { display: none; }
  .compare-pane + .compare-pane { border-left: 0; }
  .compare-frame-shell iframe { min-height: 480px; }
}

@media (max-width: 600px) {
  .site-header { min-height: 64px; }
  .site-header nav a:not(.github-link) { display: none; }
  .hero { padding-top: 50px; }
  .hero h1 { font-size: clamp(52px, 15.5vw, 74px); }
  .principles { padding-block: 17px; grid-template-columns: 1fr auto; gap: 7px 16px; }
  .principles > span { grid-column: 1 / -1; }
  .principles p { font-size: 10px; line-height: 1.5; }
  .arena-section { padding: 46px 4vw 62px; }
  .arena-mode-switch { position: sticky; top: 8px; z-index: 18; margin-bottom: 34px; background: rgba(241,239,233,.96); backdrop-filter: blur(12px); }
  .arena-mode-switch button { min-height: 40px; padding-inline: 8px; font-size: 10px; }
  .arena-mode-switch button span { margin-right: 4px; }
  .section-heading { align-items: start; flex-direction: column; }
  .section-heading h2 { font-size: 43px; }
  .viewer-controls { width: 100%; }
  .plan-cycle { flex: 0 0 auto; }
  .viewport-control { width: 100%; }
  .viewport-control button { flex: 1; padding-inline: 7px; }
  .selection-drawer > summary { min-height: 58px; margin-bottom: 9px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); cursor: pointer; list-style: none; }
  .selection-drawer > summary::-webkit-details-marker { display: none; }
  .selection-drawer > summary span { color: #77736c; font: 500 8px "DM Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
  .selection-drawer > summary strong { margin-left: auto; font-size: 11px; }
  .selection-drawer > summary i { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 16px; font-style: normal; transition: transform .18s ease; }
  .selection-drawer[open] > summary i { transform: rotate(45deg); }
  .selection-console { padding: 18px; grid-template-columns: 1fr; gap: 24px; }
  .selection-console .share-button { grid-column: auto; }
  .result-heading { align-items: flex-start; flex-direction: column; gap: 14px; }
  .result-actions { width: 100%; justify-content: flex-start; }
  .result-action { flex: 1; }
  .status-pill { order: -1; }
  .preview-shell { min-height: 570px; padding: 7px; }
  .current-build-bar { position: sticky; top: 63px; z-index: 20; min-height: 0; display: block; box-shadow: 0 8px 24px rgba(19,19,19,.2); }
  .current-build-identity { min-height: 64px; padding: 9px 12px; }
  .current-build-identity > div { gap: 2px 8px; }
  .current-build-identity strong { font-size: 14px; }
  .current-build-toggle { flex: 0 0 auto; display: inline-flex; align-items: center; }
  .current-build-bar.expanded .current-build-toggle i { transform: rotate(45deg); }
  .current-build-metrics { display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--ink); }
  .current-build-bar.expanded .current-build-metrics { display: grid; }
  .current-build-metrics div { min-height: 57px; padding: 9px 12px; border-top: 1px solid #3a3a3a; }
  .current-build-metrics div:nth-child(odd) { border-left: 0; }
  .current-build-metrics div:last-child { grid-column: 1 / -1; }
  .current-build-metrics dd { margin-top: 4px; font-size: 13px; }
  .run-facts { grid-template-columns: 1fr; }
  .run-facts div:nth-child(odd) { border-right: 0; }
  .run-facts div:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .matrix-heading { align-items: start; flex-direction: column; }
  .value-heading { align-items: start; flex-direction: column; }
  .value-controls { width: 100%; }
  .value-controls button { flex: 1; }
  .value-chart { overflow-x: auto; }
  .value-plot { width: 640px; max-width: none; }
  .value-detail-actions { width: 100%; }
  .value-action { flex: 1; }
  .summary-heading { align-items: start; flex-direction: column; }
  .summary-heading > p { text-align: left; }
  .summary-insights, .summary-recommendations { grid-template-columns: 1fr; }
  .summary-insights article { min-height: 124px; }
  .summary-recommendations article { min-height: 130px; border-right: 0; border-bottom: 1px solid var(--line); }
  .summary-recommendations article:last-child { border-bottom: 0; }
  .analysis-tabs { position: sticky; top: 61px; z-index: 17; margin-bottom: 25px; padding: 6px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 12px; background: rgba(251,250,246,.97); backdrop-filter: blur(12px); }
  .analysis-tabs button { min-height: 35px; padding-inline: 5px; border: 0; }
  .secondary-info { padding: 52px 4vw 64px; }
  .info-disclosure > summary { min-height: 76px; padding: 12px 14px; grid-template-columns: 1fr auto; gap: 10px; }
  .info-disclosure > summary p { display: none; }
  .info-disclosure > summary strong { font-size: 14px; }
  .usage-guide { padding: 14px; }
  .usage-guide-heading, .usage-guide-note { align-items: start; flex-direction: column; }
  .usage-guide-heading > p { text-align: left; }
  .usage-language, .allowance-guide { grid-template-columns: 1fr; }
  .usage-language article { min-height: 96px; border-right: 0; border-bottom: 1px solid var(--line); }
  .usage-language article:last-child { border-bottom: 0; }
  .usage-guide-note a { flex-basis: auto; }
  .method-copy { padding: 16px; }
  .method-copy li span { display: block; width: auto; margin-bottom: 6px; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .footer-signature { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; }
  .footer-made-by { grid-column: 1 / -1; }
  .footer-socials { grid-column: 2; grid-row: 2; }
  .compare-dialog-header { padding-inline: 10px; }
  .compare-dialog-header > div:first-child span { display: none; }
  .compare-dialog-header h2 { margin: 0; font-size: 16px; }
  .compare-toolbar { grid-template-columns: 1fr auto; }
  .compare-toolbar label { min-width: 0; }
  .compare-toolbar label:nth-of-type(2) { grid-column: 1 / -1; grid-row: 2; }
  .compare-swap { grid-column: 2; grid-row: 1; }
  .compare-viewport { grid-column: 1 / -1; grid-row: 3; width: 100%; justify-self: stretch; }
  .compare-viewport button { flex: 1; padding-inline: 8px; }
  .compare-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compare-metrics div:nth-child(2) { border-right: 0; }
  .compare-metrics div:nth-child(-n + 2) { border-bottom: 1px solid #343434; }
  .evidence-body { padding: 14px; }
  .evidence-summary { grid-template-columns: 1fr; }
  .evidence-score { align-items: flex-start; }
  .evidence-meta, .evidence-perspective { grid-template-columns: 1fr; }
  .evidence-meta div:nth-child(odd) { border-right: 0; }
  .evidence-meta div:nth-last-child(2) { border-bottom: 1px solid var(--line); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
