/* Новый дизайн (черновик по адресу /new/). Тёплый чёрный, шампань и немного оранжевого. */
@font-face {
  font-family: "Onest";
  src: url("../fonts/onest-cyrillic.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  src: url("../fonts/onest-latin.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --bg: #0A0908;
  --bg-2: #0F0D0B;
  --surface: #15120F;
  --surface-2: #1C1814;
  --line: rgba(232, 205, 170, 0.10);
  --line-2: rgba(232, 205, 170, 0.22);
  --ink: #F4EEE6;
  --ink-2: #D8CFC3;
  --muted: #9D958B;
  --gold: #E4C197;
  --gold-2: #C99B6B;
  --gold-rgb: 228, 193, 151;
  --orange: #DE7B40;
  --orange-rgb: 222, 123, 64;
  --grad: linear-gradient(115deg, #F3D7AE 0%, #E6B07C 50%, #DE7B40 100%);
  --grad-soft: linear-gradient(160deg, rgba(var(--gold-rgb), .14), rgba(var(--gold-rgb), .02));
  --r: 22px;
  --r-sm: 14px;
  --wrap: 1180px;
  --gutter: clamp(16px, 5vw, 56px);
  --nav-h: 68px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote, fieldset { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #1a120a; padding: 8px 14px; border-radius: 99px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* Типографика: строгая лестница — метка → заголовок → вводный текст → обычный текст */
h1, h2, h3 { font-weight: 300; letter-spacing: -0.025em; line-height: 1.1; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-size: .75rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7; }
.gold { font-style: normal; font-weight: 400; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.head { max-width: 46rem; margin-bottom: clamp(36px, 5vw, 60px); }
.head--center { margin-inline: auto; text-align: center; }
.head--center .eyebrow::after { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7; }
.head__lead { margin-top: 18px; color: var(--ink-2); font-size: clamp(1.02rem, 1.4vw, 1.15rem); line-height: 1.6; }
.head--center .head__lead { margin-inline: auto; max-width: 40rem; }

.section { position: relative; padding-block: clamp(80px, 10vw, 140px); }
.ico { width: 24px; height: 24px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 30px;
  border: 0; border-radius: 99px; background: var(--grad); color: #1E1209; font-weight: 600; font-size: 1rem; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; box-shadow: 0 10px 30px -10px rgba(var(--orange-rgb), .55), inset 0 1px 0 rgba(255,255,255,.35);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 16px 36px -12px rgba(var(--orange-rgb), .7), inset 0 1px 0 rgba(255,255,255,.35); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: .9375rem; }
.btn--ghost { background: transparent; color: var(--gold); border: 1px solid rgba(var(--gold-rgb), .45); box-shadow: none; }
.btn--ghost:hover { background: rgba(var(--gold-rgb), .08); box-shadow: none; border-color: var(--gold); }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); text-decoration: none; font-weight: 500; }
.link-arrow span { transition: transform .25s var(--ease); color: var(--gold); }
.link-arrow:hover { color: var(--ink); }
.link-arrow:hover span { transform: translateX(4px); }

/* Навигация */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(10, 9, 8, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-color: var(--line); }
.nav__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(var(--gold-rgb), .5);
  color: var(--gold); font-size: .78rem; font-weight: 500; letter-spacing: .08em;
}
.brand__text { display: grid; line-height: 1.15; }
.brand__text strong { font-weight: 500; font-size: 1rem; }
.brand__text small { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.nav__links { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); font-size: .9375rem; }
.nav__links a:not(.btn) { text-decoration: none; color: var(--ink-2); transition: color .2s; }
.nav__links a:not(.btn):hover { color: var(--gold); }
.nav__toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; background: transparent; cursor: pointer; position: relative; }
.nav__toggle span:not(.sr) { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.nav__toggle span:nth-child(1) { top: 17px; }
.nav__toggle span:nth-child(2) { top: 25px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* Первый экран */
.hero { position: relative; overflow: hidden; isolation: isolate; padding-top: calc(var(--nav-h) + clamp(24px, 4vw, 56px)); padding-bottom: clamp(48px, 6vw, 80px); }
.hero__dust { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero__glow {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(42% 60% at 74% 38%, rgba(var(--orange-rgb), .20), transparent 70%),
    radial-gradient(30% 40% at 10% 10%, rgba(var(--gold-rgb), .07), transparent 70%);
}
.hero__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title { font-size: clamp(2.6rem, 6.4vw, 5.4rem); line-height: 1.02; letter-spacing: -0.035em; }
.hero__lead { margin-top: clamp(20px, 2.4vw, 28px); max-width: 34rem; color: var(--ink-2); font-size: clamp(1.05rem, 1.45vw, 1.2rem); line-height: 1.6; }
.hero__actions { margin-top: clamp(28px, 3vw, 40px); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.hero__note { margin-top: 14px; font-size: .875rem; color: var(--muted); }

.hero__photo { position: relative; justify-self: center; width: min(100%, 440px); }
.hero__arch {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 999px 999px 28px 28px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(var(--gold-rgb), .25);
}
.hero__arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; filter: saturate(.9) contrast(1.04); }
.hero__arch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,9,8,.0) 55%, rgba(10,9,8,.55) 100%), linear-gradient(0deg, rgba(var(--orange-rgb), .08), rgba(var(--orange-rgb), .08)); }
.hero__ring {
  position: absolute; z-index: -1; left: 50%; top: 46%; width: 128%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; border: 1px solid rgba(var(--gold-rgb), .22);
  box-shadow: inset 0 0 0 26px rgba(var(--gold-rgb), .025);
}
.hero__ring::after { content: ""; position: absolute; inset: 12%; border-radius: 50%; border: 1px dashed rgba(var(--gold-rgb), .14); animation: spin 90s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__badge {
  position: absolute; left: -8%; bottom: 9%; display: grid; gap: 2px; padding: 14px 20px; border-radius: 16px;
  background: rgba(21, 18, 15, .72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--line-2);
  font-size: .8125rem; color: var(--muted); line-height: 1.35; max-width: 240px;
}
.hero__badge strong { color: var(--ink); font-weight: 500; font-size: .9375rem; }

/* Факты: строка с иконками под первым экраном */
.facts {
  margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--line); border-radius: var(--r); background: rgba(21, 18, 15, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.facts li { display: flex; gap: 14px; align-items: flex-start; padding: clamp(18px, 2.2vw, 26px); }
.facts li + li { border-left: 1px solid var(--line); }
.facts .ico { margin-top: 3px; width: 26px; height: 26px; }
.facts strong { display: block; font-size: clamp(1.1rem, 1.6vw, 1.35rem); font-weight: 400; letter-spacing: -0.01em; color: var(--ink); line-height: 1.25; }
.facts span { display: block; margin-top: 4px; font-size: .875rem; line-height: 1.45; color: var(--muted); }

/* Узнаёте себя: пары «было → стало» */
.help { background: var(--bg-2); border-top: 1px solid var(--line); }
.pairs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pair {
  display: grid; grid-template-rows: auto auto; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--surface);
  transition: border-color .3s, transform .3s var(--ease);
}
.pair:hover { border-color: var(--line-2); transform: translateY(-2px); }
.pair__was, .pair__now { position: relative; padding: 22px 26px 22px 62px; }
.pair__was { color: var(--muted); }
.pair__now { color: var(--ink); background: var(--grad-soft); border-top: 1px solid var(--line); }
.pair__was::before, .pair__now::before {
  content: ""; position: absolute; left: 24px; top: 24px; width: 22px; height: 22px; border-radius: 50%;
  background-repeat: no-repeat; background-position: center; background-size: 12px;
}
.pair__was::before { border: 1px solid rgba(255,255,255,.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 3l6 6M9 3L3 9' stroke='%239D958B' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E"); }
.pair__now::before { background-color: rgba(var(--gold-rgb), .16); border: 1px solid rgba(var(--gold-rgb), .5); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' stroke='%23E4C197' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.help__cta {
  margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
  padding: 22px 26px; border-radius: var(--r); border: 1px dashed var(--line-2); color: var(--ink-2);
}

/* Проблема не в вас: схема глубины */
.why { overflow: hidden; }
.depth { position: relative; max-width: 980px; margin-inline: auto; display: grid; gap: 14px; }
.depth__axis { position: absolute; left: 78px; top: 30px; bottom: 60px; width: 1px; background: linear-gradient(180deg, var(--line-2), rgba(var(--orange-rgb), .6)); }
.depth__pulse { position: absolute; left: -3px; top: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 14px 4px rgba(var(--orange-rgb), .6); animation: dive 3.6s var(--ease) infinite; }
@keyframes dive { 0% { top: 0; opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

.layer {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 270px); gap: 28px; align-items: center;
  padding: 24px 26px 24px 64px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface);
}
.layer--mid { background: linear-gradient(180deg, #17130F, #141009); margin-inline: 14px; }
.layer--root { background: linear-gradient(160deg, rgba(var(--orange-rgb), .13), rgba(var(--orange-rgb), .03)), #120E0A; border-color: rgba(var(--orange-rgb), .35); margin-inline: 28px; }
.layer__tag { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.layer__num {
  position: absolute; left: 18px; top: 20px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--line-2); color: var(--gold); font-size: .8125rem; letter-spacing: 0;
}
.layer--root .layer__num { border-color: var(--orange); color: #1E1209; background: var(--orange); box-shadow: 0 0 0 6px rgba(var(--orange-rgb), .15); }
.layer__body h3 { margin-bottom: 12px; }
.layer__note { font-size: .9375rem; line-height: 1.5; color: var(--muted); padding-left: 18px; border-left: 1px solid var(--line-2); }
.layer__note b { color: var(--ink-2); font-weight: 500; }
.layer__note--me { border-color: var(--orange); }
.layer__note--me b { color: var(--gold); }
.tokens { display: flex; flex-wrap: wrap; gap: 8px; }
.tokens li { padding: 6px 14px; border-radius: 99px; border: 1px solid var(--line-2); font-size: .875rem; color: var(--ink-2); background: rgba(255,255,255,.02); }
.layer--top .tokens li { color: var(--muted); }
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; align-items: start; }
.found { position: relative; max-width: 520px; }
.found__slab { display: block; height: 8px; margin: 4px 0 0; border-radius: 3px; background: linear-gradient(90deg, #8a6f53, #E8C59A 50%, #8a6f53); opacity: .85; transform-origin: 0 50%; }
.depth.in .found__slab { animation: tilt-back 1.4s 1.2s var(--ease) both; }
@keyframes tilt-back { from { transform: rotate(-2.2deg); } to { transform: none; } }
.pillar { display: grid; justify-items: center; gap: 8px; text-align: center; font-size: .8125rem; line-height: 1.3; color: var(--ink-2); hyphens: auto; overflow-wrap: break-word; }
.pillar__col {
  position: relative; width: 26px; height: 54px; border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, #F0D2A8, #C99B6B); box-shadow: 0 0 18px -4px rgba(var(--gold-rgb), .6);
}
.pillar__col::before { content: ""; position: absolute; left: -5px; right: -5px; bottom: -4px; height: 4px; border-radius: 2px; background: #9c7b59; }
.pillar--broken .pillar__col { background: linear-gradient(180deg, #6b5a49, #3b3128); box-shadow: none; }
.pillar--broken .pillar__col::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 44%, var(--bg) 45%, var(--bg) 52%, transparent 53%);
}
.pillar--broken { color: var(--orange); }
/* Когда схема в поле зрения, треснувшая опора восстанавливается */
.depth.in .pillar--broken .pillar__col { animation: heal 1.4s 1.2s var(--ease) forwards; }
.depth.in .pillar--broken .pillar__col::after { animation: fade 1s 1.2s forwards; }
.depth.in .pillar--broken { animation: heal-text 1s 1.6s forwards; }
@keyframes heal { to { background: linear-gradient(180deg, #F0D2A8, #C99B6B); box-shadow: 0 0 22px -2px rgba(var(--gold-rgb), .8); } }
@keyframes fade { to { opacity: 0; } }
@keyframes heal-text { to { color: var(--ink-2); } }

.depth__result {
  position: relative; z-index: 1; display: flex; gap: 16px; align-items: center; margin: 14px 42px 0; padding: 20px 24px 20px 64px; border-radius: var(--r);
  border: 1px solid rgba(var(--gold-rgb), .4); background: var(--grad-soft), var(--surface); color: var(--ink-2);
}
.depth__result .ico { position: absolute; left: 18px; top: 50%; margin-top: -17px; width: 34px; height: 34px; padding: 6px; border-radius: 50%; border: 1px solid rgba(var(--gold-rgb), .5); background: var(--surface); }
.depth__result strong { color: var(--ink); font-weight: 500; }

/* Появление слоёв по очереди */
.js .depth .layer, .js .depth .depth__result { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .depth.in .layer, .js .depth.in .depth__result { opacity: 1; transform: none; }
.js .depth.in .layer--mid { transition-delay: .25s; }
.js .depth.in .layer--root { transition-delay: .5s; }
.js .depth.in .depth__result { transition-delay: 1.9s; }

.facts3 { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fact3 { padding: 26px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: .9375rem; line-height: 1.55; display: grid; gap: 10px; align-content: start; }
.fact3__big { font-size: 3rem; font-weight: 300; letter-spacing: -0.04em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fact3__big small { font-size: 1rem; letter-spacing: 0; margin-right: 6px; }
.fact3__title { color: var(--ink); font-size: 1.125rem; font-weight: 500; }

/* Главная мысль */
.soul { text-align: center; overflow: hidden; isolation: isolate; border-block: 1px solid var(--line); background: var(--bg-2); }
.soul__glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 55% at 50% 50%, rgba(var(--orange-rgb), .13), transparent 70%); }
.soul__in { max-width: 54rem; }
.soul .eyebrow::after { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7; }
.soul__title { font-size: clamp(2rem, 4.6vw, 3.6rem); display: grid; gap: 4px; }
.soul__title span:not(:first-child) { color: var(--ink-2); }
.soul__big { margin: clamp(26px, 3vw, 36px) auto 0; max-width: 40rem; color: var(--ink-2); font-size: clamp(1.05rem, 1.5vw, 1.2rem); }
.soul__more { margin-top: 28px; text-align: left; }
.soul__more > summary { margin-inline: auto; display: flex; width: fit-content; }
.soul__work { margin: 28px auto 0; max-width: 40rem; color: var(--muted); }

/* Тест по шагам */
.quiz__in { max-width: 860px; }
.quiz__card { position: relative; padding: clamp(22px, 4vw, 44px); border-radius: 28px; border: 1px solid var(--line-2); background: linear-gradient(170deg, #1A1612, #110E0B); box-shadow: 0 40px 90px -40px rgba(0,0,0,.9); }
.quiz__top { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.quiz__count { font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.quiz__count span { color: var(--gold); }
.quiz__bar { flex: 1; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.quiz__bar span { display: block; height: 100%; width: 25%; background: var(--grad); border-radius: 3px; transition: width .5s var(--ease); }
.quiz__step { display: none; }
.quiz__step.is-active { display: block; animation: step-in .5s var(--ease); }
@keyframes step-in { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.quiz__step legend { padding: 0; margin-bottom: 18px; font-size: clamp(1.4rem, 2.4vw, 1.75rem); font-weight: 300; letter-spacing: -0.02em; }
.check__chips { display: grid; gap: 10px; }
.check__chips button {
  position: relative; display: block; width: 100%; padding: 16px 20px 16px 58px; text-align: left; line-height: 1.4;
  border-radius: var(--r-sm); border: 1px solid var(--line); background: rgba(255,255,255,.02); color: var(--ink-2); cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}
.check__chips button::before {
  content: ""; position: absolute; left: 20px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 7px; border: 1px solid var(--line-2);
  background-repeat: no-repeat; background-position: center; background-size: 13px; transition: background-color .2s, border-color .2s;
}
.check__chips button:hover { border-color: var(--line-2); color: var(--ink); }
.check__chips button[aria-pressed="true"] { border-color: rgba(var(--gold-rgb), .6); background: rgba(var(--gold-rgb), .08); color: var(--ink); }
.check__chips button[aria-pressed="true"]::before {
  border-color: transparent; background-color: var(--gold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' stroke='%231E1209' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.quiz__nav { margin-top: 26px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.quiz__back { padding: 12px 6px; border: 0; background: none; color: var(--muted); cursor: pointer; }
.quiz__back:hover { color: var(--ink); }
.quiz__next { margin-left: auto; min-width: 160px; }
.quiz__result { text-align: center; padding-block: 10px; }
.quiz__result-label { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.quiz__result-text { margin: 16px auto 26px; max-width: 34rem; font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.5; color: var(--ink-2); }
.quiz__result-text strong { color: var(--ink); font-weight: 500; }

/* Как проходит работа */
.steps { background: var(--bg-2); border-top: 1px solid var(--line); }
.stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.stage { position: relative; padding: clamp(24px, 3vw, 34px); border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); display: grid; gap: 12px; align-content: start; }
.stage > p:not(.stage__meta) { color: var(--muted); font-size: .9875rem; }
.stage__num { font-size: 2.6rem; font-weight: 300; letter-spacing: -0.04em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stage h3 { font-size: 1.4rem; font-weight: 400; }
.stage__meta { font-size: .8125rem; letter-spacing: .06em; color: var(--gold); }
.stage__list { display: grid; gap: 6px; color: var(--ink-2); font-size: .9375rem; }
.stage__list li { position: relative; padding-left: 20px; }
.stage__list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.stage--accent { border-color: rgba(var(--gold-rgb), .4); background: linear-gradient(160deg, rgba(var(--gold-rgb), .10), rgba(var(--gold-rgb), .01)), var(--surface); }
.steps__calm { margin-top: 22px; display: flex; align-items: center; gap: 12px; color: var(--ink-2); }
.session__steps { display: grid; gap: 0; counter-reset: ss; border-left: 1px solid var(--line-2); margin-left: 14px; }
.session__steps li { position: relative; padding: 0 0 22px 30px; counter-increment: ss; }
.session__steps li::before { content: counter(ss); position: absolute; left: -15px; top: -2px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--bg-2); border: 1px solid var(--line-2); color: var(--gold); font-size: .8125rem; }
.session__steps h4 { font-weight: 500; margin-bottom: 4px; }
.session__steps p { color: var(--muted); font-size: .9375rem; max-width: 44rem; }
.session__result { margin-top: 10px; padding: 20px 24px; border-radius: var(--r); background: var(--grad-soft); border: 1px solid var(--line-2); color: var(--ink-2); font-size: .9375rem; }

/* Отзывы */
.reviews__text { margin: -36px 0 28px; color: var(--muted); max-width: 40rem; }
.reviews__lane { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: thin; scrollbar-color: rgba(var(--gold-rgb), .35) transparent; }
.review { flex: 0 0 min(86%, 380px); scroll-snap-align: start; padding: 28px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; gap: 18px; }
.review blockquote { color: var(--ink-2); line-height: 1.6; font-size: .9875rem; }
.review blockquote::before { content: "“"; display: block; font-size: 3.4rem; line-height: .6; height: 26px; color: var(--gold); font-family: Georgia, serif; }
.review figcaption { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; display: grid; gap: 6px; }
.review figcaption strong { display: block; color: var(--ink); font-weight: 500; font-size: .9375rem; }
.review__src { color: var(--gold); font-size: .8125rem; text-decoration: none; border-bottom: 1px solid rgba(var(--gold-rgb), .35); width: fit-content; }
.reviews__nav { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.reviews__btn { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--ink); font-size: 1.15rem; cursor: pointer; transition: border-color .2s, opacity .2s; }
.reviews__btn:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.reviews__btn:disabled { opacity: .3; cursor: default; }
.reviews__more { color: var(--gold); text-decoration: none; font-weight: 500; border-bottom: 1px solid rgba(var(--gold-rgb), .4); padding-bottom: 2px; }
.reviews__sub { margin: clamp(40px, 5vw, 56px) 0 16px; font-size: 1.15rem; }
.reviews__audio { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.review--audio { flex: none; gap: 14px; }
.review--audio figcaption { margin-top: 0; padding-top: 0; border: 0; }
.review audio { width: 100%; color-scheme: dark; }
.cases__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.story { padding: clamp(24px, 3vw, 36px); border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 16px; align-content: start; }
.story__num { display: flex; align-items: baseline; gap: 10px; color: var(--muted); }
.story__num span { font-size: 3.6rem; font-weight: 300; line-height: .9; letter-spacing: -0.05em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.story__rows { display: grid; gap: 12px; }
.story__row dt { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.story__row dd { margin-top: 4px; color: var(--ink-2); font-size: .9375rem; }
.story__row--result dd { padding: 14px 18px; border-radius: var(--r-sm); background: var(--grad-soft); border-left: 2px solid var(--gold); color: var(--ink); }
.story__row--result dt { color: var(--gold); }

/* Обо мне */
.about { background: var(--bg-2); border-block: 1px solid var(--line); }
.about__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.about__photo { position: relative; padding: 12px; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
.about__photo::before { content: ""; position: absolute; inset: 0; border-radius: 999px 999px 0 0; border: 1px solid rgba(var(--gold-rgb), .3); border-bottom: 0; }
.about__photo::after { content: ""; position: absolute; inset: 12px; border-radius: 999px 999px 0 0; pointer-events: none;
  background: radial-gradient(ellipse 75% 70% at 50% 38%, transparent 50%, rgba(10, 9, 8, .6) 100%), linear-gradient(180deg, rgba(15, 13, 11, .12) 0%, rgba(15, 13, 11, 0) 35%, rgba(15, 13, 11, .55) 78%, var(--bg-2) 100%); }
.about__photo img { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: 999px 999px 0 0; filter: brightness(.8) contrast(1.06) saturate(.85) sepia(.1); }
.about__text { display: grid; gap: 18px; align-content: start; }
.about__text h2 { margin-bottom: 4px; }
.about__text .eyebrow { margin-bottom: -4px; }
.about__text > p { color: var(--muted); max-width: 38rem; }
.about__text > p.about__big { color: var(--ink); font-size: clamp(1.15rem, 1.7vw, 1.35rem); line-height: 1.45; font-weight: 300; }
.about__path { margin: 4px 0; display: grid; gap: 18px; max-width: 38rem; }
.about__path li { position: relative; padding-left: 24px; display: grid; gap: 6px; }
.about__path li::before { content: ""; position: absolute; left: 0; top: .45em; bottom: -18px; width: 1px; background: var(--line-2); }
.about__path li:last-child::before { bottom: 0; }
.about__path li::after { content: ""; position: absolute; left: -4px; top: .3em; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.about__year { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.about__path p { color: var(--muted); font-size: .9875rem; }
.about__link { color: var(--gold); font-weight: 500; text-decoration: none; border-bottom: 1px solid rgba(var(--gold-rgb), .45); padding-bottom: 2px; }
.about__link::after { content: " ↓"; }

/* Образование */
.edu .wrap { max-width: calc(900px + 2 * var(--gutter)); }
.edu__thesis { margin-top: 28px; padding: 26px 30px; border-radius: var(--r); border: 1px solid rgba(var(--gold-rgb), .3); background: var(--grad-soft); font-size: clamp(1.02rem, 1.4vw, 1.15rem); line-height: 1.5; font-weight: 300; color: var(--ink); }
.edu__thesis span { display: block; margin-bottom: 10px; font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.edu__short { margin-top: 20px; color: var(--muted); }
.edu__open { margin-top: 24px; }

/* Вопросы */
.faq { background: var(--bg-2); border-top: 1px solid var(--line); }
.faq__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--nav-h) + 24px); }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
.faq summary { position: relative; padding: 22px 48px 22px 0; font-size: clamp(1.02rem, 1.4vw, 1.15rem); font-weight: 400; transition: color .2s; }
.faq summary:hover { color: var(--gold); }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 300; color: var(--gold); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 48px 22px 0; color: var(--muted); font-size: .9875rem; }
.faq details p + p { margin-top: -10px; }
.faq details .faq__points { list-style: disc; margin: -10px 48px 18px 0; padding-left: 1.25rem; color: var(--muted); font-size: .9875rem; display: grid; gap: 4px; }
.faq details ol.faq__points { list-style: decimal; }
.faq details .faq__points li::marker { color: var(--gold); }

/* Запись */
.cta { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(90px, 11vw, 150px); border-top: 1px solid var(--line); }
.cta__glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 80% at 85% 110%, rgba(var(--orange-rgb), .32), transparent 70%), radial-gradient(40% 60% at 5% 0%, rgba(var(--gold-rgb), .07), transparent 70%); }
.cta__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 6vw, 88px); align-items: center; }
.cta h2 { font-size: clamp(2.2rem, 4.8vw, 3.8rem); }
.cta__text > p { margin-top: 20px; max-width: 32rem; color: var(--ink-2); font-size: 1.075rem; }
.cta__request { padding: 16px 20px; border-radius: var(--r-sm); background: rgba(255,255,255,.04); border: 1px solid var(--line-2); font-size: .9375rem !important; }
.cta__links { display: grid; gap: 12px; }
.cta__empty { padding: 20px 24px; border-radius: var(--r); border: 1px dashed var(--line-2); color: var(--muted); }

/* Футер */
.footer { padding-block: 48px 28px; font-size: .875rem; color: var(--muted); border-top: 1px solid var(--line); }
.footer__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); }
.footer__name { color: var(--ink); font-weight: 500; margin-bottom: 4px; }
.footer__bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; }
.footer__bottom a { text-decoration: none; }

/* «Подробнее» */
.more { margin-top: clamp(24px, 3vw, 36px); }
.more > summary { display: inline-flex; align-items: center; gap: 10px; padding: 11px 22px; border-radius: 99px; border: 1px solid rgba(var(--gold-rgb), .4); color: var(--gold); font-weight: 500; font-size: .9375rem; transition: border-color .2s, background .2s; }
.more > summary::after { content: "↓"; transition: transform .3s var(--ease); }
.more > summary:hover { border-color: var(--gold); background: rgba(var(--gold-rgb), .06); }
.more[open] > summary { margin-bottom: clamp(20px, 3vw, 30px); }
.more[open] > summary::after { transform: rotate(180deg); }
.more__in { display: grid; gap: 16px; }
.more__in > p { color: var(--muted); max-width: 46rem; }
.about__text .more { margin-top: 0; }

/* Кнопка внизу экрана на телефоне */
.sticky-cta { display: none; }

/* Документы */
html:has(dialog[open]) { overflow: hidden; }
.docs { width: min(96vw, 1080px); max-height: 92dvh; overflow: auto; padding: clamp(18px, 3vw, 32px); border: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg-2); color: var(--ink); }
.docs::backdrop, .lightbox::backdrop { background: rgba(6, 5, 4, .86); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.docs__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.docs__bar h2 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); }
.docs__hint { margin-top: 6px; color: var(--muted); font-size: .9375rem; }
.docs h3 { margin: 26px 0 12px; font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.docs__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.docs__item { display: grid; gap: 8px; align-content: start; padding: 8px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); color: var(--muted); font-size: .8125rem; line-height: 1.35; text-align: left; cursor: zoom-in; }
.docs__item:hover { border-color: var(--gold); color: var(--ink); }
.docs__item img { width: 100%; aspect-ratio: 10 / 7; object-fit: contain; border-radius: 8px; background: var(--surface-2); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1300px); max-height: 94dvh; overflow: auto; color: var(--ink); }
.lightbox__body img { max-width: 100%; max-height: 82dvh; width: auto; margin-inline: auto; border-radius: 12px; cursor: zoom-in; }
.lightbox__bar { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.lightbox__cap { flex: 1; min-width: 0; padding-inline: 8px; font-size: .9375rem; color: var(--ink-2); }
.lightbox__close, .lightbox__nav { padding: 8px 18px; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 99px; cursor: pointer; color: var(--ink); }
.lightbox__hint { margin-top: 8px; text-align: center; font-size: .8125rem; color: var(--muted); }
.lightbox.is-zoomed { width: min(96vw, 1300px); }
.lightbox.is-zoomed .lightbox__body { max-height: 82dvh; overflow: auto; border-radius: 12px; }
.lightbox.is-zoomed .lightbox__body img { max-width: none; max-height: none; width: max(100%, 1280px); border-radius: 0; cursor: zoom-out; }

/* Появление при прокрутке */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (min-width: 900px) {
  .reviews__lane { margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; }
  .review { flex-basis: calc((100% - 32px) / 3); }
  .reviews__btn { display: inline-block; }
  .reviews__more { margin-left: auto; }
}

/* Планшет */
@media (max-width: 1023px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto; display: grid; gap: 4px; padding: 16px var(--gutter) 24px;
    background: rgba(10, 9, 8, .97); border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav__links.open { opacity: 1; transform: none; visibility: visible; }
  .nav__links a:not(.btn) { padding: 12px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav__cta { margin-top: 12px; }
  .nav:has(.nav__links.open) { background: rgba(10, 9, 8, .97); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li:nth-child(3) { border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .facts li:nth-child(5) { grid-column: 1 / -1; border-left: 0; }
  .layer { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .stages { grid-template-columns: minmax(0, 1fr); }
  .faq__in, .cta__in, .about__in { grid-template-columns: minmax(0, 1fr); }
  .faq__head { position: static; }
  .about__photo { width: 100%; max-width: 384px; margin-inline: auto; }
}

/* Телефон */
@media (max-width: 720px) {
  :root { --nav-h: 60px; }
  body { font-size: 1rem; }
  .brand__mark { width: 36px; height: 36px; }
  .hero { padding-top: var(--nav-h); }
  .hero__in { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero__photo { order: -1; width: calc(100% + 2 * var(--gutter)); margin-inline: calc(var(--gutter) * -1); justify-self: stretch; }
  .hero__ring, .hero__badge { display: none; }
  .hero__arch { aspect-ratio: auto; height: min(84vw, 360px); border-radius: 0; box-shadow: none; }
  .hero__arch img { object-position: 50% 15%; }
  .hero__arch { -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 86%, rgba(0,0,0,.6) 94%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 86%, rgba(0,0,0,.6) 94%, transparent 100%); }
  .hero__arch::after { background: linear-gradient(180deg, rgba(10,9,8,.2) 0%, rgba(10,9,8,0) 18%), linear-gradient(0deg, rgba(var(--orange-rgb), .08), rgba(var(--orange-rgb), .08)); }
  .hero__text { position: relative; margin-top: -14px; }
  .hero .eyebrow { margin-bottom: 10px; }
  .hero__title { font-size: clamp(2.35rem, 11vw, 2.9rem); }
  .hero__lead { margin-top: 10px; font-size: 1rem; line-height: 1.5; }
  .hero__actions { margin-top: 18px; gap: 8px 22px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__actions .link-arrow { margin-inline: auto; }
  .hero__note { display: none; }
  .facts { margin-top: 40px; }
  .facts li { flex-direction: column; gap: 8px; padding: 16px 14px; }
  .facts .ico { margin-top: 0; width: 24px; height: 24px; }
  .facts strong { font-size: 1.05rem; }
  .facts span { font-size: .8125rem; }
  .pairs, .facts3, .cases__grid { grid-template-columns: minmax(0, 1fr); }
  .pair__was, .pair__now { padding: 18px 18px 18px 54px; }
  .pair__was::before, .pair__now::before { left: 18px; top: 20px; }
  .depth__axis { left: 26px; }
  .layer, .layer--mid, .layer--root { margin-inline: 0; padding: 20px 18px 20px 52px; }
  .layer__num { left: 12px; top: 16px; transform: none; }
  .tokens { gap: 6px; }
  .tokens li { padding: 4px 11px; font-size: .8125rem; }
  .found__slab { display: none; }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 8px; }
  .pillar { display: flex; align-items: center; gap: 8px; text-align: left; font-size: .78rem; hyphens: manual; }
  .pillar__col { flex: none; width: 14px; height: 30px; }
  .pillar__col::before { left: -3px; right: -3px; }
  .depth__result { margin: 8px 0 0; padding: 18px 18px 18px 52px; align-items: flex-start; }
  .depth__result .ico { left: 8px; top: 16px; margin-top: 0; }
  .quiz__card { padding: 20px 16px; border-radius: 22px; }
  .check__chips button { padding: 14px 14px 14px 50px; font-size: .9875rem; }
  .check__chips button::before { left: 14px; }
  .quiz__next { min-width: 0; flex: 1; }
  .help__cta .btn { width: 100%; }
  .faq summary { padding-right: 40px; }
  .faq details p, .faq details .faq__points { padding-right: 0; margin-right: 0; }
  .footer__in { grid-template-columns: minmax(0, 1fr); }
  .sticky-cta {
    display: flex; position: fixed; left: 16px; right: 16px; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 40;
    transform: translateY(140%); transition: transform .4s var(--ease);
  }
  .sticky-cta.show { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .depth .layer, .js .depth .depth__result { opacity: 1; transform: none; }
  .pillar--broken .pillar__col { background: linear-gradient(180deg, #F0D2A8, #C99B6B); }
  .pillar--broken .pillar__col::after { display: none; }
}

/* ===== Вариант 3: нейронные связи ===== */
.hero__dust { opacity: .9; }
.neuro { background: radial-gradient(60% 50% at 50% 40%, rgba(var(--orange-rgb), .06), transparent 70%), var(--bg); border-top: 1px solid var(--line); }
.neuro__story { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.neuro__stage {
  position: sticky; top: calc(var(--nav-h) + 3vh); height: calc(100vh - var(--nav-h) - 6vh); max-height: 700px; min-height: 420px;
  border-radius: 28px; border: 1px solid var(--line); overflow: hidden;
  background: radial-gradient(70% 60% at 55% 60%, rgba(var(--orange-rgb), .09), transparent 70%), #0D0B09;
  box-shadow: 0 40px 90px -40px rgba(0,0,0,.9);
}
.neuro__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.neuro__bar { position: absolute; left: 20px; right: 20px; bottom: 16px; display: flex; align-items: center; gap: 14px; }
.neuro__dots { display: flex; gap: 5px; }
.neuro__dots span { width: 20px; height: 3px; border-radius: 3px; background: var(--line-2); transition: background .4s; }
.neuro__dots span.on { background: var(--gold); }
.neuro__bar p { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.neuro__steps { position: relative; padding-bottom: 20vh; }
.nstep { min-height: 80vh; display: flex; align-items: center; }
.nstep:first-child { min-height: 70vh; align-items: flex-start; padding-top: 6vh; }
.nstep__card {
  padding: clamp(22px, 2.6vw, 32px); border-radius: var(--r); border: 1px solid var(--line); background: var(--surface);
  opacity: .32; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease), border-color .6s;
}
.nstep.is-active .nstep__card { opacity: 1; transform: none; border-color: rgba(var(--gold-rgb), .4); }
.nstep__num { font-size: .8125rem; letter-spacing: .2em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 500; }
.nstep__card h3 { margin: 8px 0 12px; font-size: clamp(1.35rem, 2vw, 1.65rem); font-weight: 400; }
.nstep__card > p:not(.nstep__num) { color: var(--ink-2); font-size: 1rem; line-height: 1.6; }
.nstep__cta { margin-top: 20px; }
@media (max-width: 899px) {
  .neuro__story { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .neuro__stage { top: var(--nav-h); z-index: 2; height: 46svh; min-height: 300px; max-height: 420px; margin-inline: calc(var(--gutter) * -1); border-radius: 0 0 22px 22px; border-width: 0 0 1px; }
  .neuro__steps { z-index: 1; padding-bottom: 30svh; }
  .nstep, .nstep:first-child { min-height: 58svh; align-items: center; padding-top: 0; }
  .nstep__card { padding: 20px; }
  .nstep__card > p:not(.nstep__num) { font-size: .9688rem; }
  .neuro__bar { left: 16px; bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) { .nstep__card { opacity: 1; transform: none; } }
.neuro__bar p { white-space: nowrap; }
@media (max-width: 899px) { .neuro__bar p { font-size: .66rem; letter-spacing: .12em; } }

/* Сцена «мозг и путник» (символ подсознания) рядом с заголовком «Проблема не в вас».
   Картинка scene.jpg, края мягко растворяются в фоне; поверх canvas с живыми огоньками (v3.js). */
.why__intro { display: grid; justify-items: center; margin-bottom: clamp(12px, 3vw, 40px); }
.why__intro .head { margin-bottom: 0; }
.why__fact { margin-top: clamp(24px, 3vw, 32px); max-width: 34rem; text-align: left; }
.why__lead { max-width: 44rem; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; color: var(--ink-2); font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.6; }
.why__fact .fact3__big { font-size: clamp(2.8rem, 4.4vw, 3.4rem); }
.facts3--one { grid-template-columns: minmax(0, 1fr); max-width: 980px; margin-inline: auto; }
.why__brain {
  order: 2; position: relative; width: min(100%, 420px); aspect-ratio: 688 / 1024; margin: 4px auto 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, rgba(0,0,0,.5) 5%, #000 13%, #000 84%, rgba(0,0,0,.55) 94%, transparent 100%), linear-gradient(to right, transparent 0, rgba(0,0,0,.22) 8%, rgba(0,0,0,.72) 19%, #000 30%, #000 70%, rgba(0,0,0,.72) 81%, rgba(0,0,0,.22) 92%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, rgba(0,0,0,.5) 5%, #000 13%, #000 84%, rgba(0,0,0,.55) 94%, transparent 100%), linear-gradient(to right, transparent 0, rgba(0,0,0,.22) 8%, rgba(0,0,0,.72) 19%, #000 30%, #000 70%, rgba(0,0,0,.72) 81%, rgba(0,0,0,.22) 92%, transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.why__art { position: absolute; inset: 0; transform-origin: 50% 42%; animation: whyDrift 28s ease-in-out infinite alternate; }
.why__art img, .why__art canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.why__art img { object-fit: cover; filter: saturate(1.04) brightness(.97); }
.why__art canvas { mix-blend-mode: screen; }
@keyframes whyDrift { from { transform: scale(1); } to { transform: scale(1.04) translateY(-0.6%); } }
@media (prefers-reduced-motion: reduce) { .why__art { animation: none; } }
@media (max-width: 899px) { .why__brain { width: calc(100% + 2 * var(--gutter)); max-width: 460px; margin-inline: calc(-1 * var(--gutter)); justify-self: center; } }
@media (min-width: 540px) and (max-width: 899px) { .why__brain { margin-inline: auto; } }
@media (min-width: 900px) {
  .why__intro { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(24px, 4vw, 64px); justify-items: stretch; }
  .why__brain { width: 100%; max-width: 450px; justify-self: center; margin: 0; }
  .why__intro .head--center { text-align: left; margin-inline: 0; }
  .why__intro .head--center .eyebrow::after { display: none; }
  .why__intro .head--center .head__lead { margin-inline: 0; }
}

/* Две карточки под схемой: 95% и «Убираем причину, а не снимаем симптом» */
.facts3--two { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.fact3__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.fact3__list li { position: relative; padding-left: 18px; }
.fact3__list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); }
@media (max-width: 720px) { .facts3--two { grid-template-columns: minmax(0, 1fr); } }
.fact3--cause .fact3__title { font-size: clamp(1.25rem, 1.9vw, 1.55rem); font-weight: 400; letter-spacing: -0.01em; line-height: 1.25; }

/* Точка, которая бежит по линии и обходит блоки по контуру (site.js) */
.depth__pulse { display: none; }
.depth__trace { position: absolute; left: 0; top: 0; z-index: 2; overflow: visible; pointer-events: none; transition: opacity .3s; }
.depth__trail, .depth__glow { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.depth__trail { stroke: rgba(var(--orange-rgb), .55); stroke-width: 1.4; }
.depth__glow { stroke: #FFD9B5; stroke-width: 1.8; filter: drop-shadow(0 0 4px rgba(var(--orange-rgb), .9)); }
.depth__dot { fill: #FFE6CC; filter: drop-shadow(0 0 5px rgba(var(--orange-rgb), 1)) drop-shadow(0 0 12px rgba(var(--orange-rgb), .7)); }
.depth__result .ico { transition: box-shadow .5s, border-color .5s, color .5s; }
.depth__result .ico.is-lit { border-color: var(--orange); box-shadow: 0 0 0 6px rgba(var(--orange-rgb), .14), 0 0 22px rgba(var(--orange-rgb), .55); }

/* Телефон с невысоким экраном (панели браузера съедают место): чуть плотнее, чтобы «Пройти тест» был на первом экране */
@media (max-width: 720px) and (max-height: 720px) {
  .hero__arch { height: min(84vw, 360px); }
  .hero__arch img { object-position: 50% 15%; }
  .hero__text { margin-top: -16px; }
  .hero .eyebrow { margin-bottom: 8px; }
  .hero__title { font-size: 2.15rem; }
  .hero__lead { margin-top: 8px; font-size: .95rem; line-height: 1.42; }
  .hero__actions { margin-top: 14px; }
}
