:root {
  --accent: #e6b56b;
  --accent-2: #e8d3a3;
  --accent-ink: #211707;
  --accent-soft: rgba(230, 181, 107, .1);
  --glow: rgba(230, 181, 107, .22);
}
[data-theme="light"] {
  --accent: #886021;
  --accent-2: #746331;
  --accent-ink: #fff;
  --accent-soft: rgba(136, 96, 33, .08);
}
.site-header .wrap { gap: 20px; }
.site-nav { gap: 22px; }
.hero { padding: clamp(58px, 8vw, 110px) 0 56px; }
.hero-top { display: grid; grid-template-columns: 1.3fr 1fr; align-items: end; gap: 36px; }
.hero h1 { font-size: clamp(48px, 7.2vw, 92px); }
.hero .lede { margin: 0; max-width: 440px; }
.hero .actions { margin-top: 24px; }
.drawing { margin: 46px 0 0; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-lg); overflow: hidden; }
.drawing-top { padding: 18px 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-bottom: 1px solid var(--line); color: var(--muted); font: 11px/1.5 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.drawing svg { width: 100%; height: auto; }
.overview-mobile { display: none; }
.drawing figcaption { padding: 16px 24px; color: var(--muted); border-top: 1px solid var(--line); font-size: 13px; }
.drawing figcaption p { margin: 0; }
.technical { fill: var(--text); font: 14px var(--font-mono); }
.technical-small { fill: var(--muted); font: 11px var(--font-mono); }
.hull { fill: var(--surface-3); stroke: var(--accent); stroke-width: 1.4; }
.chassis { fill: var(--text-2); }
.glass { fill: var(--bg); stroke: var(--text-2); stroke-width: 1; }
.wheel { fill: var(--bg); stroke: var(--muted); stroke-width: 2; }
.hub { fill: var(--surface-3); stroke: var(--text-2); stroke-width: 1; }
.dim-line { stroke: var(--accent); stroke-width: .8; fill: none; }
.ground { stroke: var(--line-strong); stroke-width: 1; }
.secondary { stroke: var(--muted); stroke-width: 1; fill: none; }
.diagram-grid { stroke: var(--line); stroke-width: .5; }
.concepts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.concepts article { display: flex; flex-direction: column; padding: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.concepts .number { color: var(--accent); font: 12px var(--font-mono); }
.concepts h2 { margin: 22px 0 12px; font-size: clamp(26px, 3vw, 38px); font-weight: 550; letter-spacing: -.035em; line-height: 1.1; }
.concepts p { color: var(--text-2); margin: 0 0 18px; max-width: 480px; }
.concepts a { margin-top: auto; font-size: 14px; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 10px 0 24px; padding: 22px 0; border-block: 1px solid var(--line); }
.specs dt { font-size: 12px; color: var(--muted); margin-bottom: 5px; }
.specs dd { margin: 0; font: 500 21px/1.25 var(--font-mono); }
.note { border-left: 2px solid var(--accent); padding: 0 0 0 18px; color: var(--text-2); font-size: 15px; margin: 24px 0; }
.note p { margin: 0; }
.section-head { margin-bottom: 36px; }
.section-head .headline { font-size: clamp(34px, 4.4vw, 58px); max-width: 720px; }
.content-split { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(26px, 6vw, 80px); align-items: start; }
.content-split h3 { font-size: 22px; margin: 0 0 14px; letter-spacing: -.02em; font-weight: 550; }
.content-split p { color: var(--text-2); margin: 0 0 18px; }
.calc { padding: 28px; border-radius: var(--r-lg); border: 1px solid var(--line-strong); background: var(--surface); }
.calc h3 { font-size: 20px; margin: 0 0 8px; }
.calc .fine { margin: 0 0 20px; }
.calc-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.calc label { display: block; font-size: 13px; color: var(--text-2); }
.calc input, .calc select { display: block; width: 100%; padding: 10px 12px; margin-top: 8px; border: 1px solid var(--line-strong); background: var(--bg); border-radius: var(--r-sm); font: 15px var(--font-mono); }
.calc .seg { margin-top: 10px; border-radius: 12px; }
.calc .seg button { font-size: 12px; border-radius: 8px; }
.calc-output { padding: 20px 0 0; margin-top: 24px; border-top: 1px solid var(--line); }
.calc-output strong { display: block; font: 500 34px/1.2 var(--font-mono); letter-spacing: -.04em; }
.calc-output p { margin: 8px 0 0; font-size: 14px; color: var(--text-2); }
.calc-output [data-fail="true"] { color: var(--danger); }
.calc-output [data-fail="false"] { color: var(--ok); }
.calculator-only { display: none; }
.js .calculator-only { display: block; }
.table-wrap { border: 1px solid var(--line-strong); border-radius: var(--r-md); overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: left; }
caption { text-align: left; padding: 18px; color: var(--text-2); font-size: 13px; background: var(--surface); }
th, td { padding: 17px 20px; vertical-align: top; border-bottom: 1px solid var(--line); }
thead { color: var(--muted); background: var(--surface); }
th { font-weight: 550; }
td { color: var(--text-2); }
tr:last-child td, tr:last-child th { border-bottom: 0; }
td a { color: var(--accent); text-underline-offset: 4px; }
td small, th small { display: block; color: var(--muted); margin-top: 5px; font-weight: 400; font-size: 12px; }
.market-table { min-width: 650px; }
.axle-figure { margin: 28px 0; }
.axle-figure svg { min-width: 680px; }
.axle-figure .scroll-x { padding: 22px 12px 0; }
.figure-controls { padding: 18px 24px 0; }
.figure-controls button { font-size: 12px; }
.layout-stats { display: flex; flex-wrap: wrap; gap: 20px 40px; padding: 22px 24px; border-top: 1px solid var(--line); }
.layout-stats b { font: 500 21px var(--font-mono); display: block; }
.layout-stats span { color: var(--muted); font-size: 12px; }
.requirements { list-style: none; padding: 0; margin: 0; counter-reset: requirement; }
.requirements li { padding: 20px 0 20px 40px; border-bottom: 1px solid var(--line); position: relative; color: var(--text-2); font-size: 15px; counter-increment: requirement; }
.requirements li::before { content: "0" counter(requirement); position: absolute; left: 0; top: 22px; color: var(--accent); font: 11px var(--font-mono); }
.requirements b { display: block; color: var(--text); margin-bottom: 5px; font-weight: 550; }
.sources { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px; margin: 30px 0 0; padding: 0; list-style: none; }
.sources a { font-size: 14px; color: var(--text-2); text-underline-offset: 4px; }
.sources span { font-size: 12px; color: var(--muted); display: block; margin-top: 3px; }
.status-strip { margin-top: 32px; }
.faq { margin-top: 56px; }
.site-footer .wrap { align-items: center; }
.site-footer p { margin: 0; }
@media (max-width: 860px) {
  .hero-top, .content-split { grid-template-columns: 1fr; }
  .hero .lede { max-width: 620px; }
}
@media (max-width: 640px) {
  .concepts, .sources { grid-template-columns: 1fr; }
  .concepts article, .calc { padding: 24px; }
  .calc-fields { gap: 14px; }
  .drawing-top { padding: 16px; }
  .overview-drawing { display: none; }
  .overview-mobile { display: block; }
  .hero { padding-top: 44px; }
  .band { padding: 64px 0; }
  .site-nav { display: flex; gap: 15px; }
  .site-nav a { font-size: 12px; }
  .site-nav a:last-child { display: none; }
  .site-header .wrap { gap: 12px; }
  .brand small { display: none; }
  .header-actions { margin-left: 0; }
}
@media (max-width: 380px) {
  .site-nav { gap: 10px; }
  .brand { font-size: 17px; }
  .site-header .wrap { gap: 10px; }
  .calc-fields { grid-template-columns: 1fr; }
}
