:root {
  --bg: #0F1216;
  --bg-alt: #13171C;
  --surface: #181C22;
  --border: #262B33;
  --accent: #5CC8FF;
  --fg: #EEF1F5;
  --chrome: #C9CED6;
  --muted: #8A93A0;
  --error: #E5604D;
  --files: #F59E0B;
  --youtube: #EF4444;
  --iptv: #8B5CF6;
  --extra: #10B981;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); }

h1, h2, h3 { line-height: 1.1; margin: 0 0 16px; letter-spacing: -0.02em; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 600px; }

.muted { color: var(--muted); }

.btn {
  display: inline-block;
  padding: 15px 26px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #06121A;
  box-shadow: 0 0 0 1px rgba(92, 200, 255, 0.4), 0 8px 32px -8px rgba(92, 200, 255, 0.55);
}
.btn-primary { position: relative; overflow: hidden; isolation: isolate; transition: transform 0.15s ease, box-shadow 0.3s ease; }
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(140px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.6), transparent 65%);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.btn-primary:hover::after { opacity: 1; }
.btn-primary:hover { box-shadow: 0 0 0 1px rgba(92, 200, 255, 0.6), 0 10px 40px -6px rgba(92, 200, 255, 0.7); }
.btn-primary:active { transform: scale(0.97); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Hero: copy on the left, the cabin scene bleeding off the right edge. */
.hero {
  display: grid;
  gap: 32px;
  padding: 56px 0 0;
  overflow: hidden;
  background: radial-gradient(120% 80% at 80% 40%, #142233 0%, var(--bg) 60%);
}

.hero-copy { padding: 0 20px; max-width: 560px; }
.hero-logo { border-radius: 16px; margin-bottom: 28px; }
.hero h1 {
  font-size: clamp(38px, 8vw, 60px);
  font-weight: 800;
  letter-spacing: -0.035em;
  background:
    linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.95) 50%, transparent 58%) 160% 0 / 250% 100% no-repeat,
    linear-gradient(180deg, #F4F6F9 25%, #A3ABB7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead { color: var(--muted); font-size: 19px; max-width: 34ch; margin: 0 0 32px; }

.hero-stage { position: relative; perspective: 1400px; }
.hero-scene {
  position: relative;
  transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg));
  transform-origin: 30% 50%;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.hero-scene picture img {
  width: 100%;
  -webkit-mask-image: linear-gradient(180deg, #000 75%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 75%, transparent 100%);
}

/* Live overlays, mapped onto the photo's screens by motion.js (homography → matrix3d). */
@property --spill {
  syntax: "<color>";
  inherits: true;
  initial-value: #F59E0B;
}

.car-screen,
.phone-overlay {
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
  transform-origin: 0 0;
  visibility: hidden;
}
.hero-scene.is-mapped .car-screen,
.hero-scene.is-mapped .phone-overlay { visibility: visible; }

.car-screen { width: 960px; height: 400px; background: #000; border-radius: 4px; }
.phone-overlay { width: 540px; height: 1212px; border-radius: 64px; background: #16191E; }

.car-screen > img,
.phone-overlay > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.car-screen > img.is-active,
.phone-overlay > img.is-active { opacity: 1; }

.car-ui {
  position: absolute;
  inset: 0;
  padding: 26px 34px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, transparent 25%, transparent 55%, rgba(0, 0, 0, 0.8) 100%);
  color: #fff;
}
.car-title { margin: 0; display: flex; align-items: center; gap: 14px; font-size: 26px; font-weight: 600; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6); }
.car-live {
  display: none;
  padding: 3px 12px;
  border-radius: 6px;
  background: #E5484D;
  font-size: 18px;
  font-weight: 800;
}
.car-screen.is-live .car-live { display: inline-block; }

.car-progress { margin-top: auto; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.25); }
.car-progress i { display: block; height: 100%; width: 35%; border-radius: inherit; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.car-screen.is-live .car-progress i { width: 100%; background: #E5484D; box-shadow: none; }

.car-controls { display: flex; justify-content: center; gap: 70px; margin-top: 18px; }
.car-controls svg { width: 34px; height: 34px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.screen-spill {
  position: absolute;
  left: 4%;
  top: 60%;
  width: 56%;
  height: 16%;
  background: radial-gradient(ellipse 60% 100% at 50% 0%, color-mix(in srgb, var(--spill) 70%, transparent), transparent 75%);
  filter: blur(18px);
  mix-blend-mode: screen;
  opacity: 0.55;
  pointer-events: none;
  transition: --spill 0.9s ease;
}

/* Remote keys copy the app's Start tiles (SectionTile): a convex graphite key that sinks when pressed. */
.remote {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 112px);
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  margin-top: -6px;
}
.remote button,
.fold-toggle {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 42px;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: linear-gradient(180deg, #2C313A 0%, #22262D 35%, #16191E 100%);
  color: #F2F4F7;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.8);
  cursor: pointer;
  box-shadow:
    inset 0 -3px 3px -1px rgba(0, 0, 0, 0.4),
    0 4px 0 #0D0E10,
    0 5px 8px rgba(13, 14, 16, 0.7);
  transition: transform 0.1s ease-out, box-shadow 0.1s ease-out, border-color 0.1s ease-out;
}
.remote svg,
.fold-toggle svg {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.8)) drop-shadow(0 -0.8px 0.5px rgba(255, 255, 255, 0.15));
}
/* Top specular stripe. */
.remote button::before,
.fold-toggle::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.53), transparent);
}
/* Diagonal gleam sweeping across the key. */
.remote button::after,
.fold-toggle::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.03) 40%, rgba(255, 255, 255, 0.21) 47%, rgba(255, 255, 255, 0.46) 50%, rgba(255, 255, 255, 0.21) 53%, rgba(255, 255, 255, 0.03) 60%, transparent 70%) no-repeat;
  background-size: 300% 100%;
  background-position: 120% 0;
  opacity: 0;
}
.remote button:hover,
.fold-toggle:hover { border-color: rgba(255, 255, 255, 0.34); }
.remote button[aria-pressed="true"] { border-color: rgba(255, 255, 255, 0.42); }
.remote button[aria-pressed="true"]::before { height: 2px; background: linear-gradient(90deg, transparent, #fff, transparent); }
/* The gleam runs exactly as long as the car display's cross-fade (0.9s), so both change together. */
@media (prefers-reduced-motion: no-preference) {
  .remote button[aria-pressed="true"]::after { animation: gleam 0.9s ease both; }
}

@keyframes gleam {
  0% { opacity: 1; background-position: 120% 0; }
  100% { opacity: 1; background-position: -20% 0; }
}

@media (min-width: 600px) {
  .remote { grid-template-columns: repeat(4, 112px); }
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: center;
    padding: 72px 0;
    min-height: min(88vh, 820px);
  }
  .hero-copy { max-width: none; padding: 0 0 0 max(20px, calc((100vw - 1120px) / 2 + 20px)); }
  .hero h1 { max-width: 12ch; }
  .hero-scene picture img { -webkit-mask-image: none; mask-image: none; }
  .hero-scene {
    container-type: inline-size;
    border-radius: 24px 0 0 24px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 9%), linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 0%, #000 9%), linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
    mask-composite: intersect;
  }
  /* On wide screens the keys sit on the dashboard right under the car display, scaled with the photo. */
  .remote {
    position: absolute;
    left: 31.9%;
    top: 65.5%;
    transform: translateX(-50%);
    grid-template-columns: repeat(4, 12cqw);
    gap: 0.9cqw;
    margin: 0;
    padding: 0.7cqw;
    border-radius: 1.4cqw;
    background: rgba(5, 6, 8, 0.55);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 1cqw 3cqw rgba(0, 0, 0, 0.6);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }
  .remote button { height: 4.4cqw; gap: 0.7cqw; padding: 0 0.6cqw; font-size: clamp(11px, 1.55cqw, 15px); border-radius: 0.9cqw; }
  .remote svg { width: 2.2cqw; height: 2.2cqw; }
}

/* The one orchestrated moment: the cabin powers on, the copy rises, a chrome shine crosses the headline. */
@media (prefers-reduced-motion: no-preference) {
  .hero-scene { animation: power-on 1.8s cubic-bezier(0.3, 0.6, 0.2, 1) both; }
  .car-screen > img.is-active { animation: ken-burns 14s ease-in-out infinite alternate; }
  .car-screen.is-playing .car-progress i { animation: playhead var(--cycle, 6s) linear forwards; }
  .hero-copy > * { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero-copy > :nth-child(2) { animation-delay: 0.1s; }
  .hero-copy > :nth-child(3) { animation-delay: 0.2s; }
  .hero-copy > :nth-child(4) { animation-delay: 0.3s; }
  .hero h1 { animation: rise 0.8s 0.1s cubic-bezier(0.2, 0.7, 0.2, 1) both, shine 1.6s 0.9s ease-in-out both; }
}

@keyframes ken-burns {
  from { transform: scale(1.04) translate(1.5%, 0.5%); }
  to { transform: scale(1.16) translate(-2%, -1.5%); }
}
@keyframes playhead {
  from { width: 8%; }
  to { width: 92%; }
}

@keyframes power-on {
  0% { filter: brightness(0.15) saturate(0.3); }
  40% { filter: brightness(0.6) saturate(0.6); }
  100% { filter: none; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes shine {
  from { background-position: 160% 0, 0 0; }
  to { background-position: -60% 0, 0 0; }
}

.section { --section-bg: var(--bg); padding: 88px 0; background: var(--section-bg); }
.section-alt { --section-bg: var(--bg-alt); }
.section-title { font-size: clamp(30px, 6vw, 44px); font-weight: 750; }
.section-lead { color: var(--muted); margin: 0 0 48px; max-width: 52ch; }

/* Tour: one live phone with the real app screens; its bottom bar switches them. */
@property --glow {
  syntax: "<color>";
  inherits: true;
  initial-value: #5CC8FF;
}

.tour { display: grid; gap: 28px; transition: --glow 0.6s ease; }
.tour-stage { display: grid; justify-items: center; gap: 14px; }

.phone {
  width: min(220px, 60vw);
  padding: 9px;
  border-radius: 42px;
  background: linear-gradient(150deg, #3A404A 0%, #15181D 45%, #0A0C0F 100%);
  box-shadow:
    0 0 0 1px #2E343D,
    0 40px 70px -30px rgba(0, 0, 0, 0.9),
    0 0 100px -16px color-mix(in srgb, var(--glow) 60%, transparent);
}

.phone-screen {
  position: relative;
  aspect-ratio: 540 / 1212;
  border-radius: 33px;
  overflow: hidden;
  background: #16191E;
}
.phone-screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.45s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.phone-screen img.is-active { opacity: 1; transform: none; }

/* Hit areas laid over the app's own bottom bar in the screenshots. */
.phone-tabs {
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: 3%;
  height: 6.5%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.phone-tabs button {
  border: 0;
  border-radius: 14px;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s;
}
.phone-tabs button:hover { background: rgba(255, 255, 255, 0.07); }
.phone-tabs button:active { background: rgba(92, 200, 255, 0.18); }

.tour-hint { margin: 0; font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.tour-hint::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--glow);
  box-shadow: 0 0 0 0 var(--glow);
}
@media (prefers-reduced-motion: no-preference) {
  .tour-hint::before { animation: ping 2s ease-out infinite; }
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--glow) 70%, transparent); }
  100% { box-shadow: 0 0 0 10px transparent; }
}

.tour-items {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin: 0 -20px;
  padding: 0 20px 4px;
  scroll-padding: 0 20px;
}
.tour-items::-webkit-scrollbar { display: none; }

.tour-item {
  flex: 0 0 84%;
  scroll-snap-align: center;
  padding: 22px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: opacity 0.4s ease, border-color 0.4s ease;
}
.tour-item.is-active { border-color: color-mix(in srgb, var(--tone) 55%, var(--border)); }
.tour-item h3 { font-size: 24px; font-weight: 700; }
.tour-item h3::before {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  margin-bottom: 16px;
  border-radius: 2px;
  background: var(--tone);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.tour-item:not(.is-active) h3::before { transform: scaleX(0.4); }
.tour-item p { color: var(--muted); margin: 0 0 10px; }

@media (min-width: 900px) {
  .tour { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
  .tour-stage { position: sticky; top: max(24px, calc(50vh - 320px)); }
  .phone { width: 290px; }
  .tour-items { display: block; margin: 0; padding: 0; overflow: visible; }
  .tour-item {
    min-height: 62vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
    background: none;
    border: 0;
    opacity: 0.32;
  }
  .tour-item.is-active { opacity: 1; }
  .tour-item:hover { opacity: 0.8; }
  .tour-item.is-active:hover { opacity: 1; }
  .tour-item h3 { font-size: 30px; }
  .tour-item p { font-size: 18px; max-width: 42ch; }
}

/* Steps are a real sequence: a line fills as you scroll and lights each number it reaches. */
.steps {
  position: relative;
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 32px;
}
.steps::before,
.steps::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  border-radius: 2px;
  background: var(--border);
}
.steps::after {
  background: linear-gradient(180deg, var(--accent), #2E8FD0);
  box-shadow: 0 0 12px rgba(92, 200, 255, 0.6);
  transform: scaleY(var(--progress));
  transform-origin: top;
}
.steps li { counter-increment: step; position: relative; padding-left: 56px; }
.steps li::before {
  content: counter(step);
  position: absolute;
  z-index: 1;
  left: 0;
  top: -4px;
  width: 32px;
  padding: 2px 0;
  text-align: center;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  color: #46505C;
  background: var(--section-bg);
  transition: color 0.4s ease, text-shadow 0.4s ease;
}
.steps li.is-lit::before { color: var(--accent); text-shadow: 0 0 18px rgba(92, 200, 255, 0.55); }
.steps strong { display: block; font-size: 19px; margin-bottom: 4px; }
.steps span { color: var(--muted); }

@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 32px; }
  .steps::before,
  .steps::after { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 2px; }
  .steps::after { background: linear-gradient(90deg, var(--accent), #2E8FD0); transform: scaleX(var(--progress)); transform-origin: left; }
  .steps li { padding: 64px 0 0; }
  .steps li::before { top: 22px; width: auto; text-align: left; background: none; font-size: 40px; }
}

/* Behind the comparison: a dark car whose headlights flash as each row lights up. */
#przystawki { position: relative; overflow: hidden; isolation: isolate; }
#przystawki > .container { position: relative; z-index: 1; }
.garage { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.garage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  filter: blur(7px);
  transform: scale(1.06); /* hides the blur's soft edges */
}
/* Phones: the section is tall and narrow, so show the whole car across the width instead of cropping to the grille. */
@media (max-width: 760px) {
  .garage img { top: auto; bottom: 14%; left: -30%; width: 160%; height: auto; }
}
.garage-off { opacity: 0.32; }
.garage-on { opacity: 0; }
.garage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--section-bg) 0%, rgba(19, 23, 28, 0.55) 22%, rgba(19, 23, 28, 0.62) 75%, var(--section-bg) 100%),
    radial-gradient(ellipse 70% 60% at 50% 55%, transparent 0%, rgba(19, 23, 28, 0.5) 100%);
}
@media (prefers-reduced-motion: no-preference) {
  .garage.is-flashing .garage-on { animation: headlights 0.6s ease-out; }
}
@keyframes headlights {
  0% { opacity: 0; }
  22% { opacity: 0.6; }
  100% { opacity: 0; }
}

/* Comparison: a real table, ZNS_AA's column lit with the accent. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.compare-scroll { overflow-x: auto; margin: 0 -20px; padding: 0 20px; }
.compare {
  width: 100%;
  min-width: 560px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 15px;
  line-height: 1.5;
}
.compare th,
.compare td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.compare thead th { font-size: 17px; font-weight: 700; vertical-align: bottom; border-bottom-color: #3A414C; }
.compare thead small { display: block; margin-top: 2px; font-size: 13px; font-weight: 500; color: var(--muted); }
.compare tbody th { width: 22%; font-weight: 600; color: var(--fg); }
.compare td { color: var(--muted); }
.compare .is-us { color: var(--fg); background: rgba(92, 200, 255, 0.06); }
.compare thead .is-us { color: var(--accent); border-radius: 14px 14px 0 0; box-shadow: inset 0 2px 0 var(--accent); }
.compare tbody tr:last-child .is-us { border-radius: 0 0 14px 14px; }
.compare tbody tr:last-child th,
.compare tbody tr:last-child td { border-bottom: 0; }
/* Ignition self-test: rows light up one after another, each answer gets its warning lamp. */
.compare tbody tr { transition: opacity 0.35s ease, background 0.35s ease; }
.compare tbody tr.is-scanning { background: linear-gradient(90deg, rgba(92, 200, 255, 0.02), rgba(92, 200, 255, 0.12) 55%, rgba(92, 200, 255, 0.02)); }
.compare tbody tr.is-scanning th { color: var(--accent); }

.lamp {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  margin-right: 10px;
  vertical-align: -3px;
  border-radius: 50%;
  background: #2A3038;
  color: transparent;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  transition: background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease, transform 0.3s cubic-bezier(0.3, 1.6, 0.5, 1);
}
@media (min-width: 761px) {
  .compare td { position: relative; padding-left: 46px; }
  .compare .lamp { position: absolute; left: 18px; top: 19px; margin: 0; }
}
.lamp-warn::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3A414C; transition: background 0.3s ease; }
.lamp-ok::before { content: "✓"; }
.is-checked .lamp-warn { background: rgba(245, 165, 36, 0.16); }
.is-checked .lamp-warn::before { background: #F5A524; box-shadow: 0 0 8px #F5A524; }
.is-checked .lamp-ok { background: var(--extra); color: #06121A; box-shadow: 0 0 12px rgba(16, 185, 129, 0.55); }
.is-scanning .lamp { transform: scale(1.25); }

/* Spotlight: the row under the cursor (or tapped) stays lit, the rest dims. */
@media (hover: hover) {
  .compare tbody:hover tr:not(:hover) { opacity: 0.35; }
}
.compare.has-spot tbody tr:not(.is-spot) { opacity: 0.35; }
.compare tbody tr:hover td.is-us,
.compare tbody tr.is-spot td.is-us { background: rgba(92, 200, 255, 0.12); }
.compare tbody tr:hover td:not(.is-us),
.compare tbody tr.is-spot td:not(.is-us) { color: #B4BBC6; }

/* Phones: the table is too wide to read, so a short list of ZNS_AA's differences replaces it. */
.compare-short { display: none; list-style: none; margin: 0; padding: 0; }
.compare-short li {
  display: grid;
  grid-template-columns: 16px 1fr;
  column-gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  transition: background 0.35s ease;
}
.compare-short li:first-child { border-top: 1px solid var(--border); }
.compare-short strong { color: var(--fg); font-weight: 600; }
.compare-short .lamp { margin: 4px 0 0; }
.compare-short li.is-scanning { background: linear-gradient(90deg, rgba(92, 200, 255, 0.02), rgba(92, 200, 255, 0.12) 55%, rgba(92, 200, 255, 0.02)); }

@media (max-width: 760px) {
  .compare-scroll { display: none; }
  .compare-short { display: block; }
}

.sources { margin: 24px 0 0; font-size: 13px; color: var(--muted); }
.sources a { color: var(--muted); }
.sources a:hover { color: var(--accent); }

.split { display: grid; gap: 8px; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 2fr; gap: 48px; align-items: start; }
}

.requirements { list-style: none; padding: 0; margin: 0; }
.requirements li { padding: 18px 0; border-bottom: 1px solid var(--border); font-size: 19px; }
.requirements li:first-child { border-top: 1px solid var(--border); }

.faq details { border-bottom: 1px solid var(--border); }
.faq details:first-child { border-top: 1px solid var(--border); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 18px;
  list-style: none;
  transition: color 0.2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary::after {
  content: "+";
  flex: none;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  color: var(--accent);
  transition: transform 0.55s cubic-bezier(0.33, 1, 0.68, 1);
}
.faq details.is-open summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 0 20px; color: var(--muted); max-width: 60ch; overflow: hidden; }

.signup {
  display: grid;
  gap: 4px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
}
.field { display: grid; gap: 6px; margin-bottom: 8px; }
.field label { font-weight: 600; }

.field input,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--border);
  border-radius: 12px;
  font: inherit;
}
.field textarea { resize: vertical; }
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(92, 200, 255, 0.25); }
.field [aria-invalid="true"],
.field [aria-invalid="true"]:focus { border-color: var(--error); }

.field-hint { margin: 0; font-size: 14px; color: var(--muted); }
.field-error { margin: 0; min-height: 1.2em; font-size: 14px; color: var(--error); }

.signup .btn { width: 100%; margin-top: 8px; }
.signup-status { margin: 12px 0 0; color: var(--muted); }
.signup-status:empty { display: none; }
.signup-status.is-sent::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--extra);
  color: #06121A;
  font-weight: 800;
  font-size: 13px;
  vertical-align: -5px;
}
@media (prefers-reduced-motion: no-preference) {
  .signup-status.is-sent { animation: rise 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .signup-status.is-sent::before { animation: pop 0.5s 0.15s cubic-bezier(0.3, 1.6, 0.5, 1) both; }
}
@keyframes pop {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  text-align: center;
  font-size: 15px;
}
.footer p { margin: 4px 0; }

.signup-privacy { margin: 14px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.signup-privacy a,
.footer a { color: var(--muted); }
.signup-privacy a:hover,
.footer a:hover { color: var(--accent); }

/* Privacy page */
.legal-header { padding: 24px 0 0; }
.legal-back { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); font-weight: 700; text-decoration: none; }
.legal-back img { border-radius: 10px; }
.legal { padding-top: 48px; }
.legal h2 { margin: 36px 0 10px; font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
.legal p,
.legal li { color: var(--muted); }
.legal strong { color: var(--fg); font-weight: 600; }
.legal ul { margin: 0 0 12px; padding-left: 20px; }
.legal li { margin: 4px 0; }

.drivers strong { color: var(--fg); font-weight: 600; }
.drivers li { color: var(--muted); font-size: 18px; }

/* Drivers: the truck cab fills the section; the copy keeps to the dark left side, the lit cockpit shows on the right. */
#kierowcy { position: relative; overflow: hidden; isolation: isolate; }
#kierowcy > .container { position: relative; z-index: 1; }
.drivers-copy { max-width: 500px; }
.drivers-copy .section-lead { margin-bottom: 28px; }
.drivers li { font-size: 17px; }
.cab { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.cab img { width: 100%; height: 100%; object-fit: cover; object-position: 75% 55%; }
.cab::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--section-bg) 0%, rgba(15, 18, 22, 0.92) 30%, rgba(15, 18, 22, 0.55) 48%, rgba(15, 18, 22, 0) 70%),
    linear-gradient(180deg, var(--section-bg) 0%, transparent 14%, transparent 86%, var(--section-bg) 100%);
}
@media (min-width: 900px) {
  #kierowcy { min-height: 640px; display: flex; align-items: center; }
  #kierowcy > .container { width: 100%; }
}
/* Phones: the cab is a banner at the top, the copy follows below it. */
@media (max-width: 899px) {
  #kierowcy { padding-top: 0; }
  .cab { position: relative; display: block; height: 300px; }
  .cab::after { background: linear-gradient(180deg, var(--section-bg) 0%, transparent 20%, transparent 60%, var(--section-bg) 100%); }
  #kierowcy > .container { margin-top: -40px; }
}

/* The comparison starts folded; its toggle is an app key (see .remote button). */
.fold-toggle { height: 46px; padding: 0 20px; gap: 10px; font-size: 15px; }
.fold-toggle:active { transform: translateY(3px); box-shadow: inset 0 -3px 3px -1px rgba(0, 0, 0, 0.4), 0 1px 0 #0D0E10, 0 2px 2px rgba(13, 14, 16, 0.7); }
.fold-toggle svg { transition: transform 0.55s cubic-bezier(0.33, 1, 0.68, 1); }
.fold-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
@media (prefers-reduced-motion: no-preference) {
  .fold-toggle:hover::after { animation: gleam 0.9s ease both; }
}
.fold-panel { overflow: hidden; }
.fold-panel.is-open { overflow: visible; }
.compare-panel > .compare-scroll,
.compare-panel > .compare-short,
.pay-details { margin-top: 32px; }

/* Payment: real logos and the app's own paywall and BLIK sheet, two small phones overlapping. */
.pay-logos { display: flex; align-items: center; gap: 18px; margin: -20px 0 28px; }
.pay-logos img { height: 26px; width: auto; }
.pay-phones { display: flex; justify-content: center; padding: 0 0 24px; }
.pay-details { align-items: center; }
.pay-phones .phone { width: 170px; padding: 6px; border-radius: 28px; }
.pay-phones .phone img { width: 100%; border-radius: 22px; }
.pay-phones .phone + .phone { margin: 40px 0 0 -46px; }
@media (min-width: 900px) {
  .pay-phones { justify-content: flex-start; }
}
