/* Нейробаза — лендинг. Фирменный стиль: тёмный холодный нуар + маджента, золото кнопок; Science Gothic + IBM Plex Sans + JetBrains Mono. Mobile-first. */


:root {
  --navy-950: #08060f;
  --navy-900: #0e0a1a;
  --navy-800: #1c1233;
  --pink: #ff4fac;
  --pink-soft: #f5a8d6;
  --pink-deep: #d23a8e;
  --ink: #ededed;
  --muted: #d2cbdc;
  --dim: #a59cb8;
  --line: rgba(255, 255, 255, .13);
  --glass: rgba(255, 255, 255, .06);
  --glass-strong: rgba(255, 255, 255, .1);
  --ok: #7be0a8;
  --radius: 28px;
  --radius-sm: 16px;
  --gutter: 20px;
  --header-h: 64px;
  --ff: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --disp: "Science Gothic", "IBM Plex Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Consolas", monospace;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .7);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; font-family: var(--ff); font-size: 17px; line-height: 1.6; color: var(--ink);
  background: var(--navy-950);
  background-image:
    radial-gradient(1100px 700px at 80% -10%, rgba(30, 16, 48, .95), transparent 70%),
    radial-gradient(900px 600px at 0% 40%, rgba(30, 16, 48, .6), transparent 70%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--pink-soft); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--pink); color: var(--navy-950); padding: 10px 16px; border-radius: 10px; font-weight: 800; z-index: 100; }
.skip:focus { left: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(1160px, 100% - var(--gutter) * 2); margin-inline: auto; }
.section { position: relative; padding: 64px 0; }
.section--tight { padding: 40px 0; }
.section[hidden], [hidden] { display: none !important; }

/* ---------- Typography ---------- */
.eyebrow { font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--pink-soft); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 0; height: 0; border-left: 11px solid var(--pink); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.h2 { font-weight: 800; font-size: clamp(28px, 5.2vw, 46px); line-height: 1.12; letter-spacing: -.01em; max-width: 24ch; text-wrap: balance; }
.h2--wide { max-width: 30ch; }
.h2--caps { text-transform: uppercase; letter-spacing: 0; }
.h2--caps::after { content: ""; display: block; width: 72px; height: 6px; margin-top: 16px; background: var(--pink); border-radius: 3px; }
.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 60ch; margin-top: 18px; }
.sec-head { margin-bottom: 36px; }
.accent { color: var(--pink); }
.muted { color: var(--muted); }
.small { font-size: 14px; color: var(--dim); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 14px 26px;
  border-radius: var(--radius-sm); border: 2px solid transparent; font-weight: 800; font-size: 17px; line-height: 1.2; text-decoration: none; cursor: pointer;
  background: var(--pink); color: var(--navy-950); transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, border-color .2s ease;
  box-shadow: 0 14px 34px -14px rgba(255, 79, 172, .8);
}
.btn:hover { background: #ff75be; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(255, 255, 255, .35); box-shadow: none; }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: var(--pink-soft); }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.btn--block { width: 100%; }
.btn .arrow { width: 18px; height: 18px; flex: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: rgba(10, 7, 18, .72); border-bottom: 1px solid var(--line); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: .01em; }
.logo__tri { width: 0; height: 0; border-left: 14px solid var(--pink); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.logo b { color: var(--pink); font-weight: 800; }
.nav { display: none; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--muted); padding: 8px 12px; border-radius: 10px; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.burger { width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--glass); display: inline-grid; place-items: center; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; position: relative; transition: transform .25s ease, background .25s ease; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav { position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49; background: rgba(10, 7, 18, .97); border-bottom: 1px solid var(--line); padding: 14px var(--gutter) 22px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.mobile-nav.is-open { opacity: 1; transform: none; visibility: visible; }
.mobile-nav a { display: block; padding: 14px 4px; text-decoration: none; font-weight: 700; font-size: 18px; border-bottom: 1px solid var(--line); }
.header-actions .btn { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; padding: 56px 0 48px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -2; background: #0e0a1a; opacity: .62; }
.hero__bg img, .hero__bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(10, 7, 18, .55) 0%, rgba(10, 7, 18, .35) 40%, var(--navy-950) 100%),
  radial-gradient(900px 500px at 15% 30%, rgba(10, 7, 18, .85), transparent 70%); }
.hero__kicker { display: inline-flex; padding: 8px 16px; border-radius: 999px; background: var(--glass-strong); border: 1px solid var(--line); font-weight: 700; font-size: 13px; letter-spacing: .06em; color: var(--pink-soft); text-transform: uppercase; }
.hero h1 { font-weight: 800; font-size: clamp(34px, 7.2vw, 68px); line-height: 1.04; letter-spacing: -.02em; margin-top: 22px; max-width: 16ch; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--pink); }
.hero__sub { margin-top: 22px; font-size: clamp(17px, 2.3vw, 21px); color: #e6e0ee; max-width: 56ch; }
.hero__facts { margin-top: 26px; display: grid; gap: 12px; max-width: 60ch; }
.hero__facts li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 600; }
.check { flex: none; width: 22px; height: 22px; margin-top: 2px; }
.trust { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.trust__item { padding: 14px 16px; border-radius: var(--radius-sm); background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(8px); }
.trust__item b { display: block; font-size: 24px; font-weight: 800; line-height: 1.1; }
.trust__item span { font-size: 13px; line-height: 1.35; color: var(--muted); display: block; margin-top: 4px; }

/* ---------- Cards / grids ---------- */
.card { position: relative; background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; backdrop-filter: blur(6px); }
.card h3 { font-size: 20px; font-weight: 800; line-height: 1.25; }
.card p { color: var(--muted); margin-top: 10px; }
.grid { display: grid; gap: 18px; }
.cols-3 { grid-template-columns: 1fr; }
.cols-4 { grid-template-columns: 1fr; }
.cols-2 { grid-template-columns: 1fr; }
.num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 79, 172, .16); color: var(--pink); font-weight: 800; margin-bottom: 14px; }

.prose p + p { margin-top: 16px; }
.prose p { color: var(--muted); max-width: 62ch; }
.prose p strong { color: var(--ink); }

/* value */
.value-grid .card h3 { color: var(--pink-soft); font-size: 17px; text-transform: uppercase; letter-spacing: .04em; }

/* tiles */
.tiles { display: grid; gap: 16px; grid-template-columns: 1fr; }
.tile { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--navy-900); min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.tile video, .tile .tile__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(10, 7, 18, .92) 100%); }
.tile__body { padding: 22px; }
.tile h3 { font-size: 20px; font-weight: 800; }
.tile p { margin-top: 6px; color: #ddd6e6; font-size: 15px; line-height: 1.5; }
.tile--text { background: var(--glass); justify-content: flex-start; padding: 0; min-height: 0; }
.tile--text::after { display: none; }
.tile--text .tile__body { padding: 26px; }
.tile--text .ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 79, 172, .16); display: grid; place-items: center; margin-bottom: 14px; }
.tile--text .ico i { width: 0; height: 0; border-left: 12px solid var(--pink); border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 3px; }

/* before / after */
.ba { display: grid; gap: 28px; margin-top: 8px; }
.ba__pair { display: grid; grid-template-columns: 1fr 34px 1fr; align-items: center; gap: 8px; max-width: 520px; margin-inline: auto; width: 100%; }
.ba__fig { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--navy-900); aspect-ratio: 9 / 16; }
.ba__fig video { width: 100%; height: 100%; object-fit: cover; }
.ba__tag { position: absolute; left: 10px; top: 10px; z-index: 2; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: rgba(10, 7, 18, .78); border: 1px solid var(--line); }
.ba__fig--after .ba__tag { background: var(--pink); color: var(--navy-950); border-color: transparent; }
.ba__arrow { color: var(--pink); display: grid; place-items: center; }
.ba__arrow svg { width: 28px; height: 28px; }
.ba__note { text-align: center; margin-top: 26px; color: var(--muted); max-width: 60ch; margin-inline: auto; }
.ba__cta { display: flex; justify-content: center; margin-top: 22px; }

/* audience */
.not-for { margin-top: 22px; border: 1px dashed rgba(255, 255, 255, .25); border-radius: var(--radius); padding: 24px 26px; }
.not-for h3 { font-size: 18px; font-weight: 800; }
.not-for ul { margin-top: 12px; display: grid; gap: 10px; }
.not-for li { display: flex; gap: 12px; color: var(--muted); }
.not-for li::before { content: "—"; color: var(--pink); font-weight: 800; flex: none; }

/* briefs */
.brief { display: flex; flex-direction: column; gap: 6px; }
.brief .tag { align-self: flex-start; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--pink-soft); border: 1px solid rgba(245, 168, 214, .45); padding: 4px 10px; border-radius: 999px; }
.brief h3 { margin-top: 12px; font-size: 22px; }
.brief p { margin-top: 0; font-size: 15px; }
.brief-note { margin-top: 18px; }

/* video facade */
.video-frame { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; background: var(--navy-900) center/cover no-repeat; max-width: 920px; }
.video-frame button { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(10, 7, 18, .35); cursor: pointer; display: grid; place-items: center; }
.video-frame .play { width: 84px; height: 84px; border-radius: 50%; background: var(--pink); display: grid; place-items: center; box-shadow: 0 16px 40px -10px rgba(255, 79, 172, .9); }
.video-frame .play i { width: 0; height: 0; border-left: 24px solid var(--navy-950); border-top: 15px solid transparent; border-bottom: 15px solid transparent; margin-left: 6px; }
.video-points { margin-top: 24px; display: grid; gap: 10px; color: var(--muted); }
.video-points li { display: flex; gap: 12px; }

/* program accordion */
.acc { display: grid; gap: 12px; }
.acc details { background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s ease, background .2s ease; }
.acc details[open] { border-color: rgba(255, 79, 172, .55); background: var(--glass-strong); }
.acc summary { list-style: none; cursor: pointer; padding: 22px 24px; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; }
.acc summary::-webkit-details-marker { display: none; }
.acc .acc__n { font-weight: 800; color: var(--pink); font-size: 20px; min-width: 34px; }
.acc .acc__t { font-weight: 800; font-size: 19px; line-height: 1.25; }
.acc .acc__teaser { display: block; font-weight: 400; font-size: 15px; color: var(--muted); margin-top: 4px; }
.acc .acc__plus { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); position: relative; flex: none; transition: transform .25s ease, background .2s ease; }
.acc .acc__plus::before, .acc .acc__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: #fff; transform: translate(-50%, -50%); border-radius: 2px; }
.acc .acc__plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .25s ease; }
.acc details[open] .acc__plus { background: var(--pink); border-color: var(--pink); }
.acc details[open] .acc__plus::before, .acc details[open] .acc__plus::after { background: var(--navy-950); }
.acc details[open] .acc__plus::after { transform: translate(-50%, -50%) rotate(0); }
.acc__body { padding: 0 24px 24px 74px; display: grid; gap: 16px; }
.acc__body h4 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--pink-soft); font-weight: 800; }
.acc__body p { color: var(--muted); margin-top: 6px; }

/* steps */
.steps { display: grid; gap: 14px; counter-reset: st; }
.step { position: relative; padding: 22px 22px 22px 78px; background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); counter-increment: st; }
.step::before { content: counter(st); position: absolute; left: 22px; top: 20px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 79, 172, .16); color: var(--pink); font-weight: 800; font-size: 18px; }
.step b { display: block; font-size: 18px; }
.step span { color: var(--muted); font-size: 15px; }
/* полоска палитры, как под кадром в кино-каталогах (ShotDeck): 15 оттенков, снятых с кадров фотосета, от тёмного к светлому */
.palette { display: grid; grid-template-columns: repeat(15, minmax(0, 1fr)); gap: 1px; margin-top: 22px; padding: 1px; background: rgba(255, 255, 255, .45); }
.palette i { display: block; aspect-ratio: 4 / 3; }
@media (max-width: 640px) { .palette i { aspect-ratio: 3 / 4; } }

/* projects */
.cond { display: grid; gap: 12px; margin-top: 18px; }
.cond li { display: flex; gap: 12px; color: var(--ink); font-weight: 600; }
.cases { margin-top: 36px; }
.case h3 { margin-top: 10px; }
.case .case__meta { font-size: 13px; color: var(--pink-soft); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.case .case__result { margin-top: 12px; font-weight: 800; color: var(--ink); }
.case video, .case img { border-radius: 18px; margin-bottom: 16px; width: 100%; }
.disclaimer { margin-top: 18px; font-size: 14px; color: var(--dim); max-width: 70ch; }

/* agent001 */
.agent { overflow: hidden; border-radius: 36px; border: 1px solid rgba(255, 79, 172, .4); background:
  radial-gradient(700px 360px at 90% 0%, rgba(255, 79, 172, .22), transparent 70%),
  linear-gradient(160deg, rgba(30, 16, 48, .8), rgba(10, 7, 18, .9)); padding: 32px 22px; display: grid; gap: 32px; }
.agent__badge { display: inline-flex; padding: 7px 14px; border-radius: 999px; background: var(--pink); color: var(--navy-950); font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.agent h2 { font-weight: 800; font-size: clamp(26px, 4.6vw, 40px); line-height: 1.12; margin-top: 16px; text-wrap: balance; }
.agent h2 em { font-style: normal; color: var(--pink); }
.agent ul.list { margin-top: 20px; display: grid; gap: 10px; }
.agent ul.list li { display: flex; gap: 12px; color: var(--ink); }
.term { border-radius: 20px; background: #06040d; border: 1px solid var(--line); box-shadow: var(--shadow); font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 14px; line-height: 1.7; overflow: hidden; align-self: center; }
.term__bar { display: flex; gap: 7px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .04); }
.term__bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a4272; }
.term__bar span { margin-left: 10px; color: var(--dim); font-size: 12px; }
.term__body { padding: 18px 18px 22px; color: #dccff2; }
.term .p { color: var(--pink); } .term .ok { color: var(--ok); } .term .dim { color: #727aa6; }
.term .cur { display: inline-block; width: 8px; height: 16px; background: var(--pink); vertical-align: -2px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* communities / about */
.about { display: grid; gap: 30px; align-items: center; }
.about__photo { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); max-width: 440px; margin-inline: auto; }
.about__photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
/* Ролик «обо мне» вместо фото: обложка 9:16, по клику — лайтбокс со звуком */
.about__video { position: relative; display: block; width: 100%; padding: 0; cursor: pointer; background: #000; color: #fff; font: inherit; text-align: left; isolation: isolate; }
.about__video img { display: block; aspect-ratio: 9 / 16; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.about__video::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(180deg, rgba(8, 6, 15, 0) 52%, rgba(8, 6, 15, .88) 100%); }
.about__play { position: absolute; left: 50%; top: 74%; z-index: 1; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--pink); border: 3px solid #fff; box-shadow: 0 0 0 8px rgba(8, 6, 15, .28), 0 18px 44px -10px rgba(8, 6, 15, .8); transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.about__play::before { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .6); animation: aboutPulse 2.4s ease-out infinite; }
.about__play svg { width: 34px; height: 34px; fill: #fff; margin-left: 5px; }
.about__cap { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-family: var(--mono); font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.about__cap-eb { display: flex; align-items: center; gap: 10px; color: var(--pink-soft); }
.about__cap-eb::before { content: ""; border-left: 10px solid var(--pink); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.about__cap-t { color: rgba(255, 255, 255, .78); font-variant-numeric: tabular-nums; }
.about__video:focus-visible { outline: 2px solid var(--pink); outline-offset: 4px; }
@keyframes aboutPulse { 0% { transform: scale(.92); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
@media (hover: hover) { .about__video:hover img { transform: scale(1.035); } .about__video:hover .about__play { transform: scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .about__play::before { animation: none; } .about__video img, .about__play { transition: none; } }
.facts { margin-top: 22px; display: grid; gap: 12px; }
.facts li { display: flex; gap: 12px; color: var(--ink); font-weight: 600; }
/* подарок в блоке «АГЕНТ001» (правка Кристины 13.10): компьютер — над терминалом справа, телефон — первым */
.agent > div:first-child { grid-area: text; min-width: 0; }
.agent { grid-template-areas: "gift" "text" "term"; }
.agent__gift { grid-area: gift; display: block; width: 100%; max-width: 520px; height: auto; margin: -8px auto -18px;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 52%, #000 55%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 52%, #000 55%, transparent 100%); }
.agent .term { grid-area: term; }
@media (min-width: 900px) {
  .agent { grid-template-areas: "text gift" "text term"; grid-template-rows: auto 1fr; row-gap: 8px; }
  .agent__gift { margin: -24px auto -10px; }
  .agent .term { align-self: start; }
}
/* логотипы брендов в блоке автора: однотонные розовые, выровнены по визуальной площади */
.brands { margin-top: 26px; }
.brands__label { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--pink); }
.brands__row { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 22px 34px; }
.brands__row img { display: block; height: auto; max-width: 100%; opacity: .85; transition: opacity .2s ease; }
.brands__row img:hover { opacity: 1; }
@media (max-width: 480px) { .brands__row { gap: 18px 26px; } .brands__row img { transform-origin: left center; zoom: .85; } }
/* автор: цифры титрами, «работал с» и пресса — моноширинным, как в титрах фильма */
.about__text { min-width: 0; }
.stats { margin-top: 26px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 0; max-width: 560px; }
.stats li { display: flex; flex-direction: column; gap: 4px; padding-inline: 16px; border-left: 1px solid rgba(255, 79, 172, .35); }
.stats b { font-family: var(--disp); font-weight: 800; font-variation-settings: "wdth" 125; text-transform: uppercase; font-size: clamp(22px, 2.3vw, 32px); line-height: 1; color: #fff; white-space: nowrap; }
.stats span { color: var(--muted); font-size: 14px; line-height: 1.35; }
@media (max-width: 480px) { .stats li { padding-inline: 12px; } .stats b { font-size: 20px; font-variation-settings: "wdth" 110; } .stats span { font-size: 13px; } }
.credits { margin: 24px 0 0; display: grid; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; line-height: 1.6; }
.credits div { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 12px; }
.credits dt { color: var(--pink); }
.credits dd { margin: 0; color: rgba(255, 255, 255, .55); }
.credits a { color: rgba(255, 255, 255, .75); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 79, 172, .5); }
.credits a:hover { color: #fff; }
@media (max-width: 480px) { .credits div { grid-template-columns: 1fr; gap: 2px; } }
.socials { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.socials a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); transition: border-color .2s ease, color .2s ease; }
.socials a:hover { border-color: rgba(255, 79, 172, .6); color: #fff; }

/* tariffs */
.timer { margin: 0 auto 28px; max-width: 640px; text-align: center; padding: 18px 22px; border-radius: var(--radius); border: 1px solid rgba(255, 79, 172, .5); background: rgba(255, 79, 172, .09); }
.timer__lbl { font-weight: 700; color: var(--pink-soft); }
.timer__t { display: flex; justify-content: center; gap: 14px; margin-top: 8px; font-weight: 800; font-size: 28px; font-variant-numeric: tabular-nums; }
.timer__t small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tariffs { display: grid; gap: 18px; }
.tariff { position: relative; display: flex; flex-direction: column; padding: 30px 26px 26px; border-radius: 32px; background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03)); border: 1px solid var(--line); }
.tariff--rec { border: 2px solid var(--pink); background: linear-gradient(180deg, rgba(255, 79, 172, .14), rgba(255, 255, 255, .04)); box-shadow: 0 30px 80px -40px rgba(255, 79, 172, .7); }
.tariff__badge { position: absolute; top: -15px; left: 24px; background: var(--pink); color: var(--navy-950); font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; }
.tariff h3 { font-size: 24px; font-weight: 800; }
.tariff--rec h3 { color: var(--pink); }
.tariff__for { margin-top: 8px; color: var(--muted); font-size: 15px; min-height: 3em; }
.price { margin-top: 18px; font-weight: 800; font-size: 42px; line-height: 1; letter-spacing: -.01em; }
.price small { font-size: 22px; font-weight: 700; margin-left: 4px; }
.tariff ul { margin: 22px 0 26px; display: grid; gap: 12px; flex: 1; }
.tariff li { display: flex; gap: 12px; font-size: 16px; color: var(--ink); line-height: 1.45; }
.tariff li.off { color: var(--dim); }
.tariff li.off .check { opacity: .35; }
.tariff-note { margin-top: 22px; max-width: 78ch; }
.compare { margin-top: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--glass); }
.compare > summary { cursor: pointer; list-style: none; padding: 20px 24px; font-weight: 800; font-size: 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.compare > summary::-webkit-details-marker { display: none; }
.compare > summary::after { content: "+"; font-size: 26px; color: var(--pink); }
.compare[open] > summary::after { content: "−"; }
.compare__scroll { overflow-x: auto; padding: 0 12px 20px; }
.compare table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 14px 12px; text-align: left; border-top: 1px solid var(--line); vertical-align: top; }
.compare thead th { border-top: 0; font-weight: 800; color: var(--pink-soft); }
.compare tbody th { font-weight: 700; color: var(--ink); width: 28%; }
.compare td { color: var(--muted); }
.compare td.yes { color: var(--ink); font-weight: 600; }
.compare td.no { color: var(--dim); }

/* faq */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: var(--glass); border: 1px solid var(--line); border-radius: 20px; }
.faq details[open] { border-color: rgba(255, 79, 172, .5); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 24px; font-weight: 800; font-size: 18px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; color: var(--pink); flex: none; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq__a { padding: 0 24px 22px; color: var(--muted); }
.faq__a p + p { margin-top: 12px; }
.faq__a ul { margin-top: 10px; display: grid; gap: 6px; }
.faq__a li::before { content: "•"; color: var(--pink); margin-right: 10px; }

/* ask / final */
.ask { text-align: center; padding: 44px 24px; border-radius: 36px; background: linear-gradient(135deg, rgba(255, 79, 172, .18), rgba(30, 16, 48, .6)); border: 1px solid rgba(255, 79, 172, .4); }
.ask h2 { font-weight: 800; font-size: clamp(26px, 4.6vw, 40px); }
.ask p { margin: 14px auto 0; max-width: 56ch; color: var(--muted); }
.ask .cta-row { justify-content: center; }
.final { text-align: center; padding: 80px 0 96px; }
.final h2 { font-weight: 800; font-size: clamp(32px, 6vw, 58px); line-height: 1.08; letter-spacing: -.02em; max-width: 18ch; margin-inline: auto; text-wrap: balance; }
.final p { margin: 18px auto 0; color: var(--muted); max-width: 52ch; }
.final .cta-row { justify-content: center; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 110px; color: var(--muted); font-size: 14px; background: rgba(6, 4, 13, .6); }
.footer-grid { display: grid; gap: 28px; }
.site-footer a { color: var(--ink); text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 3px; }
.site-footer a:hover { text-decoration-color: var(--pink); }
.site-footer ul { display: grid; gap: 8px; }
.todo { outline: 2px dashed var(--pink); outline-offset: 4px; border-radius: 6px; position: relative; }
body:not(.review) .todo { outline: 0; }
.review-chip { position: fixed; left: 12px; bottom: 84px; z-index: 60; background: #fff; color: var(--navy-950); font-weight: 800; font-size: 11px; line-height: 1.3; padding: 6px 10px; border-radius: 999px; box-shadow: var(--shadow); max-width: min(260px, calc(100vw - 24px)); opacity: .92; pointer-events: none; }
.draft-tag { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 6px; background: var(--pink); color: var(--navy-950); font-size: 11px; font-weight: 800; letter-spacing: .04em; vertical-align: 2px; }
body:not(.review) .draft-tag { display: none; }

/* sticky CTA (mobile) */
.sticky-cta { position: fixed; z-index: 55; left: 0; right: 0; bottom: 0; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, transparent, rgba(10, 7, 18, .92) 40%); transform: translateY(110%); transition: transform .3s ease; pointer-events: none; }
.sticky-cta.is-on { transform: none; pointer-events: auto; }
.sticky-cta .btn { width: 100%; min-height: 56px; font-size: 18px; }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-d="1"] { transition-delay: .08s; } .js .reveal[data-d="2"] { transition-delay: .16s; } .js .reveal[data-d="3"] { transition-delay: .24s; }

/* ---------- ≥ 640 ---------- */
@media (min-width: 640px) {
  :root { --gutter: 28px; }
  .cols-2 { grid-template-columns: 1fr 1fr; }
  .cols-4 { grid-template-columns: 1fr 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .trust { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .ba__pair { grid-template-columns: 1fr 44px 1fr; }
}
/* ---------- ≥ 900 ---------- */
@media (min-width: 900px) {
  body { font-size: 18px; }
  .section { padding: 96px 0; }
  .nav { display: flex; gap: 2px; }
  .burger, .mobile-nav { display: none; }
  .header-actions .btn { display: inline-flex; }
  .cols-3 { grid-template-columns: repeat(3, 1fr); }
  .cols-4 { grid-template-columns: repeat(4, 1fr); }
  .hero { padding: 96px 0 72px; }
  .tiles { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 1fr; }
  .tile { min-height: 340px; }
  .tile--a { grid-column: span 2; } .tile--b { grid-column: span 4; } .tile--c { grid-column: span 2; } .tile--d { grid-column: span 2; } .tile--e { grid-column: span 2; } .tile--f { grid-column: 1 / -1; }
  .tile--text { min-height: 0; }
  .ba { grid-template-columns: 1fr 1fr; gap: 40px; }
  .steps { grid-template-columns: repeat(5, 1fr); }
  .step { padding: 74px 18px 20px; } .step::before { left: 18px; top: 18px; }
  .agent { grid-template-columns: 1.1fr 1fr; padding: 54px 52px; gap: 48px; }
  .about { grid-template-columns: 420px 1fr; gap: 64px; }
  .about__photo { max-width: none; }
  .tariffs { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .tariff--rec { transform: translateY(-14px); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .sticky-cta { display: none; }
  .site-footer { padding-bottom: 56px; }
  .review-chip { bottom: 14px; }
}
@media (min-width: 1100px) { .tile { min-height: 380px; } }
@media (max-width: 899px) {
  .tariffs .tariff--rec { order: -1; }
  .acc__body { padding-left: 24px; }
  .acc summary { grid-template-columns: 1fr auto; } .acc .acc__n { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .term .cur, .sticky-cta { transition: none; animation: none; }
}

/* ===================================================================
   «Дорогая» палитра: золото действия + розовый акцент на глубоком синем.
   Объём вместо плоских заливок: градиенты, внутренний свет, глубокие тени.
   =================================================================== */
:root {
  --gold-hi: #ffe9a8;
  --gold: #ffc83d;
  --gold-lo: #f0a41a;
  --gold-ink: #2a1a00;
  --card-bg: linear-gradient(155deg, rgba(255, 255, 255, .11) 0%, rgba(255, 255, 255, .035) 42%, rgba(255, 255, 255, .06) 100%);
  --card-edge: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 -1px 0 rgba(255, 255, 255, .03);
  --card-drop: 0 28px 60px -30px rgba(0, 0, 0, .85), 0 2px 6px rgba(0, 0, 0, .25);
}

body {
  background-color: var(--navy-950);
  background-image:
    radial-gradient(900px 620px at 92% -6%, rgba(255, 79, 172, .16), transparent 62%),
    radial-gradient(1200px 760px at 70% -12%, rgba(66, 22, 86, .95), transparent 68%),
    radial-gradient(900px 620px at -6% 46%, rgba(44, 20, 76, .75), transparent 68%),
    radial-gradient(800px 560px at 100% 88%, rgba(255, 200, 61, .07), transparent 65%);
  background-repeat: no-repeat;
}

/* --- Кнопка действия: полированное золото --- */
.btn {
  position: relative; overflow: hidden; color: var(--gold-ink); border: 0;
  background: linear-gradient(180deg, var(--gold-hi) 0%, var(--gold) 46%, var(--gold-lo) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .7),
    inset 0 -2px 0 rgba(150, 90, 0, .28),
    0 1px 0 rgba(255, 225, 140, .4),
    0 16px 38px -12px rgba(255, 190, 40, .55),
    0 4px 10px rgba(0, 0, 0, .35);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .35);
}
.btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .65), transparent);
  transform: skewX(-20deg); transition: left .7s ease; pointer-events: none;
}
.btn:hover {
  background: linear-gradient(180deg, #fff1c2 0%, #ffd150 46%, #f5ae24 100%);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .8),
    inset 0 -2px 0 rgba(150, 90, 0, .28),
    0 22px 46px -12px rgba(255, 190, 40, .7),
    0 6px 14px rgba(0, 0, 0, .35);
}
.btn:hover::after { left: 120%; }
.btn--ghost {
  color: var(--ink); text-shadow: none; border: 1px solid rgba(255, 255, 255, .28);
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);
}
.btn--ghost:hover { background: linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, .05)); border-color: var(--gold); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2); }
.btn--ghost::after { display: none; }

/* --- Акцентный текст: розовое золото --- */
.accent, .hero h1 em, .tariff--rec h3 {
  background: linear-gradient(100deg, #ffb3e0 0%, #ff4fac 50%, #c24dff 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.h2--caps::after { background: linear-gradient(90deg, var(--pink), var(--gold)); box-shadow: 0 6px 20px -4px rgba(255, 79, 172, .7); }
.eyebrow::before { filter: drop-shadow(0 0 8px rgba(255, 79, 172, .7)); }
.hero__kicker { background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18); }

/* --- Стеклянные карточки с гранью и глубиной --- */
.card, .trust__item, .acc details, .step, .faq details, .compare, .tile--text, .not-for {
  background: var(--card-bg);
  border-color: rgba(255, 255, 255, .12);
  box-shadow: var(--card-edge), var(--card-drop);
}
.not-for { background: none; box-shadow: none; border-color: rgba(255, 255, 255, .25); }
.acc details[open], .faq details[open] {
  border-color: rgba(255, 200, 61, .5);
  background: linear-gradient(155deg, rgba(255, 200, 61, .09), rgba(255, 255, 255, .04) 55%, rgba(255, 79, 172, .06));
}
.tile, .ba__fig, .about__photo, .video-frame { box-shadow: 0 30px 70px -34px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .08); }
.num, .step::before, .tile--text .ico { background: linear-gradient(145deg, rgba(255, 79, 172, .3), rgba(255, 79, 172, .08)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2); }

/* --- Тарифы: средний — золото в рамке --- */
.tariff {
  background: var(--card-bg); box-shadow: var(--card-edge), var(--card-drop);
}
.tariff--rec {
  border: 2px solid transparent;
  background:
    linear-gradient(165deg, #1a2262 0%, #0e1544 55%, #0b1030 100%) padding-box,
    linear-gradient(150deg, var(--gold-hi) 0%, var(--gold) 38%, #ff4fac 100%) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .18),
    0 40px 90px -36px rgba(255, 190, 40, .55),
    0 30px 70px -30px rgba(255, 79, 172, .45);
}
.tariff--rec .price {
  background: linear-gradient(180deg, #fff2c9, var(--gold) 60%, var(--gold-lo));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.tariff__badge, .agent__badge, .draft-tag {
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo)); color: var(--gold-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 8px 20px -8px rgba(255, 190, 40, .7);
}
.draft-tag { box-shadow: none; }
.timer { border-color: rgba(255, 200, 61, .5); background: linear-gradient(155deg, rgba(255, 200, 61, .12), rgba(255, 255, 255, .03)); box-shadow: var(--card-edge); }
.timer__lbl { color: var(--gold); }

/* --- Блоки-витрины --- */
.agent {
  border-color: rgba(255, 200, 61, .35);
  background:
    radial-gradient(680px 360px at 92% 0%, rgba(255, 79, 172, .26), transparent 70%),
    radial-gradient(520px 320px at 0% 100%, rgba(255, 200, 61, .10), transparent 70%),
    linear-gradient(160deg, #141d57, #090d26);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 50px 100px -50px rgba(0, 0, 0, .9);
}
.ask {
  border-color: rgba(255, 200, 61, .38);
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(255, 200, 61, .14), transparent 70%),
    linear-gradient(135deg, rgba(255, 79, 172, .2), rgba(30, 16, 48, .7));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 40px 80px -40px rgba(0, 0, 0, .8);
}
.video-frame .play { background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 18px 46px -8px rgba(255, 190, 40, .8); }
.video-frame .play i { border-left-color: var(--gold-ink); }
.acc details[open] .acc__plus { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); border-color: var(--gold); }
.acc details[open] .acc__plus::before, .acc details[open] .acc__plus::after { background: var(--gold-ink); }
.faq summary::after, .compare > summary::after { color: var(--gold); }
.faq details[open] summary::after { color: var(--gold); }

/* --- Шапка и липкая кнопка --- */
.site-header { background: linear-gradient(180deg, rgba(10, 7, 18, .86), rgba(10, 7, 18, .66)); box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 14px 40px -24px rgba(0, 0, 0, .9); }
.hero::before { background:
  linear-gradient(180deg, rgba(10, 7, 18, .5) 0%, rgba(10, 7, 18, .3) 40%, var(--navy-950) 100%),
  radial-gradient(900px 500px at 15% 30%, rgba(10, 7, 18, .85), transparent 70%),
  radial-gradient(600px 400px at 90% 10%, rgba(255, 79, 172, .18), transparent 70%); }

/* --- Первый экран: меньше сплошного текста --- */
.hero__sub { margin-top: 20px; font-size: clamp(17px, 2vw, 20px); line-height: 1.55; max-width: 50ch; }
.hero__sub strong { font-weight: 800; letter-spacing: .04em; color: var(--gold); }
.hero__sub--2 { margin-top: 12px; color: #fff; font-weight: 600; }
.hero__facts { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 10px; max-width: 64ch; }
.hero__facts li { align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px; font-size: 14px; line-height: 1.3; font-weight: 600; color: var(--muted);
  background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .13); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
.hero__facts .check { width: 18px; height: 18px; margin-top: 0; }

/* --- Полоса триггеров под первым экраном --- */
.cta-why { margin-top: 14px; font-size: 14px; color: var(--dim); max-width: 52ch; }
.trust { margin-top: 36px; }
.trust__item b { color: #fff; }
.trust__item b::first-letter { color: var(--pink); }
.trust__item b i { font-style: normal; color: var(--pink); }
.trust__item b.trust__num::first-letter { color: inherit; }
.trust__item span { font-size: 14px; color: var(--muted); }

/* --- Блок «Почему сейчас»: контраст «умеют все / за что платят» --- */
.vs { display: grid; gap: 14px; grid-template-columns: 1fr; margin-top: 8px; }
.vs__col { border-radius: var(--radius); padding: 24px 26px; }
.vs__col h3 { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.vs__col ul { display: grid; gap: 12px; }
.vs__col li { display: flex; gap: 12px; font-size: 17px; line-height: 1.4; }
.vs__col li::before { flex: none; width: 22px; text-align: center; font-weight: 800; }
.vs__col--all { border: 1px dashed rgba(255, 255, 255, .25); color: var(--dim); }
.vs__col--all h3 { color: var(--dim); }
.vs__col--all li { text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, .25); }
.vs__col--all li::before { content: "—"; color: var(--dim); }
.vs__col--pay { background: var(--card-bg); border: 1px solid rgba(255, 200, 61, .4); color: var(--ink); box-shadow: var(--card-edge), var(--card-drop); }
.vs__col--pay h3 { color: var(--gold); }
.vs__col--pay li { font-weight: 600; }
.vs__col--pay li::before { content: "✓"; color: var(--ok); }
.vs__bridge { margin-top: 26px; max-width: 62ch; font-size: clamp(17px, 2vw, 20px); font-weight: 600; color: var(--ink); }
.value-grid .card p strong { display: block; color: var(--ink); font-weight: 800; margin-bottom: 4px; }
.about-cta { margin-top: 36px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
@media (min-width: 640px) { .vs { grid-template-columns: 1fr 1fr; } }

/* --- «Что это даст тебе»: карточки с тремя пунктами --- */
.value-title { margin-top: 44px; margin-bottom: 18px; font-size: clamp(22px, 3.4vw, 30px); font-weight: 800; line-height: 1.2; }
.value-grid { margin-top: 0 !important; }
.value-grid .card { display: flex; flex-direction: column; gap: 16px; }
.gain { display: grid; gap: 12px; }
.gain li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; line-height: 1.4; font-weight: 400; color: var(--dim); }
.gain .check { margin-top: 2px; }

/* ===================================================================
   Блок 3: ряды работ с прокруткой и окно просмотра
   =================================================================== */
.works { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
.wrow, .wrow__txt, .wrow__track { min-width: 0; }
.wrow__head { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: center; margin-bottom: 18px; }
.wrow__n { font-weight: 800; font-size: clamp(34px, 6vw, 52px); line-height: .95; letter-spacing: -.02em;
  background: linear-gradient(180deg, #ff8acb, var(--pink) 60%, #c8378a); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.wrow__txt h3 { font-size: clamp(20px, 2.6vw, 26px); font-weight: 800; line-height: 1.2; }
.wrow__txt p { margin-top: 6px; color: var(--dim); font-size: 15px; line-height: 1.45; max-width: 60ch; }
.wrow__nav { display: none; gap: 8px; }
.wrow__btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--ink);
  border: 1px solid rgba(255, 255, 255, .2); background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15); transition: background .2s ease, border-color .2s ease, opacity .2s ease; }
.wrow__btn:hover { border-color: var(--gold); background: linear-gradient(180deg, rgba(255, 200, 61, .22), rgba(255, 200, 61, .06)); }
.wrow__btn[disabled] { opacity: .35; cursor: default; }
.wrow__btn .arrow { width: 18px; height: 18px; }

.wrow__track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
  margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 14px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.wrow__track::-webkit-scrollbar { display: none; }

.wcard { position: relative; flex: none; width: clamp(150px, 42vw, 230px); aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; scroll-snap-align: start;
  padding: 0; border: 1px solid rgba(255, 255, 255, .12); background: var(--navy-900); cursor: pointer; isolation: isolate; text-align: left; color: var(--ink);
  box-shadow: 0 24px 50px -28px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .08); transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.wcard img, .wcard video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wcard img { z-index: -3; }
.wcard video { z-index: -2; opacity: 0; transition: opacity .4s ease; }
.wcard video.is-playing { opacity: 1; }
.wcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 7, 18, 0) 50%, rgba(10, 7, 18, .88) 100%); }
/* лёгкая тонировка превью под холодный розовый нуар; при наведении — исходный цвет */
.wcard::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(160deg, rgba(255, 79, 172, .2), rgba(70, 28, 150, .3)); mix-blend-mode: soft-light; transition: opacity .4s ease; }
.wcard:hover::before, .wcard:focus-visible::before { opacity: 0; }
.wcard--pending::before { display: none; }
.wcard:hover { transform: translateY(-4px); border-color: rgba(255, 200, 61, .55); box-shadow: 0 34px 60px -26px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 200, 61, .25); }
.wcard:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.wcard__play { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%;
  background: rgba(10, 7, 18, .5); border: 1px solid rgba(255, 255, 255, .4); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .7); transition: background .25s ease, transform .25s ease, border-color .25s ease; }
.wcard__play::before { content: ""; position: absolute; left: 50%; top: 50%; margin: -9px 0 0 -5px; border-left: 16px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.wcard:hover .wcard__play { transform: scale(1.08); border-color: transparent; background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo)); }
.wcard:hover .wcard__play::before { border-left-color: var(--gold-ink); }
.wcard__cap { position: absolute; left: 14px; right: 14px; bottom: 12px; display: flex; flex-direction: column; gap: 2px; }
.wcard__cap b { font-size: 16px; font-weight: 800; line-height: 1.2; }
.wcard__cap small { font-size: 12px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.wcard--pending { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 16px; text-align: center; cursor: default;
  border: 1px dashed rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .03); color: var(--dim); font-size: 14px; box-shadow: none; }
.wcard--pending::after { display: none; }
.wcard--pending:hover { transform: none; border-color: rgba(255, 255, 255, .25); box-shadow: none; }
body:not(.review) .wcard--pending, body:not(.review) .wrow--pending { display: none; }

@media (min-width: 900px) {
  .wrow__head { grid-template-columns: auto 1fr auto; align-items: center; }
  .wrow__nav { display: flex; }
  .wrow__track { margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; }
}

/* окно просмотра */
.lb { position: fixed; inset: 0; z-index: 200; padding: 0; border: 0; margin: 0; width: 100%; height: 100%; color: var(--ink); overflow: auto; background: rgba(5, 3, 10, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

.lb.is-open { display: grid; place-items: center; }
.lb__box { position: relative; display: grid; grid-template-columns: auto auto auto; align-items: center; gap: 18px; padding: 16px; }
.lb__stage { grid-column: 2; height: min(78vh, 760px); aspect-ratio: 9 / 16; max-width: calc(100vw - 32px); border-radius: 22px; overflow: hidden; background: #000;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .1); }
.lb__video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.lb__arrow, .lb__close { display: grid; place-items: center; cursor: pointer; color: #fff; border: 1px solid rgba(255, 255, 255, .25);
  background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15); }
.lb__arrow { width: 52px; height: 52px; border-radius: 50%; }
.lb__arrow:hover, .lb__close:hover { border-color: var(--gold); }
.lb__arrow .arrow { width: 20px; height: 20px; }
.lb__arrow--prev { grid-column: 1; } .lb__arrow--next { grid-column: 3; }
.lb__close { position: absolute; top: 0; right: 0; width: 46px; height: 46px; border-radius: 50%; font-size: 28px; line-height: 1; z-index: 2; }
.lb__bar { grid-column: 2; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.lb__title { font-size: 18px; font-weight: 800; }
@media (max-width: 699px) {
  .lb__box { grid-template-columns: 1fr; gap: 12px; padding: 12px; }
  .lb__stage { grid-column: 1; height: auto; width: min(100%, max(200px, calc((100vh - 150px) * 9 / 16))); justify-self: center; }
  .lb__arrow { display: none; }
  .lb__bar { grid-column: 1; }
  .lb__close { top: 18px; right: 18px; }
}

/* широкие карточки (реклама 16:9) и широкий просмотр */
.wrow--wide .wcard { aspect-ratio: 16 / 9; width: clamp(260px, 78vw, 400px); }
.wrow--wide .wcard--pending { aspect-ratio: 16 / 9; }
.lb--wide .lb__stage { aspect-ratio: 16 / 9; height: auto; width: min(calc(100vw - 180px), 1100px, calc(76vh * 16 / 9)); }
@media (max-width: 699px) { .lb--wide .lb__stage { width: 100%; } }

/* фото-карточки и фото в окне просмотра */
.wcard--photo::after { background: linear-gradient(180deg, rgba(10, 7, 18, 0) 55%, rgba(10, 7, 18, .85) 100%); }
.wcard__tag { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(10, 7, 18, .6); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.wcard--photo:hover img { transform: scale(1.04); }
.wcard img { transition: transform .5s ease; }
.lb__img { width: 100%; height: 100%; object-fit: contain; background: #000; display: block; }
.lb--photo .lb__stage { aspect-ratio: auto; height: auto; width: auto; max-width: min(calc(100vw - 180px), 1400px); max-height: 80vh; background: transparent; }
.lb--photo .lb__img { width: auto; height: auto; max-width: 100%; max-height: 80vh; background: transparent; }
@media (max-width: 699px) { .lb--photo .lb__stage { max-width: 100%; } }

.lb--square .lb__stage { aspect-ratio: 1 / 1; height: min(76vh, 760px); }
@media (max-width: 699px) { .lb--square .lb__stage { height: auto; width: 100%; } }

/* ===== Аудио-карточки (нейромузыка, дикторы) ===== */
.acard { position: relative; flex: none; width: clamp(250px, 72vw, 300px); scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: 22px; cursor: pointer; text-align: left; color: var(--ink);
  border: 1px solid rgba(255, 255, 255, .12); background: var(--card-bg); box-shadow: var(--card-edge), var(--card-drop); transition: transform .3s ease, border-color .3s ease; overflow: hidden; isolation: isolate; font: inherit; }
.acard::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.acard--music::before { background: radial-gradient(260px 160px at 100% 0%, rgba(255, 79, 172, .28), transparent 70%), radial-gradient(220px 140px at 0% 100%, rgba(120, 80, 255, .18), transparent 70%); }
.acard--voice::before { background: radial-gradient(260px 160px at 100% 0%, rgba(255, 200, 61, .16), transparent 70%), radial-gradient(220px 140px at 0% 100%, rgba(150, 70, 255, .16), transparent 70%); }
.acard:hover { transform: translateY(-3px); border-color: rgba(255, 200, 61, .5); }
.acard:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.acard__top { display: flex; gap: 14px; align-items: center; min-width: 0; }
.acard__play { position: relative; flex: none; width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 10px 24px -8px rgba(255, 190, 40, .6); }
.acard__play::before { content: ""; position: absolute; left: 50%; top: 50%; margin: -8px 0 0 -4px; border-left: 14px solid var(--gold-ink); border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.acard.is-playing .acard__play::before { margin: -8px 0 0 -6px; width: 12px; height: 16px; border: 0; background: linear-gradient(90deg, var(--gold-ink) 0 4px, transparent 4px 8px, var(--gold-ink) 8px 12px); }
.acard__meta { display: flex; flex-direction: column; min-width: 0; }
.acard__meta b { font-size: 16px; font-weight: 800; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acard__meta small { font-size: 13px; color: var(--dim); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acard__wave { display: flex; align-items: center; gap: 3px; height: 44px; }
.acard__wave i { flex: 1; height: var(--h); min-height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .22); transition: background .2s ease; }
.acard__wave i.on { background: linear-gradient(180deg, #ff8acb, var(--pink)); }
.acard--voice .acard__wave i.on { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); }
.acard__time { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; color: var(--dim); font-variant-numeric: tabular-nums; }
.acard.is-playing { border-color: rgba(255, 200, 61, .6); }

/* ===== Сравнение «до / после» с полоской (апскейл) ===== */
.cmp { position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 24px; overflow: hidden; background: #000; isolation: isolate; user-select: none; -webkit-user-select: none; touch-action: pan-y;
  border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(255, 255, 255, .08); }
.cmp__v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 40%; transition: transform .5s ease; }
.cmp__v--after { clip-path: inset(0 0 0 var(--p)); }
.cmp.is-zoom .cmp__v { transform: scale(2); }
.cmp__line { position: absolute; top: 0; bottom: 0; left: var(--p); width: 2px; margin-left: -1px; background: rgba(255, 255, 255, .9); box-shadow: 0 0 12px rgba(0, 0, 0, .5); pointer-events: none; z-index: 2; }
.cmp__knob { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 10px 26px -6px rgba(0, 0, 0, .7); }
.cmp__knob::before, .cmp__knob::after { content: ""; position: absolute; top: 50%; margin-top: -6px; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.cmp__knob::before { left: 10px; border-right: 8px solid var(--gold-ink); }
.cmp__knob::after { right: 10px; border-left: 8px solid var(--gold-ink); }
.cmp { cursor: ew-resize; }
.cmp__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; z-index: 3; pointer-events: none; -webkit-appearance: none; appearance: none; }
.cmp__range:focus-visible ~ .cmp__line .cmp__knob, .cmp:focus-within .cmp__knob { outline: 3px solid #fff; outline-offset: 3px; }
.cmp__tag { position: absolute; top: 14px; z-index: 2; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; pointer-events: none;
  background: rgba(10, 7, 18, .62); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.cmp__tag--l { left: 14px; }
.cmp__tag--r { right: 14px; color: var(--gold); border-color: rgba(255, 200, 61, .45); }
.cmp__zoom { position: absolute; right: 14px; bottom: 14px; z-index: 4; padding: 8px 14px; border-radius: 999px; cursor: pointer; font: inherit; font-size: 13px; font-weight: 800; color: #fff;
  background: rgba(10, 7, 18, .62); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.cmp__zoom:hover, .cmp__zoom[aria-pressed="true"] { border-color: var(--gold); color: var(--gold); }
.cmp__note { margin-top: 12px; font-size: 14px; color: var(--dim); }
@media (max-width: 639px) { .cmp { border-radius: 18px; } .cmp__tag { font-size: 10px; padding: 4px 9px; top: 10px; } .cmp__tag--l { left: 10px; } .cmp__tag--r { right: 10px; } .cmp__knob { width: 38px; height: 38px; margin: -19px 0 0 -19px; } }

/* блок «Работы учеников» внутри секции финального проекта */
#brief .wrow { margin-top: 8px; }
#brief .wrow__head { grid-template-columns: 1fr auto; }

/* ===================================================================
   Первый экран v2: шоурил работ на весь экран (по референсу XR School)
   =================================================================== */
.hero--reel { min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); display: flex; align-items: flex-end; padding: 0 0 clamp(28px, 6vh, 64px); }
.hero--reel .hero__bg { opacity: 1; background: #06040d; }
.hero--reel .hero__bg video, .hero--reel .hero__bg img { filter: saturate(.92) contrast(1.04); }
.hero--reel::before { background:
  linear-gradient(180deg, rgba(6, 4, 13, .55) 0%, rgba(6, 4, 13, .05) 22%, rgba(6, 4, 13, .15) 50%, rgba(6, 4, 13, .82) 80%, var(--navy-950) 100%),
  linear-gradient(90deg, rgba(6, 4, 13, .7) 0%, rgba(6, 4, 13, .15) 55%, rgba(6, 4, 13, .45) 100%); }
.hero__grid { display: grid; gap: 22px; align-items: end; width: min(1320px, 100% - var(--gutter) * 2); }
.hero__eyebrow { margin-bottom: 12px; color: #fff; }
.hero--reel h1 { margin-top: 0; font-size: clamp(38px, 6vw, 90px); line-height: .98; letter-spacing: -.035em; max-width: 13.5ch; text-shadow: 0 6px 40px rgba(0, 0, 0, .45); }
.hero__side { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 520px; }
.hero__lead { font-size: clamp(15px, 1.35vw, 17px); line-height: 1.55; color: #e6e0ee; }
.hero__points { width: 100%; display: grid; border-top: 1px solid rgba(255, 255, 255, .18); }
.hero__points li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); font-size: clamp(15px, 1.3vw, 17px); font-weight: 600; color: #fff; line-height: 1.35; }
.hero__points li span { font-size: 12px; font-weight: 800; letter-spacing: .08em; color: var(--pink); font-variant-numeric: tabular-nums; }
.hero__btn { margin-top: 6px; min-width: 260px; }
.hero__free { font-size: 15px; font-weight: 600; color: var(--muted); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 4px; }
.hero__free:hover { color: #fff; text-decoration-color: var(--gold); }
@media (max-width: 899px) {
  .hero__btn { width: 100%; min-width: 0; }
  .hero__side { max-width: none; gap: 14px; }
  .hero__points li { padding: 8px 0; }
}
@media (min-width: 900px) {
  .hero--reel { padding-bottom: clamp(40px, 7vh, 80px); }
  .hero__grid { grid-template-columns: minmax(0, 1.45fr) minmax(320px, 1fr); gap: clamp(32px, 5vw, 80px); }
  .hero__side { padding-bottom: 6px; }
}
.hero--reel h1 em { white-space: nowrap; }

/* --- Блок 2 v3: три карточки с кинокадрами Николая --- */
.persona-grid { margin-top: 8px; }
.persona { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, .12); background: var(--card-bg); box-shadow: var(--card-edge), var(--card-drop); transition: border-color .25s ease, transform .25s ease; }
.persona__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #06040d; }
.persona__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; transition: transform .6s ease; }
.persona__img::after { content: ""; position: absolute; inset: auto 0 0; height: 38%; background: linear-gradient(180deg, rgba(14, 9, 26, 0), rgba(14, 9, 26, .85)); pointer-events: none; }
.persona__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 26px; }
.persona h3 { font-size: 20px; font-weight: 800; line-height: 1.25; color: var(--ink); text-wrap: balance; }
.persona p { color: var(--muted); font-size: 17px; line-height: 1.5; }
@media (hover: hover) {
  .persona:hover { border-color: rgba(255, 200, 61, .45); transform: translateY(-4px); }
  .persona:hover .persona__img img { transform: scale(1.04); }
}
@media (min-width: 640px) and (max-width: 899px) {
  .persona { flex-direction: row; }
  .persona__img { flex: 0 0 38%; aspect-ratio: auto; min-height: 240px; }
  .persona__img::after { display: none; }
  .persona__body { justify-content: center; }
}
@media (min-width: 900px) {
  .persona__img { aspect-ratio: 4 / 5; }
}

/* --- Блок 3 v2: шесть направлений, подряды внутри направления --- */
.wrow--sub { margin-top: -20px; }
.wrow--sub .wrow__head { grid-template-columns: minmax(0, 1fr); margin-bottom: 14px; }
.wrow--sub .wrow__txt h3 { display: flex; align-items: center; gap: 10px; font-size: clamp(16px, 1.9vw, 19px); color: var(--muted); }
.wrow--sub .wrow__txt h3::before { content: ""; flex: none; width: 18px; height: 2px; border-radius: 2px; background: var(--pink); }
.wrow--sub .wrow__txt p { font-size: 14px; }
@media (min-width: 900px) {
  .wrow--sub .wrow__head { grid-template-columns: minmax(0, 1fr) auto; }
}

/* --- Блок 3: подпись над работами учеников; блок 4: акцент в заголовке --- */
.wrow__label { display: inline-flex; margin-bottom: 12px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--pink-soft); background: rgba(255, 79, 172, .1); border: 1px solid rgba(255, 79, 172, .3); }
#lesson h2 em { font-style: normal; color: var(--pink); }

/* --- «Кому курс не подойдёт» отдельной компактной секцией --- */
#audience .not-for { margin-top: 0; }

/* --- «Кому курс не подойдёт»: заголовок слева, пункты с крестиками справа --- */
.nofor { display: grid; gap: 28px; }
.nofor__list { display: grid; }
.nofor__list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.nofor__list li:last-child { border-bottom: 1px solid var(--line); }
.nofor__x { position: relative; width: 44px; height: 44px; border-radius: 14px; background: rgba(255, 79, 172, .1); border: 1px solid rgba(255, 79, 172, .35); }
.nofor__x::before, .nofor__x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; margin: -1px 0 0 -8px; border-radius: 2px; background: var(--pink); transform: rotate(45deg); }
.nofor__x::after { transform: rotate(-45deg); }
.nofor__list h3 { font-size: clamp(18px, 2vw, 21px); font-weight: 800; line-height: 1.25; }
.nofor__list p { margin-top: 6px; color: var(--muted); font-size: 16px; line-height: 1.5; max-width: 62ch; }
/* каракули-подпись под заголовком по наброску Николая. Кегль = кеглю h2, поэтому em = ширина заголовка:
   11.2em при wdth 125, 10em при узком мобильном wdth 105. Компьютер — по центру свободного места,
   телефон и планшет — как подпись под заявлением, правым краем к концу «НЕ ПОДОЙДЁТ» */
.nofor__sign { margin: 6px 0 0; font-size: clamp(22px, 2.5vw, 36px); width: 11.2em; max-width: 100%; }
.nofor__sign img { display: block; width: 70%; height: auto; margin-left: auto; }
@media (max-width: 640px) { .nofor__sign { font-size: clamp(20px, 5.6vw, 24px); width: 10em; } }
/* телефон и планшет (12.10): подпись справа, на уровне заголовка, у правого края; ширина = свободное место правее «НЕ ПОДОЙДЁТ» */
@media (max-width: 899px) {
  .nofor__head { position: relative; }
  .nofor__sign { position: absolute; right: 0; bottom: 0; margin: 0; width: min(190px, calc(100% - 11.8em)); }
  .nofor__sign img { width: 100%; margin: 0; }
}
@media (min-width: 641px) and (max-width: 899px) { .nofor__sign { right: auto; left: 12em; width: 150px; } }
@media (max-width: 640px) { .nofor__sign { width: min(150px, calc(100% - 10.6em)); } }
@media (min-width: 900px) {
  .nofor { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: stretch; }
  .nofor__head { display: flex; flex-direction: column; }
  .nofor__sign { margin-block: auto; }
  .nofor__sign img { width: 60%; margin-inline: auto; }
}

/* --- Бегущая лента «Нейробаза 3.0» над программой: цвет золотых плашек, шрифт заголовков --- */
.tape { overflow: hidden; padding-block: 26px; margin: -36px 0 24px; }
.tape__band { width: 104%; margin-left: -2%; transform: rotate(-1.6deg); overflow: hidden;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo)); color: var(--gold-ink);
  box-shadow: 0 8px 24px -12px rgba(255, 200, 61, .5), inset 0 1px 0 rgba(255, 255, 255, .5); }
.tape__track { display: flex; width: max-content; animation: tape 40s linear infinite; }
.tape__track span { display: flex; align-items: center; gap: 16px; padding: 5px 8px; white-space: nowrap;
  font-family: var(--disp); font-weight: 800; font-variation-settings: "wdth" 200; text-transform: uppercase; font-size: 10px; letter-spacing: .06em; }
.tape__track span::after { content: ""; width: 4px; height: 4px; background: currentColor; transform: rotate(45deg); }
@keyframes tape { to { transform: translateX(-50%); } }
@media (max-width: 640px) { .tape { margin-top: -28px; } .tape__track span { font-size: 9px; padding: 4px 7px; gap: 14px; } }
@media (prefers-reduced-motion: reduce) { .tape__track { animation: none; } }

/* --- Шоурил первого экрана: только лёгкое затемнение, без цветной тонировки --- */
.hero--reel .hero__bg video, .hero--reel .hero__bg img { filter: saturate(.92) contrast(1.04) brightness(.9); }
.hero--reel .hero__bg::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: rgba(6, 4, 13, .22); }

/* --- Шрифты (выбор Николая 09.10): Science Gothic на «титрах», IBM Plex Sans в тексте, JetBrains Mono на подписях и кнопках.
   Префикс :root держит вес селекторов как у класса — правила перебивают прежние стили заголовков. --- */
:root .hero--reel h1 { font-family: var(--disp); font-weight: 800; font-variation-settings: "wdth" 200; text-transform: uppercase; font-size: clamp(22px, 3vw, 46px); line-height: 1.04; letter-spacing: -.005em; max-width: 15.5em; }
/* 15.5em: «ЗА КОТОРЫЙ» (14.7em) встаёт в строку, «НАУЧИСЬ СОЗДАВАТЬ» — нет; на телефоне кегль от ширины экрана */
@media (max-width: 640px) { :root .hero--reel h1 { font-size: min(24px, calc((100vw - 48px) / 15)); } }
:root .hero--reel h1 em { white-space: nowrap; }
:root .hero--reel h1 em, :root .wrow__n, :root .tariff--rec h3 { background: none; -webkit-text-fill-color: currentColor; color: var(--pink); }
:root .h2--caps { font-family: var(--disp); font-weight: 800; font-variation-settings: "wdth" 200; letter-spacing: 0; }
:root .wrow__n { font-family: var(--disp); font-weight: 800; font-variation-settings: "wdth" 200; letter-spacing: 0; }
:root .wrow__txt h3 { font-family: var(--disp); font-weight: 700; font-variation-settings: "wdth" 160; text-transform: uppercase; letter-spacing: .005em; font-size: clamp(17px, 2.1vw, 23px); }
:root .wrow--sub .wrow__txt h3 { font-size: clamp(14px, 1.6vw, 17px); }
:root .tariff h3 { font-family: var(--disp); font-weight: 800; font-variation-settings: "wdth" 115; text-transform: uppercase; font-size: clamp(13px, 1.35vw, 19px); white-space: nowrap; }
:root .price { font-family: var(--disp); font-weight: 800; font-variation-settings: "wdth" 200; white-space: nowrap; font-size: clamp(30px, 3.2vw, 40px); letter-spacing: 0; }
:root .price small { font-size: .6em; }
:root .btn { font-family: var(--mono); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 14px; }
:root .eyebrow, :root .tariff__badge, :root .wrow__label, :root .hero__points li span { font-family: var(--mono); }
:root .tariff { min-width: 0; }
@media (max-width: 640px) {
  :root .tariff h3 { font-size: 16px; font-variation-settings: "wdth" 125; }
  :root .h2--caps { font-variation-settings: "wdth" 135; }
  :root .wrow__txt h3 { font-variation-settings: "wdth" 120; }
  :root .price { font-variation-settings: "wdth" 160; }
  :root .btn { letter-spacing: .03em; font-size: 13px; }
}
/* все заголовки разделов — той же гарнитурой; длинные — нормальной ширины, чтобы помещались */
:root .h2 { font-family: var(--disp); font-weight: 800; font-variation-settings: "wdth" 125; text-transform: uppercase; font-size: clamp(22px, 2.5vw, 36px); line-height: 1.06; letter-spacing: 0; }
:root .h2 em { background: none; -webkit-text-fill-color: currentColor; color: var(--pink); font-style: normal; }
:root .h2.h2--caps { font-variation-settings: "wdth" 200; font-size: clamp(26px, 3.4vw, 46px); }
@media (max-width: 640px) {
  :root .h2 { font-variation-settings: "wdth" 105; font-size: clamp(20px, 5.6vw, 24px); }
  :root .h2.h2--caps { font-variation-settings: "wdth" 135; font-size: clamp(24px, 6.6vw, 30px); }
}

:root .faq details, :root .faq summary { min-width: 0; overflow-wrap: anywhere; }

/* --- телефон: доводка 12.10 — без переносов на дефисе, кнопки финала во всю ширину, номера направлений над заголовком --- */
.nw { white-space: nowrap; }
@media (max-width: 640px) {
  .hero__free { display: inline-block; padding-block: 10px; }
  .final .cta-row { flex-direction: column; align-items: stretch; max-width: 340px; margin-inline: auto; }
  .final .cta-row .btn { justify-content: center; }
  .wrow__head { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  :root .wrow__n { font-size: 30px; }
}

/* Переносы: без одиноких слов в последней строке абзацев (Chrome 117+, Safari 17.5+) */
p, li, dd, .lead, figcaption, .wrow__txt p { text-wrap: pretty; }

/* Кнопка «наверх» */
.to-top { position: fixed; z-index: 56; right: 20px; bottom: calc(24px + env(safe-area-inset-bottom)); width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; padding: 0; color: #fff; cursor: pointer; background: rgba(14, 10, 26, .72); border: 1px solid rgba(255, 79, 172, .55);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .8);
  opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none; transition: opacity .3s ease, transform .3s ease, background .2s ease, border-color .2s ease; }
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top .arrow { width: 20px; height: 20px; transform: rotate(-90deg); }
.to-top:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }
@media (hover: hover) { .to-top:hover { background: var(--pink); border-color: var(--pink); } }
@media (max-width: 899px) { .to-top { right: 16px; bottom: calc(92px + env(safe-area-inset-bottom)); width: 46px; height: 46px; } }
@media (prefers-reduced-motion: reduce) { .to-top { transition: none; } }

/* Видео в шапке проявляется только когда реально играет — до этого видна картинка-подложка (без чёрного прямоугольника) */
.hero__bg video[data-hero] { opacity: 0; transition: opacity .6s ease; }
.hero__bg video[data-hero].is-playing { opacity: 1; }

/* Просмотры на карточках роликов (из Instagram): цифра шрифтом заголовков + розовая подпись, матовое стекло */
.wcard__views { position: absolute; top: 8px; left: 8px; z-index: 1; display: flex; flex-direction: column; gap: 3px; padding: 5px 8px 5px 10px; border-radius: 9px;
  background: linear-gradient(135deg, rgba(14, 10, 26, .8), rgba(14, 10, 26, .5)); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .14); box-shadow: inset 2px 0 0 var(--pink), 0 10px 22px -14px rgba(0, 0, 0, .85); pointer-events: none; }
.wcard__views b { font-family: var(--disp); font-weight: 800; font-variation-settings: "wdth" 125; font-size: 12px; line-height: 1; letter-spacing: .01em;
  text-transform: uppercase; color: #fff; white-space: nowrap; }
.wcard__views small { font-family: var(--mono); font-weight: 800; font-size: 7px; line-height: 1; letter-spacing: .16em; text-transform: uppercase; color: var(--pink-soft); }
@media (max-width: 480px) { .wcard__views { top: 7px; left: 7px; padding: 4px 7px 4px 9px; } .wcard__views b { font-size: 11px; } .wcard__views small { font-size: 6.5px; } }
