/* ELD Runner — eldrunner.com
   Layout concept: "speed lines". Brand-blue gradient bands carry the six bars of the
   ELD Runner mark stretched into motion; white and paper sections between them hold the
   real app screens. One wide display face (Krona One, like the store artwork) for labels
   and big numbers, Manrope for everything else. */
:root {
  --blue: #1A4FE6;
  --blue-d: #1440C4;
  --blue-l: #4D86FF;
  --sky: #EAF0FF;
  --navy: #0B1736;
  --ink: #060E24;
  --paper: #F4F7FC;
  --white: #FFFFFF;
  --text: #0B1736;
  --muted: #56627F;
  --line: #DDE4F1;
  --on-blue: #D3E0FF;
  --amber: #F59E0B;
  --green: #16A34A;
  --green-bg: #E7F7EC;
  --red: #DC2626;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-wide: "Krona One", "Manrope", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --grad: linear-gradient(122deg, #2159F2 0%, #1A4FE6 28%, #1539B4 64%, #0B1736 100%);
  --grad-2: linear-gradient(160deg, #1A4FE6 0%, #1336A6 55%, #0B1736 100%);
  --r: 20px;
  --r-s: 12px;
  --shadow: 0 1px 2px rgba(11, 23, 54, .05), 0 12px 32px -12px rgba(11, 23, 54, .14);
  --hdr-h: 76px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--text); font: 400 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue-l); outline-offset: 2px; border-radius: 6px; }
.sel { user-select: all; -webkit-user-select: all; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--blue);
  padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

/* ---------- type helpers ---------- */
.kick { font: 400 11.5px/1.4 var(--f-wide); letter-spacing: .16em; text-transform: uppercase; color: var(--on-blue); }
.kick-blue { color: var(--blue); }
.sub { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 62ch; }
.sec-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: 52px; }
.sec-head h2, .split-txt h2, .faq-intro h2, .contact-info h2 { font-size: clamp(30px, 3.5vw, 46px); line-height: 1.1; font-weight: 800; letter-spacing: -.022em; }
.sec-head-c { margin-inline: auto; text-align: center; justify-items: center; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px;
  border-radius: var(--r-s); border: 1.5px solid transparent; font: 700 16px/1 var(--f-body); text-decoration: none;
  cursor: pointer; transition: background-color .18s, color .18s, border-color .18s, transform .18s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-white { background: var(--white); color: var(--blue); }
.btn-white:hover { background: var(--sky); }
.btn-line { border-color: rgba(255, 255, 255, .45); color: var(--white); }
.btn-line:hover { background: rgba(255, 255, 255, .1); border-color: var(--white); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-d); }
.btn-blue:disabled { opacity: .6; cursor: progress; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn-block { width: 100%; }

/* ---------- speed lines (the mark's six bars) ---------- */
.lines { position: absolute; right: 0; display: grid; gap: var(--gap, 18px); pointer-events: none; z-index: 0; }
.lines i { display: block; height: var(--h, 22px); width: var(--w); justify-self: end; border-radius: var(--h, 22px) 0 0 var(--h, 22px);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), var(--c, rgba(255, 255, 255, .10)) 45%);
  animation: run .9s cubic-bezier(.2, .7, .2, 1) both; animation-delay: var(--d); }
@keyframes run { from { transform: translateX(12%); opacity: .5; } to { transform: none; opacity: 1; } }
.lines-hero { top: 150px; width: min(62vw, 900px); --h: clamp(14px, 2.2vw, 30px); --gap: clamp(12px, 1.7vw, 24px); }
.lines-app { top: 64px; width: min(48vw, 640px); --h: 16px; --gap: 14px; --c: rgba(255, 255, 255, .08); }
.lines-band { top: 50%; transform: translateY(-50%); width: min(70vw, 980px); --h: clamp(12px, 1.6vw, 22px); --gap: clamp(10px, 1.3vw, 18px); --c: rgba(77, 134, 255, .22); }
.lines-contact { bottom: 48px; width: min(40vw, 520px); --h: 12px; --gap: 12px; --c: rgba(77, 134, 255, .16); }
.lines-ftr { top: 40px; width: min(36vw, 460px); --h: 8px; --gap: 9px; --c: rgba(77, 134, 255, .14); }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; padding-top: env(safe-area-inset-top, 0px); color: var(--white);
  transition: background-color .25s, box-shadow .25s, color .25s; }
.hdr-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--hdr-h); }
.brand { display: inline-flex; position: relative; flex: none; }
.brand img { height: 22px; width: auto; }
.brand .logo-c { position: absolute; inset: 0; opacity: 0; transition: opacity .25s; }
.brand .logo-w { transition: opacity .25s; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav > a:not(.btn) { font-weight: 600; font-size: 15px; text-decoration: none; opacity: .92; }
.nav > a:not(.btn):hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.nav .nav-tel { display: inline-flex; align-items: center; gap: 8px; padding-left: 22px; border-left: 1px solid rgba(255, 255, 255, .28); white-space: nowrap; }
.nav-cta { background: var(--white); color: var(--blue); }
.nav-cta:hover { background: var(--sky); }
.hdr.scrolled { background: rgba(255, 255, 255, .96); color: var(--navy); box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(11, 23, 54, .35); }
.hdr.scrolled .logo-c { opacity: 1; }
.hdr.scrolled .logo-w { opacity: 0; }
.hdr.scrolled .nav-tel { border-left-color: var(--line); }
.hdr.scrolled .nav-cta { background: var(--blue); color: var(--white); }
.hdr.scrolled .nav-cta:hover { background: var(--blue-d); }
.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .12); cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.hdr.scrolled .burger { background: var(--sky); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--grad); color: var(--white);
  padding-block: calc(var(--hdr-h) + 72px) 150px; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 160px; background: linear-gradient(180deg, rgba(11, 23, 54, 0), rgba(11, 23, 54, .35)); pointer-events: none; }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero-txt { display: grid; gap: 24px; min-width: 0; }
.hero h1 { font-size: clamp(40px, 4.15vw, 62px); line-height: 1.04; font-weight: 800; letter-spacing: -.03em; }
.hero h1 span { display: block; color: #AFC6FF; }
@media (min-width: 981px) { .hero h1 { white-space: nowrap; } }
.lead { font-size: 19px; line-height: 1.6; color: var(--on-blue); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-spec { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #B7CAF7; }
.hero-spec .ic { flex: none; margin-top: 1px; color: var(--white); }
.hero-vis { position: relative; min-width: 0; margin-right: 4%; }

/* device frames */
.tablet { background: #0C1326; padding: 1.3%; border-radius: clamp(14px, 2vw, 26px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 40px 80px -24px rgba(2, 8, 32, .65); }
.tablet img { width: 100%; border-radius: clamp(8px, 1.1vw, 14px); aspect-ratio: 1414 / 988; object-fit: cover; }
.phone { background: #0C1326; padding: 3%; border-radius: 15% / 7%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1) inset, 0 30px 60px -20px rgba(2, 8, 32, .6); }
.phone img { width: 100%; border-radius: 12.5% / 5.8%; aspect-ratio: 640 / 1382; object-fit: cover; }
.phone-hero { position: absolute; width: 29%; right: -6%; bottom: -16%; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 12px; border-radius: 999px;
  background: var(--green-bg); color: #15803D; font-weight: 700; font-size: 13.5px; line-height: 1; }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(22, 163, 74, .18); }
.pill-hero { position: absolute; left: 7%; top: -20px; background: var(--white); box-shadow: 0 14px 30px -12px rgba(2, 8, 32, .5); }

/* ---------- metrics ---------- */
.metrics-sec { position: relative; z-index: 2; margin-top: -72px; }
.metrics { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--white);
  border-radius: var(--r); box-shadow: 0 30px 60px -30px rgba(11, 23, 54, .35), 0 0 0 1px var(--line); }
.metrics li { display: grid; gap: 6px; padding: 28px 28px 30px; border-left: 1px solid var(--line); }
.metrics li:first-child { border-left: 0; }
.metrics b { font: 400 clamp(19px, 1.9vw, 24px)/1.2 var(--f-wide); color: var(--blue); letter-spacing: -.01em; }
.metrics span { font-size: 14.5px; color: var(--muted); line-height: 1.45; }

/* ---------- sections ---------- */
.sec { position: relative; padding-block: clamp(72px, 9vw, 120px); }
.sec-paper { background: var(--paper); }
.sec-blue { background: var(--grad-2); color: var(--white); overflow: hidden; }
.sec-blue .sub { color: var(--on-blue); }
.sec-navy { background: linear-gradient(160deg, #0E1E4A 0%, var(--navy) 55%, var(--ink) 100%); color: var(--white); overflow: hidden; }
.sec-navy .sub { color: #B7C4E3; }
.sec > .wrap { position: relative; z-index: 1; }

/* ---------- features ---------- */
.fgrid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.fc { grid-column: span 4; display: grid; align-content: start; gap: 12px; min-width: 0; padding: 28px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r); }
.fc h3 { font-size: 20px; line-height: 1.25; font-weight: 800; letter-spacing: -.01em; }
.fc p { color: var(--muted); font-size: 15.5px; }
.fc > .ic { width: 48px; height: 48px; padding: 12px; border-radius: 12px; background: var(--sky); color: var(--blue); margin-bottom: 4px; }
.fc-s { grid-column: span 3; }
.fc-s > .ic { width: 44px; height: 44px; padding: 11px; }
.fc-s h3 { font-size: 18px; }
.fc-s p { font-size: 15px; }
.fc-hos { grid-column: span 7; gap: 28px; background: linear-gradient(180deg, var(--white), var(--paper)); }
.fc-txt { display: grid; gap: 10px; }
.fc-hos h3, .fc-status h3 { font-size: 26px; }
.fc-status { grid-column: span 5; gap: 16px; }
.rings { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ring { position: relative; display: grid; gap: 8px; justify-items: center; padding: 14px 10px 14px; background: var(--white);
  border: 1px solid var(--line); border-radius: 16px; }
.ring svg { width: 100%; max-width: 132px; height: auto; display: block; }
.ring-on { animation: ring 1.4s cubic-bezier(.3, .7, .2, 1) both .2s; }
@keyframes ring { from { stroke-dashoffset: 40; } to { stroke-dashoffset: 0; } }
.ring-txt { position: absolute; top: 14px; left: 10px; right: 10px; aspect-ratio: 1; max-width: 132px; margin-inline: auto; display: grid; place-content: center; text-align: center; }
.ring-txt b { font-size: clamp(17px, 1.8vw, 23px); font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.01em; line-height: 1.1; }
.ring-txt span { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.ring small { font-size: 12.5px; color: var(--muted); text-align: center; line-height: 1.3; }
.sts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.st { display: grid; gap: 2px; padding: 12px 8px; text-align: center; border: 1px solid var(--line); border-radius: 12px; font-size: 12px; color: var(--muted); background: var(--white); }
.st b { font-size: 20px; font-weight: 800; color: var(--navy); line-height: 1.15; }
.st-on { background: var(--blue); border-color: var(--blue); color: var(--on-blue); }
.st-on b { color: var(--white); }
.trail { list-style: none; display: grid; gap: 0; margin-top: 4px; }
.trail li { position: relative; display: grid; gap: 1px; padding: 0 0 14px 26px; font-size: 14.5px; color: var(--muted); }
.trail li::before { content: ""; position: absolute; left: 0; top: 6px; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--blue); background: var(--white); }
.trail li::after { content: ""; position: absolute; left: 5px; top: 20px; bottom: 2px; width: 2px; background: var(--line); }
.trail li:last-child { padding-bottom: 0; }
.trail li:last-child::after { display: none; }
.trail b { color: var(--navy); font-size: 15px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.tags li { padding: 6px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--navy); }
.codes { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; margin-top: 2px; }
.codes li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); min-width: 0; }
.codes b { flex: none; width: 26px; height: 26px; display: grid; place-content: center; border-radius: 7px; background: var(--navy); color: var(--white); font: 400 11px/1 var(--f-wide); }

/* ---------- driver app ---------- */
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.shot { margin: 0; display: grid; gap: 26px; justify-items: center; align-content: start; text-align: center; }
.shot figcaption { display: grid; gap: 8px; max-width: 300px; }
.shot-t { font: 400 clamp(17px, 1.7vw, 22px)/1.2 var(--f-wide); text-transform: uppercase; letter-spacing: .02em; }
.shot-d { font-size: 15.5px; color: var(--on-blue); line-height: 1.5; }
.shot .phone { width: 100%; max-width: 290px; }
.stores { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 14px; margin-top: 60px; }
.stores p { width: 100%; text-align: center; color: var(--on-blue); font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.store { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 22px 8px 18px; border-radius: 14px;
  background: var(--ink); color: var(--white); text-decoration: none; border: 1px solid rgba(255, 255, 255, .16); transition: background-color .18s; }
.store:hover { background: #000; }
.store span { display: grid; font-weight: 800; font-size: 18px; line-height: 1.1; }
.store small { font-weight: 500; font-size: 11.5px; opacity: .8; }

/* ---------- inspection ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.split-vis { position: relative; padding-bottom: 22%; min-width: 0; }
.tab-back { width: 80%; opacity: .98; }
.tab-front { position: absolute; width: 80%; right: 0; top: 30%; }
.split-txt { display: grid; gap: 18px; min-width: 0; }
.vsteps { list-style: none; counter-reset: s; display: grid; gap: 0; margin-top: 8px; }
.vsteps li { counter-increment: s; position: relative; display: grid; gap: 4px; padding: 0 0 24px 58px; }
.vsteps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-content: center;
  background: var(--blue); color: var(--white); font: 400 14px/1 var(--f-wide); }
.vsteps li::after { content: ""; position: absolute; left: 19px; top: 44px; bottom: 6px; width: 2px; background: linear-gradient(var(--blue), rgba(26, 79, 230, .15)); }
.vsteps li:last-child { padding-bottom: 0; }
.vsteps li:last-child::after { display: none; }
.vsteps b { font-size: 18px; font-weight: 800; }
.vsteps span { color: var(--muted); font-size: 15.5px; }
.note { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.note .ic { flex: none; color: var(--blue); margin-top: 2px; }

/* ---------- band ---------- */
.band { position: relative; overflow: hidden; background: linear-gradient(100deg, var(--ink) 0%, var(--navy) 50%, #12286A 100%); color: var(--white); padding-block: clamp(72px, 9vw, 116px); }
.band-in { position: relative; z-index: 1; display: grid; gap: 18px; }
.band-t { font: 400 clamp(28px, 5.2vw, 66px)/1.12 var(--f-wide); text-transform: uppercase; letter-spacing: -.01em; }
.band-s { color: #9FB2DE; font-weight: 600; font-size: 16px; }

/* ---------- hardware ---------- */
.devs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.dev { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; align-items: center; padding: 26px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.dev-img { display: grid; place-items: center; aspect-ratio: 1; border-radius: 16px; background: radial-gradient(70% 70% at 50% 45%, var(--white) 0%, var(--sky) 100%); padding: 12%; }
.dev-img img { width: 100%; height: auto; max-height: 100%; object-fit: contain; filter: drop-shadow(0 18px 18px rgba(11, 23, 54, .25)); }
.dev-txt { display: grid; gap: 8px; min-width: 0; }
.dev h3 { font-size: 26px; font-weight: 800; letter-spacing: -.01em; }
.dev dl { margin: 8px 0 0; display: grid; }
.dev dl div { display: grid; gap: 2px; padding: 10px 0; border-top: 1px solid var(--line); }
.dev dt { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.dev dd { margin: 0; font-size: 15px; font-weight: 600; }

/* ---------- getting started ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; position: relative; }
.steps li::after { content: ""; position: absolute; left: 64px; right: -10px; top: 24px; height: 2px; background: repeating-linear-gradient(90deg, var(--blue) 0 14px, transparent 14px 22px); opacity: .35; }
.steps li:last-child::after { display: none; }
.steps li { position: relative; display: grid; gap: 10px; align-content: start; }
.steps .n { width: 50px; height: 50px; display: grid; place-content: center; border-radius: 14px; background: var(--white); border: 2px solid var(--blue); color: var(--blue); font: 400 16px/1 var(--f-wide); margin-bottom: 8px; }
.steps li:last-child .n { background: var(--blue); color: var(--white); }
.steps h3 { font-size: 19px; font-weight: 800; }
.steps p { color: var(--muted); font-size: 15.5px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-intro { display: grid; gap: 16px; position: sticky; top: calc(var(--hdr-h) + 24px); }
.faq-intro p:last-child { color: var(--muted); font-size: 16.5px; }
.faq-intro a { color: var(--blue); font-weight: 700; text-decoration: none; }
.faq-list { display: grid; border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 0; font-size: 18px; font-weight: 700; line-height: 1.35; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--blue); }
.pm { position: relative; flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--sky); }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--blue); border-radius: 2px; transition: transform .2s; }
.pm::after { transform: rotate(90deg); }
.qa[open] .pm { background: var(--blue); }
.qa[open] .pm::before, .qa[open] .pm::after { background: var(--white); }
.qa[open] .pm::after { transform: rotate(0); }
.qa p { padding: 0 52px 24px 0; color: var(--muted); font-size: 16px; max-width: 64ch; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 5vw, 72px); align-items: start; }
.contact-info { display: grid; gap: 18px; min-width: 0; }
.cinfo { list-style: none; display: grid; gap: 14px; margin-top: 14px; }
.cinfo li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.cinfo .ic { flex: none; width: 42px; height: 42px; padding: 10px; border-radius: 11px; background: rgba(77, 134, 255, .18); color: #9DBDFF; }
.cinfo div { display: grid; gap: 2px; min-width: 0; }
.cinfo small { font-size: 12.5px; color: #93A3C9; font-weight: 600; }
.cinfo a, .cinfo span { font-size: 16.5px; font-weight: 700; text-decoration: none; color: var(--white); line-height: 1.45; overflow-wrap: anywhere; }
.form { display: grid; gap: 16px; padding: clamp(22px, 3vw, 36px); border-radius: 24px; background: var(--white); color: var(--text); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); min-width: 0; }
.form-h { font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fld { display: grid; gap: 7px; min-width: 0; }
.fld span { font-size: 13.5px; font-weight: 700; }
.fld input, .fld select, .fld textarea { width: 100%; min-width: 0; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 11px; background: var(--paper); font-size: 16px; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.fld textarea { resize: vertical; min-height: 104px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 4px rgba(26, 79, 230, .14); }
.fld [aria-invalid="true"] { border-color: var(--red); background: #FEF2F2; }
.consent { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 12px; background: var(--paper); font-size: 13px; line-height: 1.55; color: #3E4A69; cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--blue); cursor: pointer; }
.disclose { font-size: 12.5px; color: var(--muted); line-height: 1.55; }
.disclose a { color: var(--blue); font-weight: 700; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg { font-size: 14.5px; font-weight: 600; min-height: 1px; }
.form-msg.ok { color: #15803D; }
.form-msg.err { color: var(--red); }

/* ---------- footer ---------- */
.ftr { position: relative; overflow: hidden; background: var(--ink); color: #A8B5D4; padding-block: 72px 32px; font-size: 15px; }
.ftr-top { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.ftr-brand { display: grid; gap: 16px; align-content: start; max-width: 380px; }
.ftr-brand img { height: 26px; width: auto; }
.ftr-spec { font-size: 13px; color: #7F8DB2; }
.ftr-col { display: grid; gap: 10px; align-content: start; min-width: 0; }
.ftr-col h3 { font: 400 11px/1.4 var(--f-wide); letter-spacing: .16em; text-transform: uppercase; color: var(--white); margin-bottom: 6px; }
.ftr-col a, .ftr-col span { text-decoration: none; line-height: 1.5; overflow-wrap: anywhere; }
.ftr-col a:hover { color: var(--white); }
.ftr-base { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; color: #7F8DB2; }
.ftr-legal { display: flex; gap: 20px; }
.ftr-legal a { text-decoration: none; }
.ftr-legal a:hover { color: var(--white); }

/* ---------- legal pages ---------- */
.lhero { position: relative; overflow: hidden; background: var(--grad); color: var(--white); padding-block: calc(var(--hdr-h) + 64px) 64px; }
.lhero .wrap { display: grid; gap: 14px; }
.lhero h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.lhero p:last-child { color: var(--on-blue); }
.lhero.nf { padding-bottom: 96px; }
.lhero.nf .cta-row { margin-top: 12px; }
.legal { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 64px; padding-block: 64px 96px; align-items: start; }
.toc { position: sticky; top: calc(var(--hdr-h) + 24px); display: grid; gap: 14px; max-height: calc(100vh - var(--hdr-h) - 48px); overflow: auto; padding-right: 6px; }
.toc-h { font: 400 11px/1.4 var(--f-wide); letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.toc ol { list-style: none; display: grid; gap: 2px; counter-reset: t; }
.toc li { counter-increment: t; }
.toc a { display: flex; gap: 10px; padding: 6px 10px; border-radius: 8px; text-decoration: none; font-size: 14px; color: var(--muted); }
.toc a::before { content: counter(t, decimal-leading-zero); font-variant-numeric: tabular-nums; color: #9AA6C4; font-size: 12.5px; padding-top: 1px; }
.toc a:hover { background: var(--sky); color: var(--navy); }
.toc-other { font-size: 14px; color: var(--muted); padding: 0 10px; }
.toc-other a { display: inline; padding: 0; color: var(--blue); font-weight: 700; }
.toc-other a::before { content: none; }
.ltext { display: grid; gap: 40px; max-width: 760px; min-width: 0; }
.lsec { display: grid; gap: 14px; scroll-margin-top: calc(var(--hdr-h) + 20px); }
.lsec h2 { display: flex; align-items: center; gap: 14px; font-size: 24px; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
.lnum { flex: none; display: inline-grid; place-content: center; min-width: 40px; height: 30px; padding: 0 8px; border-radius: 8px; background: var(--sky); color: var(--blue); font: 400 11.5px/1 var(--f-wide); }
.lsec p, .lsec li { font-size: 16px; line-height: 1.75; color: #2E3958; }
.lsec ul { display: grid; gap: 8px; padding-left: 22px; }
.lsec a { color: var(--blue); font-weight: 600; }
.lsec b { color: var(--navy); }

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

/* ---------- responsive ---------- */
@media (max-width: 1120px) {
  .nav { gap: 20px; }
  .nav .nav-tel span { display: none; }
  .nav .nav-tel { padding-left: 16px; }
}
@media (max-width: 980px) {
  :root { --hdr-h: 68px; }
  .burger { display: inline-flex; color: inherit; }
  .nav { position: fixed; inset: 0; z-index: -1; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 4px;
    padding: calc(var(--hdr-h) + env(safe-area-inset-top, 0px) + 20px) max(20px, env(safe-area-inset-right, 0px)) calc(32px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px));
    background: var(--navy); color: var(--white); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; overflow-y: auto; }
  .nav > a:not(.btn) { font-size: 22px; font-weight: 700; padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, .1); opacity: 1; }
  .nav .nav-tel { border-left: 0; padding-left: 4px; margin-top: 8px; }
  .nav .nav-tel span { display: inline; }
  .nav .nav-cta, .hdr.scrolled .nav .nav-cta { margin-top: 16px; min-height: 54px; font-size: 16px; background: var(--blue); color: var(--white); }
  .hdr.nav-open { color: var(--white); background: transparent; box-shadow: none; }
  .hdr.nav-open .logo-w { opacity: 1; }
  .hdr.nav-open .logo-c { opacity: 0; }
  .hdr.nav-open .burger { background: rgba(255, 255, 255, .12); }
  .hdr.nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .hdr.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hdr.nav-open .burger span:nth-child(2) { opacity: 0; }
  .hdr.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding-block: calc(var(--hdr-h) + 48px) 140px; }
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 64px; }
  .hero-vis { margin-right: 8%; }
  .lines-hero { top: auto; bottom: 80px; width: 80vw; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metrics li:nth-child(3) { border-left: 0; }
  .metrics li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .fc-hos, .fc-status { grid-column: span 12; }
  .fc { grid-column: span 6; }
  .fc-mal { grid-column: span 12; }
  .fc-mal .codes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fc-s { grid-column: span 6; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .split-vis { max-width: 720px; }
  .devs { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .steps li::after { display: none; }
  .faq, .contact { grid-template-columns: minmax(0, 1fr); }
  .faq-intro { position: static; }
  .ftr-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ftr-brand { grid-column: 1 / -1; }
  .legal { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 40px; }
  .toc { position: static; max-height: none; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
  .toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .shots { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 18px; margin-inline: calc(-1 * max(20px, env(safe-area-inset-left, 0px))); padding-inline: max(20px, env(safe-area-inset-left, 0px)); padding-bottom: 8px; scrollbar-width: none; }
  .shots::-webkit-scrollbar { display: none; }
  .shot { flex: 0 0 74%; scroll-snap-align: center; }
  .dev { grid-template-columns: minmax(0, 1fr); }
  .dev-img { aspect-ratio: 16 / 10; padding: 6% 20%; }
}
@media (max-width: 600px) {
  .sub, .lead { font-size: 17px; }
  .cta-row .btn { flex: 1 1 100%; }
  .hero-vis { margin-right: 10%; }
  .phone-hero { width: 33%; right: -10%; }
  .pill-hero { font-size: 12px; top: -16px; }
  .metrics li { padding: 20px 18px 22px; }
  .fgrid { gap: 14px; }
  .fc, .fc-s { grid-column: span 12; padding: 22px; }
  .rings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fc-mal .codes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fc-hos h3, .fc-status h3 { font-size: 23px; }
  .split-vis { padding-bottom: 26%; }
  .tab-back, .tab-front { width: 86%; }
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .row2 { grid-template-columns: minmax(0, 1fr); }
  .qa summary { font-size: 17px; }
  .qa p { padding-right: 0; }
  .ftr-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toc ol { grid-template-columns: minmax(0, 1fr); }
  .lsec h2 { font-size: 21px; }
}
