/* Car GNSS Bridge: product page. Tokens and fonts follow the home page (styles.css of the site root). */

@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../../assets/fonts/inter-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../../assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../../assets/fonts/manrope-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../../assets/fonts/manrope-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url("../../assets/fonts/jetbrains-mono-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url("../../assets/fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --ink: #142022;
  --ink-soft: #33403f;
  --muted: #5f6c6f;
  --paper: #f6f4ef;
  --surface: #ffffff;
  --surface-2: #eef2ef;
  --line: #d9dfdc;
  --line-strong: #c3ccc8;
  --deep: #10282c;
  --deep-2: #0a191c;
  --teal: #187a72;
  --teal-dark: #0f5c56;
  --gold: #d9a441;
  --gold-soft: #f0dfb6;
  --bronze: #8a622f;
  --coral: #a9432c;
  --green: #3fd69b;
  --gps: #4fb3ff;
  --glo: #ff6067;
  --gal: #3fd69b;
  --bds: #ffc24b;
  --qzss: #b48cff;
  --radius: 8px;
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --topbar-h: 66px;
  --shadow: 0 22px 55px rgba(20, 32, 34, 0.1);
  --sans: "Inter Variable", Inter, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Manrope Variable", Manrope, "Segoe UI", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-h) + 16px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(20, 32, 34, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 32, 34, 0.032) 1px, transparent 1px);
  background-size: 32px 32px;
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-color: rgba(20, 32, 34, 0.35); text-underline-offset: 0.18em; }
a:hover { text-decoration-color: var(--gold); }
button, input { font: inherit; color: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
::selection { background: #f0dfb6; color: var(--ink); }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; }
p, li, dd { overflow-wrap: break-word; }

[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.shell { width: min(var(--max), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.mono { font-family: var(--mono); font-size: 13px; overflow-wrap: anywhere; }
.muted { color: var(--muted); }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 12px;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  border-radius: 6px;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

/* ---------- top bar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--topbar-h);
  background: rgba(246, 244, 239, 0.9);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
}
.topbar-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  text-decoration: none;
  font: 700 15px/1.2 var(--display);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--deep);
  font: 800 12px/1 var(--mono);
  box-shadow: inset 0 0 0 1px rgba(16, 40, 44, 0.12);
}
.topnav { display: flex; gap: 4px; margin-left: auto; }
.topnav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font: 700 11px/1 var(--mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.topnav a:hover { color: var(--ink); background: rgba(20, 32, 34, 0.05); }
.topnav a[aria-current="true"] { color: var(--ink); background: rgba(217, 164, 65, 0.18); }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-left: 8px;
  padding-left: 18px;
  border-left: 1px solid var(--line);
  text-decoration: none;
  font: 700 11px/1 var(--mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}
.back-link span { font-size: 17px; }
.back-link:hover { color: var(--bronze); }

/* ---------- hero ---------- */

.hero {
  --shell-w: min(var(--max), calc(100vw - 2 * var(--gutter)));
  --overlap: calc(var(--shell-w) * 0.16);
  position: relative;
  isolation: isolate;
  padding-top: clamp(44px, 6.5vw, 92px);
  color: #fff;
}
.hero-stage {
  position: absolute;
  inset: 0 0 var(--overlap) 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(680px 520px at 76% 34%, rgba(63, 214, 155, 0.16), transparent 62%),
    radial-gradient(760px 480px at 6% 0%, rgba(79, 179, 255, 0.11), transparent 64%),
    radial-gradient(900px 420px at 50% 115%, rgba(217, 164, 65, 0.1), transparent 70%),
    linear-gradient(180deg, #0d2327 0%, #0a191c 100%);
}
.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 62% 38%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 80% at 62% 38%, #000 25%, transparent 78%);
}
.hero-stage::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 164, 65, 0.45), transparent);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  color: var(--gold);
  font: 800 12px/1.45 var(--mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.app-icon {
  flex: none;
  width: 60px;
  height: 60px;
  border-radius: 15px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.hero h1 {
  margin: 28px 0 0;
  font-size: clamp(50px, 7.6vw, 104px);
  font-weight: 800;
  line-height: 0.93;
  letter-spacing: -0.05em;
  word-spacing: 0.08em;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-lead {
  max-width: 33em;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.6;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.62);
  font: 600 11.5px/1.5 var(--mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero-meta li { display: inline-flex; align-items: center; gap: 9px; }
.hero-meta li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); opacity: 0.85; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 10px 24px 10px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font: 700 15px/1.15 var(--display);
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-icon { flex: none; width: 22px; height: 22px; }
.btn-stack { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.btn-title { font-weight: 750; }
.btn-sub {
  font: 600 11.5px/1.2 var(--mono);
  letter-spacing: 0.02em;
  opacity: 0.78;
}
.btn-primary {
  color: #1d1504;
  background: linear-gradient(180deg, #e6b453 0%, #d9a441 100%);
  box-shadow: 0 14px 34px rgba(217, 164, 65, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(217, 164, 65, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.btn-ghost {
  padding-inline: 24px;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.5); }
.btn-wide { width: 100%; justify-content: center; }
.btn-companion {
  color: #fff;
  background: linear-gradient(90deg, #4f8cff, #2fc6a8);
  box-shadow: 0 14px 34px rgba(47, 198, 168, 0.25);
}
.btn-companion:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(47, 198, 168, 0.35); }
.btn-gold-outline {
  min-height: 50px;
  padding-inline: 20px;
  color: var(--ink);
  border: 1.5px solid var(--gold);
  background: rgba(217, 164, 65, 0.1);
}
.btn-gold-outline:hover { background: var(--gold); }
.btn.is-done, .icon-btn.is-done { border-color: var(--teal); background: rgba(24, 122, 114, 0.12); color: var(--teal-dark); }

.icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  cursor: pointer;
  font: 700 11px/1 var(--mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.icon-btn svg { width: 16px; height: 16px; }
.icon-btn:hover { border-color: var(--ink); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  min-height: 32px;
  color: var(--teal);
  text-decoration: none;
  font: 700 12px/1 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.text-link svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.text-link:hover svg { transform: translate(2px, -2px); }

/* ---------- sky dome (a living copy of the app icon) ---------- */

.sky { margin: 0; justify-self: center; width: min(100%, 470px); }
.sky-dome { position: relative; aspect-ratio: 1 / 1; }
.sky-glow, .sky-disc, .sky-sweep, .sky-rim {
  position: absolute;
  inset: 11.364%;
  border-radius: 50%;
}
.sky-glow {
  box-shadow:
    0 0 0 1px rgba(63, 214, 155, 0.3),
    0 0 36px 6px rgba(63, 214, 155, 0.24),
    0 0 110px 26px rgba(63, 214, 155, 0.11);
}
.sky-disc { background: radial-gradient(circle at 50% 42%, #0e1d2d 0%, #08111b 64%, #050a11 100%); }
.sky-sweep {
  background: conic-gradient(from 0deg,
    rgba(63, 214, 155, 0) 0deg,
    rgba(63, 214, 155, 0) 236deg,
    rgba(63, 214, 155, 0.09) 292deg,
    rgba(63, 214, 155, 0.3) 338deg,
    rgba(63, 214, 155, 0.62) 360deg);
  animation: sky-spin 7s linear infinite;
}
.sky-sweep::after {
  content: "";
  position: absolute;
  left: calc(50% - 1px);
  top: 0;
  width: 2px;
  height: 50%;
  border-radius: 2px;
  background: linear-gradient(to top, rgba(63, 214, 155, 0.08), #3fd69b);
}
.sky-rim {
  background: conic-gradient(from 0deg, #3fd69b, rgba(63, 214, 155, 0.42) 180deg, #3fd69b);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px));
  animation: sky-spin 7s linear infinite;
}
.sky-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sky-grid circle, .sky-grid path { fill: none; stroke: rgba(150, 178, 204, 0.24); stroke-width: 1.3; }
.sky-ping {
  fill: none;
  stroke: #3fd69b;
  stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
  opacity: 0;
  transform-box: view-box;
  transform-origin: 50% 50%;
  animation: sky-ping 7s ease-out infinite;
}
.sky-ping--late { animation-delay: 3.5s; }
.sat--gps { color: var(--gps); }
.sat--glo { color: var(--glo); }
.sat--gal { color: var(--gal); }
.sat--bds { color: var(--bds); }
.sat--qzss { color: var(--qzss); }
.sat-halo {
  fill: currentColor;
  opacity: 0.16;
  transform-box: fill-box;
  transform-origin: center;
  animation: sat-ping 7s ease-out infinite;
  animation-delay: var(--d, 0s);
}
.sat-ring { fill: currentColor; opacity: 0.3; }
.sat-core { fill: currentColor; }
.sat-dot { fill: #fff; opacity: 0.9; }
.sky-car {
  fill: #fff;
  stroke: #fff;
  stroke-width: 3;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(63, 214, 155, 0.55));
}
.sky-cardinals text {
  fill: rgba(255, 255, 255, 0.5);
  font: 700 13px var(--mono);
  text-anchor: middle;
  dominant-baseline: central;
}
.sky-dome.is-paused *, .sky-dome.is-paused *::after { animation-play-state: paused; }
.sky-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.66);
  font: 700 10.5px/1.4 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lg { display: inline-flex; align-items: center; gap: 7px; }
.lg::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 10px var(--c);
}
.lg--gps { --c: var(--gps); }
.lg--glo { --c: var(--glo); }
.lg--gal { --c: var(--gal); }
.lg--bds { --c: var(--bds); }
.lg--qzss { --c: var(--qzss); }

@keyframes sky-spin { to { transform: rotate(360deg); } }
@keyframes sky-ping {
  0% { transform: scale(0.1); opacity: 0.5; }
  70% { opacity: 0.07; }
  100% { transform: scale(1); opacity: 0; }
}
@keyframes sat-ping {
  0% { opacity: 0.62; transform: scale(1.45); }
  16% { opacity: 0.24; transform: scale(1); }
  100% { opacity: 0.16; transform: scale(1); }
}

/* ---------- device with screenshots ---------- */

.device { position: relative; margin-top: clamp(44px, 6vw, 80px); }
.device-tabs {
  display: flex;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 16px;
  padding: 5px;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(4, 12, 14, 0.4);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  scrollbar-width: none;
}
.device-tabs::-webkit-scrollbar { display: none; }
html:not(.js) .device-tabs { display: none; }
.device-tab {
  flex: none;
  min-height: 42px;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  font: 700 11.5px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.device-tab:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.device-tab[aria-selected="true"] { color: var(--ink); background: #fff; }
.device-frame {
  padding: clamp(7px, 1.1vw, 14px);
  border-radius: clamp(14px, 2vw, 24px);
  background: linear-gradient(160deg, #26373b 0%, #0e181a 42%, #0a1214 100%);
  box-shadow:
    0 60px 110px -40px rgba(6, 16, 18, 0.6),
    0 30px 60px -36px rgba(6, 16, 18, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.device-screen {
  position: relative;
  display: block;
  aspect-ratio: 1920 / 648;
  overflow: hidden;
  border-radius: clamp(6px, 1vw, 12px);
  background: #0b1d29;
  cursor: zoom-in;
}
.device-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0) 34%);
}
.shot { position: absolute; inset: 0; opacity: 0; transition: opacity 0.45s ease; }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot.is-active { opacity: 1; }
.device-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 24px;
  margin: 18px 2px 0;
  color: var(--ink-soft);
  font-size: 15px;
  min-height: 1.55em;
  line-height: 1.55;
}
.device-note {
  color: var(--muted);
  font: 600 10.5px/1.6 var(--mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* ---------- facts ---------- */

.facts { margin-top: clamp(40px, 5vw, 64px); }
.facts-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}
.facts-list li { min-width: 0; padding: 22px 18px 22px 0; }
.facts-list li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.facts-list strong {
  display: block;
  font: 750 clamp(17px, 1.7vw, 22px)/1.2 var(--display);
  letter-spacing: -0.02em;
}
.facts-list span { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.45; }

/* ---------- sections ---------- */

.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tint {
  background-color: #eef1ec;
  background-image:
    linear-gradient(rgba(20, 32, 34, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 32, 34, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  border-block: 1px solid var(--line);
}
.section-head { max-width: 780px; margin-bottom: clamp(30px, 4vw, 50px); }
.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  color: var(--ink);
  font: 800 12px/1.3 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.kicker span { padding-right: 14px; border-right: 1px solid var(--line-strong); color: var(--bronze); }
.kicker--plain { color: var(--bronze); }
.section h2 {
  margin: 0;
  font-size: clamp(34px, 4.4vw, 58px);
  font-weight: 760;
  line-height: 1.02;
  letter-spacing: -0.042em;
}
.section-lead { max-width: 40em; margin: 20px 0 0; color: var(--ink-soft); font-size: clamp(17px, 1.4vw, 19px); line-height: 1.65; }

/* ---------- features ---------- */

.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.feature {
  position: relative;
  min-width: 0;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 40px rgba(20, 32, 34, 0.05);
  transition: transform 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease, opacity 0.7s ease;
}
.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 13px;
  background: linear-gradient(160deg, #17363b, #0b1b1e);
  color: var(--gold);
  box-shadow: 0 10px 22px rgba(16, 40, 44, 0.22);
}
.feature-icon svg { width: 25px; height: 25px; }
.feature h3 { margin: 22px 0 10px; font-size: clamp(21px, 1.9vw, 25px); font-weight: 720; line-height: 1.2; letter-spacing: -0.025em; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 16.5px; line-height: 1.65; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 20px 0 0; padding: 0; list-style: none; }
.chips li {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-soft);
  font: 600 12px/1.2 var(--mono);
}

/* ---------- how it works ---------- */

.flow {
  position: relative;
  margin-top: clamp(36px, 5vw, 60px);
  padding: clamp(24px, 3.2vw, 42px);
  overflow: hidden;
  border-radius: var(--radius);
  color: #fff;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(217, 164, 65, 0.13), transparent 70%),
    linear-gradient(160deg, #12303a 0%, #0c1f22 55%, #0a181b 100%);
  box-shadow: 0 30px 70px -36px rgba(16, 40, 44, 0.6);
}
.flow::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
}
.flow > * { position: relative; }
.flow-title {
  margin: 0 0 26px;
  color: var(--gold);
  font: 800 12px/1.3 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.flow-track {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1.15fr) 72px minmax(0, 1fr);
  align-items: stretch;
}
.flow-node {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 22px 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}
.flow-node--core {
  border-color: rgba(217, 164, 65, 0.6);
  background: rgba(217, 164, 65, 0.08);
  box-shadow: 0 0 0 5px rgba(217, 164, 65, 0.06), 0 20px 40px -20px rgba(217, 164, 65, 0.35);
}
.flow-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 8px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--gold);
}
.flow-icon svg { width: 23px; height: 23px; }
.flow-label { color: rgba(255, 255, 255, 0.5); font: 700 10.5px/1.3 var(--mono); letter-spacing: 0.09em; text-transform: uppercase; }
.flow-node strong { font: 750 19px/1.25 var(--display); letter-spacing: -0.015em; }
.flow-text { color: rgba(255, 255, 255, 0.72); font-size: 14.5px; line-height: 1.5; }
.flow-link {
  position: relative;
  align-self: center;
  height: 2px;
  margin: 0 10px;
  background: repeating-linear-gradient(90deg, rgba(217, 164, 65, 0.7) 0 6px, transparent 6px 12px);
}
.flow-link::after {
  content: "";
  position: absolute;
  right: -3px;
  top: -5px;
  border-left: 8px solid rgba(217, 164, 65, 0.9);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}
.flow-link i {
  position: absolute;
  top: -4px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffd27a;
  box-shadow: 0 0 12px 2px rgba(255, 210, 122, 0.8);
  animation: flow-dot 2.4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
.flow-link + .flow-node + .flow-link i { animation-delay: 1.2s; }
.flow-car {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 22px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.74);
  font-size: 15px;
  line-height: 1.55;
}
.flow-car svg { flex: none; width: 24px; height: 24px; color: var(--gold); }
.flow-car strong { color: #fff; }
@keyframes flow-dot {
  0% { left: 0; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { left: calc(100% - 10px); opacity: 0; }
}
@keyframes flow-dot-down {
  0% { top: 0; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { top: calc(100% - 10px); opacity: 0; }
}

.soon {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 22px 0 0;
  padding: 16px 22px;
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(217, 164, 65, 0.1);
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.55;
}
.soon-tag {
  flex: none;
  color: var(--bronze);
  font: 800 11px/1.5 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- principle ---------- */

.principle { padding-block: 0 clamp(64px, 9vw, 120px); }
.principle-inner { max-width: 980px; margin-inline: auto; text-align: center; }
.principle-label {
  margin: 0 0 18px;
  color: var(--bronze);
  font: 800 12px/1.3 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.principle blockquote {
  margin: 0;
  font: 780 clamp(32px, 5vw, 64px)/1.04 var(--display);
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.principle figcaption { max-width: 36em; margin: 22px auto 0; color: var(--muted); font-size: 17px; line-height: 1.6; }

/* ---------- install ---------- */

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.step {
  position: relative;
  min-width: 0;
  padding: clamp(24px, 2.6vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 16px 40px rgba(20, 32, 34, 0.05);
}
.step-num {
  display: block;
  margin-bottom: 22px;
  color: var(--bronze);
  font: 800 52px/1 var(--display);
  letter-spacing: -0.04em;
}
@supports (-webkit-text-stroke: 1px #000) {
  .step-num { color: transparent; -webkit-text-stroke: 1.5px var(--gold); }
}
.step h3 { margin: 0 0 10px; font-size: 21px; font-weight: 720; line-height: 1.25; letter-spacing: -0.02em; }
.step p { margin: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.65; }
.step-note { margin-top: 14px !important; padding-top: 14px; border-top: 1px dashed var(--line-strong); color: var(--muted) !important; font-size: 14.5px !important; }

/* ---------- download ---------- */

.download-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 16px; align-items: start; }
.release-card, .notes-card {
  position: relative;
  min-width: 0;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.release-card { box-shadow: var(--shadow); overflow: hidden; }
.release-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--green));
}
.release-top { display: flex; align-items: center; gap: 16px; }
.app-icon--small { width: 58px; height: 58px; border-radius: 15px; box-shadow: 0 10px 22px rgba(5, 10, 17, 0.25); }
.card-label {
  margin: 0;
  color: var(--muted);
  font: 800 11px/1.4 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.release-version { margin: 4px 0 0; font: 800 clamp(36px, 4vw, 50px)/1 var(--display); letter-spacing: -0.045em; }
.release-meta { margin: 26px 0 0; border-top: 1px solid var(--line); }
.release-meta > div { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.release-meta dt { padding-top: 3px; color: var(--muted); font: 700 10.5px/1.5 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.release-meta dd { margin: 0; font-size: 15.5px; line-height: 1.5; }
.hash {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 12px;
  margin-top: 18px;
  padding: 12px 12px 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.hash-label { color: var(--muted); font: 800 10.5px/1.3 var(--mono); letter-spacing: 0.08em; }
.hash-value { font: 500 12px/1.5 var(--mono); word-break: break-all; user-select: all; }
.release-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.release-actions .btn { flex: 1 1 240px; justify-content: center; }
.btn-outline {
  color: var(--ink);
  border: 1.5px solid var(--ink);
  background: transparent;
}
.btn-outline:hover { background: var(--ink); color: #fff; }
.release-russia-note { margin: 12px 0 0; color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; }
.status { margin: 10px 0 0; color: var(--coral); font-size: 14px; line-height: 1.5; }
.status:empty { display: none; }

.notes-card { background: rgba(255, 255, 255, 0.82); }
.notes-card h3 { margin: 8px 0 18px; font-size: clamp(22px, 2.2vw, 28px); font-weight: 740; line-height: 1.2; letter-spacing: -0.03em; }
.notes-body p { margin: 0 0 14px; color: var(--ink-soft); font-size: 16px; line-height: 1.7; }
.notes-body p:last-child { margin-bottom: 0; }
.notes-body ul { margin: 0 0 14px; padding-left: 20px; color: var(--ink-soft); }
.notes-body li { margin: 4px 0; }

.versions {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.versions > summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 16px 24px;
  cursor: pointer;
  list-style: none;
  font: 720 18px/1.3 var(--display);
  letter-spacing: -0.015em;
}
.versions > summary::-webkit-details-marker { display: none; }
.versions-count:not(:empty) {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  font: 700 12px/1.3 var(--mono);
}
.chev { flex: none; width: 20px; height: 20px; margin-left: auto; color: var(--muted); transition: transform 0.22s ease; }
details[open] > summary > .chev { transform: rotate(180deg); }
.versions-body { padding: 0 24px 22px; }
.versions-note {
  margin: 0 0 14px;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.6;
}
.versions-list { margin: 0; padding: 0; list-style: none; }
.version { padding: 16px 0; border-top: 1px solid var(--line); }
.version--empty { color: var(--muted); }
.version-row {
  display: grid;
  grid-template-columns: 84px 98px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 18px;
}
.version-name { font: 800 15px/1.3 var(--mono); }
.version-date { color: var(--muted); font: 600 12.5px/1.3 var(--mono); }
.version-title { min-width: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.45; }
.version-dl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  font: 700 11.5px/1 var(--mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.version-dl svg { width: 16px; height: 16px; }
.version-dl:hover { background: var(--ink); color: #fff; }
.version-more { margin-top: 8px; }
.version-more > summary {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  color: var(--teal);
  cursor: pointer;
  font: 700 12px/1 var(--mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.version-more .notes-body { margin-top: 8px; }
.version-more .notes-body p { font-size: 15px; }
.version-sha { margin: 10px 0 0; color: var(--muted); font: 500 11.5px/1.5 var(--mono); word-break: break-all; }

/* ---------- maps ---------- */

.maps-guide {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 16px;
  margin-bottom: 16px;
}
.maps-why {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: clamp(26px, 3.4vw, 46px);
  border-radius: var(--radius);
  color: #fff;
  background:
    radial-gradient(520px 320px at 100% 0%, rgba(63, 214, 155, 0.16), transparent 70%),
    radial-gradient(420px 300px at 0% 100%, rgba(217, 164, 65, 0.14), transparent 70%),
    linear-gradient(160deg, #12303a 0%, #0c1f22 58%, #0a181b 100%);
  box-shadow: 0 30px 70px -36px rgba(16, 40, 44, 0.6);
}
.maps-why::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
}
.maps-why > * { position: relative; }
.maps-why-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--gold);
}
.maps-why-icon svg { width: 27px; height: 27px; }
.maps-why h3 {
  margin: 24px 0 20px;
  font-size: clamp(28px, 3.1vw, 40px);
  font-weight: 790;
  line-height: 1.08;
  letter-spacing: -0.038em;
}
.maps-why p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 1.55vw, 21px);
  line-height: 1.5;
}
.maps-why p:last-child { margin-bottom: 0; }
.maps-why .maps-why-key {
  margin-top: 22px;
  padding: 2px 0 2px 18px;
  border-left: 3px solid var(--gold);
  color: #fff;
  font-weight: 650;
}

.maps-howto {
  min-width: 0;
  padding: clamp(26px, 3.4vw, 46px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.maps-howto h3 {
  margin: 8px 0 24px;
  font-size: clamp(25px, 2.5vw, 33px);
  font-weight: 780;
  line-height: 1.1;
  letter-spacing: -0.035em;
}
.howto { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: howto; }
.howto li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  counter-increment: howto;
  color: var(--ink);
  font-size: clamp(17px, 1.45vw, 19.5px);
  line-height: 1.5;
}
.howto li::before {
  content: counter(howto);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--deep);
  color: var(--gold);
  font: 800 17px/1 var(--display);
  box-shadow: 0 8px 18px rgba(16, 40, 44, 0.2);
}
.howto li > span { padding-top: 7px; }
.code-chip {
  padding: 0.08em 0.45em;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
  font: 650 0.86em/1.4 var(--mono);
  white-space: nowrap;
}
.howto-note {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  margin: 26px 0 0;
  padding: 14px 18px;
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(217, 164, 65, 0.12);
  color: var(--ink);
  font-size: 16.5px;
  font-weight: 650;
  line-height: 1.45;
}

.maps-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.maps-tools {
  position: sticky;
  top: var(--topbar-h);
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  border-radius: var(--radius) var(--radius) 0 0;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.maps-stats { margin: 0; color: var(--muted); font: 600 12.5px/1.6 var(--mono); }
.maps-stats strong { color: var(--ink); font-weight: 800; }
.maps-stats .sep { margin: 0 8px; color: var(--line-strong); }
.search { position: relative; flex: 1 1 280px; max-width: 420px; }
.search svg { position: absolute; left: 15px; top: 50%; width: 18px; height: 18px; color: var(--muted); transform: translateY(-50%); pointer-events: none; }
.search input {
  width: 100%;
  min-height: 48px;
  padding: 10px 16px 10px 44px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--paper);
  font-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.search input::placeholder { color: #8a9597; }
.search input:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 3px rgba(24, 122, 114, 0.18); }
.search input:disabled { opacity: 0.6; }
.maps-found { margin: 0; padding: 12px 22px 0; color: var(--teal); font: 700 12px/1.4 var(--mono); letter-spacing: 0.04em; }
.maps-found:empty { display: none; }
.maps-list { padding: 4px 22px; }
.maps-empty { margin: 0; padding: 24px 22px; color: var(--muted); text-align: center; }
.maps-foot { margin: 0; padding: 16px 22px 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; line-height: 1.55; }

.country { border-bottom: 1px solid var(--line); }
.country:last-child { border-bottom: 0; }
.country[hidden] { display: none; }
.country-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; min-height: 70px; padding: 10px 0; }
.country-title {
  display: flex;
  flex: 1 1 260px;
  align-items: center;
  gap: 14px;
  min-width: 0;
  min-height: 50px;
  margin: 0;
  padding: 4px 6px 4px 0;
  border: 0;
  border-radius: 8px;
  background: none;
  color: inherit;
  text-align: left;
}
.country-toggle { cursor: pointer; }
.country-toggle:hover .country-name { color: var(--teal-dark); }
.country-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 8px 10px 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-soft);
  font: 700 11px/1 var(--mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.country-more .chev { width: 16px; height: 16px; margin-left: 0; color: inherit; }
.country-toggle:hover .country-more { border-color: var(--line-strong); color: var(--ink); }
.country-toggle[aria-expanded="true"] .country-more { background: var(--ink); border-color: var(--ink); color: #fff; }
.country-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.country-code {
  flex: none;
  min-width: 38px;
  padding: 6px 7px;
  border-radius: 6px;
  background: var(--deep);
  color: #fff;
  text-align: center;
  font: 800 11px/1.2 var(--mono);
  letter-spacing: 0.06em;
}
.country-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.country-name { font: 720 18px/1.3 var(--display); letter-spacing: -0.015em; transition: color 0.2s ease; }
.country-meta { color: var(--muted); font: 600 11.5px/1.4 var(--mono); }
.country-dl, .region-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  font: 700 11.5px/1 var(--mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.country-dl {
  flex: none;
  min-width: 214px;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.country-dl svg { width: 17px; height: 17px; }
.country-dl .pack-size { padding-left: 8px; border-left: 1px solid currentColor; opacity: 0.85; }
.country-dl:hover { background: var(--ink); color: #fff; }
.country-dl--soon, .country-dl--soon:hover { border-color: var(--line); background: transparent; color: var(--muted); }
.region-link--soon { color: var(--muted); }
.region-link--soon .region-action { border-style: dashed; background: transparent; }
.region-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
.region-list[hidden] { display: none; }
.region[hidden] { display: none; }
.region-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 8px 8px 8px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfaf7;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.region-name { flex: 1 1 auto; min-width: 0; font-size: 15px; font-weight: 600; line-height: 1.35; }
.region-size { flex: none; color: var(--muted); font: 600 12px/1.3 var(--mono); white-space: nowrap; }
.region-action {
  flex: none;
  min-height: 38px;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  font-size: 11px;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.region-action svg { width: 15px; height: 15px; }
.region-link:hover { border-color: var(--line-strong); background: #fff; }
.region-link:hover .region-action { border-color: var(--ink); background: var(--ink); color: #fff; }

.skeleton { padding: 14px 0; }
.skeleton i {
  display: block;
  height: 54px;
  margin: 0 0 10px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, #efede7 0%, #f8f7f3 50%, #efede7 100%);
  background-size: 200% 100%;
  animation: shimmer 1.3s ease-in-out infinite;
}
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* ---------- companion ---------- */

.companion { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; gap: clamp(28px, 5vw, 72px); }
.companion-copy h2 { margin: 0; }
.companion-ios {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 24px 0 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.55;
}
.companion-ios svg { flex: none; width: 22px; height: 22px; margin-top: 1px; color: var(--teal); }
.companion-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius);
  color: #fff;
  background:
    radial-gradient(420px 260px at 100% 0%, rgba(79, 140, 255, 0.22), transparent 70%),
    radial-gradient(380px 260px at 0% 100%, rgba(47, 198, 168, 0.16), transparent 70%),
    linear-gradient(160deg, #13303a 0%, #0c1f22 60%, #0a181b 100%);
  box-shadow: 0 34px 80px -36px rgba(16, 40, 44, 0.7);
}
.companion-card::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 44px rgba(255, 255, 255, 0.025), 0 0 0 88px rgba(255, 255, 255, 0.015);
  pointer-events: none;
}
.companion-card > * { position: relative; z-index: 1; }
.companion-head { display: flex; align-items: center; gap: 16px; }
.companion-badge {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 15px;
  background: linear-gradient(135deg, #4f8cff, #2fc6a8);
  box-shadow: 0 12px 26px rgba(47, 198, 168, 0.3);
}
.companion-badge svg { width: 28px; height: 28px; color: #fff; }
.companion-card .card-label { color: rgba(255, 255, 255, 0.58); }
.companion-card h3 { margin: 4px 0 0; font-size: clamp(22px, 2.2vw, 27px); font-weight: 740; line-height: 1.2; letter-spacing: -0.025em; }
.companion-card h3 span { color: #8fe6c6; font-family: var(--mono); font-size: 0.7em; font-weight: 700; letter-spacing: 0; }
.companion-meta { margin: 18px 0 20px; color: rgba(255, 255, 255, 0.72); font: 600 12.5px/1.6 var(--mono); }
.companion-notes { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.companion-notes .card-label { margin-bottom: 8px; }
.companion-notes .notes-body p { color: rgba(255, 255, 255, 0.8); font-size: 14.5px; line-height: 1.6; }

/* ---------- community and support ---------- */

.community { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); align-items: start; gap: clamp(28px, 5vw, 64px); }
.link-cards { display: grid; gap: 10px; margin: 30px 0 0; padding: 0; list-style: none; }
.link-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.link-card-icon {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: rgba(24, 122, 114, 0.1);
  color: var(--teal);
}
.link-card-icon svg { width: 23px; height: 23px; }
.link-card-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.link-card-label { color: var(--muted); font: 700 10.5px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.link-card strong { font: 740 18px/1.3 var(--display); letter-spacing: -0.015em; }
.link-card-text > span:last-child { color: var(--ink-soft); font-size: 14.5px; line-height: 1.45; }
.link-card-arrow { flex: none; width: 20px; height: 20px; margin-left: auto; color: var(--muted); transition: transform 0.2s ease, color 0.2s ease; }

.donate {
  min-width: 0;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.donate .kicker { margin-bottom: 12px; }
.section h2.donate-title { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.12; }
.donate-text { margin: 14px 0 0; color: var(--ink-soft); font-size: 16px; line-height: 1.65; }
.pay-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "bank chip" "number number" "holder holder";
  align-content: space-between;
  gap: 14px 12px;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1.586 / 1;
  margin: 24px 0 18px;
  padding: clamp(18px, 2.4vw, 26px);
  overflow: hidden;
  border-radius: 16px;
  color: #fff;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(217, 164, 65, 0.34), transparent 55%),
    radial-gradient(90% 90% at 0% 100%, rgba(63, 214, 155, 0.14), transparent 60%),
    linear-gradient(135deg, #18383d 0%, #0e2225 55%, #091517 100%);
  box-shadow: 0 26px 50px -24px rgba(16, 40, 44, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.pay-card::before {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -110px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 36px rgba(255, 255, 255, 0.02);
  pointer-events: none;
}
.pay-card-bank { grid-area: bank; color: var(--gold); font: 800 12px/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; }
.pay-card-chip {
  grid-area: chip;
  width: 44px;
  height: 33px;
  border-radius: 7px;
  background: linear-gradient(135deg, #f0d28c 0%, #c99a3c 55%, #a97c26 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}
.pay-card-number {
  grid-area: number;
  align-self: end;
  font: 700 clamp(19px, 2.3vw, 25px)/1.1 var(--mono);
  letter-spacing: 0.03em;
  white-space: nowrap;
  user-select: all;
}
.pay-card-number span + span { margin-left: 0.6em; }
.pay-card-holder { grid-area: holder; color: rgba(255, 255, 255, 0.78); font-size: 14px; font-weight: 600; letter-spacing: 0.05em; }

/* ---------- footer ---------- */

.page-footer { padding-block: 26px 38px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 28px; color: var(--muted); font-size: 13px; }
.footer-inner a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink); text-decoration: none; font-weight: 600; }
.footer-inner a:hover { color: var(--bronze); }
.footer-back span { font-size: 18px; }
.footer-sep { margin: 0 10px; color: var(--line-strong); }

/* ---------- motion ---------- */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.26s ease, box-shadow 0.26s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (hover: hover) and (pointer: fine) {
  .feature.is-in:hover, .js .feature.reveal.is-in:hover { transform: translateY(-4px); border-color: rgba(217, 164, 65, 0.65); box-shadow: 0 24px 52px rgba(20, 32, 34, 0.1); }
  .link-card:hover { transform: translateY(-2px); border-color: var(--teal); box-shadow: 0 18px 40px rgba(20, 32, 34, 0.08); }
  .link-card:hover .link-card-arrow { color: var(--teal); transform: translate(2px, -2px); }
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .topnav { display: none; }
  .back-link { margin-left: auto; border-left: 0; padding-left: 0; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { max-width: 640px; }
  .sky { width: min(78vw, 400px); margin-top: 6px; }
  .facts-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts-list li:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts-list li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .flow-track { grid-template-columns: minmax(0, 1fr); }
  .flow-link { width: 2px; height: 44px; margin: 6px auto; background: repeating-linear-gradient(180deg, rgba(217, 164, 65, 0.7) 0 6px, transparent 6px 12px); }
  .flow-link::after { right: auto; left: -5px; top: auto; bottom: -3px; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 8px solid rgba(217, 164, 65, 0.9); border-bottom: 0; }
  .flow-link i { top: 0; left: -4px; animation-name: flow-dot-down; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .download-grid, .companion, .community, .maps-guide { grid-template-columns: minmax(0, 1fr); }
  .region-list { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 700px) {
  .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .version-row { grid-template-columns: auto minmax(0, 1fr) auto; }
  .version-title { grid-column: 1 / -1; grid-row: 2; }
  .version-dl { grid-column: 3; grid-row: 1; }
}

@media (max-width: 600px) {
  :root { --topbar-h: 58px; }
  body { font-size: 16px; }
  .brand { font-size: 14px; gap: 9px; }
  .brand-mark { width: 30px; height: 30px; font-size: 11px; }
  .back-link { font-size: 10.5px; }
  .hero-eyebrow { gap: 12px; font-size: 11px; }
  .app-icon { width: 48px; height: 48px; border-radius: 12px; }
  .hero h1 { margin-top: 22px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .hero-meta { font-size: 10.5px; }
  .device-tabs { margin-bottom: 12px; padding: 4px; }
  .device-tab { min-height: 40px; padding: 9px 12px; font-size: 10.5px; letter-spacing: 0.05em; }
  .device-caption { font-size: 14px; }
  .facts-list strong { font-size: 17px; }
  .facts-list span { font-size: 13px; }
  .facts-list li { padding: 16px 10px 16px 0; }
  .facts-list li + li { padding-left: 12px; }
  .facts-list li:nth-child(3) { padding-left: 0; }
  .soon { flex-direction: column; gap: 6px; padding: 14px 16px; font-size: 15px; }
  .release-meta > div { grid-template-columns: 88px minmax(0, 1fr); }
  .release-card, .notes-card { padding: 24px 18px; }
  .release-actions .btn { padding: 10px 12px; gap: 9px; font-size: 13.5px; border-radius: 20px; }
  .hash { grid-template-columns: minmax(0, 1fr) auto; }
  .hash-label { grid-column: 1 / -1; }
  .versions > summary { padding: 14px 16px; font-size: 16px; }
  .versions-body { padding: 0 16px 18px; }
  .maps-tools { padding: 12px 14px; }
  .search { flex-basis: 100%; max-width: none; }
  .maps-list { padding: 2px 14px; }
  .maps-found { padding-inline: 14px; }
  .maps-foot { padding-inline: 14px; }
  .country-name { font-size: 16.5px; }
  .country-head { flex-wrap: nowrap; gap: 8px; min-height: 64px; }
  .country-title { flex: 1 1 auto; gap: 10px; padding-right: 0; }
  .country-code { min-width: 34px; padding-inline: 5px; }
  .country-more { padding: 7px; }
  .country-more > span { display: none; }
  .country-dl { min-width: 0; min-height: 42px; padding: 8px 12px; gap: 6px; }
  .country-dl .pack-label { display: none; }
  .country-dl .pack-size { padding-left: 0; border-left: 0; }
  .region-link { gap: 10px; padding-left: 14px; }
  .region-action { padding-inline: 10px; }
  .howto li { grid-template-columns: 34px minmax(0, 1fr); gap: 12px; }
  .howto li::before { width: 34px; height: 34px; font-size: 15px; }
  .howto li > span { padding-top: 4px; }
  .link-card { padding: 14px 16px; gap: 14px; }
  .link-card-icon { width: 42px; height: 42px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 330px) {
  .brand-name { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sky-sweep, .sky-rim { animation: none; transform: rotate(58deg); }
  .sat-halo, .flow-link i, .skeleton i { animation: none; }
  .country-toggle .chev, .chev { transition: none; }
  .sky-ping { display: none; }
  .flow-link i { display: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .shot { transition: none; }
}

@media print {
  .topbar, .hero-stage, .sky, .device-tabs, .maps-tools { display: none; }
  .hero { color: var(--ink); }
  .js .reveal { opacity: 1; transform: none; }
}
