/* Tennis ID — сайт приложения и школы.
   Палитра: Black #080808 · Carbon #151515 · Chalk #F5F4F0 · Clay #F47532 · Burnt #B94D22 · Teal #12363D.
   Шрифты: Inter Tight (заголовки и текст), JetBrains Mono (подписи). */

@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("fonts/intertight-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("fonts/intertight-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("fonts/intertight-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; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("fonts/mono-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("fonts/mono-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: #080808;
  --black: #080808;
  --carbon: #151515;
  --carbon-2: #1d1d1c;
  --chalk: #f5f4f0;
  --white: #ffffff;
  --clay: #f47532;
  --clay-text: #ff8a4f;
  --burnt: #b94d22;
  --teal: #12363d;
  --gray: #929292;
  --danger: #ff9b85;
  /* Текущая тема секции */
  --fg: var(--chalk);
  --fg-2: rgba(245, 244, 240, 0.68);
  --fg-3: rgba(245, 244, 240, 0.56);
  --line: rgba(245, 244, 240, 0.12);
  --surface: var(--carbon);
  --gutter: 20px;
  --max: 1320px;
  --r: 14px;
  --r-lg: 20px;
  --sans: "Inter Tight", -apple-system, "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: dark;
}
@media (min-width: 768px) { :root { --gutter: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: 84px; background: var(--black); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--black); color: var(--fg); font: 400 17px/1.5 var(--sans); letter-spacing: 0; text-wrap: pretty; -webkit-font-smoothing: antialiased; overflow-x: clip; -webkit-tap-highlight-color: transparent; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: 0; line-height: 0.98; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
::selection { background: var(--clay); color: var(--black); }
.nowrap { white-space: nowrap; }
.mono { font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; }
.clay { color: var(--clay-text); }
.dim { color: var(--fg-3); color: color-mix(in srgb, var(--fg) 54%, var(--bg)); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 8px; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 200; padding: 12px 18px; border-radius: 999px; background: var(--chalk); color: var(--black); font-weight: 600; text-decoration: none; transition: top 0.2s; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding-inline: var(--gutter); }

/* Темы секций */
.t-black { background: var(--black); --bg: var(--black); }
.t-carbon { background: var(--carbon); --bg: var(--carbon); --surface: var(--carbon-2); }
.t-teal { background: var(--teal); --bg: var(--teal); --surface: rgba(255, 255, 255, 0.06); --line: rgba(245, 244, 240, 0.16); }
.t-burnt { background: var(--burnt); --bg: var(--burnt); --fg-2: #fff; --fg-3: #fff; --line: rgba(245, 244, 240, 0.26); }
.t-chalk { background: var(--chalk); --bg: var(--chalk); color: var(--black); --fg: var(--black); --fg-2: rgba(8, 8, 8, 0.66); --fg-3: rgba(8, 8, 8, 0.56); --line: rgba(8, 8, 8, 0.12); --surface: #ebe9e3; color-scheme: light; }
.t-chalk .clay { color: var(--burnt); }
[class*="t-"] { color: var(--fg); }

/* ---------- Типографика ---------- */
.label { display: inline-flex; align-items: center; gap: 12px; color: var(--fg-3); }
.label b { color: var(--fg); font-weight: 400; }
.display { font-size: clamp(38px, min(6.8vw, 10.5vh), 104px); letter-spacing: 0; line-height: 0.92; font-weight: 500; }
.h2 { font-size: clamp(36px, min(4.6vw, 7.2vh), 72px); letter-spacing: 0; line-height: 0.95; }
.h3 { font-size: clamp(24px, 2.4vw, 34px); letter-spacing: 0; line-height: 1.05; }
.lead { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.45; color: var(--fg-2); letter-spacing: 0; max-width: 52ch; }
.body { font-size: 16px; color: var(--fg-2); }
.section { padding-block: clamp(80px, min(9vw, 13vh), 150px); }
.head { display: grid; gap: 22px; margin-bottom: clamp(40px, min(4.5vw, 7vh), 72px); }
.head--split { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); align-items: end; gap: 28px 64px; }
.head--split .lead { max-width: 36ch; }
@media (max-width: 860px) { .head--split { grid-template-columns: 1fr; } }

/* ---------- Кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border: 0; border-radius: 999px; font: 500 16px/1 var(--sans); letter-spacing: 0; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.2s var(--ease); user-select: none; -webkit-user-select: none; }
.btn:active { transform: scale(0.97); }
.btn svg { width: 16px; height: 16px; flex: none; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translate(2px, -2px); }
.btn--white, .btn--chalk { background: var(--chalk); color: var(--black); }
.btn--white:hover, .btn--chalk:hover { background: #fff; }
.btn--black { background: var(--black); color: var(--chalk); }
.btn--black:hover { background: #222; }
.btn--clay { background: var(--clay); color: var(--black); }
.btn--clay:hover { background: #ff8a4f; }
.btn--line, .btn--glass { background: transparent; color: var(--fg); border: 1px solid var(--line); border-color: rgba(245, 244, 240, 0.32); }
.btn--line:hover, .btn--glass:hover { background: rgba(245, 244, 240, 0.1); }
.t-chalk .btn--line { border-color: rgba(8, 8, 8, 0.24); }
.t-chalk .btn--line:hover { background: rgba(8, 8, 8, 0.06); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn .soon { font: 400 12px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--clay-text); }

/* ---------- Шапка ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 60; transition: background-color 0.35s, border-color 0.35s; border-bottom: 1px solid transparent; }
.nav__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; height: 72px; }
.nav.is-scrolled { background: rgba(8, 8, 8, 0.9); border-bottom-color: rgba(245, 244, 240, 0.08); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); }
.brand { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; justify-self: start; color: var(--chalk); }
.brand b { font-weight: 600; font-size: 21px; letter-spacing: 0; text-transform: uppercase; white-space: nowrap; }
.brand b i { font-style: normal; color: var(--clay); }
.nav__links { display: flex; gap: 4px; }
.nav__links a { padding: 10px 14px; border-radius: 999px; font-size: 15px; text-decoration: none; color: rgba(245, 244, 240, 0.78); transition: color 0.2s, background-color 0.2s; }
.nav__links a:hover { color: var(--chalk); background: rgba(245, 244, 240, 0.08); }
.nav__right { display: flex; align-items: center; gap: 8px; justify-self: end; }
.nav__right .btn { transition: opacity 0.3s, transform 0.3s var(--ease), background-color 0.2s; }
.nav.is-at-trial .nav__right .btn { opacity: 0; transform: translateY(-6px); pointer-events: none; }
.menu-btn { display: none; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid rgba(245, 244, 240, 0.28); background: transparent; cursor: pointer; place-items: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 16px; height: 1.6px; border-radius: 2px; background: var(--chalk); transition: transform 0.3s var(--ease), background-color 0.2s; }
.menu-btn span { position: relative; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -5px; }
.menu-btn span::after { top: 5px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-5px) rotate(-45deg); }
.menu { display: grid; align-content: start; padding: 16px 0 32px; border-top: 1px solid rgba(245, 244, 240, 0.08); background: var(--black); height: calc(100vh - 72px); height: calc(100svh - 72px); overflow-y: auto; animation: menu-in 0.35s var(--ease); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.nav.is-open { background: var(--black); border-bottom-color: rgba(245, 244, 240, 0.08); }
html.menu-open { overflow: hidden; }
.menu[hidden] { display: none; }
.menu a { padding: 14px var(--gutter); font-size: 26px; font-weight: 500; letter-spacing: 0; text-decoration: none; color: var(--chalk); }
.menu a:hover { color: var(--clay-text); }
@media (max-width: 1000px) { .nav__bar { grid-template-columns: 1fr auto; } .nav__links { display: none; } .menu-btn { display: grid; } }
@media (min-width: 1001px) { .menu { display: none !important; } }

/* ---------- Герой ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; background: #2b1408; color: var(--chalk); }
.hero__img { position: absolute; inset: 0; z-index: -2; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 8, 8, 0.55) 0%, rgba(8, 8, 8, 0.12) 22%, rgba(8, 8, 8, 0.28) 48%, rgba(8, 8, 8, 0.5) 68%, rgba(8, 8, 8, 0.88) 100%), linear-gradient(90deg, rgba(8, 8, 8, 0.35) 0%, rgba(8, 8, 8, 0) 45%); }
.hero__wrap { display: grid; gap: clamp(48px, 12vh, 140px); padding-top: 120px; padding-bottom: 28px; }
/* Три слова на всю ширину, подпись под каждым */
.hero__words { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin: 0; font-weight: 500; line-height: 1; text-wrap: initial; }
.hero__words .w { display: grid; gap: 16px; align-content: start; }
.hero__words b { font-weight: 500; font-size: clamp(48px, min(8vw, 13vh), 132px); line-height: 0.9; letter-spacing: 0; color: var(--chalk); white-space: nowrap; }
.hero__words .w--accent b { color: var(--clay-text); }
.hero__words small { font: 400 15px/1.4 var(--sans); letter-spacing: 0; color: rgba(245, 244, 240, 0.82); max-width: 21ch; }
.hero__words .w:last-child { justify-items: end; text-align: right; }
.hero__bottom { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: end; gap: 24px 48px; padding-top: 24px; border-top: 1px solid rgba(245, 244, 240, 0.2); }
/* Стеклянная карточка с ценой пробного */
.hero-card { display: grid; gap: 6px; min-width: 240px; padding: 18px 20px; border-radius: 20px; background: rgba(18, 14, 12, 0.36); border: 1px solid rgba(255, 255, 255, 0.18); backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%); color: var(--chalk); text-decoration: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12); transition: background-color 0.3s, transform 0.4s var(--ease); }
.hero-card:hover { background: rgba(18, 14, 12, 0.5); transform: translateY(-2px); }
.hero-card .mono { color: var(--clay-text); }
.hero-card b { font-size: 36px; font-weight: 500; letter-spacing: 0; line-height: 1; }
.hero-card small { font-size: 14px; color: rgba(245, 244, 240, 0.78); }
.hero__sub { font-size: clamp(17px, 1.3vw, 19px); color: rgba(245, 244, 240, 0.86); max-width: 40ch; line-height: 1.45; }
.hero__cta { display: grid; gap: 14px; justify-items: end; }
.hero__go { display: inline-flex; align-items: center; gap: 10px; font-size: clamp(20px, 1.7vw, 26px); font-weight: 500; color: var(--chalk); text-decoration: none; padding-bottom: 6px; border-bottom: 2px solid var(--clay); transition: color 0.2s, border-color 0.2s; }
.hero__go svg { width: 22px; height: 22px; transition: transform 0.3s var(--ease); }
.hero__go:hover { color: #fff; }
.hero__go:hover svg { transform: translate(3px, -3px); }
.hero__more { font-size: 15px; color: rgba(245, 244, 240, 0.78); text-underline-offset: 4px; }
.hero__more:hover { color: var(--chalk); }
@media (max-width: 1100px) {
  .hero__bottom { grid-template-columns: auto minmax(0, 1fr); }
  .hero__cta { grid-column: 1 / -1; justify-items: start; grid-auto-flow: column; align-items: center; justify-content: space-between; }
}
@media (max-width: 760px) {
  .hero__img img { object-position: 54% 30%; }
  .hero::before { background: linear-gradient(0deg, rgba(8, 8, 8, 0.92) 0%, rgba(8, 8, 8, 0.55) 50%, rgba(8, 8, 8, 0.1) 78%), linear-gradient(180deg, rgba(8, 8, 8, 0.5) 0%, rgba(8, 8, 8, 0) 16%); }
  .hero__wrap { gap: 28px; padding-top: 110px; padding-bottom: 20px; }
  .hero__words { flex-direction: column; gap: 4px; }
  .hero__words .w, .hero__words .w:last-child { justify-items: start; text-align: left; }
  .hero__words b { font-size: clamp(52px, 16vw, 76px); }
  .hero__words small { display: none; }
  .hero__bottom { grid-template-columns: 1fr; gap: 18px; padding-top: 20px; }
  .hero-card { min-width: 0; grid-template-columns: 1fr auto; align-items: center; padding: 14px 16px; }
  .hero-card .mono { grid-column: 1; }
  .hero-card b { grid-column: 2; grid-row: 1 / span 2; font-size: 30px; }
  .hero-card small { grid-column: 1; }
  .hero__cta { grid-auto-flow: row; justify-items: stretch; justify-content: stretch; }
  .hero__go { width: 100%; }
  .hero__go { justify-content: center; min-height: 54px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--chalk); color: var(--black); font-size: 17px; }
  .hero__go:hover { color: var(--black); background: #fff; }
  .hero__more { text-align: center; }
}

/* Бегущая строка */
.marquee { overflow: hidden; background: var(--black); border-bottom: 1px solid rgba(245, 244, 240, 0.08); padding: 20px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 36px; padding-right: 36px; font-size: clamp(18px, 1.6vw, 24px); font-weight: 500; letter-spacing: 0; text-transform: uppercase; white-space: nowrap; color: rgba(245, 244, 240, 0.5); }
.marquee span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--clay); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Манифест ---------- */
.statement__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr); gap: 48px 80px; align-items: end; }
.statement__text { display: grid; gap: 26px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(56px, min(6vw, 9vh), 96px); border-top: 1px solid var(--line); }
.fact { padding: 24px 24px 0 0; display: grid; gap: 6px; }
.fact b { font-size: clamp(34px, min(3.6vw, 6vh), 56px); font-weight: 500; letter-spacing: 0; line-height: 1; }
.fact span { font-size: 15px; color: var(--fg-2); }
@media (max-width: 860px) { .statement__grid { grid-template-columns: 1fr; } .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fact { padding-bottom: 20px; } }

/* ---------- Ваша игра: портрет + интерфейс ---------- */
.identity__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.identity__text { display: grid; gap: 26px; align-content: center; }
.identity__list { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--line); }
.identity__list li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--fg-2); }
.identity__list li span:first-child { color: var(--clay-text); }
.identity__media { position: relative; padding: 40px 0 60px; }
.portrait { position: relative; width: 76%; margin-left: auto; aspect-ratio: 600 / 478; overflow: hidden; border-radius: var(--r); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.ui { position: absolute; filter: drop-shadow(0 28px 36px rgba(0, 0, 0, 0.55)); }
.ui img { width: 100%; height: auto; }
.ui--today { left: 0; bottom: 0; width: 52%; }
.ui--days { right: 0; top: 0; width: 64%; }
.pill-note { position: absolute; left: 4%; top: 31%; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 999px; background: rgba(20, 20, 20, 0.62); border: 1px solid rgba(255, 255, 255, 0.14); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); font-size: 14px; color: var(--chalk); white-space: nowrap; }
.pill-note i { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--clay); display: grid; place-items: center; font: normal 600 13px/1 var(--sans); letter-spacing: 0; white-space: nowrap; color: var(--black); }
.float-y { animation: floaty 9s ease-in-out infinite; }
.float-y--2 { animation-delay: -4.5s; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@media (max-width: 960px) { .identity__grid { grid-template-columns: 1fr; } .identity__media { order: -1; padding: 24px 0 40px; } .portrait { width: 86%; } .ui--today { width: 64%; } .ui--days { width: 74%; right: 0; } .pill-note { display: none; } }

/* ---------- Сезон: функции приложения ---------- */
.season__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.season__sticky { position: sticky; top: 96px; display: grid; place-items: center; min-height: calc(100vh - 140px); }
.season__sticky .phone { --w: clamp(240px, 33vh, 300px); }
.phone { --w: 300px; position: relative; width: var(--w); aspect-ratio: 1320 / 2868; flex: none; padding: calc(var(--w) * 0.032); border-radius: calc(var(--w) * 0.17); background: linear-gradient(150deg, #5a5a5a 0%, #1a1a1a 24%, #0b0b0b 52%, #2a2a2a 80%, #5c5c5c 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), inset 0 0 0 calc(var(--w) * 0.012) #060606, 0 60px 120px -50px rgba(0, 0, 0, 0.9); }
.phone__screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: calc(var(--w) * 0.14); background: #000; isolation: isolate; }
.phone__screen > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone--swap .phone__screen > img { opacity: 0; transform: scale(1.03); transition: opacity 0.6s var(--ease), transform 0.8s var(--ease); }
.phone--swap .phone__screen > img.is-active { opacity: 1; transform: none; }
.phone__island { position: absolute; z-index: 4; top: calc(var(--w) * 0.05); left: 50%; width: calc(var(--w) * 0.3); height: calc(var(--w) * 0.088); transform: translateX(-50%); border-radius: 999px; background: #000; }
.notif { position: absolute; z-index: 2; left: 4%; right: 4%; top: 6.5%; display: flex; gap: calc(var(--w) * 0.03); align-items: center; padding: calc(var(--w) * 0.035); border-radius: calc(var(--w) * 0.07); background: rgba(52, 52, 52, 0.82); border: 1px solid rgba(255, 255, 255, 0.14); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); font-size: calc(var(--w) * 0.04); line-height: 1.3; color: #fff; opacity: 0; transform: translateY(-130%); transition: opacity 0.4s, transform 0.6s var(--ease); }
.notif img { width: calc(var(--w) * 0.11); height: calc(var(--w) * 0.11); border-radius: 22%; flex: none; }
.notif b { display: block; font-weight: 600; }
.notif span { color: rgba(255, 255, 255, 0.78); }
.notif.is-on { opacity: 1; transform: none; }
.srows { border-top: 1px solid var(--line); }
@media (min-width: 961px) { .srows { padding-bottom: calc(50vh - 120px); } }
.srow { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px 16px; width: 100%; padding: 26px 0; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; cursor: pointer; color: var(--fg-3); color: color-mix(in srgb, var(--fg) 56%, var(--bg)); transition: color 0.4s var(--ease); }
.srow .n { font: 400 12px/2 var(--mono); letter-spacing: 0.06em; }
.srow b { font-size: clamp(24px, 2.4vw, 36px); font-weight: 500; letter-spacing: 0; line-height: 1.02; }
.srow span:last-child { grid-column: 2; font-size: 16px; line-height: 1.45; max-width: 46ch; color: var(--fg-3); transition: color 0.4s; }
.srow.is-active, .srow:hover { color: var(--fg); }
.srow.is-active .n { color: var(--clay-text); }
.srow.is-active span:last-child { color: var(--fg-2); }
@media (max-width: 960px) {
  .season__grid { grid-template-columns: 1fr; gap: 36px; }
  .season__sticky { position: static; min-height: 0; }
  .season__sticky .phone { --w: min(250px, 62vw); }
  .srow { grid-template-columns: 48px minmax(0, 1fr); padding: 22px 0; color: var(--fg); cursor: default; }
  .srow span:last-child { color: var(--fg-2); }
  .srow .n { color: var(--clay-text); }
}

/* ---------- Прогресс ---------- */
.progress__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.progress__photo { position: relative; aspect-ratio: 1025 / 1200; overflow: hidden; border-radius: var(--r); }
.progress__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.progress__photo .ui { left: 6%; right: 6%; bottom: 6%; }
.progress__text { display: grid; gap: 28px; }
.points { display: grid; gap: 0; border-top: 1px solid var(--line); }
.point { display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr); gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.point b { font-size: clamp(21px, 1.8vw, 26px); font-weight: 500; letter-spacing: 0; line-height: 1.1; }
.point p { color: var(--fg-2); font-size: 16px; }
@media (max-width: 960px) { .progress__grid { grid-template-columns: 1fr; } .point { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- Программы ---------- */
.prog { border-top: 1px solid var(--line); }
.prog-row { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.1fr) 170px; gap: 16px 32px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); }
.prog-row .n { color: var(--fg-3); }
.prog-row h3 { font-size: clamp(30px, 3.4vw, 52px); letter-spacing: 0; transition: color 0.3s, transform 0.5s var(--ease); }
.prog-row p { color: var(--fg-2); font-size: 16px; }
.prog-row .price { justify-self: end; text-align: right; font-size: 20px; letter-spacing: 0; white-space: nowrap; }
.prog-row .price small { display: block; font: 400 12px/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-3); }
.prog-row:hover h3 { color: var(--burnt); transform: translateX(6px); }
.prog-row__img { position: absolute; z-index: 3; left: var(--mx, 40%); top: var(--my, 50%); width: 190px; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 12px; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) rotate(-4deg) scale(0.9); transition: opacity 0.3s, transform 0.5s var(--ease), left 0.25s var(--ease), top 0.25s var(--ease); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6); }
.prog-row__img img { width: 100%; height: 100%; object-fit: cover; }
.prog-row:hover .prog-row__img { opacity: 1; transform: translate(-50%, -50%) rotate(-4deg) scale(1); }
.prog-note { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 28px; color: var(--fg-2); }
@media (hover: none) and (min-width: 961px) { .prog-row__img { display: none; } }
@media (max-width: 960px) {
  .prog-row { grid-template-columns: 44px minmax(0, 1fr) 88px; align-items: start; column-gap: 16px; }
  .prog-row .n { padding-top: 0.9em; }
  .prog-row h3 { grid-column: 2 / 4; }
  .prog-row p, .prog-row .price { grid-column: 2; }
  .prog-row .price { justify-self: start; text-align: left; }
  .prog-row .price small { display: inline; margin-right: 6px; }
  .prog-row__img { position: relative; left: auto; top: auto; grid-column: 3; grid-row: 2 / span 2; width: 88px; opacity: 1; transform: none; transition: none; box-shadow: none; border-radius: 10px; }
  .prog-row:hover h3 { transform: none; }
}

/* ---------- Тренеры ---------- */
.coaches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.coach { display: grid; gap: 16px; align-content: start; }
/* Фото-карточка: роль сверху, цифры и имя поверх снимка */
.coach__card { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; aspect-ratio: 4 / 5; padding: 16px; border-radius: var(--r-lg); background: var(--carbon); }
.coach__card picture, .coach__card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.coach__card img { object-fit: cover; filter: grayscale(1) contrast(1.08); transition: transform 1.1s var(--ease), filter 0.6s; }
.coach__card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 8, 8, 0.3) 0%, rgba(8, 8, 8, 0) 26%, rgba(8, 8, 8, 0.2) 52%, rgba(8, 8, 8, 0.92) 100%); }
.coach:hover .coach__card img { transform: scale(1.04); filter: grayscale(0.15) contrast(1.04); }
.coach .role { padding: 8px 12px; border-radius: 999px; background: rgba(8, 8, 8, 0.5); border: 1px solid rgba(255, 255, 255, 0.16); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--chalk); }
.coach .role--main { background: var(--clay); color: var(--black); border-color: transparent; }
.coach__bottom { display: grid; gap: 14px; width: 100%; }
.coach__stats { display: flex; gap: 20px; }
.coach__stats div { display: grid; gap: 4px; max-width: 12ch; }
.coach__stats b { font-size: clamp(30px, 2.6vw, 40px); font-weight: 500; letter-spacing: 0; line-height: 1; color: var(--clay-text); }
.coach__stats span { font-size: 13px; line-height: 1.3; min-height: 2.6em; color: rgba(245, 244, 240, 0.86); }
.coach h3 { display: flex; align-items: flex-end; min-height: calc(2.1em + 14px); font-size: clamp(20px, 1.7vw, 25px); letter-spacing: 0; line-height: 1.05; color: var(--chalk); padding-top: 14px; border-top: 1px solid rgba(245, 244, 240, 0.22); }
.coach ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.coach li { font-size: 15px; color: var(--fg-2); line-height: 1.4; }
@media (max-width: 1080px) {
  .coaches { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scroll-padding-inline: var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; }
  .coaches::-webkit-scrollbar { display: none; }
  .coach { flex: 0 0 min(320px, 80vw); scroll-snap-align: start; }
}

/* ---------- Цены ---------- */
.prices { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 16px; }
.price-main { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 32px; border-radius: var(--r-lg); background: var(--clay); color: var(--black); min-height: 420px; }
.price-main .mono { color: rgba(8, 8, 8, 0.78); }
.price-main h3 { font-size: 24px; letter-spacing: 0; margin-top: 10px; }
.price-main .amount { font-size: clamp(64px, min(7vw, 11vh), 120px); letter-spacing: 0; line-height: 0.86; font-weight: 500; white-space: nowrap; }
.price-main .per { font-size: 18px; margin-top: 12px; color: rgba(8, 8, 8, 0.78); }
@media (max-width: 560px) { .price-main .per__sep { display: none; } .price-main .per__total { display: block; } }
.price-list { border-top: 1px solid var(--line); align-self: start; }
.prow { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.prow__name { display: grid; gap: 4px; min-width: 0; }
.prow__name b { font-size: 20px; font-weight: 500; letter-spacing: 0; }
.prow__name span { font-size: 14px; color: var(--fg-3); }
.prow__price { font-size: clamp(24px, 2.2vw, 30px); letter-spacing: 0; white-space: nowrap; font-weight: 500; }
.prow__price small { font-size: 0.5em; color: var(--fg-3); font-weight: 400; letter-spacing: 0; }
.prow--accent .prow__price { color: var(--clay-text); }
.price-notes { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 22px; color: var(--fg-2); font-size: 15px; }
.price-notes > span::before { content: "— "; color: var(--clay-text); }
@media (max-width: 960px) { .prices { grid-template-columns: 1fr; } .price-main { min-height: 0; padding: 26px 22px; } }

/* ---------- Площадки: названия крупно поверх фото корта ---------- */
.venues { position: relative; isolation: isolate; overflow: hidden; background: #1a0f0a; color: var(--chalk); --bg: #1a0f0a; --fg: var(--chalk); --fg-2: rgba(245, 244, 240, 0.86); --fg-3: rgba(245, 244, 240, 0.74); --line: rgba(245, 244, 240, 0.24); }
.venues__img { position: absolute; inset: 0; z-index: -2; }
.venues__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.venues::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 8, 8, 0.82) 0%, rgba(8, 8, 8, 0.35) 34%, rgba(8, 8, 8, 0.35) 55%, rgba(8, 8, 8, 0.92) 100%); }
.venues .clay { color: var(--clay-text); }
.venues__wrap { display: flex; flex-direction: column; justify-content: space-between; gap: 64px; min-height: min(100vh, 940px); padding-block: clamp(80px, min(9vw, 13vh), 150px) clamp(40px, 6vh, 72px); }
.venues__head { margin: 0; }
.venues__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.venue { position: relative; display: grid; gap: 10px; align-content: start; }
.venue__n { color: var(--clay-text); }
.venue h3 { font-size: clamp(30px, 3.2vw, 50px); line-height: 0.95; font-weight: 500; letter-spacing: 0; color: var(--chalk); transition: color 0.3s; }
.venue p { font-size: 15px; color: var(--fg-2); }
.venue a { justify-self: start; display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; padding-bottom: 4px; font-size: 15px; color: var(--chalk); text-decoration: none; border-bottom: 1.5px solid var(--clay); white-space: nowrap; }
.venue a svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.venue a::after { content: ""; position: absolute; inset: -8px; }
.venue:hover h3 { color: var(--clay-text); }
.venue:hover a svg { transform: translate(2px, -2px); }
.venue a:focus-visible { outline: none; }
.venue:has(a:focus-visible) { outline: 2px solid var(--clay); outline-offset: 8px; border-radius: 10px; }
@media (max-width: 960px) { .venues__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .venues__wrap { min-height: 0; } }
@media (max-width: 560px) { .venues__list { grid-template-columns: 1fr; gap: 0; padding-top: 0; border-top: 0; } .venue { padding: 20px 0; border-top: 1px solid var(--line); } .venue h3 { font-size: 34px; } }

/* ---------- Витрина приложения ---------- */
.showcase { overflow: hidden; padding-bottom: clamp(72px, 7vw, 110px); }
.devices { position: relative; height: clamp(480px, min(50vw, 76vh), 720px); margin-top: 20px; }
.devices .phone { position: absolute; left: 50%; top: 0; }
.devices::before { content: ""; position: absolute; left: 50%; top: 4%; width: min(900px, 80%); aspect-ratio: 1.4; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 214, 170, 0.8), rgba(255, 150, 90, 0.42) 42%, rgba(185, 77, 34, 0) 76%); pointer-events: none; }
.devices .d1 { --w: clamp(210px, min(22vw, 32vh), 310px); transform: translateX(-50%); z-index: 3; }
.devices .d2 { --w: clamp(180px, min(18.5vw, 27vh), 262px); transform: translateX(-150%) translateY(10%) rotate(-6deg); z-index: 2; }
.devices .d3 { --w: clamp(180px, min(18.5vw, 27vh), 262px); transform: translateX(50%) translateY(10%) rotate(6deg); z-index: 2; }
.devices .cap { position: absolute; color: var(--fg-2); max-width: 22ch; font-size: 15px; }
.devices .cap b { display: block; color: var(--fg); font-weight: 500; font-size: 17px; margin-bottom: 4px; }
.devices .cap--l { left: 0; top: 14%; }
.devices .cap--r { right: 0; top: 46%; text-align: right; }
@media (max-width: 760px) {
  .devices { height: auto; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 8px var(--gutter) 20px; scrollbar-width: none; }
  .devices::-webkit-scrollbar { display: none; }
  .devices::before { display: none; }
  .devices .phone { position: relative; left: auto; transform: none !important; --w: min(230px, 62vw) !important; scroll-snap-align: center; }
}
@media (max-width: 1180px) { .devices .cap { display: none; } }

/* ---------- Финальный экран: запись ---------- */
.final { position: relative; isolation: isolate; overflow: hidden; background: #3a1708; color: var(--chalk); }
.final__img { position: absolute; inset: 0; z-index: -2; }
.final__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 8, 8, 0.78) 0%, rgba(8, 8, 8, 0.4) 50%, rgba(8, 8, 8, 0.7) 100%); }
.final__top { display: grid; gap: 22px; padding-top: clamp(96px, min(10vw, 14vh), 150px); }
.final__title { font-size: clamp(36px, min(7vw, 11vh), 104px); line-height: 0.95; font-weight: 500; letter-spacing: 0; }
.final__title .line-reveal { display: inline-block; }
@media (min-width: 1001px) { .final__title { white-space: nowrap; } }
.final__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: 56px; align-items: start; padding-block: clamp(40px, 6vh, 72px) clamp(96px, min(10vw, 14vh), 150px); }
.final__text { display: grid; gap: 28px; position: sticky; top: 110px; }
.steps { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid rgba(245, 244, 240, 0.2); counter-reset: s; max-width: 460px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 10px; padding: 14px 0; border-bottom: 1px solid rgba(245, 244, 240, 0.2); color: rgba(245, 244, 240, 0.8); font-size: 15px; }
.steps li::before { content: "0" counter(s); font: 400 12px/1.8 var(--mono); color: var(--clay-text); }
.steps b { display: block; color: var(--chalk); font-weight: 500; font-size: 16px; }
.final__call { font-size: 16px; color: rgba(245, 244, 240, 0.8); }
.final__call a { color: var(--chalk); font-weight: 500; white-space: nowrap; text-underline-offset: 4px; text-decoration-color: var(--clay); }
@media (max-width: 1000px) { .final__grid { grid-template-columns: 1fr; } .final__text { position: static; } .final::before { background: linear-gradient(180deg, rgba(8, 8, 8, 0.55) 0%, rgba(8, 8, 8, 0.82) 60%); } }

.form { display: grid; gap: 20px; align-content: start; padding: clamp(22px, 3vw, 36px); border-radius: var(--r-lg); background: rgba(12, 12, 12, 0.86); border: 1px solid rgba(245, 244, 240, 0.1); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); color: var(--chalk); }
.form__head { display: grid; gap: 6px; }
.form__head h3 { font-size: 26px; letter-spacing: 0; }
.form__head p { color: rgba(245, 244, 240, 0.64); font-size: 15px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 8px; min-width: 0; align-content: start; }
.field > label, .legend { font-size: 14px; font-weight: 500; color: rgba(245, 244, 240, 0.86); padding: 0; }
.req { color: var(--clay-text); margin-left: 2px; }
.input { width: 100%; min-height: 54px; padding: 14px 16px; border-radius: 12px; background: rgba(245, 244, 240, 0.05); border: 1px solid rgba(245, 244, 240, 0.16); color: var(--chalk); font-size: 17px; outline: none; transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s; -webkit-appearance: none; appearance: none; }
.input::placeholder { color: rgba(245, 244, 240, 0.42); }
.input:hover { border-color: rgba(245, 244, 240, 0.3); }
.input:focus { border-color: var(--clay); background: rgba(245, 244, 240, 0.07); box-shadow: 0 0 0 4px rgba(244, 117, 50, 0.2); }
textarea.input { min-height: 104px; resize: vertical; line-height: 1.45; }
select.input { padding-right: 44px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5f4f0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; }
select.input option { background: #1a1a1a; color: var(--chalk); }
.input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(255, 155, 133, 0.14); }
.field__foot { display: flex; align-items: baseline; gap: 12px; }
.counter { font: 400 12px/1 var(--mono); color: rgba(245, 244, 240, 0.6); margin-left: auto; white-space: nowrap; }
.error { font-size: 14px; color: var(--danger); font-weight: 500; }
.error:empty { display: none; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 8px; }
.legend { float: left; width: 100%; margin-bottom: 8px; }
.legend + * { clear: both; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: rgba(245, 244, 240, 0.05); border: 1px solid rgba(245, 244, 240, 0.16); transition: border-color 0.2s; }
.segmented.is-invalid { border-color: var(--danger); }
.choices { display: flex; flex-wrap: wrap; gap: 6px; }
.opt { position: relative; display: block; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt span { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 16px; border-radius: 10px; font-size: 16px; text-align: center; transition: background-color 0.2s, color 0.2s, border-color 0.2s; user-select: none; -webkit-user-select: none; pointer-events: none; }
.choices .opt span { border: 1px solid rgba(245, 244, 240, 0.18); border-radius: 999px; }
.opt:hover span { background: rgba(245, 244, 240, 0.08); }
.opt input:checked + span { background: var(--chalk); color: var(--black); font-weight: 500; border-color: transparent; }
.opt input:focus-visible + span { outline: 2px solid var(--clay); outline-offset: 2px; }
.age-wrap { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.35s var(--ease), opacity 0.3s; }
.age-wrap > .field { overflow: hidden; }
#trial-form { gap: 0; }
#trial-form > * + * { margin-top: 20px; }
#trial-form > .age-wrap { transition: grid-template-rows 0.35s var(--ease), opacity 0.3s, margin-top 0.35s var(--ease); }
#trial-form > .age-wrap.is-hidden { margin-top: 0; }
.age-wrap.is-hidden { grid-template-rows: 0fr; opacity: 0; }
.age-wrap.is-hidden > .field { visibility: hidden; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 15px; color: rgba(245, 244, 240, 0.72); cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; width: 24px; height: 24px; margin: 0; border-radius: 6px; border: 1.5px solid rgba(245, 244, 240, 0.45); background: transparent; display: grid; place-items: center; cursor: pointer; transition: background-color 0.2s, border-color 0.2s; }
.check input::after { content: ""; width: 11px; height: 6px; border: 2.2px solid var(--black); border-top: 0; border-right: 0; transform: translateY(-2px) rotate(-45deg) scale(0); transition: transform 0.2s var(--ease); }
.check input:checked { background: var(--clay); border-color: var(--clay); }
.check input:checked::after { transform: translateY(-2px) rotate(-45deg) scale(1); }
.check input[aria-invalid="true"] { border-color: var(--danger); }
.check a { color: var(--chalk); text-underline-offset: 3px; }
.form__alert { padding: 14px 16px; border-radius: 12px; background: rgba(255, 155, 133, 0.1); border: 1px solid rgba(255, 155, 133, 0.35); color: #ffd9cf; font-size: 15px; }
.form__alert:empty { display: none; }
.form__submit { width: 100%; min-height: 58px; font-size: 17px; }
.form__submit[aria-disabled="true"] { cursor: progress; }
.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(8, 8, 8, 0.25); border-top-color: var(--black); animation: spin 0.8s linear infinite; }
.is-sending .spinner { display: block; }
.is-sending .arrow { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.form__legal { font-size: 14px; color: rgba(245, 244, 240, 0.62); }
.success { display: grid; gap: 16px; justify-items: start; align-content: center; min-height: 460px; }
.success[hidden], .form[hidden] { display: none; }
.success:focus { outline: none; }
.success__icon { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--clay); color: var(--black); animation: pop 0.6s var(--ease); }
.success__icon svg { width: 28px; height: 28px; }
.success h3 { font-size: clamp(30px, 3vw, 44px); letter-spacing: 0; }
.success p { color: rgba(245, 244, 240, 0.72); font-size: 18px; }
@media (max-width: 1000px) { .success { min-height: 320px; } }
@keyframes pop { from { transform: scale(0.6); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- Вопросы ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px 72px; align-items: start; }
.faq-wrap .head { margin: 0; position: sticky; top: 110px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; font-size: clamp(18px, 1.5vw, 22px); font-weight: 500; letter-spacing: 0; line-height: 1.25; border-radius: 6px; }
.faq summary::-webkit-details-marker { display: none; }
.plus { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; border: 1px solid var(--line); border-color: rgba(245, 244, 240, 0.24); transition: transform 0.4s var(--ease), background-color 0.25s, border-color 0.25s, color 0.25s; }
.plus svg { width: 14px; height: 14px; }
.faq summary:hover .plus { background: rgba(245, 244, 240, 0.08); }
.faq details[open] .plus { transform: rotate(45deg); background: var(--clay); color: var(--black); border-color: transparent; }
.faq .answer { padding: 0 64px 26px 0; color: var(--fg-2); display: grid; gap: 10px; font-size: 17px; }
.faq .answer b { color: var(--fg); font-weight: 500; }
.faq .answer a, .faq-wrap .lead a { color: var(--fg); text-underline-offset: 3px; text-decoration-color: var(--clay); }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } .faq-wrap .head { position: static; } .faq .answer { padding-right: 0; } }

/* ---------- Подвал ---------- */
.footer { background: var(--black); color: var(--chalk); padding: clamp(72px, 9vw, 120px) 0 36px; border-top: 1px solid rgba(245, 244, 240, 0.08); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 0.6fr)); gap: 40px; }
.footer__col { display: grid; gap: 10px; align-content: start; font-size: 15px; }
.footer__col .mono { color: rgba(245, 244, 240, 0.62); margin-bottom: 6px; }
.footer a { color: rgba(245, 244, 240, 0.78); text-decoration: none; transition: color 0.2s; }
.footer a:hover, .footer a[aria-current="page"] { color: var(--chalk); }
.footer__lead { font-size: clamp(21px, 1.9vw, 27px); letter-spacing: 0; line-height: 1.15; max-width: 18ch; }
.footer__word { margin-top: clamp(56px, 8vw, 110px); font-size: min(calc((100vw - var(--gutter) * 2) * 0.205), calc(var(--max) * 0.205)); font-weight: 600; letter-spacing: 0; line-height: 0.8; text-transform: uppercase; white-space: nowrap; color: var(--chalk); }
.footer__word i { font-style: normal; color: var(--clay); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(245, 244, 240, 0.1); color: rgba(245, 244, 240, 0.62); }
.footer__grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.footer__grid nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
@media (max-width: 860px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__top > :first-child { grid-column: 1 / -1; } }

/* ---------- Внутренние страницы ---------- */
.page { padding-top: 130px; padding-bottom: 40px; }
.page-hero { display: grid; gap: 20px; justify-items: start; padding: 20px 0 48px; }
.page-hero > * { max-width: 100%; min-width: 0; }
.page-hero h1 { font-size: clamp(40px, 6.4vw, 96px); letter-spacing: 0; line-height: 0.95; max-width: 15ch; overflow-wrap: break-word; }
.page-hero p { font-size: clamp(17px, 1.5vw, 20px); color: var(--fg-2); max-width: 56ch; }
@media (max-width: 560px) { .page { padding-top: 104px; } .page-hero h1 { font-size: clamp(32px, 9.6vw, 42px); hyphens: auto; -webkit-hyphens: auto; } }
.doc { max-width: 860px; padding: clamp(22px, 4vw, 52px); border-radius: var(--r-lg); background: var(--carbon); }
.doc h2 { font-size: 24px; letter-spacing: 0; margin: 40px 0 14px; }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc li { color: var(--fg-2); }
.doc p + p { margin-top: 14px; }
.doc ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.doc li { position: relative; padding-left: 22px; }
.doc li::before { content: ""; position: absolute; left: 3px; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--clay); }
.doc a { color: var(--chalk); text-decoration-color: var(--clay); text-underline-offset: 3px; }
.doc .edition { font: 400 12px/1.6 var(--mono); letter-spacing: 0.05em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 22px; }
@media (max-width: 560px) { .doc h2 { font-size: 20px; margin-top: 32px; } }
mark.todo { background: #ffe1c9; color: #3b1d0c; font-weight: 600; padding: 1px 6px; border-radius: 5px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.mail-card { max-width: 860px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 30px; border-radius: var(--r-lg); background: var(--clay); color: var(--black); }
.mail-card .label { color: rgba(8, 8, 8, 0.8); margin-bottom: 8px; }
.mail-card .addr { font-size: clamp(26px, 3.6vw, 44px); letter-spacing: 0; font-weight: 500; overflow-wrap: anywhere; }
.mail-card .hint { font-size: 15px; color: rgba(8, 8, 8, 0.72); margin-top: 6px; max-width: 46ch; }
.mail-card .btn { background: var(--black); color: var(--chalk); }
@media (max-width: 560px) { .mail-card { padding: 22px 20px; } .mail-card .btn { width: 100%; } }
.block { margin-top: 72px; }
.block > h2 { font-size: clamp(30px, 3.6vw, 52px); letter-spacing: 0; margin-bottom: 24px; }
.block .faq { max-width: 860px; }
.del-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 1000px; counter-reset: d; }
.del-step { padding: 24px; border-radius: var(--r-lg); background: var(--carbon); counter-increment: d; }
.del-step::before { content: "0" counter(d); display: block; margin-bottom: 44px; font: 400 12px/1 var(--mono); color: var(--clay-text); }
.del-step h3 { font-size: 22px; letter-spacing: 0; margin-bottom: 8px; line-height: 1.1; }
.del-step p { color: var(--fg-2); font-size: 16px; }
@media (max-width: 860px) { .del-steps { grid-template-columns: 1fr; } }
.path { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line); margin-top: 20px; }
.path span { opacity: 0.5; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 1000px; }
.info { padding: 26px; border-radius: var(--r-lg); background: var(--carbon); }
.info h3 { font-size: 22px; letter-spacing: 0; margin-bottom: 10px; }
.info p { color: var(--fg-2); font-size: 16px; }
.info p + p { margin-top: 10px; }
.info a { color: var(--chalk); text-underline-offset: 3px; }
@media (max-width: 860px) { .info-grid { grid-template-columns: 1fr; } .info { padding: 22px 20px; } }
.nf { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter) 60px; }
.nf .code { font-size: clamp(140px, 30vw, 360px); font-weight: 600; letter-spacing: 0; line-height: 0.8; color: var(--clay); }
.nf h1 { font-size: clamp(26px, 3.2vw, 40px); letter-spacing: 0; margin: 22px 0 10px; }
.nf p { color: var(--fg-2); margin-bottom: 28px; }
.nf .btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ---------- Движение ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .fade { opacity: 0; transition: opacity 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .fade.is-in { opacity: 1; }
.js .line-reveal { opacity: 0; transform: translateY(0.35em); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js .line-reveal.is-in { opacity: 1; transform: none; }
.js .img-reveal { clip-path: inset(12% 6% 12% 6% round var(--r)); transition: clip-path 1.4s var(--ease); }
.js .img-reveal.is-in { clip-path: inset(0 0 0 0 round var(--r)); }
.toast { position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); z-index: 100; width: max-content; max-width: calc(100vw - 32px); padding: 14px 20px; border-radius: 14px; background: rgba(21, 21, 21, 0.94); border: 1px solid rgba(245, 244, 240, 0.14); color: var(--chalk); font-size: 15px; text-align: center; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.35s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js .fade, .js .line-reveal, .js .img-reveal { opacity: 1; transform: none; clip-path: none; filter: none; }
}

/* Плавное раскрытие вопросов (где браузер умеет) */
@supports selector(::details-content) {
  :root { interpolate-size: allow-keywords; }
  .faq details::details-content { block-size: 0; overflow: clip; transition: block-size 0.45s var(--ease), content-visibility 0.45s allow-discrete; }
  .faq details[open]::details-content { block-size: auto; }
}
