/* TrackTMS marketing site v2: Workspace look (brand blue, Inter, navy hero), animation-first.
   Compatible with the strict landing CSP: no inline event handlers, only same-origin assets. */
:root {
  --brand: #0052ff;
  --brand-2: #6f9bff;
  --brand-deep: #0b1431;
  --brand-deep-2: #0f1a3d;
  --ink: #102033;
  --body: #4b5a6e;
  --muted: #657080;
  --line: #e5e8ec;
  --surface: #f7f8f9;
  --white: #fff;
  --go: #16a34a;
  --go-soft: #22c55e;
  --fast: #f97316;
  --idle: #dc2626;
  --parked: #475569;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 0.8, 0.2, 1);
  /* names used by the shared pricing configurator styles */
  --primary: #0052ff;
  --text-dark: #102033;
  --text-body: #4b5a6e;
  --border: #e5e8ec;
  --radius: 14px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: clip; }
main { overflow-x: clip; }
.feat > *, .hero-grid > * { min-width: 0; }
body { font-family: var(--font); color: var(--ink); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; font-size: 17px; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 8px; z-index: 100; }

/* ---------- reveal on scroll ---------- */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv-l { opacity: 0; transform: translateX(-34px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .rv-r { opacity: 0; transform: translateX(34px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .rv-l.in, .js .rv-r.in { opacity: 1; transform: none; }

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s; }
.nav-in { max-width: var(--maxw); margin: 0 auto; padding: 14px 28px; display: flex; align-items: center; gap: 30px; }
.nav-logo img { height: 40px; width: auto; }
.nav-logo .lg-dark { display: none; }
.nav-links { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.nav-links a { color: rgba(255, 255, 255, 0.82); text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.nav-links a:hover { color: #fff; }
.nav.solid { background: rgba(255, 255, 255, 0.86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav.solid .nav-links a { color: var(--body); }
.nav.solid .nav-links a:hover { color: var(--brand); }
.nav-links a.btn-primary, .nav.solid .nav-links a.btn-primary { color: #fff; }
.nav.solid .nav-logo .lg-light { display: none; }
.nav.solid .nav-logo .lg-dark { display: block; }
.nav-burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; border-radius: 10px; }
.nav-burger span { display: block; width: 22px; height: 2px; margin: 5px auto; background: #fff; border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
.nav.solid .nav-burger span { background: var(--ink); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform 0.25s var(--ease), box-shadow 0.3s, background 0.2s, border-color 0.2s, color 0.2s; position: relative; overflow: hidden; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 24px -8px rgba(0, 82, 255, 0.7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -10px rgba(0, 82, 255, 0.85); background: #0a5cff; }
.btn-primary::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%); transform: translateX(-120%); }
.btn-primary:hover::after { transform: translateX(120%); transition: transform 0.8s var(--ease); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); transform: translateY(-2px); }
.btn-outline { color: var(--ink); border-color: var(--line); background: #fff; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 0.92rem; }
.btn .arr { transition: transform 0.25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--brand-deep); color: #fff; padding: 150px 0 120px; overflow: hidden; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(900px 520px at calc(70% + var(--mx, 0px)) calc(8% + var(--my, 0px)), rgba(0, 82, 255, 0.55), transparent 62%),
  radial-gradient(700px 480px at 8% 92%, rgba(111, 155, 255, 0.28), transparent 60%),
  radial-gradient(500px 360px at 95% 80%, rgba(34, 197, 94, 0.14), transparent 60%); }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%); }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1.1fr; gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); font-size: 0.85rem; font-weight: 500; color: rgba(255, 255, 255, 0.92); backdrop-filter: blur(6px); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--go-soft); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.3rem); line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; margin: 24px 0 22px; }
.grad, .swap > span { background: linear-gradient(100deg, #8db0ff, #4dd6a2 55%, #8db0ff); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad { animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: -200% 0; } }
.swap { display: inline-grid; vertical-align: bottom; height: 1.1em; overflow: hidden; }
.swap > span { grid-area: 1 / 1; opacity: 0; transform: translateY(100%); animation: swapword 12s infinite, shine 6s linear infinite; }
.swap > span:nth-child(2) { animation-delay: 3s; }
.swap > span:nth-child(3) { animation-delay: 6s; }
.swap > span:nth-child(4) { animation-delay: 9s; }
@keyframes swapword { 0% { opacity: 0; transform: translateY(100%); } 3%, 21% { opacity: 1; transform: none; } 24%, 100% { opacity: 0; transform: translateY(-100%); } }
.hero p.lead { font-size: 1.18rem; color: rgba(255, 255, 255, 0.76); max-width: 520px; line-height: 1.65; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero-note { margin-top: 22px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.55); display: flex; gap: 18px; flex-wrap: wrap; }
.hero-note span::before { content: '✓'; color: var(--go-soft); margin-right: 7px; font-weight: 700; }

/* product window */
.stage { position: relative; perspective: 1400px; }
.window { position: relative; border-radius: 20px; background: #eef2f6; border: 1px solid rgba(255, 255, 255, 0.18); box-shadow: 0 50px 100px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.05), 0 0 120px -20px rgba(0, 82, 255, 0.55); transform: rotateY(var(--ry, -7deg)) rotateX(var(--rx, 3deg)); transition: transform 0.35s var(--ease); overflow: hidden; }
.win-bar { height: 40px; background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; padding: 0 14px; gap: 7px; }
.win-bar i { width: 11px; height: 11px; border-radius: 50%; background: #e5e8ec; }
.win-bar i:nth-child(1) { background: #ff6058; } .win-bar i:nth-child(2) { background: #ffc130; } .win-bar i:nth-child(3) { background: #27c93f; }
.win-bar b { margin-left: 14px; font-size: 0.78rem; color: var(--muted); font-weight: 600; }
.win-bar em { margin-left: auto; font-style: normal; font-size: 0.7rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; }
.map { display: block; width: 100%; height: auto; }
.road-casing { fill: none; stroke: #c9d3dc; stroke-width: 11; stroke-linecap: round; }
.road { fill: none; stroke: #fff; stroke-width: 8; stroke-linecap: round; }
.road.hw { stroke: #ffd9a8; } .road-casing.hw { stroke: #e8b676; }
.trail { fill: none; stroke: var(--brand); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 700; stroke-dashoffset: 700; animation: draw 5s var(--ease) infinite; }
@keyframes draw { 0% { stroke-dashoffset: 700; } 55%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -700; } }
.flt { position: absolute; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(10px); border-radius: 14px; box-shadow: 0 18px 40px -12px rgba(11, 20, 49, 0.45); border: 1px solid rgba(255, 255, 255, 0.7); color: var(--ink); animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-9px); } }
.flt h4 { font-size: 0.8rem; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.flt small { color: var(--muted); font-size: 0.7rem; }
.card-veh { left: -34px; bottom: -34px; width: 270px; padding: 16px 18px; animation-delay: -1s; }
.card-veh .row { display: flex; gap: 14px; align-items: center; margin-top: 12px; }
.ring { width: 64px; height: 64px; flex: none; }
.ring circle { fill: none; stroke-width: 7; }
.ring .bg { stroke: #e5e8ec; } .ring .fg { stroke: var(--go); stroke-linecap: round; stroke-dasharray: 176; stroke-dashoffset: 176; transform: rotate(-90deg); transform-origin: center; animation: fuel 3.2s var(--ease) 0.6s forwards; }
@keyframes fuel { to { stroke-dashoffset: 56; } }
.ring text { font-size: 15px; font-weight: 800; fill: var(--ink); font-family: var(--font); }
.kv { font-size: 0.72rem; color: var(--muted); line-height: 1.5; }
.kv b { display: block; color: var(--ink); font-size: 0.95rem; font-weight: 700; }
.tag { display: inline-block; font-size: 0.64rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; color: #fff; background: var(--go); }
.card-tacho { right: -26px; top: 56px; width: 250px; padding: 14px 16px; animation-delay: -3s; }
.tbar { display: flex; height: 10px; border-radius: 6px; overflow: hidden; margin-top: 11px; background: #e5e8ec; }
.tbar span { height: 100%; width: 0; animation: grow 2.4s var(--ease) 0.9s forwards; }
.tbar span:nth-child(1) { background: #2563eb; --w: 42%; } .tbar span:nth-child(2) { background: #f59e0b; --w: 14%; animation-delay: 1.3s; } .tbar span:nth-child(3) { background: #94a3b8; --w: 18%; animation-delay: 1.6s; }
@keyframes grow { to { width: var(--w); } }
.legend { display: flex; gap: 12px; margin-top: 9px; font-size: 0.66rem; color: var(--muted); }
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 5px; }
.toast { right: 30px; bottom: 26px; padding: 11px 14px; display: flex; gap: 11px; align-items: center; font-size: 0.78rem; animation: toast 9s ease-in-out infinite; opacity: 0; }
.toast .ic { width: 30px; height: 30px; border-radius: 9px; background: #fff1e6; color: var(--fast); display: grid; place-items: center; font-weight: 800; }
@keyframes toast { 0%, 8% { opacity: 0; transform: translateY(16px) scale(0.96); } 14%, 46% { opacity: 1; transform: none; } 54%, 100% { opacity: 0; transform: translateY(-8px); } }
.demo-flag { position: absolute; left: 14px; top: 52px; z-index: 3; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: rgba(11, 20, 49, 0.78); color: #fff; padding: 4px 10px; border-radius: 999px; }
.legend-map { position: absolute; left: 14px; bottom: 14px; background: rgba(255, 255, 255, 0.92); border-radius: 10px; padding: 8px 12px; font-size: 0.66rem; color: var(--body); display: grid; gap: 4px; }
.legend-map i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 7px; vertical-align: -1px; border: 1px solid rgba(11, 20, 49, 0.7); }

/* ---------- marquee ---------- */
.marq { background: var(--brand-deep-2); color: rgba(255, 255, 255, 0.7); border-top: 1px solid rgba(255, 255, 255, 0.07); overflow: hidden; padding: 18px 0; }
.marq-t { display: flex; gap: 52px; width: max-content; animation: marq 38s linear infinite; }
.marq:hover .marq-t { animation-play-state: paused; }
.marq span { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: 0.95rem; white-space: nowrap; }
.marq span::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-2); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section { position: relative; }
.sec { padding: 120px 0; }
.sec.alt { background: var(--surface); }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 70px; }
.eyebrow { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.sec h2 { font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; }
.sec-head p { margin-top: 18px; color: var(--body); font-size: 1.1rem; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; position: relative; z-index: 5; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px; box-shadow: 0 20px 50px -24px rgba(11, 20, 49, 0.35); transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.stat:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -24px rgba(0, 82, 255, 0.35); }
.stat b { display: block; font-size: 2.1rem; font-weight: 800; letter-spacing: -0.03em; color: var(--brand); line-height: 1.1; }
.stat span { color: var(--body); font-size: 0.95rem; }

/* feature rows */
.feat { display: grid; grid-template-columns: 1fr 1.08fr; gap: 72px; align-items: center; }
.feat + .feat { margin-top: 130px; }
.feat.flip .feat-copy { order: 2; }
.feat-copy h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -0.03em; line-height: 1.12; font-weight: 800; margin: 12px 0 18px; }
.feat-copy p { color: var(--body); font-size: 1.08rem; }
.ticks { list-style: none; margin: 24px 0 28px; display: grid; gap: 13px; }
.ticks li { display: flex; gap: 13px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.ticks li::before { content: '✓'; flex: none; width: 24px; height: 24px; border-radius: 50%; background: rgba(0, 82, 255, 0.1); color: var(--brand); display: grid; place-items: center; font-size: 0.8rem; font-weight: 800; margin-top: 1px; }
.more { color: var(--brand); font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.more:hover .arr { transform: translateX(5px); }
.more .arr { transition: transform 0.25s var(--ease); }

.panel { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 40px 80px -36px rgba(11, 20, 49, 0.4); overflow: hidden; }
.panel .win-bar { background: #fbfcfd; }
.panel-body { padding: 22px; }
.glow { position: absolute; inset: -24px; z-index: -1; background: radial-gradient(60% 60% at 50% 50%, rgba(0, 82, 255, 0.18), transparent 70%); filter: blur(20px); }

/* vehicle list demo */
.vlist { display: grid; gap: 10px; }
.vrow { display: grid; grid-template-columns: 22px 1fr auto auto; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 0.9rem; transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s; }
.vrow:hover { transform: translateX(6px); box-shadow: 0 12px 30px -14px rgba(11, 20, 49, 0.35); border-color: rgba(0, 82, 255, 0.35); }
.vdot { width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid #0b1431; }
.vdot.go { background: var(--go-soft); animation: blink 2.2s infinite; } .vdot.fast { background: var(--fast); animation: blink 1.6s infinite; } .vdot.idle { background: var(--idle); } .vdot.park { background: var(--parked); } .vdot.off { background: #cbd5e1; }
@keyframes blink { 50% { opacity: 0.45; } }
.vrow b { font-weight: 700; } .vrow small { display: block; color: var(--muted); font-size: 0.76rem; }
.spd { font-weight: 800; font-variant-numeric: tabular-nums; min-width: 64px; text-align: right; }
.chip { font-size: 0.7rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #eef4ff; color: var(--brand); }
.chip.g { background: #e8f8ee; color: var(--go); } .chip.o { background: #fff1e6; color: #c2570c; } .chip.r { background: #fdecec; color: var(--idle); } .chip.s { background: #eef0f3; color: var(--parked); }

/* tacho demo */
.tl { display: grid; gap: 14px; }
.tl-row { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: center; font-size: 0.82rem; color: var(--muted); }
.tl-track { display: flex; height: 26px; border-radius: 8px; background: #eef1f5; overflow: hidden; }
.tl-track span { height: 100%; width: 0; transition: width 1.4s var(--ease); }
.in .tl-track span, .tl-track.in span { width: var(--w); }
.s-dr { background: #2563eb; } .s-wk { background: #f59e0b; } .s-av { background: #a78bfa; } .s-rs { background: #94a3b8; }
.dl { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px dashed #cbd5e1; }
.dl b { font-size: 0.9rem; } .dl small { display: block; color: var(--muted); font-size: 0.76rem; }
.dl .bar { height: 6px; border-radius: 3px; background: #dfe5ec; width: 120px; overflow: hidden; }
.dl .bar i { display: block; height: 100%; width: 0; background: var(--go); border-radius: 3px; animation: dlp 4.5s var(--ease) infinite; }
@keyframes dlp { 0% { width: 0; } 70%, 100% { width: 100%; } }

/* orders demo */
.orders { display: grid; gap: 10px; }
.ord { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; font-size: 0.88rem; background: #fff; }
.ord b { display: block; } .ord small { color: var(--muted); }
.route { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 0.78rem; color: var(--body); }
.route i { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, #cbd5e1 0 6px, transparent 6px 10px); position: relative; }
.route i::after { content: ''; position: absolute; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); animation: travel 3.4s ease-in-out infinite; }
@keyframes travel { 0% { left: 0; } 100% { left: calc(100% - 8px); } }
.scan { position: relative; margin-bottom: 14px; padding: 18px; border: 1.5px dashed #b5c3d6; border-radius: 14px; background: #fbfcfe; overflow: hidden; display: flex; gap: 16px; align-items: center; }
.scan .doc { width: 54px; height: 70px; border-radius: 6px; background: #fff; border: 1px solid #d8dfe8; padding: 8px 7px; display: grid; gap: 5px; align-content: start; box-shadow: 0 6px 14px -8px rgba(0, 0, 0, 0.3); }
.scan .doc i { height: 4px; background: #d8dfe8; border-radius: 2px; } .scan .doc i:nth-child(2) { width: 70%; } .scan .doc i:nth-child(4) { width: 55%; }
.scan::after { content: ''; position: absolute; left: 0; right: 0; height: 46px; top: -46px; background: linear-gradient(180deg, transparent, rgba(0, 82, 255, 0.22), transparent); animation: scan 3.2s ease-in-out infinite; }
@keyframes scan { 0% { top: -46px; } 100% { top: 100%; } }
.scan p { font-size: 0.82rem; color: var(--body); } .scan p b { color: var(--ink); display: block; font-size: 0.92rem; }

/* finance demo */
.bars { display: flex; align-items: flex-end; gap: 14px; height: 170px; padding: 8px 6px 0; border-bottom: 1px solid var(--line); }
.bars div { flex: 1; border-radius: 8px 8px 0 0; background: linear-gradient(180deg, #5b8dff, #0052ff); height: 0; transition: height 1.2s var(--ease); position: relative; }
.bars div.lo { background: linear-gradient(180deg, #cbd5e1, #94a3b8); }
.in .bars div, .bars.in div { height: var(--h); }
.bars div::after { content: attr(data-v); position: absolute; top: -22px; left: 50%; transform: translateX(-50%); font-size: 0.72rem; font-weight: 700; color: var(--ink); }
.axis { display: flex; gap: 14px; padding: 8px 6px 0; font-size: 0.7rem; color: var(--muted); }
.axis span { flex: 1; text-align: center; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.kpi { padding: 12px 14px; border-radius: 12px; background: var(--surface); } .kpi small { color: var(--muted); font-size: 0.72rem; } .kpi b { display: block; font-size: 1.12rem; letter-spacing: -0.02em; white-space: nowrap; }
.kpi b.up { color: var(--go); }

/* phone */
.phone-wrap { display: flex; justify-content: center; gap: 22px; align-items: center; }
.phone { width: 250px; background: #0b1431; border-radius: 38px; padding: 10px; box-shadow: 0 40px 70px -26px rgba(11, 20, 49, 0.6); position: relative; }
.phone.small { transform: scale(0.88) translateY(26px); opacity: 0.92; }
.phone-in { background: #f3f6fa; border-radius: 30px; overflow: hidden; min-height: 470px; }
.phone-top { background: var(--brand); color: #fff; padding: 22px 16px 14px; font-weight: 700; font-size: 0.9rem; }
.phone-top small { display: block; font-weight: 500; opacity: 0.8; font-size: 0.7rem; }
.phone-map { height: 170px; background: #e6eee8; position: relative; overflow: hidden; }
.phone-card { margin: 12px; padding: 14px; background: #fff; border-radius: 16px; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.4); }
.phone-card .row { display: flex; gap: 10px; align-items: center; margin-top: 10px; }
.ph-line { display: flex; justify-content: space-between; padding: 11px 14px; font-size: 0.78rem; border-bottom: 1px solid #e5e8ec; background: #fff; }
.ph-line b { font-weight: 700; }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; counter-reset: s; }
.steps::before { content: ''; position: absolute; left: 12%; right: 12%; top: 36px; height: 2px; background: repeating-linear-gradient(90deg, #c7d3e3 0 8px, transparent 8px 14px); }
.step { position: relative; text-align: center; padding: 0 12px; }
.step .n { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 22px; display: grid; place-items: center; background: #fff; border: 2px solid var(--brand); color: var(--brand); font-weight: 800; font-size: 1.5rem; box-shadow: 0 0 0 8px var(--surface), 0 14px 30px -12px rgba(0, 82, 255, 0.5); position: relative; z-index: 2; transition: transform 0.4s var(--ease), background 0.3s, color 0.3s; }
.step:hover .n { transform: scale(1.1) rotate(-6deg); background: var(--brand); color: #fff; }
.step h3 { font-size: 1.25rem; margin-bottom: 8px; letter-spacing: -0.02em; } .step p { color: var(--body); font-size: 0.98rem; }

/* security (dark) */
.dark { background: var(--brand-deep); color: #fff; overflow: hidden; }
.dark::before { content: ''; position: absolute; inset: 0; background: radial-gradient(700px 400px at 85% 10%, rgba(0, 82, 255, 0.4), transparent 60%), radial-gradient(500px 300px at 5% 95%, rgba(77, 214, 162, 0.16), transparent 60%); pointer-events: none; }
.dark .sec-head p { color: rgba(255, 255, 255, 0.7); } .dark .eyebrow { color: #8db0ff; }
.sgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.scard { padding: 28px; border-radius: 20px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); backdrop-filter: blur(8px); transition: transform 0.35s var(--ease), background 0.3s, border-color 0.3s; }
.scard:hover { transform: translateY(-8px); background: rgba(255, 255, 255, 0.09); border-color: rgba(141, 176, 255, 0.5); }
.scard .ic { width: 48px; height: 48px; border-radius: 14px; background: rgba(0, 82, 255, 0.25); display: grid; place-items: center; margin-bottom: 18px; color: #9db9ff; }
.scard h3 { font-size: 1.12rem; margin-bottom: 8px; } .scard p { color: rgba(255, 255, 255, 0.68); font-size: 0.95rem; }

/* pricing section shared compat (configurator markup comes from the previous site) */
.section { padding: 120px 28px; } .section-gray { background: var(--surface); }
.section-inner { max-width: var(--maxw); margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-label { display: inline-block; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--brand); margin-bottom: 14px; }
.section-title { font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 16px; color: var(--ink); }
.section-subtitle { font-size: 1.08rem; color: var(--body); max-width: 680px; margin: 0 auto; line-height: 1.7; }
.pricing-netto { display: inline-flex; margin-top: 22px; background: #eef4ff; color: var(--brand); font-size: 0.8rem; font-weight: 600; padding: 7px 16px; border-radius: 999px; }
.pricing-btn { display: inline-flex; justify-content: center; align-items: center; padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 0.95rem; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: transform 0.25s var(--ease), box-shadow 0.3s; font-family: inherit; }
.pricing-btn:hover:not(:disabled) { transform: translateY(-2px); }
.pricing-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.pricing-btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 22px -8px rgba(0, 82, 255, 0.7); }
.pricing-btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }

/* faq */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: border-color 0.3s, box-shadow 0.3s; }
.faq details:hover { border-color: rgba(0, 82, 255, 0.3); }
.faq details[open] { border-color: var(--brand); box-shadow: 0 16px 36px -22px rgba(0, 82, 255, 0.5); }
.faq summary { padding: 20px 24px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.5rem; line-height: 1; color: var(--muted); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--brand); }
.faq .ans { padding: 0 24px 22px; color: var(--body); font-size: 0.98rem; }

/* cta */
.cta { background: linear-gradient(120deg, #0040cc, #0052ff 45%, #3b7bff); color: #fff; text-align: center; padding: 110px 28px; overflow: hidden; position: relative; }
.cta::before { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -120px; top: -200px; background: rgba(255, 255, 255, 0.12); animation: drift 14s ease-in-out infinite; }
.cta::after { content: ''; position: absolute; width: 380px; height: 380px; border-radius: 50%; left: -100px; bottom: -180px; background: rgba(255, 255, 255, 0.09); animation: drift 18s ease-in-out infinite reverse; }
@keyframes drift { 50% { transform: translate(-40px, 30px) scale(1.08); } }
.cta h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); letter-spacing: -0.03em; font-weight: 800; position: relative; z-index: 1; max-width: 800px; margin: 0 auto; line-height: 1.12; }
.cta p { margin: 18px auto 34px; max-width: 600px; opacity: 0.88; font-size: 1.1rem; position: relative; z-index: 1; }
.cta .btn-white { background: #fff; color: var(--brand); position: relative; z-index: 1; }
.cta .btn-white:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.5); }
.cta .btn-line { color: #fff; border-color: rgba(255, 255, 255, 0.5); margin-left: 12px; position: relative; z-index: 1; }

/* footer */
.footer { background: #0a1124; color: rgba(255, 255, 255, 0.66); padding: 70px 28px 34px; }
.footer-top { max-width: var(--maxw); margin: 0 auto 48px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer img { height: 32px; margin-bottom: 14px; }
.footer h5 { color: rgba(255, 255, 255, 0.42); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; }
.footer a { display: block; color: rgba(255, 255, 255, 0.68); text-decoration: none; font-size: 0.92rem; padding: 4px 0; transition: color 0.2s; }
.footer a:hover { color: #fff; }
.footer p { font-size: 0.88rem; max-width: 320px; }
.footer-bot { max-width: var(--maxw); margin: 0 auto; border-top: 1px solid rgba(255, 255, 255, 0.09); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.78rem; color: rgba(255, 255, 255, 0.4); }
.footer-bot div a { display: inline; margin-left: 18px; font-size: 0.78rem; }

/* sticky mobile cta */
.mcta { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero { padding: 120px 0 90px; }
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .stage { max-width: 640px; margin: 0 auto; width: 100%; }
  .window { transform: none; }
  .card-veh { left: 8px; bottom: -42px; } .card-tacho { right: 8px; }
  .feat, .feat.flip { grid-template-columns: 1fr; gap: 44px; }
  .feat.flip .feat-copy { order: 0; }
  .feat + .feat { margin-top: 96px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .sgrid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 780px) {
  body { font-size: 16px; }
  .js .rv-l, .js .rv-r { transform: translateY(26px); }
  .js .rv-l.in, .js .rv-r.in { transform: none; }
  .glow { inset: 0; }
  .legend-map { display: none; } .win-bar em { display: none; }
  .kpis { gap: 8px; } .kpi { padding: 10px; min-width: 0; } .kpi b { font-size: 0.92rem; }
  .nav-links { position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: rgba(11, 20, 49, 0.97); padding: 10px 20px 24px; transform: translateY(-120%); transition: transform 0.35s var(--ease); margin: 0; }
  .nav-links.open { transform: none; }
  .nav-links a, .nav.solid .nav-links a { color: #fff; padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .nav-links .btn { margin-top: 14px; justify-content: center; border: 0; }
  .nav-burger { display: block; }
  .sec { padding: 84px 0; } .section { padding: 84px 20px; }
  .wrap { padding: 0 20px; }
  .sec-head { margin-bottom: 48px; }
  .steps { grid-template-columns: 1fr; gap: 40px; } .steps::before { display: none; }
  .sgrid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 36px; } .stat { padding: 18px 16px; } .stat b { font-size: 1.6rem; }
  .card-tacho { display: none; } .card-veh { position: relative; left: auto; bottom: auto; margin: 16px auto 0; width: 100%; max-width: 340px; }
  .toast { display: none; }
  .phone-wrap .small { display: none; }
  .tl-row { grid-template-columns: 78px 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .cta .btn-line { margin: 14px 0 0; }
  .mcta { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; justify-content: center; box-shadow: 0 14px 34px -10px rgba(0, 82, 255, 0.8); transform: translateY(140%); transition: transform 0.4s var(--ease); }
  .mcta.show { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .js .rv, .js .rv-l, .js .rv-r { opacity: 1; transform: none; }
  .swap > span:first-child { opacity: 1; transform: none; }
  .marq-t { animation: none; }
  .ring .fg { stroke-dashoffset: 56; } .tbar span { width: var(--w); } .toast { opacity: 1; }
}

/* ===== v2.1 WOW layer ===== */
/* scroll road */
.sroad { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 70; pointer-events: none; background: rgba(0, 82, 255, 0.12); }
.road-fill { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, #0052ff, #5b8dff, #22c55e); box-shadow: 0 0 14px rgba(0, 82, 255, 0.7); }
.road-truck { position: absolute; top: 5px; left: 0; width: 30px; height: 16px; filter: drop-shadow(0 3px 4px rgba(11, 20, 49, 0.35)); animation: roadbob 0.5s ease-in-out infinite; }
@keyframes roadbob { 50% { transform: translateY(1px); } }

/* hero aurora + particles */
.aurora { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; width: 46vw; max-width: 640px; aspect-ratio: 1; border-radius: 50%; filter: blur(80px); opacity: 0.55; animation: aur 16s ease-in-out infinite; transform: translate(var(--mx, 0), var(--my, 0)); }
.aurora i:nth-child(1) { left: -8%; top: -18%; background: #0052ff; }
.aurora i:nth-child(2) { right: -10%; top: 6%; background: #7c3aed; opacity: 0.38; animation-delay: -5s; animation-duration: 20s; }
.aurora i:nth-child(3) { left: 32%; bottom: -34%; background: #06b6d4; opacity: 0.32; animation-delay: -9s; animation-duration: 24s; }
@keyframes aur { 0%, 100% { margin: 0 0; scale: 1; } 33% { margin: 40px 60px; scale: 1.15; } 66% { margin: -30px 30px; scale: 0.9; } }
.dots { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.dots i { position: absolute; left: var(--x); bottom: -10px; width: calc(var(--s) * 1px); height: calc(var(--s) * 1px); border-radius: 50%; background: rgba(255, 255, 255, 0.7); box-shadow: 0 0 8px rgba(141, 176, 255, 0.9); animation: rise var(--t) linear var(--dl) infinite; }
@keyframes rise { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 0.8; } 100% { transform: translateY(-110vh) translateX(30px); opacity: 0; } }

/* window shine sweep */
.window::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.28) 50%, transparent 62%); transform: translateX(-130%); animation: wshine 7s ease-in-out 1.5s infinite; }
@keyframes wshine { 0%, 55% { transform: translateX(-130%); } 80%, 100% { transform: translateX(130%); } }

/* split headings */
.split .w { display: inline-block; opacity: 0; transform: translateY(0.5em) rotateX(-40deg); filter: blur(6px); transition: opacity 0.7s var(--ease), transform 0.8s var(--ease), filter 0.7s var(--ease); transition-delay: calc(var(--i) * 70ms); }
.split.in .w { opacity: 1; transform: none; filter: none; }
.js .rv-s { opacity: 0; transform: scale(0.9); transition: opacity 0.8s var(--ease), transform 0.9s var(--ease); }
.js .rv-s.in { opacity: 1; transform: none; }
.glow { transform: translateY(var(--py, 0)); }
.cta h2 .w { color: #fff; }

/* spotlight that follows the cursor */
.spot { position: relative; overflow: hidden; }
.spot::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.3s; background: radial-gradient(260px circle at var(--sx, 50%) var(--sy, 50%), rgba(0, 82, 255, 0.14), transparent 65%); }
.scard.spot::after { background: radial-gradient(260px circle at var(--sx, 50%) var(--sy, 50%), rgba(141, 176, 255, 0.22), transparent 65%); }
.spot:hover::after { opacity: 1; }
.panel { transition: transform 0.25s var(--ease), box-shadow 0.3s; will-change: transform; }
.panel:hover { box-shadow: 0 50px 90px -34px rgba(0, 82, 255, 0.45); }

/* chips and live numbers */
.chip.pop { animation: pop 0.45s var(--ease); }
@keyframes pop { 0% { transform: scale(0.7); } 60% { transform: scale(1.14); } 100% { transform: scale(1); } }
.live-dot { animation: ping 1.8s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); } 100% { box-shadow: 0 0 0 12px rgba(34, 197, 94, 0); } }

/* steps connector draws itself, numbers pulse */
.steps.in .step .n { animation: nring 3.2s ease-out infinite; }
.steps.in .step:nth-child(2) .n { animation-delay: 0.5s; } .steps.in .step:nth-child(3) .n { animation-delay: 1s; }
@keyframes nring { 0% { box-shadow: 0 0 0 8px var(--surface), 0 0 0 8px rgba(0, 82, 255, 0.45); } 70%, 100% { box-shadow: 0 0 0 8px var(--surface), 0 0 0 26px rgba(0, 82, 255, 0); } }

/* security icons breathe, cards glow on the edge */
.scard .ic { animation: breathe 4s ease-in-out infinite; }
.scard:nth-child(odd) .ic { animation-delay: -2s; }
@keyframes breathe { 50% { transform: translateY(-3px) scale(1.06); box-shadow: 0 10px 24px -8px rgba(0, 82, 255, 0.8); } }

/* animated gradient on key words and CTA */
.cta { background-size: 200% 200%; animation: grad 12s ease-in-out infinite; }
@keyframes grad { 50% { background-position: 100% 50%; } }
.stat b { background: linear-gradient(100deg, var(--brand), #7c3aed 50%, var(--brand)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradtxt 6s linear infinite; }
@keyframes gradtxt { to { background-position: -200% 0; } }

/* pause everything that is off screen */
.off *, .off *::before, .off *::after { animation-play-state: paused !important; }

@media (max-width: 780px) {
  .aurora i { filter: blur(60px); } .dots i:nth-child(n+11) { display: none; }
  .road-truck { width: 24px; height: 13px; } .road-truck svg { width: 24px; height: 13px; }
  .split .w { filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  .aurora i, .dots i, .window::after, .scard .ic, .road-truck, .stat b, .cta, .live-dot { animation: none !important; }
  .dots { display: none; } .stat b { color: var(--brand); background: none; }
  .split .w, .js .rv-s { opacity: 1; transform: none; filter: none; }
  .window { transform: none; }
}

/* ===== v2.2 map life + security polish ===== */
.geo-fill { fill: rgba(0, 82, 255, 0.1); animation: geofill 4s ease-in-out infinite; }
.geo-ring { fill: none; stroke: #0052ff; stroke-width: 2; stroke-dasharray: 7 6; transform-origin: 505px 88px; animation: spin 24s linear infinite; }
.geo-t { font: 700 10px var(--font); fill: #0042cc; paint-order: stroke; stroke: #fff; stroke-width: 3px; }
@keyframes geofill { 50% { fill: rgba(0, 82, 255, 0.22); } }
@keyframes spin { to { transform: rotate(360deg); } }
.pulse circle { fill: none; stroke: #dc2626; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: radar 2.4s ease-out infinite; }
.pulse circle:nth-child(2) { animation-delay: 1.2s; }
@keyframes radar { 0% { transform: scale(1); opacity: 0.9; } 100% { transform: scale(4.2); opacity: 0; } }

.sec.dark { position: relative; overflow: hidden; }
.sec.dark::before { content: ''; position: absolute; left: 0; right: 0; height: 160px; top: -160px; background: linear-gradient(180deg, transparent, rgba(0, 82, 255, 0.18), transparent); animation: secscan 7s linear infinite; pointer-events: none; }
@keyframes secscan { to { transform: translateY(calc(100% + 1200px)); } }
.scard { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.scard h3 { position: relative; display: inline-block; }
.scard h3::after { content: ''; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0; background: linear-gradient(90deg, #5b8dff, #22c55e); transition: width 0.5s var(--ease); }
.scard:hover h3::after { width: 100%; }

@media (prefers-reduced-motion: reduce) {
  .geo-fill, .geo-ring, .pulse circle, .sec.dark::before { animation: none !important; }
}

/* ===== sub-pages (solutions) ===== */
.phero { padding: 140px 0 110px; }
.phero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.grad { background: linear-gradient(90deg, #8db0ff, #5bd6ff, #b79bff, #8db0ff); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradtxt 6s linear infinite; }
.win-body { position: relative; }
.win-body .panel-body { background: #fff; }
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fcard { padding: 30px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 50px -30px rgba(11, 20, 49, 0.35); transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.3s; }
.fcard:hover { transform: translateY(-8px); border-color: rgba(0, 82, 255, 0.35); box-shadow: 0 34px 60px -26px rgba(0, 82, 255, 0.4); }
.fcard .ic { width: 50px; height: 50px; border-radius: 15px; background: rgba(0, 82, 255, 0.1); color: var(--brand); display: grid; place-items: center; margin-bottom: 20px; transition: transform 0.4s var(--ease), background 0.3s, color 0.3s; }
.fcard:hover .ic { transform: rotate(-8deg) scale(1.1); background: var(--brand); color: #fff; }
.fcard h3 { font-size: 1.18rem; letter-spacing: -0.02em; margin-bottom: 8px; }
.fcard p { color: var(--body); font-size: 0.98rem; }
.tbl { width: 100%; border-collapse: collapse; font-size: 0.88rem; margin-top: 14px; }
.tbl th { text-align: left; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: 0 10px 8px; }
.tbl td { padding: 11px 10px; border-top: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.tbl tr { transition: background 0.2s; } .tbl tbody tr:hover { background: var(--surface); }
.scan + .tbl { margin-top: 18px; }
.flow { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 1000px; margin: 0 auto; }
.flow span { padding: 12px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 0.95rem; color: var(--ink); position: relative; animation: flowhi 12s ease-in-out infinite; animation-delay: calc(var(--i) * 1.2s - 12s); }
.flow span:not(:last-child)::after { content: '→'; position: absolute; right: -14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 400; }
@keyframes flowhi { 0%, 10%, 100% { background: #fff; color: var(--ink); border-color: var(--line); transform: none; } 3%, 7% { background: var(--brand); color: #fff; border-color: var(--brand); transform: translateY(-4px); box-shadow: 0 12px 26px -10px rgba(0, 82, 255, 0.7); } }
.relgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.rel { position: relative; display: block; padding: 26px; border-radius: 20px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.3s; }
.rel:hover { transform: translateY(-6px); border-color: var(--brand); box-shadow: 0 26px 50px -26px rgba(0, 82, 255, 0.45); }
.rel .ic { width: 44px; height: 44px; border-radius: 13px; background: rgba(0, 82, 255, 0.1); color: var(--brand); display: grid; place-items: center; margin-bottom: 16px; }
.rel b { display: block; font-size: 1.08rem; margin-bottom: 4px; } .rel span { color: var(--body); font-size: 0.92rem; }
.rel em { position: absolute; right: 22px; top: 24px; font-style: normal; color: var(--muted); transition: transform 0.3s var(--ease), color 0.3s; }
.rel:hover em { transform: translateX(5px); color: var(--brand); }
@media (max-width: 1020px) { .fgrid { grid-template-columns: 1fr 1fr; } .relgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 780px) { .fgrid, .relgrid { grid-template-columns: 1fr; } .phero { padding: 112px 0 70px; } .flow span:not(:last-child)::after { display: none; } .sec { padding: 80px 0; } }
@media (prefers-reduced-motion: reduce) { .flow span, .grad { animation: none !important; } .grad { color: #8db0ff; background: none; } }

/* ===== legal pages ===== */
.legal-wrap { max-width: 900px; margin: 0 auto; padding: 130px 28px 90px; }
.back-link { display: inline-flex; gap: 8px; align-items: center; color: var(--brand); font-weight: 600; font-size: 0.92rem; text-decoration: none; margin-bottom: 22px; }
.back-link:hover { text-decoration: underline; }
.legal-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 48px; box-shadow: 0 30px 70px -40px rgba(11, 20, 49, 0.35); color: var(--body); line-height: 1.7; }
.legal-card h1 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); letter-spacing: -0.03em; font-weight: 800; color: var(--ink); line-height: 1.15; }
.legal-card h2 { font-size: 1.3rem; letter-spacing: -0.02em; font-weight: 800; color: var(--ink); margin: 38px 0 12px; scroll-margin-top: 90px; }
.legal-card h3 { color: var(--ink); font-size: 1.05rem; margin: 18px 0 8px; }
.legal-card p, .legal-card li { font-size: 0.98rem; }
.legal-card ol, .legal-card ul { padding-left: 22px; display: grid; gap: 8px; margin: 10px 0; }
.legal-card strong { color: var(--ink); }
.legal-card a { color: var(--brand); }
.legal-meta { color: var(--muted); margin: 8px 0 24px; }
.legal-toc { background: var(--surface); border-radius: 16px; padding: 22px 28px; margin: 0 0 12px; }
.legal-toc h3 { margin-top: 0; }
.legal-toc a { text-decoration: none; font-weight: 500; } .legal-toc a:hover { text-decoration: underline; }
.legal-table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 0.88rem; display: block; overflow-x: auto; }
.legal-table th { background: var(--surface); padding: 10px 14px; text-align: left; font-weight: 700; color: var(--ink); border: 1px solid var(--line); }
.legal-table td { padding: 10px 14px; border: 1px solid var(--line); vertical-align: top; }
@media (max-width: 780px) { .legal-wrap { padding: 104px 16px 60px; } .legal-card { padding: 26px 20px; border-radius: 18px; } }
@media (max-width: 780px) { .nav-logo img { height: 34px; } }

/* mobile polish: tap targets, form sizing, readable demo labels, room for the sticky CTA */
@media (max-width: 780px) {
  .nav-logo { display: inline-flex; align-items: center; min-height: 44px; }
  .hero h1 { font-size: clamp(2.1rem, 9.6vw, 2.7rem); margin: 20px 0 18px; }
  .hero p.lead { font-size: 1.05rem; line-height: 1.6; }
  .hero-cta { flex-direction: column; gap: 12px; margin-top: 28px; }
  .hero-cta .btn { width: 100%; justify-content: center; min-height: 48px; }
  .hero-note { flex-direction: column; gap: 8px; font-size: 0.9rem; }
  .more { min-height: 44px; }
  .ticks li { line-height: 1.5; }
  .win-bar b, .win-bar em, .tag, .chip, .vrow small, .flt small, .panel small, .phone-top small, .ph-line span { font-size: 0.78rem; }
  .legend span, .axis span, .kpi small { font-size: 0.78rem; }
  .footer { padding-bottom: 96px; }
  .footer a { padding: 12px 0; font-size: 1rem; }
  .footer-bot { flex-direction: column; gap: 14px; }
  .footer-bot div a { display: inline-block; margin: 0 18px 0 0; padding: 10px 0; font-size: 0.9rem; }
  .faq summary { min-height: 48px; }
  .pricing-number input, .pricing-number select { font-size: 16px; min-height: 52px; }
  .pricing-number small, .pricing-field-hint, .pricing-choice small, .pricing-terms, .pricing-dialog-intro, .pricing-success p { font-size: 0.82rem; }
  .pricing-choice em, .pricing-discount-box small, .pricing-discount-box span { font-size: 0.78rem; }
  .pricing-consent { font-size: 0.82rem; gap: 12px; }
  .pricing-consent input, .pricing-choice input { width: 22px; height: 22px; flex: none; }
  .pricing-btn { min-height: 50px; font-size: 0.95rem; }
  .pricing-dialog-close { width: 44px; height: 44px; }
  .pricing-feature-cards p { font-size: 0.88rem; }
  .sec-head p a { display: inline-block; padding: 10px 0; }
}

/* contrast (WCAG AA) for small grey text */
.pricing-number small, .pricing-selected-points li.is-empty, .pricing-selected-products li.is-empty, .pricing-discount-box small { color: #566072; }
.footer h5 { color: rgba(255, 255, 255, 0.62); }
.footer-bot span, .footer-bot a { color: rgba(255, 255, 255, 0.72); }
