/* happ-direct-vector-field — dark "direct vector" design system
   Tokens from DESIGN.md. Local fonts only (Manrope variable, cyrillic+latin). */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("font/manrope-var-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("font/manrope-var-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #1b1b21;
  --bg-raise: #232330;
  --bg-raise-2: #2b2b3a;
  --ink: #f4f3f8;
  --ink-soft: #b9b7c6;
  --ink-mute: #aaa8b8;
  --line: #3a3a4a;
  --violet: #8b7bff;
  --violet-soft: #b4a8ff;
  --violet-deep: #4a3fb5;
  --violet-cta: #6b5ce7;
  --on-violet: #16131f;
  --radius: 14px;
  --radius-sm: 10px;
  --shell: 1120px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------------------------------------------------------------- skip link */
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--violet-cta);
  color: #ffffff;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.15s ease;
  max-width: calc(100vw - 24px);
  overflow-wrap: anywhere;
}
.skip:focus { top: 12px; }

:focus-visible {
  outline: 3px solid var(--violet-soft);
  outline-offset: 3px;
  border-radius: 4px;
}

main:focus { outline: none; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(27, 27, 33, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0.14em;
  font-size: 1.125rem;
  min-height: 44px;
}
.brand img { border-radius: 7px; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary {
  background: var(--violet-cta);
  color: #ffffff;
}
.btn-primary:hover { background: var(--violet-deep); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--violet-soft); color: var(--violet-soft); }
.btn-lg { min-height: 56px; padding: 15px 30px; font-size: 1.0625rem; }
.btn-sm { min-height: 44px; padding: 9px 16px; font-size: 0.875rem; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}
.cta-stack { margin-top: 26px; }
.cta-stack .prose { margin-top: 12px; max-width: 46ch; }

.tlink {
  color: var(--violet-soft);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 600;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.tlink:hover { color: var(--ink); }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--bg);
}
.hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.84;
  filter: saturate(0.82) contrast(0.96);
}
.hero-home {
  min-height: min(74svh, 720px);
  display: flex;
  align-items: center;
}
.hero-home::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(27, 27, 33, 0) 67%, var(--bg) 100%), linear-gradient(90deg, rgba(27, 27, 33, 0.88) 0%, rgba(27, 27, 33, 0.55) 38%, rgba(27, 27, 33, 0) 62%);
}
.hero-copy { max-width: 640px; padding: 72px 0 68px; }
.display {
  font-size: clamp(2.125rem, 5.2vw, 3.625rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 0 0 20px;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}
.display-sm {
  font-size: clamp(1.75rem, 4.2vw, 2.75rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  text-wrap: balance;
}
.lede {
  font-size: 1.1875rem;
  color: var(--ink-soft);
  margin: 0 0 8px;
  max-width: 56ch;
  text-wrap: pretty;
}
.hero-facts {
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* page hero (inner routes) */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 64px 0 56px;
  background: radial-gradient(1100px 480px at 82% -10%, rgba(74, 63, 181, 0.32), transparent 62%), var(--bg);
  border-bottom: 1px solid var(--line);
}
.page-hero .lede { max-width: 62ch; }
.err-code {
  font-size: clamp(4rem, 10vw, 7.5rem);
  font-weight: 800;
  line-height: 1;
  margin: 0;
  color: var(--violet);
  opacity: 0.85;
}

/* ---------------------------------------------------------------- sections */
.section { padding: 56px 0; }
.section + .section { padding-top: 28px; }
.section-head { margin-bottom: 28px; max-width: 720px; }
.section-body { max-width: 900px; }
.h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.15;
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.h3 {
  font-size: 1.15625rem;
  line-height: 1.3;
  font-weight: 700;
  margin: 0 0 6px;
  text-wrap: balance;
}
.prose {
  margin: 0 0 14px;
  color: var(--ink-soft);
  max-width: 70ch;
  text-wrap: pretty;
}
.prose.fine, .fine { font-size: 0.90625rem; color: var(--ink-mute); }

/* steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
  counter-reset: step;
}
.steps li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.steps li p { margin: 0; color: var(--ink-soft); }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--violet-deep), var(--violet));
  color: #fff;
  font-weight: 800;
  font-size: 1.125rem;
}

/* facts */
.facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.facts li {
  display: grid;
  grid-template-columns: minmax(150px, 240px) minmax(0, 1fr);
  gap: 18px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
}
.facts .k { font-weight: 700; color: var(--ink); }
.facts .v { color: var(--ink-soft); }

/* platform cards */
.pf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.pf-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 12px;
  padding: 18px 20px;
  min-height: 44px;
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.pf-card:hover { border-color: var(--violet); }
.pf-name { font-weight: 700; color: var(--ink); grid-row: 1; }
.pf-note { font-size: 0.875rem; color: var(--ink-mute); grid-row: 2; grid-column: 1; }
.pf-go { grid-row: 1 / 3; grid-column: 2; color: var(--violet-soft); font-size: 1.25rem; }

/* compact device directory on home */
.platform-links { display: grid; }
.platform-link {
  display: grid;
  grid-template-columns: minmax(110px, 0.45fr) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 44px;
  padding: 6px 0;
  text-decoration: none;
}
.platform-link + .platform-link { border-top: 1px solid var(--line); }
.platform-link:hover .k { color: var(--violet-soft); }

/* store links */
.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 14px;
}
.store-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  min-height: 44px;
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.15s ease;
}
.store-link:hover { border-color: var(--violet); }
.store-label { font-weight: 700; color: var(--ink); }
.store-sub { font-size: 0.875rem; color: var(--ink-mute); }

/* pricing */
.prices {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px;
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.price {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  color: var(--ink);
  text-decoration: none;
}
.price + .price { border-left: 1px solid var(--line); }
.price-copy { display: grid; gap: 2px; }
.price-period { font-weight: 700; font-size: 1.125rem; }
.price-per { font-size: 0.875rem; color: var(--ink-mute); }
.price-sum { font-size: 1.625rem; font-weight: 800; margin-top: auto; }
.price-action {
  margin-top: 8px;
  color: var(--violet-soft);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.price:hover .price-action { color: var(--ink); }

/* faq */
.faq {
  display: grid;
  gap: 10px;
  max-width: 820px;
  interpolate-size: allow-keywords;
}
.faq-item {
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  min-height: 44px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: none;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--bg-raise-2);
  color: var(--violet-soft);
  font-size: 1.125rem;
  font-weight: 700;
  transform-origin: center;
  transition: transform 280ms cubic-bezier(.22, 1, .36, 1), background-color 200ms ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 20px 20px; }
.faq-answer p { margin: 0; color: var(--ink-soft); }

@supports selector(.faq-item::details-content) {
  .faq-item::details-content {
    block-size: 0;
    overflow: hidden;
    opacity: 0;
    transition: block-size 280ms cubic-bezier(.22, 1, .36, 1), opacity 200ms ease, content-visibility 280ms allow-discrete;
  }
  .faq-item[open]::details-content {
    block-size: auto;
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .faq-item::details-content,
  .faq-item summary::after { transition: none !important; }
}

/* bottom band */
.band-section { padding-bottom: 72px; }
.band {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--line);
  background:
    radial-gradient(900px 420px at 88% 20%, rgba(139, 123, 255, 0.28), transparent 60%),
    var(--bg-raise);
  padding: 44px 36px;
  max-width: 900px;
}
.band .h2 { margin-bottom: 10px; }
.band .prose { margin-bottom: 26px; }

/* ---------------------------------------------------------------- footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: #17171c;
  padding: 44px 0 28px;
  margin-top: 24px;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(0, 2fr);
  gap: 36px;
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-note { color: var(--ink-mute); font-size: 0.90625rem; max-width: 40ch; margin: 0; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 26px;
  align-items: start;
}
.footer-home {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.footer-home:hover { color: var(--violet-soft); }
.footer-col-title {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 10px 0 8px;
}
.footer-col nav { display: grid; gap: 2px; }
.footer-col nav a {
  color: var(--ink-soft);
  text-decoration: none;
  padding: 10px 0;
  font-size: 0.9375rem;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.footer-col nav a:hover { color: var(--ink); }
.footer-fine {
  margin: 34px 0 0;
  color: var(--ink-mute);
  font-size: 0.84375rem;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr; }
  .prices { grid-template-columns: minmax(0, 1fr); }
  .price {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "copy copy" "sum action";
    gap: 6px 16px;
    align-items: end;
    padding: 14px 16px;
  }
  .price + .price { border-top: 1px solid var(--line); border-left: 0; }
  .price-copy { grid-area: copy; }
  .price-sum { grid-area: sum; margin-top: 0; }
  .price-action { grid-area: action; align-self: center; margin-top: 0; }
}
@media (max-width: 720px) {
  body { font-size: 1rem; overflow-wrap: anywhere; }
  .display { overflow-wrap: anywhere; }
  .platform-link { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 10px 0; }
  .header-in { flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
  .header-in .btn-sm { padding: 9px 13px; font-size: 0.8125rem; }
  .hero-home { min-height: clamp(600px, calc(100svh - 64px), 680px); }
  .hero-copy { padding: 56px 0 52px; }
  .hero-home::after { background: linear-gradient(180deg, rgba(27, 27, 33, 0.94) 0%, rgba(27, 27, 33, 0.84) 48%, rgba(27, 27, 33, 0.46) 74%, var(--bg) 100%); }
  .hero-home .cta-row { flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 22px; }
  .hero-home .hero-facts { margin-top: 20px; }
  .lede { font-size: 1.0625rem; }
  .facts li { grid-template-columns: 1fr; gap: 4px; }
  .steps li { grid-template-columns: 40px minmax(0, 1fr); padding: 16px; }
  .step-num { width: 40px; height: 40px; }
  .band { padding: 32px 22px; }
  .page-hero { padding: 48px 0 40px; }
  .section { padding: 40px 0; }
  .section + .section { padding-top: 24px; }
}

/* Signal choreography v2 — decorative layers only. */
.locations-section .section-body { max-width: none; }
.locations-map {
  position: relative;
  aspect-ratio: 1200 / 700;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.europe-canvas { position: absolute; inset: 0; }
.locations-art { position: absolute; inset: 0; z-index: 0; display: block; width: 100%; height: 100%; }
.locations-art img { display: block; width: 100%; height: 100%; object-fit: fill; }
.locations-map-meta {
  position: absolute;
  top: 18px;
  left: 20px;
  right: 20px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  color: var(--ink-mute);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.locations-map-meta strong { color: var(--violet-soft); }
.europe-locations { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.europe-location details { position: static; }
.europe-location summary {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 1;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  list-style: none;
  cursor: pointer;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: auto;
}
.europe-location summary::-webkit-details-marker { display: none; }
.europe-location summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.europe-dot {
  position: relative;
  display: block;
  width: 12px;
  height: 12px;
  background: var(--violet);
  border: 3px solid var(--bg-raise);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(139, 123, 255, 0.2);
  transition: transform 160ms cubic-bezier(.22, 1, .36, 1), background-color 160ms ease;
}
.europe-dot::after {
  content: "";
  position: absolute;
  inset: -9px;
  border: 1px solid rgba(180, 168, 255, 0.45);
  border-radius: 50%;
}
.europe-tooltip {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 6;
  width: 260px;
  padding: 15px;
  background: rgba(35, 35, 48, 0.98);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: var(--tip-transform);
  transition: opacity 160ms ease;
}
.europe-tooltip-head { display: flex; align-items: center; gap: 10px; }
.location-flag { display: block; width: 36px; height: 27px; object-fit: cover; border-radius: 3px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35); }
.europe-tooltip-head strong { font-size: 1rem; }
.europe-region { display: block; margin-top: 9px; color: var(--violet-soft); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.europe-tooltip p { margin: 4px 0 0; color: var(--ink-soft); font-size: 0.9375rem; line-height: 1.4; }
.europe-location[data-country="gb"] { --x: 24.43%; --y: 56.37%; --tip-transform: translate(18px, -50%); }
.europe-location[data-country="nl"] { --x: 40.39%; --y: 63.70%; --tip-transform: translate(18px, 18px); }
.europe-location[data-country="se"] { --x: 60.23%; --y: 32.48%; --tip-transform: translate(18px, 18px); }
.europe-location[data-country="ee"] { --x: 84%; --y: 40.5%; --tip-transform: translate(calc(-100% - 18px), -45%); }
.europe-location[data-country="lv"] { --x: 77.5%; --y: 52%; --tip-transform: translate(calc(-100% - 18px), -40%); }
.europe-location[data-country="pl"] { --x: 68.61%; --y: 64.01%; --tip-transform: translate(calc(-100% - 18px), -50%); }
.europe-location[data-country="at"] { --x: 58.39%; --y: 78.35%; --tip-transform: translate(18px, calc(-100% - 18px)); }
.europe-location details[open] summary { z-index: 8; }
.europe-location details[open] .europe-dot { background: var(--ink); transform: scale(1.3); }
.europe-location details[open] + .europe-tooltip { opacity: 1; visibility: visible; }
@media (hover: hover) {
  .europe-location summary:hover { z-index: 8; }
  .europe-location summary:hover .europe-dot { background: var(--ink); transform: scale(1.3); }
  .europe-location details:has(summary:hover) + .europe-tooltip { opacity: 1; visibility: visible; }
}

.motion-backdrop {
  z-index: -2;
  transform-origin: 50% 50%;
}
.motion-hero-shell { position: relative; z-index: 1; }
.motion-hero-route {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  color: var(--violet-soft);
  opacity: 0;
  pointer-events: none;
}
.motion-hero-route [data-motion-route] {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  vector-effect: non-scaling-stroke;
}
.motion-hero-route [data-motion-route]:nth-of-type(2) { stroke-width: 1.75; opacity: 0.72; }
.motion-hero-route [data-motion-route]:nth-of-type(3) { stroke-width: 1.25; opacity: 0.54; }
.motion-hero-route [data-motion-pulse] {
  fill: currentColor;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}
[data-motion-state="active"] .motion-hero-route { opacity: 0.78; }
[data-motion-state="active"] .motion-hero-route [data-motion-route] { stroke-dashoffset: 0; }
[data-motion-state="active"] .motion-hero-route [data-motion-pulse] { opacity: 0.92; }

.motion-steps-stage { position: relative; }
.motion-step-rail {
  position: absolute;
  z-index: 0;
  top: 42px;
  bottom: 42px;
  left: 41px;
  width: 3px;
  opacity: 0;
  pointer-events: none;
}
.motion-step-rail [data-motion-step-rail] {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--violet-soft), var(--violet-deep));
  transform: scaleY(0);
  transform-origin: 50% 0;
}
.motion-steps-stage .steps { position: relative; z-index: 1; }
.motion-steps-stage .step-num { position: relative; z-index: 3; }
[data-motion-state="active"] .motion-step-rail { opacity: 0.86; }
[data-motion-state="active"] .motion-step-rail [data-motion-step-rail] { transform: scaleY(1); }

.motion-prices-stage { position: relative; isolation: isolate; overflow: hidden; }
.motion-price-scan {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: -72px;
  width: 72px;
  background: linear-gradient(90deg, transparent, rgba(180, 168, 255, 0.42), transparent);
  opacity: 0;
  pointer-events: none;
}

.motion-band-sweep {
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: -120px;
  width: 120px;
  background: linear-gradient(90deg, transparent, rgba(180, 168, 255, 0.3), transparent);
  opacity: 0;
  transform: skewX(-16deg);
  pointer-events: none;
}
.band > :not(.motion-band-sweep) { position: relative; z-index: 1; }

@media (max-width: 900px) {
  .motion-price-scan {
    top: -64px;
    right: auto;
    bottom: auto;
    left: 0;
    width: 3px;
    height: 64px;
    background: linear-gradient(180deg, transparent, rgba(180, 168, 255, 0.42), transparent);
  }
}
@media (max-width: 720px) {
  .locations-map { min-height: 0; aspect-ratio: auto; }
  .europe-canvas { position: relative; aspect-ratio: 1; }
  .locations-map:has(.europe-location details[open]) { padding-bottom: 7.75rem; }
  .locations-map-meta { top: 14px; left: 16px; right: 16px; }
  .europe-location[data-country="ee"] { --x: 86%; --y: 37%; }
  .europe-location[data-country="lv"] { --x: 85%; --y: 54%; }
  .europe-location[data-country="at"] { --x: 58.39%; --y: 82%; }
  .europe-tooltip {
    left: 0;
    right: 0;
    top: 100%;
    width: auto;
    padding: 14px 18px;
    background: var(--bg-raise-2);
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
    transform: none;
  }
  .europe-tooltip-head img { width: 32px; height: 24px; }
  .europe-region { margin-top: 7px; }
  .europe-tooltip p { font-size: 0.875rem; }
  .motion-backdrop { inset: 0 -18px; }
  .motion-step-rail { top: 36px; bottom: 36px; left: 35px; }
  .motion-hero-route { left: -110%; width: 210%; opacity: 0; clip-path: none; transform: none; }
  [data-motion-state="active"] .motion-hero-route { opacity: 0.74; }
}
@media (prefers-reduced-motion: reduce) {
  .europe-dot, .europe-tooltip { transition: none; }
}
