/* =========================================================
   Corventa
   Concept: the workshop drawing. The hero is a lit machine screen,
   red is the profile being bent, marker yellow is measurement,
   Nardo grey is the machine linework and the brand's mid tone.
   One bold moment: the hero drawing. Everything else is quiet.
   ========================================================= */
:root {
  --nardo: #6c6e70;        /* the machine finish */
  --nardo-deep: #5d5f61;
  --steel: #2f3234;        /* dark sections, ink on paper */
  --steel-deep: #26282a;
  --night: #17191b;        /* hero: the drawing as a lit screen */
  --night-lift: #25282b;
  --paper: #e3e4e2;        /* cool drawing paper, not cream */
  --white: #f9f9f8;
  --red: #d7261e;          /* the profile, the call to action */
  --red-dark: #b31d16;
  --marker: #f2c230;       /* measurement marks, tolerance */

  --ink: var(--steel);
  --ink-soft: #55595c;
  --on-dark: #f4f4f3;
  --on-dark-soft: #c9cbcc;
  --rule-light: rgba(47, 50, 52, .18);
  --rule-dark: rgba(255, 255, 255, .16);

  --font: "Archivo", system-ui, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --band-y: clamp(80px, 11vw, 140px);
  --r-sm: 3px;
  --r-md: 6px;
  --ease: cubic-bezier(.3, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17.5px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--night);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-variant-numeric: tabular-nums;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
p, h1, h2, h3, h4, dl, dd, figure { margin: 0; }
:focus-visible { outline: 3px solid var(--marker); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type scale (1.25 ratio, display set expanded) ---------- */
h1, .h2, .h3, h3, h4 { font-stretch: 112%; letter-spacing: -.01em; line-height: 1.05; }
h1 { font-size: clamp(38px, 4.5vw, 66px); font-weight: 800; font-stretch: 118%; letter-spacing: -.02em; line-height: .98; }
.h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 750; max-width: 15em; }
.h3 { font-size: clamp(23px, 2.2vw, 29px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 700; }
.prose { margin-top: 22px; max-width: 34em; font-size: clamp(17px, 1.35vw, 19px); color: var(--ink-soft); }
.prose a { color: var(--red); font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 24px; border-radius: var(--r-sm); border: 2px solid transparent;
  font-weight: 700; font-stretch: 108%; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn svg { width: 16px; height: 16px; fill: currentColor; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-line { background: transparent; color: var(--on-dark); border-color: rgba(255,255,255,.55); }
.btn-line:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-steel { background: var(--steel); color: #fff; }
.btn-steel:hover { background: #000; }
.btn-sm { padding: 10px 16px; font-size: 14.5px; }
.btn-block { width: 100%; }
.text-link { font-weight: 700; color: #fff; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--marker); }
.text-link:hover { text-decoration-color: #fff; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .25s, box-shadow .25s; }
.site-header.scrolled { background: var(--steel); box-shadow: 0 1px 0 var(--rule-dark); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--on-dark); text-decoration: none; }
.brand-mark { width: 38px; height: 38px; }
.brand-mark text { font-family: var(--font); }
.brand-word { font-weight: 700; font-stretch: 125%; font-size: 19px; letter-spacing: .02em; }
.main-nav { display: flex; gap: 24px; margin-left: auto; }
.main-nav a { color: var(--on-dark-soft); text-decoration: none; font-size: 15px; font-weight: 500; }
.main-nav a:hover { color: #fff; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(1100px 600px at 75% 40%, var(--night-lift) 0%, var(--night) 60%); color: var(--on-dark); padding: 132px 0 0; position: relative; }
.hero::before { /* faint drawing-sheet grid */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 40px 40px;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero .lead { margin-top: 26px; max-width: 30em; font-size: clamp(17px, 1.45vw, 20px); color: #b4b7b9; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-drawing { position: relative; }
#bendDrawing { width: 100%; height: auto; overflow: visible; }
#bendDrawing .roll { fill: #222427; stroke: #b9bcbe; stroke-width: 2; }
#bendDrawing .roll-hub { fill: none; stroke: #8e9193; stroke-width: 1.5; }
#bendDrawing .center { stroke: #8e9193; stroke-width: 1; stroke-dasharray: 10 3 2 3; }
#bendDrawing .profile { fill: none; stroke: var(--red); stroke-width: 12; stroke-linecap: butt; filter: drop-shadow(0 0 10px rgba(215,38,30,.65)); }
#bendDrawing .profile-edge { fill: none; stroke: rgba(0,0,0,.25); stroke-width: 1; }
#bendDrawing .gauge { fill: none; stroke: var(--marker); stroke-width: 2; }
#bendDrawing .gauge-pt { fill: var(--marker); transition: r .2s; filter: drop-shadow(0 0 6px rgba(242,194,48,.9)); }
#bendDrawing .gauge.flash .gauge-pt, #bendDrawing .flash { r: 7; }
#bendDrawing .dim { stroke: var(--on-dark); stroke-width: 1; fill: none; }
#bendDrawing .dim-text { fill: var(--on-dark); font-family: var(--font); font-size: 15px; font-weight: 600; font-stretch: 100%; }
#bendDrawing .dim-text.marker { fill: var(--marker); }
#bendDrawing .travel { stroke: var(--marker); stroke-width: 1.5; fill: none; marker-end: url(#arrow); }

.hero-drawing figcaption { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: flex-end; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--rule-dark); }
.readout { display: grid; gap: 2px; }
.ro-label { font-size: 13px; color: var(--on-dark-soft); }
.readout b { font-size: 21px; font-weight: 700; font-stretch: 100%; }
.readout small { font-size: 14px; font-weight: 500; color: var(--on-dark-soft); }
.readout-status b { color: var(--marker); }
.replay { margin-left: auto; background: none; border: 1px solid rgba(255,255,255,.4); color: var(--on-dark); border-radius: var(--r-sm); padding: 7px 14px; font-size: 14px; font-weight: 600; }
.replay:hover { border-color: #fff; }

.hero-base { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px 40px; flex-wrap: wrap; margin-top: clamp(48px, 6vw, 80px); padding-top: 22px; padding-bottom: 26px; border-top: 1px solid var(--rule-dark); }
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 36px; font-size: 15px; color: #b4b7b9; }
.facts b { color: #fff; font-weight: 700; font-size: 17px; }
.works-on { font-size: 15px; color: #b4b7b9; max-width: 32em; }

/* ---------- Bands ---------- */
.band { padding: var(--band-y) 0; }
.band-paper { background: var(--paper); }
.band-white { background: var(--white); }
.band-nardo { background: var(--nardo); color: var(--on-dark); }
.band-nardo .prose { color: var(--on-dark-soft); }
.band-steel { background: var(--steel); color: var(--on-dark); }
.band-steel .prose { color: var(--on-dark-soft); }
.band-red { background: var(--red); color: #fff; }

/* Problem */
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.scrap-figure svg { width: 100%; height: auto; }
.scrap-figure path { fill: none; stroke-width: 9; }
.scrap path:first-child { stroke: #9a9c9e; }
.scrap .x { stroke: var(--red); stroke-width: 3; }
.good path:first-child { stroke: var(--red); }
.good .tick { stroke: var(--steel); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.scrap-figure text { font-family: var(--font); font-size: 15px; font-weight: 600; text-anchor: middle; fill: var(--ink-soft); }
.good text { fill: var(--ink); font-weight: 800; }

/* Steps: a real sequence, so numbered */
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 58px; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid var(--steel); font-weight: 800; font-size: 16px;
}
.steps li::after { content: ""; position: absolute; top: 19px; left: 48px; right: -18px; height: 2px; background: var(--rule-light); }
.steps li:last-child::after { display: none; }
.steps li:last-child::before { background: var(--red); border-color: var(--red); color: #fff; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--ink-soft); font-size: 16px; }

/* Simulation */
.sim { margin-top: clamp(64px, 8vw, 104px); display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.sim-copy > p { margin-top: 16px; color: var(--ink-soft); }
.sim-controls { margin-top: 30px; display: grid; gap: 10px; }
.sim-label { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; font-weight: 600; margin-top: 10px; }
.sim-label output { font-size: 22px; font-weight: 800; color: var(--steel); }
.sim-hint { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--ink-soft); margin-top: -2px; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--marker) var(--p, 27%), #cfd0ce var(--p, 27%)); outline-offset: 6px; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--steel); border: 4px solid var(--marker); cursor: grab; }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--steel); border: 4px solid var(--marker); cursor: grab; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); border: 2px solid var(--steel); border-radius: var(--r-sm); overflow: hidden; }
.seg button { border: 0; background: transparent; color: var(--ink); padding: 11px 8px; font-size: 14px; font-weight: 600; line-height: 1.25; }
.seg button + button { border-left: 2px solid var(--steel); }
.seg button[aria-checked=true] { background: var(--steel); color: #fff; }
.seg button:not([aria-checked=true]):hover { background: rgba(47,50,52,.08); }
.sim-panel { background: var(--steel); color: var(--on-dark); border-radius: var(--r-md); padding: 20px 20px 16px; min-width: 0; }
.sim-head { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--on-dark-soft); }
.sim-status { font-weight: 700; color: var(--marker); }
.sim-foot { font-size: 13px; color: var(--on-dark-soft); margin-top: 8px; }
#simChart { width: 100%; height: auto; margin-top: 8px; }
#simChart .grid line { stroke: rgba(255,255,255,.08); }
#simChart .axis text { fill: var(--on-dark-soft); font-family: var(--font); font-size: 11px; }
#simChart .band-rect { fill: rgba(242,194,48,.16); stroke: var(--marker); stroke-dasharray: 5 4; transition: y .4s var(--ease), height .4s var(--ease); }
#simChart .zero { stroke: var(--marker); stroke-width: 1.2; }
#simChart .trace { fill: none; stroke: var(--red); stroke-width: 3; stroke-linejoin: round; }
#simChart .pt { fill: var(--steel); stroke: var(--red); stroke-width: 3; }
#simChart .pt.ok { fill: var(--marker); stroke: var(--marker); }
#simChart .band-label { fill: var(--marker); font-family: var(--font); font-size: 11.5px; font-weight: 600; }

/* Fleet */
.fleet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.fleet-points { margin-top: 36px; display: grid; grid-template-columns: auto; gap: 4px; }
.fleet-points dt { font-weight: 700; font-size: 17.5px; color: #fff; margin-top: 14px; padding-left: 22px; position: relative; }
.fleet-points dt::before { content: ""; position: absolute; left: 0; top: .45em; width: 10px; height: 10px; background: var(--marker); }
.fleet-points dd { color: var(--on-dark-soft); padding-left: 22px; font-size: 16px; }
.fleet-visual svg { width: 100%; height: auto; overflow: visible; }
.fleet-visual figcaption { text-align: center; font-size: 14px; color: var(--on-dark-soft); margin-top: 6px; }
#fleetNet .link { stroke: rgba(255,255,255,.22); stroke-width: 1.2; stroke-dasharray: 4 4; }
#fleetNet .node { cursor: pointer; }
#fleetNet .node .hit { fill: transparent; }
#fleetNet .node .core { fill: var(--steel); stroke: var(--on-dark); stroke-width: 2; transition: fill .25s, stroke .25s; }
#fleetNet .node:hover .core, #fleetNet .node:focus-visible .core { stroke: var(--marker); }
#fleetNet .node.active .core { fill: var(--red); stroke: var(--red); }
#fleetNet .node.learned .core { stroke: var(--marker); stroke-width: 4; }
#fleetNet .node text { fill: var(--on-dark-soft); font-family: var(--font); font-size: 12px; text-anchor: middle; }
#fleetNet .node:focus { outline: none; }
#fleetNet .hub-disc { fill: var(--steel); stroke: var(--marker); stroke-width: 2.5; }
#fleetNet .hub-text { fill: #fff; font-family: var(--font); font-size: 17px; font-weight: 800; font-stretch: 120%; text-anchor: middle; }
#fleetNet .hub-sub { fill: var(--marker); font-family: var(--font); font-size: 13px; font-weight: 600; text-anchor: middle; }
#fleetNet .packet { fill: var(--marker); }
#fleetNet .packet.up { fill: var(--red); stroke: #fff; stroke-width: 1.5; }

/* OEM */
.oem-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.oem-statement { margin-top: 32px; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.3; font-weight: 600; max-width: 18em; padding-left: 22px; border-left: 6px solid var(--red); }
.oem-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 44px 36px; }
.oem-list svg { width: 30px; height: 30px; fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.oem-list h3 { margin-bottom: 8px; }
.oem-list p { color: var(--ink-soft); font-size: 16px; }

/* Integration */
.int-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: end; }
.int-intro .prose { margin-top: 0; }
.int-table { margin-top: 56px; border-top: 2px solid var(--on-dark); }
.int-row { display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: 20px; padding: 18px 4px; border-bottom: 1px solid var(--rule-dark); font-size: 16px; color: var(--on-dark-soft); align-items: baseline; }
.int-row b { color: #fff; font-weight: 700; font-size: 17px; }
.int-head { font-size: 14px; font-weight: 600; color: var(--on-dark-soft); padding-top: 12px; padding-bottom: 12px; }
.by-c { color: #fff; font-weight: 600; position: relative; padding-left: 18px; }
.by-c::before { content: ""; position: absolute; left: 0; top: .45em; width: 9px; height: 9px; border-radius: 50%; background: var(--red); }
.by-o { color: #fff; font-weight: 600; position: relative; padding-left: 18px; }
.by-o::before { content: ""; position: absolute; left: 0; top: .45em; width: 9px; height: 9px; border-radius: 50%; border: 2px solid #fff; }
.path-title { margin-top: 80px; }
.path { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: p; }
.path li { counter-increment: p; position: relative; padding: 52px 24px 0 0; display: grid; gap: 4px; }
.path li::before { content: counter(p); position: absolute; top: 0; left: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--on-dark); color: var(--steel); font-weight: 800; font-size: 15px; z-index: 1; }
.path li::after { content: ""; position: absolute; top: 15px; left: 0; right: 0; height: 2px; background: var(--rule-dark); }
.path li:last-child::before { background: var(--marker); }
.path b { font-size: 18px; font-weight: 700; }
.path span { color: var(--on-dark-soft); font-size: 15px; }

/* Proof */
.proof-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(24px, 3vw, 40px); margin-top: 52px; align-items: start; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; background: var(--steel); }
.video-poster { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; }
.video-poster img { width: 100%; height: 100%; object-fit: cover; }
.play-btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 80px; height: 80px; border-radius: 50%; background: var(--red); display: grid; place-items: center; transition: transform .2s var(--ease), background-color .2s; }
.play-btn svg { width: 30px; height: 30px; fill: #fff; margin-left: 4px; }
.video-poster:hover .play-btn { transform: translate(-50%, -50%) scale(1.06); background: var(--red-dark); }
.caption { margin-top: 12px; font-size: 15px; color: var(--ink-soft); }

/* Rating plate */
.plate {
  position: relative; border-radius: var(--r-md); padding: 34px 32px 30px;
  background: linear-gradient(180deg, #c3c5c6 0%, #aeb1b3 100%);
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #c6c8c9 0%, #a9acae 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 -1px 0 rgba(0,0,0,.2), 0 1px 0 rgba(0,0,0,.15);
  color: #222426;
}
.rivet { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #e6e7e8, #7d8082 70%); box-shadow: 0 1px 1px rgba(0,0,0,.35); }
.r1 { top: 12px; left: 12px; } .r2 { top: 12px; right: 12px; } .r3 { bottom: 12px; left: 12px; } .r4 { bottom: 12px; right: 12px; }
.plate-title { font-weight: 800; font-stretch: 125%; font-size: 30px; line-height: 1; letter-spacing: .01em; }
.plate-sub { font-size: 15px; font-weight: 600; margin-top: 6px; color: #3c3f41; }
.plate dl { margin-top: 20px; display: grid; grid-template-columns: auto 1fr; border-top: 2px solid #3c3f41; }
.plate dt, .plate dd { padding: 9px 0; border-bottom: 1px solid rgba(34,36,38,.3); font-size: 15px; }
.plate dt { font-weight: 500; color: #3c3f41; padding-right: 20px; }
.plate dd { font-weight: 700; text-shadow: 0 1px 0 rgba(255,255,255,.35); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.ph-box { aspect-ratio: 4 / 3; border-radius: var(--r-md); border: 2px dashed rgba(47,50,52,.3); display: grid; place-items: center; color: var(--ink-soft); font-size: 14px; font-weight: 600; }
.ph figcaption { margin-top: 10px; font-size: 15px; color: var(--ink-soft); }

/* Demo */
.demo-promise { margin-top: 20px; font-size: clamp(18px, 1.6vw, 21px); font-weight: 600; }
.demo-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 3vw, 40px); margin-top: 48px; align-items: stretch; }
.demo-main { background: var(--white); color: var(--ink); border-radius: var(--r-md); padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.demo-main h3 { font-size: clamp(23px, 2.2vw, 28px); }
.demo-main p { color: var(--ink-soft); }
.demo-main .note { font-size: 15px; padding: 10px 14px; border-left: 4px solid var(--marker); background: rgba(242,194,48,.14); }
.demo-main .btn { align-self: flex-start; margin-top: auto; }
.demo-side { display: grid; gap: 0; align-content: start; }
.demo-side article { padding: 26px 0; border-top: 1px solid rgba(255,255,255,.35); display: grid; gap: 10px; justify-items: start; }
.demo-side article:last-child { border-bottom: 1px solid rgba(255,255,255,.35); }
.demo-side p { color: rgba(255,255,255,.88); font-size: 16px; }
.demo-scarcity { margin-top: 32px; font-size: 15px; color: rgba(255,255,255,.85); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq { border-top: 2px solid var(--steel); }
.faq details { border-bottom: 1px solid var(--rule-light); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 48px 20px 0; position: relative; font-weight: 700; font-stretch: 106%; font-size: 18.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 2.5px; background: var(--steel); transition: transform .25s var(--ease), background-color .25s; }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); background: var(--red); }
.faq details[open] summary::before { background: var(--red); }
.faq details p { padding: 0 48px 22px 0; color: var(--ink-soft); font-size: 16.5px; max-width: 40em; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact-points { margin-top: 36px; display: grid; grid-template-columns: auto 1fr; gap: 12px 24px; font-size: 16px; }
.contact-points dt { color: var(--on-dark-soft); }
.contact-points dd { font-weight: 600; }
.contact-points a { text-decoration-color: var(--red); text-underline-offset: 4px; }
.form { display: grid; gap: 18px; padding: clamp(22px, 3vw, 36px); background: var(--steel-deep); border-radius: var(--r-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 14.5px; font-weight: 600; color: var(--on-dark-soft); }
.form input:not([type=checkbox]), .form select, .form textarea {
  width: 100%; font: inherit; font-size: 16px; font-weight: 400; color: var(--on-dark);
  background: var(--steel); border: 1.5px solid rgba(255,255,255,.18); border-radius: var(--r-sm); padding: 12px 13px;
}
.form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9cbcc' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.form textarea { resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: #85898c; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--marker); }
.form .invalid { border-color: var(--red) !important; }
.form fieldset { border: 0; margin: 0; padding: 0; }
.form legend { font-size: 14.5px; font-weight: 600; color: var(--on-dark-soft); margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex !important; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { padding: 8px 13px; border-radius: var(--r-sm); border: 1.5px solid rgba(255,255,255,.22); font-size: 14.5px; font-weight: 500; color: var(--on-dark); }
.chip input:checked + span { background: var(--marker); border-color: var(--marker); color: var(--steel); font-weight: 700; }
.chip input:focus-visible + span { outline: 3px solid var(--marker); outline-offset: 2px; }
.consent { grid-template-columns: auto 1fr; align-items: start; gap: 10px !important; font-weight: 400 !important; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--red); }
.consent.invalid span { color: #ff8a84; }
.form-msg { font-size: 15px; min-height: 1.4em; color: var(--marker); }
.form-msg.err { color: #ff8a84; }

/* Footer */
.site-footer { background: var(--steel-deep); color: var(--on-dark-soft); padding: 64px 0 28px; font-size: 15px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand .brand-word { color: #fff; }
.footer-brand p { margin-top: 10px; max-width: 22em; }
.footer-cols { display: flex; gap: clamp(32px, 6vw, 80px); flex-wrap: wrap; }
.footer-cols div { display: grid; gap: 8px; align-content: start; }
.footer-cols h4 { font-size: 15px; color: #fff; margin-bottom: 4px; font-stretch: 100%; }
.footer-cols a { text-decoration: none; }
.footer-cols a:hover { color: #fff; }
.footer-base { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--rule-dark); font-size: 13.5px; }

.mobile-cta { display: none; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(38,40,42,.92); }
.modal-body { position: relative; width: min(1100px, 100%); }
.modal-frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--r-md); overflow: hidden; }
.modal-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.modal-close { position: absolute; right: 0; top: -54px; width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(255,255,255,.5); background: transparent; color: #fff; font-size: 26px; line-height: 1; }
.modal-close:hover { background: var(--red); border-color: var(--red); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .main-nav a:nth-child(n+5) { display: none; }
}
@media (max-width: 960px) {
  .hero-grid, .problem-grid, .fleet-grid, .oem-grid, .int-intro, .sim, .proof-grid, .demo-grid, .faq-wrap, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 112px; }
  .hero-drawing { max-width: 620px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps li:nth-child(2)::after { display: none; }
  .path { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .fleet-visual { max-width: 520px; width: 100%; margin: 0 auto; }
}
@media (max-width: 820px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: grid; gap: 6px; place-content: center; margin-left: auto; width: 44px; height: 44px; border-radius: var(--r-sm); border: 1.5px solid rgba(255,255,255,.4); background: transparent; }
  .nav-toggle span { display: block; width: 18px; height: 2px; background: #fff; transition: transform .25s; }
  .nav-open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav-open .site-header { background: var(--steel); }
  .nav-open .main-nav { display: flex; flex-direction: column; gap: 0; position: absolute; top: 72px; left: 0; right: 0; background: var(--steel); padding: 4px var(--gutter) 18px; box-shadow: 0 1px 0 var(--rule-dark); }
  .nav-open .main-nav a { display: block !important; padding: 14px 0; font-size: 17px; color: #fff; border-bottom: 1px solid var(--rule-dark); }
  .mobile-cta { display: flex; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; transform: translateY(150%); transition: transform .3s var(--ease); box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); }
  .mobile-cta.show { transform: none; }
  .site-footer { padding-bottom: 100px; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .steps, .path, .oem-list, .gallery, .form-row { grid-template-columns: 1fr; }
  .steps li::after, .path li::after { display: none; }
  .int-head { display: none; }
  .int-row { grid-template-columns: 1fr; gap: 2px; padding: 16px 0; }
  .hero-drawing figcaption { gap: 8px 18px; }
  .readout b { font-size: 17px; }
  .seg { grid-template-columns: 1fr; }
  .seg button + button { border-left: 0; border-top: 2px solid var(--steel); }
  .plate { padding: 30px 22px 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

