:root { color-scheme: dark; --bg: hsl(240 10% 3.9%); --panel: hsl(240 10% 7%); --panel-2: hsl(240 5% 11%); --panel-3: hsl(240 4% 16%); --text: hsl(0 0% 98%); --muted: hsl(240 5% 64.9%); --faint: hsl(240 4% 46%); --line: hsl(240 4% 16%); --line-strong: hsl(240 4% 25%); --apple: hsl(210 10% 72%); --nvidia: hsl(142 58% 48%); --amd: hsl(0 72% 58%); --accent: hsl(217 91% 60%); --blue: hsl(217 91% 60%); --green: hsl(142 58% 48%); --red: hsl(0 72% 58%); --warning: hsl(38 92% 56%); --shadow: 0 20px 70px rgb(0 0 0 / 0.34); --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px; font-family: "Aptos", "Segoe UI", "Helvetica Neue", ui-sans-serif, system-ui, sans-serif; font-size: 14px; } * { box-sizing: border-box; } html { scroll-behavior: smooth; overflow-x: hidden; } body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.5; overflow-x: hidden; } a { color: inherit; text-decoration-color: color-mix(in oklch, currentColor 45%, transparent); text-underline-offset: 0.18em; } button, input, select { font: inherit; } code { font-family: "Aptos Mono", "SFMono-Regular", Consolas, ui-monospace, monospace; } .site-shell { width: calc(100% - 96px); max-width: 1120px; margin: 0 auto; min-width: 0; } .masthead { padding: var(--space-5) 0 var(--space-6); } .device-header { padding: var(--space-5) 0 var(--space-7); } .top-nav { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); padding: var(--space-3) 0 var(--space-5); border-bottom: 1px solid var(--line); } .wordmark { font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; text-decoration: none; } .nav-links { display: flex; gap: var(--space-5); color: var(--muted); font-size: 0.9rem; } .masthead-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-4); padding-top: var(--space-5); max-width: 760px; } h1, h2, h3, p { margin: 0; } h1 { max-width: 34ch; font-size: 1.55rem; line-height: 1.2; letter-spacing: 0; } h2 { font-size: 1.18rem; line-height: 1.25; letter-spacing: 0; } h3 { font-size: 1rem; line-height: 1.2; } .eyebrow { margin-bottom: var(--space-3); color: var(--accent); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; } .lede { display: grid; gap: var(--space-3); max-width: 72ch; min-width: 0; color: var(--muted); font-size: 0.96rem; line-height: 1.55; } .stat-strip { margin-top: var(--space-5); border: 1px solid var(--line); background: var(--panel); min-width: 0; } .stat-table { width: 100%; border-collapse: collapse; table-layout: fixed; } .stat-table th, .stat-table td { padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; } .stat-table tr:last-child th, .stat-table tr:last-child td { border-bottom: 0; } .stat-table th { width: 72%; background: transparent; color: var(--muted); font-size: 0.92rem; font-weight: 500; letter-spacing: 0; text-transform: none; position: static; } .stat-table td { width: 28%; color: var(--text); font-weight: 800; text-align: right; white-space: nowrap; } .stat-cell { min-width: 0; min-height: 72px; padding: var(--space-4); background: var(--panel); } .stat-value { display: block; color: var(--text); overflow-wrap: anywhere; font-size: 1rem; line-height: 1.2; } .stat-label { display: block; margin-top: var(--space-3); color: var(--muted); font-size: 0.86rem; } main { display: grid; gap: var(--space-6); padding-bottom: var(--space-8); } .section-grid, .symbol-band, .frontier-panel, .database-panel { border-top: 1px solid var(--line); padding-top: var(--space-6); } .section-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-4); max-width: 760px; } .prose { display: grid; gap: var(--space-3); max-width: 72ch; min-width: 0; color: var(--muted); font-size: 0.96rem; line-height: 1.58; } .multi-column { display: grid; } .multi-column p { break-inside: avoid; margin-bottom: var(--space-4); } .symbol-band { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-4); } .symbol-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); } .symbol-list div { padding: var(--space-4); background: var(--panel); } .symbol-list dt { margin-bottom: var(--space-3); font-size: 1rem; font-weight: 900; } .symbol-list dd { margin: 0; color: var(--muted); line-height: 1.45; } .note { grid-column: auto; max-width: 72ch; color: var(--faint); font-size: 0.92rem; line-height: 1.6; } .frontier-panel, .database-panel { display: grid; gap: var(--space-5); min-width: 0; } .panel-heading { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-3); max-width: 760px; } .panel-heading p { color: var(--muted); font-size: 0.96rem; line-height: 1.5; } .control-grid, .table-controls, .bound-controls { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--space-3); align-items: end; } label { display: grid; gap: var(--space-2); color: var(--muted); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; } select, input { width: 100%; min-height: 38px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--panel); color: var(--text); padding: 0 var(--space-3); letter-spacing: 0; text-transform: none; } select[multiple] { min-height: 180px; padding: var(--space-2); } select[multiple] option { border-radius: 4px; padding: var(--space-2); } select:focus, input:focus, button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; } .producer-toggle { display: flex; flex-wrap: wrap; gap: var(--space-2); } .chip { min-height: 38px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--panel); color: var(--muted); padding: 0 var(--space-4); cursor: pointer; } .chip[aria-pressed="true"] { color: var(--text); border-color: color-mix(in oklch, var(--accent) 55%, var(--line-strong)); background: color-mix(in oklch, var(--accent) 12%, var(--panel)); } .chart-host { position: relative; min-height: 430px; border: 1px solid var(--line); background: var(--panel); box-shadow: var(--shadow); overflow: hidden; } .chart-host svg { display: block; width: 100%; height: auto; } .chart-title { padding: var(--space-4) var(--space-4) 0; } .chart-subtitle { margin-top: var(--space-2); color: var(--muted); font-size: 0.86rem; } .tooltip { position: absolute; min-width: 220px; max-width: 360px; pointer-events: none; border: 1px solid var(--line-strong); background: color-mix(in oklch, var(--panel) 96%, transparent); color: var(--text); padding: var(--space-3); box-shadow: var(--shadow); transform: translate(-50%, calc(-100% - 18px)); line-height: 1.35; z-index: 5; } .tooltip strong { display: block; margin-bottom: var(--space-2); } .tooltip span { display: block; color: var(--muted); } .table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--panel); min-width: 0; } table { width: 100%; border-collapse: collapse; font-size: 0.82rem; table-layout: fixed; } th, td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; } th { position: sticky; top: 0; z-index: 1; background: var(--panel-2); color: var(--muted); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; } td { color: var(--muted); overflow-wrap: anywhere; } td strong, .device-link { color: var(--text); } .pill { display: inline-flex; align-items: center; min-height: 24px; border: 1px solid var(--line-strong); border-radius: 999px; padding: 2px 8px; color: var(--muted); font-size: 0.76rem; white-space: nowrap; } .estimate-mark { color: var(--accent); font-weight: 900; margin-left: var(--space-1); } .producer-Apple { color: var(--apple); } .producer-NVIDIA { color: var(--nvidia); } .producer-AMD { color: var(--amd); } .back-link { display: inline-flex; margin-top: var(--space-5); margin-bottom: var(--space-5); color: var(--muted); font-size: 0.9rem; } .device-header h1 { max-width: 42ch; font-size: 1.45rem; line-height: 1.2; } .device-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-5); align-items: start; min-width: 0; } .detail-block { display: grid; gap: var(--space-4); border-top: 1px solid var(--line); padding-top: var(--space-5); min-width: 0; } .detail-card { border: 1px solid var(--line); background: var(--panel); padding: var(--space-4); min-width: 0; } .result-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); min-width: 0; } .bounds-result { display: grid; gap: var(--space-4); } .compare-builder { display: grid; gap: var(--space-4); } #compareReactRoot:empty { display: none; } #acceleratorReactRoot:empty { display: none; } #compareResultReactRoot:empty { display: none; } #modelsReactRoot:empty { display: none; } #modelDetailReactRoot:empty { display: none; } #hardwareReactRoot:empty { display: none; } #homeReactRoot:empty { display: none; } #systemReactRoot:empty { display: none; } #deviceReactRoot:empty { display: none; } body[data-react-accelerator="true"] #acceleratorPage .accelerator-legacy { display: none; } body[data-react-compare="true"] #comparePage .compare-vector { display: none; } body[data-react-compare="true"] #comparePage .compare-assumptions { display: none; } body[data-react-compare-result="true"] #boundsResult { display: none; } body[data-react-models="true"] #modelsPage .model-legacy { display: none; } body[data-react-model-detail="true"] #modelsPage .model-detail-legacy { display: none; } body[data-react-hardware="true"] .hardware-legacy { display: none; } body[data-react-home="true"] .home-legacy { display: none; } body[data-react-device="true"] #devicePage .device-legacy { display: none; } body[data-react-system="true"] #systemPage .system-legacy { display: none; } .compare-builder h2 { font-size: 1.08rem; } .compare-vector { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: var(--space-4); align-items: stretch; } .compare-column { display: grid; gap: var(--space-3); min-width: 0; } .compare-column h3 { margin: 0; color: var(--text); font-size: 1rem; } .compare-picker-wrap { position: relative; z-index: 1; } .compare-picker-wrap:focus-within { z-index: 20; } .compare-times { display: flex; align-items: center; justify-content: center; align-self: stretch; width: 42px; color: var(--accent); font-size: 2.2rem; font-weight: 800; line-height: 1; } .compare-picker { min-height: 48px; font-size: 1rem; font-weight: 700; } .compare-suggestions { display: grid; position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0; max-height: 260px; overflow-y: auto; border: 1px solid var(--line-strong); background: var(--panel-2); box-shadow: 0 18px 40px rgb(0 0 0 / 0.35); } .compare-suggestions[hidden] { display: none; } .compare-suggestion { display: grid; gap: var(--space-1); width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--text); padding: 12px 14px; text-align: left; cursor: pointer; } .compare-suggestion:last-child { border-bottom: 0; } .compare-suggestion:hover, .compare-suggestion.is-active { background: color-mix(in oklch, var(--accent) 13%, transparent); } .compare-suggestion strong { overflow: hidden; font-size: 0.96rem; text-overflow: ellipsis; white-space: nowrap; } .compare-suggestion span, .compare-selected-row small, .compare-no-suggestions, .compare-empty { color: var(--muted); font-size: 0.82rem; } .compare-selected-list { display: grid; gap: var(--space-2); } .compare-selected-row { display: grid; grid-template-columns: minmax(0, 1fr) 40px; gap: var(--space-2); align-items: center; min-height: 56px; border: 1px solid var(--line); background: var(--panel-2); padding: 8px; } .compare-selected-check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--space-3); align-items: center; min-width: 0; color: var(--text); font-size: 0.98rem; letter-spacing: 0; text-transform: none; } .compare-selected-check input { width: 20px; min-height: 20px; accent-color: var(--accent); } .compare-selected-check span { display: grid; gap: 2px; min-width: 0; } .compare-selected-check strong, .compare-selected-check small { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .compare-selected-check * { min-width: 0; } .compare-remove { width: 36px; min-height: 36px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); cursor: pointer; font-size: 1.35rem; line-height: 1; } .compare-remove:hover { color: var(--text); background: color-mix(in oklch, var(--accent) 12%, transparent); } .compare-no-suggestions, .compare-empty { border: 1px dashed var(--line); padding: var(--space-3); } .compare-assumptions { padding-top: var(--space-3); border-top: 1px solid var(--line); } .bound-warning { display: grid; gap: var(--space-2); border: 1px solid color-mix(in oklch, var(--warning) 50%, var(--line)); background: color-mix(in oklch, var(--warning) 9%, var(--panel)); padding: var(--space-3) var(--space-4); color: var(--text); } .bound-warning p { color: var(--text); font-size: 0.9rem; } .compare-table table { min-width: 1180px; } .detail-list { display: grid; gap: var(--space-3); margin: 0; } .metric-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); } .metric-list div { display: grid; gap: var(--space-2); min-width: 0; padding: var(--space-3); background: var(--panel-2); } .metric-list dt { color: var(--faint); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; } .metric-list dd { margin: 0; color: var(--text); font-size: 1rem; font-weight: 800; overflow-wrap: anywhere; } .detail-list div { display: grid; grid-template-columns: 160px 1fr; gap: var(--space-4); } .detail-list dt { color: var(--faint); } .detail-list dd { margin: 0; color: var(--muted); } .source-list { display: grid; gap: var(--space-3); margin: 0; padding: 0; list-style: none; } .source-list li { color: var(--muted); font-size: 0.92rem; line-height: 1.45; } .action-link { display: inline-flex; align-items: center; min-height: 38px; border: 1px solid var(--line-strong); border-radius: 6px; background: color-mix(in oklch, var(--accent) 12%, var(--panel)); color: var(--text); padding: 0 var(--space-4); text-decoration: none; } .model-note { margin-top: var(--space-4); } .empty { padding: var(--space-6); color: var(--muted); } @media (max-width: 980px) { .masthead-grid, .section-grid, .symbol-band, .panel-heading, .device-main, .result-grid { grid-template-columns: 1fr; } .note { grid-column: auto; } .symbol-list, .control-grid, .table-controls, .bound-controls, .metric-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .compare-vector { grid-template-columns: 1fr; } .compare-times { width: 100%; min-height: auto; padding: var(--space-1) 0; } } @media (max-width: 640px) { .site-shell { width: calc(100% - 32px); } .top-nav, .nav-links { align-items: flex-start; flex-direction: column; } .symbol-list, .control-grid, .table-controls, .bound-controls, .metric-list { grid-template-columns: 1fr; } .compare-selected-row { grid-template-columns: minmax(0, 1fr) 38px; } .chart-host { min-height: 360px; overflow-x: auto; overflow-y: hidden; } .chart-host svg { min-width: 700px; } .detail-list div { grid-template-columns: 1fr; gap: var(--space-1); } table { font-size: 0.82rem; } .table-wrap { overflow-x: visible; } table:not(.stat-table), table:not(.stat-table) thead, table:not(.stat-table) tbody, table:not(.stat-table) tr, table:not(.stat-table) th, table:not(.stat-table) td { display: block; } table:not(.stat-table) thead { display: none; } table:not(.stat-table) tr { border-bottom: 1px solid var(--line); padding: var(--space-3); } table:not(.stat-table) td { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: var(--space-3); border-bottom: 0; padding: var(--space-2) 0; } table:not(.stat-table) td::before { content: attr(data-label); color: var(--faint); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; } } @media (max-width: 420px) { table:not(.stat-table) td { grid-template-columns: 1fr; gap: var(--space-1); } }