@font-face { font-family: Runde; src: url(../fonts/OpenRunde-Regular.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Runde; src: url(../fonts/OpenRunde-Medium.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: Runde; src: url(../fonts/OpenRunde-Semibold.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: Runde; src: url(../fonts/OpenRunde-Bold.woff2) format('woff2'); font-weight: 700; font-display: swap; }
/* Playfair Display курсив 500 — свои файлы (OFL, fonts/playfair/OFL.txt), без запроса к Google */
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 500; font-display: swap; src: url(../fonts/playfair/PlayfairDisplay-Italic500-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 500; font-display: swap; src: url(../fonts/playfair/PlayfairDisplay-Italic500-latin.woff2) format('woff2'); 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; }

:root {
  --bg: #F4F4F6; --paper: #FFFFFF; --ink: #0E0E10; --ink-2: #4A4D57; --mute: #666A75; --line: rgba(14, 14, 16, .08);
  --blue: #2A8EFF; --blue-ink: #0A56BA; --night: #0E0E10;
  --r-lg: 34px; --r-md: 22px; --r-sm: 14px;
  --shadow: 0 30px 80px rgba(20, 30, 60, .12), 0 6px 18px rgba(20, 30, 60, .06);
  --serif: 'Playfair Display', Georgia, serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: Runde, system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
i.s { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -.01em; }
.wrap { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }
.kicker { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.h2 { font-size: clamp(40px, 6vw, 84px); line-height: .98; letter-spacing: -.035em; font-weight: 700; }
.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--ink-2); max-width: 640px; }

/* кнопки */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 18px; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn.dark { background: var(--ink); color: #fff; box-shadow: 0 14px 30px rgba(14, 14, 16, .18); }
.btn.blue { background: var(--blue); color: #fff; box-shadow: 0 16px 34px rgba(42, 142, 255, .35); }
.btn.ghost { background: rgba(255, 255, 255, .7); border: 1px solid var(--line); }
.btn .arr { font-size: 20px; }

/* шапка */
.top { position: fixed; z-index: 50; top: 16px; left: 50%; transform: translateX(-50%); width: min(1240px, calc(100% - 32px)); height: 64px;
  display: flex; align-items: center; justify-content: space-between; padding: 0 10px 0 18px; border-radius: 999px;
  background: rgba(244, 244, 246, .88); backdrop-filter: blur(18px) saturate(1.4); border: 1px solid rgba(255, 255, 255, .7); box-shadow: 0 10px 30px rgba(20, 30, 60, .06); }
.lock { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 22px; letter-spacing: -.02em; }
.lock svg { width: 34px; height: 34px; }
.nav { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(14, 14, 16, .05); }
.nav a { padding: 9px 16px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: background .2s, color .2s; }
.nav a:hover { background: #fff; color: var(--ink); }
.top .btn { height: 46px; font-size: 15px; padding: 0 20px; }
@media (max-width: 860px) { .nav { display: none; } }

/* первый экран */
.hero { position: relative; min-height: 100vh; padding: 130px 0 60px; overflow: hidden; }
.hero .grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; }
.hero h1 { font-size: clamp(44px, 5vw, 76px); line-height: .93; letter-spacing: -.045em; font-weight: 700; }
.hero h1 i.s { display: block; font-size: .92em; color: var(--ink-2); margin-top: 6px; }
.hero .lead { margin-top: 28px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.hero .meta { display: flex; gap: 22px; margin-top: 34px; color: var(--mute); font-size: 15px; flex-wrap: wrap; }
.hero .meta b { color: var(--ink); font-weight: 600; }
.stage { position: relative; height: min(760px, 78vh); }
.stage .mark { position: absolute; width: 210px; right: 6%; top: 0; z-index: 5; transform: rotate(10deg); animation: float 6s ease-in-out infinite; filter: drop-shadow(0 24px 30px rgba(20,30,60,.18)); }
@keyframes float { 50% { transform: rotate(6deg) translateY(-14px); } }
.phone { position: absolute; width: 230px; aspect-ratio: 9 / 19.5; border-radius: 40px; background: #0E0E10; padding: 8px; box-shadow: var(--shadow); }
.phone video, .phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 32px; background: #1a1a1d; }
.phone::before { content: ''; position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 70px; height: 20px; border-radius: 12px; background: #0E0E10; z-index: 2; }
.stage .p1 { left: 2%; top: 30%; transform: rotate(-8deg); z-index: 2; }
.stage .p2 { left: 34%; top: 22%; z-index: 3; width: 250px; }
.stage .p3 { right: 0; top: 34%; transform: rotate(8deg); z-index: 2; }
.chip { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; font-size: 15px; font-weight: 600;
  background: rgba(255, 255, 255, .78); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 12px 30px rgba(20, 30, 60, .1); }
.chip b { width: 9px; height: 9px; border-radius: 50%; background: var(--blue); }
.stage .c1 { left: -4%; top: 20%; } .stage .c2 { left: 26%; top: 6%; } .stage .c3 { left: 8%; bottom: 4%; } .stage .c4 { right: 4%; bottom: 8%; }
@media (max-width: 980px) { .hero .grid { grid-template-columns: 1fr; } .stage { height: 640px; margin-top: 20px; } }
@media (max-width: 560px) { .phone { width: 170px; border-radius: 30px; } .stage .p2 { width: 186px; left: 26%; } .stage .mark { width: 200px; } .phone video, .phone img { border-radius: 24px; } }

/* бегущая строка */
.ticker { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: rgba(255, 255, 255, .5); }
.ticker .row { display: flex; gap: 48px; width: max-content; animation: tick 38s linear infinite; font-size: 30px; font-weight: 600; letter-spacing: -.02em; }
.ticker .row span { display: inline-flex; align-items: center; gap: 48px; white-space: nowrap; }
.ticker .row span::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }
@keyframes tick { to { transform: translateX(-50%); } }

/* разделы */
section.block { padding: clamp(90px, 12vw, 160px) 0; }
.head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: 56px; }
.head .lead { max-width: 460px; }

/* как работает */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { background: var(--paper); border-radius: var(--r-lg); padding: 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.step .pic { height: 300px; border-radius: var(--r-md); overflow: hidden; background: #ECEDF1; position: relative; }
.step .pic img, .step .pic video { width: 100%; height: 100%; object-fit: cover; }
.step .n { margin: 22px 8px 0; font-size: 14px; color: var(--blue-ink); font-weight: 700; }
.step h3 { margin: 6px 8px 0; font-size: 26px; letter-spacing: -.02em; }
.step p { margin: 10px 8px 8px; color: var(--ink-2); line-height: 1.45; font-size: 17px; }
.minis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px; height: 100%; }
.minis img { border-radius: 10px; height: 100%; object-fit: cover; }
@media (max-width: 1080px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .steps { grid-template-columns: 1fr; } }

/* вкус */
.taste { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.taste .board { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); background: #fff; transform: rotate(1.2deg); }
.rules { margin-top: 30px; display: grid; gap: 12px; }
.rule { background: var(--paper); border-radius: var(--r-sm); padding: 16px 18px; border: 1px solid var(--line); font-size: 16px; line-height: 1.45; }
.rule q { color: var(--ink-2); } .rule b { display: block; margin-top: 6px; }
@media (max-width: 980px) { .taste { grid-template-columns: 1fr; } }

/* вселенная */
.universe { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.universe img { border-radius: var(--r-md); aspect-ratio: 9 / 16; object-fit: cover; box-shadow: 0 16px 40px rgba(20, 30, 60, .12); }
.universe img:nth-child(even) { transform: translateY(36px); }
@media (max-width: 860px) { .universe { grid-template-columns: repeat(3, 1fr); } }

/* витрина */
.reels { display: flex; gap: 22px; overflow-x: auto; padding: 20px 4px 40px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.reels::-webkit-scrollbar { display: none; }
.reel { flex: 0 0 auto; scroll-snap-align: center; text-align: left; }
.reel .phone { position: relative; width: 250px; }
.reel .cap { margin-top: 16px; font-weight: 600; font-size: 17px; } .reel .sub { color: var(--mute); font-size: 15px; margin-top: 4px; }

/* что внутри + цена */
.buy { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; align-items: stretch; }
.inside { background: var(--paper); border-radius: var(--r-lg); padding: 40px; box-shadow: var(--shadow); }
.inside ul { list-style: none; margin-top: 26px; display: grid; gap: 4px; }
.inside li { display: grid; grid-template-columns: 64px 1fr; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); }
.inside li b { font-size: 30px; letter-spacing: -.03em; } .inside li span { color: var(--ink-2); font-size: 17px; line-height: 1.4; }
.price { background: radial-gradient(360px 360px at calc(100% - 60px) 60px, rgba(42, 142, 255, .45), transparent 70%), var(--night); color: #fff; border-radius: var(--r-lg); padding: 40px; display: flex; flex-direction: column; position: relative; }
.price::after { content: none; }
.price .name { font-size: 20px; color: #B9BCC6; } .price .sum { font-size: 64px; font-weight: 700; letter-spacing: -.04em; margin-top: 16px; }
.price .old { font-size: 22px; color: #6F7380; text-decoration: line-through; margin-left: 10px; }
.price ul { list-style: none; margin: 26px 0; display: grid; gap: 10px; color: #D5D8E0; font-size: 17px; }
.price li::before { content: '✓'; color: var(--blue); margin-right: 10px; font-weight: 700; }
.price .btn { margin-top: auto; justify-content: center; }
.price .pay { margin-top: 14px; font-size: 14px; color: #8E929E; text-align: center; }
@media (max-width: 980px) { .buy { grid-template-columns: 1fr; } }

/* студия */
.studio { position: relative; border-radius: 40px; overflow: hidden; min-height: 520px; display: flex; align-items: flex-end; color: #fff; }
.studio img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.studio::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 10, 16, .15), rgba(8, 10, 16, .82)); z-index: 1; }
.studio .in { position: relative; z-index: 2; padding: clamp(28px, 5vw, 60px); max-width: 760px; }
.studio .h2 { color: #fff; } .studio p { color: #D7DAE2; font-size: 20px; line-height: 1.5; margin: 18px 0 28px; }

/* вопросы */
.faq { display: grid; gap: 10px; max-width: 900px; }
.faq details { background: var(--paper); border-radius: var(--r-md); padding: 22px 26px; border: 1px solid var(--line); }
.faq summary { cursor: pointer; font-size: 20px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::after { content: '+'; color: var(--blue); font-size: 26px; line-height: 1; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin-top: 14px; color: var(--ink-2); font-size: 17px; line-height: 1.55; }

/* подвал */
footer { background: var(--night); color: #fff; margin-top: 60px; padding: 80px 0 34px; border-radius: 40px 40px 0 0; }
footer .cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
footer .cta h3 { font-size: clamp(34px, 4vw, 56px); letter-spacing: -.03em; line-height: 1; }
footer .word { font-size: clamp(64px, 15vw, 230px); font-weight: 700; letter-spacing: -.06em; margin: 70px 0 40px; line-height: .9; }
footer .word span { color: var(--blue); }
footer .cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 30px; }
footer .cols b { display: block; font-size: 15px; color: #8E929E; margin-bottom: 12px; text-transform: uppercase; letter-spacing: .06em; }
footer .cols a { display: block; padding: 5px 0; color: #E6E8EE; }
footer .base { display: flex; justify-content: space-between; margin-top: 40px; color: #8E929E; font-size: 14px; }

/* появление при прокрутке */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(.2, .7, .2, 1), transform .6s cubic-bezier(.2, .7, .2, 1); }
.rv.on { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } .ticker .row { animation: none; } }

/* уроки (страница установки) */
.lessons { display: grid; grid-template-columns: 1.4fr .6fr; gap: 22px; }
.player { background: var(--paper); border-radius: var(--r-lg); padding: 34px; box-shadow: var(--shadow); min-height: 520px; }
.player .num { color: var(--blue-ink); font-weight: 700; } .player h3 { font-size: 36px; letter-spacing: -.02em; margin: 10px 0 18px; }
.player p, .player li { font-size: 18px; line-height: 1.6; color: var(--ink-2); } .player ol { margin: 10px 0 0 22px; display: grid; gap: 8px; }
.player code { background: #F0F1F4; padding: 3px 8px; border-radius: 8px; font-size: 15px; color: var(--ink); }
.list { display: grid; gap: 10px; align-content: start; }
.list button { text-align: left; font: inherit; font-size: 17px; font-weight: 600; padding: 18px 20px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--paper); cursor: pointer; display: flex; gap: 14px; }
.list button span { color: var(--mute); } .list button.on { background: var(--ink); color: #fff; } .list button.on span { color: var(--blue); }
@media (max-width: 900px) { .lessons { grid-template-columns: 1fr; } }

/* телефон */
@media (max-width: 560px) {
  .top { height: 56px; padding: 0 6px 0 14px; }
  .top .btn { height: 42px; font-size: 14px; padding: 0 14px; white-space: nowrap; }
  .lock { font-size: 19px; }
  .hero { padding-top: 110px; }
  .stage { height: 520px; }
  .stage .chip { display: none; }
  .stage .mark { width: 130px; right: 2%; }
  .ticker .row { font-size: 22px; }
  .inside, .price { padding: 26px; }
}

/* 3D первого экрана */
.gl-canvas { position: absolute; left: -12%; top: -8%; width: 124%; height: 114%; z-index: 3; }
.stage.gl .phone, .stage.gl .mark { display: none; }
.stage .chip { z-index: 6; pointer-events: none; }

/* шапка: звук и покупка */
.top .right { display: flex; align-items: center; gap: 8px; }
.sound { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: flex; gap: 3px; align-items: center; justify-content: center; cursor: pointer; }
.sound span { width: 3px; height: 14px; border-radius: 2px; background: var(--ink); transform-origin: 50% 100%; transition: transform .3s; }
.sound[data-on="1"] span { animation: eq 1.1s ease-in-out infinite; }
.sound[data-on="1"] span:nth-child(2) { animation-delay: -.35s; } .sound[data-on="1"] span:nth-child(3) { animation-delay: -.7s; } .sound[data-on="1"] span:nth-child(4) { animation-delay: -.2s; }
.sound[data-on="0"] span { transform: scaleY(.25); }
@keyframes eq { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }

/* блик на кнопке покупки и «пинг» */
.buy-shine { position: relative; overflow: hidden; }
.buy-shine::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 45%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .32), transparent); animation: shine 3.5s ease-in-out infinite; pointer-events: none; }
@keyframes shine { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(260%); } }
.ping { position: relative; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); margin-right: 10px; vertical-align: 1px; }
.ping::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--blue); animation: ping 1.2s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes ping { 75%, 100% { transform: scale(2.4); opacity: 0; } }

/* игрушка «Печатайте — мы монтируем» */
.desk-sec { display: none; padding: clamp(70px, 9vw, 120px) 0 0; }
.desk-sec.on { display: block; }
.desk { position: relative; height: clamp(360px, 42vw, 520px); border-radius: 40px; overflow: hidden; background: radial-gradient(90% 100% at 50% 0%, #FFFFFF, #E9EAEF); box-shadow: var(--shadow); }
.desk canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.desk-cap { position: absolute; left: 24px; right: 24px; top: 30px; text-align: center; font-size: clamp(28px, 4vw, 54px); font-weight: 700; letter-spacing: -.03em; pointer-events: none; min-height: 1.2em; }
.desk-cap .now { color: var(--blue); } .desk-cap .done { color: var(--ink); }
.desk-hint { position: absolute; left: 0; right: 0; top: 38px; text-align: center; font-size: 22px; font-weight: 600; color: var(--ink-2); transition: opacity .3s; pointer-events: none; }
.desk-hint span { display: block; font-size: 15px; font-weight: 500; color: var(--mute); margin-top: 6px; }

/* уход первого экрана и глубина слоёв — анимации, привязанные к прокрутке */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    section.block, .desk-sec { view-timeline-name: --sec; }
    .depth { animation: depth linear both; animation-timeline: --sec; }
  }
}
@keyframes depth { from { translate: 0 calc(var(--depth) * -1); } to { translate: 0 var(--depth); } }
@media (max-width: 560px) { .sound { width: 40px; height: 40px; } }

/* витрина — 3D-веер */
.flow { position: relative; height: clamp(580px, 62vw, 720px); perspective: 1800px; margin-top: 10px; }
.flow-stage { position: absolute; inset: 0 0 110px; transform-style: preserve-3d; display: flex; align-items: center; justify-content: center; touch-action: pan-y; }
.flow .ring { position: relative; width: clamp(220px, 22vw, 290px); aspect-ratio: 9 / 16; transform-style: preserve-3d; transition: transform 1s cubic-bezier(.22, 1, .36, 1); }
.flow .ring.free { transition: none; }
.flow-stage { transform-style: preserve-3d; transform: translateY(18px) rotateX(-11deg); }
.flow .card.back video { opacity: .35; }
.flow .card { position: absolute; inset: 0; border-radius: 30px; overflow: hidden; background: #111; backface-visibility: visible;
  box-shadow: 0 40px 90px rgba(20, 30, 60, .22), 0 0 0 1px rgba(14, 14, 16, .9); transition: filter .8s; cursor: grab; user-select: none; }
.flow .card.on { cursor: default; box-shadow: 0 50px 110px rgba(20, 30, 60, .3), 0 0 0 1px rgba(14, 14, 16, .9), 0 0 0 7px #fff; }
.flow .card video { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.flow .card:active { cursor: grabbing; }
.card-snd { position: absolute; right: 14px; bottom: 14px; height: 42px; padding: 0 14px 0 10px; border-radius: 21px; border: 0; cursor: pointer; display: flex; gap: 6px; align-items: center; color: var(--ink); font: 600 14px Runde, sans-serif; background: rgba(255, 255, 255, .88); backdrop-filter: blur(10px); opacity: 0; transition: opacity .3s; }
.card.on .card-snd { opacity: 1; }
.card-snd .w { display: none; } .card-snd.live { color: var(--blue); } .card-snd.live .w { display: inline; } .card-snd.live .x { display: none; }
.flow-arrow { position: absolute; top: calc(50% - 80px); width: 58px; height: 58px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 22px; cursor: pointer; z-index: 60;
  box-shadow: 0 12px 30px rgba(20, 30, 60, .1); transition: transform .2s; }
.flow-arrow:hover { transform: scale(1.08); } .flow-arrow.prev { left: 0; } .flow-arrow.next { right: 0; }
.flow-cap { position: absolute; left: 0; right: 0; bottom: 44px; text-align: center; } .flow-cap b { display: block; font-size: 22px; letter-spacing: -.01em; } .flow-cap span { color: var(--mute); font-size: 15px; }
.flow-dots { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; gap: 8px; justify-content: center; }
.flow-dots button { width: 8px; height: 8px; border-radius: 4px; border: 0; background: #C9CBD3; cursor: pointer; transition: width .3s, background .3s; }
.flow-dots button.on { width: 28px; background: var(--ink); }
@media (max-width: 560px) { .flow-arrow { display: none; } .flow { height: 560px; } }

/* первый экран v3: огромное слово позади, веер айфонов по центру, текст сверху и снизу */
.hero { min-height: 100svh; padding: 112px 0 40px; display: flex; flex-direction: column; }
.hero-word { position: absolute; left: 0; right: 0; top: 40%; transform: translateY(-50%); text-align: center; pointer-events: none; z-index: 0;
  font-weight: 700; font-size: 17.5vw; letter-spacing: -.07em; line-height: .8; color: #E3E4E9; white-space: nowrap; }
.hero-word b { color: var(--blue); opacity: .28; }
.hero-head { position: relative; z-index: 4; text-align: center; }
.hero-head h1 { font-size: clamp(36px, 4.1vw, 64px); line-height: .98; letter-spacing: -.04em; font-weight: 700; margin-top: 14px; }
.hero-head h1 i.s { display: block; color: var(--ink-2); margin-top: 2px; }
.hero .stage { position: relative; flex: 1; min-height: max(440px, 54vh); height: auto; margin: 0; z-index: 2; }
.hero-foot { position: relative; z-index: 4; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.hero-foot .lead { max-width: 520px; margin: 0; font-size: 19px; }
.hero-foot .cta { margin: 0; display: flex; gap: 12px; flex-wrap: wrap; }
.scroll-hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 4; font-size: 13px; color: var(--mute); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.scroll-hint i { width: 22px; height: 34px; border-radius: 12px; border: 1.5px solid #B9BCC6; position: relative; }
.scroll-hint i::after { content: ''; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; border-radius: 2px; background: var(--ink-2); transform: translateX(-50%); animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 10px); } }
.hero .stage .gl-canvas { left: 0; top: 0; width: 100%; height: 100%; }
.hero .stage .c1 { left: 5%; top: 22%; } .hero .stage .c2 { right: 5%; left: auto; top: auto; bottom: 36%; } .hero .stage .c3 { left: 9%; bottom: 12%; top: auto; } .hero .stage .c4 { right: 9%; bottom: 12%; top: auto; }
.hero .stage:not(.gl) { display: flex; align-items: center; justify-content: center; }
@media (max-width: 860px) { .hero-word { font-size: 24vw; top: 46%; } .hero-foot { justify-content: center; text-align: center; } .scroll-hint { display: none; } }
/* первый экран при прокрутке просто уезжает вместе со страницей: анимации ухода убраны — кнопка «Купить» бледнела, будто выключена (25.10) */

/* v4 — без сгенерированных картинок: всё ниже собрано кодом */
html, body { overflow-x: clip; }

/* шаг 02: файл вкуса */
.pic.vk { background: linear-gradient(160deg, #EEF0F4, #E3E6EC); display: flex; align-items: center; justify-content: center; padding: 18px; }
.vk-doc { width: 100%; background: #fff; border-radius: 16px; box-shadow: 0 14px 34px rgba(20, 30, 60, .12); padding: 12px 14px 14px; font-size: 13px; }
.vk-bar { display: flex; align-items: center; gap: 5px; color: var(--mute); font-size: 12px; margin-bottom: 12px; }
.vk-bar i { width: 8px; height: 8px; border-radius: 50%; background: #D9DCE3; } .vk-bar span { margin-left: 6px; font-weight: 600; }
.vk-sw { display: flex; gap: 6px; } .vk-sw span { flex: 1; height: 34px; border-radius: 9px; box-shadow: inset 0 0 0 1px rgba(14, 14, 16, .08); }
.vk-font { display: flex; align-items: baseline; gap: 10px; margin: 12px 0 8px; } .vk-font b { font-size: 34px; letter-spacing: -.03em; } .vk-font i.s { font-size: 34px; color: var(--blue); }
.vk-font em { font-style: normal; color: var(--mute); font-size: 11px; margin-left: auto; }
.vk-doc ul { list-style: none; display: grid; gap: 5px; border-top: 1px solid var(--line); padding-top: 9px; }
.vk-doc li { display: flex; gap: 8px; color: var(--ink-2); } .vk-doc li b { color: var(--ink); min-width: 74px; font-weight: 600; }

/* шаг 03: раскадровка из кадров наших роликов */
.pic.sb { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); gap: 6px; padding: 8px; background: #E9EBF0; }
.pic.sb figure { position: relative; border-radius: 9px; overflow: hidden; background: #111; }
.pic.sb img { width: 100%; height: 100%; object-fit: cover; }
.pic.sb figcaption { position: absolute; left: 5px; top: 5px; min-width: 18px; height: 18px; border-radius: 9px; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 11px; font-weight: 700; display: grid; place-items: center; padding: 0 5px; }
.pic.sb figure:nth-child(3) { box-shadow: 0 0 0 2px var(--blue); } .pic.sb figure:nth-child(3) figcaption { background: var(--blue); color: #fff; }

/* журнал правил */
.notes { display: grid; gap: 10px; margin-top: 28px; justify-items: start; }
.note { font: inherit; font-size: 17px; text-align: left; border: 0; cursor: pointer; background: #fff; color: var(--ink); padding: 13px 18px 13px 14px; border-radius: 20px 20px 20px 6px;
  box-shadow: 0 8px 22px rgba(20, 30, 60, .08), 0 0 0 1px var(--line); display: inline-flex; align-items: center; gap: 10px; transition: transform .2s, box-shadow .2s, background .3s, color .3s; }
.note:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(20, 30, 60, .12), 0 0 0 1px rgba(42, 142, 255, .4); }
.note .who { font-size: 12px; font-weight: 700; color: var(--mute); text-transform: uppercase; letter-spacing: .06em; }
.note.sent { background: var(--ink); color: #fff; } .note.sent .who { color: #8E929E; }
.note.done::after { content: '✓'; color: var(--blue); font-weight: 700; margin-left: 2px; }
.editor { align-self: stretch; background: #0F1013; color: #E6E8EE; border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; min-height: 420px; display: flex; flex-direction: column; transform: rotate(.6deg); }
.ed-bar { display: flex; align-items: center; gap: 6px; padding: 16px 20px; border-bottom: 1px solid rgba(255, 255, 255, .07); font-size: 14px; color: #9EA3B0; }
.ed-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2A2C33; } .ed-bar span { margin-left: 10px; font-weight: 600; color: #D5D8E0; }
.ed-saved { margin-left: auto; font-style: normal; font-size: 12px; color: var(--blue); opacity: 0; } .ed-saved.on { animation: saved 2.2s ease both; }
@keyframes saved { 0% { opacity: 0; } 12%, 70% { opacity: 1; } 100% { opacity: 0; } }
.ed-body { padding: 18px 0 26px; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.55; }
.ln { display: grid; grid-template-columns: 54px 1fr; padding: 3px 22px 3px 0; }
.ln .no { text-align: right; padding-right: 18px; color: #4B4F5A; font-variant-numeric: tabular-nums; font-size: .85em; }
.ln.ttl .tx { font-weight: 700; color: #fff; } .ln.mute .tx { color: #6F7380; }
.ln.add { background: rgba(42, 142, 255, .1); box-shadow: inset 3px 0 0 var(--blue); } .ln.add .tx b { color: var(--blue); }
.ln.add.done .tx::after { content: ' ✓'; color: #7FB6FF; }
.ln.flash { animation: flash 1s ease; } @keyframes flash { 30% { background: rgba(42, 142, 255, .35); } }
.caret { display: inline-block; width: 9px; height: 1.1em; vertical-align: -3px; background: var(--blue); animation: caret 1s steps(1) infinite; } @keyframes caret { 50% { opacity: 0; } }
@media (max-width: 980px) { .editor { transform: none; min-height: 0; } }

/* раздел с монтажной техникой */
.gear { position: relative; height: clamp(600px, 54vw, 740px); border-radius: 40px; overflow: hidden; background: radial-gradient(120% 90% at 50% 10%, #FFFFFF, #E8EAEF 70%); box-shadow: var(--shadow); }
.gear canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; }
.gear-tags { position: absolute; inset: 0; pointer-events: none; }
.gear.gl .gear-tag { position: absolute; left: 0; top: 0; pointer-events: auto; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink); border: 0; cursor: pointer; white-space: nowrap;
  padding: 9px 15px; border-radius: 999px; background: #fff; box-shadow: 0 8px 22px rgba(20, 30, 60, .1); opacity: 0; transition: opacity .5s, background .25s, color .25s; }
.gear.gl .gear-tag.in { opacity: 1; } .gear.gl .gear-tag span, .gear.gl .gear-tag code { display: none; }
.gear.gl .gear-tag.hot { box-shadow: 0 8px 22px rgba(20, 30, 60, .12), 0 0 0 1.5px var(--blue); } .gear.gl .gear-tag.on { background: var(--ink); color: #fff; }
.gear-info { position: absolute; left: 24px; bottom: 22px; right: 24px; max-width: 560px; margin: 0 auto; text-align: center; pointer-events: none; display: none; }
.gear.gl .gear-info { display: block; }
.gear-info b { display: block; font-size: 20px; letter-spacing: -.01em; } .gear-info p { color: var(--ink-2); font-size: 16px; line-height: 1.45; margin-top: 4px; }
.gear-info code { display: inline-block; margin-top: 8px; font-size: 13px; color: var(--blue-ink); background: rgba(42, 142, 255, .1); padding: 4px 10px; border-radius: 8px; }
.gear:not(.gl) { height: auto; padding: 24px; } .gear:not(.gl) canvas, .gear:not(.gl) .gear-info { display: none; }
.gear:not(.gl) .gear-tags { position: static; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.gear:not(.gl) .gear-tag { font: inherit; text-align: left; border: 0; background: #fff; border-radius: var(--r-md); padding: 18px; display: grid; gap: 6px; box-shadow: 0 8px 22px rgba(20, 30, 60, .06); }
.gear:not(.gl) .gear-tag b { font-size: 18px; } .gear:not(.gl) .gear-tag span { color: var(--ink-2); line-height: 1.45; } .gear:not(.gl) .gear-tag code { color: var(--blue-ink); font-size: 13px; }
@media (max-width: 700px) { .gear { height: 980px; } .gear.gl .gear-tag { font-size: 13px; padding: 6px 11px; } .gear-info b { font-size: 17px; } .gear-info p { font-size: 14px; } }

/* витрина в 3D: кольцо iPhone */
.flow[data-mode="3d"] .flow-stage { transform: none; inset: 0 0 96px; }
.flow-gl { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
.flow-cap { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.flow-snd { margin-top: 10px; height: 36px; padding: 0 14px 0 10px; border-radius: 18px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; display: inline-flex; gap: 6px; align-items: center; font: 600 14px Runde, sans-serif; }
.flow-snd .w { display: none; } .flow-snd.live { color: var(--blue); } .flow-snd.live .w { display: inline; } .flow-snd.live .x { display: none; } .flow-snd[hidden] { display: none; }
.flow[data-mode="3d"] .flow-cap { bottom: 30px; } .flow[data-mode="3d"] .flow-dots { bottom: 0; }
.flow[data-mode="3d"] { height: clamp(620px, 60vw, 760px); }

/* студия: монтажный стол */
.studio { background: #0E0F12; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 30px; min-height: 0; padding: clamp(26px, 4vw, 54px); }
.studio::before { background: radial-gradient(60% 80% at 85% 20%, rgba(42, 142, 255, .22), transparent 70%); }
.studio .in { padding: 0; }
.tl { position: relative; z-index: 2; display: grid; gap: 14px; }
.tl-mon { position: relative; justify-self: center; width: min(220px, 46%); aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 30px 60px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .08); }
.tl-screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; } .tl-screen video.on { opacity: 1; }
.tl-tc { position: absolute; left: 10px; bottom: 9px; font-size: 12px; font-variant-numeric: tabular-nums; color: #fff; background: rgba(0, 0, 0, .55); padding: 3px 7px; border-radius: 6px; }
.tl-rec { position: absolute; right: 10px; top: 10px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #fff; display: flex; align-items: center; gap: 5px; background: rgba(0, 0, 0, .5); padding: 3px 8px; border-radius: 6px; }
.tl-rec b { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); animation: caret 1.2s steps(1) infinite; }
.tl-desk { position: relative; background: #17181C; border-radius: 18px; padding: 26px 14px 12px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); cursor: pointer; }
.tl-ruler { position: absolute; left: 50px; right: 14px; top: 8px; height: 12px; }
.tl-ruler i { position: absolute; top: 0; width: 1px; height: 6px; background: rgba(255, 255, 255, .2); } .tl-ruler i[data-s] { height: 10px; background: rgba(255, 255, 255, .4); }
.tl-row { display: grid; grid-template-columns: 36px 1fr; align-items: center; margin-top: 6px; }
.tl-row > span { font-size: 11px; font-weight: 700; color: #6F7380; }
.tl-lane { position: relative; height: 54px; border-radius: 8px; background: rgba(255, 255, 255, .03); }
.tl-lane.t { height: 30px; } .tl-lane.a { height: 44px; } .tl-lane.a canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.tl-lane .clip { position: absolute; top: 0; bottom: 0; border-radius: 8px; overflow: hidden; background: #24262C; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .1); }
.tl-lane .clip i { position: absolute; inset: 0; background-size: auto 100%; background-repeat: repeat-x; opacity: .7; }
.tl-lane .clip span { position: absolute; left: 7px; bottom: 5px; font-size: 11px; font-weight: 600; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .8); white-space: nowrap; }
.tl-lane .clip.on { box-shadow: inset 0 0 0 2px var(--blue); } .tl-lane .clip.on i { opacity: 1; }
.tl-lane .w { position: absolute; top: 4px; bottom: 4px; border-radius: 6px; background: rgba(255, 255, 255, .07); color: #B9BCC6; font-size: 11px; font-weight: 600; display: grid; place-items: center; overflow: hidden; white-space: nowrap; }
.tl-lane .w.on { background: var(--blue); color: #fff; }
.tl-head { position: absolute; top: 4px; bottom: 6px; width: 2px; background: #fff; box-shadow: 0 0 10px rgba(42, 142, 255, .8); pointer-events: none; }
.tl-head::before { content: ''; position: absolute; top: -2px; left: -5px; border: 6px solid transparent; border-top: 8px solid #fff; }
@media (max-width: 980px) { .studio { grid-template-columns: 1fr; } .tl-mon { width: min(200px, 56%); } }

/* поправки по критику 25.10: синие кнопки — крупный жирный текст (норма контраста 3:1), подписи техники — в своей полосе под сценой */
.btn.blue { font-weight: 700; font-size: 19px; }
.ln .no { color: #9095A1; } .ln.mute .tx { color: #9095A1; }
.gear canvas { top: 0; left: 0; right: auto; bottom: auto; width: 100%; height: calc(100% - 118px); }
.gear-info { bottom: 18px; }
.flow[data-mode="3d"] .flow-stage { inset: 0 0 140px; }
@media (max-width: 700px) { .gear canvas { height: calc(100% - 150px); } }
.tl-lane .w { border-right: 3px solid transparent; background-clip: padding-box; text-overflow: ellipsis; padding: 0 4px; }

/* кнопки под палец — не меньше 40 px (критик 25.10) */
.lock { min-height: 44px; }
.flow-dots { gap: 0; } .flow-dots button, .flow-dots button.on { width: 36px; height: 36px; background: none; display: grid; place-items: center; }
.flow-dots button::before { content: ''; width: 8px; height: 8px; border-radius: 4px; background: #C9CBD3; transition: width .3s, background .3s; } .flow-dots button.on::before { width: 28px; background: var(--ink); }
footer .cols a { padding: 9px 0; } footer .base a { padding: 12px 0; }
@media (max-width: 700px) { .gear.gl .gear-tag { padding: 10px 13px; } }
@media (max-width: 900px) { .hero .stage .chip { display: none; } }

/* 3D решено ещё в шапке страницы: запасные телефоны и знак первого экрана не грузятся и не мигают */
html.gl3d .hero .stage .phone, html.gl3d .hero .stage .mark { display: none; }
@media (min-width: 1100px) { .hero .stage .c2 { right: 2.5%; bottom: 33%; } }

/* страница установки: картинка к каждому шагу кодом, команды копируются нажатием */
.player { display: flex; flex-direction: column; }
.player.in > * { animation: step-in .45s cubic-bezier(.2, .7, .2, 1) both; }
.player.in > *:nth-child(2) { animation-delay: .04s; } .player.in > *:nth-child(3) { animation-delay: .08s; } .player.in > *:nth-child(4) { animation-delay: .12s; }
@keyframes step-in { from { opacity: 0; transform: translateY(14px); } }
.player code.cp { cursor: copy; transition: background .2s, color .2s, box-shadow .2s; }
.player code.cp:hover { background: #E3EEFF; color: var(--blue-ink); box-shadow: 0 0 0 1px rgba(42, 142, 255, .35); }
.player code.cp.done { background: var(--blue); color: #fff; }
.nav-steps { display: flex; gap: 12px; flex-wrap: wrap; margin-top: auto; padding-top: 28px; }
.list .prog { height: 6px; border-radius: 3px; background: #E3E5EA; overflow: hidden; margin-bottom: 4px; }
.list .prog b { display: block; height: 100%; background: var(--blue); transform-origin: 0 50%; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.hint-keys { margin-top: 18px; color: var(--ink-2); font-size: 15px; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0; z-index: 80; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 14px; font-size: 15px; font-weight: 600; pointer-events: none; max-width: calc(100% - 32px); }
.toast.on { animation: toast 2.2s ease both; }
@keyframes toast { 0% { opacity: 0; transform: translate(-50%, 20px); } 12%, 80% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, 10px); } }
.art { margin-top: 26px; border-radius: 20px; background: #F2F3F6; padding: 22px; font-size: 16px; }
.art.tree { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.art .zip { padding: 16px 18px; border-radius: 14px; background: #fff; box-shadow: 0 8px 22px rgba(20, 30, 60, .08); font-weight: 700; display: flex; align-items: center; gap: 10px; }
.art .zip::before { content: ''; width: 26px; height: 32px; border-radius: 6px; background: repeating-linear-gradient(180deg, #0E0E10 0 4px, #4A4D57 4px 8px); }
.art .arrow { font-size: 26px; color: var(--blue-ink); }
.art .dir { display: grid; gap: 6px; }
.art .f { padding-left: 22px; color: var(--ink-2); position: relative; } .art .f::before { content: ''; position: absolute; left: 0; top: 4px; width: 12px; height: 14px; border-radius: 3px; background: #C9CBD3; }
.art .f.d { color: var(--ink); font-weight: 600; } .art .f.d::before { background: #8FB9F5; width: 15px; height: 12px; top: 5px; }
.art .f.hi { color: var(--blue-ink); } .art .f.hi::before { background: var(--blue); }
.art.tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.art .tool { background: #fff; border-radius: 14px; padding: 14px 16px; display: grid; gap: 4px; box-shadow: 0 6px 18px rgba(20, 30, 60, .06); }
.art .tool b { color: var(--blue); font-size: 20px; } .art .tool span { font-weight: 700; } .art .tool em { font-style: normal; color: var(--mute); font-size: 14px; }
.art.path { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-family: Consolas, ui-monospace, monospace; font-size: 18px; }
.art.path span { background: #fff; padding: 10px 14px; border-radius: 12px; box-shadow: 0 6px 18px rgba(20, 30, 60, .06); }
.art.path span.hi { background: var(--blue); color: #fff; } .art.path i { color: var(--mute); font-style: normal; }
.art.term { background: #0F1013; color: #D5D8E0; font-family: Consolas, ui-monospace, monospace; font-size: 15px; line-height: 1.75; }
.art.term .cmd span { color: #7FB6FF; } .art.term .ln { display: flex; gap: 10px; flex-wrap: wrap; } .art.term .ln b.ok { color: #7FB6FF; } .art.term .ln b.opt { color: #8E929E; }
.art.term .ln span { color: #8E929E; } .art.term .done { margin-top: 6px; color: #fff; font-weight: 700; }
.art.flowline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.art.flowline figure { margin: 0; text-align: center; } .art.flowline img { width: 86px; height: 152px; object-fit: cover; border-radius: 12px; box-shadow: 0 8px 20px rgba(20, 30, 60, .12); }
.art.flowline figcaption { font-size: 14px; font-weight: 600; margin-top: 6px; } .art.flowline i { color: var(--blue-ink); font-style: normal; font-size: 22px; }
@media (max-width: 560px) { .art { padding: 16px; } .art.flowline img { width: 64px; height: 113px; } .art.path { font-size: 15px; } }
@media (max-width: 560px) { .art.tree .arrow { transform: rotate(90deg); } }
.player ol + p, .player p + p, .player p + ol { margin-top: 12px; }

/* кнопки — чёрные; на тёмных блоках белые, иначе пропадут. «Веном» (js/venom.js): тело кнопки и капли нити — один слой под фильтром слипания */
.btn.blue, .btn.dark { background: var(--ink); color: #fff; box-shadow: 0 14px 30px rgba(14, 14, 16, .22); }
.price .btn.blue, .price .btn.dark, .studio .btn.blue, .studio .btn.dark, footer .btn.blue, footer .btn.dark { background: #fff; color: var(--ink); box-shadow: 0 14px 34px rgba(0, 0, 0, .4); }
.btn.venom { position: relative; isolation: isolate; background: transparent !important; box-shadow: none !important; overflow: visible; }
.btn.venom.buy-shine::after { display: none; }
.venom-goo { position: absolute; inset: -170px; filter: url(#vm-goo); pointer-events: none; z-index: -1; }
.venom-goo .vb { position: absolute; inset: 170px; border-radius: 999px; background: var(--ink); }
.venom-goo .vd { position: absolute; left: 0; top: 0; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: var(--ink); transform: scale(0); }
.price .venom-goo i, .studio .venom-goo i, footer .venom-goo .vb, footer .venom-goo .vd { background: #fff; }
.btn.venom.held { transition: none; }
.venom-canvas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 70; }
html.venom-held, html.venom-held * { cursor: none !important; }
.btn.venom::before { content: ''; position: absolute; inset: 0; border-radius: 999px; box-shadow: 0 14px 30px rgba(14, 14, 16, .22); z-index: -2; }
.price .btn.venom::before, .studio .btn.venom::before, footer .btn.venom::before { box-shadow: 0 14px 34px rgba(0, 0, 0, .4); }
.top .btn { white-space: nowrap; }
@media (max-width: 400px) { .top .btn { padding: 0 12px; font-size: 13px; height: 40px; } .lock { font-size: 17px; gap: 7px; } .lock svg { width: 30px; height: 30px; } .sound { width: 38px; height: 38px; } }
.studio { overflow: visible; }
@media (max-width: 380px) { .top { padding: 0 6px 0 12px; } .lock { font-size: 15px; gap: 6px; } .lock svg { width: 28px; height: 28px; } .top .right { gap: 6px; } .top .btn { padding: 0 11px; font-size: 12.5px; } .sound { width: 36px; height: 36px; } }


/* дорожка: набранные слова и «Готово» на компьютере — внизу, между наушниками и пультом, чтобы не лезть на подсказку и хлопушку */
@media (min-width: 861px) { .desk-cap { top: auto; bottom: 34px; left: 32%; right: 32%; font-size: clamp(24px, 2.6vw, 38px); } }
.desk-cap .done { font-size: .72em; }

/* игра на дорожке: сверху — задача и секундомер, снизу — кнопка «Рендер» (горит, когда дорожка собрана) */
.desk-hud { position: absolute; left: 50%; top: 28px; transform: translateX(-50%); width: min(480px, calc(100% - 48px)); text-align: center; pointer-events: none; }
.desk-hud b { display: block; font-size: clamp(19px, 2vw, 26px); font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.desk-hud span { display: block; margin-top: 6px; font-size: 15px; color: var(--mute); font-variant-numeric: tabular-nums; }
.desk-hud .tm { color: var(--blue); font-weight: 700; font-size: 20px; }
.desk-go { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); height: 52px; padding: 0 30px; border-radius: 999px; border: 0; font: inherit; font-weight: 700; font-size: 17px;
  background: var(--ink); color: #fff; cursor: pointer; box-shadow: 0 14px 30px rgba(14, 14, 16, .22); transition: opacity .25s, background .25s; }
.desk-go:disabled { opacity: .25; cursor: default; box-shadow: none; }
.desk-go.hot { background: var(--blue); animation: go-pulse 1.2s ease-in-out infinite; }
@keyframes go-pulse { 50% { transform: translateX(-50%) scale(1.06); box-shadow: 0 0 0 10px rgba(42, 142, 255, .18); } }
@media (max-width: 700px) { .desk { height: 470px; } .desk-hud span { font-size: 13px; } .desk-go { bottom: 18px; height: 46px; font-size: 16px; } }
@media (prefers-reduced-motion: reduce) { .desk-go.hot { animation: none; } }
/* первый экран не «проявляется» при прокрутке: на телефоне кнопка «Купить» под сгибом бледнела, будто выключена */
.hero .rv { opacity: 1; transform: none; transition: none; }

/* ===== интро по приёмам сайтов-победителей Awwwards (26.10): заставка с отсчётом, шторка, живое поле на весь экран ===== */
/* заголовок крупнее; буквы проявляются по одной снизу */
.hero-head h1 { font-size: clamp(40px, 6vw, 96px); line-height: .95; letter-spacing: -.045em; }
.hero-head h1 .ch { display: inline-block; white-space: pre; }
.hero-head h1 .w { display: inline-block; white-space: nowrap; }
html.gate-on .hero-head h1 .ch { opacity: 0; transform: translateY(.45em) rotate(4deg); filter: blur(6px); }
html.landed .hero-head h1 .ch { opacity: 1; transform: none; filter: none; transition: opacity .7s ease var(--d), transform .9s cubic-bezier(.16, 1, .3, 1) var(--d), filter .7s ease var(--d); }
.hero-foot { justify-content: center; text-align: center; }
.hero-foot .lead { max-width: 640px; }
/* заставка: чёрный экран, отсчёт и полоса; уходит шторкой вверх и вниз */
.intro-gate { position: fixed; inset: 0; z-index: 200; pointer-events: none; display: none; }
html.gate-on .intro-gate { display: block; pointer-events: auto; }
.intro-gate .ig-top, .intro-gate .ig-bot { position: absolute; left: 0; right: 0; height: 50.5%; background: #0B0B0D; transition: transform 1.1s cubic-bezier(.76, 0, .24, 1); }
.intro-gate .ig-top { top: 0; } .intro-gate .ig-bot { bottom: 0; }
.intro-gate .ig-mid { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: #F4F4F6; transition: opacity .4s ease; }
.intro-gate .ig-name { font-size: 13px; letter-spacing: .32em; text-transform: uppercase; color: rgba(244, 244, 246, .62); }
.intro-gate .ig-num { font-variant-numeric: tabular-nums; font-size: clamp(56px, 9vw, 132px); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.intro-gate .ig-line { position: absolute; left: 0; top: 50%; height: 1px; width: 100%; background: rgba(244, 244, 246, .5); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); transition: opacity .3s ease; }
html.landed .intro-gate .ig-top { transform: translateY(-101%); }
html.landed .intro-gate .ig-bot { transform: translateY(101%); }
html.landed .intro-gate .ig-mid, html.landed .intro-gate .ig-line { opacity: 0; }
html.gate-done .intro-gate { display: none; }
@media (prefers-reduced-motion: reduce) { .intro-gate { display: none !important; } }
.hero-head h1 { font-size: clamp(38px, 5vw, 84px); max-width: none; }
.hero-head h1 i.s { color: #2F323B; }
.hero-foot { margin-bottom: 64px; } @media (max-width: 860px) { .hero-foot { margin-bottom: 56px; } }
/* студия: светлая циклорама без шва, мягкий свет сверху, линия пола под телефонами и тень; сцена «приземляется» */
.hero { background: #F4F4F6; }
.studio-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background: radial-gradient(120% 70% at 50% 0%, #FFFFFF 0%, rgba(255, 255, 255, 0) 60%), linear-gradient(to bottom, #F7F7F9 0%, #EEEFF3 62%, #E6E8EE 100%); }
.studio-bg .floor { position: absolute; left: 0; right: 0; top: 62%; bottom: 0; background: linear-gradient(to bottom, rgba(14, 14, 16, 0) 0, rgba(14, 14, 16, .045) 18%, rgba(14, 14, 16, 0) 60%); }
.studio-bg .glow { position: absolute; left: 50%; top: 70%; width: 70vw; height: 22vh; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(42, 142, 255, .10), rgba(42, 142, 255, 0)); }
.hero .stage { transform: scale(var(--land, 1)); transform-origin: 50% 60%; }
html.gate-on .hero .stage { --land: 1.14; }
html.landed .hero .stage { --land: 1; transition: transform 2.4s cubic-bezier(.16, 1, .3, 1); }

/* юридические страницы (dev/legal/build-legal.mjs): спокойная колонка текста, таблица целей, реквизиты */
.legal { padding: 140px 0 80px; }
.legal .wrap { max-width: 820px; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.legal-nav a { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.legal-nav a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.legal h1 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.02; letter-spacing: -.035em; font-weight: 700; }
.legal .edition { margin: 12px 0 36px; color: var(--mute); font-size: 15px; }
.legal .prose h2 { font-size: 22px; letter-spacing: -.02em; margin: 36px 0 12px; }
.legal .prose p, .legal .prose li { font-size: 16px; line-height: 1.65; color: var(--ink-2); margin: 0 0 12px; }
.legal .prose ul { padding-left: 20px; margin: 0 0 16px; }
.legal .prose a { color: #1A63BD; text-decoration: underline; text-underline-offset: 2px; }
.legal .prose table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 15px; background: #fff; border-radius: 16px; overflow: hidden; }
.legal .prose th, .legal .prose td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); line-height: 1.5; color: var(--ink-2); }
.legal .prose th { color: var(--ink); font-weight: 600; background: #F9F9FB; }
.legal .reqs { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); font-size: 16px; color: var(--ink-2); }
.legal .reqs b { color: var(--ink); }
.legal .note { margin-top: 24px; font-size: 13px; color: var(--mute); }
.legal-foot { background: none; color: var(--mute); margin: 0; padding: 0 0 40px; border-radius: 0; }
.legal-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; border-top: 1px solid var(--line); padding-top: 24px; font-size: 14px; }
.legal-foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.legal-foot a { color: var(--ink-2); padding: 6px 0; }
@media (max-width: 640px) { .legal .prose table, .legal .prose thead, .legal .prose tbody, .legal .prose tr, .legal .prose th, .legal .prose td { display: block; } .legal .prose thead { display: none; } .legal .prose td { border-bottom: 0; padding: 4px 14px; } .legal .prose tr { border-bottom: 1px solid var(--line); padding: 8px 0; } .legal .prose td:first-child { font-weight: 600; color: var(--ink); } }
.legal-line { margin-top: 6px; font-size: 13px; opacity: .8; } .legal-line a { text-decoration: underline; text-underline-offset: 2px; color: inherit; }
@media (max-width: 760px) { footer .cols { grid-template-columns: repeat(2, 1fr); } }
/* первый экран ровно на весь экран: сцена с телефонами сжимается, а не выталкивает подпись за край */
.hero { height: 100svh; min-height: 620px; }
.hero .stage { min-height: 260px; flex: 1 1 0; }
