/* ============================================================
   Invisible Net — вариант «Обсидиан и свет» (v4, после критики)
   Одна метафора — луч через призму — живёт в первом экране и финале.
   Ниже — спокойная, плотная типографика без повторов образа.
   Темы — два времени суток одной сцены (по умолчанию «Обсидиан», 11-15):
   «Обсидиан» — ночь: луч единственный источник, спектр светится;
   «Алебастр» — день: рассеянный свет, призма отбрасывает тень и каустику.
   ============================================================ */
:root {
  --bg: #08090b;
  --bg-2: #111317;
  --surface: #15181c;
  --ink: #edece8;
  --ink-2: #b0afa9;
  --muted: #85847e;
  --line: #262a30;
  --line-2: #363b42;
  --sp1: #dce6f3;
  --sp2: #e6cfa6;
  --sp3: #c6bde8;
  --glow: 1;               /* свечение линий: ночью есть, днём нет */
  --wash-1: rgba(117,145,184,.075);
  --wash-2: rgba(146,128,178,.055);
  --map-dot: rgba(218,229,243,.18);
  --map-node: #d8bd88;
  --map-you: #a9c7df;
  --hero-bg: linear-gradient(115deg, #08090b 0%, #101216 52%, #090a0c 100%);
  --solid-bg: #edece8;
  --solid-ink: #08090b;
  /* 11-15: шрифты как на основном сайте. --serif — крупные заголовки и цифры,
     --display/--text — Golos (мелкие заголовки, текст, кнопки). */
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --display: 'Golos Text', -apple-system, 'Segoe UI', system-ui, sans-serif;
  --text: 'Golos Text', -apple-system, 'Segoe UI', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  color-scheme: dark;
}
:root[data-theme="alabaster"] {
  --bg: #efeeea; --bg-2: #e6e5e0; --surface: #f7f6f3;
  --ink: #121212; --ink-2: #44423e; --muted: #625f59;
  --line: #d2cdc2; --line-2: #bdb7ab;
  --sp1: #5f8fcf; --sp2: #c98d34; --sp3: #8a6fd0;
  --glow: 0;
  --wash-1: rgba(118,145,181,.09);
  --wash-2: rgba(166,145,190,.055);
  --map-dot: rgba(34,47,63,.17);
  --map-node: #a67d3f;
  --map-you: #39765f;
  --hero-bg: linear-gradient(115deg, #f3f2ee 0%, #eeede8 54%, #e8e7e1 100%);
  --solid-bg: #121212; --solid-ink: #efeeea;
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; scrollbar-color: var(--line-2) var(--bg); scrollbar-width: thin; }
body { font: 400 17px/1.65 var(--text); background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 4px; border-radius: 2px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--ink); color: var(--bg); padding: 10px 14px; }
.skip:focus { top: 14px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.025em; text-wrap: balance; }

/* ---------- шапка ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 20; border-bottom: 1px solid transparent; transition: background .4s, border-color .4s; }
.top.solid {
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: var(--line);
}
.top-in { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { display: block; width: 31px; height: 31px; object-fit: contain; flex: 0 0 31px; }
.brand-name { display: block; color: var(--ink); font: 600 15px/1 var(--display); letter-spacing: -.045em; }
.brand-light { color: #a6c6df; }
.brand-name small { display: block; margin-top: 5px; color: var(--muted); font: 500 8px/1 var(--mono); letter-spacing: .19em; }
.menu { display: flex; gap: 28px; margin-left: auto; }
.menu a { text-decoration: none; font-size: 14.5px; color: var(--ink-2); transition: color .2s; }
.menu a:hover { color: var(--ink); }
.top-cta {
  font-size: 14.5px; text-decoration: none; color: var(--ink); white-space: nowrap;
  padding: 11px 18px; border: 1px solid var(--line-2); border-radius: 999px;
  transition: background .25s, color .25s, border-color .25s;
}
.top-cta:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* переключатель темы: диск-«линза», половина поворачивается */
.lens { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; border-radius: 50%; }
.lens-disc { position: relative; width: 22px; height: 22px; border-radius: 50%; border: 1.2px solid var(--line-2); background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--sp2) 12%, transparent), transparent 72%); box-shadow: 0 0 0 1px color-mix(in srgb, var(--line) 65%, transparent), inset 0 0 7px color-mix(in srgb, var(--sp1) 14%, transparent); overflow: visible; transition: transform .6s cubic-bezier(.65, 0, .35, 1), border-color .3s, box-shadow .3s; }
.lens-disc::before { content: ""; position: absolute; inset: -5px 1px; border: 1px solid color-mix(in srgb, var(--sp1) 38%, transparent); border-radius: 50%; transform: rotate(-32deg) scaleX(.62); transition: transform .6s cubic-bezier(.65, 0, .35, 1), border-color .3s; }
.lens-disc::after { content: ""; position: absolute; top: 0; right: 1px; width: 4px; height: 4px; border-radius: 50%; background: var(--sp2); box-shadow: 0 0 8px color-mix(in srgb, var(--sp2) 72%, transparent); transition: transform .6s cubic-bezier(.65, 0, .35, 1), background .3s; }
.lens-disc i { position: absolute; inset: 7px; border-radius: 50%; background: var(--sp2); box-shadow: 0 0 8px color-mix(in srgb, var(--sp2) 65%, transparent); transition: background .35s, transform .5s; }
.lens[data-theme="alabaster"] .lens-disc { transform: rotate(180deg); }
.lens:hover .lens-disc { transform: rotate(-30deg); }
.lens[data-theme="alabaster"]:hover .lens-disc { transform: rotate(150deg); }
.lens:active .lens-disc { transform: scale(.86); }
.lens:hover .lens-disc::before { transform: rotate(14deg) scaleX(.82); border-color: color-mix(in srgb, var(--sp2) 62%, transparent); }
.lens[data-theme="alabaster"] .lens-disc i { transform: scale(1.22); background: var(--sp1); }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 30px; border-radius: 999px;
  font: 500 15.5px/1 var(--text); text-decoration: none; white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s, box-shadow .3s;
}
.btn-solid { background: var(--solid-bg); color: var(--solid-ink); }
.btn-solid:hover { box-shadow: 0 0 0 6px color-mix(in srgb, var(--ink) 12%, transparent); }
.btn-quiet { border: 1px solid var(--line-2); color: var(--ink); }
.btn-quiet:hover { border-color: var(--ink); }
.link-down { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 6px; color: var(--ink-2); text-decoration: none; font-size: 15.5px; }
.link-down:hover { color: var(--ink); }

/* ---------- первый экран: текст слева, сцена справа ---------- */
.hero-cover { position: relative; min-height: min(88svh, 880px); display: flex; align-items: center; padding: 132px 0 92px; overflow: hidden; isolation: isolate; background: var(--hero-bg); }
.beam { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero-cover .beam { z-index: 0; }
.prism3d { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.prism-facets { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.hero-in { position: relative; z-index: 3; width: 100%; }
h1 { font-weight: 250; font-size: clamp(48px, 5.2vw, 82px); line-height: 1.02; letter-spacing: -.04em; max-width: 8.2em; }
h1 span { display: block; color: var(--ink-2); }
.hero-kicker { display: flex; align-items: center; gap: 10px; width: fit-content; margin-bottom: 25px; padding: 8px 11px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink-2); font: 500 10.5px/1.2 var(--mono); letter-spacing: .075em; }
.hero-kicker i { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: var(--sp1); box-shadow: 0 0 calc(var(--glow) * 9px) var(--sp1); }
.lead { max-width: 34em; margin-top: 24px; color: var(--ink-2); font-size: clamp(16.5px, 1.35vw, 19px); }
.acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 36px; }
.trial { margin-top: 18px; font-size: 14.5px; color: var(--ink-2); }
.trial a { white-space: nowrap; }
.facts { margin-top: 6px; font-size: 14.5px; color: var(--muted); }

/* ---------- секции ---------- */
.sect { padding: clamp(76px, 8vw, 116px) 0; }
.sect-2 { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-weight: 300; font-size: clamp(34px, 3.9vw, 54px); line-height: 1.04; }
.intro { max-width: 34em; margin-top: 16px; color: var(--ink-2); font-size: 17.5px; }
.honest { max-width: 62ch; margin-top: 48px; font-size: 14.5px; color: var(--muted); }

/* как это работает: заголовок слева, шаги справа — асимметрия */
.how { display: grid; grid-template-columns: 1fr; gap: 24px; }
.how-head { max-width: 56rem; }
.how .intro { margin-top: 10px; }
.sect#how { padding: clamp(52px, 5vw, 68px) 0 clamp(40px, 4vw, 56px); }
.sect#plans { padding-top: clamp(60px, 6vw, 86px); }
.phases { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.phases li { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 12px; align-content: start; padding: 19px 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.ph-n { grid-row: 1 / span 2; padding-top: 2px; font: 400 14px/1.4 var(--mono); color: var(--muted); }
.phases h3 { font-size: 19px; line-height: 1.3; font-weight: 450; margin-bottom: 7px; }
.phases p { grid-column: 2; color: var(--ink-2); max-width: none; font-size: 15px; line-height: 1.5; }
.paths { grid-column: 1; margin-top: 6px; padding-top: 22px; border-top: 1px solid var(--line); }
.paths h3 { font-size: 19px; line-height: 1.3; font-weight: 450; margin-bottom: 15px; }
.paths ul { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 22px; }
.paths li { display: grid; align-content: start; gap: 5px; padding-left: 13px; border-left: 2px solid var(--line-2); }
.paths b { font: 500 15.5px/1.35 var(--display); }
.paths span { font-size: 14px; line-height: 1.45; color: var(--muted); }
.auto-note { margin-top: 14px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.auto-note b { color: var(--ink-2); font-weight: 500; }
.sp { display: block; height: 2px; width: 28px; margin-bottom: 6px; border-radius: 2px; }
.sp-1 { background: var(--sp1); box-shadow: 0 0 calc(var(--glow) * 12px) var(--sp1); }
.sp-2 { background: var(--sp2); box-shadow: 0 0 calc(var(--glow) * 12px) var(--sp2); }
.sp-3 { background: var(--sp3); box-shadow: 0 0 calc(var(--glow) * 12px) var(--sp3); }
.sp-4 { background: repeating-linear-gradient(90deg, var(--ink-2) 0 6px, transparent 6px 12px); }
.how .honest { grid-column: 1; max-width: 72ch; margin-top: 0; }

/* тарифы: две карточки, цена читается целиком, кнопки внизу в ряд */
.trial-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px;
  margin-top: 36px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.trial-row p { color: var(--ink-2); max-width: 46em; }
.trial-row b { color: var(--ink); font-weight: 500; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 20px; margin-top: 32px; }
.plan, .plan + .plan { position: relative; display: flex; flex-direction: column; padding: 28px 30px 30px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.plan-main { border-color: color-mix(in srgb, var(--sp2) 42%, var(--line)); background: linear-gradient(145deg, color-mix(in srgb, var(--sp2) 7%, var(--surface)), var(--surface) 65%); }
.plan-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.plan h3 { font-size: 22px; font-weight: 400; }
.plan-tag { font: 400 13px/1.3 var(--text); color: var(--muted); }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: 18px; padding-block: 4px; }
.price b { font: 300 clamp(58px, 6vw, 84px)/1.15 var(--display); letter-spacing: -.045em; }
.price span { font: 300 clamp(26px, 2.6vw, 34px)/1 var(--display); color: var(--ink-2); }
.price em { flex-basis: 100%; margin-top: 4px; font: 400 14.5px/1.4 var(--text); font-style: normal; color: var(--muted); }
.plan ul { list-style: none; margin: 20px 0 26px; }
.plan li { padding: 9px 0; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 16px; }
.plan-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.plan-actions .btn { flex: 1 1 200px; padding: 0 20px; }
.plans-note { max-width: 62ch; margin-top: 18px; font-size: 14px; color: var(--muted); }

/* карта сети и живой перечень активных направлений */
.places-section { background: var(--bg-2); border-block: 1px solid var(--line); }
.places-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; margin-bottom: 42px; }
.section-kicker { margin-bottom: 16px; color: var(--muted); font: 500 10px/1.2 var(--mono); letter-spacing: .14em; }
.places-head h2 { max-width: 10em; }
.places-head h2 span { color: var(--ink-2); }
.places-lead { max-width: 380px; padding-bottom: 4px; color: var(--ink-2); font-size: 16px; }
.places-layout { display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(330px, .82fr); gap: 20px; align-items: stretch; }
.map-card, .places-panel { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.map-card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; padding: 0 20px; border-bottom: 1px solid var(--line); color: var(--muted); font: 500 10px/1 var(--mono); letter-spacing: .08em; }
.map-card-head > span { display: flex; align-items: center; gap: 9px; }
.map-card-head i { width: 6px; height: 6px; border-radius: 50%; background: var(--map-node); box-shadow: 0 0 12px color-mix(in srgb, var(--map-node) 42%, transparent); }
.map-card-head b { color: var(--ink-2); font: 500 11px/1 var(--text); letter-spacing: 0; }
.map-card-head b span { color: var(--ink); }
.network-map.hero { position: relative; min-height: 420px; height: clamp(360px, 37vw, 480px); margin: 0; padding: 0; overflow: hidden; isolation: isolate; background: radial-gradient(ellipse at 52% 50%, color-mix(in srgb, var(--sp1) 10%, var(--surface)), transparent 68%); }
.network-map .hero-map { position: absolute; inset: 0; display: block; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: .96; animation: none; -webkit-mask-image: radial-gradient(ellipse 80% 76% at 50% 50%, #000 56%, transparent 100%); mask-image: radial-gradient(ellipse 80% 76% at 50% 50%, #000 56%, transparent 100%); }
.map-legend { position: absolute; z-index: 1; left: 20px; bottom: 18px; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 11px; }
.map-legend span { display: flex; align-items: center; gap: 7px; }
.map-legend i { width: 7px; height: 7px; border-radius: 50%; background: var(--map-node); }
.map-legend .you-dot { background: var(--map-you); }
.map-coordinates { position: absolute; z-index: 1; right: 20px; bottom: 19px; color: var(--muted); font: 10px/1 var(--mono); letter-spacing: .12em; }
.map-note { padding: 14px 20px 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.places-panel { display: flex; flex-direction: column; padding: 24px; }
.region-block { padding: 19px 0 20px; border-bottom: 1px solid var(--line); }
.region-block:first-child { padding-top: 2px; }
.region-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.region-head h3 { font: 400 20px/1.25 var(--display); }
.region-head > span { color: var(--muted); font: 10px/1 var(--mono); letter-spacing: .08em; }
.region-block > p { margin-top: 7px; color: var(--muted); font-size: 12px; }
.country-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.country-chips button { display: inline-flex; align-items: center; gap: 7px; min-height: 31px; padding: 0 10px; border: 1px solid var(--line); border-radius: 5px; background: transparent; color: var(--ink-2); font: 400 11px/1 var(--text); cursor: pointer; transition: color .18s, border-color .18s, background .18s; }
.country-chips button::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--map-node); opacity: .65; }
.country-chips button:hover, .country-chips button[aria-pressed="true"] { border-color: var(--map-node); background: color-mix(in srgb, var(--map-node) 8%, transparent); color: var(--ink); }
.country-chips button:focus-visible { outline-color: var(--map-node); }
.route-note { margin-top: 18px; color: var(--ink-2); font-size: 12px; }
.route-note b { color: var(--ink); font-weight: 500; }
.bridge-note { margin-top: 12px; color: var(--muted); font-size: 11px; }
.region-other[hidden] { display: none; }

/* условия — плотная сетка */
.terms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; margin-top: 40px; border-top: 1px solid var(--line); }
.terms div { padding: 24px 0 26px; border-bottom: 1px solid var(--line); }
.terms dt { font: 400 18px/1.3 var(--display); margin-bottom: 6px; }
.terms dd { color: var(--ink-2); font-size: 15px; }
.terms a, .help a { color: var(--ink); }
.help { margin-top: 36px; color: var(--muted); font-size: 15px; }

/* финал: компактная полоса, призма справа */
.final { position: relative; overflow: hidden; isolation: isolate; padding: clamp(58px, 7vw, 92px) 0; background: var(--hero-bg); border-top: 1px solid var(--line); }
.final-in { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.final h2 { font-weight: 200; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.05; max-width: 11em; }
.final h2 span { display: block; color: var(--ink-2); }
.final-note { color: var(--muted); font-size: 13px; letter-spacing: .015em; }

.foot { padding: 32px 0 40px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 32px; }
.foot nav { display: flex; gap: 22px; }
.foot a { text-decoration: none; color: var(--ink-2); }
.foot a:hover { color: var(--ink); }

/* ---------- адаптив ---------- */
@media (max-width: 1180px) {
  .hero-cover { align-items: flex-end; min-height: min(100svh, 900px); padding: 0 0 56px; }
  .hero-in { padding-top: clamp(210px, 38svh, 400px); }
}
@media (max-width: 1080px) {
  .menu { display: none; }
  .lens { margin-left: auto; }
}
@media (max-width: 900px) {
  .paths, .how .honest { grid-column: 1; }
  .plans { grid-template-columns: 1fr; gap: 14px; }
  .plan, .plan + .plan { padding: 28px; border: 1px solid var(--line); }
  .places-head { align-items: flex-start; flex-direction: column; gap: 16px; }
  .places-lead { max-width: 560px; }
  .places-layout { grid-template-columns: 1fr; gap: 14px; }
  .network-map.hero { height: 430px; }
  .terms { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .phases { grid-template-columns: 1fr; }
  .top-in { gap: 6px; height: 64px; }
  .top-cta { padding: 10px 14px; font-size: 14px; }
  .hero-cover { align-items: flex-end; min-height: 100svh; padding: 0 0 36px; }
  .hero-in { padding-top: 40svh; }
  .acts .btn { flex: 1 1 100%; }
  .paths ul, .terms { grid-template-columns: 1fr; }
  .plan { padding: 24px 22px 26px; }
  .plan-actions .btn { flex-basis: 100%; }
  .final { padding: 44px 0 48px; }
  .final::before { display: none; }
  .final .beam, .final .prism3d, .final .prism-facets { display: none; }
  .final-in { gap: 22px; }
  .places-head { margin-bottom: 27px; }
  .places-head h2 { font-size: clamp(36px, 10vw, 46px); }
  .places-lead { font-size: 14.5px; }
  .map-card-head { min-height: 52px; padding: 0 14px; font-size: 9px; }
  .network-map.hero { min-height: 0; height: 74vw; max-height: 340px; }
  .map-legend { left: 13px; bottom: 13px; gap: 7px 12px; font-size: 9px; }
  .map-coordinates { right: 13px; bottom: 14px; font-size: 8px; }
  .map-note { padding: 12px 14px; font-size: 11px; }
  .places-panel { padding: 18px; }
  .region-head h3 { font-size: 18px; }
  .country-chips { gap: 6px; }
  .country-chips button { min-height: 29px; padding: 0 8px; font-size: 10.5px; }
}
@media (max-width: 360px) { .brand-name { display: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lens-disc, .lens-disc::before, .lens-disc::after, .lens-disc i, .btn, .top { transition: none; }
}

/* после аудита: без JS кнопка темы не работает — прячем; меню второй строкой на узких экранах */
html:not(.js) .lens { display: none; }
.foot nav { flex-wrap: wrap; }
@media (max-width: 1080px) {
  html { scroll-padding-top: 124px; }
  .menu {
    display: flex; position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    gap: 22px; padding: 0 20px; height: 44px; align-items: center; overflow-x: auto; scrollbar-width: none;
    background: color-mix(in srgb, var(--bg) 84%, transparent);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
  }
  .menu a { white-space: nowrap; font-size: 14px; }
}

.brand span { white-space: nowrap; }
@media (max-width: 400px) { .top-cta { padding: 10px 12px; font-size: 13.5px; } .brand { gap: 8px; } }
@media (max-width: 640px) { body { background-attachment: scroll; } }



/* ============================================================
   v5 — правки владельца, дизайн-критика и аудита
   ============================================================ */
/* единые веса заголовков: 300; службные разделы мельче */
h1 { font-weight: 300; }
h2, .final h2 { font-weight: 300; }
#termsH { font-size: clamp(28px, 3vw, 38px); }

/* логотип: «net» в светлой теме темнее, чтобы читаться как текст */
:root[data-theme="alabaster"] .brand-light { color: #496985; }

/* светлая тема: секции различимы по тону, у карточек есть глубина */
:root[data-theme="alabaster"] { --bg-2: #e3e2dc; }
:root[data-theme="alabaster"] .plan,
:root[data-theme="alabaster"] .map-card,
:root[data-theme="alabaster"] .places-panel { box-shadow: 0 1px 0 #fff inset, 0 14px 30px -20px rgba(24, 20, 12, .28); }

/* переключатель темы: узнаваемый диск «половина закрашена» без орбиты и свечения */
.lens-disc { width: 22px; height: 22px; border: 1.5px solid var(--ink); background: transparent; box-shadow: none; overflow: hidden; }
.lens-disc::before, .lens-disc::after { display: none; }
.lens-disc i { position: absolute; inset: 0 50% 0 0; border-radius: 0; background: var(--ink); box-shadow: none; transform: none; }
.lens[data-theme="alabaster"] .lens-disc i { transform: none; background: var(--ink); }

/* первый экран: плавный переход к следующей секции вместо шва */
.hero-cover::after { content: ""; position: absolute; inset: auto 0 0; height: 140px; background: linear-gradient(to bottom, transparent, var(--bg)); z-index: 1; pointer-events: none; }
.link-down svg, .more-link svg { flex: none; }

/* тарифы: компактно, цена целиком, кнопки внизу в ряд */
.trial-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 28px; margin-top: 26px; padding: 0 0 18px; border: 0; border-bottom: 1px solid var(--line); font-size: 15.5px; color: var(--ink-2); }
.trial-row > span { max-width: 52em; }
.trial-row b { color: var(--ink); font-weight: 500; }
.more-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.plans { margin-top: 24px; }
.plan, .plan + .plan { padding: 26px 30px 28px; }
.price { margin-top: 10px; }
.price b { font: 300 clamp(56px, 5.2vw, 72px)/1.15 var(--display); font-variant-numeric: tabular-nums; letter-spacing: -.04em; }
.price span { font: 300 clamp(24px, 2.2vw, 30px)/1 var(--display); color: var(--ink-2); }
.price small { font: 400 15px/1 var(--text); color: var(--muted); }
.plan-actions { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.plans-incl { margin-top: 22px; color: var(--ink-2); font-size: 15.5px; }
.plans-incl b { color: var(--ink); font-weight: 500; }
.plans-note { margin-top: 10px; }

/* карта и чипы: не мельче 12 px, цели нажатия крупнее */
.map-card-head { font-size: 12px; }
.map-legend { font-size: 12px; }
.map-note { font-size: 13px; }
.region-head h3 { font-size: 20px; }
.country-chips button { font-size: 13px; min-height: 36px; padding: 0 12px; }
.route-note { font-size: 13.5px; }

/* меню второй строкой (≤1080) непрозрачное — текст под ним не просвечивает */
@media (max-width: 1080px) {
  .menu { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (max-width: 640px) {
  .menu { display: none; }
  html { scroll-padding-top: 80px; }
  .link-down { display: none; }
  .phases { gap: 10px; }
  .phases li { grid-template-columns: 26px minmax(0, 1fr); padding: 15px 15px 16px; }
  .ph-n { grid-row: 1 / span 2; margin: 1px 0 0; }
  .phases h3 { font-size: 17px; }
  .phases p { font-size: 14.5px; }
  .paths ul { grid-template-columns: 1fr; gap: 12px; }
  .foot nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
  .country-chips button { font-size: 13px; min-height: 40px; padding: 0 12px; }
  .map-card-head { font-size: 11.5px; }
  .map-legend { font-size: 11.5px; }
  .map-note { font-size: 12.5px; }
  .trial-row { padding-bottom: 12px; }
}


/* ===== v5.1 — правки по аудиту ===== */
:root { --muted: #9a9993; }                                 /* тёмная тема: ≥4.6:1 и на тонированных фонах */
:root[data-theme="alabaster"] { --muted: #625f59; }
:root[data-theme="alabaster"] .brand-light { color: #496985; }
:root[data-theme="alabaster"] .brand-mark { filter: brightness(.72) contrast(1.08) saturate(1.14); }
body { background-attachment: scroll; }                      /* без перерисовки фона на каждый кадр прокрутки */
.lens { flex: 0 0 44px; }
@media (hover: none) {
  .lens:hover .lens-disc { transform: none; }
  .lens[data-theme="alabaster"]:hover .lens-disc { transform: rotate(180deg); }
}
.country-chips button[aria-pressed="true"] { border-color: var(--ink-2); background: color-mix(in srgb, var(--map-node) 14%, transparent); }
.foot nav { gap: 0 22px; }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 400px) { .menu { gap: 14px; padding: 0 16px; } }
html:not(.js) .map-card { display: none; }
html:not(.js) .places-layout { grid-template-columns: 1fr; }
html:not(.js) .country-chips button { pointer-events: none; }

.foot-in { align-items: center; }
@media (min-width: 1181px) { .lead { max-width: 26em; } }   /* 11-15: уже — чтобы между текстом и ромбом поместилась «Россия» */


/* ===== v6 (11-15) — шрифты основного сайта, приложение, понятные способы подключения ===== */
h1, h2, .final h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.012em; }
h1 { font-size: clamp(56px, 6vw, 96px); line-height: .98; }
h2 { font-size: clamp(40px, 4.5vw, 64px); line-height: 1.02; }
.final h2 { font-size: clamp(40px, 5vw, 70px); line-height: 1; }
#termsH { font-size: clamp(34px, 3.6vw, 46px); }
.places-head h2 { line-height: 1; }
h3 { letter-spacing: -.01em; }
.price b { font-variant-numeric: lining-nums tabular-nums; font-family: var(--serif); font-weight: 500; font-size: clamp(66px, 6vw, 86px); letter-spacing: -.01em; line-height: 1.05; }
.price span { font-family: var(--text); font-weight: 400; }
.brand-name { font: 600 16px/1 var(--text); letter-spacing: -.01em; }

/* первый экран: три коротких довода вместо строки мелким шрифтом */
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; color: var(--ink-2); font-size: 14.5px; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 5px; height: 5px; flex: none; border-radius: 50%; background: var(--sp2); }

/* способы подключения: человеческое имя крупно, техническое — мелко */
.paths b small { display: block; margin-top: 3px; font: 500 11px/1.2 var(--mono); letter-spacing: .06em; color: var(--muted); }

/* мини-приложение */
.app-card { display: grid; grid-template-columns: minmax(0, 1fr) 236px; align-items: center; gap: 28px 48px; margin-top: 8px; padding: 30px 36px 0; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(150deg, color-mix(in srgb, var(--sp2) 6%, var(--surface)), var(--surface) 70%); overflow: hidden; }
.app-copy { align-self: center; padding-bottom: 30px; }
.app-copy h3 { font-size: 24px; font-weight: 500; line-height: 1.25; }
.app-copy p { margin-top: 10px; color: var(--ink-2); font-size: 15.5px; max-width: 40em; }
.app-copy ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.app-copy li { padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13.5px; color: var(--ink-2); }
.app-copy .btn { margin-top: 22px; }
.app-shot { align-self: end; width: 236px; padding: 9px 9px 0; border: 1px solid var(--line-2); border-bottom: 0; border-radius: 30px 30px 0 0; background: #08090b; box-shadow: 0 -18px 50px -30px rgba(0,0,0,.55); }
.app-shot img { display: block; width: 100%; height: auto; border-radius: 22px 22px 0 0; }
.apps-row { margin-top: 4px; color: var(--muted); font-size: 14px; }
.apps-row b { color: var(--ink-2); font-weight: 500; }
@media (max-width: 760px) {
  .app-card { grid-template-columns: 1fr; padding: 24px 20px 0; gap: 4px; }
  .app-copy { padding-bottom: 8px; }
  .app-shot { justify-self: center; width: min(236px, 72vw); }
}
/* узкие телефоны: «VPN» в названии прячем, чтобы кнопка в шапке влезала целиком */
@media (max-width: 440px) { .brand-name { font-size: 15px; } .brand-name .brand-light { display: none; } .top-in { gap: 14px; } }

/* знак «Проверено: работает в России» + сегодняшняя дата под ним */
.verified { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; padding: 10px 16px 10px 12px; border: 1px solid color-mix(in srgb, var(--ok) 38%, var(--line-2)); border-radius: 14px; background: color-mix(in srgb, var(--ok) 8%, transparent); }
.verified[hidden] { display: none; }
.verified-ic { flex: none; color: var(--ok); }
.verified span { display: grid; gap: 3px; }
.verified b { font-weight: 500; font-size: 15px; line-height: 1.2; color: var(--ink); }
.verified time { font: 500 12px/1.2 var(--mono); letter-spacing: .04em; color: var(--muted); }
:root { --ok: #6fc59a; }
:root[data-theme="alabaster"] { --ok: #2f8a5f; }

/* ===== v7 (11-15) — светлая тема «Серебро»: холодные серые вместо тёплого алебастра ===== */
:root[data-theme="alabaster"] {
  --bg: #e4e7eb; --bg-2: #d8dce1; --surface: #eef0f3;
  --ink: #14171b; --ink-2: #3e444c; --muted: #59606a;
  --line: #c3c8cf; --line-2: #aab1ba;
  --sp1: #4d6f99; --sp2: #8a96a6; --sp3: #6f6aa6;
  --wash-1: rgba(96,118,148,.08); --wash-2: rgba(120,128,150,.06);
  --map-dot: rgba(36,46,60,.2); --map-node: #5b6b80; --map-you: #39765f;
  --hero-bg: radial-gradient(ellipse 70% 60% at 72% 34%, rgba(255,255,255,.6), transparent 70%),
             linear-gradient(115deg, #eceff2 0%, #e1e5e9 52%, #d5dadf 100%);
  --solid-bg: #16191d; --solid-ink: #eef0f3;
  --ok: #2f7f5a;
}
:root[data-theme="alabaster"] .plan,
:root[data-theme="alabaster"] .map-card,
:root[data-theme="alabaster"] .places-panel,
:root[data-theme="alabaster"] .app-card { box-shadow: 0 1px 0 rgba(255,255,255,.85) inset, 0 16px 32px -22px rgba(20,28,40,.3); }
:root[data-theme="alabaster"] .brand-light { color: #4a6380; }
/* v7.1 — серебро чуть темнее (просьба владельца 11-15) */
:root[data-theme="alabaster"] {
  --bg: #d9dde2; --bg-2: #cdd2d8; --surface: #e5e8ec;
  --ink-2: #3a4048; --muted: #4f5660;
  --line: #b8bec6; --line-2: #a0a7b1;
  --map-dot: rgba(30,40,54,.22);
  --hero-bg: radial-gradient(ellipse 70% 60% at 72% 34%, rgba(255,255,255,.45), transparent 70%),
             linear-gradient(115deg, #e2e6ea 0%, #d6dbe0 52%, #c9cfd6 100%);
}

/* v8 (11-15): лучи и метки способов — цвета флага России: белый (основной), синий (запасной), красный (сложные сети) */
:root { --beam1: #f4f7fc; --beam2: #4a86ff; --beam3: #ff4646; }
:root[data-theme="alabaster"] { --beam1: #ffffff; --beam2: #0039a6; --beam3: #d52b1e; }
.paths .sp-1, .sp.beam-1 { background: var(--beam1); box-shadow: 0 0 calc(var(--glow) * 12px) var(--beam1); }
.paths .sp-2, .sp.beam-2 { background: var(--beam2); box-shadow: 0 0 calc(var(--glow) * 12px) var(--beam2); }
.paths .sp-3, .sp.beam-3 { background: var(--beam3); box-shadow: 0 0 calc(var(--glow) * 12px) var(--beam3); }
:root[data-theme="alabaster"] .paths .sp-1, :root[data-theme="alabaster"] .sp.beam-1 { box-shadow: 0 0 0 1px rgba(34,42,54,.42); }
/* 11-15: флаги стран на кнопках — как на прежнем сайте */
.country-chips .flag { width: 18px; height: 12px; flex: none; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px var(--line-2); }
.country-chips button.has-flag::before { display: none; }
/* 11-15: глобус в финале — из России через призму в мир (globe.js); только широкие экраны */
.globe { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
@media (max-width: 1180px) { .globe { display: none; } }
/* 11-15: значки ОС и приложений-клиентов (блок «Всё в одном окне Telegram») */
.app-copy .os-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding: 0; }
.app-copy .os-list li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px 7px 11px; }
.os-ico { width: 16px; height: 16px; flex: none; color: var(--ink); }
.apps-block { margin-top: 18px; }
.apps-block .apps-row { margin-top: 0; }
.app-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.app-list li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.app-ico { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 11px; background: #15181c; color: #fafafa; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.app-ico svg { width: 24px; height: 24px; }
.app-txt { display: grid; gap: 2px; min-width: 0; }
.app-txt b { font-weight: 600; font-size: 14.5px; color: var(--ink); }
.app-txt small { font-size: 12px; line-height: 1.35; color: var(--muted); }
:root[data-theme="alabaster"] .app-ico { box-shadow: 0 1px 2px rgba(20,24,30,.18); }
@media (max-width: 900px) { .app-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .app-list li { padding: 11px 12px; gap: 10px; } .app-ico { width: 36px; height: 36px; } }
