/* MobifyTracker — site stylesheet
   One typeface (Schibsted Grotesk), one ground, one ink, one accent.
   Surfaces are told apart by a step in tone, never by a line or a shadow. */

:root {
  color-scheme: light;

  /* colour roles */
  --bg: #f0f0ee;
  --surface: #e5e5e1;
  --surface-2: #d9d9d4;
  --ink: #15161a;
  --muted: #4b4e55;
  --accent: #f26b21;
  --accent-strong: #e05a12;
  --accent-ink: #15161a;

  --stage: #101217;
  --stage-surface: #181b22;
  --stage-surface-2: #21252e;
  --stage-ink: #f0f0ee;
  --stage-muted: #a6aab3;

  --field: #f26b21;
  --field-surface: #f58340;
  --field-ink: #15161a;

  /* type */
  --font: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --step-small: clamp(0.875rem, 0.85rem + 0.15vw, 0.9375rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(2.75rem, 1.4rem + 4.6vw, 5.5rem);

  /* space */
  --gutter: clamp(16px, 3vw, 32px);
  --gap: 24px;
  --section: clamp(96px, 11vw, 190px);

  /* motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
  --t-reveal: 800ms;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-body);
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
address { font-style: normal; }
strong, b { font-weight: 600; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 14px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- type ---------- */
h1, h2, h3 { font-weight: 800; letter-spacing: -0.03em; line-height: 0.95; text-wrap: balance; }
h2 { font-size: var(--step-head); }
h3 { font-size: var(--step-body); font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
p { text-wrap: pretty; }
.lead { font-size: var(--step-lead); line-height: 1.3; letter-spacing: -0.015em; }
.small { font-size: var(--step-small); }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- controls ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; min-height: 48px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 600; font-size: 15px; letter-spacing: 0; line-height: 1;
  text-decoration: none; border: 0; border-radius: 0;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease;
}
.button:active { transform: scale(0.97); }
.button.is-ink { background: var(--ink); color: var(--bg); }
.button.is-quiet { background: var(--surface-2); color: var(--ink); }
.link {
  font-weight: 600; text-decoration: underline; text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em; text-decoration-color: var(--accent);
  transition: text-decoration-color var(--t-hover) ease, color var(--t-hover) ease;
}
@media (hover: hover) and (pointer: fine) {
  .button:hover { background: var(--accent-strong); }
  .button.is-ink:hover { background: #000; }
  .button.is-quiet:hover { background: var(--surface); }
  .link:hover { text-decoration-color: currentColor; }
}

/* ---------- layout ---------- */
.wrap { padding-inline: var(--gutter); max-width: 1480px; margin-inline: auto; }
.grid12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
section { padding-block: var(--section); }

/* ---------- navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
  padding: 14px var(--gutter);
  background: var(--stage); color: var(--stage-ink);
  transition: background-color var(--t-ui) ease;
}
.nav-brand img { height: 36px; width: auto; }
.nav-links { display: flex; gap: 32px; justify-content: center; font-size: 15px; font-weight: 600; }
.nav-links a { position: relative; text-decoration: none; padding: 8px 0; opacity: 0.82; transition: opacity var(--t-hover) ease; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform var(--t-ui) var(--ease-out); }
.nav-links a:hover, .nav-links a:focus-visible, .nav-links a.is-current { opacity: 1; }
.nav-links a:hover::after, .nav-links a:focus-visible::after, .nav-links a.is-current::after { transform: scaleX(1); }
.nav-foot { display: none; }
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-login { font-size: 15px; font-weight: 600; text-decoration: none; opacity: 0.86; }
.only-phone { display: none; }
.nav-toggle { display: none; background: none; border: 0; color: inherit; font-weight: 600; font-size: 15px; padding: 10px 0; }
body.is-light-nav .nav { background: var(--bg); color: var(--ink); }
@media (max-width: 900px) {
  .nav { grid-template-columns: auto 1fr auto; gap: 12px; padding-block: 12px; }
  .nav-links {
    display: none; position: fixed; left: 0; right: 0; top: 64px; bottom: 0;
    flex-direction: column; gap: 0; background: var(--stage); color: var(--stage-ink);
    padding: 24px var(--gutter) 28px; overflow: auto;
  }
  .nav-links > a { padding: 16px 0; font-size: clamp(2rem, 8vw, 2.75rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; opacity: 1; }
  .nav-links > a::after { height: 4px; bottom: 8px; width: 2.2em; right: auto; }
  .nav-links > a.is-current { color: var(--accent); }
  .nav.is-open .nav-links { display: flex; }
  .nav-foot { display: block; margin-top: auto; padding-top: 32px; font-size: 16px; color: var(--stage-muted); }
  .nav-foot a { display: block; color: var(--stage-ink); font-size: 22px; font-weight: 600; text-decoration: none; margin-top: 6px; }
  @media (prefers-reduced-motion: no-preference) {
    .nav.is-open .nav-links > a { animation: rise 500ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 60ms); }
  }
  body.is-menu-open { overflow: hidden; }
  .nav-toggle { display: inline-block; }
  .nav-login { display: none; }
  .nav-action { padding: 12px 16px; min-height: 44px; }
}

/* ---------- hero: the product performs ---------- */
.hero {
  position: relative; background: var(--stage); color: var(--stage-ink);
  min-height: calc(100svh - 64px); padding-block: 0;
  display: grid; grid-template-rows: auto 1fr; overflow: clip;
}
.hero-scene { position: absolute; inset: 0; }
#fleet3d { width: 100%; height: 100%; }
.hero-copy {
  position: relative; z-index: 2;
  padding: clamp(40px, 6vw, 88px) var(--gutter) 0;
  max-width: 58rem;
}
.hero h1 { font-size: var(--step-display); line-height: 0.92; letter-spacing: -0.04em; }
@media (min-width: 901px) { .hero h1 .line { white-space: nowrap; } }
.hero-lead { margin-top: 24px; max-width: 34rem; font-size: var(--step-lead); line-height: 1.3; color: var(--stage-ink); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 32px; }
.hero-actions .link { text-decoration-color: var(--accent); }

.hero-foot {
  position: relative; z-index: 2; align-self: end;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  padding: 0 var(--gutter) clamp(24px, 3vw, 40px);
  pointer-events: none;
}
.hero-foot > * { pointer-events: auto; }
.hero-apps { grid-column: 1 / span 6; align-self: end; display: flex; flex-wrap: wrap; gap: 10px; }
.store-badge { display: inline-flex; transition: transform var(--t-press) var(--ease-out); }
.store-badge:active { transform: scale(0.97); }
.store-badge img { height: 48px; width: auto; }
.store-badge-telegram {
  align-items: center; gap: 9px; height: 48px; padding: 0 14px 0 11px; border-radius: 6px;
  background: #000; color: #fff; text-decoration: none; border: 1px solid #a6a6a6; /* taste-skill-ignore: matches the store badges */
}
.store-badge-telegram svg { width: 26px; height: 26px; fill: #fff; }
.store-badge-telegram span { display: flex; flex-direction: column; line-height: 1; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.store-badge-telegram small { font-size: 10px; font-weight: 400; letter-spacing: 0.02em; margin-bottom: 2px; }
.fleet-panel { grid-column: 8 / span 5; }

/* vehicle labels projected from the 3D scene */
.v-label {
  position: absolute; left: 0; top: 0; z-index: 1; transform: translate(-50%, -100%);
  font-size: 13px; font-weight: 600; line-height: 1; white-space: nowrap;
  color: var(--stage-ink); background: var(--stage-surface-2); padding: 6px 8px; border-radius: 3px;
  pointer-events: none; opacity: 0; visibility: hidden; transition: opacity var(--t-ui) ease;
}
.v-label.is-on { opacity: 1; visibility: visible; }
.v-label.is-selected { background: var(--accent); color: var(--accent-ink); }
.v-label::after {
  content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 14px;
  margin-left: -1px; background: inherit;
}

@media (max-width: 900px) {
  .hero { min-height: 0; grid-template-rows: auto auto auto; }
  .hero-scene { position: relative; height: 58svh; min-height: 360px; order: 2; }
  .hero-copy { padding-bottom: 28px; }
  .hero-foot { order: 3; display: block; padding-top: 16px; }
  .hero-apps { margin-top: 16px; }
}

/* the live fleet fragment: inside [data-ui] the product's own conventions apply */
[data-ui] { font-size: 14px; line-height: 1.35; letter-spacing: 0; }
[data-ui].fleet-panel {
  background: var(--stage-surface); color: var(--stage-ink);
  border: 1px solid var(--stage-surface-2); border-radius: 6px; overflow: hidden;
}
[data-ui] .fp-head { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 14px; border-bottom: 1px solid var(--stage-surface-2); }
.fp-head strong { font-size: 15px; }
.fp-live { color: var(--stage-muted); display: inline-flex; align-items: center; gap: 8px; }
.fp-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3ddc97; }
[data-ui] .fp-row {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px;
  padding: 10px 14px; border-bottom: 1px solid var(--stage-surface-2);
  transition: background-color var(--t-hover) ease;
}
.fp-row:last-child { border-bottom: 0; }
.fp-row.is-selected { background: var(--stage-surface-2); }
.fp-pick { background: none; border: 0; text-align: left; padding: 0; color: inherit; display: block; min-width: 0; }
.fp-pick b { display: block; font-size: 15px; }
.fp-pick span { display: block; color: var(--stage-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fp-speed { text-align: right; font-variant-numeric: tabular-nums; min-width: 6.5ch; }
.fp-speed b { font-size: 18px; font-weight: 600; }
.fp-speed span { display: block; color: var(--stage-muted); font-size: 12px; }
[data-ui] .fp-stop {
  border: 1px solid var(--accent); background: transparent; color: var(--accent);
  border-radius: 4px; padding: 7px 10px; font-weight: 600; font-size: 13px; white-space: nowrap;
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.fp-stop:active { transform: scale(0.96); }
.fp-stop.is-off { background: var(--accent); color: var(--accent-ink); }
@media (hover: hover) { .fp-stop:hover { background: var(--accent); color: var(--accent-ink); } }
[data-ui] .fp-sms { padding: 10px 14px 12px; background: var(--stage); border-top: 1px solid var(--stage-surface-2); max-height: 140px; overflow: auto; }
.fp-sms-title { color: var(--stage-muted); font-size: 12px; margin-bottom: 6px; }
.fp-sms-item { display: grid; grid-template-columns: 5ch 1fr; gap: 10px; padding: 5px 0; color: var(--stage-ink); }
.fp-sms-item time { color: var(--stage-muted); }
.fp-sms-item.is-new { animation: sms-in 500ms var(--ease-out); }
@keyframes sms-in { from { opacity: 0; transform: translateY(8px); } }
/* Car Guard row: green while guarding, red with a draining bar during the two-minute warning */
.fp-guard { position: relative; }
.fp-tag {
  display: inline-block; vertical-align: 2px; margin-left: 6px; padding: 2px 6px; border-radius: 3px;
  font-style: normal; font-size: 11px; font-weight: 600; color: var(--stage-muted); background: var(--stage-surface-2);
  transition: background-color var(--t-ui) ease, color var(--t-ui) ease;
}
.fp-row.is-selected .fp-tag { background: var(--stage); }
.fp-guard::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: transparent;
  transition: background-color var(--t-ui) ease;
}
.fp-guard::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: #ff4d4f;
  transform-origin: left; transform: scaleX(var(--guard-left, 0)); transition: transform 250ms linear;
}
.fp-guard[data-guard="armed"]::before { background: #3ddc97; }
.fp-guard[data-guard="armed"] .fp-tag { background: #3ddc97; color: #0c1f17; }
[data-ui] .fp-guard .fp-stop { border-color: #3ddc97; color: #3ddc97; }
.fp-guard[data-guard="armed"] .fp-stop { background: #3ddc97; color: #0c1f17; }
@media (hover: hover) { .fp-guard .fp-stop:hover { background: #3ddc97; color: #0c1f17; } }
.fp-guard[data-guard="warning"] { animation: guard-alarm 0.8s ease-in-out infinite; }
.fp-guard[data-guard="warning"]::before { background: #ff4d4f; }
.fp-guard[data-guard="warning"] .fp-tag { background: #ff4d4f; color: #fff; }
.fp-guard[data-guard="warning"] [data-where] { color: #ff8a8c; }
.fp-guard[data-guard="warning"] .fp-stop { border-color: #ff4d4f; background: #ff4d4f; color: #fff; }
.fp-guard[data-guard="cut"]::before { background: var(--accent); }
.fp-guard[data-guard="cut"] .fp-tag { background: var(--accent); color: var(--accent-ink); }
@keyframes guard-alarm { 50% { background-color: rgba(255, 77, 79, 0.14); } }
@media (max-width: 900px) {
  .fp-row { grid-template-columns: 1fr auto; }
  .fp-stop { grid-column: 1 / -1; justify-self: start; }
}

/* ---------- vehicles: six kinds, the taxi lifted ---------- */
.vehicles { padding-inline: var(--gutter); }
.vehicles-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
.vehicles-head h2 { grid-column: 1 / span 5; }
.vehicles-head .lead { grid-column: 7 / span 6; max-width: 40ch; }
.kinds { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px var(--gap); margin-top: 64px; }
.kind { grid-column: span 3; display: flex; flex-direction: column; }
.kind-pic { background: var(--surface); aspect-ratio: 1; display: grid; place-items: center; padding: 10%; }
.kind-pic img { width: 100%; height: 100%; object-fit: contain; transition: transform 700ms var(--ease-soft); }
@media (hover: hover) { .kind:hover .kind-pic img { transform: translateY(-6px) scale(1.03); } }
.kind-text { padding-top: 18px; display: flex; flex-direction: column; flex: 1; }
.kind h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.kind p { font-size: 16px; color: var(--muted); margin-top: 8px; }
.kind .kind-price { color: var(--ink); font-weight: 600; margin-top: 14px; }
.kind .link { margin-top: 10px; font-size: 15px; align-self: flex-start; }
.kind.is-lifted { grid-column: 1 / span 6; grid-row: 1 / span 2; }
.kind:last-child { grid-column: 7 / span 6; }
.kind:last-child .kind-pic { aspect-ratio: 16 / 8; padding: 4% 10%; }
.kind.is-lifted .kind-pic { aspect-ratio: auto; flex: 1; min-height: 520px; padding: 8%; }
.kind.is-lifted .kind-text { padding-top: 24px; flex: 0; }
.kind.is-lifted h3 { font-size: 32px; }
.kind.is-lifted p { font-size: var(--step-body); max-width: 44ch; }
.kind.is-lifted .button { margin-top: 20px; align-self: flex-start; }
@media (max-width: 1100px) {
  .kind { grid-column: span 6; }
  .kind.is-lifted { grid-column: 1 / -1; grid-row: auto; }
  .kind:last-child { grid-column: 1 / -1; }
  .kind.is-lifted .kind-pic { min-height: 0; aspect-ratio: 16 / 10; }
}
@media (max-width: 900px) {
  .vehicles-head { display: block; }
  .vehicles-head .lead { margin-top: 20px; max-width: none; }
  .kinds { grid-template-columns: 1fr 1fr; gap: 28px 16px; margin-top: 36px; }
  .kind { grid-column: span 1; }
  .kind.is-lifted { grid-column: 1 / -1; }
  .kind.is-lifted .kind-pic { aspect-ratio: 4 / 3; }
  .kind:last-child { grid-column: 1 / -1; }
  .kind:last-child .kind-pic { aspect-ratio: 4 / 3; padding: 10%; }
  .kind.is-lifted h3 { font-size: 26px; }
  .kind h3 { font-size: 18px; }
  .kind p { font-size: 15px; }
}

/* ---------- features: eleven fragments of the product ---------- */
.features { padding-inline: var(--gutter); }
.features-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
.features-head h2 { grid-column: 1 / span 6; max-width: 14ch; }
.features-head .lead { grid-column: 8 / span 5; }
.features-body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); margin-top: 56px; align-items: start; }
.feats { grid-column: 1 / span 5; display: grid; }
.feat {
  width: 100%; display: grid; grid-template-columns: 0.7em 1fr; column-gap: 14px; align-items: start; text-align: left;
  background: none; border: 0; padding: 16px 12px 16px 8px; color: var(--muted);
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.feat .mark { width: 0.7em; height: 0.7em; margin-top: 0.35em; fill: var(--surface-2); transition: fill var(--t-hover) ease; }
.feat-text b { display: block; font-size: 18px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.feat-text span { display: block; font-size: 15px; margin-top: 4px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height var(--t-ui) var(--ease-out), opacity var(--t-ui) ease; }
.feat.is-active { background: var(--surface); color: var(--muted); }
.feat.is-active .mark { fill: var(--accent); }
.feat.is-active .feat-text span { max-height: 4em; opacity: 1; }
@media (hover: hover) { .feat:not(.is-active):hover { background: var(--surface); } .feat:hover .mark { fill: var(--ink); } }

[data-ui].feat-stage {
  grid-column: 7 / span 6; position: sticky; top: 88px; aspect-ratio: 4 / 3; overflow: hidden;
  background: var(--stage); color: var(--stage-ink); border-radius: 10px; border: 1px solid var(--stage-surface-2);
}
.frag { position: absolute; inset: 0; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out), visibility 0s linear 400ms; pointer-events: none; }
.frag.is-on { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }
.frag-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.frag-plate { position: absolute; left: 44%; top: 34%; transform: translate(-50%, -100%); background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: 14px; padding: 7px 10px; border-radius: 4px; display: inline-flex; align-items: center; gap: 8px; }
.frag-plate::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 16px; margin-left: -1px; background: var(--accent); }
.frag-plate .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-ink); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: 0.2; } }
.frag-foot { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; background: rgba(16, 18, 23, 0.85); padding: 14px 16px; border-radius: 6px; }
.frag-foot small { display: block; font-size: 12px; color: var(--stage-muted); }
.frag-foot b { font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.frag .sms { position: relative; background: var(--stage-surface-2); border-radius: 14px 14px 14px 4px; padding: 12px 14px; font-size: 14px; line-height: 1.4; max-width: 86%; }
.frag .sms time { display: block; font-size: 11px; color: var(--stage-muted); margin-top: 4px; }
.frag-sub { font-size: 14px; color: var(--stage-muted); }
.frag-big { display: flex; align-items: baseline; gap: 10px; }
.frag-big .num { font-size: clamp(3.5rem, 6vw, 6rem); font-weight: 800; letter-spacing: -0.04em; line-height: 0.9; font-variant-numeric: tabular-nums; }
.frag-big .unit { font-size: 18px; color: var(--stage-muted); }
.frag-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.frag-map .road { fill: none; stroke: var(--stage-surface-2); stroke-width: 18; stroke-linecap: round; stroke-linejoin: round; }
.frag-map .fence { fill: rgba(242, 107, 33, 0.08); stroke: var(--accent); stroke-width: 2; stroke-dasharray: 8 6; }
.frag-map .dot-out { fill: var(--accent); animation: blink 1.2s infinite; }
.fuel { display: grid; gap: 8px; }
.fuel-bar { height: 22px; background: var(--stage-surface-2); border-radius: 4px; overflow: hidden; }
.fuel-fill { height: 100%; width: 82%; background: var(--accent); transition: width 1800ms var(--ease-in-out) 600ms; }
.frag.is-on .fuel-fill { width: 70%; }
.fuel-nums { display: flex; justify-content: space-between; font-size: 14px; color: var(--stage-muted); font-variant-numeric: tabular-nums; }
.fuel-now { color: var(--accent); font-weight: 600; }
.frag-table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.frag-table caption { text-align: left; font-weight: 600; padding-bottom: 10px; }
.frag-table th, .frag-table td { text-align: left; padding: 9px 6px; border-bottom: 1px solid var(--stage-surface-2); }
.frag-table th { font-weight: 400; color: var(--stage-muted); font-size: 13px; }
.cam { display: flex; align-items: center; gap: 14px; padding: 18px; background: var(--stage-surface); border-radius: 8px; font-size: 15px; }
.cam svg { width: 34px; height: 34px; fill: var(--accent); flex: 0 0 auto; }
.frag-btn { align-self: flex-start; background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 4px; padding: 11px 16px; font-weight: 600; font-size: 14px; transition: transform var(--t-press) var(--ease-out); }
.frag-btn:active { transform: scale(0.97); }
.hours { position: relative; height: 26px; background: var(--stage-surface-2); border-radius: 4px; }
.hours-on { position: absolute; left: 20.8%; width: 62.5%; top: 0; bottom: 0; background: var(--accent); border-radius: 4px; }
.hours-mark { position: absolute; left: 96.6%; top: -8px; bottom: -8px; width: 3px; background: #ff5a5a; }
.hours-mark span { position: absolute; right: 0; top: -24px; font-size: 12px; color: #ff8a8a; white-space: nowrap; }
.engine { display: inline-flex; align-items: center; gap: 16px; background: none; border: 0; color: inherit; padding: 0; align-self: flex-start; }
.engine-knob { position: relative; width: 84px; height: 46px; border-radius: 23px; background: #3ddc97; transition: background-color var(--t-ui) ease; }
.engine-knob::after { content: ""; position: absolute; top: 5px; left: 43px; width: 36px; height: 36px; border-radius: 50%; background: var(--stage); transition: transform var(--t-ui) var(--ease-out); }
.engine[aria-pressed="true"] .engine-knob { background: var(--stage-surface-2); }
.engine[aria-pressed="true"] .engine-knob::after { transform: translateX(-38px); background: var(--accent); }
.engine-label { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.events { display: grid; gap: 10px; font-size: 16px; }
[data-ui] .events li { display: grid; grid-template-columns: 6ch 1fr; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--stage-surface-2); }
.events time { color: var(--stage-muted); font-variant-numeric: tabular-nums; }
.batt { display: flex; align-items: center; gap: 18px; }
.batt-body { position: relative; width: 120px; height: 56px; border: 3px solid var(--stage-ink); border-radius: 8px; padding: 5px; }
.batt-body::after { content: ""; position: absolute; right: -11px; top: 16px; width: 8px; height: 18px; background: var(--stage-ink); border-radius: 0 3px 3px 0; }
.batt-fill { height: 100%; width: 80%; background: #3ddc97; border-radius: 3px; transition: width 900ms var(--ease-in-out) 700ms, background-color 300ms ease 1500ms; }
.frag.is-on .batt-fill { width: 0; background: #ff5a5a; }
.batt b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.batt small { color: var(--stage-muted); font-size: 14px; }
@media (max-width: 1100px) { .feats { grid-column: 1 / span 6; } [data-ui].feat-stage { grid-column: 7 / span 6; } }
@media (max-width: 900px) {
  .features-head { display: block; }
  .features-head h2 { font-size: 30px; max-width: none; }
  .features-head .lead { margin-top: 12px; }
  .features-body { display: block; margin-top: 28px; }
  [data-ui].feat-stage { position: sticky; top: 68px; z-index: 5; aspect-ratio: 4 / 3; margin-bottom: 16px; }
  .frag { padding: 18px; gap: 10px; }
  .frag-foot { grid-template-columns: 1fr 1fr; }
  .frag-foot div:last-child { display: none; }
  .feat { padding: 12px 10px 12px 6px; }
  .feat-text b { font-size: 16px; }
}

/* ---------- prices: plans as a large table ---------- */
.prices { padding-inline: var(--gutter); }
.prices-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
.prices-intro { grid-column: 1 / span 5; }
.prices-intro .lead { margin-top: 20px; max-width: 30ch; }
.prices-controls { grid-column: 6 / span 7; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tab {
  background: var(--surface); border: 0; padding: 14px 22px; font-weight: 600; font-size: 16px;
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.tab[aria-selected="true"] { background: var(--ink); color: var(--bg); }
@media (hover: hover) { .tab:not([aria-selected="true"]):hover { background: var(--surface-2); } }
.diff-toggle { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; cursor: pointer; user-select: none; }
.diff-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.diff-toggle .switch { width: 44px; height: 26px; border-radius: 13px; background: var(--surface-2); position: relative; transition: background-color var(--t-ui) ease; }
.diff-toggle .switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); transition: transform var(--t-ui) var(--ease-out); }
.diff-toggle input:checked + .switch { background: var(--ink); }
.diff-toggle input:checked + .switch::after { transform: translateX(18px); }
.diff-toggle input:focus-visible + .switch { outline: 3px solid var(--accent); outline-offset: 3px; }
.plan-group { margin-top: 40px; }
.plan-group[hidden] { display: none; }
.plans { width: 100%; border-collapse: collapse; table-layout: fixed; }
.plans th, .plans td { text-align: left; vertical-align: top; padding: 14px 20px; font-weight: 400; }
.plans thead th { padding-top: 20px; padding-bottom: 22px; vertical-align: bottom; position: sticky; top: 63px; z-index: 2; background: var(--bg); }
.plans thead th:first-child { width: 28%; }
.plans-title { font-size: 22px; font-weight: 600; display: block; }
.plan-name { display: block; font-size: clamp(1.5rem, 1rem + 1.6vw, 2.25rem); font-weight: 800; letter-spacing: -0.03em; line-height: 0.95; min-height: 1.9em; display: flex; align-items: flex-end; }
.plan-desc { display: block; font-size: 15px; color: var(--muted); margin-top: 10px; min-height: 2.7em; max-width: 26ch; }
.plan-price { display: block; font-size: clamp(1.5rem, 1rem + 2vw, 2.6rem); font-weight: 400; letter-spacing: -0.02em; line-height: 1; margin-top: 10px; }
.plan-period { display: block; font-size: 15px; color: var(--muted); margin-top: 6px; }
.plans tbody th { font-size: 19px; font-weight: 400; letter-spacing: -0.01em; }
.plans tbody td { font-size: 19px; }
.yes { display: inline-flex; align-items: center; gap: 10px; }
.yes .mark { width: 0.6em; height: 0.6em; fill: var(--accent); flex: 0 0 auto; }
.no { color: var(--muted); }
.is-reco .yes .mark { fill: var(--field-ink); }
.is-reco .no { color: var(--field-ink); opacity: 0.7; }
.plans .is-reco .plan-desc, .plans .is-reco .plan-period { color: var(--field-ink); }
.prices.is-diff tr[data-same], .prices.is-diff .plan-block [data-same] { display: none; }
.plans tbody tr:nth-child(even) th, .plans tbody tr:nth-child(even) td { background: var(--surface); }
.plans td.is-no { color: var(--muted); }
.plans .is-reco { background: var(--field); color: var(--field-ink); }
.plans tbody tr:nth-child(even) td.is-reco { background: #f37a35; }
.plans .is-reco .plan-period { color: var(--field-ink); }
.plans td.is-reco { font-weight: 600; }
.plans td.is-reco.is-no { color: var(--field-ink); font-weight: 400; }
.plans tfoot td { padding-top: 28px; }
.plan-actions { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.plan-actions .button { width: 100%; max-width: 260px; }
.plans tfoot .is-reco .button { background: var(--ink); color: var(--bg); }
.plans tfoot .is-reco .button.is-quiet { background: var(--field-surface); color: var(--field-ink); }
.prices-foot { margin-top: 24px; font-size: 15px; color: var(--muted); }
@media (max-width: 900px) {
  .prices-head { display: block; }
  .prices-intro .lead { max-width: none; }
  .prices-controls { margin-top: 24px; }
  .tab { padding: 10px 14px; font-size: 14px; }
  .plans, .plans thead, .plans tbody, .plans tfoot, .plans tr, .plans th, .plans td { display: block; }
  .plans thead { position: absolute; left: -9999px; }
  .plan-block { padding: 44px 0 40px; }
  .plan-block.is-reco { background: var(--field); color: var(--field-ink); padding-inline: var(--gutter); margin-inline: calc(-1 * var(--gutter)); }
  .plan-block .plan-name { font-size: 9vw; }
  .plan-block .plan-price { font-size: 9vw; }
  .plan-block .plan-desc { min-height: 0; margin-top: 6px; }
  .plan-block dl { margin-top: 20px; }
  .plan-block dl > div { margin-top: 14px; }
  .plan-block dt { font-size: 15px; color: var(--muted); }
  .plan-block.is-reco dt { color: var(--field-ink); }
  .plan-block.is-reco dd { font-weight: 600; }
  .plan-block dd { margin: 2px 0 0; font-size: 17px; }
  .plan-block .plan-actions { margin-top: 24px; }
  .plan-block .plan-actions .button { max-width: none; }
  .plan-block.is-reco .plan-period { color: var(--field-ink); }
  .plan-block.is-reco .button { background: var(--ink); color: var(--bg); }
  .plan-block.is-reco .button.is-quiet { background: var(--field-surface); color: var(--field-ink); }
}
@media (min-width: 901px) { .plan-blocks { display: none; } }
@media (max-width: 900px) { .plans { display: none; } }

/* ---------- contact ---------- */
/* ---------- faq ---------- */
.faq { padding-inline: var(--gutter); }
.faq-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.faq-head h2 { grid-column: 1 / span 7; max-width: 16ch; }
.faq-list { margin-top: 56px; border-top: 1px solid var(--surface-2); max-width: 980px; }
.faq-item { border-bottom: 1px solid var(--surface-2); }
.faq-item summary { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 20px; }
.faq-item summary::after { content: "+"; font-size: 26px; line-height: 1; color: var(--muted); transition: transform var(--t-ui) var(--ease-out); }
.faq-item[open] summary::after { transform: rotate(45deg); color: var(--ink); }
.faq-item p { padding: 0 0 26px; max-width: 64ch; color: var(--muted); }
@media (hover: hover) { .faq-item summary:hover h3 { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 0.2em; } }
@media (max-width: 900px) { .faq-head { display: block; } .faq-head h2 { font-size: 30px; max-width: none; } .faq-list { margin-top: 32px; } .faq-item summary h3 { font-size: 18px; } }

.contact { background: var(--stage); color: var(--stage-ink); padding-inline: var(--gutter); padding-top: 160px; padding-bottom: 120px; }
.contact-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.contact-statement { grid-column: 1 / span 7; font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2rem); line-height: 1.12; letter-spacing: -0.02em; }
.contact-links { grid-column: 10 / span 3; }
.contact-links .q { font-size: 18px; font-weight: 600; }
.contact-links a { display: block; font-size: 18px; margin-top: 12px; text-decoration-color: var(--accent); text-underline-offset: 0.2em; }
.contact-links a:first-of-type { margin-top: 20px; }
.contact-links .small { color: var(--stage-muted); margin-top: 20px; font-size: 14px; }

.apps-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; margin-top: 120px; background: var(--stage-surface); padding: 40px var(--gutter); margin-inline: calc(-1 * var(--gutter)); }
.apps-text { grid-column: 1 / span 5; }
.apps-text h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.apps-text p { margin-top: 10px; color: var(--stage-muted); font-size: var(--step-body); }
.apps-links { grid-column: 7 / span 6; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (max-width: 900px) { .apps-row { display: block; margin-top: 64px; padding: 28px var(--gutter); } .apps-links { margin-top: 20px; } }
.callback-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); margin-top: 72px; align-items: start; }
[data-ui].callback {
  scroll-margin-top: 88px; /* clear of the sticky bar when a link jumps to the form */
  position: relative; grid-column: 1 / span 6; background: var(--stage-surface); border: 1px solid var(--stage-surface-2); border-radius: 8px; padding: 22px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.callback h2 { grid-column: 1 / -1; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.callback label { display: grid; gap: 6px; font-size: 13px; color: var(--stage-muted); }
.callback label.is-wide { grid-column: 1 / -1; }
[data-ui].callback input, [data-ui].callback select {
  width: 100%; background: var(--stage); color: var(--stage-ink); border: 1px solid var(--stage-surface-2);
  border-radius: 4px; padding: 11px 12px; font-size: 15px;
}
.callback input::placeholder { color: var(--stage-muted); }
.callback .button { grid-column: 1 / -1; justify-self: start; }
.callback .form-note { grid-column: 1 / -1; font-size: 13px; color: var(--stage-muted); }
.callback .form-referred { grid-column: 1 / -1; background: var(--stage-surface-2); color: var(--stage-ink); padding: 12px 14px; border-radius: 4px; font-size: 14px; line-height: 1.4; }
.callback .form-referred[hidden], .callback .form-vehicles[hidden] { display: none; }
.callback .form-honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* taste-skill-ignore: honeypot field */
.callback .form-done { grid-column: 1 / -1; background: var(--accent); color: var(--accent-ink); padding: 12px 14px; border-radius: 4px; font-weight: 600; }
.callback .form-done[hidden] { display: none; }
.callback .button[aria-busy="true"] { opacity: 0.7; pointer-events: none; }
.offices { grid-column: 8 / span 5; display: grid; gap: 28px; font-size: 15px; color: var(--stage-muted); }
.offices strong { display: block; color: var(--stage-ink); margin-bottom: 4px; }
@media (max-width: 900px) {
  .contact { padding-top: 96px; padding-bottom: 72px; }
  .contact-row { display: block; }
  .contact-statement { font-size: clamp(1.25rem, 4.6vw, 1.75rem); }
    .contact-links { padding-top: 28px; overflow: hidden; }
  .contact-links .small { clear: both; padding-top: 8px; }
  .callback-row { display: block; margin-top: 64px; }
  .callback[data-ui] { grid-template-columns: 1fr; }
  .offices { margin-top: 32px; }
}

/* ---------- footer: a single quiet line ---------- */
.footer { padding: 18svh var(--gutter) 30px; font-size: 15px; color: var(--muted); }
.footer-line { display: grid; grid-template-columns: 1fr auto 1fr; align-items: baseline; gap: 24px; }
.footer-line nav { display: flex; gap: 24px; }
.footer-line a { color: var(--ink); text-decoration: none; }
.footer-line a:hover { text-decoration: underline; }
.footer-line .right { text-align: right; }
.footer-credits { margin-top: 18px; font-size: 13px; }
.footer-credits a { color: inherit; }
@media (max-width: 900px) {
  .footer { padding-top: 14svh; padding-bottom: 24px; font-size: 14px; }
  .footer-line { display: grid; grid-template-columns: 1fr; gap: 8px; }
  .footer-line nav { flex-wrap: wrap; gap: 8px 16px; }
  .footer-line .right { text-align: left; }
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #0b1a10;
  display: grid; place-items: center; text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28); /* taste-skill-ignore: a floating control */
  transition: transform var(--t-press) var(--ease-out);
}
.wa-float:active { transform: scale(0.94); }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }

/* ---------- motion layer ---------- */
.lines .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.lines [data-line] { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .js .lines [data-line] { transform: translateY(105%); animation: line-up 900ms var(--ease-out) forwards; animation-delay: calc(var(--i) * 110ms + 150ms); }
  .js [data-rise] { opacity: 0; transform: translateY(18px); animation: rise var(--t-reveal) var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 90ms + 420ms); }
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .shutter { overflow: hidden; }
  .js .shutter img { transform: scale(1.08); transition: transform 1600ms var(--ease-soft); }
  .js .shutter.is-in img { transform: none; }
  .js .feats li { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: calc(var(--i, 0) * 50ms); }
  .js .feats.is-in li { opacity: 1; transform: none; }
  .js .frame-run .frame { opacity: 0; transform: translateY(20px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
  .js .frame-run.is-in .frame { opacity: 1; transform: none; }
  .js .points li { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms); }
  .js .points.is-in li { opacity: 1; transform: none; }
}
@keyframes line-up { to { transform: none; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fp-sms-item.is-new { animation: none; }
  .fp-guard[data-guard="warning"] { animation: none; background-color: rgba(255, 77, 79, 0.12); }
}
