/* Steel Highway — placeholder styles. The real visual design comes with the vehicle designer. */
:root {
  --bg: #121417; --panel: #1c2026; --panel-2: #232830; --line: #343b45;
  --text: #e8e6e3; --muted: #9aa1a9; --accent: #e8a33d; --accent-2: #d9572b;
  --ok: #4caf7a; --err: #e05252;
}
* { box-sizing: border-box; }
html { color-scheme: dark; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--accent); }
h1, h2 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); letter-spacing: -.01em; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 12px 16px; background: var(--panel); border-bottom: 2px solid var(--accent); }
.brand { color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.site-nav a { text-decoration: none; }
.site-main { max-width: 960px; margin: 0 auto; padding: 32px 16px 48px; }
.site-footer { max-width: 960px; margin: 0 auto; padding: 24px 16px; color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 700; margin: 0 0 8px; }
.lede { font-size: 1.15rem; max-width: 60ch; color: #cfcac4; }
.hero { padding: 32px 0; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 24px; margin: 16px 0; }
.narrow { max-width: 460px; margin-left: auto; margin-right: auto; }
.field { margin: 0 0 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field input { width: 100%; padding: 10px 12px; font: inherit; color: var(--text); background: var(--panel-2);
  border: 1px solid var(--line); border-radius: 6px; }
.field input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.field.has-error input { border-color: var(--err); }
.hint { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.error { margin: 6px 0 0; font-size: 14px; color: var(--err); }
.button { display: inline-block; padding: 10px 18px; font: inherit; font-weight: 700; color: #1a1306; background: var(--accent);
  border: 0; border-radius: 6px; cursor: pointer; text-decoration: none; }
.button:hover { filter: brightness(1.08); }
.button-small { padding: 6px 12px; font-size: 14px; }
.button-ghost { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); cursor: pointer; }
.inline-form { display: inline; margin: 0; }
.flash { padding: 12px 16px; border-radius: 6px; margin: 0 0 16px; border-left: 4px solid var(--accent); background: var(--panel-2); }
.flash-success { border-color: var(--ok); }
.flash-error { border-color: var(--err); }
.motto { font-style: italic; color: var(--muted); margin-top: -.25em; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 24px 0; }
.stats div { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; }
.stats dt { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.stats dd { margin: 4px 0 0; font-size: 1.5rem; font-weight: 700; font-variant-numeric: tabular-nums; }
