@font-face { font-family: Oswald; src: url(/assets/fonts/oswald-cyrillic-wght-normal.woff2) format("woff2"); font-weight: 200 700; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Oswald; src: url(/assets/fonts/oswald-latin-wght-normal.woff2) format("woff2"); font-weight: 200 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Manrope; src: url(/assets/fonts/manrope-cyrillic-wght-normal.woff2) format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Manrope; src: url(/assets/fonts/manrope-latin-wght-normal.woff2) format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; src: url(/assets/fonts/jetbrains-mono-cyrillic-wght-normal.woff2) format("woff2"); font-weight: 100 800; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "JetBrains Mono"; src: url(/assets/fonts/jetbrains-mono-latin-wght-normal.woff2) format("woff2"); font-weight: 100 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #09090a;
  --ink: #09090a;
  --white: #fff;
  --soft: rgba(255, 255, 255, .84);
  --radius: 20px;
  --heading: Oswald, "Arial Narrow", sans-serif;
  --body: Manrope, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--white); font: 500 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
/* Зерно поверх всей страницы */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sprite { position: absolute; }

.wrap { width: min(1320px, 100%); margin-inline: auto; padding-inline: clamp(20px, 3.4vw, 48px); }

h1, h2, h3 { font-family: var(--heading); font-weight: 700; text-transform: uppercase; line-height: 1; }
h1 { font-size: clamp(34px, 8.6vw, 150px); line-height: 1.1; }
h2 { font-size: clamp(44px, 7.4vw, 112px); margin-bottom: clamp(32px, 4vw, 56px); }
h3 { font-size: 30px; font-weight: 600; }

/* Инверсная плашка вместо цвета */
.accent { display: inline-block; padding: 0 .14em .03em; background: var(--white); color: var(--ink); box-shadow: 0 0 44px rgba(255, 255, 255, .34); }
.light .accent { background: var(--ink); color: var(--white); box-shadow: none; }

.eyebrow, .label, .note, .strip-label { font-family: var(--mono); font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.eyebrow { margin-bottom: 18px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border: 2px solid var(--white);
  border-radius: 14px;
  background: none;
  color: var(--white);
  font: 800 15px/1.2 var(--body);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, color .15s, box-shadow .2s, transform .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--white); color: var(--ink); }
.btn-primary:hover { box-shadow: 0 0 34px rgba(255, 255, 255, .5); }
.btn-ghost:hover { background: var(--white); color: var(--ink); }
.btn-lg { min-height: 60px; padding: 16px 30px; font-size: 17px; }
.btn-sm { min-height: 38px; padding: 7px 14px; font-size: 14px; border-radius: 10px; }
.btn[disabled] { opacity: .7; cursor: wait; transform: none; }

/* Шапка */
.header { position: sticky; top: 0; z-index: 40; background: var(--bg); border-bottom: 2px solid var(--white); }
.header-row { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 22px/1 var(--heading); text-transform: uppercase; letter-spacing: .03em; text-decoration: none; }
.brand img { border-radius: 10px; }
.nav { display: flex; gap: 28px; margin-inline: auto; }
.nav a:not(.btn) { font-size: 15px; font-weight: 700; text-decoration: none; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.nav a:not(.btn):hover { text-decoration-line: underline; }
.nav-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; padding: 2px; border: 2px solid var(--white); border-radius: 10px; }
.lang button { padding: 6px 9px; border: 0; border-radius: 6px; background: none; color: var(--white); font: 700 13px/1 var(--mono); cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--white); color: var(--ink); }
.burger { display: none; position: relative; width: 44px; height: 44px; padding: 0; border: 2px solid var(--white); border-radius: 10px; background: none; cursor: pointer; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--white); transition: transform .2s, top .2s; }
.burger span:first-child { top: 15px; }
.burger span:last-child { top: 23px; }
.burger[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }

/* Главный экран */
.hero { display: flex; flex-direction: column; min-height: calc(100svh - 70px); }
.hero-main { position: relative; flex: 1; padding: clamp(28px, 4vw, 56px) clamp(20px, 3.4vw, 48px) 44px; overflow: hidden; }
.hero-main > :not(.hero-logo) { position: relative; z-index: 1; }
.lead { max-width: 34em; margin-top: 30px; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-logo {
  position: absolute;
  right: clamp(-40px, 1vw, 40px);
  bottom: -40px;
  width: clamp(280px, 34vw, 560px);
  mix-blend-mode: screen;
  filter: contrast(1.25) brightness(1.1) drop-shadow(0 0 50px rgba(255, 255, 255, .28));
  -webkit-mask-image: radial-gradient(closest-side, #000 60%, transparent 90%);
  mask-image: radial-gradient(closest-side, #000 60%, transparent 90%);
}
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--white); color: var(--ink); }
.stats div { padding: 18px clamp(20px, 3.4vw, 48px) 20px; }
.stats div + div { border-left: 2px solid var(--ink); }
.stats dd { font: 700 clamp(44px, 6.4vw, 96px)/1 var(--heading); }
.stats dt { margin-top: 6px; font-size: 15px; font-weight: 700; line-height: 1.3; }

/* Бегущая строка */
.marquee { overflow: hidden; padding-block: 22px; border-bottom: 2px solid var(--white); }
.marquee-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; flex: none; }
.marquee span { font: 700 clamp(34px, 4vw, 56px)/1 var(--heading); letter-spacing: .03em; padding-inline: 30px; }
.marquee i { font-style: normal; font-size: 26px; }
@keyframes marquee { to { transform: translateX(-50%); } }

.section { padding-block: clamp(64px, 8vw, 112px); }
/* Белая секция на всю ширину экрана */
.light { position: relative; color: var(--ink); background: var(--white); box-shadow: 0 0 0 100vmax var(--white); clip-path: inset(0 -100vmax); }

/* Обложки */
.covers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.cover strong { overflow-wrap: anywhere; }
.cover { display: flex; flex-direction: column; gap: 4px; text-decoration: none; }
.cover-media { position: relative; display: block; aspect-ratio: 9 / 16; margin-bottom: 12px; overflow: hidden; border-radius: var(--radius); background: #000; transition: box-shadow .25s, transform .25s; }
.cover-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cover:hover .cover-media { transform: translateY(-6px); box-shadow: 0 0 48px rgba(255, 255, 255, .34); }
.cover:hover img { transform: scale(1.04); }
.cover-play { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--white); color: var(--ink); }
.cover-play svg { width: 26px; height: 26px; }
.cover-meta { display: flex; justify-content: space-between; gap: 8px; font: 600 14px/1.3 var(--mono); }
.cover strong { font: 700 clamp(22px, 1.9vw, 28px)/1.1 var(--heading); text-transform: uppercase; }
.cover-kicker { font-weight: 700; font-size: 15px; }
.cover-title { font-size: 15px; line-height: 1.35; color: var(--soft); }
.cover-promo { align-self: flex-start; margin-top: 8px; padding: 5px 10px; border-radius: 8px; background: var(--white); color: var(--ink); font: 600 13px/1.2 var(--mono); }

/* Карточки */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { border: 2px solid currentColor; border-radius: var(--radius); }
.platform { display: flex; flex-direction: column; gap: 6px; padding: 26px; text-decoration: none; transition: background .15s, color .15s; }
.platform:hover { background: var(--ink); color: var(--white); }
.platform-head { display: flex; align-items: center; gap: 12px; font: 700 32px/1 var(--heading); text-transform: uppercase; }
.platform-head .icon { width: 34px; height: 34px; }
.platform-head .arrow { width: 24px; height: 24px; margin-left: auto; }
.platform-handle { font: 600 15px/1.4 var(--mono); }
.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.metrics span { display: flex; flex-direction: column; }
.metrics b { font: 700 clamp(48px, 5vw, 68px)/1 var(--heading); }
.metrics small { margin-top: 4px; font-size: 15px; font-weight: 700; }
.note { margin-top: 20px; text-transform: none; letter-spacing: 0; }

.format { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px 26px; }
.format ul { display: grid; gap: 8px; margin-top: auto; padding-top: 16px; font-weight: 700; }
.format li { position: relative; padding-left: 22px; }
.format li::before { content: "+"; position: absolute; left: 0; font-family: var(--mono); }
.format-top { background: var(--white); color: var(--ink); border-color: var(--white); box-shadow: 0 0 54px rgba(255, 255, 255, .26); }
.badge { align-self: flex-start; padding: 5px 10px; border-radius: 8px; background: var(--ink); color: var(--white); font: 600 13px/1.2 var(--mono); text-transform: uppercase; }
.strip { display: flex; align-items: center; gap: 18px; margin-top: 20px; padding: 20px 26px; border: 2px dashed var(--white); border-radius: var(--radius); font-weight: 700; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-block: 2px solid var(--ink); }
.steps li { padding: 24px 22px 28px; }
.steps li + li { border-left: 2px solid var(--ink); }
.step-num { display: block; font: 700 clamp(64px, 7vw, 100px)/1 var(--heading); }
.steps h3 { margin-block: 14px 8px; }

/* Контакты и форма */
.contact { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 20px; align-items: start; }
.contact-side { display: grid; gap: 20px; }
.contact-item { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 22px; }
.contact-value { font-weight: 800; font-size: 19px; overflow-wrap: anywhere; text-decoration: none; }
a.contact-value:hover { text-decoration: underline; }
.contact-item .btn { margin-top: 8px; }

.form-card { padding: 30px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label, .field legend { padding: 0; font-size: 15px; font-weight: 700; }
.field legend { margin-bottom: 8px; }
.field em { font-style: normal; }
input:not([type="radio"], [type="checkbox"]), select, textarea {
  width: 100%;
  padding: 13px 14px;
  border: 2px solid var(--white);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  color-scheme: light;
  font: 600 16px/1.4 var(--body);
}
input:focus, select:focus, textarea:focus { outline: 0; box-shadow: 0 0 0 4px rgba(255, 255, 255, .45); }
textarea { resize: vertical; min-height: 128px; }
.field.has-error input, .field.has-error textarea { box-shadow: 0 0 0 4px var(--bg), 0 0 0 6px var(--white); }
.field-error { font-size: 14px; font-weight: 700; }
.field-error::before { content: "! "; font-family: var(--mono); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.pill span { display: block; padding: 9px 15px; border: 2px solid var(--white); border-radius: 10px; font-size: 15px; font-weight: 700; transition: background .15s, color .15s; }
.pill input:checked + span { background: var(--white); color: var(--ink); }
.pill input:focus-visible + span { outline: 3px solid var(--white); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: var(--white); color: var(--ink); font-size: 15px; font-weight: 700; }
.form-foot { display: flex; align-items: center; gap: 18px; margin-top: 22px; }
.form-foot .btn { flex: none; }
.form-note { font-size: 14px; line-height: 1.45; }
.form-success { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-block: 28px; outline: none; }
.form-success p { max-width: 52ch; overflow-wrap: anywhere; }
.form-success h3 { font-size: 44px; }
.success-mark { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--white); color: var(--ink); font-size: 28px; font-weight: 800; }

/* Футер */
.footer { border-top: 2px solid var(--white); padding-block: 26px; font-size: 15px; font-weight: 700; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-row > a:last-child { margin-left: auto; }
.socials { display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border: 2px solid var(--white); border-radius: 10px; }
.socials a:hover { background: var(--white); color: var(--ink); }
.socials svg { width: 20px; height: 20px; }

/* Политика конфиденциальности */
.policy { max-width: 820px; padding-block: 64px 96px; }
.policy h1 { font-size: clamp(40px, 6vw, 64px); margin-bottom: 12px; }
.policy h2 { font-size: 26px; margin: 36px 0 10px; }
.policy p + p { margin-top: 10px; }
.policy ul { display: grid; gap: 6px; padding-left: 20px; list-style: disc; }
html[lang="ru"] [data-only="en"], html[lang="en"] [data-only="ru"] { display: none; }

@media (max-width: 1040px) {
  .nav { gap: 18px; }
  .covers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:nth-child(3) { border-left: 0; }
  .steps li:nth-child(n + 3) { border-top: 2px solid var(--ink); }
}
@media (max-width: 860px) {
  .header-row { justify-content: space-between; gap: 12px; }
  .burger { display: block; }
  .header-cta { display: none; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 2px;
    padding: 12px 20px 20px;
    background: var(--bg);
    border-bottom: 2px solid var(--white);
    visibility: hidden;
    opacity: 0;
    transition: opacity .15s, visibility .15s;
  }
  .nav.is-open { visibility: visible; opacity: 1; }
  .nav a:not(.btn) { padding: 11px 0; font-size: 18px; }
  .nav-cta { display: inline-flex; margin-top: 10px; }
  .hero { min-height: 0; }
  .hero-main { padding-bottom: 28px; }
  .hero-logo { position: static; width: min(300px, 80%); margin: 18px auto -10px; }
  .grid-3, .contact { grid-template-columns: minmax(0, 1fr); }
  .strip { flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px 20px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero-actions .btn { width: 100%; }
  .stats div { padding-inline: 12px; }
  .stats dt { font-size: 12px; }
  .covers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .cover strong { font-size: 22px; }
  .cover-title { display: none; }
  .cover-play { right: 10px; bottom: 10px; width: 46px; height: 46px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li + li { border-left: 0; border-top: 2px solid var(--ink); }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .form-card { padding: 20px; }
  .form-foot { flex-direction: column; align-items: stretch; }
  .footer-row > a:last-child { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .marquee-track { animation: none; }
}
