/* Puls website. Tokens follow DESIGN.md (Richtung C): bläuliches Graphit, Puls-Orange, SF. */
:root {
  --bg: #091218;
  --bg-deep: #060d12;
  --surface: #101b23;
  --surface-2: #142230;
  --line: rgba(166, 181, 196, .16);
  --line-strong: rgba(166, 181, 196, .28);
  --text: #edf2f5;
  --muted: #a6b5c4;
  --orange: #ff701c;
  --orange-hi: #ff8a45;
  --orange-soft: rgba(255, 112, 28, .12);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(16px, 4.4vw, 56px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 100%; line-height: 1.55; -webkit-text-size-adjust: 100%; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; scrollbar-color: #2a3c4b var(--bg); scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); overflow-x: hidden; }
img, svg { display: block; }
::selection { background: var(--orange); color: var(--bg); }
input, textarea { caret-color: var(--orange); }
a { color: var(--orange-hi); text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: #ffa36f; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--orange); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* Header */
.top { display: flex; align-items: center; gap: 28px; padding: 18px var(--gutter); max-width: 1440px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.32rem; letter-spacing: -.02em; }
.brand img { border-radius: 9px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
.brand:hover { color: var(--text); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: .98rem; font-weight: 500; padding: 8px 0; }
.nav a:hover { color: var(--text); }
.soon { display: inline-flex; align-items: center; gap: 7px; color: var(--orange-hi); text-decoration: none; font-weight: 600; font-size: .93rem; padding: 9px 15px; border-radius: 999px; border: 1px solid rgba(255, 112, 28, .38); background: var(--orange-soft); white-space: nowrap; }
.soon:hover { color: var(--bg); background: var(--orange); border-color: var(--orange); }
@media (max-width: 860px) { .nav { display: none; } .soon { margin-left: auto; } }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 24px; border-radius: 14px; font: 600 1.06rem/1 var(--sans); letter-spacing: -.01em; text-decoration: none; border: 0; cursor: pointer; transition: background-color .2s var(--ease-out), color .2s, transform .2s var(--ease-out), opacity .15s; }
.btn:active { transform: scale(.98); opacity: .8; }
.btn-primary { background: var(--orange); color: var(--bg); }
.btn-primary:hover { background: var(--orange-hi); color: var(--bg); }
.btn-quiet { background: rgba(255, 255, 255, .06); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-quiet:hover { background: rgba(255, 255, 255, .11); color: var(--text); }

/* Hero */
.hero { max-width: 1440px; margin: 0 auto; padding: clamp(16px, 3vw, 40px) var(--gutter) clamp(56px, 8vw, 110px); display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero-copy { display: grid; gap: 26px; max-width: 34rem; }
.hero h1 { font-size: clamp(2.75rem, 5.4vw, 5.25rem); line-height: .98; letter-spacing: -.045em; font-weight: 750; }
.lead { font-size: clamp(1.08rem, 1.35vw, 1.24rem); color: #c7d2dc; max-width: 33rem; line-height: 1.55; }
.meta { color: var(--muted); font-size: .92rem; }
@media (min-width: 1100px) {
  .hero { grid-template-columns: minmax(0, 4.6fr) minmax(0, 7.4fr); }
}

/* Film */
.film { margin: 0; container-type: inline-size; display: grid; gap: 14px; min-width: 0; }
.viewport { position: relative; border-radius: 30px; overflow: hidden; background: var(--bg-deep); box-shadow: 0 0 0 1px var(--line), 0 40px 80px -40px rgba(0, 0, 0, .8); aspect-ratio: 9 / 14; isolation: isolate; }
@container (min-width: 560px) { .viewport { aspect-ratio: 16 / 11; } }
@media (min-width: 1100px) { .viewport { aspect-ratio: auto; height: clamp(580px, calc(100svh - 210px), 860px); } }
.stage { position: absolute; inset: 0; overflow: hidden; background: radial-gradient(120% 90% at 70% 40%, #0d1a24 0%, var(--bg-deep) 70%); user-select: none; -webkit-user-select: none; }
.stage * { pointer-events: none; }

.world { position: absolute; inset: 0; opacity: 0; }
.world-map { position: absolute; left: 0; top: 0; width: 1600px; height: 1600px; transform-origin: 0 0; will-change: transform; }
.world-map svg { width: 100%; height: 100%; }
.vignette { position: absolute; inset: 0; background: radial-gradient(90% 80% at 62% 45%, transparent 35%, rgba(6, 13, 18, .82) 100%), linear-gradient(180deg, transparent 55%, rgba(6, 13, 18, .9) 100%); }
.phone-glow { position: absolute; left: 0; top: 0; width: 700px; height: 700px; margin: -350px 0 0 -350px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 112, 28, .2), rgba(255, 112, 28, .06) 55%, transparent); opacity: 0; will-change: transform, opacity; }

/* Map palette (shared by world and phone maps) */
.m-land { fill: #0d1820; }
.m-park { fill: #0f2320; }
.m-water { fill: none; stroke: #173048; stroke-linecap: round; stroke-linejoin: round; }
.m-road { fill: none; stroke: #1a2834; stroke-linecap: round; stroke-linejoin: round; }
.m-major { fill: none; stroke: #24384a; stroke-linecap: round; stroke-linejoin: round; }
.m-label { fill: #6f8293; font-family: var(--sans); font-weight: 600; letter-spacing: .02em; }
.m-label-city { fill: #b6c3cf; font-weight: 700; }
.m-route-glow { fill: none; stroke: rgba(255, 112, 28, .22); stroke-linecap: round; stroke-linejoin: round; }
.m-route { fill: none; stroke: var(--orange); stroke-linecap: round; stroke-linejoin: round; }
.m-start { fill: var(--bg); stroke: #fff; }
.m-end { fill: var(--bg); stroke: var(--orange); }
.m-puck { fill: var(--orange); }
.m-puck-halo { fill: rgba(255, 112, 28, .25); }
.m-pin-label { fill: #fff; font-family: var(--sans); font-weight: 700; }

/* Intro mark */
.ecg { position: absolute; left: 4%; right: 4%; top: 50%; width: 92%; height: 34%; transform: translateY(-50%); overflow: visible; }
.ecg-line { fill: none; stroke: var(--orange); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.ecg-head { fill: #fff; }
.mark { position: absolute; left: 50%; top: 50%; display: flex; align-items: center; gap: 22px; transform: translate(-50%, -50%); opacity: 0; }
.mark-icon { width: 118px; height: 118px; overflow: visible; }
.mark-icon path, .mark-icon circle { fill: none; stroke: var(--orange); stroke-width: 46; stroke-linecap: round; }
.mark-word { display: grid; }
.mark-name { font-size: 92px; line-height: .9; font-weight: 750; letter-spacing: -.05em; color: #fff; }
.mark-tag, .mark-soon { font-size: 21px; font-weight: 600; color: var(--muted); margin-top: 8px; letter-spacing: -.01em; }
.mark-soon { color: var(--orange-hi); grid-area: 2 / 1; }
.mark-tag { grid-area: 2 / 1; }
@container (max-width: 559px) {
  .mark { flex-direction: column; gap: 14px; text-align: center; }
  .mark-icon { width: 92px; height: 92px; }
  .mark-name { font-size: 64px; }
  .mark-tag, .mark-soon { font-size: 18px; }
}

/* Phone */
.phone-pos { position: absolute; left: 0; top: 0; width: 408px; height: 862px; transform-origin: 0 0; will-change: transform; }
.phone { position: absolute; inset: 0; border-radius: 64px; background: linear-gradient(150deg, #4a5560 0%, #1b2329 22%, #2e3840 48%, #11171c 74%, #3a444d 100%); box-shadow: 0 60px 90px -30px rgba(0, 0, 0, .85), 0 30px 40px -20px rgba(0, 0, 0, .6), inset 0 0 0 1.5px rgba(255, 255, 255, .12); will-change: transform; }
.phone::before { content: ""; position: absolute; inset: 4px; border-radius: 60px; background: #030608; }
.screen { position: absolute; inset: 9px; border-radius: 55px; overflow: hidden; background: var(--bg); color: var(--text); font-family: var(--sans); font-variant-numeric: tabular-nums; }
.glare { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, .07) 0%, transparent 32%, transparent 70%, rgba(255, 255, 255, .03) 100%); }
.statusbar { position: absolute; z-index: 6; left: 0; right: 0; top: 0; height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 6px 30px 0 40px; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.sb-icons { display: flex; align-items: center; gap: 7px; }
.sb-sig { width: 18px; height: 11px; background: linear-gradient(90deg, #fff 0 3px, transparent 3px 5px, #fff 5px 8px, transparent 8px 10px, #fff 10px 13px, transparent 13px 15px, #fff 15px 18px); clip-path: polygon(0 75%, 17% 75%, 17% 52%, 45% 52%, 45% 28%, 73% 28%, 73% 0, 100% 0, 100% 100%, 0 100%); border-radius: 1px; }
.sb-wifi { width: 16px; height: 12px; background: #fff; clip-path: path("M8 12 L4.6 8.3 A4.8 4.8 0 0 1 11.4 8.3 Z M2.2 5.9 A8.2 8.2 0 0 1 13.8 5.9 L12.6 7.1 A6.5 6.5 0 0 0 3.4 7.1 Z M0 3.6 A11.4 11.4 0 0 1 16 3.6 L14.8 4.8 A9.7 9.7 0 0 0 1.2 4.8 Z"); }
.sb-bat { width: 26px; height: 12.5px; border-radius: 4px; box-shadow: inset 0 0 0 1.2px rgba(255, 255, 255, .45); position: relative; }
.sb-bat::before { content: ""; position: absolute; inset: 2.2px; right: 5px; border-radius: 2px; background: #fff; }
.sb-bat::after { content: ""; position: absolute; right: -3px; top: 4px; width: 2px; height: 4.5px; border-radius: 0 1px 1px 0; background: rgba(255, 255, 255, .45); }
.island { position: absolute; z-index: 8; top: 11px; left: 50%; width: 126px; height: 37px; margin-left: -63px; border-radius: 20px; background: #000; display: flex; align-items: center; justify-content: space-between; padding: 0 14px 0 11px; overflow: hidden; }
.isl-rec { width: 20px; height: 20px; color: var(--orange); opacity: 0; }
.isl-km { font-size: 14px; font-weight: 600; color: #fff; opacity: 0; white-space: nowrap; }

.scr { position: absolute; inset: 0; will-change: transform, opacity; }
.toolbar { margin: 58px 16px 0 auto; width: 104px; height: 46px; border-radius: 23px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); display: flex; align-items: center; justify-content: space-around; color: var(--orange); }
.toolbar svg { width: 25px; height: 25px; }
.large-title { margin: 6px 20px 0; font-size: 34px; line-height: 41px; font-weight: 700; letter-spacing: -.02em; }
.subdate { margin: 2px 20px 14px; font-size: 17px; line-height: 22px; color: var(--muted); }
.t-map { position: relative; height: 340px; background: var(--surface); overflow: hidden; }
.t-map svg, .d-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.t-empty { position: absolute; left: 0; right: 0; top: 58px; display: grid; justify-items: center; gap: 8px; text-align: center; padding: 0 40px; }
.t-empty svg { width: 46px; height: 46px; color: var(--orange); margin-bottom: 8px; }
.t-empty b { font-size: 20px; font-weight: 600; }
.t-empty span { font-size: 15px; color: var(--muted); }
.t-live { position: absolute; inset: 0; opacity: 0; }
.t-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 180px; background: linear-gradient(180deg, rgba(9, 18, 24, 0) 0%, rgba(9, 18, 24, .96) 100%); }
.t-km { position: absolute; left: 20px; bottom: 46px; display: flex; align-items: baseline; gap: 8px; }
.km-num { font-size: 60px; line-height: 1; font-weight: 700; letter-spacing: -.035em; }
.km-unit { font-size: 26px; font-weight: 600; }
.t-state { position: absolute; left: 20px; bottom: 14px; font-size: 19px; color: var(--muted); }
.t-vehicle { display: flex; align-items: center; gap: 10px; margin: 20px 20px 0; font-size: 17px; font-weight: 600; line-height: 22px; }
.t-vehicle svg { width: 27px; height: 23px; color: var(--muted); }
.t-status { position: relative; display: flex; align-items: center; gap: 9px; margin: 12px 20px 0; font-size: 17px; line-height: 22px; opacity: 0; }
.t-status svg { width: 21px; height: 21px; }
.st-pause { position: absolute; left: 0; top: 0; color: var(--orange); opacity: 0; }
.st-timer { margin-left: auto; color: var(--muted); }
.t-pause { display: flex; align-items: center; gap: 10px; height: 40px; margin: 10px 20px 0; color: var(--orange); font-size: 18px; opacity: 0; }
.t-pause svg { width: 20px; height: 20px; }
.p-btn { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; height: 56px; margin: 8px 20px 0; border-radius: 15px; background: var(--orange); color: var(--bg); font-size: 18px; font-weight: 600; will-change: transform; }
.p-btn svg { width: 19px; height: 19px; }
.go-ico { position: relative; width: 19px; height: 19px; flex: none; }
.go-ico svg { position: absolute; inset: 0; }
.go-stop { opacity: 0; }

.navbar { display: flex; align-items: center; justify-content: space-between; margin: 54px 16px 0; height: 50px; }
.navbar b { font-size: 17px; font-weight: 600; }
.circ { width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); display: grid; place-items: center; color: #fff; }
.circ svg { width: 20px; height: 20px; }
.circ:last-child { color: var(--orange); }
.d-map { position: relative; height: 228px; margin-top: 6px; background: var(--surface); overflow: hidden; }
.d-metrics { display: flex; align-items: baseline; justify-content: space-between; margin: 16px 20px 0; height: 50px; }
.d-km { font-size: 46px; font-weight: 700; letter-spacing: -.035em; line-height: 1; }
.d-km small { font-size: 22px; font-weight: 600; margin-left: 6px; letter-spacing: 0; }
.d-min { font-size: 26px; font-weight: 600; }
.d-end { display: flex; align-items: center; gap: 14px; margin: 13px 20px 0; height: 26px; font-size: 19px; }
.d-end b { font-weight: 500; }
.d-end span { margin-left: auto; color: var(--muted); font-size: 17px; }
.ring { width: 17px; height: 17px; border-radius: 50%; box-shadow: inset 0 0 0 3.5px #fff; flex: none; }
.ring-o { box-shadow: inset 0 0 0 3.5px var(--orange); }
.scr hr { margin: 16px 20px 0; border: 0; height: 1px; background: var(--line); }
.d-label { margin: 14px 20px 6px; font-size: 15px; line-height: 18px; color: var(--muted); }
.seg { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); height: 38px; margin: 0 20px; border-radius: 19px; background: rgba(255, 255, 255, .08); font-size: 14px; }
.seg span { position: relative; display: grid; place-items: center; }
.seg-pill { position: absolute; left: 3px; top: 3px; width: calc((100% - 6px) / 4); height: 32px; border-radius: 16px; background: rgba(255, 255, 255, .2); will-change: transform; }
.d-field { position: relative; margin: 0 20px; font-size: 18px; line-height: 24px; height: 24px; white-space: nowrap; }
.d-field .ph { position: absolute; left: 0; top: 0; color: var(--muted); }
.caret { display: inline-block; width: 2px; height: 22px; margin-left: 1px; vertical-align: -4px; background: var(--orange); border-radius: 1px; opacity: 0; }
.d-client { opacity: 0; }
.d-client .d-label { margin-top: 12px; }

.r-month { display: flex; align-items: center; justify-content: space-between; margin: 22px 26px 0; height: 30px; color: var(--orange); }
.r-month svg { width: 22px; height: 22px; }
.r-month b { color: #fff; font-size: 19px; font-weight: 600; }
.scr-reports .large-title { margin-top: 108px; }
.r-total { margin: 22px 20px 0; font-size: 46px; font-weight: 700; letter-spacing: -.03em; line-height: 52px; }
.r-count { margin: 4px 20px 0; font-size: 17px; color: var(--muted); }
.r-row { display: grid; grid-template-columns: 1fr auto; row-gap: 11px; margin: 18px 20px 0; font-size: 17px; line-height: 22px; }
.r-bar { grid-column: 1 / -1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.r-bar b { display: block; height: 100%; width: 100%; border-radius: 2px; transform-origin: 0 0; transform: scaleX(0); }
.r-priv .r-bar b { background: rgba(255, 112, 28, .62); }
.r-biz .r-bar b { background: var(--orange); }
.r-pdf { margin-top: 26px; }
.r-csv { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 16px 20px 0; color: var(--orange); font-size: 18px; }
.r-csv svg { width: 22px; height: 22px; }

.tabbar { position: absolute; z-index: 5; left: 50%; bottom: 26px; width: 306px; height: 64px; margin-left: -153px; border-radius: 32px; background: rgba(20, 31, 40, .94); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 10px 30px rgba(0, 0, 0, .5); display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; }
.tab-pill { position: absolute; left: 4px; top: 4px; width: 98px; height: 56px; border-radius: 28px; background: rgba(255, 255, 255, .09); will-change: transform; }
.tab { position: relative; display: grid; justify-items: center; align-content: center; gap: 2px; font-size: 11px; font-weight: 600; color: #fff; }
.tab svg { width: 27px; height: 25px; }
.tab-today { color: var(--orange); }
.home-ind { position: absolute; z-index: 7; left: 50%; bottom: 8px; width: 136px; height: 5px; margin-left: -68px; border-radius: 3px; background: rgba(255, 255, 255, .85); }
.finger { position: absolute; z-index: 9; left: 0; top: 0; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: rgba(255, 255, 255, .26); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .55), 0 8px 24px rgba(0, 0, 0, .35); opacity: 0; will-change: transform, opacity; }

/* Floating objects around the phone */
.float { position: absolute; left: 0; top: 0; transform-origin: 50% 50%; opacity: 0; will-change: transform, opacity; }
.f-pdf { width: 236px; height: 316px; padding: 20px 20px 16px; border-radius: 10px; background: #f3f0ea; color: #17212a; box-shadow: 0 40px 60px -20px rgba(0, 0, 0, .7), 0 2px 6px rgba(0, 0, 0, .3); display: flex; flex-direction: column; }
.pdf-head { display: grid; grid-template-columns: auto 1fr; column-gap: 9px; align-items: center; }
.pdf-head svg { width: 26px; height: 26px; color: var(--orange); grid-row: span 2; }
.pdf-head b { font-size: 15px; }
.pdf-head span { font-size: 11px; color: #5d6872; }
.pdf-sum { display: flex; align-items: baseline; justify-content: space-between; margin: 18px 0 10px; padding-bottom: 12px; border-bottom: 1.5px solid #17212a; }
.pdf-sum b { font-size: 28px; letter-spacing: -.03em; }
.pdf-sum span { font-size: 12px; color: #5d6872; }
.pdf-rows { display: grid; gap: 11px; }
.pdf-rows i { height: 7px; border-radius: 4px; background: #d9d4cb; }
.pdf-rows i:nth-child(3n+1) { width: 92%; }
.pdf-rows i:nth-child(3n+2) { width: 74%; }
.pdf-rows i:nth-child(4) { background: rgba(255, 112, 28, .55); width: 64%; }
.pdf-foot { margin-top: auto; font-size: 10px; color: #7c868f; text-align: right; }
.f-file { display: flex; align-items: center; gap: 9px; padding: 11px 16px; border-radius: 14px; background: rgba(18, 30, 39, .95); box-shadow: inset 0 0 0 1px var(--line-strong), 0 20px 40px -14px rgba(0, 0, 0, .7); font-size: 16px; font-weight: 700; letter-spacing: .02em; }
.f-file svg { width: 22px; height: 22px; color: var(--orange); }
.f-sync { display: flex; align-items: center; gap: 13px; padding: 14px 20px 14px 16px; border-radius: 20px; background: rgba(16, 27, 35, .95); box-shadow: inset 0 0 0 1px var(--line-strong), 0 24px 50px -16px rgba(0, 0, 0, .75); }
.f-sync svg { width: 34px; height: 34px; color: var(--orange); }
.f-sync span { display: grid; }
.f-sync b { font-size: 17px; }
.f-sync small { font-size: 13px; color: var(--muted); }
.f-tesla { width: 330px; padding: 20px 22px 12px; border-radius: 22px; background: rgba(13, 22, 29, .96); box-shadow: inset 0 0 0 1px var(--line-strong), 0 30px 60px -20px rgba(0, 0, 0, .8); font-variant-numeric: tabular-nums; }
.ft-title { font-size: 17px; font-weight: 600; }
.ft-sub { font-size: 12.5px; color: var(--muted); margin: 3px 0 10px; }
.ft-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.ft-row b { color: #fff; font-weight: 600; }
.ft-dev b { color: var(--orange-hi); }

/* Captions */
.captions { position: absolute; left: 6%; right: 6%; bottom: 6%; height: 30%; }
@container (min-width: 560px) { .captions { left: 5%; right: auto; width: 37%; bottom: 7%; } }
.cap { position: absolute; left: 0; right: 0; bottom: 0; opacity: 0; will-change: transform, opacity, filter; }
.cap h3 { font-size: clamp(22px, 4.1cqi, 40px); line-height: 1.05; letter-spacing: -.035em; font-weight: 700; color: #fff; }
.cap p { margin-top: 10px; font-size: clamp(14px, 1.75cqi, 17px); line-height: 1.45; color: #b9c6d1; max-width: 32ch; }
@container (max-width: 559px) { .cap { text-align: center; } .cap p { margin-inline: auto; } .cap h3 { font-size: 24px; } }
.sample { position: absolute; top: 16px; left: 18px; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--muted); background: rgba(9, 18, 24, .7); box-shadow: inset 0 0 0 1px var(--line); }

/* Cover for reduced motion and the end card */
.film-cover { position: absolute; inset: 0; display: none; place-items: center; background: radial-gradient(60% 60% at 50% 50%, rgba(6, 13, 18, .25), rgba(6, 13, 18, .6)); }
.film[data-state="poster"] .film-cover, .film[data-state="ended"] .film-cover { display: grid; }
.film[data-state="ended"] .film-cover { background: none; place-items: end center; padding-bottom: 9%; }
.cover-btn { display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 0 26px 0 22px; border: 0; border-radius: 999px; background: var(--orange); color: var(--bg); font: 600 1.08rem/1 var(--sans); cursor: pointer; box-shadow: 0 20px 40px -12px rgba(255, 112, 28, .55); transition: transform .25s var(--ease-out), background-color .2s; }
.cover-btn:hover { background: var(--orange-hi); transform: scale(1.03); }
.cover-btn .ico { width: 22px; height: 22px; }
.film[data-state="ended"] .cover-btn { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1px var(--line-strong); }

/* Controls */
.controls { display: flex; align-items: center; gap: 10px; min-height: 48px; }
.ctl { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 46px; height: 46px; padding: 0 14px; border: 0; border-radius: 23px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); font: 600 .95rem/1 var(--sans); cursor: pointer; transition: background-color .2s, color .2s; }
.ctl:hover { background: rgba(255, 255, 255, .11); }
.ctl .ico { width: 20px; height: 20px; }
.ctl-play { padding: 0; }
.ctl-play .ico-play, .film.is-paused .ctl-play .ico-pause { display: none; }
.film.is-paused .ctl-play .ico-play { display: block; }
.ctl-sound .ico-sound, .film.has-sound .ctl-sound .ico-mute { display: none; }
.film.has-sound .ctl-sound .ico-sound { display: block; }
.film:not(.has-sound) .ctl-sound { background: var(--orange); color: var(--bg); box-shadow: none; }
.film:not(.has-sound) .ctl-sound:hover { background: var(--orange-hi); }
.scrub { position: relative; flex: 1; height: 46px; min-width: 80px; }
.scrub::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; background: rgba(255, 255, 255, .12); }
.scrub-fill { position: absolute; left: 0; top: 50%; height: 4px; margin-top: -2px; width: 0; border-radius: 2px; background: var(--orange); }
.scrub-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; background: transparent; appearance: none; -webkit-appearance: none; cursor: pointer; z-index: 2; }
.scrub-range::-webkit-slider-runnable-track { height: 46px; background: transparent; }
.scrub-range::-moz-range-track { height: 46px; background: transparent; }
.scrub-range::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: 15px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 112, 28, .45); }
.scrub-range::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 112, 28, .45); }
.scrub-range:focus-visible { outline: none; }
.scrub-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px var(--orange); }
.chapters { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; pointer-events: none; }
.chapters li { position: absolute; top: 50%; width: 3px; height: 10px; margin: -5px 0 0 -1.5px; border-radius: 2px; background: var(--bg); }
.ctl-time { min-width: 3.2em; text-align: right; color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums; }
@container (max-width: 420px) { .sound-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .ctl-sound { padding: 0; } .ctl-time { display: none; } }
.ecg { opacity: 0; }
.film:not(.is-ready) .phone-pos { left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.6); }
.film:not(.is-ready) .controls, .film:not(.is-ready) .film-cover, .film:not(.is-ready) .sample { display: none; }

/* Shared section rhythm */
.flow, .features, .privacy, .tesla, .close { max-width: 1440px; margin: 0 auto; padding: clamp(72px, 10vw, 150px) var(--gutter) 0; }
section h2 { font-size: clamp(2.2rem, 4.6vw, 4.1rem); line-height: 1.02; letter-spacing: -.042em; font-weight: 740; }

/* Flow: the route runs through the steps */
.flow { display: grid; gap: clamp(36px, 5vw, 64px); }
.flow-head { display: grid; gap: 20px; align-content: start; }
.flow-head p { color: var(--muted); font-size: 1.12rem; max-width: 30rem; }
.flow-body { position: relative; }
.flow-line { position: absolute; left: 0; top: 0; width: 64px; height: 100%; overflow: visible; }
.flow-track, .flow-draw { fill: none; stroke-width: 4; stroke-linecap: round; }
.flow-track { stroke: rgba(166, 181, 196, .14); }
.flow-draw { stroke: var(--orange); }
.steps { list-style: none; margin: 0; padding: 0 0 0 76px; display: grid; gap: clamp(56px, 7vw, 96px); }
.step { position: relative; display: grid; gap: 12px; max-width: 38rem; }
.step .ring, .step .dot { position: absolute; left: -76px; top: 10px; width: 28px; height: 28px; margin-left: 18px; background: var(--bg); }
.step .ring { box-shadow: inset 0 0 0 5px #fff; }
.step .ring-o { box-shadow: inset 0 0 0 5px var(--orange); }
.step .dot { border-radius: 50%; width: 16px; height: 16px; margin-left: 24px; top: 16px; box-shadow: inset 0 0 0 4px var(--orange); }
.step h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -.03em; line-height: 1.1; font-weight: 700; }
.step p { color: #c0ccd6; font-size: 1.08rem; line-height: 1.6; }
.step q { quotes: "„" "“"; color: var(--text); font-weight: 600; }
@media (min-width: 980px) {
  .flow { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .flow-head { position: sticky; top: 48px; }
}

/* Features as app-like rows */
.features h2 { max-width: 14ch; margin-bottom: clamp(32px, 4vw, 56px); }
.rows { margin: 0; display: grid; column-gap: clamp(32px, 5vw, 80px); }
@media (min-width: 860px) { .rows { grid-template-columns: 1fr 1fr; } }
.row { padding: 26px 0 30px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.row dt { display: flex; align-items: center; gap: 12px; font-size: 1.2rem; font-weight: 650; letter-spacing: -.015em; }
.row dt::before { content: ""; width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 3px var(--orange); flex: none; }
.row dd { margin: 0 0 0 24px; color: var(--muted); font-size: 1.02rem; line-height: 1.6; max-width: 34rem; }

/* Privacy */
.privacy { display: grid; gap: clamp(32px, 5vw, 80px); }
@media (min-width: 980px) { .privacy { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; } }
.privacy-copy { display: grid; gap: 22px; align-content: start; }
.privacy-copy p { color: #c0ccd6; font-size: 1.15rem; max-width: 30rem; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.text-link .ico { width: 18px; height: 18px; transition: transform .2s var(--ease-out); }
.text-link:hover .ico { transform: translateX(3px); }
.facts { list-style: none; margin: 0; padding: 0; }
.facts li { display: flex; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); font-size: 1.08rem; color: var(--muted); line-height: 1.5; }
.facts li:last-child { border-bottom: 1px solid var(--line); }
.facts b { color: var(--text); font-weight: 650; }
.facts .ico { width: 24px; height: 24px; color: var(--orange); margin-top: 1px; }

/* Tesla */
.tesla { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 980px) { .tesla { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }
.tesla-copy { display: grid; gap: 20px; }
.tesla-copy h2 { max-width: 15ch; }
.tesla-copy p { color: #c0ccd6; font-size: 1.12rem; max-width: 34rem; }
.tesla-copy .fine { color: var(--muted); font-size: .95rem; }
.odo { border-radius: 26px; padding: 26px 28px 16px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -40px rgba(0, 0, 0, .9); font-variant-numeric: tabular-nums; }
.odo-title { display: flex; justify-content: space-between; align-items: center; font-size: 1.25rem; font-weight: 650; margin-bottom: 10px; }
.odo-sample { font-size: .78rem; font-weight: 600; color: var(--muted); padding: 4px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-strong); }
.odo-row { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-top: 1px solid var(--line); color: var(--muted); }
.odo-row b { color: var(--text); font-weight: 600; white-space: nowrap; }
.odo-dev b { color: var(--orange-hi); font-size: 1.15rem; }

/* Close */
.close { position: relative; overflow-x: clip; display: grid; justify-items: center; text-align: center; gap: 24px; padding-bottom: clamp(80px, 10vw, 140px); }
.close-route { position: absolute; top: 40px; left: 50%; width: min(760px, 120vw); height: auto; transform: translateX(-50%); opacity: .07; z-index: -1; }
.close-route path, .close-route circle { fill: none; stroke: var(--orange); stroke-width: 26; stroke-linecap: round; }
.close-icon { width: 104px; height: 104px; border-radius: 24px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 30px 60px -20px rgba(255, 112, 28, .35); margin-top: clamp(20px, 4vw, 60px); }
.close h2 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: 1; }
.close p { color: #c0ccd6; font-size: 1.15rem; max-width: 36rem; }
.close .actions { justify-content: center; margin-top: 8px; }

/* Footer */
.foot { max-width: 1440px; margin: 0 auto; padding: 32px var(--gutter) 48px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; color: var(--muted); font-size: .92rem; }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand img { border-radius: 7px; }
.foot nav { display: flex; gap: 22px; margin-left: auto; }
.foot nav a { color: var(--muted); }
.foot nav a:hover { color: var(--text); }
.foot-note { flex-basis: 100%; font-size: .82rem; color: #8597a7; max-width: 72rem; line-height: 1.6; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .cover-btn, .text-link .ico { transition: none; }
}
