/* ============================================================
   OPERIUM FLEET — site stylesheet (v2, 2026-10)
   Palette: asphalt, concrete, steel, Operium orange, road-sign signals.
   Type: Archivo (condensed width for headings, normal for body).
   ============================================================ */

/* Archivo variable font, served from this site (SIL Open Font License 1.1).
   Self-hosting keeps visitor IPs away from third parties (KVKK) and saves a DNS lookup. */
@font-face {
  font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url('fonts/archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url('fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
  --asphalt:      #061429;   /* navy, from logo #000818 */
  --asphalt-2:    #0D1E38;
  --asphalt-line: #22355A;
  --concrete:     #EDF0F2;
  --concrete-2:   #E2E7EB;
  --paper:        #FFFFFF;
  --line:         #D5DBE0;
  --steel:        #4B5874;
  --steel-light:  #A9B6C9;
  --ink:          #000818;   /* logo wordmark */

  --orange:       #FD7000;   /* logo orange; navy text 7.2:1 */
  --orange-dark:  #FE9801;   /* hover, logo ring */
  --orange-mark:  #FD7000;   /* marks on dark */
  --orange-ink:   #CA2300;   /* logo ring deep tone, text on white 5.4:1 */

  --ok:   #2E7D4F;
  --warn: #8F5D0A;
  --crit: #B83227;

  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wd-narrow: 72;   /* heading width axis */

  --r: 4px;
  --r-lg: 6px;
  --container: 1200px;
  --gutter: 24px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--asphalt); color: #fff; padding: 10px 16px; border-radius: var(--r);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Type ---------- */
.section-title, .hero-title, h1, h2, h3 {
  font-variation-settings: 'wdth' var(--wd-narrow);
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1.1;
}
.section-title { font-size: clamp(1.9rem, 3.2vw, 2.75rem); max-width: 22ch; }
.section-lede { font-size: 1.0625rem; color: var(--steel); max-width: 60ch; }
.section-lede a { color: var(--orange-ink); }
.faq-item p a { color: var(--orange-ink); font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px;
  border: 1px solid transparent; border-radius: var(--r);
  font-weight: 600; font-size: 0.975rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease);
}
.btn-sm { min-height: 38px; padding: 8px 16px; font-size: 0.925rem; }
.btn-lg { min-height: 52px; padding: 14px 26px; font-size: 1.025rem; }
.btn-full { width: 100%; }
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--asphalt); }
.btn-light:hover { background: var(--concrete); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); }
.btn:disabled { opacity: .7; cursor: progress; }

/* ---------- Tick lists ---------- */
.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 22px; font-size: 0.95rem; line-height: 1.5; }
.ticks li::before {
  content: ''; position: absolute; left: 2px; top: 0.42em;
  width: 9px; height: 5px;
  border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange);
  transform: rotate(-45deg);
}
.ticks--light li { color: #DCE3EA; }
.ticks--light li::before { border-color: var(--orange-mark); }

/* ---------- Ecosystem bar ---------- */
.eco-bar { background: var(--asphalt); color: var(--steel-light); font-size: 0.8125rem; }
.eco-bar-inner { display: flex; align-items: center; gap: 24px; min-height: 36px; }
.eco-bar-label { margin-right: auto; }
.eco-bar-links { display: flex; gap: 18px; }
.eco-bar-links a { text-decoration: none; color: var(--steel-light); }
.eco-bar-links a:hover { color: #fff; }
.eco-bar-links .is-current { color: #fff; font-weight: 600; box-shadow: inset 0 -2px 0 var(--orange-mark); }
.eco-bar-home { color: #fff; text-decoration: none; padding-left: 24px; border-left: 1px solid var(--asphalt-line); }
.eco-bar-home:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
}
.header.scrolled { box-shadow: 0 1px 0 var(--line), 0 6px 16px -12px rgba(28, 39, 51, .35); }
.header-inner { display: flex; align-items: center; gap: 32px; min-height: 68px; }
.brand-logo { flex-shrink: 0; }
.brand-logo-img { width: 158px; height: auto; }
.nav-menu { display: flex; gap: 4px; margin-right: auto; }
.nav-item {
  padding: 8px 10px; font-size: 0.925rem; font-weight: 500; color: var(--steel); white-space: nowrap;
  text-decoration: none; border-radius: var(--r);
}
.nav-item:hover { color: var(--ink); background: var(--concrete); }
.nav-item[aria-current] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--orange); border-radius: 0; }
.nav-item--login-mobile { display: none; }
.header-actions { display: flex; align-items: center; gap: 18px; }
/* Language switch (TR | EN) */
.lang-switch { display: inline-flex; padding: 2px; border: 1px solid var(--line); border-radius: 999px; }
.lang-switch a {
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: .04em; color: var(--steel); text-decoration: none;
}
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current] { background: var(--ink); color: #fff; }
.lang-switch a { gap: 6px; }
.lang-switch .flag { flex: none; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
/* Variant for the dark top bar (next to operium.com.tr) */
.lang-switch--dark { border-color: var(--asphalt-line); }
.lang-switch--dark a { min-height: 24px; padding: 0 9px; color: var(--steel-light); }
.lang-switch--dark a:hover { color: #fff; }
.lang-switch--dark a[aria-current] { background: #fff; color: var(--ink); }
.header-login { font-size: 0.925rem; font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; }
.header-login:hover { color: var(--orange-ink); }
.menu-toggle {
  display: none; width: 44px; height: 44px; margin-left: auto;
  background: none; border: 1px solid var(--line); border-radius: var(--r); cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.menu-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(48px, 7vw, 96px); background: var(--paper); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 56px; align-items: end;
}
.hero-kicker { font-size: 0.95rem; font-weight: 600; color: var(--orange-ink); margin-bottom: 20px; }
.hero-title {
  font-size: clamp(2.6rem, 6vw, 5.25rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.015em;
  font-variation-settings: 'wdth' 68;
  max-width: 13ch;
}
.hero-lede { font-size: 1.125rem; color: var(--steel); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 16px; }
.hero-note { font-size: 0.9rem; color: var(--steel); }

.hero-shot { margin-top: clamp(48px, 6vw, 72px); position: relative; z-index: 1; }
.hero-shot-link {
  display: block; border: 1px solid var(--asphalt); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(28, 39, 51, .55);
  background: var(--paper);
}
.hero-shot figcaption {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 14px 2px 0; font-size: 0.85rem; color: var(--steel-light); background: var(--asphalt);
}
.hero-shot figcaption a { color: #fff; text-decoration: none; }
.hero-shot figcaption a:hover { text-decoration: underline; }

/* Asphalt road band under the screenshot */
.hero::after { content: none; }
.hero { position: relative; overflow: hidden; overflow: clip; }
.hero .hero-shot::before {
  content: ''; position: absolute; z-index: -1;
  left: 50%; width: 100vw; transform: translateX(-50%);
  top: 38%; bottom: 0;
  background: var(--asphalt);
}

/* ---------- Sectors (road) ---------- */
.sectors { background: var(--asphalt); color: #fff; padding: 40px 0 56px; position: relative; }
.sectors::before {
  /* lane marking */
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.55) 0 36px, transparent 36px 72px);
  opacity: .5;
}
.sectors-inner { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 40px; align-items: start; }
.sectors-title { font-size: 1.35rem; color: #fff; }
.sectors-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 32px; }
.sectors-list li { font-size: 0.975rem; color: #DCE3EA; padding-left: 16px; border-left: 2px solid var(--orange-mark); line-height: 1.4; }

/* ---------- Section scaffolding ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section--concrete { background: var(--concrete); }
.section--asphalt { background: var(--asphalt); color: #fff; }
.section--asphalt .section-lede { color: var(--steel-light); }
.section--asphalt .section-lede a { color: #fff; }
.section-head {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 56px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px);
}

/* ---------- Ledger (problems) ---------- */
.ledger { border-top: 2px solid var(--ink); }
.ledger-row {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 56px; padding: 32px 0; border-bottom: 1px solid var(--line);
}
.ledger-row--head { padding: 12px 0; font-size: 0.85rem; font-weight: 600; color: var(--steel); }
.ledger-problem h3 { font-size: 1.5rem; margin-bottom: 10px; max-width: 26ch; }
.ledger-problem p { color: var(--steel); max-width: 58ch; }
.ledger-solution {
  align-self: start;
  font-weight: 500; line-height: 1.55;
}

/* ---------- Modules ---------- */
.module-icon { color: var(--orange); flex-shrink: 0; }
.module-tag { font-size: 0.875rem; font-weight: 600; color: var(--orange-ink); margin-bottom: 6px; }
.module-lead {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 48px);
}
.module-lead-head { display: flex; gap: 20px; align-items: flex-start; }
.module-lead-head h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); margin-bottom: 12px; }
.module-lead-head p:last-child { color: var(--steel); }
.module-lead-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.module-lead-cols h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }

.module-list { margin-top: 56px; border-top: 2px solid var(--ink); }
.module-row {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 3fr) minmax(0, 5fr);
  gap: 40px; padding: 28px 0; border-bottom: 1px solid var(--line);
}
.module-row-name { display: flex; gap: 14px; align-items: flex-start; }
.module-row-name h3 { font-size: 1.3rem; padding-top: 2px; }
.module-row-desc { color: var(--steel); font-size: 0.975rem; }

/* ---------- Ecosystem spine ---------- */
.spine-hub {
  display: inline-flex; flex-direction: column; gap: 4px; min-width: min(100%, 360px);
  padding: 22px 28px; background: var(--asphalt-2);
  border: 1px solid var(--asphalt-line);
  border-radius: var(--r); position: relative;
}
.spine-hub::after {
  content: ''; position: absolute; left: 40px; top: 100%; width: 2px; height: 40px; background: var(--orange-mark);
}
.spine-hub-name { font-size: 1.6rem; font-weight: 700; font-variation-settings: 'wdth' var(--wd-narrow); }
.spine-hub-desc { font-size: 0.875rem; color: var(--steel-light); }
.spine-nodes {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px;
  margin-top: 40px; padding-top: 36px; border-top: 2px solid var(--orange-mark);
}
.spine-node { position: relative; }
.spine-node::before {
  content: ''; position: absolute; left: 0; top: -36px; width: 2px; height: 22px; background: var(--orange-mark);
}
.spine-node h3 { font-size: 1.4rem; }
.spine-node-role { font-size: 0.875rem; color: var(--orange-mark); font-weight: 600; margin: 4px 0 14px; }
.spine-node > p:not(.spine-node-role) { color: var(--steel-light); font-size: 0.95rem; margin-bottom: 18px; }

.eco-third {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  margin-top: 64px; padding: 28px 32px;
  border: 1px solid var(--asphalt-line); border-radius: var(--r-lg);
}
.eco-third h3 { font-size: 1.3rem; margin-bottom: 6px; }
.eco-third p { color: var(--steel-light); font-size: 0.95rem; max-width: 60ch; }

/* ---------- Simulator ---------- */
.sim2 { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--paper); }
.sim2-head {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  padding: 20px 28px; background: var(--concrete); border-bottom: 1px solid var(--line);
}
.sim2-vehicle { display: flex; align-items: center; gap: 16px; }
.sim2-vehicle strong { display: block; font-size: 1.05rem; }
.sim2-vehicle small { display: block; font-size: 0.85rem; color: var(--steel); }
.sim2-plate {
  display: inline-flex; flex-shrink: 0; align-items: stretch;
  border: 2px solid var(--ink); border-radius: 3px; background: #fff; overflow: hidden;
}
.sim2-plate .tr-flag {
  display: flex; align-items: flex-end; padding: 4px 7px;
  background: #1F4AA8; color: #fff; font-size: 0.65rem; font-weight: 700;
}
.sim2-plate strong { padding: 4px 10px; font-size: 1rem; letter-spacing: .04em; white-space: nowrap; }
.sim2-score { display: flex; align-items: center; gap: 12px; }
.sim2-score strong { display: block; font-size: 0.95rem; }
.sim2-score small { display: block; font-size: 0.825rem; color: var(--steel); }
.sim2-score-ring {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  border: 4px solid var(--ok); color: var(--ok);
  font-weight: 800; font-size: 1.15rem; background: #fff;
}
.sim2-score-ring.ring-warn { border-color: var(--warn); color: var(--warn); }
.sim2-score-ring.ring-crit { border-color: var(--crit); color: var(--crit); }

.sim2-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.sim2-body > * { min-width: 0; }
.sim2-diagram {
  padding: 32px 24px 24px; border-right: 1px solid var(--line);
  background:
    linear-gradient(var(--concrete-2) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(90deg, var(--concrete-2) 1px, transparent 1px) 0 0 / 20px 20px,
    #F7F9FA;
}
.sim2-diagram svg { width: 100%; max-width: 250px; margin: 0 auto; }
.sv-chassis { fill: #8794A2; }
.sv-axle { fill: #6B7886; }
.sv-cab { fill: #fff; stroke: var(--ink); stroke-width: 2; }
.sv-glass { fill: var(--concrete-2); }
.sv-fifth { fill: none; stroke: #8794A2; stroke-width: 2.5; stroke-dasharray: 5 4; }
.sv-arrow { fill: var(--steel); }
.sv-label {
  fill: var(--steel); font-family: var(--font); font-size: 11px; font-weight: 600;
  text-anchor: middle; dominant-baseline: middle;
}
.sv-label--sm { font-size: 9.5px; }
.sv-label--part { fill: #fff; font-size: 11px; pointer-events: none; }

.sim-part { cursor: pointer; outline: none; }
.sim-part rect { transition: fill .15s, stroke .15s; stroke-width: 2.5; }
.sim-tire rect { fill: #2B3644; stroke: var(--ok); }
.sim-battery rect { fill: var(--ok); stroke: var(--ok); }
.sim-part.st-warn rect { stroke: var(--warn); }
.sim-part.st-crit rect { stroke: var(--crit); }
.sim-tire.st-warn rect { fill: #6E5420; }
.sim-tire.st-crit rect { fill: #7A2A23; }
.sim-battery.st-warn rect { fill: var(--warn); }
.sim-battery.st-crit rect { fill: var(--crit); }
.sim-part:hover rect { stroke: var(--orange); }
.sim-part:focus-visible rect { stroke: var(--orange); stroke-width: 4; }
.sim-part.selected rect { stroke: var(--ink); stroke-width: 4; }

.sim2-legend { display: flex; justify-content: center; gap: 18px; margin-top: 18px; font-size: 0.85rem; color: var(--steel); }
.sim2-legend span { display: inline-flex; align-items: center; gap: 6px; }
.lg { width: 12px; height: 12px; border-radius: 2px; display: inline-block; border: 2px solid; }
.lg-ok { border-color: var(--ok); background: #2B3644; }
.lg-warn { border-color: var(--warn); background: #6E5420; }
.lg-crit { border-color: var(--crit); background: #7A2A23; }

.sim2-detail { padding: 28px; display: flex; flex-direction: column; gap: 22px; }
.sd-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.sd-head small { display: block; font-size: 0.85rem; color: var(--steel); }
.sd-head h4 { font-size: 1.3rem; margin-top: 2px; font-variation-settings: 'wdth' var(--wd-narrow); line-height: 1.2; }
.sd-badge { flex-shrink: 0; padding: 4px 10px; border-radius: 3px; font-size: 0.825rem; font-weight: 700; color: #fff; }
.sd-badge--ok { background: var(--ok); }
.sd-badge--warn { background: var(--warn); }
.sd-badge--crit { background: var(--crit); }

.sd-gauge-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; font-size: 0.9rem; color: var(--steel); }
.sd-gauge-top strong { color: var(--ink); font-size: 1.15rem; }
.sd-gauge-top small { color: var(--steel); font-size: 0.8rem; font-weight: 500; }
.sd-bar { position: relative; height: 10px; background: var(--concrete-2); border-radius: 2px; }
.sd-bar-fill { height: 100%; border-radius: 2px; background: var(--ok); transition: width .4s var(--ease); }
.sd-bar-fill--warn { background: var(--warn); }
.sd-bar-fill--crit { background: var(--crit); }
.sd-mark { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--warn); }
.sd-mark--legal { background: var(--crit); }
.sd-bar-legend { display: flex; gap: 16px; margin-top: 8px; font-size: 0.8rem; color: var(--steel); }
.sd-bar-legend span::before { content: ''; display: inline-block; width: 2px; height: 10px; margin-right: 6px; background: var(--warn); vertical-align: -1px; }
.sd-bar-legend span:first-child::before { background: var(--crit); }

.sd-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.sd-stats > div { padding: 12px 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sd-stats span { display: block; font-size: 0.8rem; color: var(--steel); margin-bottom: 2px; }
.sd-stats strong { display: block; font-size: 1.05rem; }
.sd-stats em { display: block; font-style: normal; font-size: 0.8rem; color: var(--steel); margin-top: 2px; }
.sd-stats em.neg { color: var(--crit); font-weight: 600; }

.sd-issues { display: flex; flex-direction: column; gap: 8px; }
.sd-issue {
  position: relative; padding: 10px 14px 10px 32px; border: 1px solid var(--line); border-radius: var(--r);
  background: #F7F9FA; font-size: 0.925rem; line-height: 1.45;
}
.sd-issue::before {
  content: ''; position: absolute; left: 13px; top: 0.95em;
  width: 9px; height: 9px; border-radius: 50%; background: var(--ok);
}
.sd-issue--warn::before { background: var(--warn); }
.sd-issue--crit::before { background: var(--crit); }

.sim2-alerts { border-top: 1px solid var(--line); padding: 20px 28px 24px; background: #F7F9FA; }
.sim2-alerts-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.sim2-alerts-head strong { font-size: 1rem; }
.sim2-alerts-head small { font-size: 0.85rem; color: var(--steel); }
#simAlerts { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.sa-item {
  width: 100%; height: 100%; text-align: left; cursor: pointer;
  position: relative; padding: 10px 14px 10px 32px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); font-size: 0.875rem; line-height: 1.45; color: var(--ink);
}
.sa-item::before {
  content: ''; position: absolute; left: 13px; top: 15px;
  width: 9px; height: 9px; border-radius: 50%; background: var(--warn);
}
.sa-item--crit::before { background: var(--crit); }
.sa-item:hover { border-color: var(--ink); }
.sa-item b { display: block; font-size: 0.875rem; margin-bottom: 2px; }
.sa-item span { color: var(--steel); }

/* ---------- Calculator ---------- */
.calc2 {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line);
}
.calc2 > * { min-width: 0; }
.calc2-controls { padding: clamp(24px, 3.5vw, 40px); background: var(--paper); display: flex; flex-direction: column; gap: 30px; }
.calc2-label, .cf-header label { font-size: 0.95rem; font-weight: 600; }
.calc2-types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 10px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.ct-btn {
  padding: 11px 8px; background: #fff; border: 0; border-right: 1px solid var(--line);
  font-size: 0.9rem; font-weight: 500; cursor: pointer; color: var(--steel);
}
.ct-btn:last-child { border-right: 0; }
.ct-btn:hover { background: var(--concrete); color: var(--ink); }
.ct-btn.active { background: var(--asphalt); color: #fff; }
.cf-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.cf-val { font-weight: 700; font-size: 1.05rem; }

.custom-slider {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; outline: none; cursor: pointer;
  background: linear-gradient(90deg, var(--orange) 0 var(--fill, 0%), var(--concrete-2) var(--fill, 0%) 100%);
}
.custom-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 22px; height: 22px;
  background: #fff; border: 3px solid var(--orange); border-radius: 50%; cursor: pointer;
}
.custom-slider::-moz-range-thumb { width: 18px; height: 18px; background: #fff; border: 3px solid var(--orange); border-radius: 50%; cursor: pointer; }
.custom-slider:focus-visible { outline: 2px solid var(--orange); outline-offset: 6px; }

.calc2-advanced { border-top: 1px solid var(--line); padding-top: 18px; }
.calc2-advanced summary { cursor: pointer; font-weight: 600; font-size: 0.95rem; color: var(--orange-ink); }
.calc2-adv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; margin-top: 16px; }
.calc2-adv-grid label { display: flex; flex-direction: column; gap: 6px; font-size: 0.85rem; color: var(--steel); }
.calc2-adv-grid input { padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; color: var(--ink); font-size: 0.975rem; }
.calc2-adv-grid input:focus { border-color: var(--ink); outline: none; }

.calc2-result { background: var(--asphalt); color: #fff; padding: clamp(24px, 3.5vw, 40px); display: flex; flex-direction: column; gap: 24px; }
.calc2-result small { display: block; font-size: 0.875rem; color: var(--steel-light); margin-bottom: 4px; }
.cr-current strong { font-size: 1.5rem; font-weight: 700; }
.cr-current-split { display: flex; gap: 20px; font-size: 0.875rem; color: var(--steel-light); margin-top: 4px; }
.cr-current-split b { color: #fff; font-weight: 600; }
.cr-saving { padding-top: 22px; border-top: 1px solid var(--asphalt-line); }
.cr-saving strong {
  display: block; font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 800; line-height: 1.05;
  font-variation-settings: 'wdth' var(--wd-narrow); color: var(--orange-mark);
}
.cr-per { display: block; font-size: 0.9rem; color: var(--steel-light); margin-top: 6px; }
.cr-break { display: grid; gap: 12px; }
.cr-row { display: flex; justify-content: space-between; gap: 16px; font-size: 0.95rem; }
.cr-row small { display: block; margin: 2px 0 0; font-size: 0.8rem; }
.cr-row b { white-space: nowrap; font-weight: 600; }

.calc2-sources { margin-top: 32px; max-width: 80ch; font-size: 0.875rem; color: var(--steel); }
.calc2-sources h3 { font-size: 1rem; color: var(--ink); margin-bottom: 8px; font-variation-settings: normal; }
.calc2-sources p + p { margin-top: 10px; }

/* ---------- Trial timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; counter-reset: none; }
.timeline-step { position: relative; padding-top: 28px; border-top: 2px solid var(--ink); }
.timeline-step::before {
  content: ''; position: absolute; top: -7px; left: 0;
  width: 12px; height: 12px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 3px #fff;
}
.timeline-day { display: block; font-weight: 700; color: var(--orange-ink); font-size: 0.95rem; margin-bottom: 8px; }
.timeline-step h3 { font-size: 1.4rem; margin-bottom: 10px; }
.timeline-step p { color: var(--steel); font-size: 0.975rem; }

.assurances {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px;
  margin-top: 64px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.assurances strong { display: block; font-size: 1rem; margin-bottom: 4px; }
.assurances span { font-size: 0.9rem; color: var(--steel); }

.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  margin-top: 56px; padding: 32px 36px; background: var(--concrete); border-radius: var(--r-lg);
}
.cta-band h3 { font-size: 1.5rem; margin-bottom: 4px; }
.cta-band p { color: var(--steel); }

/* ---------- Pricing ---------- */
.quote { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 64px; align-items: start; }
.quote-intro .section-lede { margin: 18px 0 32px; }
.quote-subtitle { font-size: 1rem; font-variation-settings: normal; margin-bottom: 14px; }
.quote-panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 40px); }
.quote-factors { display: grid; margin-bottom: 28px; border-top: 1px solid var(--line); }
.quote-factors > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.quote-factors dt { font-weight: 700; margin-bottom: 4px; }
.quote-factors dd { color: var(--steel); font-size: 0.95rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; align-items: start; }
.faq-intro { position: sticky; top: 100px; }
.faq-intro .section-lede { margin-top: 18px; }
.faq-list { border-top: 2px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 22px 48px 22px 0; font-weight: 600; font-size: 1.075rem; line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ''; position: absolute; right: 8px; top: 50%;
  width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: rotate(45deg); transition: transform .2s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-item summary:hover { color: var(--orange-ink); }
.faq-item p { padding: 0 48px 24px 0; color: var(--steel); max-width: 72ch; }

/* ---------- Demo form ---------- */
.demo-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.demo-intro .section-lede { margin: 18px 0 28px; }
.demo-points { margin-bottom: 40px; }
.hq { font-style: normal; font-size: 0.925rem; color: var(--steel-light); line-height: 1.7; padding-top: 24px; border-top: 1px solid var(--asphalt-line); }
.hq strong { display: block; color: #fff; }
.hq-company { display: block; color: #DCE3EA; font-weight: 500; margin-bottom: 4px; }
.hq a { color: #fff; }

.demo-form-card { background: var(--paper); color: var(--ink); border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 40px); }
.actual-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.9rem; font-weight: 600; }
.optional { font-weight: 400; color: var(--steel); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 13px; border: 1px solid #B9C3CC; border-radius: var(--r);
  background: #fff; font-size: 1rem; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.form-group textarea { resize: vertical; min-height: 84px; }
.form-group input::placeholder, .form-group textarea::placeholder { color: #7D8997; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(191, 79, 8, .2);
}
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.request-type { border: 0; }
.request-type legend { font-size: 0.9rem; font-weight: 600; margin-bottom: 8px; }
.rt-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.rt-option { position: relative; cursor: pointer; }
.rt-option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.rt-option span {
  display: block; height: 100%; padding: 12px 14px;
  border: 1px solid #B9C3CC; border-radius: var(--r); transition: border-color .15s, background .15s;
}
.rt-option strong { display: block; font-size: 0.95rem; }
.rt-option small { display: block; font-size: 0.825rem; color: var(--steel); }
.rt-option:hover span { border-color: var(--ink); }
.rt-option input:checked + span { border-color: var(--orange); background: #FDF3EC; box-shadow: inset 0 0 0 1px var(--orange); }
.rt-option input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }

.consent-label { display: flex; gap: 10px; align-items: flex-start; font-size: 0.85rem; color: var(--steel); cursor: pointer; }
.consent-label input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--orange); }
.consent-label a { color: var(--ink); }
.form-error { padding: 12px 14px; border: 1px solid #E3B4AF; border-radius: var(--r); background: #FBEDEC; color: #8A241C; font-size: 0.9rem; }
.form-privacy-note { font-size: 0.8rem; color: var(--steel); }

.form-feedback-success { display: none; text-align: left; padding: 24px 0; }
.form-feedback-success:focus { outline: none; }
.form-feedback-success svg { color: var(--ok); margin-bottom: 16px; }
.form-feedback-success h3 { font-size: 1.75rem; margin-bottom: 8px; }
.form-feedback-success p { color: var(--steel); }

/* ---------- Footer ---------- */
.site-footer { background: #151E28; color: var(--steel-light); padding: 64px 0 28px; font-size: 0.925rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.5fr)); gap: 40px; }
.footer-logo { display: inline-block; background: #fff; padding: 10px 14px; border-radius: var(--r); margin-bottom: 18px; }
.footer-logo img { width: 158px; height: auto; }
.footer-brand p { max-width: 36ch; margin-bottom: 18px; }
.footer-login { color: #fff; font-weight: 600; }
.footer-col { display: flex; flex-direction: column; gap: 2px; }
.footer-col a { padding: 5px 0; } /* ~34px tap target, same visual rhythm as before */
.footer-col h2 { font-size: 0.95rem; color: #fff; margin-bottom: 10px; font-variation-settings: normal; }
.footer-col a { color: var(--steel-light); text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-col a[aria-current] { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--asphalt-line); font-size: 0.825rem;
}
.footer-legal { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-legal a { color: var(--steel-light); }
.footer-legal a:hover { color: #fff; }
.footer-made { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Legal & 404 ---------- */
.legal-page { padding: 64px 0 96px; }
.legal-container { max-width: 760px; }
.legal-page h1 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 8px; }
.legal-page h2 { font-size: 1.4rem; margin: 40px 0 12px; }
.legal-page p, .legal-page li { color: #36434F; margin-bottom: 12px; }
.legal-page ul { padding-left: 20px; list-style: disc; }
.legal-page a { color: var(--orange-ink); }
.legal-page a.btn { color: #fff; text-decoration: none; }
.legal-meta { font-size: 0.9rem; color: var(--steel) !important; margin-bottom: 32px !important; }
.legal-footer { padding: 24px 0; }
.legal-footer .footer-bottom { margin-top: 0; padding-top: 0; border-top: 0; }
.notfound-page { min-height: 100vh; display: flex; align-items: center; }
.notfound-page .legal-container { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.notfound-page img { width: 150px; margin-bottom: 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav-menu { gap: 0; }
  .nav-item { padding: 8px 7px; font-size: 0.875rem; }
  .header-login { display: none; }
}

@media (max-width: 1024px) {
  .header-inner { gap: 16px; }
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .nav-menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 16px; box-shadow: 0 16px 24px -16px rgba(28,39,51,.3);
  }
  .nav-menu.open { display: flex; }
  .nav-item { padding: 14px 4px; font-size: 1rem; border-bottom: 1px solid var(--concrete); border-radius: 0; }
  .nav-item--login-mobile { display: block; font-weight: 600; color: var(--ink); border-bottom: 0; }
  .menu-toggle { margin-left: 0; }

  .hero-grid, .section-head, .module-lead, .quote, .faq, .demo-layout, .calc2 { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hero-title { max-width: 16ch; }
  .sectors-inner { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .module-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px 32px; }
  .module-row .ticks { grid-column: 2; }
  .module-row-desc { grid-column: 2; grid-row: 1; }
  .module-row-name { grid-row: 1 / span 2; }
  .spine-nodes { grid-template-columns: minmax(0, 1fr); gap: 40px; border-top: 0; border-left: 2px solid var(--orange-mark); padding: 0 0 0 28px; margin-top: 40px; margin-left: 40px; }
  .spine-node::before { top: 10px; left: -28px; width: 18px; height: 2px; }
  .spine-hub::after { left: 40px; }
  .sim2-body { grid-template-columns: minmax(0, 1fr); }
  .sim2-diagram { border-right: 0; border-bottom: 1px solid var(--line); }
  .timeline { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .assurances { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-intro { position: static; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .eco-bar-links, .eco-bar-home { display: none; }
  .eco-bar-inner { gap: 12px; }
  .eco-bar-label { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .header-actions .btn { display: none; }
  .header-actions { margin-left: auto; }
  .hero-actions .btn { flex: 1 1 100%; }
  .sectors-list { grid-template-columns: minmax(0, 1fr); }
  .ledger-row { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 24px 0; }
  .ledger-row--head { display: none; }
  .module-lead-cols { grid-template-columns: minmax(0, 1fr); }
  .module-lead-head { flex-direction: column; }
  .module-row { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .module-row .ticks, .module-row-desc, .module-row-name { grid-column: auto; grid-row: auto; }
  .eco-third, .cta-band { flex-direction: column; align-items: flex-start; padding: 24px; }
  .sim2-head, .sim2-detail, .sim2-alerts { padding-left: 16px; padding-right: 16px; }
  .calc2-types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-btn:nth-child(2) { border-right: 0; }
  .ct-btn:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .calc2-adv-grid { grid-template-columns: minmax(0, 1fr); }
  .assurances { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .form-row, .rt-options { grid-template-columns: minmax(0, 1fr); }
  .faq-item summary { padding-right: 36px; }
  .faq-item p { padding-right: 0; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Very narrow phones: the top bar keeps only the language switch */
@media (max-width: 420px) {
  .eco-bar-label { display: none; }
  .eco-bar .lang-switch { margin-left: auto; }
}
