/* A readable research-project template. All measurements and media live in their existing artifacts. */
:root {
  --paper: #ffffff;
  --surface: #f3f6fb;
  --ink: #172033;
  --muted: #465469;
  --line: #cdd5e1;
  --accent: #174ea6;
  --green: #146346;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
[hidden] { display: none !important; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { text-decoration: underline; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #1453c4; outline-offset: 5px; }
::selection { background: #dce8ff; color: var(--ink); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); font-weight: 750; line-height: 1.15; letter-spacing: -.035em; }
p { margin-bottom: 1em; }
img, video { max-width: 100%; }
svg.icon { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: min(1280px, calc(100% - 80px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip: rect(0,0,0,0); overflow: hidden; white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 100; padding: 12px 20px; background: white; }
.skip-link:focus { top: 12px; }
.mono { font-family: var(--mono); }
.eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 14px; font-weight: 700; letter-spacing: .06em; color: var(--accent); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 650; text-decoration: none; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 20px; border: 1px solid var(--line); border-radius: 8px; font-size: 16px; font-weight: 650; color: var(--ink); background: white; text-decoration: none; line-height: 1.5; }
.button:hover { text-decoration: none; border-color: var(--accent); }
.button-dark { background: var(--accent); border-color: var(--accent); color: white; }
.button-dark:hover { background: #103c83; color: white; }
.button-outline { background: white; }
.site-header { border-bottom: 1px solid var(--line); background: white; }
.header-inner { min-height: 92px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 36px; padding-block: 18px; }
.brand { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; white-space: nowrap; font-size: 24px; font-weight: 800; letter-spacing: -.04em; }
.brand-mark { color: var(--accent); font: 700 28px/1 var(--mono); margin-right: 12px; }
.brand-mark b { font-weight: 800; }.brand-dot { color: var(--accent); }
.top-nav { display: flex; align-items: center; justify-content: center; gap: 26px; flex-wrap: wrap; font-size: 16px; font-weight: 600; }
.top-nav a { text-decoration: none; color: var(--ink); }.top-nav a:hover { color: var(--accent); text-decoration: underline; }
.header-code { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 15px; font-weight: 700; }
.mobile-label { display: none; }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; padding-block: 80px 72px; }
.hero > *, .interface-layout > *, .results-layout > *, .start-section > * { min-width: 0; }
.status-dot, .live-square, .legend-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.preview-tag { display: inline-block; padding: 3px 9px; background: #edf3ff; border: 1px solid #c1d2f0; border-radius: 5px; font-size: 14px; letter-spacing: 0; color: #214b84; }
h1 { font-size: clamp(44px, 4.5vw, 66px); margin: 26px 0 24px; }
h1 > span { color: var(--accent); }
.hero-description { font-size: 21px; line-height: 1.6; max-width: 560px; color: #34445b; }
.hero-actions, .hero-resource-links { display: flex; align-items: center; gap: 16px 24px; flex-wrap: wrap; margin: 28px 0; }
.hero-resource-links { margin: 0 0 28px; }
.hero-resource-links a { font-size: 16px; font-weight: 650; }
.model-line { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 15px; color: var(--muted); }
.model-size { border: 1px solid #b4c3d9; border-radius: 5px; padding: 2px 8px; color: var(--ink); font: 600 14px/1.6 var(--mono); text-decoration: none; background: #f4f7fc; }
.model-note { font-size: 14px; }
.hero-visual { position: relative; background: white; border: 1px solid #b8c9df; border-top: 4px solid var(--accent); border-radius: 12px; padding: 25px 28px 20px; box-shadow: 0 14px 36px #1720330b; }
.hero-visual-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 650; color: var(--muted); }
.hero-visual-top > span:first-child { display: flex; align-items: center; gap: 8px; }
.context-label { font-size: 14px; font-weight: 650; margin-top: 24px; color: var(--muted); letter-spacing: .04em; }
.hero-context { min-height: 106px; margin: 10px 0 0; font-size: 28px; font-weight: 650; line-height: 1.35; letter-spacing: -.02em; }
.decision-divider { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 24px 0 12px; font-size: 15px; font-weight: 600; }
.branch-line { white-space: nowrap; color: var(--muted); }
.choice-rows { display: grid; gap: 8px; }
.choice-row { display: grid; grid-template-columns: 25px minmax(94px, 1fr) minmax(30px, 1fr) 45px 18px; align-items: center; gap: 10px; padding: 12px 10px; border: 1px solid var(--line); border-radius: 6px; min-height: 53px; font-size: 15px; }
.choice-row.chosen { border-color: #88b9a2; background: #eef8f2; }
.choice-key { font: 600 14px/1.5 var(--mono); color: var(--muted); }
.choice-name { font-weight: 650; }.choice-meter { height: 8px; overflow: hidden; background: #dce4ee; border-radius: 5px; }
.choice-meter i { display: block; height: 100%; width: var(--probability); border-radius: inherit; background: var(--green); transition: width .5s ease; }
.choice-probability { font: 600 14px var(--mono); text-align: right; }.choice-row .icon { width: 18px; height: 18px; color: var(--green); }
.hero-output { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 23px 0 18px; font: 600 15px var(--mono); }
.output-bracket { font-size: 23px; color: #42577a; }.code-key { color: #264d83; }.code-value { color: #11633e; }.output-typed { font-size: 14px; color: var(--muted); }
.hero-caption { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-top: 15px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.motion-toggle { border: 0; border-bottom: 1px solid currentColor; padding: 2px 0; background: transparent; color: var(--accent); font-size: 14px; font-weight: 600; }
.hero-corner { display: none; }
.section-heading { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; margin-bottom: 32px; }
.section-heading h2 { font-size: 42px; margin: 14px 0 0; }.section-heading > p { margin: 0; font-size: 18px; line-height: 1.7; color: var(--muted); }
.featured-games { padding: 16px 0 68px; }.featured-game-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.featured-game { background: white; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; text-align: left; color: var(--ink); padding: 0; }
.featured-game:hover { border-color: var(--accent); box-shadow: 0 8px 24px #1720330c; }.featured-game img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.featured-game-copy { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 20px; padding: 24px; font-size: 16px; }
.featured-game-copy strong { flex-basis: 100%; font-size: 28px; line-height: 1.2; font-weight: 750; }.game-result { color: #125d40; }.featured-play { color: var(--accent); font-weight: 700; }
.inventory { display: grid; grid-template-columns: 1.25fr repeat(4, 1fr); gap: 24px; padding-block: 32px; border-block: 1px solid var(--line); }
.inventory-intro p { font-size: 16px; line-height: 1.5; margin: 10px 0 0; }.inventory-stat { border-left: 1px solid var(--line); padding-left: 24px; }
.inventory-stat strong { display: block; font: 700 clamp(23px, 2.5vw, 34px)/1.3 var(--mono); letter-spacing: -.05em; }
.inventory-stat span { display: block; font-size: 14px; line-height: 1.6; color: var(--muted); margin-top: 8px; }
.inventory-note { grid-column: 1/-1; font-size: 16px; line-height: 1.7; color: var(--muted); margin: 0; }
.interface-section { padding-block: 72px; }.interface-layout { display: grid; grid-template-columns: 1fr 1.8fr; gap: 28px; }
.primitive-tabs { display: flex; flex-direction: column; gap: 12px; }.primitive-tab { border: 1px solid var(--line); background: white; color: var(--ink); border-radius: 8px; display: flex; align-items: center; gap: 18px; padding: 22px; text-align: left; }
.primitive-tab.active { border-color: #91ade0; background: #eef4ff; }.primitive-glyph { font-size: 30px; line-height: 1; color: var(--accent); width: 25px; }.primitive-tab strong { display: block; font-size: 23px; font-weight: 750; }
.primitive-tab small { display: block; font-size: 15px; line-height: 1.6; color: var(--muted); margin-top: 5px; }.primitive-number { margin-left: auto; font: 600 14px var(--mono); color: var(--muted); }
.primitive-panel { border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: #f5f7fc; }
.code-window-top { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 17px 22px; border-bottom: 1px solid var(--line); font: 500 14px var(--mono); color: var(--muted); }
.code-window-top > span:first-child { display: flex; gap: 5px; }.code-window-top i { width: 7px; height: 7px; border-radius: 50%; background: #526882; }.code-window-label { margin-left: auto; }
.request-code { margin: 0; padding: 24px; font: 500 15px/1.65 var(--mono); overflow-x: auto; min-height: 320px; color: #233f68; }
.primitive-explanation { display: flex; align-items: start; gap: 18px; padding: 20px 24px; border-top: 1px solid var(--line); background: white; }.primitive-explanation p { margin: 0; font-size: 16px; line-height: 1.7; }
.output-chip { font: 600 14px var(--mono); background: #e8f0fc; color: #1c4b8e; border-radius: 5px; padding: 7px 10px; }
.implementation-note { font-size: 16px; line-height: 1.7; color: var(--muted); margin: 26px 0 0; }
.gallery-section { background: var(--surface); padding-block: 70px; border-block: 1px solid var(--line); }
.evidence-legend { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 30px; font-size: 15px; margin: 24px 0 32px; color: var(--muted); }
.evidence-legend > span { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }.evidence-legend strong { color: var(--ink); }.walkthrough-dot { background: #8b581b; }
.gallery-toolbar { display: flex; justify-content: space-between; align-items: start; gap: 24px; }.category-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.filter { border: 1px solid #bcc8db; border-radius: 6px; padding: 8px 12px; background: white; color: #273a53; font-size: 14px; font-weight: 650; min-height: 42px; }
.filter.active { color: white; border-color: var(--accent); background: var(--accent); }.filter-count { font-size: 14px; margin-left: 6px; }
.search-box { display: flex; align-items: center; gap: 10px; flex-shrink: 0; border: 1px solid #afbdd2; background: white; border-radius: 6px; padding: 10px 12px; width: 255px; }
.search-box input { border: 0; background: transparent; outline: none; min-width: 0; width: 100%; color: var(--ink); font-size: 16px; }.search-box input::placeholder { color: #52617a; }.search-box kbd { font: 14px var(--mono); color: var(--muted); }
.gallery-status { display: flex; justify-content: space-between; align-items: start; gap: 16px; font-size: 14px; color: var(--muted); margin: 20px 0 25px; }.gallery-status p { margin: 0; }
.demo-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 25px; }.demo-card { padding: 0; background: white; color: var(--ink); border: 1px solid #c3cedd; border-radius: 10px; overflow: hidden; text-align: left; }
.demo-card:hover { border-color: var(--accent); box-shadow: 0 8px 24px #1720330c; }.poster-wrap { display: block; position: relative; aspect-ratio: 16/9; overflow: hidden; background: #17324d; }
.poster-wrap img { position: relative; display: block; width: 100%; height: 100%; object-fit: cover; }.poster-fallback { position: absolute; inset: 0; display: grid; place-items: center; color: white; font: 700 52px var(--mono); }
.card-play { position: absolute; right: 16px; bottom: 16px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #ffffff; color: var(--accent); border: 1px solid #b6c7df; }
.card-content { display: block; padding: 23px; }.card-category { display: block; font-size: 14px; font-weight: 700; color: var(--accent); }
.card-title { display: block; margin: 10px 0; font-size: 23px; font-weight: 750; line-height: 1.25; letter-spacing: -.02em; }.card-description { display: block; font-size: 16px; line-height: 1.65; min-height: 79px; color: var(--muted); }
.card-evidence-row { display: flex; gap: 10px; align-items: start; flex-wrap: wrap; margin-top: 22px; }.evidence-badge { display: inline-block; border-radius: 4px; padding: 3px 7px; font-size: 14px; font-weight: 650; background: #e5f2eb; color: #145535; }
.evidence-badge.walkthrough { background: #fff1db; color: #754409; }.card-model { font-size: 14px; line-height: 1.6; color: var(--muted); }
.gallery-more { text-align: center; margin-top: 32px; }.gallery-empty { text-align: center; padding: 40px 16px; }.gallery-empty h3 { font-size: 28px; }.gallery-empty > span { font-size: 40px; color: var(--accent); }
.gallery-footnote { display: flex; align-items: start; gap: 16px; margin-top: 32px; color: var(--muted); }.gallery-footnote p { font-size: 16px; margin: 0; }.footnote-mark { font-size: 27px; line-height: 1.1; color: var(--accent); }
.coverage-details { font-size: 16px; margin-top: 24px; }.coverage-details summary { cursor: pointer; padding: 14px 0; }.coverage-details li { margin-bottom: 12px; }
.catalog-error { font-size: 16px; color: #8d310d; }
.latency-section, .comparison-section { padding-block: 70px; border-bottom: 1px solid var(--line); }
.latency-status, .comparison-status { font-size: 16px; font-weight: 650; color: #1e603f; margin: 24px 0; }
.latency-comparison, .comparison-context { padding: 24px 26px; border: 1px solid #b8cbdf; border-radius: 9px; background: #f1f6fd; margin: 26px 0; }
.latency-comparison > strong { font-size: 20px; }.latency-comparison p, .comparison-context p { font-size: 16px; line-height: 1.75; color: #293f59; margin: 10px 0 0; }.comparison-context p:first-child { margin-top: 0; }
.latency-method, .comparison-method, .comparison-caption { font-size: 16px; line-height: 1.75; color: var(--muted); margin: 18px 0; }
.latency-table-scroll, .comparison-table-scroll { overflow-x: auto; max-width: 100%; margin: 25px 0; outline-offset: 4px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.latency-table, .comparison-table { border-collapse: collapse; width: 100%; min-width: 1050px; font-size: 16px; font-variant-numeric: tabular-nums; }
.latency-table caption, .comparison-table caption { font-size: 15px; text-align: left; color: var(--muted); padding: 18px; line-height: 1.7; }
.latency-table th, .latency-table td, .comparison-table th, .comparison-table td { border-bottom: 1px solid var(--line); padding: 20px 18px; text-align: right; vertical-align: top; }
.latency-table tr > :first-child, .comparison-table tr > :first-child { text-align: left; min-width: 215px; }
.latency-table thead th, .comparison-table thead th { background: #edf2f9; color: #2b405d; font-size: 15px; font-weight: 700; }
.latency-table tbody th, .comparison-table tbody th { font-size: 16px; font-weight: 650; }.latency-table td, .comparison-table td { font-weight: 600; }
.latency-table small, .comparison-table small { display: block; font-size: 14px; font-weight: 500; color: var(--muted); line-height: 1.65; margin-top: 8px; }
.latency-table tbody tr:last-child > *, .comparison-table tbody tr:last-child > * { border-bottom: 0; }
.latency-numbers, .comparison-fraction { font-family: var(--mono); font-size: 16px; font-weight: 650; white-space: nowrap; letter-spacing: -.03em; }.comparison-fraction { display: block; }
.latency-validation, .comparison-table .comparison-complete { color: #145b39; }.latency-error, .comparison-table .comparison-error, .comparison-table .comparison-mass, .comparison-table .comparison-partial, .comparison-soft { color: #83420c; }
.comparison-pending { font-size: 15px; color: #505968; }.comparison-matched > * { background: #eff6ff; }.comparison-evidence { display: inline-block; font-size: 14px; margin-top: 10px; }
.latency-scroll-hint, .comparison-scroll-hint { font-size: 14px; color: var(--muted); margin: 20px 0 0; }
.latency-controls { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 16px; margin: 24px 0; }.latency-controls select { padding: 10px; background: white; color: var(--ink); border: 1px solid #a9b9cf; border-radius: 6px; max-width: 100%; }
.latency-controls > span { color: var(--muted); font-size: 14px; }
.latency-diagnostics, .comparison-details { margin: 30px 0; font-size: 16px; color: var(--muted); }
.latency-diagnostics > summary, .comparison-details > summary, .latency-request > summary, .evidence-details > summary, .transcript-details > summary { cursor: pointer; font-weight: 650; color: var(--ink); padding: 17px 0; border-block: 1px solid var(--line); }
.comparison-details > p { margin-top: 20px; }.comparison-details dt { font-weight: 700; margin: 20px 0 6px; color: var(--ink); }.comparison-details dd { margin: 0; }
.latency-links, .comparison-links { display: flex; align-items: start; flex-wrap: wrap; gap: 15px 26px; margin-top: 24px; }.latency-links .text-link, .comparison-links .text-link { font-size: 16px; }
.latency-evidence { display: grid; grid-template-columns: 1fr 1.15fr; gap: 34px; align-items: start; margin-top: 36px; }.latency-evidence > * { min-width: 0; }.latency-evidence h3 { font-size: 28px; margin-bottom: 18px; }.latency-evidence p { font-size: 16px; color: var(--muted); }
.latency-evidence figure { margin: 0; }.latency-evidence video { display: block; width: 100%; border-radius: 8px; background: #142036; }.latency-evidence figcaption { font-size: 14px; color: var(--muted); margin-top: 15px; }
.latency-request { margin-top: 24px; font-size: 16px; }.latency-request pre { white-space: pre-wrap; overflow-wrap: anywhere; font: 500 14px/1.7 var(--mono); padding: 18px; max-height: 400px; overflow: auto; background: var(--surface); }
#trec-comparison { margin-top: 50px; }#trec-comparison h3 { font-size: 30px; margin-bottom: 20px; }
.results-section { padding-block: 72px; background: #f1f6fd; border-block: 1px solid var(--line); }.results-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; align-items: start; }
.results-copy h2 { font-size: 44px; margin: 18px 0 26px; }.results-copy > p { font-size: 18px; line-height: 1.7; color: #36465f; }.light-link { color: var(--accent); }
.result-context { padding-top: 24px; margin-top: 30px; border-top: 1px solid #aebfd7; }.result-context p { font-size: 16px; color: #344b66; margin: 0; }.result-context-line { display: none; }
.table-label { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 14px; font-weight: 700; margin-bottom: 18px; color: #2c4869; }
.results-table-scroll { overflow-x: auto; max-width: 100%; outline-offset: 4px; }
.results-table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }.results-table th, .results-table td { padding: 22px 12px; border-bottom: 1px solid #b6c7df; text-align: right; }
.results-table th:first-child { text-align: left; padding-left: 0; }.results-table thead th { font-size: 15px; color: #354c68; font-weight: 650; }.results-table tbody th { font-size: 17px; font-weight: 650; }.results-table tbody th > span { display: block; font-size: 15px; color: #435a77; }
.results-table tbody td { font-size: 31px; font-weight: 700; line-height: 1.4; letter-spacing: -.05em; }.results-table tbody td > span:not(.table-status) { font-size: 18px; margin-left: 2px; }
.results-table.full-internal { min-width: 730px; }
.results-table.full-internal tbody td { font-size: 20px; letter-spacing: -.02em; }
.results-table.full-internal td small { display: block; margin-top: 5px; font-size: 13px; font-weight: 500; letter-spacing: 0; white-space: nowrap; }
.results-table.full-internal tbody td.not-evaluated { font-size: 14px; font-weight: 500; letter-spacing: 0; }
.table-status { display: inline-block; font-size: 14px; line-height: 1.5; font-weight: 600; letter-spacing: 0; padding: 4px 8px; border-radius: 5px; background: #dfeee5; color: #145a36; }.pending-result .table-status { background: #e0e8f6; color: #284d7b; }
.highlight-result > * { color: #174b99; }.result-notes { font-size: 16px; line-height: 1.8; color: #364b65; margin-top: 24px; }.result-notes p { margin-bottom: 16px; }
.start-section { display: grid; grid-template-columns: 1fr 1.45fr; gap: 64px; padding-block: 78px; }.start-section h2 { font-size: 44px; margin: 20px 0 26px; }.start-section > div > p { font-size: 18px; color: var(--muted); }
.resource-link { display: flex; align-items: start; gap: 20px; color: var(--ink); padding: 24px 0; border-bottom: 1px solid var(--line); text-decoration: none; }.resource-link strong { display: block; font-size: 21px; line-height: 1.3; font-weight: 700; }.resource-link small { display: block; font-size: 15px; line-height: 1.7; color: var(--muted); margin-top: 7px; }.resource-number { font: 600 14px var(--mono); color: var(--muted); padding-top: 6px; }.resource-link > .icon { margin-left: auto; color: var(--accent); }.access-note { font-size: 16px !important; line-height: 1.75; margin-top: 24px; }
.site-footer { border-top: 1px solid var(--line); padding-block: 32px; background: var(--surface); }.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; }.footer-inner p { font-size: 14px; color: var(--muted); margin: 0; }.back-top { font-size: 15px; white-space: nowrap; }
dialog { padding: 0; border: 1px solid #a1b5d0; border-radius: 10px; width: min(1060px, calc(100vw - 40px)); max-height: calc(100dvh - 48px); color: var(--ink); background: white; overflow: auto; }dialog::backdrop { background: #102138c9; }
.modal-header { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 14px 22px; background: white; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 3; }.close-button { display: grid; place-items: center; background: #edf2fa; border: 1px solid var(--line); color: var(--ink); border-radius: 6px; width: 42px; height: 42px; }
.video-frame { background: #101928; }.video-frame video { display: block; width: 100%; max-height: 62dvh; }.video-error { color: white; font-size: 16px; padding: 16px; margin: 0; }
.modal-body { padding: 32px; }.modal-body h2 { font-size: 36px; margin: 16px 0; }.modal-description { font-size: 18px; color: #334a64; }.demo-model { font-size: 15px; color: var(--muted); }.demo-summary { font-size: 16px; padding: 18px; background: #eef6f1; color: #1e533a; border-radius: 6px; }
.modal-downloads { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 25px 0; }.evidence-details, .transcript-details { font-size: 16px; }.evidence-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 20px; }.evidence-columns > div { min-width: 0; padding: 18px; background: var(--surface); border-radius: 6px; }.evidence-columns h3 { font-size: 18px; }.evidence-columns pre { font: 500 14px/1.7 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; max-height: 320px; overflow: auto; margin: 0; }
.provenance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin: 30px 0; }.provenance-grid h3 { font-size: 20px; }.provenance-grid p, .provenance-grid li { font-size: 16px; color: var(--muted); }.provenance-grid ul { padding-left: 22px; }.transcript-content { font-size: 16px; white-space: pre-wrap; padding-top: 20px; }
.benchmark-page { padding-bottom: 60px; }.benchmark-hero { padding: 64px 0 40px; }.benchmark-hero h1 { margin-top: 16px; max-width: 900px; }.benchmark-hero > p { max-width: 940px; font-size: 20px; color: var(--muted); }.benchmark-section { padding: 42px 0; border-top: 1px solid var(--line); }.benchmark-section h2 { font-size: 34px; margin-bottom: 22px; }.benchmark-section p, .benchmark-section li { font-size: 17px; line-height: 1.8; overflow-wrap: anywhere; }.benchmark-section li + li { margin-top: 10px; }.benchmark-section .comparison-table { min-width: 1150px; }.benchmark-section code { overflow-wrap: anywhere; font-size: 15px; }
.benchmark-nav { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 16px; font-weight: 650; margin-top: 28px; }.benchmark-notice { border-left: 4px solid var(--accent); padding: 20px 24px; background: #f1f6fd; margin: 24px 0; }.benchmark-notice p:last-child { margin-bottom: 0; }
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 48px); }.header-inner { gap: 22px; }.top-nav { gap: 16px; font-size: 15px; }.hero { gap: 36px; padding-block: 58px; }.hero-description { font-size: 19px; }.hero-visual { padding: 23px 20px 18px; }.hero-context { font-size: 25px; }.choice-row { grid-template-columns: 20px minmax(90px,1fr) minmax(18px,.6fr) 42px 16px; gap: 7px; padding-inline: 8px; }
  .inventory { grid-template-columns: repeat(4,1fr); }.inventory-intro { grid-column: 1/-1; }.inventory-intro p br { display: none; }.inventory-stat:nth-child(2) { border-left: 0; padding-left: 0; }.section-heading { gap: 30px; }.section-heading h2 { font-size: 37px; }.results-layout { grid-template-columns: 1fr; gap: 34px; }.results-copy h2 br { display: none; }.result-context { max-width: 780px; }.demo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.gallery-toolbar { flex-direction: column; }.search-box { width: min(400px,100%); }.start-section { gap: 38px; }
}
@media (max-width: 760px) {
  .header-inner { grid-template-columns: 1fr auto; row-gap: 18px; padding-block: 18px; }.top-nav { grid-column: 1/-1; grid-row: 2; justify-content: flex-start; gap: 14px 22px; font-size: 15px; }.header-code { grid-column: 2; grid-row: 1; }.brand { font-size: 23px; }.desktop-label { display: none; }.mobile-label { display: inline; }
  .hero { grid-template-columns: 1fr; gap: 36px; }.hero-description { font-size: 20px; }.hero-visual { max-width: 600px; width: 100%; }.hero-context { min-height: 86px; font-size: 29px; }.choice-row { grid-template-columns: 24px minmax(94px,1fr) minmax(40px,1fr) 45px 18px; gap: 10px; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; }.section-heading > p { font-size: 17px; }.featured-game-grid, .interface-layout, .latency-evidence, .start-section { grid-template-columns: 1fr; }.featured-game-copy { padding: 22px; }.inventory { grid-template-columns: 1fr 1fr; }.inventory-stat:nth-child(4) { border-left: 0; padding-left: 0; }.inventory-stat strong { font-size: 30px; }
  .interface-section, .gallery-section, .latency-section, .comparison-section, .results-section, .start-section { padding-block: 48px; }.primitive-tabs { gap: 10px; }.primitive-tab { padding: 18px; }.primitive-tab strong { font-size: 21px; }.request-code { min-height: 0; }.latency-evidence { gap: 25px; }.footer-inner { flex-wrap: wrap; }.footer-inner p { flex-basis: 100%; order: 3; }.back-top { margin-left: auto; }.results-copy h2, .start-section h2 { font-size: 38px; }.result-notes { font-size: 16px; }.evidence-columns, .provenance-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .wrap { width: calc(100% - 36px); }h1 { font-size: 43px; letter-spacing: -.045em; }.hero { padding-block: 40px 46px; }.hero-description { font-size: 18px; }.desktop-break { display: none; }.hero-actions { align-items: stretch; gap: 16px; }.hero-actions .button { width: 100%; }.hero-resource-links { gap: 12px 20px; }.hero-visual { padding: 20px 16px 16px; }.hero-context { font-size: 25px; min-height: 110px; }.hero-visual-top { gap: 8px; font-size: 14px; }.hero-visual-top .mono { font-size: 14px; }.decision-divider { font-size: 14px; align-items: start; }.choice-row { grid-template-columns: 18px minmax(82px,1fr) minmax(12px,.45fr) 40px; gap: 7px; padding: 12px 8px; font-size: 14px; }.choice-row .icon, .choice-empty { display: none; }.hero-output { gap: 8px; }.output-typed { flex-basis: 100%; }.hero-caption { font-size: 14px; }.branch-line { display: none; }
  .section-heading h2 { font-size: 33px; }.featured-games { padding-bottom: 46px; }.featured-game-copy strong { font-size: 25px; }.featured-game-copy { font-size: 16px; padding: 20px; }.inventory { gap: 25px 18px; }.inventory-stat { padding-left: 18px; }.inventory-stat strong { font-size: 27px; }.inventory-stat span { font-size: 14px; }.inventory-note { font-size: 16px; }
  .primitive-tab { gap: 12px; }.primitive-glyph { font-size: 26px; }.primitive-number { display: none; }.code-window-top { padding: 15px; gap: 10px; }.code-window-top > span:first-child { display: none; }.code-window-label { margin-left: 0; }.request-code { padding: 18px 15px; font-size: 14px; }.primitive-explanation { flex-direction: column; padding: 20px 16px; gap: 12px; }
  .demo-grid { grid-template-columns: 1fr; }.card-description { min-height: 0; }.card-content { padding: 22px; }.gallery-status { flex-direction: column; gap: 8px; }.filter { font-size: 14px; padding: 7px 10px; }.gallery-toolbar { gap: 20px; }.latency-comparison, .comparison-context { padding: 20px; }.latency-method, .comparison-method, .comparison-caption { font-size: 16px; }.latency-table caption, .comparison-table caption { max-width: calc(100vw - 38px); font-size: 14px; }
  .results-table th, .results-table td { padding: 17px 4px; }.results-table tbody td { font-size: 23px; }.results-table tbody th { font-size: 15px; }.results-table tbody th > span { font-size: 14px; }.results-table tbody td > span:not(.table-status) { font-size: 15px; }.results-table thead th { font-size: 14px; }.table-status { font-size: 14px; padding: 3px 4px; }.results-copy h2, .start-section h2 { font-size: 34px; }.resource-link { gap: 14px; }.resource-link strong { font-size: 20px; }.resource-link small { font-size: 15px; }.resource-number { font-size: 14px; }.footer-inner { gap: 22px; }
  dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 24px); }.modal-header { padding: 12px 15px; }.modal-body { padding: 25px 18px; }.modal-body h2 { font-size: 29px; }.modal-downloads { align-items: stretch; flex-direction: column; }.modal-description { font-size: 17px; }.video-frame video { max-height: 50dvh; }.benchmark-hero { padding-block: 42px 30px; }.benchmark-hero > p { font-size: 18px; }.benchmark-section h2 { font-size: 29px; }.benchmark-notice { padding: 18px; }
}
/* A direct entry for people who want to classify text without writing code. */
.top-nav .workbench-nav-link { color: var(--accent); text-decoration: underline; text-decoration-thickness: 2px; }
.workbench-promo { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: center; gap: 26px 40px; padding: 32px; margin-bottom: 52px; border: 1px solid #b5cae8; border-left: 5px solid var(--accent); border-radius: 12px; background: #f2f6fd; }
.workbench-promo h2 { margin: 14px 0 18px; font-size: clamp(27px, 2.5vw, 35px); line-height: 1.4; }
.workbench-promo-copy > p { margin-bottom: 10px; color: #34445b; font-size: 17px; }
.workbench-promo-copy > .workbench-english { color: var(--muted); font-size: 15px; line-height: 1.7; margin-bottom: 0; }
.workbench-promo-action { min-width: 0; }
.workbench-promo-action .button { width: 100%; flex-wrap: wrap; gap: 5px 8px; }
.workbench-promo-action p { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 12px 0 0; }
.workbench-promo-action p + p { margin-top: 4px; }
.workbench-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; grid-column: 1 / -1; list-style: none; padding: 24px 0 0; margin: 0; border-top: 1px solid #c2d2e8; }
.workbench-steps li { display: grid; grid-template-columns: 28px 1fr; align-items: start; gap: 0 10px; min-width: 0; }
.workbench-steps li > span { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid #adc3e1; border-radius: 50%; background: #fff; color: var(--accent); font: 650 14px/1 var(--mono); grid-row: 1 / 3; }
.workbench-steps strong { display: block; color: var(--ink); font-size: 15px; font-weight: 650; line-height: 1.6; }
.workbench-steps small { display: block; color: var(--muted); font-size: 14px; line-height: 1.6; }
.workbench-page { padding-bottom: 60px; }
.workbench-page-hero { padding: 54px 0 28px; }
.workbench-page-hero h1 { max-width: 940px; font-size: clamp(34px, 4vw, 54px); line-height: 1.3; }
.workbench-page-hero h1 > span { display: block; font-size: clamp(23px, 2.8vw, 35px); line-height: 1.35; margin-top: 12px; }
.workbench-page-hero > p { max-width: 920px; font-size: 18px; color: #34445b; margin-bottom: 10px; }
.workbench-page-hero > p[lang="en"] { font-size: 16px; color: var(--muted); }
.workbench-page .workbench-steps { padding: 22px 24px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.workbench-launch { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 24px; padding: 30px 0 20px; }
.workbench-launch h2 { font-size: 26px; margin: 0 0 12px; line-height: 1.4; }
.workbench-launch p { font-size: 15px; color: var(--muted); margin: 0; }
.workbench-launch .button { max-width: 100%; flex-wrap: wrap; }
.workbench-availability { padding: 18px 22px; border: 1px solid #b9cbe1; border-left: 4px solid var(--accent); border-radius: 8px; background: #f2f6fd; }
.workbench-availability p { margin: 0; font-size: 15px; color: #34445b; }
.workbench-availability p + p { margin-top: 8px; font-size: 14px; }
.workbench-frame { margin-top: 20px; border: 1px solid #b9cbe1; border-radius: 12px; overflow: hidden; background: var(--surface); }
.workbench-frame-label { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 13px 20px; border-bottom: 1px solid #b9cbe1; background: #eef3fa; font-size: 14px; color: #354c68; }
.workbench-frame-label strong { font-size: 14px; font-weight: 700; }
.workbench-frame iframe { display: block; width: 100%; height: 1120px; border: 0; background: #fff; }
.workbench-frame-note { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.workbench-help { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.workbench-help section { border-top: 1px solid var(--line); padding-top: 22px; }
.workbench-help h2 { font-size: 21px; line-height: 1.5; margin-bottom: 12px; }
.workbench-help p { font-size: 15px; line-height: 1.8; color: var(--muted); margin-bottom: 10px; }
.workbench-help p[lang="en"] { font-size: 14px; }
.workbench-help a { overflow-wrap: anywhere; }
@media (max-width: 900px) {
  .workbench-promo { grid-template-columns: 1fr; gap: 24px; }
  .workbench-promo-action { max-width: 480px; }
  .workbench-help { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 600px) {
  .workbench-promo { padding: 24px 20px; margin-bottom: 38px; }
  .workbench-promo h2 { font-size: 27px; }
  .workbench-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
  .workbench-page-hero { padding-top: 34px; }
  .workbench-page-hero h1 { font-size: 34px; }
  .workbench-page .workbench-steps { padding: 20px 16px; }
  .workbench-launch { grid-template-columns: 1fr; gap: 16px; padding-top: 26px; }
  .workbench-launch .button { width: 100%; }
  .workbench-availability { padding: 16px; }
  .workbench-frame { margin-inline: -8px; border-radius: 8px; }
  .workbench-frame-label { padding: 12px 14px; gap: 5px; }
  .workbench-frame iframe { height: 1500px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

/* Open-Jev-27B-v1.1 release presentation. Historical evidence stays below. */
.launch-hero { gap: 50px; padding-block: 62px 52px; }
.launch-hero h1 { font-size: clamp(44px, 4.4vw, 64px); line-height: 1.08; }
.launch-stats { display: flex; gap: 36px; margin: 28px 0 14px; }
.launch-stats > div { display: grid; gap: 2px; }
.launch-stats strong { font-size: 40px; line-height: 1.2; letter-spacing: -.045em; color: var(--ink); }
.launch-stats strong span { font-size: 24px; color: var(--muted); font-weight: 550; }
.launch-stats > div > span { font-size: 13px; color: var(--muted); }
.launch-scope, .launch-package { font-size: 13px; line-height: 1.7; color: var(--muted); }
.launch-package { margin-bottom: 0; }
.launch-hero .hero-actions { gap: 14px; }
.launch-hero .hero-resource-links { margin-bottom: 15px; }
.launch-demo { background: #f3f3ee; border: 1px solid #cdd8d1; border-radius: 18px; overflow: hidden; box-shadow: 0 16px 50px #122d3510; }
.launch-demo-heading { padding: 26px 28px 16px; }
.launch-demo-heading h2 { font-size: 35px; margin: 15px 0 12px; }
.launch-demo-heading p { font-size: 15px; color: var(--muted); margin-bottom: 0; }
.launch-demo video { width: 100%; display: block; aspect-ratio: 16/9; background: #132d35; }
.launch-demo-footer { padding: 18px 28px 24px; }
.launch-demo-footer p { font-size: 12px; line-height: 1.7; color: var(--muted); }
.launch-demo-footer a { font-size: 14px; }
.launch-results { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr); gap: 38px; align-items: center; padding-block: 28px 56px; }
.launch-results h2 { font-size: 34px; margin: 15px 0 18px; }
.launch-results p { font-size: 16px; color: var(--muted); }
.launch-results p.launch-scope { font-size: 13px; }
.launch-chart { display: block; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.launch-chart img { display: block; width: 100%; height: auto; }
#watch-overview { margin-top: 20px; }
@media (max-width: 1000px) { .launch-hero { gap: 30px; }.launch-stats { gap: 24px; }.launch-stats strong { font-size: 35px; }.launch-results { gap: 24px; } }
@media (max-width: 760px) { .launch-results { grid-template-columns: 1fr; }.launch-hero { padding-top: 38px; }.launch-hero h1 { font-size: clamp(39px, 8vw, 56px); }.launch-demo-heading, .launch-demo-footer { padding-inline: 20px; }.launch-demo-heading h2 { font-size: 30px; }.launch-results h2 { font-size: 30px; }.launch-stats { gap: 28px; } }

/* Recorded v1.1 game decisions. */
.arcade-promo{display:grid;grid-template-columns:1fr 1.2fr;gap:60px;align-items:center;padding-top:64px;padding-bottom:64px;border-top:1px solid var(--line)}
.arcade-promo h2{font-size:clamp(34px,4vw,52px);line-height:1.1;letter-spacing:-.045em;margin:16px 0 20px}
.arcade-promo p{color:var(--muted);max-width:520px}
.arcade-links{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.arcade-links a{display:flex;flex-direction:column;align-items:flex-start;gap:5px;background:#edf5ef;border:1px solid #c9ded0;border-radius:14px;padding:22px;text-decoration:none;color:#133a30;transition:background .15s}
.arcade-links a:hover{background:#dcece1}.arcade-links a>span{font:700 27px var(--mono);min-height:44px;color:#177755}.arcade-links strong{font-size:18px}.arcade-links small{font-size:13px;color:#4c6c5f}.arcade-scope{font-size:12px;line-height:1.7;margin:16px 0 0}
@media(max-width:760px){.arcade-promo{grid-template-columns:1fr;gap:26px;padding-top:40px;padding-bottom:40px}.arcade-links a{padding:16px}.arcade-links strong{font-size:16px}.arcade-links small{font-size:12px}}
