/* =========================================================
   VSTU HOME — сайт приложения
   HBG DEV · 2026
   Дизайн-код: тёмный AMOLED, бирюзовый акцент, простые карточки
   ========================================================= */

/* ---------- Шрифты ---------- */
@font-face {
  font-family: "Onest";
  src: url("../fonts/Onest-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Onest";
  src: url("../fonts/Onest-latin-ext.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "Onest";
  src: url("../fonts/Onest-cyrillic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  src: url("../fonts/Onest-cyrillic-ext.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF,
    U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/GeistMono-latin.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/GeistMono-latin-ext.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/GeistMono-cyrillic.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/GeistMono-cyrillic-ext.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF,
    U+A640-A69F, U+FE2E-FE2F;
}

/* ---------- Токены ---------- */
:root {
  color-scheme: dark;

  --bg: #000000;
  --bg-soft: #080808;
  --surface: #0d0d0d;
  --surface-2: #121212;
  --field: #171717;

  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  --text: #f0f4f2;
  --muted: #9aa6a1;
  --muted-2: #7f8b86;

  --mint: #7fd8cb;
  --mint-strong: #a3e8df;
  --mint-ink: #052a25;
  --teal: #00796b;
  --teal-dark: #00332e;
  --teal-deep: #06241f;
  --amber: #f3c97b;

  --font-sans: "Onest", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "Geist Mono", "SFMono-Regular", Consolas, monospace;

  --container: 1180px;
  --radius: 12px;
  --radius-lg: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Сброс ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.is-locked {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

svg {
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

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

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

::selection {
  background: rgba(127, 216, 203, 0.25);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--mint);
  color: var(--mint-ink);
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: none;
}

/* ---------- Сетка ---------- */
.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding-block: 84px;
  scroll-margin-top: 88px;
}

.section--soft {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 640px;
  margin-bottom: 38px;
}

.section-head h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.section-head p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  text-wrap: pretty;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--mint);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.label::before {
  content: none;
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s,
    transform 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.btn--mint {
  background: var(--mint);
  color: var(--mint-ink);
}

.btn--mint:hover {
  background: var(--mint-strong);
}

.btn--outline {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: transparent;
}

.btn--outline:hover {
  border-color: rgba(127, 216, 203, 0.45);
  background: rgba(127, 216, 203, 0.05);
}

.btn--sm {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 13px;
}

.btn--sm svg {
  width: 15px;
  height: 15px;
}

.play-btn {
  padding: 0 18px;
}

.play-btn__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-align: left;
}

.play-btn__text small {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  opacity: 0.8;
}

.play-btn__text strong {
  font-size: 15px;
  font-weight: 600;
}

/* ---------- Шапка ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  height: 72px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(0, 0, 0, 0.92);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  backdrop-filter: blur(16px) saturate(130%);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.brand__icon {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #fff;
}

.brand__name {
  display: flex;
  align-items: baseline;
  gap: 9px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.015em;
  white-space: nowrap;
}

.brand__name span {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

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

.site-nav__link {
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  transition: color 0.2s;
}

.site-nav__link:hover,
.site-nav__link.is-active {
  color: var(--mint);
}

.site-nav__cta,
.site-nav__extra {
  display: none;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 10px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 500;
  transition: color 0.2s, background-color 0.2s;
}

.header-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.header-link svg {
  width: 16px;
  height: 16px;
}

.header__actions .btn {
  margin-left: 4px;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--text);
}

.menu-toggle svg {
  width: 19px;
  height: 19px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 132px 0 68px;
  background: linear-gradient(180deg, #051612 0%, #000000 62%);
  border-bottom: 1px solid var(--line);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  gap: 64px;
  align-items: center;
}

.hero__copy {
  max-width: 600px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
}

.hero h1 {
  font-size: clamp(36px, 4.2vw, 54px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.hero h1 span {
  color: var(--mint);
}

.hero__lead {
  max-width: 540px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 22px;
  color: var(--muted-2);
  font-size: 12px;
}

.hero__meta li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero__meta li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--mint);
  opacity: 0.55;
}

.hero__disclaimer {
  margin-top: 12px;
  color: var(--muted-2);
  font-size: 11.5px;
  line-height: 1.5;
}

.hero__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.device {
  width: min(360px, 100%);
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 32px;
  background: #080808;
}

.device img {
  width: 100%;
  height: auto;
  border-radius: 27px;
  background: #000;
}

/* ---------- Факты ---------- */
.facts {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.facts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.fact {
  padding: 22px 26px;
  border-left: 1px solid var(--line);
}

.fact:first-child {
  border-left: 0;
  padding-left: 0;
}

.fact strong {
  display: block;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.fact span {
  display: block;
  margin-top: 2px;
  color: var(--muted-2);
  font-size: 12.5px;
}

/* ---------- Возможности ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.feature {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.2s, background-color 0.2s;
}

.feature__icon {
  display: block;
  margin-bottom: 14px;
  color: var(--mint);
}

.feature__icon svg {
  width: 20px;
  height: 20px;
}

.feature h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.feature p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

/* ---------- Экраны ---------- */
.screens {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.screens::-webkit-scrollbar {
  display: none;
}

.screen-card {
  flex: 0 0 clamp(300px, 30vw, 360px);
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  scroll-snap-align: start;
}

.screen-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 0.46;
  object-fit: cover;
  object-position: top center;
  border-radius: 10px;
  background: #000;
}



/* ---------- Приватность ---------- */
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.privacy-item {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.privacy-item__icon {
  display: block;
  margin-bottom: 14px;
  color: var(--mint);
}

.privacy-item__icon svg {
  width: 19px;
  height: 19px;
}

.privacy-item h3 {
  font-size: 14.5px;
  font-weight: 600;
}

.privacy-item p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
}

.privacy-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.privacy-foot p {
  color: var(--muted-2);
  font-size: 12px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--mint);
  font-size: 13px;
  font-weight: 500;
  transition: gap 0.2s var(--ease);
}

.link-arrow:hover {
  gap: 11px;
}

.link-arrow svg {
  width: 14px;
  height: 14px;
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.faq__intro {
  position: sticky;
  top: 100px;
}

.faq__intro h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.faq__intro p {
  max-width: 330px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.faq__intro .link-arrow {
  margin-top: 18px;
}

.faq__list {
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 2px;
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  list-style: none;
  transition: color 0.2s;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary:hover {
  color: var(--mint);
}

.faq__item summary::after {
  content: "";
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  background: linear-gradient(currentColor, currentColor) center / 12px 1px
      no-repeat,
    linear-gradient(currentColor, currentColor) center / 1px 12px no-repeat;
  opacity: 0.6;
  transition: transform 0.25s var(--ease);
}

.faq__item[open] summary::after {
  transform: rotate(90deg);
  background: linear-gradient(currentColor, currentColor) center / 12px 1px
    no-repeat;
}

.faq__answer {
  max-width: 620px;
  padding: 0 34px 20px 2px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.faq__answer a {
  color: var(--mint);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Скачать ---------- */
.download {
  padding-block: 88px 96px;
  scroll-margin-top: 88px;
}

.download-box {
  max-width: 760px;
  margin-inline: auto;
  padding: 36px 28px;
  border: 1px solid rgba(127, 216, 203, 0.2);
  border-radius: var(--radius-lg);
  background: var(--surface);
  text-align: center;
}

.download-box__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: #fff;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(243, 201, 123, 0.08);
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.download-box h2 {
  margin-top: 14px;
  font-size: clamp(30px, 3.8vw, 44px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.download-box > p {
  max-width: 500px;
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.download-box__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.download-box__note {
  margin-top: 18px;
  color: var(--muted-2);
  font-size: 11.5px;
}

.download-box__note a {
  color: var(--mint);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- iOS ---------- */
.ios-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  max-width: 760px;
  margin: 12px auto 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.ios-note__icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--text);
}

.ios-note__icon svg {
  width: 18px;
  height: 18px;
}

.ios-note__text strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.ios-note__text p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
}

.ios-note .btn {
  white-space: nowrap;
}

/* ---------- Подвал ---------- */
.site-footer {
  padding: 52px 0 26px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 0.7fr));
  gap: 40px;
}

.footer-brand .brand {
  margin-bottom: 14px;
}

.footer-brand p {
  max-width: 330px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.footer-col h4 {
  margin-bottom: 12px;
  color: var(--muted-2);
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  color: var(--muted);
  font-size: 12.5px;
  overflow-wrap: anywhere;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--mint);
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-link svg {
  width: 13px;
  height: 13px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 11px;
}

.footer-bottom p {
  max-width: 700px;
}

/* ---------- Диалог ---------- */
.play-dialog {
  width: min(460px, calc(100% - 32px));
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.8);
}

.play-dialog[open] {
  animation: dialog-in 0.25s var(--ease) both;
}

.play-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.play-dialog__body {
  position: relative;
  padding: 28px;
}

.play-dialog__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--muted);
  transition: background-color 0.2s, color 0.2s;
}

.play-dialog__close:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.play-dialog__close svg {
  width: 15px;
  height: 15px;
}

.play-dialog__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(243, 201, 123, 0.08);
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.play-dialog__status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.play-dialog h2 {
  margin-top: 14px;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.play-dialog p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.play-dialog__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 22px;
}

.play-dialog__actions .btn {
  width: 100%;
}

.play-dialog__note {
  margin-top: 14px;
  color: var(--muted-2);
  font-size: 11px;
  text-align: center;
}

/* ---------- Политика ---------- */
.legal-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 72px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.legal-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 500;
  transition: color 0.2s;
}

.legal-back:hover {
  color: var(--mint);
}

.legal-back svg {
  width: 14px;
  height: 14px;
}

.legal {
  padding: 60px 0 92px;
}

.legal__container {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.legal__toc {
  position: sticky;
  top: 92px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.legal__toc h2 {
  margin-bottom: 12px;
  color: var(--muted-2);
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.legal__toc ol {
  display: flex;
  flex-direction: column;
  gap: 7px;
  counter-reset: toc;
}

.legal__toc li {
  counter-increment: toc;
}

.legal__toc a {
  display: flex;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  transition: color 0.2s;
}

.legal__toc a::before {
  content: counter(toc, decimal-leading-zero);
  padding-top: 2px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 9px;
}

.legal__toc a:hover {
  color: var(--mint);
}

.legal__article {
  max-width: 780px;
  min-width: 0;
}

.legal__article > h1 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.legal__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 14px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 11.5px;
}

.legal__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legal__meta i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
}

.legal__intro {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid rgba(127, 216, 203, 0.16);
  border-radius: 14px;
  background: rgba(127, 216, 203, 0.045);
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.65;
}

.legal__article h2 {
  margin-top: 40px;
  padding-top: 4px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
  scroll-margin-top: 90px;
}

.legal__article h3 {
  margin-top: 24px;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.legal__article p {
  margin-top: 12px;
  color: #c3ccc8;
  font-size: 14px;
  line-height: 1.7;
}

.legal__article ul,
.legal__article ol {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 12px;
}

.legal__article ul li {
  position: relative;
  padding-left: 17px;
  color: #c3ccc8;
  font-size: 14px;
  line-height: 1.65;
}

.legal__article ul li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--mint);
}

.legal__article ul ul {
  margin-top: 7px;
  margin-left: 17px;
  gap: 5px;
}

.legal__article ul ul li::before {
  background: var(--muted-2);
  width: 3px;
  height: 3px;
}

.legal__article ol {
  counter-reset: legal;
}

.legal__article ol li {
  position: relative;
  padding-left: 26px;
  counter-increment: legal;
  color: #c3ccc8;
  font-size: 14px;
  line-height: 1.65;
}

.legal__article ol li::before {
  content: counter(legal) ".";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 11px;
}

.legal__article a {
  color: var(--mint);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal__article strong {
  color: var(--text);
  font-weight: 600;
}

.legal__article code {
  padding: 2px 5px;
  border-radius: 5px;
  background: var(--field);
  font-family: var(--font-mono);
  font-size: 0.88em;
  overflow-wrap: anywhere;
}

.legal__table-wrap {
  max-width: 100%;
  margin-top: 14px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.legal__article table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 12.5px;
}

.legal__article th,
.legal__article td {
  padding: 11px 13px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.5;
}

.legal__article th {
  background: #101512;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.legal__article tr:last-child td {
  border-bottom: 0;
}

.legal__article td {
  color: #c3ccc8;
}

.legal__article td:first-child {
  color: var(--text);
  font-weight: 500;
}

.legal__summary {
  margin-top: 34px;
  padding: 22px;
  border: 1px solid rgba(127, 216, 203, 0.18);
  border-radius: 14px;
  background: rgba(0, 121, 107, 0.08);
  color: #c3ccc8;
  font-size: 13.5px;
  line-height: 1.65;
}

.legal__summary strong {
  color: var(--text);
}

.legal-footer {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 11.5px;
}

.legal-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
}

.legal-footer a:hover {
  color: var(--mint);
}

/* ---------- Адаптив ---------- */
@media (max-width: 1080px) {
  .hero__grid {
    gap: 36px;
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
  }

  .privacy-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq {
    gap: 44px;
  }
}

@media (max-width: 1080px) {
  body.is-menu-open::before {
    content: "";
    position: fixed;
    inset: 72px 0 0;
    z-index: 88;
    background: rgba(0, 0, 0, 0.62);
  }

  .site-nav {
    position: fixed;
    top: 72px;
    left: 16px;
    right: 16px;
    z-index: 89;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    max-height: calc(100dvh - 88px);
    overflow-y: auto;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #0a0a0a;
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease),
      visibility 0.2s;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-nav__link {
    padding: 11px 12px;
    border-radius: 8px;
    font-size: 14.5px;
  }

  .site-nav__link:hover,
  .site-nav__link.is-active {
    background: rgba(127, 216, 203, 0.06);
  }

  .site-nav__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    margin-top: 6px;
    border-radius: 10px;
    background: var(--mint);
    color: var(--mint-ink);
    font-size: 13.5px;
    font-weight: 600;
  }

  .site-nav__cta svg {
    width: 16px;
    height: 16px;
  }

  .site-nav__extra {
    display: flex;
    gap: 8px;
    margin-top: 6px;
  }

  .site-nav__extra a {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 500;
  }

  .site-nav__extra a:hover {
    color: var(--mint);
    border-color: rgba(127, 216, 203, 0.3);
  }

  .site-nav__extra svg {
    width: 14px;
    height: 14px;
  }

  .header__actions .btn,
  .header-link--tg {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .hero {
    padding-top: 118px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero__copy {
    max-width: 680px;
  }

  .hero__visual {
    align-items: flex-start;
  }

  .device {
    width: min(330px, 100%);
  }

  .faq {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .faq__intro {
    position: static;
  }

  .legal__container {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .legal__toc {
    position: static;
  }

  .legal__toc ol {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .container {
    width: min(var(--container), calc(100% - 32px));
  }

  .section {
    padding-block: 68px;
    scroll-margin-top: 80px;
  }

  .hero {
    padding: 106px 0 52px;
  }

  .hero h1 {
    font-size: clamp(32px, 9vw, 40px);
  }

  .hero h1 br {
    display: none;
  }

  .hero__lead {
    margin-top: 18px;
    font-size: 15.5px;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__meta {
    gap: 6px 14px;
    margin-top: 18px;
    font-size: 11.5px;
  }

  .facts__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fact {
    padding: 16px 14px;
    border-top: 1px solid var(--line);
  }

  .fact:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

  .fact:nth-child(1),
  .fact:nth-child(2) {
    border-top: 0;
  }

  .fact strong {
    font-size: 15px;
  }

  .fact span {
    font-size: 11.5px;
  }

  .section-head {
    margin-bottom: 28px;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .feature {
    padding: 20px;
  }

  .screens {
    gap: 12px;
    margin-inline: -16px;
    padding: 0 16px 4px;
    scroll-snap-type: x mandatory;
  }

  .screen-card {
    flex: 0 0 78%;
  }

  .privacy-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .privacy-item {
    padding: 20px;
  }

  .privacy-foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .faq__item summary {
    padding: 17px 2px;
    font-size: 14.5px;
  }

  .faq__answer {
    padding: 0 24px 18px 2px;
    font-size: 13.5px;
  }

  .download {
    padding-block: 64px 72px;
  }

  .download-box {
    padding: 32px 20px;
  }

  .download-box__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .download-box__actions .btn {
    width: 100%;
  }

  .ios-note {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 16px;
  }

  .ios-note .btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    margin-top: 28px;
  }

  .legal {
    padding: 40px 0 64px;
  }

  .legal__toc {
    display: none;
  }

  .legal__article > h1 {
    font-size: 30px;
  }

  .legal__article h2 {
    margin-top: 32px;
    font-size: 20px;
  }

  .legal__article p,
  .legal__article ul li,
  .legal__article ol li {
    font-size: 13.5px;
  }
}

@media (max-width: 380px) {
  .brand__name span {
    display: none;
  }

  .header-link--github {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }
}

/* ---------- Уменьшенное движение ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
