/* ==========================================================================
   Viz — Design System & Layout Styles
   Tokens and measurements derived directly from DESIGN-DECISIONS.md,
   Main.dc.html, Mobile.dc.html, and Hero.dc.html.
   ========================================================================== */

:root {
  /* Colors (synced with Viz v2 «Приладний преміум») */
  --text: #151D28;
  --text-secondary: #525D6D;
  --text-caption: #5B6472;
  --bg: #FFFFFF;
  --bg-muted: #EFF2F5;
  --bg-dark: #0D1117;
  --bg-dark-surface: #161C24;
  --text-dark-muted: #9AA5B4;

  /* Brand & Data */
  --viz: #0A72BD;
  --viz-dark: #348FD6;
  --viz-hover: #075A96;
  --viz-link-gray: #08609F;
  --viz-tint: #E7F1FA;
  --gps-stroke: #E2700A;
  --gps-text: #A84C00;

  /* Semantic Status */
  --good: #147D46;
  --good-bg: #DDF2E5;
  --warn: #8A5600;
  --warn-bg: #FFEFCF;
  --jam: #C62828;
  --jam-bg: #FDECEC;
  --nogps-bg: #212A36;
  --cam-dot: #3BD16F;

  /* Surfaces, Glass & Dividers (v2 «тиша без рамок») */
  --surface-glass: rgba(255, 255, 255, 0.90);
  --hairline: rgba(27, 36, 48, 0.08);
  --border: #DDE1E6;
  --border-strong: #D3D8DF;
  --border-dashed: #C3C9D1;
  --divider: rgba(27, 36, 48, 0.07);
  --divider-dark: rgba(255, 255, 255, 0.065);

  /* Map */
  --map-bg: #EFECE4;

  /* Radii */
  --radius-card: 20px;
  --radius-btn: 14px;
  --radius-btn-sm: 12px;
  --radius-tile: 10px;
  --radius-pill: 999px;

  /* Typography */
  --font-sans: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Container */
  --container-max: 1200px;
  --gutter-x: clamp(20px, 8.333vw, 120px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  display: block;
}

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

a {
  color: var(--viz);
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

a:hover {
  color: var(--viz-hover);
}

button,
input {
  font-family: inherit;
}

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

.num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* Container & Sections */
.container {
  width: 100%;
  max-width: calc(var(--container-max) + 2 * var(--gutter-x));
  margin-inline: auto;
  padding-inline: var(--gutter-x);
}

.section {
  padding-block: 112px;
}

.section--muted {
  background: var(--bg-muted);
}

.section--dark {
  background: var(--bg-dark);
  color: #FFFFFF;
}

/* Typography helpers */
.eb {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-caption);
}

.section--dark .eb {
  color: var(--text-dark-muted);
}

.h2 {
  margin: 0;
  font-size: 44px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.section--dark .h2 {
  color: #FFFFFF;
}

.lead {
  margin: 0;
  font-size: 20px;
  line-height: 1.48;
  font-weight: 400;
  color: var(--text-secondary);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 760px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  padding: 0 28px;
  border-radius: var(--radius-btn);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  white-space: nowrap;
}

.btn--primary {
  background: var(--viz);
  color: #FFFFFF;
}

.btn--primary:hover {
  background: var(--viz-hover);
  color: #FFFFFF;
}

.btn--secondary {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--text);
}

.btn--secondary:hover {
  background: var(--bg-muted);
  color: var(--text);
}

.btn--secondary-dark {
  background: rgba(255, 255, 255, 0.04);
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
}

.btn--secondary-dark:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
}

.btn--dark {
  height: 52px;
  padding: 0 24px;
  background: var(--text);
  color: #FFFFFF;
  font-size: 17px;
}

.btn--dark:hover {
  background: #2B3748;
  color: #FFFFFF;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  border-bottom: 1px solid var(--divider);
  background: var(--bg);
  position: relative;
  z-index: 20;
}

.site-header--dark {
  background: var(--bg-dark);
  border-bottom-color: var(--divider-dark);
}

.site-header--dark .brand,
.site-header--dark .brand:hover {
  color: #FFFFFF;
}

.site-header--dark .brand__tag {
  color: var(--text-dark-muted);
  border-left-color: rgba(255, 255, 255, 0.14);
}

.site-header--dark .site-nav a {
  color: #B4BFCF;
}

.site-header--dark .site-nav a:hover {
  color: #FFFFFF;
}

.site-header--dark .menu-toggle {
  color: #EDF1F7;
}

.site-header--dark .menu-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

.site-header--dark .mobile-menu {
  background: var(--bg-dark);
  border-top-color: var(--divider-dark);
}

.site-header--dark .mobile-menu__links a {
  color: #EDF1F7;
  border-bottom-color: var(--divider-dark);
}

.site-header__inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  color: var(--text);
}

.brand__logo {
  display: block;
  flex: none;
}

.brand__name {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand__tag {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-caption);
  padding-left: 10px;
  border-left: 1px solid var(--border-strong);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  gap: 24px;
  font-size: 15px;
  font-weight: 500;
}

.site-nav a {
  color: var(--text-secondary);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--text);
}

.header-cta {
  height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-btn-sm);
  font-size: 16px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  place-items: center;
  cursor: pointer;
}

.menu-toggle:hover {
  background: var(--bg-muted);
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--divider);
  background: var(--bg);
  padding: 16px 20px 24px;
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.mobile-menu__links a {
  padding: 12px 4px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--divider);
}

.mobile-menu__links a:last-child {
  border-bottom: 0;
}

.mobile-menu__cta {
  width: 100%;
  height: 52px;
  font-size: 17px;
}

/* ==========================================================================
   1 · Hero (Кокпітний диптих: Камера v2 → Позиція на карті)
   ========================================================================== */
.hero-wrap {
  position: relative;
  background: var(--bg);
}

.hero-wrap--dark {
  background:
    radial-gradient(860px 560px at 74% 38%, rgba(52, 143, 214, 0.15), transparent 70%),
    radial-gradient(520px 420px at 18% 82%, rgba(59, 209, 111, 0.05), transparent 72%),
    var(--bg-dark);
  color: #FFFFFF;
}

.hero-wrap--light {
  background:
    radial-gradient(840px 520px at 76% 36%, rgba(10, 114, 189, 0.08), transparent 68%),
    linear-gradient(180deg, #FFFFFF 0%, #F2F5F9 100%);
  color: var(--text);
  border-bottom: 1px solid var(--divider);
}

.hero-main {
  padding-top: 44px;
  padding-bottom: 52px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 28px;
  align-items: center;
}

.hero-left {
  grid-column: span 5;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-right: 4px;
}

.hero-intro {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-muted);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.015em;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

.hero-wrap--dark .hero-eyebrow {
  background: rgba(255, 255, 255, 0.06);
  color: #C7D1DF;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
}

.hero-eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cam-dot);
  box-shadow: 0 0 0 3px rgba(59, 209, 111, 0.22);
  flex: none;
}

.hero-title {
  margin: 0;
  font-size: 48px;
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero-wrap--dark .hero-title {
  color: #FFFFFF;
}

.hero-sub {
  margin: 0;
  font-size: 19px;
  line-height: 1.48;
  font-weight: 400;
  color: var(--text-secondary);
}

.hero-wrap--dark .hero-sub {
  color: #B8C3D2;
}

.hero-scope {
  margin: -2px 0 0;
  font-size: 13.5px;
  line-height: 1.45;
  font-weight: 500;
  color: var(--text-caption);
}

.hero-wrap--dark .hero-scope {
  color: #8895A8;
}

.hero-scope a {
  color: var(--viz-link-gray);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero-wrap--dark .hero-scope a {
  color: #6DBAF2;
}

.hero-wrap--dark .hero-scope a:hover {
  color: #9BD2F9;
}

.hero-bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 16px;
  line-height: 1.44;
  font-weight: 400;
  color: var(--text-secondary);
}

.hero-wrap--dark .hero-bullets {
  color: #B8C3D2;
}

.hero-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.hero-bullets strong {
  color: var(--text);
  font-weight: 700;
}

.hero-wrap--dark .hero-bullets strong {
  color: #FFFFFF;
}

.icon-tile {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-tile);
  background: var(--viz-tint);
  color: var(--viz);
  display: grid;
  place-items: center;
  margin-top: 1px;
}

.hero-wrap--dark .icon-tile {
  background: rgba(52, 143, 214, 0.14);
  color: #5EB4F2;
  box-shadow: inset 0 0 0 1px rgba(52, 143, 214, 0.22);
}

.hero-cta-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-actions .btn {
  padding: 0 22px;
  font-size: 16px;
}

.hero-btn-trip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.hero-btn-primary {
  width: 100%;
  box-shadow: 0 10px 24px rgba(10, 114, 189, 0.24), 0 2px 6px rgba(10, 114, 189, 0.14);
}

.hero-btn-primary:hover {
  box-shadow: 0 12px 28px rgba(7, 90, 150, 0.3), 0 3px 8px rgba(7, 90, 150, 0.16);
}

/* Secondary proof card below Hero CTA -> Real Trip Player (#how) */
.hero-trip-banner {
  width: 100%;
  margin: 4px 0 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  box-shadow: 0 2px 8px rgba(21, 29, 40, 0.04);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.hero-trip-banner:hover {
  background: #FAFBFD;
  border-color: rgba(10, 114, 189, 0.42);
  color: var(--text);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(21, 29, 40, 0.07);
}

.hero-trip-banner__play {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--viz-tint);
  color: var(--viz);
  display: grid;
  place-items: center;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.hero-trip-banner:hover .hero-trip-banner__play {
  background: var(--viz);
  color: #FFFFFF;
  transform: scale(1.04);
}

.hero-trip-banner__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-trip-banner__title {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text);
}

.hero-trip-banner__meta {
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text-caption);
}

.hero-trip-banner__arrow {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--bg-muted);
  color: var(--text-secondary);
  display: grid;
  place-items: center;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.hero-trip-banner:hover .hero-trip-banner__arrow {
  background: var(--viz-tint);
  color: var(--viz);
  transform: translateY(2px);
}

/* Caring power / charger notice (in #needs) */
.hero-power-note {
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 16px;
  background: #FFF9EB;
  border: 1px solid rgba(138, 86, 0, 0.2);
}

.hero-power-note__icon {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--warn-bg);
  color: var(--warn);
  display: grid;
  place-items: center;
}

.hero-power-note__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.48;
  color: var(--text-secondary);
}

.hero-power-note__text strong {
  color: var(--warn);
  font-weight: 700;
}

.hero-micro {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--text-caption);
}

.hero-wrap--dark .hero-micro {
  color: #8895A8;
}

.hero-right {
  grid-column: 6 / span 7;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

/* Diptych top bar + GPS state toggle */
.diptych-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.diptych-bar__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.015em;
  color: #8E9BAE;
}

.hero-state-seg {
  display: inline-flex;
  padding: 3px;
  border-radius: 11px;
  background: #161C24;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  gap: 3px;
}

.hero-state-seg__btn {
  border: 0;
  background: transparent;
  color: #9AA5B4;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.hero-state-seg__btn:hover {
  color: #FFFFFF;
}

.hero-state-seg__btn.is-active {
  background: var(--viz-dark);
  color: #FFFFFF;
}

.hero-state-seg__btn[data-hero-state="jammed"].is-active {
  background: var(--jam);
  color: #FFFFFF;
}

/* Diptych stage: Camera v2 phone → bridge → Result map card */
.diptych-stage {
  display: grid;
  grid-template-columns: minmax(0, 314px) 54px minmax(0, 1fr);
  align-items: center;
  gap: 0;
}

.hero-cam-bezel {
  padding: 8px;
  border-radius: 34px;
  background: linear-gradient(155deg, #283344, #10151C);
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.13);
  transition: box-shadow 0.3s ease;
}

.hero-cam-bezel.is-active {
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.55), inset 0 0 0 1.5px rgba(59, 209, 111, 0.65);
}

.hero-cam-phone {
  border-radius: 26px;
  overflow: hidden;
  background: #0D1117;
  display: flex;
  flex-direction: column;
}

.hcam-viewport {
  position: relative;
  height: 236px;
  background: #141921;
  overflow: hidden;
}

.hcam-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 1;
}

.hcam-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hcam-svg--overlay {
  position: relative;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 1px 1.5px rgba(13, 17, 23, 0.45));
}

@keyframes hcamLaneMove {
  0% { transform: translateY(-6px); opacity: 0.85; }
  50% { transform: translateY(6px); opacity: 1; }
  100% { transform: translateY(-6px); opacity: 0.85; }
}

@keyframes hcamDotsDrift {
  0% { transform: translateY(-2px); opacity: 0.88; }
  50% { transform: translateY(3px); opacity: 1; }
  100% { transform: translateY(-2px); opacity: 0.88; }
}

.hcam-lane-flow {
  animation: hcamLaneMove 1.8s ease-in-out infinite;
}

.hcam-flow-group {
  animation: hcamDotsDrift 1.4s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .hcam-lane-flow,
  .hcam-flow-group {
    animation: none;
  }
}

.hcam-statusbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  height: 26px;
  padding: 6px 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.86);
  background: linear-gradient(180deg, rgba(13, 17, 23, 0.68), transparent);
}

.hcam-batt {
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 9.5px;
}

.hcam-status {
  position: absolute;
  top: 30px;
  left: 10px;
  right: 10px;
  z-index: 4;
  padding: 7px 11px;
  border-radius: 13px;
  background: rgba(20, 26, 35, 0.84);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.09);
  display: flex;
  align-items: center;
  gap: 9px;
}

.hcam-status__led {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cam-dot);
  box-shadow: 0 0 0 3px rgba(59, 209, 111, 0.22);
  flex: none;
}

.hcam-status__title {
  font-size: 12px;
  font-weight: 700;
  color: #EDF1F7;
  line-height: 1.15;
}

.hcam-status__sub {
  font-size: 10px;
  font-weight: 500;
  color: #9AA5B4;
  line-height: 1.2;
}

.hcam-console {
  background: #0D1117;
  padding: 9px 9px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hcam-band {
  display: grid;
  grid-template-columns: 124px 1fr;
  gap: 8px;
  align-items: stretch;
}

.hcam-spd {
  border-radius: 15px;
  background: #161C24;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: inset 0 0 0 1.4px rgba(52, 143, 214, 0.52);
  transition: box-shadow 0.25s ease;
}

.diptych-stage[data-state="ok"] .hcam-spd {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.hcam-spd__top {
  padding: 8px 10px 6px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px;
}

.hcam-spd__num {
  font-size: 32px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--viz-dark);
  transition: color 0.25s ease;
}

.diptych-stage[data-state="ok"] .hcam-spd__num {
  color: #EDF1F7;
}

.hcam-spd__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.hcam-spd__src {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--viz-dark);
}

.diptych-stage[data-state="ok"] .hcam-spd__src {
  color: #FFB670;
}

.hcam-spd__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--viz-dark);
  display: inline-block;
}

.hcam-spd__ring {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1.6px solid #F28E30;
  display: inline-block;
  flex: none;
}

.hcam-spd__unit {
  font-size: 9.5px;
  font-weight: 600;
  color: #8A96A8;
}

.hcam-spd__bot {
  padding: 6px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: transparent;
  transition: background-color 0.25s ease;
}

.diptych-stage[data-state="ok"] .hcam-spd__bot {
  background: rgba(52, 143, 214, 0.2);
}

.hcam-spd__jam {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 600;
  color: #9AA5B4;
  white-space: nowrap;
}

.hcam-spd__okrow {
  display: none;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px;
  font-size: 13px;
  color: #EDF1F7;
}

.hcam-spd__okrow b {
  font-weight: 800;
}

.hcam-spd__okrow small {
  font-size: 9px;
  color: #9AA5B4;
}

.hcam-spd__viztag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 9.5px;
  font-weight: 800;
  color: #5EB4F2;
}

.diptych-stage[data-state="ok"] .hcam-spd__jam {
  display: none;
}

.diptych-stage[data-state="ok"] .hcam-spd__okrow {
  display: flex;
}

.hcam-qual {
  background: #161C24;
  border-radius: 15px;
  padding: 9px 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}

.hcam-qual__kicker {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7D899B;
}

.hcam-qual__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  margin-top: 2px;
}

.hcam-qual__word {
  font-size: 15px;
  font-weight: 800;
  color: #EDF1F7;
}

.hcam-qual__ratio {
  font-size: 10.5px;
  font-weight: 700;
  color: #9AA5B4;
}

.hcam-leds {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 3px;
}

.hcam-led {
  height: 9px;
  border-radius: 2.5px;
  background: #202834;
}

.hcam-led.is-lit[data-zone="low"] { background: #E05252; }
.hcam-led.is-lit[data-zone="mid"] { background: #E5A93B; }
.hcam-led.is-lit[data-zone="good"] { background: #3BD16F; }

.hcam-strip {
  background: #161C24;
  border-radius: 13px;
  padding: 7px 2px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.hcam-strip__col {
  padding: 0 7px;
  position: relative;
  min-width: 0;
}

.hcam-strip__col + .hcam-strip__col::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 1px;
  background: rgba(255, 255, 255, 0.07);
}

.hcam-strip__val {
  font-size: 12px;
  font-weight: 800;
  color: #EDF1F7;
  line-height: 1.15;
  white-space: nowrap;
}

.hcam-strip__val small {
  font-size: 8.5px;
  font-weight: 600;
  color: #7D899B;
  margin-left: 2px;
}

.hcam-strip__val .is-ok {
  color: #5BD48F;
  font-weight: 800;
}

.hcam-strip__lbl {
  font-size: 9.5px;
  font-weight: 500;
  color: #8A96A8;
  margin-top: 2px;
}

.hcam-dock {
  background: rgba(22, 28, 36, 0.94);
  border-radius: 15px;
  padding: 3px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}

.hcam-dock__tab {
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 700;
  color: #8A96A8;
}

.hcam-dock__tab.is-active {
  background: var(--viz-dark);
  color: #FFFFFF;
}

.hcam-dock__cam {
  position: relative;
  display: inline-flex;
}

.hcam-dock__led {
  position: absolute;
  top: -2px;
  right: -3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cam-dot);
  box-shadow: 0 0 0 1.5px var(--viz-dark);
}

/* Flow bridge between Camera and Result Map */
.diptych-bridge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 4px;
}

.diptych-bridge__icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #161C24;
  color: #5EB4F2;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(52, 143, 214, 0.32);
}

.diptych-bridge__txt {
  font-size: 10px;
  line-height: 1.2;
  font-weight: 600;
  color: #7D899B;
  text-align: center;
}

/* Output Result Card (right panel of Diptych) */
.hero-output-card {
  background: #161C24;
  border-radius: 22px;
  padding: 15px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.42), inset 0 0 0 1px rgba(255, 255, 255, 0.09);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.hout-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.hout-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: var(--jam);
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 700;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.hout-status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FFFFFF;
  flex: none;
}

.diptych-stage[data-state="ok"] .hout-status {
  background: rgba(20, 125, 70, 0.22);
  color: #5BD48F;
  box-shadow: inset 0 0 0 1px rgba(91, 212, 143, 0.24);
}

.diptych-stage[data-state="ok"] .hout-status__dot {
  background: #5BD48F;
}

.hout-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #7D899B;
}

.hout-map {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #10151C;
}

.hout-map__svg {
  width: 100%;
  height: 154px;
  display: block;
}

.diptych-stage[data-state="jammed"] .hout-svg-ok {
  display: none;
}

.diptych-stage[data-state="ok"] .hout-svg-jammed {
  display: none;
}

.hout-map__chip {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(13, 17, 23, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  font-size: 10.5px;
  font-weight: 600;
  color: #D0D8E4;
}

.hout-modes {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.hout-mode {
  padding: 9px 11px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hout-mode--primary {
  background: rgba(52, 143, 214, 0.13);
  box-shadow: inset 0 0 0 1px rgba(52, 143, 214, 0.28);
}

.hout-mode__tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #8A96A8;
}

.hout-mode--primary .hout-mode__tag {
  color: #6DBAF2;
}

.hout-mode__val {
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
}

.hout-mode__sub {
  font-size: 11.5px;
  color: #9AA5B4;
}

.hout-foot {
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: 11.5px;
  color: #9AA5B4;
}

.hout-foot strong {
  color: #FFFFFF;
  font-weight: 700;
}

.hout-foot__link {
  color: #6DBAF2;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.hout-foot__link:hover {
  color: #9BD2F9;
}

/* 3 Camera callouts along the bottom of Hero */
.hero-cam-notes {
  margin: 36px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--divider-dark);
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.hero-cam-notes li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.hero-cam-notes__num {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(52, 143, 214, 0.14);
  color: #6DBAF2;
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-top: 2px;
}

.hero-cam-notes strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 3px;
}

.hero-cam-notes span {
  font-size: 14px;
  line-height: 1.45;
  color: #9AA5B4;
}

.hero-wrap--light .hero-eyebrow {
  background: #FFFFFF;
  color: var(--text-secondary);
  box-shadow: 0 2px 10px rgba(21, 29, 40, 0.05), inset 0 0 0 1px var(--hairline);
}

.hero-wrap--light .hero-eyebrow__dot {
  background: var(--good);
  box-shadow: 0 0 0 3px rgba(20, 125, 70, 0.18);
}

.hero-wrap--light .diptych-bar__label {
  color: var(--text-caption);
}

.hero-wrap--light .hero-state-seg {
  background: #E6EBF1;
  box-shadow: inset 0 0 0 1px rgba(27, 36, 48, 0.06);
}

.hero-wrap--light .hero-state-seg__btn {
  color: var(--text-secondary);
}

.hero-wrap--light .hero-state-seg__btn:hover {
  color: var(--text);
}

.hero-wrap--light .hero-state-seg__btn.is-active {
  background: var(--viz);
  color: #FFFFFF;
}

.hero-wrap--light .hero-state-seg__btn[data-hero-state="jammed"].is-active {
  background: var(--jam);
  color: #FFFFFF;
}

.hero-wrap--light .hero-cam-bezel {
  background: linear-gradient(155deg, #2E3746, #141A23);
  box-shadow: 0 22px 48px rgba(21, 29, 40, 0.18), 0 4px 12px rgba(21, 29, 40, 0.08);
}

.hero-wrap--light .hero-cam-bezel.is-active {
  box-shadow: 0 22px 48px rgba(10, 114, 189, 0.22), 0 0 0 2px var(--viz);
}

.hero-wrap--light .hero-cam-phone {
  background: var(--bg-muted);
}

.hero-wrap--light .hcam-viewport {
  background: #485464;
}

.hero-wrap--light .hcam-statusbar {
  color: #FFFFFF;
  background: linear-gradient(180deg, rgba(21, 29, 40, 0.42), transparent);
}

.hero-wrap--light .hcam-batt {
  background: rgba(255, 255, 255, 0.24);
}

.hero-wrap--light .hcam-status {
  background: var(--surface-glass);
  box-shadow: 0 6px 18px rgba(21, 29, 40, 0.14), inset 0 0 0 1px var(--hairline);
}

.hero-wrap--light .hcam-status__led {
  background: var(--good);
  box-shadow: 0 0 0 3px rgba(20, 125, 70, 0.18);
}

.hero-wrap--light .hcam-status__title {
  color: var(--text);
}

.hero-wrap--light .hcam-status__sub {
  color: var(--text-secondary);
}

.hero-wrap--light .hcam-console {
  background: var(--bg-muted);
}

.hero-wrap--light .hcam-spd {
  background: #FFFFFF;
  box-shadow: inset 0 0 0 1.5px rgba(10, 114, 189, 0.42);
}

.hero-wrap--light .diptych-stage[data-state="ok"] .hcam-spd {
  box-shadow: inset 0 0 0 1px var(--hairline);
}

.hero-wrap--light .hcam-spd__num {
  color: var(--viz);
}

.hero-wrap--light .diptych-stage[data-state="ok"] .hcam-spd__num {
  color: var(--text);
}

.hero-wrap--light .hcam-spd__src {
  color: var(--viz);
}

.hero-wrap--light .diptych-stage[data-state="ok"] .hcam-spd__src {
  color: var(--gps-text);
}

.hero-wrap--light .hcam-spd__dot {
  background: var(--viz);
}

.hero-wrap--light .hcam-spd__ring {
  border-color: var(--gps-stroke);
}

.hero-wrap--light .hcam-spd__unit {
  color: var(--text-caption);
}

.hero-wrap--light .hcam-spd__bot {
  border-top-color: var(--divider);
}

.hero-wrap--light .diptych-stage[data-state="ok"] .hcam-spd__bot {
  background: rgba(10, 114, 189, 0.12);
}

.hero-wrap--light .hcam-spd__jam {
  color: var(--text-secondary);
}

.hero-wrap--light .hcam-spd__okrow {
  color: var(--text);
}

.hero-wrap--light .hcam-spd__okrow small {
  color: var(--text-caption);
}

.hero-wrap--light .hcam-spd__viztag {
  color: var(--viz);
}

.hero-wrap--light .hcam-qual {
  background: #FFFFFF;
}

.hero-wrap--light .hcam-qual__kicker {
  color: #788496;
}

.hero-wrap--light .hcam-qual__word {
  color: var(--text);
}

.hero-wrap--light .hcam-qual__ratio {
  color: var(--text-secondary);
}

.hero-wrap--light .hcam-led {
  background: #E2E7EE;
}

.hero-wrap--light .hcam-led.is-lit[data-zone="low"] { background: #DC4444; }
.hero-wrap--light .hcam-led.is-lit[data-zone="mid"] { background: #DF9E20; }
.hero-wrap--light .hcam-led.is-lit[data-zone="good"] { background: #1C9B58; }

.hero-wrap--light .hcam-strip {
  background: #FFFFFF;
}

.hero-wrap--light .hcam-strip__col + .hcam-strip__col::before {
  background: var(--divider);
}

.hero-wrap--light .hcam-strip__val {
  color: var(--text);
}

.hero-wrap--light .hcam-strip__val small {
  color: #788496;
}

.hero-wrap--light .hcam-strip__val .is-ok {
  color: var(--good);
}

.hero-wrap--light .hcam-strip__lbl {
  color: var(--text-secondary);
}

.hero-wrap--light .hcam-dock {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 12px rgba(21, 29, 40, 0.08), inset 0 0 0 1px var(--hairline);
}

.hero-wrap--light .hcam-dock__tab {
  color: var(--text-secondary);
}

.hero-wrap--light .hcam-dock__tab.is-active {
  background: var(--text);
  color: #FFFFFF;
}

.hero-wrap--light .hcam-dock__led {
  box-shadow: 0 0 0 1.5px var(--text);
}

.hero-wrap--light .diptych-bridge__icon {
  background: #FFFFFF;
  color: var(--viz);
  box-shadow: 0 6px 16px rgba(21, 29, 40, 0.09), inset 0 0 0 1px var(--hairline);
}

.hero-wrap--light .diptych-bridge__txt {
  color: var(--text-caption);
}

.hero-wrap--light .hero-output-card {
  background: #FFFFFF;
  box-shadow: 0 18px 40px rgba(21, 29, 40, 0.09), inset 0 0 0 1px var(--hairline);
}

.hero-wrap--light .diptych-stage[data-state="ok"] .hout-status {
  background: var(--good-bg);
  color: var(--good);
  box-shadow: none;
}

.hero-wrap--light .diptych-stage[data-state="ok"] .hout-status__dot {
  background: var(--good);
}

.hero-wrap--light .hout-kicker {
  color: #788496;
}

.hero-wrap--light .hout-map {
  border-color: var(--divider);
  background: var(--map-bg);
}

.hero-wrap--light .hout-map__chip {
  background: var(--surface-glass);
  box-shadow: 0 4px 12px rgba(21, 29, 40, 0.1), inset 0 0 0 1px var(--hairline);
  color: var(--text);
}

.hero-wrap--light .hout-mode {
  background: var(--bg-muted);
  box-shadow: none;
}

.hero-wrap--light .hout-mode--primary {
  background: var(--viz-tint);
  box-shadow: inset 0 0 0 1px rgba(10, 114, 189, 0.22);
}

.hero-wrap--light .hout-mode__tag {
  color: var(--text-caption);
}

.hero-wrap--light .hout-mode--primary .hout-mode__tag {
  color: var(--viz);
}

.hero-wrap--light .hout-mode__val {
  color: var(--text);
}

.hero-wrap--light .hout-mode__sub {
  color: var(--text-secondary);
}

.hero-wrap--light .hout-foot {
  border-top-color: var(--divider);
  color: var(--text-secondary);
}

.hero-wrap--light .hout-foot strong {
  color: var(--text);
}

.hero-wrap--light .hout-foot__link {
  color: var(--viz);
}

.hero-wrap--light .hout-foot__link:hover {
  color: var(--viz-hover);
}

.hero-wrap--light .hero-cam-notes {
  border-top-color: var(--divider);
}

.hero-wrap--light .hero-cam-notes__num {
  background: var(--viz-tint);
  color: var(--viz);
}

.hero-wrap--light .hero-cam-notes strong {
  color: var(--text);
}

.hero-wrap--light .hero-cam-notes span {
  color: var(--text-secondary);
}

/* ==========================================================================
   3 · Запис поїздки (#how) — перемикач поїздок + карта-програвач + бокова панель
   ========================================================================== */
.trip-switcher {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.trip-tab {
  text-align: left;
  font-family: inherit;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  touch-action: manipulation;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, transform 0.15s ease;
}

.trip-tab:hover {
  border-color: rgba(10, 114, 189, 0.35);
  box-shadow: 0 6px 18px rgba(21, 29, 40, 0.06);
}

.trip-tab.is-active {
  border-color: var(--viz);
  box-shadow: 0 8px 22px rgba(10, 114, 189, 0.12), inset 0 0 0 1px rgba(10, 114, 189, 0.14);
}

.trip-tab__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.trip-tab__badge {
  display: inline-flex;
  align-items: center;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
}

.trip-tab__badge--jam {
  background: rgba(198, 40, 40, 0.1);
  color: #B71C1C;
}

.trip-tab__badge--cam {
  background: var(--viz-tint);
  color: var(--viz);
}

.trip-tab__delta {
  font-size: 13px;
  font-weight: 800;
  color: var(--viz);
  white-space: nowrap;
}

.trip-tab__title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--text);
  line-height: 1.25;
}

.trip-tab__sub {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.38;
}

.demo-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.demo-player {
  grid-column: span 8;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.demo-aside {
  grid-column: 9 / span 4;
  display: flex;
  min-width: 0;
}

.demo-panel {
  width: 100%;
  background: var(--bg);
  border-radius: var(--radius-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.demo-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.demo-panel__kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-caption);
}

.demo-legend {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.demo-legend__row {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 15px;
  line-height: 1.35;
}

.demo-legend__row svg {
  flex: none;
  margin-top: 2px;
}

.demo-legend__sub {
  display: block;
  margin-top: 2px;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.demo-legend__row[hidden] {
  display: none;
}

.demo-legend__row.is-muted {
  opacity: 0.48;
}

.map-legend__net {
  color: #6D28D9;
}

.demo-speeds {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--divider);
}

.demo-speed-box {
  background: var(--viz-tint);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.demo-speed-box--ref {
  background: var(--bg-muted);
}

.demo-speed-box__lbl {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-secondary);
}

.demo-speed-box__val {
  font-size: 28px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--viz);
}

.demo-speed-box--ref .demo-speed-box__val {
  color: var(--text);
}

.demo-speed-box__val small {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.player-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.player-head__title {
  font-size: 15px;
  font-weight: 700;
}

.player-head__actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.reappear-pill {
  flex: none;
  background: var(--viz-tint);
  color: var(--viz);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(10, 114, 189, 0.24);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.reappear-pill:hover {
  background: var(--viz);
  color: #FFFFFF;
  border-color: var(--viz);
}

.reappear-pill[hidden] {
  display: none;
}

.speed-pill {
  flex: none;
  background: var(--bg);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.speed-pill:hover {
  background: var(--viz-soft);
  color: var(--viz);
  border-color: rgba(10, 114, 189, 0.25);
}

.track-mode-seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  background: var(--bg-muted);
  border-radius: 12px;
}

.track-mode-seg[hidden] {
  display: none;
}

.track-mode-seg__btn {
  border: 0;
  background: transparent;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 9px;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.track-mode-seg__btn.is-active {
  background: var(--bg);
  color: var(--viz);
  box-shadow: 0 1px 4px rgba(16, 24, 40, 0.08);
}

/* Camera phone frame (used in Section 2) */
.phone-frame {
  background: var(--bg-dark);
  border-radius: 26px;
  padding: 7px;
  box-shadow: 0 0 0 3px var(--border);
  transition: box-shadow 0.35s ease;
}

.phone-frame.is-active {
  box-shadow: 0 0 0 3px var(--viz);
}

.phone-frame--dark {
  background: #070A0E;
  box-shadow: 0 0 0 2px #2C343F, 0 18px 40px rgba(0, 0, 0, 0.45);
}

.phone-frame--dark.is-active {
  box-shadow: 0 0 0 2px var(--cam-dot), 0 18px 40px rgba(0, 0, 0, 0.45);
}

.phone-frame__screen {
  position: relative;
}

.phone-frame__img {
  width: 100%;
  height: auto;
  border-radius: 19px;
}

.callout-badge {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 2px var(--cam-dot);
  pointer-events: none;
}

.callout-badge--1 { left: 46%; top: 47%; }
.callout-badge--2 { left: 72%; top: 32%; }
.callout-badge--3 { left: 24%; top: 84%; }

/* Trip Map Player Card */
.map-card {
  flex: 1;
  min-width: 0;
  border: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--bg);
  box-shadow: 0 2px 14px rgba(16, 24, 40, 0.06);
}

.map-viewport {
  position: relative;
  background: var(--map-bg);
  overflow: hidden;
}

.trip-map-svg {
  width: 100%;
  height: 410px;
}

.gps-status-chip {
  position: absolute;
  top: 12px;
  left: 12px;
  height: 36px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text);
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.12), inset 0 0 0 1px var(--hairline);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  pointer-events: none;
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.gps-status-chip__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--good);
  flex: none;
}

.gps-status-chip.is-jammed {
  background: rgba(198, 40, 40, 0.92);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(198, 40, 40, 0.26), inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.gps-status-chip.is-jammed .gps-status-chip__dot {
  background: #FFFFFF;
}

.map-attrib {
  position: absolute;
  right: 8px;
  bottom: 6px;
  background: rgba(255, 255, 255, 0.80);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  pointer-events: none;
}

.map-expand-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  height: 36px;
  padding: 0 13px;
  border: 0;
  border-radius: 12px;
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.12), inset 0 0 0 1px var(--hairline);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}

.map-expand-btn:hover {
  background: rgba(255, 255, 255, 0.98);
}

.delta-chip {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 14px;
  padding: 8px 12px;
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.12), inset 0 0 0 1px var(--hairline);
  max-width: 220px;
}

.delta-chip__val {
  font-size: 22px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.delta-chip__sub {
  font-size: 13px;
  line-height: 1.3;
  font-weight: 500;
  color: var(--text-secondary);
}

.hint-bar {
  position: relative;
  height: 50px;
  background: var(--bg-muted);
  font-size: 14.5px;
  line-height: 1.3;
  font-weight: 600;
  overflow: hidden;
}

.hint-bar__layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 16px;
  transition: opacity 0.45s ease;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
}

.play-btn {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.play-btn:hover {
  background: #2D394A;
}

.play-btn .icon-play {
  display: none;
}

.play-btn.is-paused .icon-pause {
  display: none;
}

.play-btn.is-paused .icon-play {
  display: block;
}

.timeline-slider {
  flex: 1;
  min-width: 0;
  accent-color: var(--viz);
  height: 24px;
  cursor: pointer;
}

.player-clock {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.hero-legend-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  font-size: 14px;
  font-weight: 500;
}

.map-legend__row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.map-legend__viz {
  font-weight: 700;
  color: var(--viz);
}

.map-legend__gps {
  font-weight: 700;
  color: var(--gps-text);
}

.trip-meta {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-caption);
  white-space: nowrap;
}

.demo-honest-note {
  margin: 0;
  padding: 11px 13px;
  border-radius: 14px;
  background: #FFF9EB;
  border: 1px solid rgba(138, 86, 0, 0.18);
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.46;
  font-weight: 500;
}

.demo-honest-note strong {
  color: var(--warn-text);
  font-weight: 700;
}

.dual-arrow-note {
  margin: auto 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--bg-muted);
  color: var(--text-secondary);
  font-size: 13.5px;
  line-height: 1.48;
  font-weight: 500;
}

/* «Як це працює» Strip */
.how-strip {
  padding-top: 8px;
  padding-bottom: 64px;
}

.how-strip__inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.steps-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.step-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 2px solid transparent;
  background: var(--bg);
  text-align: left;
  cursor: pointer;
  color: inherit;
  transition: background-color 0.35s ease, border-color 0.35s ease;
}

.step-card:hover {
  border-color: #B9C2CE;
}

.step-card.is-active {
  border-color: var(--viz);
  background: var(--viz-tint);
}

.step-card[data-step="gps"].is-active {
  border-color: var(--jam);
  background: var(--jam-bg);
}

.step-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.step-card__speed {
  font-size: 22px;
  font-weight: 800;
  color: var(--viz);
  white-space: nowrap;
}

.step-card__speed-unit {
  font-size: 13px;
  font-weight: 600;
}

.step-card__title {
  font-size: 18px;
  font-weight: 700;
}

.step-card__desc {
  font-size: 14.5px;
  line-height: 1.42;
  font-weight: 500;
  color: var(--text-secondary);
}

.step-card__mobile-text {
  display: none;
}

.step-arrow {
  align-self: center;
  flex: none;
}

.how-strip__summary {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
}

/* ==========================================================================
   Expanded Fullscreen Map Dialog
   ========================================================================== */
.map-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(27, 36, 48, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.map-modal[hidden] {
  display: none;
}

.map-modal__panel {
  width: 100%;
  max-width: 1360px;
  max-height: calc(100vh - 48px);
  background: var(--bg);
  border-radius: 20px;
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 20px 50px rgba(14, 18, 23, 0.28);
}

.map-modal__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.map-modal__titles {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.map-modal__title {
  font-size: 20px;
  font-weight: 700;
}

.map-modal__sub {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

.map-modal__close {
  flex: none;
  height: 44px;
  padding: 0 16px;
  border: 2px solid var(--text);
  border-radius: 12px;
  background: #FFFFFF;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
}

.map-modal__close:hover {
  background: var(--bg-muted);
}

.map-modal__viewport {
  position: relative;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  overflow: hidden;
  background: var(--map-bg);
  flex: 1;
  min-height: 360px;
}

.trip-map-svg--full {
  width: 100%;
  height: min(68vh, 660px);
}

.map-modal__controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ==========================================================================
   2 · Два режими роботи (#modes — на білому фоні, картки canvas)
   ========================================================================== */
.modes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.mode-card {
  background: var(--bg-muted);
  border-radius: var(--radius-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mode-card--primary {
  box-shadow: inset 0 0 0 1.5px rgba(10, 114, 189, 0.24);
}

.mode-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.mode-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.mode-badge--online {
  background: var(--viz-tint);
  color: var(--viz);
}

.mode-badge--offline {
  background: var(--bg);
  color: var(--text);
}

.mode-card__tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-caption);
}

.mode-card__title {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.mode-card__lead {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.52;
  color: var(--text-secondary);
}

.mode-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
}

.mode-card__list li {
  position: relative;
  padding: 12px 0 12px 20px;
  font-size: 15.5px;
  line-height: 1.48;
  font-weight: 500;
  color: var(--text);
  border-top: 1px solid var(--divider);
}

.mode-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 21px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--viz);
}

.mode-card__note {
  margin: auto 0 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--bg);
  font-size: 14px;
  line-height: 1.48;
  color: var(--text-secondary);
}

.mode-card__note strong {
  color: var(--text);
  font-weight: 700;
}

/* ==========================================================================
   2 · Камера міряє швидкість
   ========================================================================== */
.camera-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  align-items: center;
}

.camera-visual {
  grid-column: span 7;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.camera-showcase {
  margin: 0;
  padding: 28px;
  border-radius: var(--radius-card);
  background: var(--bg-dark-surface);
  border: 0;
  display: flex;
  align-items: center;
  gap: 28px;
}

.camera-showcase .phone-frame {
  flex: none;
  width: 244px;
}

.camera-showcase__caption {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.camera-showcase__title {
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
}

.camera-showcase__list {
  margin: 0;
  padding: 0 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 16px;
  line-height: 1.48;
  font-weight: 400;
  color: var(--text-dark-muted);
}

.camera-showcase__list strong {
  color: #FFFFFF;
  font-weight: 600;
}

.camera-caption {
  margin: 0;
  font-size: 18px;
  line-height: 1.52;
  font-weight: 400;
  color: var(--text-dark-muted);
}

.camera-info {
  grid-column: 8 / span 5;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-left: 24px;
}

.camera-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.speed-readout {
  display: flex;
  gap: 40px;
  align-items: flex-end;
}

.speed-readout__label {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-dark-muted);
}

.speed-readout__val {
  font-size: 112px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #FFFFFF;
}

.speed-readout__val--obd {
  color: var(--text-dark-muted);
}

.speed-readout__divider {
  width: 1px;
  align-self: stretch;
  background: var(--divider-dark);
}

.speed-readout__unit {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-dark-muted);
  padding-bottom: 12px;
}

/* ==========================================================================
   3 · Три питання — три числа
   ========================================================================== */
.stack-48 {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.stack-40 {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.metric-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--bg);
}

.metric-card__title {
  margin: 0;
  font-size: 21px;
  line-height: 1.25;
  font-weight: 700;
}

.metric-card__stat {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
}

.metric-card__big {
  font-size: 50px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.metric-card__sub {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
}

.metric-card__chart {
  width: 100%;
  margin-top: auto;
}

.metric-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  border-top: 1px solid var(--divider);
  padding-top: 14px;
}

.metric-card__meta {
  color: var(--text-caption);
}

.metric-card__link {
  white-space: nowrap;
}

/* ==========================================================================
   5 · Чого Viz поки не вміє
   ========================================================================== */
.limits-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  align-items: start;
}

.limits-head {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.update-pill {
  align-self: flex-start;
  margin-top: 8px;
  background: var(--bg-muted);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
}

.limits-list {
  grid-column: 6 / span 7;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 19px;
  line-height: 1.42;
  font-weight: 500;
}

.limits-list li {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--divider);
}

.limits-list li:last-child {
  border-bottom: 1px solid var(--divider);
}

.warn-tile {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-tile);
  background: var(--warn-bg);
  display: grid;
  place-items: center;
}

/* Streamlined 3-card Limits layout */
.limits-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.limit-card {
  background: var(--bg-muted);
  border-radius: var(--radius-card);
  padding: 26px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.limit-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.limit-card__icon {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-tile);
  background: var(--warn-bg);
  color: var(--warn);
  display: grid;
  place-items: center;
}

.limit-card__title {
  margin: 0;
  font-size: 19px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--text);
}

.limit-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15.5px;
  line-height: 1.48;
  color: var(--text-secondary);
}

.limit-card__list li {
  position: relative;
  padding-left: 16px;
}

.limit-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #C48B22;
}

.limit-card__list strong {
  color: var(--text);
  font-weight: 700;
}

.limit-card__tip {
  margin: auto 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--divider);
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-caption);
}

.limit-card__tip strong {
  color: var(--text);
  font-weight: 700;
}

.limits-reassure {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 820px;
}

.limits-reassure a {
  color: var(--viz-link-gray);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ==========================================================================
   6 · Порівняння
   ========================================================================== */
.compare-table-wrap {
  background: var(--bg);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 18px;
  font-weight: 500;
  text-align: left;
}

.compare-table thead tr {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-caption);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.compare-table th {
  padding: 20px 24px;
}

.compare-table th:first-child {
  padding: 20px 32px;
  width: 50%;
}

.compare-table tbody tr {
  border-top: 1px solid var(--divider);
}

.compare-table td {
  padding: 22px 24px;
}

.compare-table td:first-child {
  padding: 22px 32px;
}

.compare-table .is-muted {
  color: var(--text-caption);
}

.compare-table__viz-row {
  background: var(--viz-tint);
  font-weight: 700;
}

.viz-badge {
  display: inline-block;
  background: var(--viz);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.viz-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.compare-cards {
  display: none;
  flex-direction: column;
  gap: 12px;
}

.compare-card {
  background: var(--bg);
  border: 0;
  border-radius: 16px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
}

.compare-card--viz {
  background: var(--viz-tint);
  border: 0;
  box-shadow: inset 0 0 0 1.5px var(--viz);
  font-weight: 600;
}

.compare-card h3 {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 700;
}

.compare-card--viz h3 {
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.compare-card__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.compare-card__k {
  color: var(--text-secondary);
}

.compare-note {
  margin: 0;
  padding: 20px 24px;
  border-radius: 16px;
  background: var(--bg);
  border: 0;
  border-left: 4px solid var(--viz);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.compare-note strong {
  color: var(--text);
  font-weight: 700;
}

/* ==========================================================================
   7 · Що потрібно
   ========================================================================== */
.needs-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.need-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--bg);
}

.need-card--optional {
  border-style: dashed;
  border-color: var(--border-dashed);
}

.need-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.optional-pill {
  background: var(--bg-muted);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.need-card h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.need-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.48;
  font-weight: 400;
  color: var(--text-secondary);
}

/* ==========================================================================
   8 · Приватність
   ========================================================================== */
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  align-items: center;
}

.privacy-copy {
  grid-column: span 5;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 19px;
  line-height: 1.42;
  font-weight: 500;
}

.check-list li {
  display: flex;
  gap: 12px;
}

.check-list svg {
  flex: none;
  margin-top: 2px;
}

.privacy-screens {
  grid-column: 7 / span 6;
  display: flex;
  align-items: center;
  gap: 16px;
}

.screen-fig {
  margin: 0;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.screen-mock {
  background: var(--bg);
  border: 0;
  border-radius: 24px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 420px;
}

.screen-mock__bar {
  font-size: 19px;
  font-weight: 700;
}

.screen-mock__sub {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-caption);
}

.net-table {
  display: grid;
  grid-template-columns: 1fr auto auto;
  column-gap: 12px;
  row-gap: 12px;
  font-size: 14px;
  font-weight: 500;
  align-items: baseline;
}

.net-table__h {
  color: var(--text-caption);
  font-size: 12px;
}

.net-table__total {
  font-weight: 700;
  border-top: 1px solid var(--divider);
  padding-top: 10px;
}

.sum-highlight {
  background: var(--good-bg);
  padding: 2px 6px;
  border-radius: 6px;
}

.android-app-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--divider);
}

.android-app-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex: none;
  overflow: hidden;
}

.android-app-icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.android-app-name {
  font-size: 16px;
  font-weight: 700;
}

.traffic-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
}

.traffic-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.traffic-row__k {
  color: var(--text-secondary);
}

.traffic-row--total {
  border-top: 1px solid var(--divider);
  padding-top: 10px;
  font-weight: 700;
}

.screen-fig figcaption {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-align: center;
}

.equals-badge {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg);
  border: 0;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 36px;
}

/* ==========================================================================
   9–10 · Ціна і Живий журнал
   ========================================================================== */
.price-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  text-align: center;
}

.price-headline {
  margin: 0;
  font-size: 46px;
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.025em;
  max-width: 1000px;
}

.price-lead {
  max-width: 720px;
}

.price-meta {
  margin: -20px 0 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-caption);
}

.live-log {
  width: 100%;
  margin-top: 24px;
  background: var(--bg-muted);
  border-radius: 16px;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 17px;
  font-weight: 500;
  text-align: left;
}

.live-log__head {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex: none;
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--good);
  flex: none;
}

.live-log__text {
  color: var(--text-secondary);
  flex: 1;
}

.live-log__link {
  font-weight: 700;
  color: var(--viz-link-gray);
  white-space: nowrap;
}

/* ==========================================================================
   11 · FAQ
   ========================================================================== */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  align-items: start;
}

.faq-title {
  grid-column: span 4;
}

.faq-list {
  grid-column: 6 / span 7;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg);
  border-radius: 16px;
  padding: 22px 28px;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 19px;
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-plus {
  flex: none;
  color: var(--text-secondary);
  font-size: 22px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-plus {
  transform: rotate(45deg);
}

.faq-answer {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--divider);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  color: var(--text-secondary);
}

/* ==========================================================================
   12 · Футер
   ========================================================================== */
.site-footer {
  padding: 56px 0 40px;
  border-top: 1px solid var(--divider);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-brand__logo {
  display: block;
  flex: none;
}

.footer-brand__name {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.footer-brand__desc {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-caption);
  border-top: 1px solid var(--divider);
  padding-top: 24px;
}

.footer-bottom__right {
  display: flex;
  gap: 28px;
}

.footer-bottom__right a {
  color: var(--text-secondary);
}

/* ==========================================================================
   8b · Інтерфейс додатку v2 (День / Ніч)
   ========================================================================== */
.v2-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 28px;
  align-items: center;
}

.v2-copy {
  grid-column: span 6;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.v2-copy .lead {
  color: var(--text-dark-muted);
}

.v2-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.v2-seg {
  display: inline-flex;
  align-items: center;
  background: #161C24;
  border-radius: 12px;
  padding: 4px;
  gap: 4px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.075);
}

.v2-seg__btn {
  border: 0;
  background: transparent;
  color: #9AA5B4;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 9px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.v2-seg__btn:hover {
  color: #FFFFFF;
}

.v2-seg__btn.is-active {
  background: var(--viz-dark);
  color: #FFFFFF;
  font-weight: 700;
}

.v2-toggle-hint {
  font-size: 13px;
  font-weight: 500;
  color: #6E7B8C;
}

.v2-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  background: var(--bg-dark-surface);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.v2-points li {
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 15px;
  line-height: 1.48;
  color: var(--text-dark-muted);
}

.v2-points li + li {
  border-top: 1px solid var(--divider-dark);
}

.v2-points strong {
  color: #EDF1F7;
  font-size: 16px;
  font-weight: 700;
}

.v2-stage {
  grid-column: 7 / span 6;
  display: flex;
  justify-content: center;
}

/* Phone preview matching app-design/prototype.html v2 */
.v2-phone-bezel {
  background: #171B22;
  padding: 9px;
  border-radius: 40px;
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.62), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  width: 100%;
  max-width: 344px;
}

.v2-phone {
  /* Day palette (default tokens, overridden by [data-theme="night"]) */
  --p-canvas: #EFF2F5;
  --p-surface: #FFFFFF;
  --p-surface-soft: #F4F6F9;
  --p-glass: rgba(255, 255, 255, 0.90);
  --p-glass-muted: rgba(246, 248, 251, 0.80);
  --p-hairline: rgba(27, 36, 48, 0.08);
  --p-divider: rgba(27, 36, 48, 0.07);
  --p-ink: #151D28;
  --p-ink-muted: #525D6D;
  --p-ink-subtle: #788496;
  --p-primary: #0A72BD;
  --p-primary-soft: rgba(10, 114, 189, 0.11);
  --p-gps: #E2700A;
  --p-gps-text: #A84C00;
  --p-ok: #147D46;
  --p-ok-soft: rgba(20, 125, 70, 0.13);
  --p-map-bg: #EFECE4;
  --p-shadow: 0 8px 22px rgba(16, 24, 40, 0.14), 0 1px 3px rgba(16, 24, 40, 0.06);
  --p-spd-bg: linear-gradient(165deg, rgba(255, 255, 255, 0.74) 0%, rgba(244, 247, 251, 0.62) 100%);
  --p-spd-rim: rgba(255, 255, 255, 0.72);
  --p-spd-edge: rgba(27, 36, 48, 0.12);
  --p-spd-calc: rgba(10, 114, 189, 0.14);
  --p-dock-bg: rgba(255, 255, 255, 0.94);
  --p-dock-active-bg: #151D28;
  --p-dock-active-fg: #FFFFFF;
  --p-top-scrim: linear-gradient(180deg, rgba(239, 236, 228, 0.86) 0%, rgba(239, 236, 228, 0) 100%);
  --p-bottom-scrim: linear-gradient(0deg, rgba(239, 236, 228, 0.84) 0%, rgba(239, 236, 228, 0) 100%);

  position: relative;
  width: 100%;
  aspect-ratio: 326 / 610;
  border-radius: 31px;
  overflow: hidden;
  background: var(--p-map-bg);
  color: var(--p-ink);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.v2-phone[data-theme="night"] {
  --p-canvas: #0D1117;
  --p-surface: #161C24;
  --p-surface-soft: #1E2631;
  --p-glass: rgba(20, 26, 35, 0.88);
  --p-glass-muted: rgba(20, 26, 35, 0.70);
  --p-hairline: rgba(255, 255, 255, 0.075);
  --p-divider: rgba(255, 255, 255, 0.065);
  --p-ink: #EDF1F7;
  --p-ink-muted: #9AA5B4;
  --p-ink-subtle: #6E7B8C;
  --p-primary: #348FD6;
  --p-primary-soft: rgba(52, 143, 214, 0.17);
  --p-gps: #F28E30;
  --p-gps-text: #FFB670;
  --p-ok: #5BD48F;
  --p-ok-soft: rgba(91, 212, 143, 0.15);
  --p-map-bg: #10151C;
  --p-shadow: 0 10px 26px rgba(0, 0, 0, 0.48), 0 1px 2px rgba(0, 0, 0, 0.32);
  --p-spd-bg: linear-gradient(165deg, rgba(28, 36, 48, 0.66) 0%, rgba(16, 22, 30, 0.56) 100%);
  --p-spd-rim: rgba(255, 255, 255, 0.18);
  --p-spd-edge: rgba(255, 255, 255, 0.11);
  --p-spd-calc: rgba(52, 143, 214, 0.22);
  --p-dock-bg: rgba(22, 28, 36, 0.94);
  --p-dock-active-bg: #348FD6;
  --p-dock-active-fg: #FFFFFF;
  --p-top-scrim: linear-gradient(180deg, rgba(16, 21, 28, 0.88) 0%, rgba(16, 21, 28, 0) 100%);
  --p-bottom-scrim: linear-gradient(0deg, rgba(16, 21, 28, 0.88) 0%, rgba(16, 21, 28, 0) 100%);
}

.v2-map-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.v2-phone .vm-park { fill: #D4E8C5; transition: fill 0.25s ease; }
.v2-phone .vm-water { fill: #B4DAF0; transition: fill 0.25s ease; }
.v2-phone .vm-bldg { fill: #E4DFD4; stroke: #D8D2C5; stroke-width: 0.5; transition: fill 0.25s ease, stroke 0.25s ease; }
.v2-phone .vm-rd-c { stroke: #D4CEBF; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.v2-phone .vm-rd { stroke: #FFFFFF; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.v2-phone .vm-maj-c { stroke: #DCBA5F; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.v2-phone .vm-maj { stroke: #FFE69C; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.v2-phone .vm-city { fill: #1D2736; font-size: 14px; font-weight: 700; paint-order: stroke; stroke: rgba(255, 255, 255, 0.9); stroke-width: 3.5px; }
.v2-phone .vm-st { fill: #5E594D; font-size: 9px; font-weight: 600; paint-order: stroke; stroke: rgba(255, 255, 255, 0.88); stroke-width: 2.2px; }

.v2-phone[data-theme="night"] .vm-park { fill: #15251E; }
.v2-phone[data-theme="night"] .vm-water { fill: #112233; }
.v2-phone[data-theme="night"] .vm-bldg { fill: #181F29; stroke: #202A37; }
.v2-phone[data-theme="night"] .vm-rd-c { stroke: #0A0E14; }
.v2-phone[data-theme="night"] .vm-rd { stroke: #252E3C; }
.v2-phone[data-theme="night"] .vm-maj-c { stroke: #2B2418; }
.v2-phone[data-theme="night"] .vm-maj { stroke: #4D4025; }
.v2-phone[data-theme="night"] .vm-city { fill: #CFD8E4; stroke: rgba(16, 21, 28, 0.94); }
.v2-phone[data-theme="night"] .vm-st { fill: #6F7C8E; stroke: rgba(16, 21, 28, 0.92); }

.v2-phone__scrim-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 44px;
  background: var(--p-top-scrim);
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 18px 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--p-ink);
}

.v2-phone__batt {
  font-size: 9.5px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 5px;
  background: #147D46;
  color: #FFFFFF;
}

.v2-phone__scrim-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 92px;
  background: var(--p-bottom-scrim);
  pointer-events: none;
  z-index: 4;
}

.v2-hud-top {
  position: absolute;
  top: 34px;
  left: 10px;
  right: 10px;
  z-index: 8;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.v2-status-card {
  height: 48px;
  border-radius: 15px;
  padding: 0 7px 0 12px;
  background: var(--p-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--p-shadow), inset 0 0 0 1px var(--p-hairline);
  display: flex;
  align-items: center;
  gap: 9px;
}

.v2-status-led {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--p-ok);
  box-shadow: 0 0 0 3px var(--p-ok-soft);
  flex: none;
}

.v2-status-copy {
  flex: 1;
  min-width: 0;
}

.v2-status-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.v2-status-sub {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--p-ink-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.v2-gps-tile {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--p-ok-soft);
  color: var(--p-ok);
  display: grid;
  place-items: center;
  flex: none;
}

.v2-route-strip {
  display: flex;
  align-items: center;
  gap: 6px;
}

.v2-start-pill {
  flex: 1;
  min-width: 0;
  height: 32px;
  border-radius: 11px;
  padding: 0 9px;
  background: var(--p-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12), inset 0 0 0 1px var(--p-hairline);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
}

.v2-start-pill__tag {
  color: var(--p-ink-subtle);
  font-weight: 600;
  flex: none;
}

.v2-start-pill__val {
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.v2-dest-pill {
  height: 32px;
  padding: 0 11px;
  border-radius: 11px;
  background: var(--p-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12), inset 0 0 0 1px var(--p-hairline);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--p-primary);
  flex: none;
}

.v2-compass {
  position: absolute;
  right: 10px;
  top: 132px;
  z-index: 8;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--p-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--p-shadow), inset 0 0 0 1px var(--p-hairline);
  display: grid;
  place-items: center;
}

.v2-follow {
  position: absolute;
  right: 10px;
  bottom: 84px;
  z-index: 8;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--p-primary);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(10, 114, 189, 0.36);
  display: grid;
  place-items: center;
}

/* Signature rectangular glass speedometer */
.v2-spd {
  position: absolute;
  left: 10px;
  bottom: 84px;
  z-index: 8;
  width: 130px;
  border-radius: 16px;
  background: var(--p-spd-bg);
  backdrop-filter: blur(14px) saturate(145%);
  -webkit-backdrop-filter: blur(14px) saturate(145%);
  box-shadow: var(--p-shadow), inset 0 1px 0 var(--p-spd-rim), inset 0 0 0 1px var(--p-spd-edge);
  overflow: hidden;
}

.v2-spd__top {
  padding: 8px 10px 6px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px;
}

.v2-spd__num {
  font-size: 32px;
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.04em;
  color: var(--p-ink);
}

.v2-spd__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.v2-spd__src {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--p-gps-text);
  line-height: 1;
}

.v2-spd__ring {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  border: 1.8px solid var(--p-gps);
}

.v2-spd__unit {
  font-size: 9.5px;
  font-weight: 600;
  color: var(--p-ink-muted);
  line-height: 1;
}

.v2-spd__bot {
  padding: 5px 10px 7px;
  border-top: 1px solid var(--p-divider);
  background: var(--p-spd-calc);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.v2-spd__calc {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--p-ink);
}

.v2-spd__calc-u {
  font-size: 9px;
  font-weight: 600;
  color: var(--p-ink-muted);
  margin-left: 3px;
}

.v2-spd__viz {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--p-primary);
}

.v2-spd__dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--p-primary);
}

.v2-osm-row {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 62px;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  font-weight: 600;
  color: var(--p-ink-muted);
}

.v2-scale-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 1.5px 5px;
  border-radius: 5px;
  background: var(--p-glass-muted);
  color: var(--p-ink);
}

.v2-scale-bar {
  width: 34px;
  height: 4px;
  border-left: 1.4px solid var(--p-ink);
  border-right: 1.4px solid var(--p-ink);
  border-bottom: 1.4px solid var(--p-ink);
}

.v2-osm-chip {
  padding: 1.5px 5px;
  border-radius: 5px;
  background: var(--p-glass-muted);
}

/* Floating Dock Island */
.v2-dock {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 12px;
  z-index: 10;
  height: 44px;
  border-radius: 17px;
  background: var(--p-dock-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.24), inset 0 0 0 1px var(--p-hairline);
  padding: 3.5px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.v2-dock__tab {
  border-radius: 13.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: var(--p-ink-muted);
}

.v2-dock__tab.is-active {
  background: var(--p-dock-active-bg);
  color: var(--p-dock-active-fg);
  font-weight: 700;
}

.v2-dock__cam-wrap {
  position: relative;
  display: inline-flex;
}

.v2-dock__led {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #3BD16F;
  box-shadow: 0 0 0 1.5px var(--p-dock-bg);
}

/* ==========================================================================
   Footer Developer & Telegram Row
   ========================================================================== */
.footer-dev {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 18px 22px;
  border-radius: 16px;
  background: var(--bg-muted);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-secondary);
}

.footer-dev__author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 600;
}

.footer-dev__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
}

.footer-dev__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  color: var(--viz-link-gray);
  text-decoration: none;
}

.footer-dev__link:hover {
  color: var(--viz-hover);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ==========================================================================
   Standalone Privacy Policy Page (/privacy/)
   ========================================================================== */
.privacy-doc-wrap {
  background: var(--bg-muted);
  padding: 56px 0 88px;
}

.privacy-doc {
  max-width: 820px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.privacy-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--viz-link-gray);
  text-decoration: none;
  align-self: flex-start;
}

.privacy-back:hover {
  color: var(--viz-hover);
}

.privacy-doc__head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 8px;
}

.privacy-doc__title {
  margin: 0;
  font-size: 42px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.privacy-card {
  background: var(--bg);
  border-radius: var(--radius-card);
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.privacy-card h2 {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.privacy-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.58;
  color: var(--text-secondary);
}

.privacy-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
}

.privacy-card li {
  padding: 12px 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-secondary);
  border-top: 1px solid var(--divider);
}

.privacy-card li:first-child {
  border-top: 0;
  padding-top: 4px;
}

.privacy-card li strong {
  color: var(--text);
  font-weight: 700;
}

.privacy-meta-note {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-caption);
  padding-top: 6px;
}

/* ==========================================================================
   Info Modal (Prototype stub for secondary links: method, log, download)
   ========================================================================== */
.info-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(27, 36, 48, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.info-modal[hidden] {
  display: none;
}

.info-modal__panel {
  width: 100%;
  max-width: 560px;
  background: var(--bg);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 20px 50px rgba(14, 18, 23, 0.28);
}

.info-modal__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.info-modal__title {
  margin: 0;
  font-size: 23px;
  font-weight: 700;
}

.info-modal__body {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  color: var(--text-secondary);
}

/* ==========================================================================
   Responsive — Tablet / Laptop (<= 1180px)
   ========================================================================== */
@media (max-width: 1180px) {
  .brand__tag {
    display: none;
  }

  .hero-title {
    font-size: 38px;
  }

  .hero-sub {
    font-size: 17px;
  }

  .diptych-stage {
    grid-template-columns: minmax(0, 286px) 40px minmax(0, 1fr);
  }

  .hcam-band {
    grid-template-columns: 114px 1fr;
  }

  .hcam-spd__num {
    font-size: 28px;
  }

  .diptych-bridge__txt {
    display: none;
  }

  .demo-layout {
    grid-template-columns: 1fr;
  }

  .demo-player,
  .demo-aside {
    grid-column: auto;
  }

  .camera-showcase {
    padding: 20px;
    gap: 20px;
  }

  .camera-showcase .phone-frame {
    width: 200px;
  }

  .speed-readout__val {
    font-size: 84px;
  }

  .cards-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .needs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ==========================================================================
   Responsive — Mobile (<= 960px, matches Mobile.dc.html 390px layout)
   ========================================================================== */
@media (max-width: 960px) {
  :root {
    --gutter-x: 20px;
  }

  .section {
    padding-block: 56px;
  }

  .eb {
    font-size: 13px;
  }

  .h2 {
    font-size: 30px;
    line-height: 1.12;
    letter-spacing: -0.01em;
  }

  .lead {
    font-size: 17px;
  }

  .stack-48 {
    gap: 24px;
  }

  .stack-40 {
    gap: 20px;
  }

  /* Header */
  .site-header__inner {
    height: 60px;
  }

  .brand {
    gap: 8px;
  }

  .brand svg,
  .brand__logo {
    width: 26px;
    height: 26px;
  }

  .brand__name {
    font-size: 22px;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  /* Hero re-ordering via display: contents (CTA above the fold!) */
  .hero-main {
    padding-top: 24px;
    padding-bottom: 36px;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }

  .hero-left {
    display: contents;
  }

  .hero-right {
    order: 3;
    margin-top: 8px;
    gap: 12px;
  }

  .hero-intro {
    order: 1;
    gap: 10px;
  }

  .hero-eyebrow {
    font-size: 12px;
    padding: 4px 10px;
  }

  .hero-title {
    font-size: 31px;
    line-height: 1.1;
    letter-spacing: -0.015em;
  }

  .hero-sub {
    font-size: 16px;
    line-height: 1.42;
  }

  .hero-cta-block {
    order: 2;
    gap: 8px;
    margin-top: 2px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 8px;
  }

  .hero-actions .btn--primary {
    width: 100%;
    height: 50px;
    font-size: 17px;
  }

  .hero-actions .btn--secondary,
  .hero-actions .btn--secondary-dark {
    width: 100%;
    height: 46px;
    font-size: 15.5px;
  }

  .hero-micro {
    font-size: 13px;
    text-align: center;
  }

  .diptych-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .diptych-bar__label {
    font-size: 12.5px;
  }

  .hero-state-seg {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-state-seg__btn {
    text-align: center;
    padding: 8px 8px;
    font-size: 12.5px;
  }

  .diptych-stage {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 8px;
  }

  .hero-cam-bezel,
  .hero-output-card {
    width: 100%;
    max-width: 344px;
  }

  .diptych-bridge {
    flex-direction: row;
    padding: 2px 0;
    gap: 8px;
  }

  .diptych-bridge__icon svg {
    transform: rotate(90deg);
  }

  .diptych-bridge__txt {
    display: inline;
    font-size: 11.5px;
  }

  .hero-bullets {
    order: 4;
    margin-top: 8px;
    gap: 12px;
    font-size: 15px;
  }

  .hero-cam-notes {
    margin-top: 24px;
    padding-top: 20px;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-trip-banner {
    margin: 4px 0 0;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 13px;
  }

  .hero-trip-banner__play {
    width: 34px;
    height: 34px;
  }

  .hero-trip-banner__title {
    font-size: 14px;
  }

  .hero-trip-banner__meta {
    font-size: 12px;
  }

  .hero-trip-banner__arrow {
    width: 28px;
    height: 28px;
  }

  .hero-power-note {
    margin-top: 0;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
  }

  .hero-power-note__icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .hero-power-note__text {
    font-size: 13.5px;
  }

  /* 3 · Demo Trip Map Player mobile */
  .trip-switcher {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .trip-tab {
    padding: 13px 14px;
    border-radius: 15px;
  }

  .trip-tab__title {
    font-size: 15.5px;
  }

  .trip-tab__sub {
    font-size: 12.5px;
  }

  .reappear-pill {
    font-size: 11.5px;
    padding: 4px 9px;
  }

  .demo-layout {
    gap: 14px;
  }

  .demo-panel {
    padding: 18px;
    border-radius: 18px;
    gap: 14px;
  }

  .demo-speed-box__val {
    font-size: 24px;
  }

  .player-head {
    gap: 8px;
  }

  .player-head__title {
    font-size: 14px;
  }

  .speed-pill {
    font-size: 12px;
    padding: 3px 8px;
  }

  .map-card {
    border-radius: 18px;
  }

  .trip-map-svg {
    height: 256px;
  }

  .gps-status-chip {
    top: 10px;
    left: 10px;
    height: 32px;
    padding: 0 10px;
    font-size: 12px;
  }

  .map-expand-btn {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
  }

  .map-expand-btn__text {
    display: none;
  }

  .delta-chip {
    left: 10px;
    bottom: 10px;
    border-radius: 10px;
    padding: 6px 10px;
    max-width: 175px;
  }

  .delta-chip__val {
    font-size: 19px;
  }

  .delta-chip__sub {
    font-size: 12px;
  }

  .hint-bar {
    height: 54px;
    font-size: 14px;
    line-height: 1.35;
  }

  .hint-bar__layer {
    padding: 0 14px;
  }

  .player-controls {
    gap: 12px;
    padding: 10px 14px;
  }

  .player-clock {
    font-size: 13px;
  }

  .hero-legend-wrap {
    order: 5;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .map-legend {
    font-size: 13px;
    line-height: 1.35;
    gap: 6px 14px;
  }

  .map-legend__row {
    gap: 6px;
  }

  .trip-meta {
    font-size: 13px;
  }

  .hero-bullets li {
    gap: 12px;
  }

  .icon-tile {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }

  .icon-tile svg {
    width: 18px;
    height: 18px;
  }

  /* «Як це працює» mobile vertical strip */
  .how-strip {
    padding-top: 0;
    padding-bottom: 40px;
  }

  .how-strip__inner {
    gap: 8px;
  }

  .how-strip__inner .eb {
    margin-bottom: 4px;
  }

  .steps-row {
    flex-direction: column;
    gap: 8px;
  }

  .step-arrow {
    display: none;
  }

  .step-card {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 500;
  }

  .step-card__top {
    display: contents;
  }

  .step-card__top svg {
    width: 24px;
    height: 24px;
    flex: none;
    order: 1;
  }

  .step-card__title,
  .step-card__desc {
    display: none;
  }

  .step-card__mobile-text {
    display: inline;
    flex: 1;
    order: 2;
  }

  .step-card__speed {
    order: 3;
    font-size: 17px;
  }

  .step-card__speed-unit {
    font-size: 12px;
  }

  .how-strip__summary {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.45;
  }

  /* Expanded map modal mobile */
  .map-modal {
    padding: 12px;
  }

  .map-modal__panel {
    padding: 16px;
    max-height: calc(100vh - 24px);
    border-radius: 16px;
  }

  .map-modal__title {
    font-size: 17px;
  }

  .trip-map-svg--full {
    height: 56vh;
  }

  /* 1b · Modes */
  .modes-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .mode-card {
    border-radius: 18px;
    padding: 22px 20px;
    gap: 14px;
  }

  .mode-card__title {
    font-size: 20px;
  }

  .mode-card__lead {
    font-size: 15px;
  }

  .mode-card__list li {
    padding: 10px 0 10px 18px;
    font-size: 14.5px;
  }

  .mode-card__list li::before {
    top: 18px;
  }

  .mode-card__note {
    padding: 12px 14px;
    font-size: 13.5px;
  }

  /* 2 · Camera */
  .camera-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }

  .camera-info,
  .camera-visual {
    display: contents;
  }

  .camera-head {
    order: 1;
    gap: 12px;
  }

  .camera-showcase {
    order: 2;
    padding: 16px;
    border-radius: 16px;
    gap: 16px;
    align-items: flex-start;
  }

  .camera-showcase .phone-frame {
    width: 136px;
    border-radius: 20px;
    padding: 5px;
  }

  .phone-frame__img {
    border-radius: 15px;
  }

  .callout-badge {
    width: 18px;
    height: 18px;
    font-size: 11px;
  }

  .callout-badge--1 { left: 44%; top: 46%; }
  .callout-badge--2 { left: 70%; top: 31%; }
  .callout-badge--3 { left: 24%; top: 84%; }

  .camera-showcase__title {
    font-size: 16px;
  }

  .camera-showcase__list {
    gap: 8px;
    font-size: 13px;
    padding-left: 16px;
  }

  .speed-readout {
    order: 3;
    gap: 24px;
  }

  .speed-readout__label {
    font-size: 15px;
  }

  .speed-readout__val {
    font-size: 72px;
  }

  .speed-readout__unit {
    font-size: 15px;
    padding-bottom: 8px;
  }

  .camera-caption {
    order: 4;
    font-size: 17px;
  }

  /* 3 · Three questions */
  .cards-3 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .metric-card {
    border-radius: 18px;
    padding: 20px;
    gap: 12px;
  }

  .metric-card__title {
    font-size: 19px;
  }

  .metric-card__big {
    font-size: 40px;
  }

  .metric-card__sub {
    font-size: 15px;
  }

  .metric-card__foot {
    font-size: 14px;
    padding-top: 12px;
  }

  /* 5 · Limits */
  .limits-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .update-pill {
    margin-top: 0;
    font-size: 14px;
    padding: 6px 12px;
  }

  .limits-list {
    margin-top: 8px;
    font-size: 17px;
  }

  .limits-list li {
    gap: 14px;
    padding: 14px 0;
  }

  .warn-tile {
    width: 36px;
    height: 36px;
    border-radius: 9px;
  }

  .warn-tile svg {
    width: 20px;
    height: 20px;
  }

  /* 6 · Compare: cards instead of table */
  .compare-table-wrap {
    display: none;
  }

  .compare-cards {
    display: flex;
  }

  /* 7 · Needs: 2 columns */
  .needs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .need-card {
    gap: 10px;
    padding: 16px;
    border-radius: 16px;
  }

  .need-card svg {
    width: 32px;
    height: 32px;
  }

  .optional-pill {
    display: none;
  }

  .need-card h3 {
    font-size: 16px;
  }

  .need-card p {
    font-size: 14px;
    line-height: 1.4;
  }

  /* 8 · Privacy: 2 screens side-by-side */
  .privacy-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }

  .privacy-copy {
    gap: 16px;
  }

  .check-list {
    gap: 12px;
    font-size: 17px;
  }

  .check-list svg {
    width: 22px;
    height: 22px;
  }

  .equals-badge {
    display: none;
  }

  .privacy-screens {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
  }

  .screen-fig {
    gap: 8px;
  }

  .screen-mock {
    border-radius: 18px;
    padding: 14px 12px;
    gap: 9px;
    min-height: 236px;
  }

  .screen-mock__bar {
    font-size: 15px;
  }

  .screen-mock__sub {
    font-size: 11px;
  }

  .net-table {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 12px;
  }

  .net-table__desktop-h {
    display: none;
  }

  .android-app-row {
    gap: 8px;
    padding: 0 0 8px;
  }

  .android-app-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
  }

  .android-app-icon svg {
    width: 12px;
    height: 12px;
  }

  .android-app-name {
    font-size: 14px;
  }

  .traffic-rows {
    gap: 9px;
    font-size: 12px;
  }

  .traffic-row--total {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .screen-fig figcaption {
    font-size: 13px;
  }

  /* 8b · v2 Map Preview mobile */
  .v2-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: stretch;
  }

  .v2-copy {
    gap: 18px;
  }

  .v2-points li {
    padding: 14px 16px;
    font-size: 14px;
  }

  .v2-points strong {
    font-size: 15px;
  }

  .v2-phone-bezel {
    max-width: 316px;
    padding: 8px;
    border-radius: 36px;
  }

  .v2-phone {
    border-radius: 28px;
  }

  /* Footer developer row & privacy doc mobile */
  .footer-dev {
    padding: 14px 16px;
    gap: 10px;
    font-size: 14px;
  }

  .footer-dev__links {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .privacy-doc-wrap {
    padding: 32px 0 56px;
  }

  .privacy-doc__title {
    font-size: 30px;
  }

  .privacy-card {
    padding: 20px;
    border-radius: 16px;
  }

  .privacy-card h2 {
    font-size: 18px;
  }

  .privacy-card p,
  .privacy-card li {
    font-size: 15px;
  }

  /* 9–10 · Price & Live Log */
  .price-inner {
    align-items: stretch;
    text-align: left;
    gap: 20px;
  }

  .price-headline {
    font-size: 30px;
  }

  .price-headline br {
    display: none;
  }

  .price-meta {
    margin-top: -8px;
    font-size: 14px;
  }

  .price-cta {
    width: 100%;
    font-size: 17px;
  }

  .live-log {
    margin-top: 0;
    padding: 16px 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 15px;
  }

  /* 11 · FAQ */
  .faq-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .faq-list {
    gap: 10px;
  }

  .faq-item {
    border-radius: 14px;
    padding: 16px 18px;
  }

  .faq-item summary {
    font-size: 17px;
    gap: 12px;
  }

  .faq-answer {
    font-size: 15px;
  }

  /* 12 · Footer */
  .site-footer {
    padding: 40px 0 32px;
  }

  .site-footer__inner {
    gap: 20px;
  }

  .footer-top {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .footer-brand {
    gap: 10px;
  }

  .footer-brand svg,
  .footer-brand__logo {
    width: 26px;
    height: 26px;
  }

  .footer-brand__name {
    font-size: 22px;
  }

  .footer-brand__desc {
    font-size: 14px;
  }

  .footer-cta {
    width: 100%;
    font-size: 16px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    padding-top: 18px;
  }

  .footer-bottom__right {
    flex-direction: column;
    gap: 10px;
  }
}

/* Helpers for net-table mobile compact formatting */
.net-row-desktop {
  display: contents;
}

.net-row-mobile {
  display: none;
}

@media (max-width: 960px) {
  .net-row-desktop {
    display: none;
  }

  .net-row-mobile {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
  }

  .net-row-mobile__item {
    border-top: 1px solid var(--divider);
    padding-top: 8px;
  }

  .net-row-mobile__muted {
    color: var(--text-secondary);
  }
}

/* ==========================================================================
   CRO Additions · Self-Recognition, Mid-Page CTAs, Desktop QR & Sticky Mobile Bar
   ========================================================================== */

/* 3-card quick self-recognition strip (#modes) */
.who-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.who-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.who-card__icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--viz-tint);
  color: var(--viz);
  display: grid;
  place-items: center;
  margin-bottom: 2px;
}

.who-card__title {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--text);
}

.who-card__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.48;
  color: var(--text-secondary);
}

/* Mid-page inline CTA bar (#how) */
.mid-cta {
  background: var(--bg);
  border-radius: var(--radius-card);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 2px 10px rgba(21, 29, 40, 0.04);
}

.mid-cta__copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mid-cta__title {
  margin: 0;
  font-size: 21px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--text);
}

.mid-cta__sub {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--text-secondary);
}

.mid-cta__btn {
  flex: none;
}

/* Inline CTA row inside dark v2 interface section (#interface) */
.v2-cta-row {
  margin-top: 8px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.v2-cta-note {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark-muted);
}

/* Price CTA + Desktop QR code block (#price) */
.price-action-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.price-cta-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.price-cta-sub {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-caption);
}

.price-qr {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px 14px 14px;
  border-radius: 18px;
  background: var(--bg-muted);
  text-align: left;
  max-width: 340px;
}

.price-qr__code {
  flex: none;
  width: 96px;
  height: 96px;
  padding: 4px;
  border-radius: 12px;
  background: #FFFFFF;
  box-shadow: 0 2px 8px rgba(21, 29, 40, 0.06);
  display: grid;
  place-items: center;
}

.price-qr__copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price-qr__badge {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--viz-link-gray);
  background: var(--viz-tint);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.price-qr__title {
  font-size: 15px;
  line-height: 1.25;
  font-weight: 800;
  color: var(--text);
}

.price-qr__sub {
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-secondary);
}

.price-qr__sub em {
  font-style: normal;
  color: var(--text-caption);
}

/* Mobile sticky bottom CTA bar (mobile only) */
.mobile-sticky-cta {
  display: none;
}

@media (max-width: 960px) {
  .who-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .limits-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .limit-card {
    padding: 20px 18px;
    border-radius: 16px;
    gap: 12px;
  }

  .limit-card__title {
    font-size: 17.5px;
  }

  .limit-card__list {
    font-size: 14.5px;
  }

  .limits-reassure {
    font-size: 15px;
  }

  .who-card {
    padding: 18px;
    border-radius: 16px;
    gap: 8px;
  }

  .who-card__title {
    font-size: 16.5px;
  }

  .who-card__text {
    font-size: 14.5px;
  }

  .mid-cta {
    flex-direction: column;
    align-items: stretch;
    padding: 20px 18px;
    gap: 16px;
    border-radius: 16px;
  }

  .mid-cta__title {
    font-size: 19px;
  }

  .mid-cta__sub {
    font-size: 14px;
  }

  .mid-cta__btn {
    width: 100%;
    height: 50px;
  }

  .v2-cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .v2-cta-row .btn {
    width: 100%;
    height: 50px;
  }

  .v2-cta-note {
    text-align: center;
    font-size: 13px;
  }

  .price-action-row {
    width: 100%;
  }

  .price-cta-col {
    width: 100%;
  }

  .price-qr {
    display: none;
  }

  .mobile-sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.94);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    box-shadow: 0 -6px 20px rgba(21, 29, 40, 0.08);
    transform: translateY(110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.24s ease, opacity 0.2s ease;
  }

  .mobile-sticky-cta.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-sticky-cta__copy {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
  }

  .mobile-sticky-cta__title {
    font-size: 14px;
    line-height: 1.25;
    font-weight: 800;
    color: var(--text);
  }

  .mobile-sticky-cta__sub {
    font-size: 12px;
    line-height: 1.25;
    color: var(--text-caption);
  }

  .mobile-sticky-cta__btn {
    flex: none;
    height: 44px;
    padding: 0 18px;
    font-size: 15px;
    border-radius: 12px;
  }

  .site-footer {
    padding-bottom: 84px;
  }
}
