/* ForintVPN — сайт. Чёрное, белое и серое; один шрифт — Geologica.
   Резкость (ось SHRP) — у заголовков, мягкость — у текста. */

:root {
  --black: #000000;
  --white: #ffffff;
  --paper: #ededed;      /* светло-серые разделы */
  --graphite: #1a1a1a;   /* плашки на чёрном */
  --line-l: #cfcfcf;     /* линии на светлом */
  --line-d: #333333;     /* линии на тёмном */
  --mute-l: #6b6b6b;     /* вторичный текст на светлом */
  --mute-d: #9a9a9a;     /* вторичный текст на тёмном */

  --font: "Geologica", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --step--1: clamp(0.84rem, 0.8rem + 0.15vw, 0.92rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.45vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.3rem + 1vw, 2.1rem);
  --step-3: clamp(2rem, 1.6rem + 2vw, 3.3rem);
  --step-4: clamp(2.6rem, 1.8rem + 4.2vw, 5.8rem);

  --wrap: 1180px;
  --gut: clamp(16px, 4vw, 40px);
  --r-s: 10px;
  --r-l: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--white); color: var(--black);
  font-family: var(--font); font-size: var(--step-0); line-height: 1.55;
  font-variation-settings: "SHRP" 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  margin: 0; font-weight: 700; line-height: 1.04; letter-spacing: -0.02em;
  font-variation-settings: "SHRP" 100;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: 64ch; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.dark { background: var(--black); color: var(--white); }
.gray { background: var(--paper); }
.sec { padding: clamp(72px, 10vw, 140px) 0; }
.lead { font-size: var(--step-1); line-height: 1.45; max-width: 46ch; }
h2 + .lead { margin-top: 20px; }
.mute { color: var(--mute-l); }
.dark .mute { color: var(--mute-d); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------------------------------------------------------------- шапка */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .25s, color .25s, border-color .25s;
  border-bottom: 1px solid transparent;
}
.top .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.top.on-dark { color: var(--white); }
.top.solid { background: rgba(255,255,255,.92); color: var(--black);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line-l); }
.top.solid.on-dark { background: rgba(0,0,0,.85); color: var(--white); border-bottom-color: var(--line-d); }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo .mk { width: 34px; height: auto; flex: none; }
.logo .wm { font-weight: 500; font-size: .95rem; letter-spacing: .34em; margin-right: -.34em; }
.logo .wm span { opacity: .55; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { text-decoration: none; font-size: var(--step--1); opacity: .72; transition: opacity .2s; }
.nav a:hover, .nav a[aria-current="page"], .nav a.btn { opacity: 1; }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.top .btn { padding: 10px 18px; font-size: var(--step--1); }
.burger { display: none; margin-left: auto; background: none; border: 0; color: inherit;
  width: 44px; height: 44px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; background: currentColor; margin: 5px auto;
  transition: transform .25s, opacity .25s; }
.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav, .top .btn.desk { display: none; }
  .burger { display: block; }
  /* backdrop-filter у шапки делает её «рамкой» для fixed-меню: меню
     сжималось до высоты шапки и просвечивало страницу. В открытом меню
     размытие выключаем, меню — на весь экран, страница под ним не листается */
  .menu-open { overflow: hidden; }
  .menu-open .top { background: var(--black); color: var(--white);
    backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: var(--line-d); }
  .menu-open .nav {
    display: flex; flex-direction: column; gap: 0; position: fixed; inset: 68px 0 0 0;
    height: calc(100vh - 68px); height: calc(100dvh - 68px); overflow-y: auto; z-index: 60;
    background: var(--black); color: var(--white); padding: 24px var(--gut) 40px; margin: 0;
  }
  .menu-open .nav a { font-size: var(--step-2); opacity: 1; padding: 12px 0;
    border-bottom: 1px solid var(--line-d); font-weight: 600; }
  .menu-open .nav .btn { margin-top: 24px; text-align: center; border-bottom: 0; }
  .menu-open .nav .btn.fill { background: var(--white); color: var(--black); border-color: var(--white); }
}

/* --------------------------------------------------------------- кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px; border: 1.5px solid currentColor;
  text-decoration: none; font-weight: 600; cursor: pointer; line-height: 1;
  transition: background .2s, color .2s, transform .15s;
  background: transparent; color: inherit;
}
.btn:active { transform: scale(.98); }
.btn.fill { background: var(--black); color: var(--white); border-color: var(--black); }
.btn.fill:hover { background: #2b2b2b; border-color: #2b2b2b; }
.dark .btn.fill, .on-dark .btn.fill, .story .btn.fill { background: var(--white); color: var(--black); border-color: var(--white); }
.dark .btn.fill:hover, .on-dark .btn.fill:hover, .story .btn.fill:hover { background: #d9d9d9; border-color: #d9d9d9; }
.btn.ghost:hover { background: rgba(127,127,127,.12); }
.btn svg { width: 18px; height: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* ------------------------------------- главный экран: история подключения */
.story { position: relative; height: 560vh; background: var(--black); color: var(--white); }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
#globe { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.stage .wrap { position: relative; height: 100%; }
.st { position: absolute; left: var(--gut); right: var(--gut); top: 50%; max-width: 560px;
  transform: translateY(-40%); opacity: 0; transition: opacity .5s ease, transform .6s ease;
  pointer-events: none; }
.st.on { opacity: 1; transform: translateY(-50%); pointer-events: auto; }
.st .kick { display: block; font-size: var(--step--1); color: var(--mute-d); margin-bottom: 18px; }
.st .big { display: block; font-size: var(--step-4); font-weight: 750; line-height: .98;
  letter-spacing: -0.035em; font-variation-settings: "SHRP" 100; }
.st .tilt { display: block; font-style: oblique 12deg; font-variation-settings: "SHRP" 100, "slnt" -12;
  font-weight: 300; letter-spacing: -0.02em; }
.st .small { display: block; margin-top: 22px; font-size: var(--step-1); line-height: 1.45;
  color: #cfcfcf; max-width: 34ch; }
.st .actions { margin-top: 30px; }
.st h1 { font-size: inherit; line-height: inherit; letter-spacing: inherit; font-weight: inherit; }

.ipcard { position: absolute; right: var(--gut); bottom: 30px; width: 280px; padding: 16px 18px;
  border: 1px solid var(--line-d); border-radius: var(--r-s); background: rgba(0,0,0,.6);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: var(--step--1); }
.ipcard .row { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.ipcard .row + .row { border-top: 1px solid var(--line-d); }
.ipcard .k { color: var(--mute-d); }
.ipcard .v { font-variant-numeric: tabular-nums; text-align: right; }
.ipcard .pill { display: inline-flex; align-items: center; gap: 7px; }
.ipcard .pill i { width: 7px; height: 7px; border-radius: 50%; border: 1px solid #888; }
.ipcard.safe .pill i { background: #fff; border-color: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.14); }

.chips { position: absolute; inset: 0; pointer-events: none; }
.chip { position: absolute; left: 0; top: 0; padding: 7px 13px; border-radius: 999px;
  border: 1px solid var(--line-d); background: #000; font-size: .86rem; white-space: nowrap;
  color: #8a8a8a; opacity: 0; transform: translate(-50%, -50%) scale(.85);
  transition: opacity .4s, color .4s, border-color .4s, background .4s, transform .4s; }
.chip.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.chip.ok { color: #000; background: #fff; border-color: #fff; }

.progress { position: absolute; left: var(--gut); bottom: 30px; display: flex; gap: 6px; }
.progress i { width: 22px; height: 2px; background: #3a3a3a; transition: background .3s, width .3s; }
.progress i.on { background: #fff; width: 38px; }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: .78rem; color: var(--mute-d);
  transition: opacity .3s; }
.scroll-hint b { display: block; width: 1px; height: 34px; background: #444; position: relative; overflow: hidden; }
.scroll-hint b::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%;
  background: #fff; animation: drip 1.8s ease-in-out infinite; }
@keyframes drip { to { top: 100%; } }

@media (max-width: 860px) {
  .st { top: auto; bottom: 120px; transform: translateY(20px); }
  .st.on { transform: none; }
  .st .small { font-size: var(--step-0); }
  .ipcard { left: var(--gut); right: auto; top: 84px; bottom: auto; width: auto; min-width: 230px; padding: 10px 14px; }
  .progress { bottom: 22px; }
  .scroll-hint { display: none; }
  .chip { font-size: .74rem; padding: 5px 10px; }
}

/* ---------------------------------------------- бегущая строка сервисов */
.marquee { overflow: hidden; padding: 34px 0; border-top: 1px solid var(--line-d);
  border-bottom: 1px solid var(--line-d); background: var(--black); color: var(--white); }
/* Две одинаковые половины; у каждого пункта свой отступ справа (а не gap
   у ленты), поэтому сдвиг ровно на половину ширины стыкуется без рывка */
.marquee .track { display: flex; width: max-content; animation: run 42s linear infinite; will-change: transform; }
.marquee:hover .track { animation-play-state: paused; }
.marquee .svc { display: inline-flex; align-items: center; gap: .32em; padding-right: 1.15em;
  font-size: clamp(2.2rem, 1.7rem + 3.4vw, 5rem); font-weight: 650; line-height: 1.1;
  letter-spacing: -0.015em; white-space: nowrap; font-kerning: normal; }
.marquee .svc::after { content: ""; width: .16em; height: .16em; margin-left: 1.15em; border-radius: 50%;
  background: var(--mute-d); flex: none; }
.marquee .svc img { height: .9em; width: auto; flex: none; }
@keyframes run { to { transform: translateX(-50%); } }

/* ------------------------------------------------- аккаунт = Telegram */
.acct { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.acct .huge { font-size: var(--step-4); font-weight: 750; line-height: .98; letter-spacing: -0.035em;
  font-variation-settings: "SHRP" 100; }
.acct .huge em { display: block; font-style: oblique 12deg; font-weight: 300;
  font-variation-settings: "SHRP" 100, "slnt" -12; }
.acct ol { list-style: none; margin: 0; padding: 0; counter-reset: a; }
.acct li { counter-increment: a; display: grid; grid-template-columns: 44px 1fr; gap: 16px;
  padding: 22px 0; border-bottom: 1px solid var(--line-l); }
.acct li:first-child { border-top: 1.5px solid var(--black); }
.acct li::before { content: counter(a); font-size: 1.6rem; font-weight: 700; line-height: 1;
  font-variation-settings: "SHRP" 100; }
.acct li b { display: block; font-size: var(--step-1); margin-bottom: 4px; }
.acct li span { color: var(--mute-l); }
@media (max-width: 860px) { .acct { grid-template-columns: 1fr; } }

/* ------------------------------------------------ цифры с разным кеглем */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 56px; }
.numbers div { padding: 0 24px 0 0; }
.numbers div + div { padding-left: 24px; border-left: 1px solid var(--line-l); }
.numbers b { display: block; font-size: var(--step-4); font-weight: 750; line-height: 1;
  letter-spacing: -0.04em; font-variation-settings: "SHRP" 100; }
.numbers b small { font-size: .38em; font-weight: 400; letter-spacing: 0; margin-left: 4px; }
.numbers > div > span { display: block; margin-top: 10px; color: var(--mute-l); font-size: var(--step--1); max-width: 22ch; }
@media (max-width: 860px) { .numbers { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .numbers div:nth-child(3) { padding-left: 0; border-left: 0; } }

/* -------------------------------------------------------- шапка страниц */
.page-head { padding: 150px 0 72px; }
.page-head h1 { font-size: var(--step-4); max-width: 14ch; }
.page-head .lead { margin-top: 24px; }

/* ----------------------------------------------------------- факты */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 56px;
  border-top: 1px solid var(--line-l); }
.fact { padding: 32px 32px 32px 0; border-bottom: 1px solid var(--line-l); }
.fact:nth-child(odd) { border-right: 1px solid var(--line-l); }
.fact:nth-child(even) { padding-left: 32px; }
.fact h3 { margin-bottom: 10px; }
.fact p { margin: 0; color: var(--mute-l); }
@media (max-width: 720px) {
  .facts { grid-template-columns: 1fr; }
  .fact, .fact:nth-child(even) { padding: 26px 0; border-right: 0; }
  .fact:nth-child(odd) { border-right: 0; }
}

/* --------------------------------------------------------- шаги */
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid;
  grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 34px 28px 30px;
  background: var(--graphite); border-radius: var(--r-l); min-height: 250px;
  display: flex; flex-direction: column; }
.steps li::before { content: counter(s); font-size: 4.2rem; font-weight: 700; line-height: 1;
  font-variation-settings: "SHRP" 100; color: #4a4a4a; margin-bottom: 0; }
.steps h3 { margin: 40px 0 10px; }
.steps p { margin: 0; color: var(--mute-d); font-size: var(--step--1); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .steps li { min-height: 0; }
  .steps li::before { margin-bottom: 0; } }

/* ------------------------------------------------------- тарифы */
.plans { margin-top: 48px; border-top: 1.5px solid var(--black); }
.plan { display: grid; grid-template-columns: 1.1fr 1fr 1fr auto; align-items: center; gap: 20px;
  padding: 28px 0; border-bottom: 1px solid var(--line-l); }
.plan .p-term { font-size: var(--step-2); font-weight: 700; letter-spacing: -0.02em;
  font-variation-settings: "SHRP" 100; }
.plan .p-gb { font-size: var(--step-1); }
.plan .p-gb small, .plan .p-price small { display: block; font-size: var(--step--1); color: var(--mute-l); }
.plan .p-price { font-size: var(--step-1); font-weight: 600; }
.plan.best .p-term::after { content: "выгоднее всего"; display: inline-block; vertical-align: middle;
  margin-left: 12px; padding: 4px 10px; border-radius: 999px; background: var(--black); color: var(--white);
  font-size: .78rem; font-weight: 500; letter-spacing: 0; font-variation-settings: "SHRP" 0; }
@media (max-width: 760px) {
  .plan { grid-template-columns: 1fr 1fr; row-gap: 8px; }
  .plan .p-term { grid-column: 1 / -1; }
  .plan .btn { grid-column: 1 / -1; justify-self: start; margin-top: 8px; }
}
.note { margin-top: 28px; padding: 22px 24px; border-radius: var(--r-s); background: var(--paper);
  font-size: var(--step--1); max-width: 760px; }
.gray .note { background: var(--white); }
.note p { margin: 0 0 .5em; } .note p:last-child { margin: 0; }

.split { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-l);
  border: 1px solid var(--line-l); border-radius: var(--r-l); overflow: hidden; margin-top: 40px; }
.split > div { background: var(--white); padding: 28px; }
.split b { display: block; font-size: var(--step-3); line-height: 1; font-weight: 700;
  font-variation-settings: "SHRP" 100; letter-spacing: -0.03em; margin-bottom: 10px; }
.split > div > span { color: var(--mute-l); font-size: var(--step--1); }
@media (max-width: 720px) { .split { grid-template-columns: 1fr; } }

.packs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.pack { padding: 18px 22px; border: 1px solid var(--line-l); border-radius: var(--r-s); min-width: 150px; }
.pack b { display: block; font-size: var(--step-1); }
.pack span { color: var(--mute-l); font-size: var(--step--1); }

.pay-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.pay-list li { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-l); font-size: var(--step--1); }
.dark .pay-list li { border-color: var(--line-d); }

/* ------------------------------------------------------- серверы */
.servers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 48px; }
.server { border: 1px solid var(--line-d); border-radius: var(--r-l); padding: 30px; }
.server h3 { display: flex; align-items: center; gap: 12px; font-size: var(--step-2); }
.server .stat { display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 18px;
  font-size: var(--step--1); color: var(--mute-d); }
.server .stat i { width: 8px; height: 8px; border-radius: 50%; background: #777; }
.server .stat.up i { background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.15); }
.server .stat.down i { background: transparent; border: 1px solid #777; }
.server ul { margin: 0; padding: 0 0 0 18px; color: var(--mute-d); font-size: var(--step--1); }
.server li { margin: 4px 0; }
@media (max-width: 760px) { .servers { grid-template-columns: 1fr; } }

/* ---------------------------------------------------- инструкции */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 40px 0 0; }
.tab { padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line-l); background: none;
  cursor: pointer; color: inherit; transition: background .2s, color .2s; }
.tab[aria-selected="true"] { background: var(--black); color: var(--white); border-color: var(--black); }
.panel { margin-top: 32px; }
.panel[hidden] { display: none; }
.how { list-style: none; margin: 0; padding: 0; counter-reset: h; max-width: 820px; }
h2 + .how { margin-top: 44px; }
.how > li { counter-increment: h; position: relative; padding: 0 0 36px 64px; }
.how > li::before { content: counter(h); position: absolute; left: 0; top: -4px; width: 42px; height: 42px;
  border-radius: 50%; border: 1.5px solid var(--black); display: grid; place-items: center;
  font-weight: 700; font-variation-settings: "SHRP" 100; }
.how > li::after { content: ""; position: absolute; left: 21px; top: 44px; bottom: 6px; width: 1px; background: var(--line-l); }
.how > li:last-child::after { display: none; }
.how h3 { margin: 4px 0 8px; }
.how p { color: var(--mute-l); margin: 0 0 .6em; }
.how .btn { margin-top: 8px; padding: 12px 20px; font-size: var(--step--1); }
.kbd { display: inline-block; padding: 1px 8px; border-radius: 6px; background: var(--paper);
  border: 1px solid var(--line-l); font-size: .92em; white-space: nowrap; }

/* ------------------------------------------------------- вопросы */
.faq { margin-top: 40px; border-top: 1.5px solid var(--black); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line-l); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 48px 24px 0; position: relative;
  font-size: var(--step-1); font-weight: 600; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .ans { padding: 0 0 24px; color: var(--mute-l); max-width: 70ch; }
.faq .ans p:last-child { margin: 0; }

/* ------------------------------------------- значок на телефон */
.install-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 48px); align-items: start; }
.install-card h2 { font-size: var(--step-2); margin: 0 0 8px; }
.install-card > p { margin: 0 0 28px; max-width: 46ch; }
.install-card.mine { order: -1; }
@media (max-width: 860px) { .install-grid { grid-template-columns: 1fr; } }

/* -------------------------------------------------------- вход */
.login-box { max-width: 520px; margin: 0 auto; text-align: center; }
.login-box h1 { font-size: var(--step-3); max-width: none; }
.login-steps { text-align: left; margin: 32px auto 0; max-width: 420px; color: var(--mute-l); }
.login-steps li { margin: 6px 0; }
.qr { width: 196px; height: 196px; margin: 28px auto 0; padding: 12px; background: var(--white);
  border-radius: var(--r-s); border: 1px solid var(--line-l); }
.qr svg { width: 100%; height: 100%; }
.login-tabs { justify-content: center; margin: 28px 0 8px; }
.login-panel { margin-top: 24px; }
.login-panel[hidden] { display: none; }
.login-panel .lead { margin-left: auto; margin-right: auto; }
.btn[aria-disabled="true"] { opacity: .45; pointer-events: auto; }
.num-form { margin: 34px auto 0; max-width: 420px; text-align: left; }
.num-form label { display: block; font-size: var(--step--1); font-weight: 600; margin-bottom: 8px; }
.num-row { display: flex; gap: 8px; }
.num-row input { flex: 1; min-width: 0; font: inherit; font-size: 1.05rem; letter-spacing: .08em;
  font-variant-numeric: tabular-nums; padding: 13px 16px; border-radius: 999px;
  border: 1px solid var(--line-l); background: var(--white); color: var(--black); }
.num-row input:focus-visible { outline: 2px solid var(--black); outline-offset: 2px; }
.num-row .btn { flex: none; }
.login-notes { text-align: left; margin: 28px auto 0; max-width: 420px; padding-left: 1.1em;
  color: var(--mute-l); font-size: var(--step--1); }
.login-notes li { margin: 6px 0; }
.num-big { margin: 26px 0 6px; font-size: clamp(1.35rem, 0.9rem + 2vw, 2.1rem); font-weight: 700; white-space: nowrap;
  letter-spacing: .06em; font-variant-numeric: tabular-nums; font-variation-settings: "SHRP" 100;
  user-select: all; }
.num-label { font-size: var(--step--1); margin: 0 auto; }
.num-check { display: inline-flex; gap: 10px; align-items: center; margin-top: 26px; font-weight: 600; cursor: pointer; }
.num-check input { width: 18px; height: 18px; accent-color: #000; }
.login-help { margin-top: 30px; font-size: var(--step--1); color: var(--mute-l); }
.status { margin-top: 22px; min-height: 1.5em; font-size: var(--step--1); color: var(--mute-l); }
.status.ok { color: var(--black); font-weight: 600; }
.spin { display: inline-block; width: 12px; height: 12px; border-radius: 50%;
  border: 1.5px solid currentColor; border-right-color: transparent; animation: rot .8s linear infinite;
  vertical-align: -1px; margin-right: 8px; }
@keyframes rot { to { transform: rotate(360deg); } }

/* -------------------------------------------------------- финал и подвал */
.final { text-align: left; }
.final h2 { max-width: 15ch; }
.foot { background: var(--black); color: var(--mute-d); padding: 56px 0 40px; font-size: var(--step--1);
  border-top: 1px solid var(--line-d); }
.foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot .logo { color: var(--white); margin-bottom: 14px; }
.foot h4 { margin: 0 0 12px; color: var(--white); font-weight: 600; font-size: var(--step--1); }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 6px 0; }
.foot a { text-decoration: none; } .foot a:hover { color: var(--white); }
.foot .legal { grid-column: 1 / -1; max-width: none; padding-top: 28px; margin-top: 12px; border-top: 1px solid var(--line-d); }
@media (max-width: 760px) { .foot .wrap { grid-template-columns: 1fr 1fr; }
  .foot .wrap > div:first-child { grid-column: 1 / -1; } }

/* ---------------------------------------- появление при прокрутке (тихое) */
.rise { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.rise.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .story { height: auto; }
  .stage { position: relative; height: auto; min-height: 100svh; padding: 110px 0 60px; }
  #globe { position: absolute; opacity: .35; }
  .st { position: relative; inset: auto; transform: none; opacity: 1; margin: 0 0 56px; }
  .st:not(.first) .actions { display: none; }
  .ipcard, .progress, .scroll-hint, .chips { display: none; }
  .marquee .track { animation: none; }
  .rise { opacity: 1; transform: none; transition: none; }
}
