/* BridgeVPN — стили сайта. Без сборки и внешних зависимостей. */

@font-face {
  font-family: "Inter";
  src: url("../fonts/InterVariable.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;

  /* Цвета бренда */
  --bg: #07132E;
  --bg-deep: #050E24;
  --bg-band: #0A1740;
  --surface: #0E1D40;
  --surface-2: #132652;
  --deep-blue: #123A8A;
  --fg: #F5F8FF;
  --fg-2: #B6C3D9;
  --fg-3: #93A3BF;
  --accent: #4FC3F7;
  --accent-strong: #2F80ED;
  --accent-glow: #78D8FF;
  --accent-ink: #07132E;
  --accent-soft: rgba(79, 195, 247, 0.12);
  --success: #2ED9A8;
  --warning: #FFB454;

  /* Живой фон и яркие акценты (каналы RGB для полупрозрачных оттенков) */
  --electric-rgb: 31 79 255;
  --violet-rgb: 106 61 255;
  --pink-rgb: 255 45 149;
  --orange-rgb: 255 106 43;
  --border: rgba(169, 184, 208, 0.16);
  --border-strong: rgba(169, 184, 208, 0.28);
  --card: rgba(255, 255, 255, 0.035);
  --card-hover: rgba(255, 255, 255, 0.055);

  /* Типографика */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, monospace;

  /* Ритм и формы */
  --container: 1120px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(80px, 10vw, 128px);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --header-h: 68px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

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

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

[hidden] { display: none !important; }

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

h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; }

code, kbd { font-family: var(--mono); font-size: 0.875em; }

::selection { background: rgba(79, 195, 247, 0.35); color: var(--fg); }

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

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus-visible { transform: none; }

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

.icon { width: 24px; height: 24px; flex: none; }
.icon--sm { width: 20px; height: 20px; }
.icon--xs { width: 18px; height: 18px; }

/* ---------- Кнопки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.005em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn .icon { width: 20px; height: 20px; }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: 1.0625rem; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 0.9375rem; }

.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 8px 24px -12px rgba(79, 195, 247, 0.7);
}
.btn--primary:hover {
  background: var(--accent-glow);
  box-shadow: 0 12px 32px -12px rgba(120, 216, 255, 0.8);
  transform: translateY(-1px);
}
.btn--primary:active { transform: translateY(0); }

.btn--secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-strong);
  color: var(--fg);
}
.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(169, 184, 208, 0.45);
}

.btn--ghost {
  background: transparent;
  color: var(--accent-glow);
  padding-inline: 12px;
}
.btn--ghost:hover { background: var(--accent-soft); }

.btn--block { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: var(--accent-glow);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(120, 216, 255, 0.35);
  text-underline-offset: 4px;
  transition: text-decoration-color 0.2s var(--ease), color 0.2s var(--ease);
}
.text-link:hover { color: #A8E7FF; text-decoration-color: currentColor; }
.text-link .icon { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }

/* ---------- Живой фон ---------- */

/* Фиксированный слой за всей страницей: медленно плавающие пятна света.
   Яркость пятен ограничена, чтобы текст поверх оставался контрастным. */
.aurora {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100vh;
  height: 100lvh;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(120% 70% at 50% -10%, rgba(30, 72, 190, 0.18), transparent 62%),
    linear-gradient(180deg, #06112C 0%, #050B22 100%);
}
.aurora::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.035;
}
.aurora__blob {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(var(--c)), rgb(var(--c) / 0.6) 35%, rgb(var(--c) / 0.24) 62%, rgb(var(--c) / 0.07) 82%, rgb(var(--c) / 0));
  will-change: transform;
}
.aurora__blob--blue   { --c: var(--electric-rgb); width: 66vmax; height: 66vmax; top: -30vmax; left: -24vmax; opacity: 0.62; }
.aurora__blob--violet { --c: var(--violet-rgb);   width: 56vmax; height: 56vmax; top: -16vmax; right: -22vmax; opacity: 0.5; }
.aurora__blob--pink   { --c: var(--pink-rgb);     width: 50vmax; height: 50vmax; bottom: -24vmax; right: -16vmax; opacity: 0.42; }
.aurora__blob--orange { --c: var(--orange-rgb);   width: 42vmax; height: 42vmax; bottom: -26vmax; left: -12vmax; opacity: 0.38; }

/* На вертикальных экранах пятна меньше, чтобы не сливаться в одно яркое пятно */
@media (max-aspect-ratio: 1/1) {
  .aurora__blob--blue   { width: 120vw; height: 120vw; top: -45vw; left: -40vw; }
  .aurora__blob--violet { width: 100vw; height: 100vw; top: -20vw; right: -45vw; }
  .aurora__blob--pink   { width: 95vw;  height: 95vw;  bottom: -40vw; right: -40vw; }
  .aurora__blob--orange { width: 85vw;  height: 85vw;  bottom: -45vw; left: -35vw; }
}

@media (prefers-reduced-motion: no-preference) {
  .aurora__blob--blue   { animation: aurora-blue 22s ease-in-out infinite alternate; }
  .aurora__blob--violet { animation: aurora-violet 26s ease-in-out infinite alternate; }
  .aurora__blob--pink   { animation: aurora-pink 24s ease-in-out infinite alternate; }
  .aurora__blob--orange { animation: aurora-orange 28s ease-in-out infinite alternate; }
}
/* Пятна движутся каждое в своей части экрана и почти не пересекаются */
@keyframes aurora-blue {
  33%  { transform: translate3d(14vw, 16vh, 0) scale(1.15); }
  66%  { transform: translate3d(4vw, 34vh, 0) scale(0.95); }
  100% { transform: translate3d(20vw, 8vh, 0) scale(1.1); }
}
@keyframes aurora-violet {
  33%  { transform: translate3d(-12vw, 20vh, 0) scale(0.92); }
  66%  { transform: translate3d(-4vw, 40vh, 0) scale(1.12); }
  100% { transform: translate3d(-18vw, 10vh, 0) scale(1); }
}
@keyframes aurora-pink {
  33%  { transform: translate3d(-18vw, -10vh, 0) scale(1.12); }
  66%  { transform: translate3d(-30vw, 4vh, 0) scale(0.92); }
  100% { transform: translate3d(-12vw, -22vh, 0) scale(1.08); }
}
@keyframes aurora-orange {
  33%  { transform: translate3d(16vw, -10vh, 0) scale(1.15); }
  66%  { transform: translate3d(28vw, 2vh, 0) scale(0.92); }
  100% { transform: translate3d(8vw, -18vh, 0) scale(1.1); }
}

/* «Закат» за мостом и в финальном блоке */
@keyframes glow-breathe {
  from { opacity: 0.72; transform: translate(-50%, 50%) scale(0.94, 0.9); }
  to   { opacity: 1;    transform: translate(-50%, 50%) scale(1.04, 1.08); }
}

/* ---------- Шапка ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 19, 46, 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid rgba(169, 184, 208, 0.1);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding-right: 4px;
  border-radius: 12px;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand img { width: 34px; height: 34px; border-radius: 50%; }
.brand__accent { color: var(--accent); }

.nav { display: flex; align-items: center; gap: 4px; }

.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--fg-2);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nowrap { white-space: nowrap; }

.nav__link:hover { color: var(--fg); background: rgba(255, 255, 255, 0.05); }

.header-actions { display: flex; align-items: center; gap: 8px; }

.btn[aria-current="page"] {
  background: rgba(79, 195, 247, 0.14);
  color: var(--accent-glow);
  box-shadow: inset 0 0 0 1px rgba(79, 195, 247, 0.45);
}
.btn[aria-current="page"]:hover { background: rgba(79, 195, 247, 0.2); transform: none; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: background-color 0.2s var(--ease);
}
.nav-toggle:hover { background: rgba(255, 255, 255, 0.09); }
.nav-toggle__bars { position: relative; width: 18px; height: 12px; }
.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--fg);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease), top 0.25s var(--ease);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 5px; }
.nav-toggle__bars span:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

.mobile-nav { display: none; }

@media (max-width: 940px) {
  .nav { display: none; }
  .js .nav-toggle { display: inline-flex; }

  .mobile-nav {
    display: block;
    border-top: 1px solid rgba(169, 184, 208, 0.1);
    padding: 8px 0 20px;
  }
  .js .mobile-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    background: #061028;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.7);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0s linear 0.22s;
  }
  .js .mobile-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0s;
  }
  .mobile-nav__list { display: grid; gap: 2px; }
  .mobile-nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    padding: 0 12px;
    border-radius: 14px;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: background-color 0.2s var(--ease);
  }
  .mobile-nav__link:hover { background: rgba(255, 255, 255, 0.05); }
  .mobile-nav__link .icon { width: 18px; height: 18px; color: var(--fg-3); }
  .mobile-nav__cta { margin-top: 12px; }
}

@media (max-width: 420px) {
  .header-actions .btn--sm { padding: 0 14px; }
}
@media (max-width: 360px) {
  .header-actions .btn--sm .icon { display: none; }
}

/* ---------- Общие элементы секций ---------- */

.section { padding-block: var(--section); position: relative; }
.section--flush-top { padding-top: 0; }
/* Полоса-подложка: края растворяются в живом фоне, без резкой границы */
.section--band {
  --band-fade: clamp(72px, 12vw, 160px);
  background:
    linear-gradient(180deg,
      rgba(10, 23, 64, 0) 0%,
      rgba(10, 23, 64, 0.52) var(--band-fade),
      rgba(8, 21, 54, 0.46) calc(100% - var(--band-fade)),
      rgba(8, 21, 54, 0) 100%);
}

.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--accent-glow);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.h2 {
  font-size: clamp(2rem, 1.2rem + 3vw, 3.25rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 650;
  letter-spacing: -0.015em;
}

.lead {
  max-width: 62ch;
  margin-top: 20px;
  color: var(--fg-2);
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.muted { color: var(--fg-2); }
.small { font-size: 0.9375rem; line-height: 1.55; }

.gradient-text {
  background: linear-gradient(100deg, #9BE4FF 0%, #5FA8FF 32%, #9A8CFF 64%, #FF7AB8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)), rgba(7, 15, 40, 0.5);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.card:hover { border-color: rgba(120, 216, 255, 0.3); }

.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-glow);
  box-shadow: inset 0 0 0 1px rgba(79, 195, 247, 0.18);
}

.card__text { margin-top: 10px; color: var(--fg-2); font-size: 1rem; line-height: 1.6; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.badge .icon { width: 16px; height: 16px; }
.badge--accent { background: rgba(79, 195, 247, 0.14); color: var(--accent-glow); box-shadow: inset 0 0 0 1px rgba(79, 195, 247, 0.35); }
.badge--soon { background: rgba(255, 255, 255, 0.06); color: var(--fg-2); box-shadow: inset 0 0 0 1px var(--border-strong); }
.badge--warning { background: rgba(255, 180, 84, 0.12); color: var(--warning); box-shadow: inset 0 0 0 1px rgba(255, 180, 84, 0.4); }
.badge--success { background: rgba(46, 217, 168, 0.12); color: var(--success); box-shadow: inset 0 0 0 1px rgba(46, 217, 168, 0.35); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(56px, 8vw, 96px);
  text-align: center;
  background: radial-gradient(1100px 560px at 50% -10%, rgba(47, 107, 255, 0.2), transparent 65%);
}

.hero__inner { position: relative; z-index: 1; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 0 16px 0 12px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(12, 22, 54, 0.6);
  color: var(--fg-2);
  font-size: 0.9375rem;
  font-weight: 500;
}
.pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(46, 217, 168, 0.16);
}

.hero__title {
  max-width: 22ch;
  margin: 28px auto 0;
  font-size: clamp(2.5rem, 1.25rem + 4.4vw, 4.75rem);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.038em;
  text-wrap: balance;
}
.hero__title span { display: block; }

.hero__lead {
  max-width: 44rem;
  margin: 28px auto 0;
  color: var(--fg-2);
  font-size: clamp(1.125rem, 1.02rem + 0.45vw, 1.375rem);
  line-height: 1.5;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 16px;
  margin-top: 40px;
}

.hero__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--fg-2);
  font-size: 0.9375rem;
}
.hero__note .icon { width: 18px; height: 18px; color: var(--success); }
.hero__note strong { color: var(--fg); font-weight: 600; }

.bridge {
  position: relative;
  isolation: isolate;
  margin-top: clamp(24px, 4vw, 48px);
  height: clamp(220px, 27.8vw, 400px);
  pointer-events: none;
}
.bridge::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: 27%;
  width: min(1500px, 160%);
  aspect-ratio: 3.2;
  transform: translate(-50%, 50%);
  background: radial-gradient(closest-side, rgb(var(--orange-rgb) / 0.6), rgb(var(--pink-rgb) / 0.42) 34%, rgb(var(--violet-rgb) / 0.2) 62%, transparent);
}
.bridge__svg { width: 100%; height: 100%; overflow: visible; }

.bridge__pulse {
  stroke-dasharray: 70 930;
  stroke-dashoffset: 70;
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .bridge__pulse {
    opacity: 1;
    animation: bridge-flow 6.5s linear infinite;
  }
  .bridge__pulse--late { animation-duration: 9s; animation-delay: -4s; }
  .bridge__pulse--cable { stroke-dasharray: 50 950; animation-duration: 7.5s; animation-delay: -2s; }
  .bridge::before { animation: glow-breathe 9s ease-in-out infinite alternate; }
  .cta::before { animation: glow-breathe 11s ease-in-out infinite alternate; }
}
@keyframes bridge-flow {
  from { stroke-dashoffset: 70; }
  to { stroke-dashoffset: -930; }
}

/* Полоса фактов */
.facts {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: -8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(10, 23, 64, 0.6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  text-align: left;
}
.fact { padding: 28px 28px 26px; }
.fact + .fact { border-left: 1px solid var(--border); }
.fact__value {
  display: block;
  font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.25rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.035em;
  white-space: nowrap;
}
.fact__label { display: block; margin-top: 8px; color: var(--fg-2); font-size: 0.9375rem; line-height: 1.45; }

.hero-wrap { padding-bottom: clamp(64px, 8vw, 104px); }

/* ---------- Преимущества ---------- */

.benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.honest {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-top: 16px;
  padding: 24px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
}
.honest__icon { color: var(--accent-glow); margin-top: 2px; }
.honest__title { font-weight: 650; letter-spacing: -0.01em; }
.honest__text { margin-top: 6px; color: var(--fg-2); font-size: 1rem; max-width: 80ch; }

/* ---------- Возможности (bento) ---------- */

.bento {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-auto-rows: minmax(0, auto);
  gap: 16px;
}
.bento__hero {
  grid-row: span 3;
  display: flex;
  flex-direction: column;
  padding: 36px;
  overflow: hidden;
  background:
    radial-gradient(520px 320px at 80% 100%, rgba(79, 195, 247, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(19, 38, 82, 0.9), rgba(12, 27, 62, 0.9));
  border-color: rgba(79, 195, 247, 0.22);
}
.bento__hero .h3 { font-size: 1.625rem; letter-spacing: -0.025em; }
.bento__hero .card__text { font-size: 1.0625rem; max-width: 34ch; }

.mock {
  margin-top: auto;
  padding-top: 36px;
}
.mock__panel {
  padding: 20px;
  border: 1px solid rgba(169, 184, 208, 0.2);
  border-radius: 22px;
  background: rgba(5, 14, 36, 0.72);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}
.mock__head { display: flex; align-items: center; gap: 12px; }
.mock__head img { width: 40px; height: 40px; border-radius: 50%; }
.mock__name { font-weight: 650; letter-spacing: -0.01em; }
.mock__sub { color: var(--fg-2); font-size: 0.875rem; line-height: 1.3; }
.mock__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(46, 217, 168, 0.08);
  box-shadow: inset 0 0 0 1px rgba(46, 217, 168, 0.25);
}
.mock__status-title { display: flex; align-items: center; gap: 8px; color: var(--success); font-weight: 650; font-size: 0.9375rem; }
.mock__status-title i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.mock__status span:last-child { color: var(--fg-2); font-size: 0.875rem; }
.mock__rows { display: grid; gap: 10px; margin-top: 14px; }
.mock__row { display: flex; justify-content: space-between; gap: 12px; font-size: 0.9375rem; }
.mock__row dt { color: var(--fg-2); }
.mock__row dd { font-weight: 600; text-align: right; }
.mock__bar { height: 6px; margin-top: 4px; border-radius: 999px; background: rgba(169, 184, 208, 0.16); overflow: hidden; }
.mock__bar span { display: block; width: 66%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent-strong), var(--accent)); }
.mock__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.mock__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 10px;
  text-align: center;
  white-space: nowrap;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.875rem;
  font-weight: 600;
}
.mock__btn--accent { background: var(--accent); color: var(--accent-ink); }

.feature .h3 { font-size: 1.125rem; }
.feature .card__text { font-size: 0.9375rem; }
.feature .icon-tile { width: 44px; height: 44px; margin-bottom: 18px; }

/* ---------- Локации ---------- */

.locations-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(40px, 6vw, 56px);
}
.locations-head .section-head { margin-bottom: 0; }

.locations {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.location {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
}
.location__code {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 30px;
  padding: 0 10px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--accent-glow);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.location__body { min-width: 0; }
.location__country { font-size: 1.0625rem; font-weight: 650; letter-spacing: -0.01em; }
.location__proto { margin-top: 2px; color: var(--fg-2); font-size: 0.9375rem; }

.smart {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  margin-top: 12px;
  padding: 24px 28px;
  border-color: rgba(79, 195, 247, 0.28);
  background:
    linear-gradient(90deg, rgba(47, 128, 237, 0.16), rgba(79, 195, 247, 0.04) 60%, transparent),
    rgba(7, 15, 40, 0.5);
}
.smart .icon-tile { margin-bottom: 0; }
.smart__text { color: var(--fg-2); font-size: 1rem; margin-top: 4px; }

.note {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  color: var(--fg-2);
  font-size: 0.9375rem;
  line-height: 1.55;
}
.note .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--fg-3); }

/* ---------- Шаги ---------- */

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  counter-reset: step;
}
.step { padding: 32px 28px; }
.step__num {
  display: block;
  margin-bottom: 28px;
  font-size: 3rem;
  line-height: 1;
  font-weight: 750;
  letter-spacing: -0.05em;
}
.steps__after {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 24px;
  padding: 0 4px;
}

/* ---------- Тарифы ---------- */

.period {
  display: flex;
  justify-content: center;
  margin: 0 auto 40px;
}
.period[hidden] { display: none; }
.period__track {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(12, 22, 54, 0.6);
}
.period__btn {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--fg-2);
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.period__btn:hover { color: var(--fg); background: rgba(255, 255, 255, 0.06); }
.period__btn[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.period__abbr { display: none; }

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.plan {
  display: flex;
  flex-direction: column;
  padding: 32px 28px 28px;
  border-radius: var(--radius-lg);
}
.plan--featured {
  border-color: rgba(79, 195, 247, 0.55);
  background:
    radial-gradient(420px 260px at 50% 0%, rgba(79, 195, 247, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(19, 38, 82, 0.95), rgba(11, 25, 58, 0.95));
  box-shadow: 0 30px 80px -40px rgba(79, 195, 247, 0.55);
}
.plan--featured:hover { border-color: rgba(120, 216, 255, 0.75); }
.plan__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 28px; }
.plan__name { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; }
.plan__tagline { margin-top: 6px; color: var(--fg-2); font-size: 0.9375rem; }
.plan__price { display: flex; align-items: baseline; gap: 8px; margin-top: 28px; }
.plan__amount {
  font-size: 3rem;
  line-height: 1;
  font-weight: 750;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.plan__currency { font-size: 1.5rem; font-weight: 650; color: var(--fg-2); letter-spacing: -0.02em; }
.plan__per { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 28px; margin-top: 10px; color: var(--fg-2); font-size: 0.9375rem; }
.plan__per .badge { min-height: 24px; padding: 0 10px; font-size: 0.8125rem; }
.plan__facts { display: grid; gap: 10px; margin-top: 24px; padding: 18px 0; border-block: 1px solid var(--border); }
.plan__fact { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1rem; }
.plan__fact .icon { width: 20px; height: 20px; color: var(--accent-glow); }
.plan__list { display: grid; gap: 10px; margin: 20px 0 28px; }
.plan__list li { display: flex; gap: 10px; color: var(--fg-2); font-size: 0.9375rem; line-height: 1.5; }
.plan__list .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--success); }
.plan .btn { margin-top: auto; }

.trial {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 16px;
  padding: 24px 28px;
  border: 1px solid rgba(46, 217, 168, 0.28);
  border-radius: var(--radius-lg);
  background: linear-gradient(90deg, rgba(46, 217, 168, 0.1), rgba(46, 217, 168, 0.02)), rgba(7, 15, 40, 0.5);
}
.trial__main { display: flex; align-items: center; gap: 18px; }
.trial .icon-tile { margin-bottom: 0; background: rgba(46, 217, 168, 0.12); color: var(--success); box-shadow: inset 0 0 0 1px rgba(46, 217, 168, 0.25); }
.trial__title { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.015em; }
.trial__text { margin-top: 2px; color: var(--fg-2); font-size: 0.9375rem; }
.plans-note { margin-top: 20px; text-align: center; color: var(--fg-2); font-size: 0.9375rem; }

/* ---------- FAQ ---------- */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  grid-template-areas: "head list" "support list";
  grid-template-rows: auto 1fr;
  column-gap: clamp(32px, 6vw, 80px);
  row-gap: 0;
  align-items: start;
}
.faq-head { grid-area: head; margin-bottom: 32px; }
.faq { grid-area: list; }
.support { grid-area: support; }
.support {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(9, 18, 46, 0.55);
}
.support__title { font-weight: 650; letter-spacing: -0.01em; }
.support__text { margin: 6px 0 16px; color: var(--fg-2); font-size: 0.9375rem; }

.faq { display: grid; gap: 12px; }
.faq__item {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(9, 18, 46, 0.55);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.faq__item:hover { border-color: rgba(169, 184, 208, 0.3); }
.faq__item[open] { border-color: rgba(79, 195, 247, 0.35); background: linear-gradient(rgba(79, 195, 247, 0.06), rgba(79, 195, 247, 0.06)), rgba(9, 18, 46, 0.6); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 18px 22px;
  border-radius: 18px;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::marker { content: ""; }
.faq__q .icon { width: 20px; height: 20px; color: var(--fg-2); transition: transform 0.25s var(--ease), color 0.2s var(--ease); }
.faq__item[open] .faq__q .icon { transform: rotate(180deg); color: var(--accent-glow); }
.faq__a { padding: 0 22px 22px; color: var(--fg-2); font-size: 1rem; line-height: 1.65; max-width: 68ch; }
.faq__a a { color: var(--accent-glow); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(120, 216, 255, 0.4); }
.faq__a a:hover { text-decoration-color: currentColor; }

/* ---------- Финальный призыв ---------- */

.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 88px) clamp(24px, 6vw, 80px) clamp(150px, 15vw, 190px);
  border: 1px solid rgba(79, 195, 247, 0.3);
  border-radius: 32px;
  text-align: center;
  isolation: isolate;
  background:
    radial-gradient(60% 70% at 0% 0%, rgb(var(--electric-rgb) / 0.3), transparent 70%),
    radial-gradient(55% 65% at 100% 0%, rgb(var(--violet-rgb) / 0.24), transparent 70%),
    linear-gradient(160deg, #0F2A66 0%, #0A1A45 55%, #081436 100%);
}
.cta::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: 18%;
  width: min(1100px, 140%);
  aspect-ratio: 2.4;
  transform: translate(-50%, 50%);
  background: radial-gradient(closest-side, rgb(var(--orange-rgb) / 0.5), rgb(var(--pink-rgb) / 0.36) 36%, rgb(var(--violet-rgb) / 0.16) 66%, transparent);
  pointer-events: none;
}
.cta__arc {
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: min(900px, 150%);
  transform: translateX(-50%);
  opacity: 0.5;
  pointer-events: none;
}
.cta > *:not(.cta__arc) { position: relative; }
.cta .h2 { max-width: 18ch; margin-inline: auto; }
.cta .lead { margin-inline: auto; }
.cta .hero__actions { margin-top: 36px; }

/* ---------- Подвал ---------- */

.site-footer {
  padding: 64px 0 40px;
  border-top: 1px solid rgba(169, 184, 208, 0.1);
  background: rgba(4, 10, 28, 0.82);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 40px;
}
.footer-about { max-width: 38ch; margin-top: 16px; color: var(--fg-2); font-size: 0.9375rem; }
.footer-stack { margin-top: 12px; color: var(--fg-3); font-size: 0.875rem; letter-spacing: 0.02em; }
.footer-title { margin-bottom: 8px; color: var(--fg); font-size: 0.9375rem; font-weight: 650; }
.footer-links { display: grid; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  color: var(--fg-2);
  font-size: 0.9375rem;
  transition: color 0.2s var(--ease);
  justify-self: start;
}
.footer-links a:hover { color: var(--fg); }
.footer-links a[aria-current="page"] { color: var(--fg); }
.footer-links .icon { width: 14px; height: 14px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(169, 184, 208, 0.1);
  color: var(--fg-3);
  font-size: 0.875rem;
}

/* ---------- Страница скачивания ---------- */

.dl-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 72px);
  text-align: center;
  background: radial-gradient(900px 480px at 50% -20%, rgba(47, 107, 255, 0.24), transparent 65%);
}
.dl-hero__logo {
  width: 112px;
  height: 112px;
  margin: 0 auto 28px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(120, 216, 255, 0.25), 0 24px 64px -16px rgba(79, 195, 247, 0.5), 0 0 120px -8px rgb(var(--pink-rgb) / 0.4);
}
.dl-hero .hero__title { margin-top: 0; max-width: 16ch; font-size: clamp(2.5rem, 1.4rem + 4.6vw, 4.5rem); }
.dl-hero .hero__lead { max-width: 42rem; }

.os-hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 10px 16px;
  border: 1px solid rgba(79, 195, 247, 0.3);
  border-radius: 999px;
  background: rgba(79, 195, 247, 0.08);
  color: var(--fg);
  font-size: 0.9375rem;
  line-height: 1.4;
  text-align: left;
}
.os-hint[hidden] { display: none; }
.os-hint .icon { width: 18px; height: 18px; color: var(--accent-glow); }

.platforms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

.platform { display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius-lg); }
.platform.is-current { border-color: rgba(79, 195, 247, 0.6); box-shadow: 0 0 0 1px rgba(79, 195, 247, 0.25), 0 24px 64px -36px rgba(79, 195, 247, 0.6); }
.platform__head { display: flex; align-items: center; gap: 16px; }
.platform__head .icon-tile { margin-bottom: 0; }
.platform__title { font-size: 1.375rem; font-weight: 700; letter-spacing: -0.025em; line-height: 1.25; }
.platform__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.platform__badges:not(:has(.badge:not([hidden]))) { display: none; }
.platform__badges .badge[hidden] { display: none; }
.platform__body { margin-top: 20px; color: var(--fg-2); font-size: 1rem; }
.platform__body strong { color: var(--fg); font-weight: 600; }

.stores { display: grid; gap: 8px; margin-top: 20px; }
.store {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 10px 12px 10px 16px;
  border: 1px dashed rgba(169, 184, 208, 0.26);
  border-radius: 14px;
  color: var(--fg-2);
}
.store__name { display: flex; align-items: center; gap: 10px; color: var(--fg); font-weight: 600; font-size: 0.9375rem; }
.store__name .icon { width: 20px; height: 20px; color: var(--fg-3); }

.platform__alt {
  margin-top: auto;
  padding-top: 20px;
  color: var(--fg-2);
  font-size: 0.9375rem;
  line-height: 1.55;
}
.platform__alt-inner { padding-top: 16px; border-top: 1px solid var(--border); }
.platform__alt strong { color: var(--fg); font-weight: 600; }

/* Карточка Windows */
.platform--main {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 32px 48px;
  padding: clamp(28px, 4vw, 44px);
  background:
    radial-gradient(600px 320px at 0% 0%, rgba(79, 195, 247, 0.14), transparent 70%),
    linear-gradient(180deg, rgba(19, 38, 82, 0.92), rgba(11, 25, 58, 0.92));
  border-color: rgba(79, 195, 247, 0.32);
}
.platform--main .platform__title { font-size: 1.75rem; }
.platform--main > *, .file-info, .file-info dd, .file-info__tip { min-width: 0; }
.platform__meta { margin-top: 6px; color: var(--fg-2); font-size: 0.9375rem; }
.demo-note {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 180, 84, 0.3);
  border-radius: 16px;
  background: rgba(255, 180, 84, 0.07);
  color: var(--fg);
  font-size: 0.9375rem;
  line-height: 1.55;
}
.demo-note .icon { width: 20px; height: 20px; margin-top: 1px; color: var(--warning); }
.demo-note p + p { margin-top: 6px; color: var(--fg-2); }
.platform__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; }

.file-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-content: start;
  padding: 8px 22px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(5, 14, 36, 0.55);
}
.file-info__row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  font-size: 0.9375rem;
}
.file-info__row + .file-info__row { border-top: 1px solid var(--border); }
.file-info dt { color: var(--fg-2); }
.file-info dd { font-weight: 600; overflow-wrap: anywhere; }
.hash { display: block; font-family: var(--mono); font-size: 0.8125rem; font-weight: 500; line-height: 1.6; color: var(--fg); word-break: break-all; }
.copy-btn {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 8px;
  padding: 0 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--fg);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.js .copy-btn { display: inline-flex; }
.copy-btn:hover { background: rgba(255, 255, 255, 0.09); }
.copy-btn .icon { width: 16px; height: 16px; }
.copy-btn.is-done { color: var(--success); border-color: rgba(46, 217, 168, 0.45); }
.file-info__tip { padding: 14px 0 12px; border-top: 1px solid var(--border); color: var(--fg-2); font-size: 0.875rem; line-height: 1.6; }
.file-info__tip code {
  display: block;
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--fg);
  font-size: 0.8125rem;
  overflow-x: auto;
  white-space: nowrap;
}

/* ---------- Появление при прокрутке ---------- */

.reveal-on .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-on .reveal.is-visible { opacity: 1; transform: none; }
.reveal-on .reveal[data-delay="1"] { transition-delay: 0.06s; }
.reveal-on .reveal[data-delay="2"] { transition-delay: 0.12s; }
.reveal-on .reveal[data-delay="3"] { transition-delay: 0.18s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .reveal-on .reveal { opacity: 1; transform: none; }
}

/* ---------- Адаптив ---------- */

@media (max-width: 1080px) {
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento__hero { grid-column: 1 / -1; grid-row: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
  .bento__hero .mock { margin-top: 0; padding-top: 0; }
  .plans { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .plan--featured { order: -1; }
}

@media (max-width: 860px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--border); }
  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: auto 1fr; column-gap: 24px; padding: 28px 24px; }
  .step__num { grid-row: span 2; margin: 0; font-size: 2.5rem; }
  .faq-layout { grid-template-columns: 1fr; grid-template-areas: "head" "list" "support"; grid-template-rows: auto; }
  .support { margin-top: 24px; }
  .locations-head { flex-direction: column; align-items: flex-start; }
  .locations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platform--main { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .trial { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 720px) {
  .bento__hero { grid-template-columns: 1fr; }
  .platforms { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .card { padding: 24px; }
  .benefits, .bento { grid-template-columns: 1fr; }
  .bento__hero { padding: 28px 24px; }
  /* На телефоне локации — единый список, как в приложении */
  .locations {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)), rgba(7, 15, 40, 0.5);
    overflow: hidden;
  }
  .location,
  .location:hover {
    padding: 14px 18px;
    border: 0;
    border-radius: 0;
    background: none;
  }
  .location + .location { border-top: 1px solid var(--border); }
  .smart { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
  .hero__actions { flex-direction: column; align-items: stretch; max-width: 420px; margin-inline: auto; }
  .hero__actions .btn { width: 100%; }
  .hero__note { flex-wrap: wrap; text-align: center; }
  .fact { padding: 20px; }
  .honest { flex-direction: column; gap: 12px; padding: 22px; }
  .period__track { width: 100%; justify-content: space-between; }
  .period__btn { flex: 1; padding: 0 6px; }
  .period__full { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .period__abbr { display: inline; }
  .pill { font-size: 0.875rem; border-radius: 18px; padding: 6px 14px 6px 12px; text-align: left; }
  .hero__note { display: block; }
  .hero__note .icon { display: inline-block; vertical-align: -3px; margin-right: 6px; }
  .benefits .card, .feature { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; padding: 22px 20px; }
  .benefits .card .icon-tile, .feature .icon-tile { grid-row: span 2; width: 44px; height: 44px; margin: 0; }
  .benefits .card .card__text, .feature .card__text { margin-top: 6px; }
  .bento__hero { padding: 24px 20px; }
  .mock__panel { padding: 16px; }
  .mock__status { flex-wrap: wrap; gap: 4px 12px; padding: 12px 14px; }
  .mock__status span { white-space: nowrap; }
  .cta { padding-bottom: 120px; }
  .plan { padding: 28px 22px 24px; }
  .trial { padding: 22px; }
  .trial .btn { width: 100%; }
  .trial__main { align-items: flex-start; }
  .faq__q { padding: 16px 18px; font-size: 1rem; }
  .faq__a { padding: 0 18px 20px; }
  .cta .hero__actions .btn { width: 100%; }
  .platform { padding: 24px 22px; }
  .platform__cta .btn { width: 100%; }
  .file-info { padding: 4px 18px; }
  .file-info__row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-docs { grid-column: 1 / -1; }
  .os-hint { border-radius: 18px; }
}

/* ---------- Документы ---------- */

.doc-hero { padding: clamp(40px, 7vw, 88px) 0 clamp(28px, 4vw, 40px); }
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin-bottom: 20px;
  color: var(--fg-3);
  font-size: 0.875rem;
}
.crumbs a { color: var(--fg-2); text-decoration: underline; text-decoration-color: rgba(182, 195, 217, 0.35); text-underline-offset: 3px; }
.crumbs a:hover { color: var(--fg); text-decoration-color: currentColor; }
.doc-title {
  max-width: 30ch;
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.doc-subtitle { max-width: 64ch; margin-top: 10px; color: var(--fg-2); font-size: 1.125rem; }
.doc-subtitle a { color: var(--accent-glow); text-decoration: underline; text-decoration-color: rgba(120, 216, 255, 0.4); text-underline-offset: 3px; }
.doc-subtitle a:hover { text-decoration-color: currentColor; }
.doc-meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-top: 24px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(7, 15, 40, 0.6);
  color: var(--fg-2);
  font-size: 0.875rem;
}
.doc-meta span + span::before { content: "·"; margin-right: 14px; color: var(--fg-3); }

.doc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  padding-bottom: clamp(56px, 8vw, 96px);
}

.doc-layout--single { max-width: calc(900px + var(--gutter) * 2); }
@media (min-width: 1100px) { .doc-layout.doc-layout--single { grid-template-columns: minmax(0, 1fr); } }

.doc-toc {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(7, 15, 40, 0.62);
  font-size: 0.9375rem;
}
.doc-toc > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 18px;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}
.doc-toc > summary::-webkit-details-marker { display: none; }
.doc-toc > summary .icon { width: 18px; height: 18px; color: var(--accent-glow); }
.doc-toc > summary .icon--chev { margin-left: auto; color: var(--fg-3); transition: transform 0.2s var(--ease); }
.doc-toc[open] > summary .icon--chev { transform: rotate(180deg); }
.doc-toc__title { padding: 18px 20px 6px; color: var(--fg); font-weight: 650; }
.doc-toc ol { list-style: none; margin: 0; padding: 6px 10px 12px; }
.doc-toc a {
  display: grid;
  grid-template-columns: 2ch minmax(0, 1fr);
  gap: 8px;
  padding: 7px 10px;
  border-radius: 10px;
  color: var(--fg-2);
  line-height: 1.35;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.doc-toc a:hover { color: var(--fg); background: rgba(255, 255, 255, 0.05); }
.doc-toc a.is-active { color: var(--fg); background: rgba(79, 195, 247, 0.1); }
.doc-toc__num { color: var(--fg-3); font-variant-numeric: tabular-nums; text-align: right; }
@media (min-width: 1100px) {
  .doc-layout { grid-template-columns: 250px minmax(0, 1fr); gap: 48px; align-items: start; }
  .doc-toc { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow: auto; }
  .doc-toc > summary { display: none; }
}
@media (max-width: 1099px) {
  .doc-toc__title { display: none; }
  .doc-toc ol { padding-top: 0; }
}

.doc {
  min-width: 0;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(5, 12, 33, 0.84);
  color: #E3EAF6;
  font-size: 1.0625rem;
  line-height: 1.7;
}
.doc > * + * { margin-top: 14px; }
.doc p, .doc li { max-width: 72ch; }
.doc__h2 {
  margin-top: 44px;
  padding-top: 4px;
  color: var(--fg);
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.02em;
  scroll-margin-top: 96px;
}
.doc > .doc__h2:first-child { margin-top: 0; }
.doc__h2-num { color: var(--accent-glow); }
.doc strong { color: var(--fg); font-weight: 650; }
.doc a:not(.clause__num) {
  color: var(--accent-glow);
  text-decoration: underline;
  text-decoration-color: rgba(120, 216, 255, 0.4);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.doc a:not(.clause__num):hover { text-decoration-color: currentColor; }
.doc .lead-in { color: var(--fg); font-size: 1.125rem; }

.clause { display: grid; grid-template-columns: 3.4em minmax(0, 1fr); column-gap: 6px; scroll-margin-top: 96px; }
.clause__num { color: var(--fg-3); font-variant-numeric: tabular-nums; }
.clause__num:hover { color: var(--accent-glow); }
.clause:target { margin-inline: -12px; padding: 6px 12px; border-radius: 12px; background: rgba(79, 195, 247, 0.1); }

.doc__list { list-style: none; margin-left: 0; padding-left: calc(3.4em + 6px); }
.doc__list li { position: relative; padding-left: 22px; }
.doc__list li + li { margin-top: 6px; }
.doc__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-glow), #9A8CFF);
}
.doc__list--plain { padding-left: 0; }

.doc-requisites {
  list-style: none;
  margin: 18px 0 0;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}
.doc-requisites li + li { margin-top: 6px; }

.doc-table { margin-top: 18px; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
.doc-table table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.55; }
.doc-table th, .doc-table td { padding: 14px 16px; text-align: left; vertical-align: top; }
.doc-table th { background: rgba(255, 255, 255, 0.05); color: var(--fg); font-weight: 650; white-space: nowrap; }
.doc-table td { border-top: 1px solid var(--border); color: #D5DEEC; }
.doc-table td:first-child { color: var(--fg); font-weight: 600; }
.doc-table td + td, .doc-table th + th { border-left: 1px solid rgba(169, 184, 208, 0.1); }

/* Широкая таблица (цели обработки данных) — карточками на любой ширине */
.doc-table--wide { overflow: visible; border: 0; border-radius: 0; }
.doc-table--wide thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.doc-table--wide table, .doc-table--wide tbody, .doc-table--wide tr, .doc-table--wide td { display: block; width: 100%; }
.doc-table--wide tr { padding: 6px 22px 8px; border: 1px solid var(--border); border-radius: 18px; background: rgba(255, 255, 255, 0.03); }
.doc-table--wide tr + tr { margin-top: 12px; }
.doc-table--wide td {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 4px 20px;
  padding: 11px 0;
  border-top: 1px solid rgba(169, 184, 208, 0.1);
}
.doc-table--wide td + td { border-left: 0; }
.doc-table--wide td::before { content: attr(data-label); color: var(--fg-3); font-size: 0.8125rem; font-weight: 600; line-height: 1.9; }
.doc-table--wide td:first-child { display: block; padding: 14px 0 12px; border-top: 0; color: var(--fg); font-size: 1.0625rem; font-weight: 650; }
.doc-table--wide td:first-child::before { content: none; }

mark.todo {
  padding: 0 5px;
  border: 1px dashed rgba(255, 180, 84, 0.7);
  border-radius: 6px;
  background: rgba(255, 180, 84, 0.14);
  color: #FFD08A;
  font-weight: 600;
  white-space: normal;
}
.doc-draft {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 28px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 180, 84, 0.45);
  border-radius: 16px;
  background: rgba(255, 180, 84, 0.1);
  color: #FFE2B5;
  font-size: 0.9375rem;
  line-height: 1.55;
}
.doc-draft .icon { flex: none; width: 20px; height: 20px; margin-top: 1px; color: #FFB454; }
.doc-draft strong { color: #FFD08A; }

.doc-more { padding-top: 0; }
.doc-more__title { margin-bottom: 20px; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.015em; }
.doc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.doc-card { display: flex; flex-direction: column; gap: 10px; height: 100%; }
.doc-card .icon-tile { margin-bottom: 4px; }
.doc-card__title { color: var(--fg); font-size: 1.125rem; font-weight: 650; line-height: 1.3; letter-spacing: -0.01em; }
.doc-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.doc-card__text { color: var(--fg-2); font-size: 0.9375rem; line-height: 1.55; }
.doc-card__meta { margin-top: auto; padding-top: 6px; color: var(--fg-3); font-size: 0.8125rem; }
.doc-card:focus-within { border-color: rgba(120, 216, 255, 0.55); }
.doc-card a:focus-visible { outline: none; }
.doc-card:has(a:focus-visible) { outline: 3px solid var(--accent-glow); outline-offset: 3px; }

.plans-legal { margin-top: 8px; text-align: center; color: var(--fg-3); font-size: 0.875rem; }
.plans-legal a { color: var(--fg-2); text-decoration: underline; text-decoration-color: rgba(182, 195, 217, 0.4); text-underline-offset: 3px; }
.plans-legal a:hover { color: var(--fg); text-decoration-color: currentColor; }

@media (max-width: 720px) {
  .doc-meta { display: flex; flex-direction: column; align-items: flex-start; border-radius: 16px; }
  .doc-meta span + span::before { content: none; }
  .doc { font-size: 1rem; line-height: 1.65; border-radius: var(--radius); }
  .clause { display: block; }
  .clause__num { margin-right: 4px; }
  .doc__list { padding-left: 0; }
  .clause:target { margin-inline: -10px; padding: 6px 10px; }
  /* Таблицы на телефоне — карточками */
  .doc-table { overflow: visible; border: 0; border-radius: 0; }
  .doc-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .doc-table table, .doc-table tbody, .doc-table tr, .doc-table td { display: block; width: 100%; }
  .doc-table tr { padding: 6px 16px; border: 1px solid var(--border); border-radius: 16px; background: rgba(255, 255, 255, 0.03); }
  .doc-table tr + tr { margin-top: 12px; }
  .doc-table td { padding: 10px 0; border-top: 1px solid rgba(169, 184, 208, 0.1); }
  .doc-table td + td { border-left: 0; }
  .doc-table td:first-child { border-top: 0; font-size: 1rem; }
  .doc-table--wide tr { padding: 6px 16px; }
  .doc-table--wide td { display: block; padding: 10px 0; }
  .doc-table td[data-label]:not(:first-child)::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    color: var(--fg-3);
    font-size: 0.8125rem;
    font-weight: 600;
  }
}

@media print {
  .aurora, .site-header, .site-footer, .skip-link, .doc-toc, .doc-more, .crumbs, .doc-draft { display: none !important; }
  html, body { background: #fff !important; color: #000 !important; }
  .doc-hero { padding: 0 0 12px; }
  .doc-title, .doc-subtitle, .doc-meta, .doc, .doc strong, .doc__h2, .doc__h2-num, .clause__num, .doc-table th, .doc-table td, .doc-table td:first-child { color: #000 !important; }
  .doc-meta, .doc, .doc-table, .doc-requisites { border-color: #999 !important; background: none !important; }
  .doc { padding: 0; border: 0; font-size: 11pt; }
  .doc a { color: #000 !important; text-decoration: none !important; }
  .doc-layout { display: block; padding: 0; }
  .doc-table th { background: #eee !important; }
  .doc-table td, .doc-table th { border-color: #999 !important; }
  mark.todo { color: #000; background: #ffe8b0; }
}
