@font-face{font-family:"Montserrat";font-style:normal;font-weight:200;font-display:swap;src:url(/assets/fonts/montserrat-200.woff2) format("woff2")}
@font-face{font-family:"Montserrat";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/montserrat-400.woff2) format("woff2")}
@font-face{font-family:"Montserrat";font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/montserrat-500.woff2) format("woff2")}
@font-face{font-family:"Montserrat";font-style:italic;font-weight:500;font-display:swap;src:url(/assets/fonts/montserrat-500i.woff2) format("woff2")}
@font-face{font-family:"Montserrat";font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/montserrat-600.woff2) format("woff2")}
@font-face{font-family:"Montserrat";font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/montserrat-700.woff2) format("woff2")}
@font-face{font-family:"Montserrat";font-style:normal;font-weight:800;font-display:swap;src:url(/assets/fonts/montserrat-800.woff2) format("woff2")}
/* ovvy.cc — «тихая роскошь»: ночные тёмные блоки и светлые белые, крупная надпись ovvy, Montserrat
   с контрастом начертаний (800 / 200, как у названия и таймера в приложении), один акцент — ультрамарин
   кнопки подключения. Без карточек со значками: таблицы, тонкие линии, настоящие экраны. */
:root {
  --night: #05070C;
  --night-2: #0B0F18;
  --night-3: #121827;
  --on-night: #F4F5F7;
  --on-night-2: rgba(244, 245, 247, .64);
  --on-night-3: rgba(244, 245, 247, .40);
  --night-line: rgba(255, 255, 255, .09);
  --day: #FFFFFF;
  --mist: #F2F3F5;
  --ink: #0A0D14;
  --ink-2: #3B4252;
  --mute: #697182;
  --faint: #A7ADB9;
  --line: rgba(10, 13, 20, .08);
  --line-2: rgba(10, 13, 20, .15);
  --ultra: #2337E6;
  --ultra-hi: #3D52F8;
  --ultra-lo: #1E2FD3;
  --ultra-soft: #E8EBFD;
  --ultra-night: #95A2FF;
  --ok: #0C9A55;
  --ok-soft: #DFF3E8;
  --f: "Montserrat", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --wrap: 1200px;
  --gut: clamp(20px, 4.4vw, 56px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--day); color: var(--ink);
  font: 400 16px/1.6 var(--f);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--night); }
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--ultra); color: var(--on-night); }
:focus-visible { outline: 2px solid var(--ultra); outline-offset: 3px; border-radius: 6px; }
p { margin: 0; }
[hidden] { display: none !important; }
:root:not([data-lang="en"]) [lang="en"] { display: none !important; }
:root[data-lang="en"] [lang="ru"] { display: none !important; }

.wrap {
  max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto;
  padding-left: max(var(--gut), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gut), env(safe-area-inset-right, 0px));
}

/* ---------- шапка ---------- */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; color: var(--on-night);
  background: var(--night); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s;
}
.top.scrolled { background: rgba(5, 7, 12, .82); border-bottom-color: var(--night-line); }
.top .wrap { display: flex; align-items: center; gap: 36px; height: 64px; }
.brand { font-weight: 800; font-size: 25px; line-height: 1; letter-spacing: -.045em; text-decoration: none; color: var(--on-night); padding-bottom: 4px; }
.nav { display: flex; gap: 30px; }
.nav a { font-size: 14px; font-weight: 500; color: var(--on-night-2); text-decoration: none; transition: color .2s; }
.nav a:hover { color: var(--on-night); }
.top .end { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.lang { display: flex; align-items: center; font-size: 12px; font-weight: 600; letter-spacing: .14em; }
.lang button { font: inherit; letter-spacing: inherit; background: none; border: 0; padding: 6px 5px; color: var(--on-night-3); cursor: pointer; transition: color .2s; }
.lang button:hover, .lang button[aria-pressed="true"] { color: var(--on-night); }
.lang .sep { color: var(--on-night-3); }

/* ---------- кнопки и ссылки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 30px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--f); letter-spacing: -.005em; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s, border-color .25s, transform .25s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-light { background: var(--on-night); color: var(--ink); }
.btn-light:hover { background: var(--day); }
.btn-ink { background: var(--ink); color: var(--on-night); }
.btn-ink:hover { background: var(--ultra); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--ink); }
.btn-sm { height: 38px; padding: 0 18px; font-size: 13.5px; }
.arrow { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15px; text-decoration: none; color: inherit; }
.arrow::after { content: "→"; transition: transform .3s var(--ease); }
.arrow:hover::after { transform: translateX(4px); }
.arrow.sm { font-size: 14px; color: var(--mute); }
.arrow.sm:hover { color: var(--ink); }

/* ---------- телефон: iPhone — чёрная рамка, титановый ободок, боковые кнопки ---------- */
.phone {
  position: relative; width: 100%; border-radius: 16.2% / 7.68%; padding: 2.3%; background: #030304;
  box-shadow: 0 0 0 1px #000, 0 0 0 3.5px #3E4248, 0 0 0 4.5px #61666F,
    0 40px 70px -34px rgba(10, 13, 20, .55), 0 10px 22px -12px rgba(10, 13, 20, .32);
}
.phone img { width: 100%; height: auto; border-radius: 14.57% / 6.73%; }
.phone::before, .phone::after { content: ""; position: absolute; width: 3px; pointer-events: none; }
/* слева: кнопка действия и громкость, справа: питание */
.phone::before { left: -7px; top: 16.5%; height: 24%; border-radius: 2px 0 0 2px;
  background: linear-gradient(#4A4E55 0 12%, transparent 12% 27%, #4A4E55 27% 61%, transparent 61% 68%, #4A4E55 68% 100%); }
.phone::after { right: -7px; top: 25%; height: 11%; border-radius: 0 2px 2px 0; background: #4A4E55; }
.phone-night { box-shadow: 0 0 0 1px #000, 0 0 0 3.5px #474B53, 0 0 0 4.5px #7C818B, 0 60px 120px -30px rgba(0, 0, 0, .9); }
.phone-night::before, .phone-night::after { background-color: #5A5F68; }
.phone-night::before { background: linear-gradient(#5A5F68 0 12%, transparent 12% 27%, #5A5F68 27% 61%, transparent 61% 68%, #5A5F68 68% 100%); }

/* ---------- первый экран ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: var(--on-night); }
.hero::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: min(1180px, 130vw); aspect-ratio: 1; right: -20%; top: -12%;
  background: radial-gradient(closest-side, rgba(35, 55, 230, .46), rgba(35, 55, 230, .14) 52%, rgba(35, 55, 230, 0) 74%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1; inset: auto 0 0; height: 40%; pointer-events: none;
  background: linear-gradient(to bottom, rgba(5, 7, 12, 0), var(--night));
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 80px); align-items: center;
  padding-block: clamp(56px, 8vw, 116px) clamp(48px, 6vw, 88px);
}
.hero h1 { margin: 0; font-weight: 400; }
.wm {
  display: block; font-weight: 800; font-size: clamp(104px, 15vw, 216px); line-height: .8; letter-spacing: -.065em;
  margin: 0 0 clamp(30px, 3.4vw, 50px) -.045em; padding-bottom: .1em;
}
.desc { display: block; font-size: clamp(26px, 2.75vw, 40px); line-height: 1.14; letter-spacing: -.032em; }
.desc b { display: block; font-weight: 700; }
.desc i { display: block; font-style: normal; font-weight: 200; }
.lead { margin: 26px 0 40px; max-width: 30em; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.7; color: var(--on-night-2); }
.cta { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 34px; }
.hero-meta { margin-top: 30px; font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--on-night-3); }
/* установщик Windows скачан с первого экрана — тихая строка про SmartScreen под кнопкой (site.js снимает hidden) */
.hero-note { margin: 20px 0 0; max-width: 40em; font-size: 13.5px; line-height: 1.55; color: var(--on-night-2); animation: note-in .5s var(--ease) both; }
@keyframes note-in { from { opacity: 0; transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .hero-note { animation: none; } }
.device { margin: 0; justify-self: center; width: clamp(250px, 24vw, 330px); }
.compat {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 34px; padding-block: 26px 34px;
  border-top: 1px solid var(--night-line); font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--on-night-3);
}
.compat .k { color: var(--on-night-2); }

/* ---------- позиция ---------- */
.statement { padding-block: clamp(96px, 13vw, 190px); }
.statement p { max-width: 21em; font-size: clamp(27px, 3.3vw, 48px); line-height: 1.2; letter-spacing: -.032em; font-weight: 500; color: var(--faint); text-wrap: pretty; }
.statement em { font-style: normal; color: var(--ink); }

/* ---------- заголовки разделов ---------- */
h2 { margin: 0; font-weight: 800; font-size: clamp(38px, 4.6vw, 68px); line-height: 1; letter-spacing: -.048em; text-wrap: balance; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.sec-head p { max-width: 30em; color: var(--mute); font-size: 17px; line-height: 1.65; }

/* ---------- экраны ---------- */
.screens { background: var(--mist); padding-block: clamp(88px, 11vw, 160px) clamp(120px, 14vw, 200px); overflow: hidden; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3.4vw, 56px); }
.gallery figure { margin: 0; min-width: 0; }
.gallery figure:nth-child(2) { transform: translateY(clamp(24px, 4.5vw, 72px)); }
.gallery .phone { max-width: 320px; margin: 0 auto; }
.gallery figcaption { max-width: 320px; margin: 32px auto 0; color: var(--mute); font-size: 15px; line-height: 1.6; }
.gallery figcaption b { display: block; margin-bottom: 6px; color: var(--ink); font-size: 20px; font-weight: 800; letter-spacing: -.025em; }

/* ---------- одно касание ---------- */
.tap { padding-block: clamp(96px, 12vw, 176px); }
.tap-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.demo {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(44px, 5vw, 68px) clamp(20px, 3vw, 40px) clamp(28px, 3vw, 36px); border-radius: 40px;
  background: var(--day); box-shadow: 0 0 0 1px var(--line), 0 50px 90px -50px rgba(10, 13, 20, .28);
}
.st { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); transition: color .3s; }
.st .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); transition: background-color .3s, box-shadow .3s; }
.timer { margin: 14px 0 4px; font-weight: 200; font-size: clamp(54px, 5.6vw, 80px); line-height: 1.05; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--faint); transition: color .3s; }
.st-sub { min-height: 1.6em; font-style: italic; font-weight: 500; font-size: 15px; color: var(--mute); transition: color .3s; }
[data-st="connecting"] .st, [data-st="disconnecting"] .st { color: var(--ultra); }
[data-st="connecting"] .st .dot, [data-st="disconnecting"] .st .dot { background: var(--ultra); }
[data-st="on"] .st, [data-st="on"] .st-sub { color: var(--ok); }
[data-st="on"] .st .dot { background: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); }
[data-st="on"] .timer { color: var(--ink); }

.core {
  position: relative; display: grid; place-items: center; width: 200px; height: 200px; margin: 40px 0 44px;
  padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ultra); cursor: pointer;
  -webkit-tap-highlight-color: transparent; transition: transform .25s var(--ease);
}
.core:active { transform: scale(.97); }
.core::before {
  content: ""; position: absolute; inset: -17px; border-radius: 50%;
  background: linear-gradient(180deg, #F8F9FB 0%, #ECEEF2 100%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .95), inset 0 -1px 2px rgba(15, 23, 41, .06), 0 0 0 1px rgba(15, 23, 41, .045);
  transition: background .5s, box-shadow .5s;
}
.core .disc {
  position: absolute; inset: 0; border-radius: 50%; z-index: 1;
  background: linear-gradient(180deg, #FFFFFF 0%, #F2F3F7 100%);
  box-shadow: inset 0 1px 0 #FFFFFF, inset 0 -4px 10px rgba(15, 23, 41, .045), 0 0 0 1px rgba(15, 23, 41, .07), 0 1px 2px rgba(15, 23, 41, .07), 0 10px 20px rgba(15, 23, 41, .09), 0 24px 44px rgba(15, 23, 41, .07);
  transition: background .45s, box-shadow .45s;
}
.core .disc::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(110% 60% at 50% 0%, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 62%); }
.core .glyph { position: relative; z-index: 2; transition: color .35s; }
.cring { position: absolute; left: -13px; top: -13px; width: 226px; height: 226px; transform: rotate(-90deg); pointer-events: none; overflow: visible; z-index: 0; }
.cring circle { fill: none; stroke-width: 2.5; }
.cring .tr { stroke: var(--ultra-soft); opacity: 0; transition: opacity .3s; }
.cring .pr { stroke: var(--ultra); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; opacity: 0; transition: opacity .35s; }
[data-st="connecting"] .cring .tr { opacity: 1; }
[data-st="connecting"] .cring .pr { opacity: 1; animation: arc 1.3s cubic-bezier(.3, .6, .35, 1) forwards; }
@keyframes arc { to { stroke-dashoffset: 0; } }
[data-st="connecting"] .core::before, [data-st="on"] .core::before { background: linear-gradient(180deg, #F0F2FE 0%, #E1E6FC 100%); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .9), inset 0 -1px 2px rgba(35, 55, 230, .1), 0 0 0 1px rgba(35, 55, 230, .1); }
[data-st="on"] .core .disc {
  background: linear-gradient(180deg, var(--ultra-hi) 0%, var(--ultra-lo) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 -6px 14px rgba(10, 18, 110, .28), 0 0 0 1px rgba(25, 38, 190, .5), 0 2px 4px rgba(35, 55, 230, .25), 0 12px 24px rgba(35, 55, 230, .28), 0 26px 46px rgba(35, 55, 230, .16);
}
[data-st="on"] .core .disc::before { background: radial-gradient(110% 60% at 50% 0%, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 60%); }
[data-st="on"] .core .glyph { color: var(--on-night); }
[data-st="disconnecting"] .core .disc { background: linear-gradient(180deg, #F3F5FE 0%, #E4E8FC 100%); box-shadow: inset 0 1px 0 #FFFFFF, 0 0 0 1px rgba(35, 55, 230, .3), 0 8px 18px rgba(35, 55, 230, .08); }
[data-st="disconnecting"] .core .glyph { opacity: .55; }
@media (prefers-reduced-motion: reduce) { [data-st="connecting"] .cring .pr { animation: none; stroke-dashoffset: 0; } }

.srv {
  display: flex; align-items: center; gap: 14px; width: min(100%, 380px); padding: 14px 18px; text-align: left;
  border-radius: 20px; background: var(--day); box-shadow: 0 0 0 1px var(--line), 0 10px 26px -14px rgba(10, 13, 20, .22);
}
.srv .flag { flex: none; }
.srv-t { flex: 1; min-width: 0; display: grid; }
.srv-t b { font-size: 17px; font-weight: 700; letter-spacing: -.015em; }
.srv .proto { font-size: 10.5px; font-weight: 600; letter-spacing: .12em; color: var(--mute); }
.ping { display: flex; align-items: flex-end; gap: 2px; font-size: 14px; color: var(--mute); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ping i { width: 3px; border-radius: 1px; background: var(--ultra); margin-bottom: 4px; }
.ping i:nth-child(1) { height: 5px; }
.ping i:nth-child(2) { height: 8px; }
.ping i:nth-child(3) { height: 11px; margin-right: 6px; }

.tap-copy h2 { max-width: 9.5em; }
.tap-lead { margin-top: 26px; max-width: 28em; color: var(--mute); font-size: 17px; line-height: 1.7; }
.facts { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--line-2); max-width: 28em; }
.facts li { padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 500; font-size: 15.5px; }

/* ---------- загрузки ---------- */
.dl { padding-block: clamp(88px, 11vw, 160px); background: var(--day); }
.dl-table { border-top: 1.5px solid var(--ink); }
.dl-row {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.5fr) minmax(0, .6fr) minmax(0, 1.55fr);
  gap: 14px 32px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line-2);
}
.dl-row .p { font-size: clamp(22px, 2.1vw, 30px); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; }
.dl-row .r { color: var(--mute); font-size: 15px; }
.dl-row .v { color: var(--mute); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.dl-row .a { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 12px 22px; }
.dl-row .a .btn { height: 48px; padding: 0 26px; }
.dl-row .soon { display: none; justify-self: end; font-size: 11.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.dl-row.is-soon .a { display: none; }
.dl-row.is-soon .soon { display: block; }
.dl-row.is-soon .p { color: var(--faint); }
/* на сайте строка ждёт файла версии /app/<платформа>.json — до него «Скоро», без мёртвых ссылок */
:root[data-gate] .dl-row:not(.is-ready) .a { display: none; }
:root[data-gate] .dl-row:not(.is-ready) .soon { display: block; }
:root[data-gate] .dl-row:not(.is-ready) .p { color: var(--faint); }
/* первый запуск macOS и Windows: сборки без нотариальной проверки Apple и без подписи Authenticode — тихая вторая строка платформы */
.dl-row .first { grid-column: 2 / -1; max-width: 60em; margin-top: -2px; color: var(--mute); font-size: 13.5px; line-height: 1.55; text-wrap: pretty; }
.dl-row.is-soon .first, :root[data-gate] .dl-row:not(.is-ready) .first { display: none; }
.dl-notes { display: grid; gap: 8px; margin-top: 32px; max-width: 52em; color: var(--mute); font-size: 14px; }
.dl-notes a, .ask a, .fine a { color: inherit; font-weight: 600; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.dl-notes a { color: var(--ink); }

/* ---------- провайдерам ---------- */
.prov { background: var(--night); color: var(--on-night); padding-block: clamp(96px, 12vw, 176px); }
.prov .sec-head p { color: var(--on-night-2); }
.prov-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.prov h3 { margin: 0 0 10px; font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.prov p { color: var(--on-night-2); font-size: 15.5px; line-height: 1.65; }
.blk + .blk { margin-top: 48px; }
.code { position: relative; margin-top: 18px; border: 1px solid var(--night-line); border-radius: 16px; background: var(--night-2); }
.code pre { margin: 0; padding: 20px 64px 20px 22px; font: 500 14px/1.75 var(--mono); color: var(--on-night); white-space: pre-wrap; overflow-wrap: anywhere; }
.code .k { color: var(--ultra-night); }
.copy { position: absolute; top: 11px; right: 11px; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--night-line); border-radius: 11px; background: transparent; color: var(--on-night-2); cursor: pointer; transition: color .2s, border-color .2s; }
.copy:hover { color: var(--on-night); border-color: var(--on-night-3); }
.copy .i-ok { display: none; }
.copy.done { color: var(--ultra-night); }
.copy.done .i-ok { display: block; }
.copy.done .i-copy { display: none; }
.hdrs-wrap { overflow-x: auto; }
.hdrs { width: 100%; border-collapse: collapse; font-size: 15px; }
.hdrs th { padding: 0 16px 14px 0; border-bottom: 1px solid var(--night-line); text-align: left; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--on-night-3); }
.hdrs td { padding: 15px 16px 15px 0; border-bottom: 1px solid var(--night-line); vertical-align: top; color: var(--on-night-2); }
.hdrs td:first-child { white-space: nowrap; }
.hdrs code { font-family: var(--mono); font-size: 14px; color: var(--ultra-night); }
.prov .fine { margin-top: 22px; font-size: 14px; color: var(--on-night-3); }
.prov .fine a { color: var(--on-night); }

/* ---------- характеристики ---------- */
.specs { padding-block: clamp(88px, 11vw, 160px); }
.spec-list { margin: 0; border-top: 1.5px solid var(--ink); }
.spec-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.3fr); gap: 6px 32px; padding: 22px 0; border-bottom: 1px solid var(--line-2); }
.spec-row dt { font-weight: 700; font-size: 15.5px; letter-spacing: -.01em; }
.spec-row dd { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.spec-row .tags { color: var(--mute); font-size: 14px; }
.spec-row .tags::before { content: "("; }
.spec-row .tags::after { content: ")"; }

/* ---------- вопросы ---------- */
.faq { padding-block: clamp(88px, 11vw, 160px); background: var(--mist); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.6fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.ask { margin-top: 24px; color: var(--mute); font-size: 15px; }
.ask a { color: var(--ink); }
.qa { border-top: 1.5px solid var(--ink); }
.qa details { border-bottom: 1px solid var(--line-2); }
.qa summary { display: flex; justify-content: space-between; gap: 24px; padding: 26px 0; list-style: none; cursor: pointer; font-weight: 700; font-size: clamp(17px, 1.45vw, 20px); line-height: 1.35; letter-spacing: -.02em; }
.qa summary::-webkit-details-marker { display: none; }
.pm { position: relative; flex: none; width: 14px; height: 14px; margin-top: .4em; }
.pm::before, .pm::after { content: ""; position: absolute; left: 0; top: 6.25px; width: 14px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
.pm::after { transform: rotate(90deg); }
.qa details[open] .pm::after { transform: rotate(0deg); }
.qa .a { display: grid; gap: 10px; max-width: 42em; padding-bottom: 28px; color: var(--ink-2); font-size: 16px; line-height: 1.7; }

/* ---------- подвал ---------- */
.foot { overflow: hidden; background: var(--night); color: var(--on-night); padding-top: clamp(72px, 9vw, 120px); border-top: 1px solid var(--night-line); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 40px; }
.foot .brand { font-size: 32px; }
.foot .about { margin-top: 18px; max-width: 26em; color: var(--on-night-2); font-size: 14px; line-height: 1.7; }
.foot h4 { margin: 8px 0 18px; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--on-night-3); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; font-size: 15px; }
.foot ul a { color: var(--on-night); text-decoration: none; transition: color .2s; }
.foot ul a:hover { color: var(--ultra-night); }
.foot .t { display: block; margin-top: 2px; font-size: 12.5px; color: var(--on-night-3); }
.giant {
  margin: clamp(64px, 9vw, 120px) 0 0 -.05em; font-weight: 800; font-size: clamp(116px, 30vw, 440px); line-height: .74;
  letter-spacing: -.07em; color: var(--night-3); white-space: nowrap; user-select: none; -webkit-user-select: none;
}
.legal {
  position: relative; z-index: 1; background: var(--night);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px;
  padding-block: 22px calc(22px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--night-line);
  font-size: 12.5px; color: var(--on-night-3);
}

/* ---------- документы (/terms, /privacy) ---------- */
.doc-page { padding-block: clamp(64px, 9vw, 128px); }
.doc { max-width: 44rem; }
.doc h1 { margin: 0; font-weight: 800; font-size: clamp(36px, 4.4vw, 60px); line-height: 1.02; letter-spacing: -.045em; }
.doc .upd { margin: 18px 0 0; color: var(--mute); font-size: 14px; }
.doc h2 { margin: 48px 0 12px; font-size: 21px; line-height: 1.3; letter-spacing: -.02em; }
.doc p, .doc li { color: var(--ink-2); font-size: 16.5px; line-height: 1.75; }
.doc p + p { margin-top: 12px; }
.doc ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
.doc a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.e404 { padding-block: clamp(96px, 14vw, 200px); }
.e404 .num { font-weight: 200; font-size: clamp(96px, 16vw, 220px); line-height: .9; letter-spacing: -.05em; color: var(--faint); }
.e404 h1 { margin: 24px 0 12px; font-weight: 800; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.04em; }
.e404 p { color: var(--mute); margin-bottom: 32px; }

.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 70; max-width: calc(100% - 32px);
  padding: 13px 20px; border-radius: 14px; background: var(--ink); color: var(--on-night); font-size: 14px; font-weight: 600;
  opacity: 0; pointer-events: none; transform: translate(-50%, 16px); transition: opacity .25s, transform .25s var(--ease);
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- ширины ---------- */
@media (max-width: 1080px) {
  .dl-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1.5fr); }
  .dl-row .v { display: none; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .hero::before { right: -45%; top: 34%; }
  .device { width: min(300px, 78vw); }
  .sec-head, .tap-grid, .prov-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .tap-copy { order: -1; }
  .gallery {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(74vw, 300px);
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); padding-bottom: 8px;
  }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery figure { scroll-snap-align: center; }
  .gallery figure:nth-child(2) { transform: none; }
  .dl-row { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 26px 0; }
  .dl-row .a, .dl-row .soon { justify-self: start; justify-content: flex-start; margin-top: 10px; }
  .dl-row.is-ready .v { display: block; }
  .dl-row .first { grid-column: 1 / -1; margin-top: 6px; }
  .spec-row { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .top .end .btn { display: none; }
  .wm { font-size: clamp(96px, 30vw, 140px); }
  .cta .btn { flex: 1 1 100%; }
  .core { width: 168px; height: 168px; }
  .core::before { inset: -14px; }
  .cring { left: -11px; top: -11px; width: 190px; height: 190px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .qa summary { padding: 22px 0; }
}
