/* tokens.css — Designer. Turbonova Energy: ENGINEERING-GRADE, dark-first, technical.
   Palette: graphite-black pages, steel-blue bands, ONE accent: heat amber (#ff9d1c) that reads as "running hot".
   Cool cyan (#5cc8ff) only as a thin data colour. No images: gauges, blueprint grid and spec rows are pure CSS.
   Contrast (computed): text 16.5, muted 8.4 (6.6 on surface-2), amber 9.2 (7.3 on surface-2), dark-on-amber 9.1,
   white on steel band 14.7, muted on band 8.2, form borders 4.9 / 3.9 (need 3).
   Type: tight heavy system sans for display, uppercase mono for labels and figures. Motion: one easing, 400-900 ms, 60 ms stagger. */
:root {
  /* palette */
  --bg: #0b0f14;
  --surface: #131b24;
  --surface-2: #1c2733;
  --text: #e9eef3;             /* 16.5:1 on --bg */
  --text-muted: #9fadbb;       /* 8.4:1 on --bg */
  --line: #2a3745;
  --field-line: #6f8396;       /* field and stepper borders: 4.9:1 on --bg, 3.9 on --surface-2 (needs 3:1) */
  --dark: #142a3d;             /* steel-blue band */
  --dark-2: #0e1e2d;
  --on-dark: #ffffff;          /* 14.7:1 on --dark */
  --on-dark-muted: #b4c4d3;    /* 8.2:1 on --dark */
  --accent: #ff9d1c;           /* heat amber: 9.2:1 on --bg */
  --accent-strong: #ffb85c;           /* hover */
  --accent-soft: rgba(255, 157, 28, .14);
  --accent-on-dark: #ff9d1c;   /* 7.1:1 on --dark */
  --on-accent: #1a0f00;        /* 9.1:1 on --accent */
  --cool: #5cc8ff;             /* data cyan, 10.2:1 on --bg */
  --success: #4fd68f;          /* 10.4:1 */
  --danger: #ff7a86;           /* 7.7:1 */
  --warn-bg: #3a2705;
  --warn-text: #ffd89a;
  --focus: #6cd0ff;            /* 11.1:1 */
  --focus-on-dark: #ffd24a;

  /* type */
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --fw-display: 800;
  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: clamp(1.2rem, 1rem + .8vw, 1.5rem);
  --fs-step: clamp(1.5rem, 1.05rem + 1.8vw, 2.6rem);
  --fs-h2: clamp(2rem, 1.1rem + 4.2vw, 4.75rem);
  --fs-h1: clamp(2.6rem, 1.2rem + 7vw, 7.5rem);
  --fs-giant: clamp(5rem, 2rem + 17vw, 18rem);
  --lh-tight: .98;
  --lh-snug: 1.15;
  --lh-body: 1.6;
  --track-display: -.045em;
  --track-h2: -.035em;
  --track-label: .14em;
  --measure: 65ch;

  /* spacing, shape, depth: machined, small radii */
  --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem;
  --space-5: 1.5rem; --space-6: 2rem; --space-7: 3rem; --space-8: 4.5rem;
  --section: clamp(5rem, 12vw, 10rem);
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --radius-sm: .3rem; --radius: .6rem; --radius-lg: 1rem; --radius-pill: 999px;
  --border: 1px solid var(--line);
  --rule: 1px solid var(--line);
  --shadow-sm: 0 0 0 1px var(--line), 0 4px 12px rgba(0, 0, 0, .4);
  --shadow: 0 0 0 1px var(--line), 0 14px 36px rgba(0, 0, 0, .5);
  --shadow-lg: 0 0 0 1px var(--line), 0 30px 80px rgba(0, 0, 0, .6), 0 0 70px rgba(255, 157, 28, .10);
  --glow: radial-gradient(55% 60% at 50% 40%, rgba(255, 157, 28, .24), rgba(92, 200, 255, .08) 50%, transparent 72%);
  --gradient-text: linear-gradient(100deg, #ff9d1c 0%, #ffd27a 50%, #ff9d1c 100%);
  --gradient-text-dark: linear-gradient(100deg, #ff9d1c 0%, #ffe3ad 50%, #ff9d1c 100%);

  /* CSS-only technical accents */
  --blueprint: linear-gradient(rgba(92, 200, 255, .07) 1px, transparent 1px) 0 0 / 40px 40px,
               linear-gradient(90deg, rgba(92, 200, 255, .07) 1px, transparent 1px) 0 0 / 40px 40px;
  --ticks: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 10px);

  /* motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur-fast: 400ms;
  --dur: 650ms;
  --dur-slow: 900ms;
  --stagger: 60ms;
  --rise: 1.25rem;
  --blur-in: 6px;
}

@media (prefers-reduced-motion: reduce) {
  :root { --dur-fast: 0ms; --dur: 0ms; --dur-slow: 0ms; --stagger: 0ms; --rise: 0; --blur-in: 0; }
}

:root { color-scheme: dark; }

/* ---- vocabulary any page can use (all visible without JS) ---- */
.text-gradient {
  background: var(--gradient-text);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.band--dark .text-gradient { background-image: var(--gradient-text-dark); }
.glow { background-image: var(--glow); }
.blueprint { background-image: var(--blueprint); }

/* uppercase mono label: SERVICE INTERVAL · 8,000 H */
.label, .eyebrow {
  font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: var(--track-label);
  text-transform: uppercase; color: var(--accent); font-weight: 600;
}
.num, .mono, .price { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* spec row: label left, figure right, hairline between */
.spec { display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-3) 0; border-bottom: 1px solid var(--line); }
.spec > :first-child { color: var(--text-muted); }
.spec > :last-child { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* ruler strip (decorative: aria-hidden) */
.ticks { height: 10px; background-image: var(--ticks); border-bottom: 1px solid var(--line); }

/* gauge ring: set --v from 0 to 100 (decorative figure beside real text) */
.dial {
  --v: 70; width: 8rem; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, var(--surface) 76%, transparent 78%),
              conic-gradient(var(--accent) calc(var(--v) * 1%), var(--surface-2) 0);
}

/* keyboard focus stays visible on the steel bands and footer */
.band--dark, .site-footer { --focus: var(--focus-on-dark); }
