/* ==========================================================
   SCOUT-TRUCKS.ONE — Silver theme
   ========================================================== */

:root {
  /* Primitive palette */
  --silver-50: #f6f7f9;
  --silver-100: #eceef1;
  --silver-200: #dfe3e7;
  --silver-300: #cdd2d8;
  --silver-400: #b3bac2;
  --silver-500: #8f98a3;
  --steel-600: #5a636d;
  --steel-700: #3a4149;
  --graphite-800: #23282e;
  --graphite-900: #16191d;
  --graphite-950: #0e1013;
  --steel-blue: #2c5578;

  /* Semantic tokens */
  --bg: #e4e7eb;
  --bg-alt: #d8dce1;
  --surface: var(--silver-50);
  --surface-2: #ffffff;
  --text: #15181c;
  --text-2: #3a4149;
  --muted: #535c66;
  --line: #c3c9d0;
  --line-strong: #a9b0b8;
  --ring: var(--steel-blue);

  --dark-bg: var(--graphite-900);
  --dark-surface: var(--graphite-800);
  --dark-text: #e9ecef;
  --dark-muted: #a9b1ba;
  --dark-line: #343b43;

  --chrome: linear-gradient(135deg, #ffffff 0%, #c9ced5 22%, #f1f3f5 44%, #969fa9 68%, #e6e9ec 100%);
  --chrome-dark: linear-gradient(135deg, #f4f5f7 0%, #a7afb8 30%, #e9ecef 52%, #7d8691 78%, #d3d8dd 100%);
  --brushed: repeating-linear-gradient(90deg, rgba(255,255,255,.0) 0 2px, rgba(255,255,255,.18) 2px 3px, rgba(0,0,0,.025) 3px 5px);

  /* Type */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Spacing */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(14,16,19,.06), 0 1px 1px rgba(14,16,19,.04);
  --shadow: 0 10px 30px -12px rgba(14,16,19,.25), 0 2px 6px rgba(14,16,19,.06);
  --shadow-lg: 0 30px 60px -20px rgba(14,16,19,.35);

  --ease-out: cubic-bezier(.22,.61,.36,1);
  --container: 1200px;
  --header-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(255,255,255,.9), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(255,255,255,.55), transparent 60%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-stretch: 112%; line-height: 1.1; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; border-radius: 4px; }
.section-dark :focus-visible, .site-footer :focus-visible { outline-color: #9cc3e6; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--graphite-900); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  text-decoration: none; font-weight: 600; transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 12px; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.mono { font-family: var(--font-mono); font-size: .8125rem; letter-spacing: .04em; text-transform: uppercase; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .9375rem; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease-out), background-color .2s, box-shadow .2s, border-color .2s, color .2s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: .875rem; }
.btn-dark { background: var(--graphite-900); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.12), var(--shadow-sm); }
.btn-dark:hover { background: var(--steel-700); }
.btn-dark svg { transition: transform .2s var(--ease-out); }
.btn-dark:hover svg { transform: translateX(3px); }
.btn-ghost { background: rgba(255,255,255,.55); border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { background: #fff; border-color: var(--steel-600); }
.btn-chrome {
  background: var(--chrome); color: var(--graphite-950); border-color: rgba(255,255,255,.5);
  box-shadow: inset 0 1px 0 #fff, 0 8px 20px -8px rgba(0,0,0,.6);
  background-size: 200% 200%; background-position: 0% 50%;
  transition: background-position .6s var(--ease-out), transform .2s var(--ease-out);
}
.btn-chrome:hover { background-position: 100% 50%; }
.link-btn {
  background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline;
  text-underline-offset: 3px; color: inherit; font-size: inherit;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(228,231,235,.72);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -16px rgba(0,0,0,.35); background: rgba(236,238,241,.86); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { border-radius: 9px; }
.brand-text { font-family: var(--font-display); font-weight: 800; font-stretch: 125%; font-size: 1.0625rem; letter-spacing: .02em; white-space: nowrap; }
.brand-dot { color: var(--steel-600); }

.site-nav ul { display: flex; align-items: center; gap: 4px; }
.site-nav a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px;
  text-decoration: none; font-weight: 500; font-size: .9375rem; color: var(--text-2);
  transition: background-color .2s, color .2s;
}
.site-nav a:not(.btn):hover { background: rgba(255,255,255,.7); color: var(--text); }
.site-nav a.is-active { color: var(--text); background: #fff; box-shadow: var(--shadow-sm); }
.site-nav .btn { margin-left: 8px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.6); cursor: pointer; padding: 0; position: relative;
}
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s var(--ease-out), opacity .2s; }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 8vw, 104px) 0 0; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: var(--brushed); opacity: .6; mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,.7); border: 1px solid var(--line); font-size: .8125rem; font-weight: 600; color: var(--text-2);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--steel-600); box-shadow: 0 0 0 0 rgba(90,99,109,.5); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(90,99,109,0); } 100% { box-shadow: 0 0 0 0 rgba(90,99,109,0); } }

.display { margin-top: 22px; font-size: clamp(2.4rem, 5vw, 4.5rem); font-weight: 800; font-stretch: 125%; line-height: .98; letter-spacing: -.025em; }
.chrome-text {
  background: linear-gradient(100deg, #262b31 0%, #6b7580 30%, #a3abb4 46%, #56606b 64%, #262b31 100%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: chromeSweep 7s ease-in-out infinite alternate;
}
@keyframes chromeSweep { from { background-position: 0% 0; } to { background-position: 100% 0; } }
.lead { margin-top: 24px; font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); color: var(--text-2); max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero-stats { display: grid; grid-template-columns: repeat(3, auto); gap: 32px; margin: 44px 0 0; justify-content: start; }
.hero-stats div { border-left: 2px solid var(--line-strong); padding-left: 14px; }
.hero-stats dt { font-size: .8125rem; color: var(--muted); font-weight: 500; }
.hero-stats dd { margin: 4px 0 0; font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: 2rem; line-height: 1; font-variant-numeric: tabular-nums; }

.hero-visual { margin: 0; }
.plate {
  position: relative; border-radius: var(--radius-lg); padding: clamp(18px, 3vw, 34px) clamp(14px, 2.5vw, 28px) 18px;
  background:
    linear-gradient(160deg, rgba(255,255,255,.95), rgba(214,219,224,.7) 55%, rgba(176,184,193,.6)),
    var(--brushed);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(0,0,0,.06), var(--shadow-lg);
}
.plate::after {
  content: ""; position: absolute; left: 6%; right: 6%; bottom: 64px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}
.truck { width: 100%; height: auto; aspect-ratio: 800 / 380; }
.shine-bar { animation: shine 6s var(--ease-out) infinite; }
@keyframes shine { 0%, 55% { transform: skewX(-18deg) translateX(0); } 100% { transform: skewX(-18deg) translateX(1200px); } }
.plate-caption { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; justify-content: space-between; margin-top: 10px; font-size: .8125rem; color: var(--muted); }

.ribbon { margin-top: clamp(48px, 7vw, 88px); border-block: 1px solid var(--line); background: rgba(255,255,255,.45); overflow: hidden; }
.ribbon-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ribbon-track span {
  display: inline-flex; align-items: center; gap: 28px; padding: 16px 28px 16px 0;
  font-family: var(--font-display); font-stretch: 120%; font-weight: 700; font-size: .9375rem; text-transform: uppercase; letter-spacing: .06em; color: var(--steel-600); white-space: nowrap;
}
.ribbon-track span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--silver-500); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--bg-alt), #dfe3e7); border-block: 1px solid var(--line); }
.section-dark { background: radial-gradient(900px 500px at 80% 0%, #2a3038 0%, transparent 60%), var(--dark-bg); color: var(--dark-text); }
.section-dark .section-lead, .section-dark p { color: var(--dark-muted); }
.section-dark h2, .section-dark h3 { color: #fff; }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.kicker { color: var(--steel-600); margin-bottom: 14px; }
.section-dark .kicker { color: var(--silver-400); }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 800; }
.section-dark .section-head h2 {
  background: var(--chrome-dark); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-lead { margin-top: 18px; font-size: 1.0625rem; color: var(--text-2); max-width: 62ch; }

.card {
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(246,247,249,.85));
  border: 1px solid rgba(255,255,255,.95);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(169,176,184,.35), var(--shadow);
}

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 28px; transition: transform .3s var(--ease-out), box-shadow .3s; }
.feature:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(90,99,109,.4), var(--shadow-lg); }
.icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px;
  background: var(--chrome); box-shadow: inset 0 1px 0 #fff, 0 4px 10px -4px rgba(0,0,0,.3); margin-bottom: 20px;
}
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--graphite-900); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 1.25rem; font-weight: 700; }
.feature p { margin-top: 10px; color: var(--text-2); }

/* Timeline */
.timeline-progress { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: transparent; }
.timeline-progress span { display: block; height: 100%; width: 0; background: var(--chrome-dark); }
.timeline { position: relative; display: grid; gap: 18px; }
.timeline::before { content: ""; position: absolute; left: 92px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(180deg, transparent, var(--dark-line) 6%, var(--dark-line) 94%, transparent); }
.timeline li { display: grid; grid-template-columns: 76px 1fr; gap: 34px; align-items: start; position: relative; }
.timeline li::before {
  content: ""; position: absolute; left: 87px; top: 22px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--chrome-dark); box-shadow: 0 0 0 4px var(--dark-bg);
}
.year { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: 1.375rem; padding-top: 12px; color: #fff; font-variant-numeric: tabular-nums; }
.tl-card {
  padding: 22px 26px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid var(--dark-line); transition: border-color .25s, background-color .25s;
}
.tl-card:hover { border-color: #56606b; background-color: rgba(255,255,255,.03); }
.tl-card h3 { font-size: 1.1875rem; font-weight: 700; }
.tl-card p { margin-top: 8px; }

/* Tabs */
.tablist {
  display: flex; gap: 6px; padding: 6px; border-radius: 999px; width: fit-content; max-width: 100%;
  background: rgba(255,255,255,.6); border: 1px solid var(--line); overflow-x: auto; scrollbar-width: none;
}
.tablist::-webkit-scrollbar { display: none; }
.tablist [role="tab"] {
  flex: none; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0; background: transparent; cursor: pointer;
  font-weight: 600; font-size: .9375rem; color: var(--text-2); transition: background-color .2s, color .2s, box-shadow .2s;
}
.tablist [role="tab"]:hover { color: var(--text); background: rgba(255,255,255,.8); }
.tablist [role="tab"][aria-selected="true"] { background: var(--graphite-900); color: #fff; box-shadow: var(--shadow-sm); }
.tabpanel { margin-top: 24px; }
.tabpanel:not([hidden]) { animation: panelIn .35s var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.panel-grid {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 56px); padding: clamp(24px, 4vw, 48px);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #fff, var(--silver-100));
  box-shadow: inset 0 0 0 1px rgba(169,176,184,.4), var(--shadow);
}
.panel-years { color: var(--steel-600); }
.panel-grid h3 { margin-top: 10px; font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; font-stretch: 125%; }
.panel-grid > div > p:not(.panel-years) { margin-top: 16px; color: var(--text-2); }
.ticks { margin-top: 22px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--graphite-900) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.spec-list { margin: 0; display: grid; align-content: start; border-radius: var(--radius); background: var(--graphite-900); color: var(--dark-text); padding: 8px 22px; box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.spec-list div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--dark-line); }
.spec-list div:last-child { border-bottom: 0; }
.spec-list dt { font-family: var(--font-mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--dark-muted); padding-top: 3px; }
.spec-list dd { margin: 0; font-weight: 500; color: #fff; }

/* Guide */
.guide-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.sticky-head { position: sticky; top: calc(var(--header-h) + 24px); margin-bottom: 0; }
.progress-card { margin-top: 32px; padding: 22px; }
.progress-top { display: flex; justify-content: space-between; align-items: baseline; font-size: .9375rem; color: var(--text-2); }
.progress-top strong { font-family: var(--font-display); font-stretch: 125%; font-size: 1.375rem; color: var(--text); font-variant-numeric: tabular-nums; }
.progress-bar { margin-top: 12px; height: 10px; border-radius: 999px; background: var(--silver-200); overflow: hidden; box-shadow: inset 0 1px 2px rgba(0,0,0,.12); }
.progress-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--steel-700), var(--silver-500), var(--steel-700)); transition: width .45s var(--ease-out); }
.progress-note { margin: 12px 0 16px; font-size: .9375rem; color: var(--muted); }

.checklist { display: grid; gap: 18px; }
.check-group { margin: 0; padding: 22px 22px 14px; border: 0; min-width: 0; }
.check-group legend {
  float: left; width: 100%; padding: 0 0 10px; margin-bottom: 6px; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-stretch: 120%; font-weight: 700; font-size: 1.125rem;
}
.check-group label {
  clear: both; display: flex; gap: 14px; align-items: flex-start; padding: 10px 8px; margin: 0 -8px; border-radius: 10px; cursor: pointer;
  transition: background-color .2s;
}
.check-group label:hover { background: var(--silver-100); }
.check-group input[type="checkbox"], .field-check input[type="checkbox"] {
  appearance: none; flex: none; width: 22px; height: 22px; margin: 1px 0 0; border-radius: 6px; cursor: pointer;
  border: 1.5px solid var(--steel-600); background: #fff; display: grid; place-items: center; transition: background-color .2s, border-color .2s;
}
.check-group input[type="checkbox"]::after, .field-check input[type="checkbox"]::after {
  content: ""; width: 12px; height: 7px; border: solid #fff; border-width: 0 0 2.5px 2.5px; transform: translateY(-2px) rotate(-45deg) scale(0); transition: transform .18s var(--ease-out);
}
.check-group input:checked, .field-check input:checked { background: var(--graphite-900); border-color: var(--graphite-900); }
.check-group input:checked::after, .field-check input:checked::after { transform: translateY(-2px) rotate(-45deg) scale(1); }
.check-group input:checked + span { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--silver-500); }
.fine-print { font-size: .875rem; color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { padding: 28px; position: relative; overflow: hidden; }
.step-num {
  display: inline-flex; padding: 6px 10px; border-radius: 8px; background: var(--graphite-900); color: #fff; font-size: .75rem;
}
.step h3 { margin-top: 18px; font-size: 1.25rem; font-weight: 700; }
.step p { margin-top: 10px; color: var(--text-2); }
.step::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%;
  background: var(--chrome); opacity: .35;
}
.note { display: flex; gap: 14px; align-items: flex-start; margin-top: 28px; padding: 20px 24px; color: var(--text-2); }
.note svg { flex: none; margin-top: 2px; color: var(--steel-700); }

/* FAQ */
.faq-wrap { max-width: 880px; }
.faq { display: grid; gap: 12px; }
.faq details {
  border-radius: var(--radius); background: rgba(255,255,255,.8); border: 1px solid #fff;
  box-shadow: inset 0 0 0 1px rgba(169,176,184,.4), var(--shadow-sm); transition: box-shadow .25s;
}
.faq details[open] { box-shadow: inset 0 0 0 1px rgba(90,99,109,.45), var(--shadow); background: #fff; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 60px; padding: 16px 22px; font-weight: 600; font-size: 1.0625rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--silver-100)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%2316191d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .25s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details p { padding: 0 22px 20px; color: var(--text-2); max-width: 70ch; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-mail { margin-top: 22px; }
.contact-mail a { color: #fff; text-underline-offset: 4px; }
.contact-form { padding: clamp(22px, 3vw, 34px); display: grid; gap: 18px; background: var(--dark-surface); border-color: var(--dark-line); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), var(--shadow-lg); }
.field { display: grid; gap: 8px; }
.field > label { font-weight: 600; font-size: .9375rem; color: #fff; }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 10px; border: 1px solid #47505a;
  background: #1a1e23; color: #fff; font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 128px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23c9ced5' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.field input:not([type="checkbox"]):focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--silver-400); box-shadow: 0 0 0 3px rgba(156,195,230,.35); }
.field [aria-invalid="true"] { border-color: #f08a8a !important; }
.field-help { font-size: .8125rem; color: var(--dark-muted); }
.field-error { font-size: .875rem; color: #ffb1b1; min-height: 0; }
.field-error:empty { display: none; }
.field-check label { display: flex; gap: 12px; align-items: flex-start; font-size: .9375rem; color: var(--dark-muted); cursor: pointer; }
.field-check a { color: #fff; }
.field-check input[type="checkbox"] { background: #1a1e23; border-color: var(--silver-500); }
.field-check input:checked { background: var(--silver-300); border-color: var(--silver-300); }
.field-check input[type="checkbox"]::after { border-color: var(--graphite-900); }
.form-status { font-size: .9375rem; color: var(--silver-300); }
.form-status:empty { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--graphite-950); color: var(--dark-muted); padding: 64px 0 28px; border-top: 1px solid var(--dark-line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand-dot { color: var(--silver-500); }
.footer-brand p { margin-top: 16px; max-width: 36ch; font-size: .9375rem; }
.footer-title { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--silver-400); font-weight: 500; margin-bottom: 14px; }
.site-footer ul { display: grid; gap: 4px; }
.site-footer li a, .site-footer .link-btn {
  display: inline-flex; align-items: center; min-height: 36px; color: var(--dark-text); text-decoration: none; font-size: .9375rem; transition: color .2s;
}
.site-footer li a:hover, .site-footer .link-btn:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer .link-btn { text-decoration: none; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--dark-line); display: grid; gap: 10px; font-size: .8125rem; }
.disclaimer-line { max-width: 110ch; }

/* ---------- Cookie banner & dialog ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150; margin-inline: auto; max-width: 980px;
  display: flex; gap: 20px; align-items: center; padding: 18px 20px; border-radius: var(--radius);
  background: rgba(246,247,249,.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid #fff; box-shadow: inset 0 0 0 1px rgba(169,176,184,.5), var(--shadow-lg);
  animation: bannerIn .4s var(--ease-out);
}
.cookie-banner[hidden] { display: none; }
@keyframes bannerIn { from { transform: translateY(20px); opacity: 0; } }
.cookie-banner p { font-size: .9375rem; color: var(--text-2); }
.cookie-banner a { color: var(--text); text-underline-offset: 3px; }
.cookie-actions { display: flex; gap: 8px; flex: none; flex-wrap: wrap; }

.cookie-dialog {
  width: min(560px, calc(100% - 32px)); padding: 0; border: 0; border-radius: var(--radius-lg);
  background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg);
}
.cookie-dialog::backdrop { background: rgba(14,16,19,.55); backdrop-filter: blur(3px); }
.cookie-dialog form { padding: 28px; }
.cookie-dialog h2 { font-size: 1.5rem; font-weight: 800; }
.cookie-dialog > form > p { margin-top: 10px; color: var(--text-2); }
.toggle-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.toggle-row h3 { font-family: var(--font-body); font-stretch: 100%; font-size: 1rem; font-weight: 600; }
.toggle-row p { font-size: .875rem; color: var(--muted); margin-top: 2px; }
.switch { position: relative; flex: none; width: 52px; height: 30px; cursor: pointer; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: inherit; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: var(--silver-400); transition: background-color .2s; pointer-events: none; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform .22s var(--ease-out); }
.switch input:checked + span { background: var(--graphite-900); }
.switch input:checked + span::after { transform: translateX(22px); }
.switch input:disabled + span { opacity: .55; }
.switch input:disabled { cursor: not-allowed; }
.switch input:focus-visible + span { outline: 3px solid var(--ring); outline-offset: 3px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }

/* ---------- Legal pages ---------- */
.legal-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); }
.legal-hero h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800; font-stretch: 125%; }
.legal-hero p { margin-top: 14px; color: var(--muted); }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .875rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { text-underline-offset: 3px; }
.legal-layout { display: grid; grid-template-columns: 250px 1fr; gap: clamp(32px, 5vw, 64px); padding: clamp(40px, 6vw, 72px) 0 clamp(72px, 9vw, 112px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); padding: 20px; }
.toc h2 { font-family: var(--font-mono); font-size: .75rem; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; font-stretch: 100%; }
.toc ol { display: grid; gap: 2px; counter-reset: toc; }
.toc a { display: block; padding: 6px 8px; border-radius: 8px; text-decoration: none; font-size: .875rem; color: var(--text-2); }
.toc a:hover { background: var(--silver-100); color: var(--text); }
.legal-content { max-width: 760px; }
.legal-content section { padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.legal-content section:last-child { border-bottom: 0; }
.legal-content h2 { font-size: clamp(1.375rem, 2.4vw, 1.75rem); font-weight: 700; margin-bottom: 14px; }
.legal-content h3 { font-size: 1.125rem; font-weight: 700; margin: 22px 0 8px; font-stretch: 105%; }
.legal-content p, .legal-content li { color: var(--text-2); }
.legal-content p + p { margin-top: 12px; }
.legal-content ul { list-style: disc; padding-left: 22px; margin-top: 10px; display: grid; gap: 6px; }
.legal-content a { color: var(--steel-blue); text-underline-offset: 3px; }
.legal-content strong { color: var(--text); }
.table-wrap { overflow-x: auto; margin-top: 14px; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); background: rgba(255,255,255,.7); }
.legal-content table { width: 100%; border-collapse: collapse; font-size: .9375rem; min-width: 560px; }
.legal-content th, .legal-content td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-content th { font-family: var(--font-mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 500; background: var(--silver-100); }
.legal-content tr:last-child td { border-bottom: 0; }
.callout { padding: 18px 20px; margin-top: 14px; border-left: 3px solid var(--steel-700); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: rgba(255,255,255,.7); }

/* 404 */
.not-found { min-height: calc(100vh - var(--header-h) - 200px); display: grid; place-items: center; text-align: center; padding: 80px 0; }
.not-found h1 { font-size: clamp(4rem, 14vw, 9rem); font-weight: 800; font-stretch: 125%; line-height: 1; }
.not-found p { margin: 16px auto 28px; color: var(--text-2); max-width: 46ch; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .feature-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .panel-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; padding: 12px 20px 24px;
    background: rgba(236,238,241,.98); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .25s var(--ease-out), visibility 0s .25s;
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; transition: opacity .2s, transform .25s var(--ease-out); }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav a:not(.btn) { min-height: 48px; font-size: 1.0625rem; }
  .site-nav .btn { margin: 10px 0 0; }
  .hero-grid, .guide-grid, .contact-grid, .legal-layout { grid-template-columns: 1fr; }
  .sticky-head, .toc { position: static; }
  .hero-visual { order: -1; }
  .cookie-banner { flex-direction: column; align-items: stretch; }
}

@media (max-width: 640px) {
  .brand-text { font-size: .9375rem; font-stretch: 112%; }
  .brand img { width: 32px; height: 32px; }
  .feature-grid, .steps, .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .hero-stats dd { font-size: 1.625rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .timeline::before { left: 5px; }
  .timeline li { grid-template-columns: 1fr; gap: 6px; padding-left: 28px; }
  .timeline li::before { left: 0; top: 18px; }
  .year { padding-top: 8px; }
  .spec-list div { grid-template-columns: 1fr; gap: 4px; }
  .cookie-actions .btn { flex: 1 1 auto; }
  .dialog-actions .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  .ribbon-track { animation: none; }
  .shine-bar { display: none; }
}

@media print {
  .site-header, .cookie-banner, .cookie-dialog, .ribbon, .toc, .site-footer nav { display: none !important; }
  body { background: #fff; }
  .legal-layout { grid-template-columns: 1fr; }
}
