:root {
  --bg: #0b1020;
  --bg2: #121a33;
  --card: #16203c;
  --ink: #eef2ff;
  --muted: #9aa6c8;
  --gold: #e8c377;
  --gold2: #caa14e;
  --line: #26314f;
  --faint: #5f6b8f;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: radial-gradient(1200px 600px at 50% -10%, #1a2340 0%, var(--bg) 60%);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, system-ui;
  line-height: 1.55;
  min-height: 100vh;
}
.wrap { max-width: 680px; margin: 0 auto; padding: 32px 20px 8px; }
h1 { font-size: 1.9rem; line-height: 1.2; margin: 0 0 16px; }
.lead { font-size: 1.15rem; color: var(--ink); }
.sub { color: var(--muted); }
.page-h { margin-bottom: 6px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; width: 100%; margin-top: 20px;
  background: linear-gradient(180deg, var(--gold), var(--gold2));
  color: #241a06; border: none; border-radius: 14px;
  padding: 15px 22px; font-size: 1.05rem; font-weight: 700;
  cursor: pointer; text-align: center; text-decoration: none;
}
.btn:active { transform: translateY(1px); }

.hero { padding-top: 24px; }

/* лендинг */
.lp-block { margin: 40px 0; }
.lp-h { font-size: 1.4rem; margin: 0 0 18px; }
.steps-grid { display: flex; flex-direction: column; gap: 14px; }
.step { border: 1px solid var(--line); border-radius: 16px; background: var(--card); padding: 18px; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(180deg, var(--gold), var(--gold2)); color: #241a06; font-weight: 800; margin-bottom: 10px; }
.step b { display: block; margin-bottom: 4px; }
.step p { margin: 0; color: var(--muted); font-size: .92rem; }
.feat-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.feat-list li { padding-left: 20px; position: relative; color: var(--muted); }
.feat-list li::before { content: '✴'; position: absolute; left: 0; color: var(--gold); }
.feat-list b { color: var(--ink); }
.lp-honest { text-align: center; border-top: 1px solid var(--line); padding-top: 32px; }

@media (min-width: 620px) {
  .steps-grid { flex-direction: row; }
  .step { flex: 1; }
}

.quiz .q {
  border: 1px solid var(--line); border-radius: 16px;
  background: var(--card); margin: 14px 0; padding: 16px 16px 8px;
}
.q legend { font-weight: 600; padding: 0 4px; }
.scale { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.opt {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px;
  cursor: pointer;
}
.opt input { accent-color: var(--gold); width: 18px; height: 18px; }
.error { color: #ffb4b4; }

.result .kicker { color: var(--gold); letter-spacing: .04em; text-transform: uppercase; font-size: .8rem; margin: 0; }
.trajectory { font-size: 2rem; margin: 6px 0 24px; }
.balance-title, .paywall-p { color: var(--muted); }
.bars { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.bar { display: grid; grid-template-columns: 96px 1fr 48px; align-items: center; gap: 10px; }
.bar-label { font-size: .9rem; color: var(--muted); }
.bar-track { background: #0d1428; border-radius: 8px; height: 12px; overflow: hidden; }
.bar-fill { display: block; height: 100%; background: linear-gradient(90deg, var(--gold2), var(--gold)); }
.bar-val { text-align: right; font-variant-numeric: tabular-nums; }

.index { display: flex; align-items: center; gap: 16px; margin: 26px 0; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.index-num { font-size: 2.6rem; font-weight: 800; color: var(--gold); font-variant-numeric: tabular-nums; }
.index-text { display: flex; flex-direction: column; }
.index-note { color: var(--muted); font-size: .88rem; margin-top: 4px; }

.paywall { margin-top: 28px; padding: 20px; border: 1px solid var(--gold2); border-radius: 16px; background: linear-gradient(180deg, #1a2340, #131b33); }
.paywall-h { font-weight: 700; margin: 0 0 8px; }
.paywall-note { color: var(--muted); font-size: .82rem; text-align: center; margin: 10px 0 0; }

/* отчёт (Ф4) */
.card { border: 1px solid var(--line); border-radius: 16px; background: var(--card); padding: 18px; margin: 16px 0; }
.card-title { font-weight: 600; margin: 0 0 12px; }
.arch-desc { font-size: 1.05rem; margin-bottom: 8px; }
.center { text-align: center; }

.map-card { background: radial-gradient(600px 200px at 50% 0%, #1a2340, var(--card)); }
.branch-map { width: 100%; height: auto; display: block; }
.branch-map .edge { stroke: #33406a; stroke-width: .5; }
.branch-map .node { stroke: #0b1020; stroke-width: .5; }
.node-disruption { fill: #e88a8a; }
.node-branch { fill: var(--gold); }
.node-fixation { fill: #7fb0e8; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; font-size: .8rem; color: var(--muted); }
.lg { display: inline-flex; align-items: center; gap: 6px; }
.lg::before { content: ''; width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.lg-disruption::before { background: #e88a8a; }
.lg-branch::before { background: var(--gold); }
.lg-fixation::before { background: #7fb0e8; }

.dials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.dial { border: 1px solid var(--line); border-radius: 14px; background: var(--card); padding: 14px 8px; text-align: center; }
.dial-num { display: block; font-size: 1.9rem; font-weight: 800; color: var(--gold); font-variant-numeric: tabular-nums; }
.dial-cap { display: block; font-size: .72rem; color: var(--muted); margin-top: 4px; line-height: 1.3; }

.node-card { border-color: var(--gold2); background: linear-gradient(180deg, #1a2340, #131b33); }
.node-text { margin: 8px 0 0; }
.scenario { margin: 12px 0; padding-left: 12px; border-left: 3px solid var(--gold2); }
.scenario b { color: var(--gold); }
.scenario p { margin: 4px 0 0; color: var(--ink); }

/* воронка метрик */
.funnel { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.funnel-row { border: 1px solid var(--line); border-radius: 12px; background: var(--card); padding: 12px 14px; }
.funnel-bar-wrap { position: relative; height: 30px; border-radius: 8px; background: #0d1428; overflow: hidden; display: flex; align-items: center; }
.funnel-bar { position: absolute; left: 0; top: 0; height: 100%; background: linear-gradient(90deg, var(--gold2), var(--gold)); opacity: .35; }
.funnel-label { position: relative; padding-left: 10px; font-size: .9rem; }
.funnel-nums { display: flex; align-items: baseline; gap: 10px; margin-top: 8px; }
.funnel-nums b { font-size: 1.4rem; color: var(--gold); font-variant-numeric: tabular-nums; }
.funnel-pct { color: var(--muted); font-size: .82rem; }

/* шеринг */
.share-input {
  width: 100%; margin: 8px 0; padding: 12px; border-radius: 10px;
  border: 1px solid var(--line); background: #0d1428; color: var(--gold);
  font-size: .9rem; font-family: monospace;
}

/* прогресс-бар */
.progress-wrap { height: 8px; background: #0d1428; border-radius: 6px; overflow: hidden; margin: 10px 0 6px; }
.progress-bar { display: block; height: 100%; background: linear-gradient(90deg, var(--gold2), var(--gold)); transition: width .3s; }

/* конструктор событий */
.add-event { display: flex; flex-direction: column; gap: 12px; margin: 18px 0 8px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.fld { display: flex; flex-direction: column; gap: 6px; }
.fld span { font-size: .85rem; color: var(--muted); }
.fld select, .fld input {
  background: #0d1428; color: var(--ink); border: 1px solid var(--line);
  border-radius: 10px; padding: 12px; font-size: 1rem; width: 100%;
}
.btn-add { margin-top: 6px; }
.timeline { margin: 20px 0; }
.tl-count { color: var(--muted); font-size: .9rem; }
.tl-item {
  display: grid; grid-template-columns: 110px 1fr 32px; align-items: center; gap: 10px;
  padding: 12px 14px; border: 1px solid var(--line); border-left: 3px solid var(--gold2);
  border-radius: 10px; background: var(--card); margin-bottom: 8px;
}
.tl-year { color: var(--gold); font-variant-numeric: tabular-nums; font-size: .9rem; }
.tl-label { font-weight: 600; }
.tl-del { margin: 0; }
.tl-del button {
  background: transparent; color: var(--muted); border: 1px solid var(--line);
  border-radius: 8px; width: 30px; height: 30px; font-size: 1.1rem; cursor: pointer; line-height: 1;
}
.tl-del button:hover { color: #ffb4b4; border-color: #6b4a4a; }

.age-note { color: var(--muted); font-size: .8rem; margin-top: 14px; text-align: center; }
.foot { max-width: 680px; margin: 24px auto 0; padding: 16px 20px 32px; color: #6b769a; font-size: .78rem; border-top: 1px solid var(--line); }
.foot-link { color: #8a95bb; }

/* ============ ОТЧЁТ: древо-герой (визуал v2) ============ */
#stars { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.wrap { position: relative; z-index: 1; }

.report .kicker { color: var(--gold); letter-spacing: .22em; text-transform: uppercase; font-size: .74rem; font-weight: 600; margin: 0 0 12px; }
.report .arch {
  font-family: Georgia, "Times New Roman", serif; font-weight: 500;
  font-size: clamp(2rem, 8vw, 2.8rem); line-height: 1.09; margin: 0 0 16px; letter-spacing: -.01em;
  background: linear-gradient(180deg, #fff 20%, #e7d3ab 92%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.report .arch-desc { font-size: 1.06rem; color: #d5ddf3; margin-bottom: 8px; }
.report .center { text-align: center; }
.report .card { background: rgba(20,28,54,0.5); backdrop-filter: blur(8px); border-color: rgba(120,140,190,.16); border-radius: 20px; }

/* древо */
.tree-card { padding: 18px 14px 12px; overflow: hidden; }
.tree-head { padding: 4px 8px 8px; }
.tree-stage { position: relative; width: 100%; aspect-ratio: 1/1; border-radius: 14px; overflow: hidden; }
.tree-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tree-veil { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 40%, rgba(8,11,24,0) 55%, rgba(8,11,24,.5) 100%); }
.tnode { position: absolute; width: 15px; height: 15px; transform: translate(-50%,-50%); border-radius: 50%; background: #fff; animation: tp 3.6s ease-in-out infinite; }
.tnode::before { content: ""; position: absolute; inset: -7px; border-radius: 50%; background: radial-gradient(circle, var(--c) 0%, transparent 70%); opacity: .85; }
.tnode::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--c); box-shadow: 0 0 8px var(--c); }
@keyframes tp { 0%,100% { filter: brightness(1); } 50% { filter: brightness(1.5); } }
.tn-disruption { --c: #e89083; } .tn-branch { --c: #ecc985; } .tn-fixation { --c: #82b2ea; }
@media (prefers-reduced-motion: reduce) { .tnode { animation: none; } }

.legend { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; padding: 12px 8px 2px; font-size: .8rem; color: var(--muted); }
.legend .lg { display: inline-flex; align-items: center; gap: 7px; }
.legend .lg::before { content: none; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot.c1 { background: #e89083; box-shadow: 0 0 8px #e89083; }
.dot.c2 { background: #ecc985; box-shadow: 0 0 8px #ecc985; }
.dot.c3 { background: #82b2ea; box-shadow: 0 0 8px #82b2ea; }

/* кольца-индексы */
.dials { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin: 20px 0 8px; }
.dial { text-align: center; border: none; background: none; padding: 0; }
.ring-wrap { position: relative; width: 100%; max-width: 118px; margin: 0 auto; }
.ring { display: block; width: 100%; height: auto; transform: rotate(-90deg); }
.ring-val { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; font-weight: 700; color: var(--gold); font-variant-numeric: tabular-nums; }
.dial-cap { display: block; font-size: .74rem; color: var(--muted); margin-top: 8px; line-height: 1.35; }
.measure-note { color: var(--faint); font-size: .8rem; margin: 6px 0 0; }

/* пончик */
.balance { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.donut-wrap { position: relative; width: 168px; flex: 0 0 168px; margin: 0 auto; }
.donut { display: block; width: 100%; transform: rotate(-90deg); }
.donut-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.donut-center b { font-size: .78rem; color: var(--muted); font-weight: 500; letter-spacing: .04em; }
.bkeys { flex: 1; min-width: 150px; display: flex; flex-direction: column; gap: 10px; }
.bkey { display: flex; align-items: center; gap: 10px; font-size: .95rem; }
.bkey .swatch { width: 12px; height: 12px; border-radius: 4px; flex: 0 0 12px; }
.bkey .bname { color: var(--muted); }
.bkey .bval { margin-left: auto; font-variant-numeric: tabular-nums; font-weight: 600; }

.report .node-card { border-color: rgba(236,201,133,.4); background: linear-gradient(180deg, rgba(40,48,86,.55), rgba(19,27,51,.5)); }
.report .node-text { margin: 8px 0 0; color: #dbe2f6; }
.report .scenario b { color: var(--gold); font-size: .9rem; }

/* ============ ЕДИНЫЙ ЯЗЫК: заголовки/лендинг ============ */
.arch {
  font-family: Georgia, "Times New Roman", serif; font-weight: 500;
  font-size: clamp(2.1rem, 8.5vw, 3rem); line-height: 1.08; margin: 0 0 16px; letter-spacing: -.01em;
  background: linear-gradient(180deg, #fff 20%, #e7d3ab 92%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.kicker {
  font-size: .74rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin: 0 0 14px;
}

/* лендинг-герой */
.lp-hero { text-align: center; padding-top: 20px; }
.lp-hero .lead { max-width: 40ch; margin: 0 auto 22px; }
.lp-hero .sub { max-width: 42ch; margin: 18px auto 0; }
.lp-hero-img-wrap { position: relative; max-width: 440px; margin: 8px auto 0; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 70px -40px rgba(0,0,0,.9); }
.lp-hero-img { display: block; width: 100%; height: auto; }
.lp-hero-fade { position: absolute; inset: 0; pointer-events: none; border-radius: 22px;
  background: radial-gradient(130% 80% at 50% 42%, rgba(8,16,32,0) 55%, rgba(8,16,32,.6) 100%); }
.lp-hero .btn { max-width: 380px; margin-left: auto; margin-right: auto; }

/* блоки лендинга - стеклянные карточки */
.lp-block { margin: 46px 0; }
.lp-h { font-size: 1.4rem; margin: 0 0 18px; font-family: Georgia, serif; font-weight: 500; }
.steps-grid { display: flex; flex-direction: column; gap: 14px; }
.step {
  border: 1px solid rgba(120,140,190,.16); border-radius: 18px;
  background: rgba(20,28,54,.5); backdrop-filter: blur(8px); padding: 20px;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px;
  border-radius: 50%; background: linear-gradient(180deg, var(--gold), var(--gold2));
  color: #241a06; font-weight: 800; margin-bottom: 12px;
  box-shadow: 0 0 16px rgba(236,201,133,.4);
}
.feat-list li::before { content: '✴'; }
.lp-honest { text-align: center; border-top: 1px solid var(--line); padding-top: 34px; }
.lp-honest .lead { max-width: 44ch; margin: 0 auto 20px; }

/* мини-результат */
.index-card { display: flex; align-items: center; gap: 18px; }
.ring-mini { width: 92px; flex: 0 0 92px; }
.ring-mini .ring-val { font-size: 1.4rem; }
.index-card .index-text { display: flex; flex-direction: column; }
.index-card .index-text b { color: var(--ink); }
.report .paywall-card { border-color: rgba(236,201,133,.45); background: linear-gradient(180deg, rgba(40,48,86,.6), rgba(19,27,51,.55)); }
.paywall-card .paywall-h { font-weight: 700; margin: 0 0 8px; font-size: 1.05rem; }

/* ============ ЕДИНЫЙ ЯЗЫК: стеклянные карточки + серифные заголовки везде ============ */
.card, .add-event, .quiz .q, .step, .funnel-row, .tl-item, .index {
  background: rgba(20,28,54,.5); backdrop-filter: blur(8px);
  border-color: rgba(120,140,190,.16);
}
.fld select, .fld input, .share-input, .bar-track, .progress-wrap { background: rgba(10,16,34,.6); }
.page-h, .trajectory { font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
.page-h { font-size: 1.7rem; }
.kicker, .result .kicker { letter-spacing: .18em; }

/* всплывание узлов на дереве */
@keyframes nodeIn { from { opacity: 0; transform: translate(-50%,-50%) scale(.2); } to { opacity: 1; transform: translate(-50%,-50%) scale(1); } }
.tnode { opacity: 0; animation: nodeIn .6s cubic-bezier(.2,.8,.3,1.5) both, tp 3.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .tnode { opacity: 1; animation: none; } }

/* публичная карточка шеринга */
.share-public .share-hero { position: relative; max-width: 300px; margin: 0 auto 18px; border-radius: 18px; overflow: hidden; }
.share-public .share-hero img { display: block; width: 100%; }
.share-public .share-hero .lp-hero-fade { border-radius: 18px; }

/* ============ ОЖИВЛЕНИЕ: микровзаимодействия + вау-момент ============ */

/* Кнопки: подъём, свечение, проблеск-shine на hover */
.btn { position: relative; overflow: hidden; transition: transform .22s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, filter .3s ease; }
.btn::after {
  content: ""; position: absolute; top: 0; left: -130%; width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-18deg); pointer-events: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(236,201,133,.6), 0 0 22px rgba(236,201,133,.35); filter: brightness(1.04); }
.btn:hover::after { animation: btnShine .7s ease-out; }
.btn:active { transform: translateY(1px); box-shadow: 0 4px 12px -6px rgba(236,201,133,.5); }
@keyframes btnShine { to { left: 135%; } }

/* Выбор в квизе: приятный выбранный/hover-стейт */
.opt { transition: border-color .2s ease, background .2s ease, box-shadow .25s ease, transform .15s ease; }
@media (hover: hover) { .opt:hover { border-color: rgba(236,201,133,.45); transform: translateX(2px); } }
.opt:has(input:checked) {
  border-color: var(--gold); background: rgba(236,201,133,.09);
  box-shadow: 0 0 0 1px rgba(236,201,133,.35), 0 0 16px -2px rgba(236,201,133,.3);
}
.opt:has(input:checked) span { color: #fff; }

/* Карточки-шаги и CTA: мягкий подъём на hover (только десктоп) */
@media (hover: hover) {
  .step, .paywall-card, .index-card, .lp-hero-img-wrap, .share-hero {
    transition: transform .28s cubic-bezier(.2,.7,.2,1), border-color .28s ease, box-shadow .28s ease;
  }
  .step:hover, .paywall-card:hover, .index-card:hover {
    transform: translateY(-3px); border-color: rgba(236,201,133,.3);
    box-shadow: 0 20px 44px -26px rgba(0,0,0,.9), 0 0 26px -10px rgba(236,201,133,.25);
  }
  .lp-hero-img-wrap:hover, .share-hero:hover { transform: translateY(-3px) scale(1.008); box-shadow: 0 34px 70px -36px rgba(0,0,0,.95), 0 0 40px -16px rgba(120,180,210,.3); }
}

/* Появление секций по скроллу (ease-out, со стаггером через delay в разметке).
   Скрытие ТОЛЬКО под html.mo-on (ставит motion.js): нет JS - контент виден сразу. */
.mo-on .reveal-up { opacity: 0; transform: translateY(26px); }
.reveal-up.in, .mo-on .reveal-up.in { opacity: 1; transform: none; transition: opacity .75s ease-out, transform .8s cubic-bezier(.2,.75,.2,1); }

/* Вау-момент: «Читаем вашу траекторию» - зерно света распускается в отчёт */
#reading {
  position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column;
  align-items: center; justify-content: center; overflow: hidden;
  background: radial-gradient(circle at 50% 48%, #101a34 0%, #070a14 70%);
}
#reading .seed {
  width: 12px; height: 12px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 40px 14px rgba(236,201,133,.85), 0 0 10px 4px #fff;
  animation: seedBloom 2.7s cubic-bezier(.45,0,.2,1) forwards;
}
#reading .rtext {
  position: absolute; bottom: 34%; color: #ecdcb4; font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem; letter-spacing: .03em; opacity: 0;
  animation: rIn .7s ease-out .35s forwards, rOut .5s ease-in 2.2s forwards;
}
#reading .rdots::after { content: ""; animation: rdots 1.4s steps(4,end) infinite .5s; }
@keyframes seedBloom { 0% { transform: scale(.35); opacity: .5; } 55% { transform: scale(1); opacity: 1; } 100% { transform: scale(70); opacity: 0; } }
@keyframes rIn { to { opacity: 1; } }
@keyframes rOut { to { opacity: 0; } }
@keyframes rdots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }
#reading.done { opacity: 0; transition: opacity .6s ease; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .btn::after { display: none; }
  .reveal-up { opacity: 1; transform: none; }
  #reading { display: none; }
}

/* ============ Б1: каталог продуктов ============ */
.prod-grid { display: flex; flex-direction: column; gap: 14px; margin: 20px 0 10px; }
.prod-card { position: relative; display: flex; flex-direction: column; }
.prod-hot { border-color: rgba(236,201,133,.5); box-shadow: 0 0 0 1px rgba(236,201,133,.25), 0 20px 50px -30px rgba(236,201,133,.3); }
.prod-badge { position: absolute; top: -10px; right: 16px; background: linear-gradient(180deg, var(--gold), var(--gold2)); color: #241a06; font-size: .7rem; font-weight: 800; letter-spacing: .04em; padding: 4px 10px; border-radius: 20px; text-transform: uppercase; }
.prod-name { font-family: Georgia, serif; font-size: 1.3rem; margin: 0 0 2px; }
.prod-tagline { color: var(--muted); font-size: .9rem; margin: 0 0 10px; }
.prod-price { color: var(--gold); font-size: 1.5rem; font-weight: 700; margin: 0 0 12px; font-variant-numeric: tabular-nums; }
.prod-feats { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-direction: column; gap: 8px; }
.prod-feats li { padding-left: 22px; position: relative; color: #cfd7ef; font-size: .92rem; }
.prod-feats li::before { content: '✴'; position: absolute; left: 0; color: var(--gold); }
.prod-card .btn { margin-top: auto; }
@media (min-width: 720px) {
  .prod-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
  .prod-card:first-child { grid-column: 1 / -1; }
}

/* ============ Б2: библиотека архетипов ============ */
.arch-grid { display: flex; flex-direction: column; gap: 12px; margin: 20px 0; }
.arch-item { border-left: 3px solid var(--gold2); }
.arch-item-name { font-family: Georgia, serif; font-size: 1.25rem; margin: 0 0 6px; color: #fff; }
.arch-item-desc { margin: 0; color: #cfd7ef; font-size: .95rem; }
@media (min-width: 720px) { .arch-grid { display: grid; grid-template-columns: repeat(2, 1fr); } }
.lp-more { margin-top: 16px; }

/* вторичная кнопка (скачать PDF и т.п.) */
.btn-ghost { background: transparent; color: var(--gold); border: 1px solid var(--gold2); box-shadow: none; }
.btn-ghost:hover { background: rgba(236,201,133,.08); box-shadow: 0 0 18px -6px rgba(236,201,133,.4); }

/* ============ Б4: реферал ============ */
.ref-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0; }
.ref-stat { text-align: center; }
.ref-num { display: block; font-size: 2.2rem; font-weight: 800; color: var(--gold); font-variant-numeric: tabular-nums; }
.ref-cap { display: block; font-size: .82rem; color: var(--muted); margin-top: 4px; }
.ref-bonus { border-color: rgba(236,201,133,.4); }

/* ============ Б5: личный кабинет ============ */
.dyn-chart { width: 100%; height: 130px; display: block; margin: 6px 0; }
.dyn-axis { stroke: rgba(120,140,190,.25); stroke-width: .4; }
.dyn-line { fill: none; stroke-width: 1.4; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.dyn-d { stroke: #e8c377; } .dyn-i { stroke: #e89083; } .dyn-c { stroke: #82b2ea; }
.dyn-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: .8rem; color: var(--muted); margin-top: 4px; }
.dl { display: inline-flex; align-items: center; gap: 6px; }
.dl::before { content: ''; width: 12px; height: 3px; border-radius: 2px; display: inline-block; }
.dl-d::before { background: #e8c377; } .dl-i::before { background: #e89083; } .dl-c::before { background: #82b2ea; }
.hist { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.hist-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.hist-name { font-family: Georgia, serif; font-size: 1.1rem; }
.hist-date { color: var(--muted); font-size: .85rem; font-variant-numeric: tabular-nums; }
.hist-idx { display: flex; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: var(--muted); }
.hist-idx b { color: var(--gold); font-size: 1rem; font-variant-numeric: tabular-nums; }

/* ============ Б6: журнал совпадений ============ */
.jrn-form { display: flex; flex-direction: column; gap: 10px; margin: 18px 0; }
.jrn-form textarea {
  background: rgba(10,16,34,.6); color: var(--ink); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px; font-size: 1rem; font-family: inherit; resize: vertical;
}
.jrn-form textarea:focus { outline: none; border-color: var(--gold2); }
.jrn-list { display: flex; flex-direction: column; gap: 10px; }
.jrn-item { padding: 14px; }
.jrn-text { margin: 0 0 8px; }
.jrn-foot { display: flex; justify-content: space-between; align-items: center; }
.jrn-date { color: var(--faint); font-size: .8rem; font-variant-numeric: tabular-nums; }
.jrn-del { margin: 0; }
.jrn-del button { background: transparent; color: var(--muted); border: 1px solid var(--line); border-radius: 8px; width: 28px; height: 28px; font-size: 1rem; cursor: pointer; line-height: 1; }
.jrn-del button:hover { color: #ffb4b4; border-color: #6b4a4a; }

/* ============ Б7: свободные поля + кризис-экран ============ */
.ft-form { display: flex; flex-direction: column; gap: 16px; margin-top: 18px; }
.ft-q { display: flex; flex-direction: column; gap: 8px; }
.ft-q span { font-weight: 600; }
.ft-q textarea {
  background: rgba(10,16,34,.6); color: var(--ink); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px; font-size: 1rem; font-family: inherit; resize: vertical;
}
.ft-q textarea:focus { outline: none; border-color: var(--gold2); }
.ft-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.ft-consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--gold); flex: 0 0 18px; }
.crisis-card { border-color: rgba(236,201,133,.5); background: linear-gradient(180deg, rgba(40,48,86,.6), rgba(19,27,51,.55)); }
.crisis-line { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.crisis-line:last-child { border-bottom: none; }
.crisis-name { font-size: .9rem; color: var(--muted); }
.crisis-num { color: var(--gold); font-size: 1.15rem; font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; }

/* ============ Б8: окна синхронизации ============ */
.win-card { border-color: rgba(111,184,201,.4); }
.win-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 10px; }
.win-chip { font-size: .78rem; color: #bfe0e8; background: rgba(111,184,201,.12);
  border: 1px solid rgba(111,184,201,.3); border-radius: 20px; padding: 3px 11px; }
.win-history { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.win-hist-item { border-left: 3px solid rgba(111,184,201,.5); padding: 2px 0 2px 14px; }
.win-hist-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.win-hist-sphere { font-family: Georgia, serif; font-size: 1.02rem; color: #fff; }
.win-hist-date { color: var(--faint); font-size: .8rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.win-hist-text { margin: 0; color: #cfd7ef; font-size: .92rem; }

/* Ф-Б: статус заявки на сессию */
.sess-badge { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: #241a06; background: linear-gradient(180deg, var(--gold), var(--gold2));
  border-radius: 20px; padding: 4px 12px; margin: 2px 0 10px; }
.sess-on { background: linear-gradient(180deg, #9fd8b5, #6fbb8d); }
.win-form { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.win-email { background: rgba(10,16,34,.6); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 13px; font-size: 1rem; }
.win-email:focus { outline: none; border-color: var(--gold2); }

/* ============ Б10: блог ============ */
.blog-list { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.blog-card { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: inherit; }
.blog-title { font-family: Georgia, serif; font-size: 1.25rem; color: #fff; }
.blog-excerpt { color: var(--muted); font-size: .92rem; }
.blog-date { color: var(--faint); font-size: .8rem; font-variant-numeric: tabular-nums; }
.blog-article .blog-body { margin: 8px 0 18px; }
.blog-body p { margin: 0 0 14px; color: #dbe2f6; }

/* ============ ГЛАВНАЯ v2: витрина продуктов ============ */
.ic { display: block; width: 26px; height: 26px; color: var(--gold); flex: 0 0 26px; }

/* доступность: видимый фокус с клавиатуры + серифные заголовки без «вдов» */
.btn, .tier, .lab-card, .foot-link, a { touch-action: manipulation; }
.btn:focus-visible, .tier:focus-visible, .lab-card:focus-visible,
.foot-link:focus-visible, .prod-card a:focus-visible, .blog-card:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 12px;
}
.arch, .lp-h, .trajectory, .page-h { text-wrap: balance; }
.nar-hide { display: none; }

/* ============ Отчёт Пакет 2+3: узлы, зоны, дисклеймер ============ */
/* именованные узлы карты ветвлений */
.node-list { list-style: none; padding: 0; margin: 14px 0 2px; display: flex; flex-direction: column; gap: 8px; }
.node-list li { padding: 8px 12px; border-left: 3px solid var(--line); border-radius: 8px;
  background: rgba(10,16,34,.35); font-size: .9rem; color: #cfd7ef; }
.node-list li b { color: #fff; }
.node-list li.nl-disruption { border-left-color: #e89083; }
.node-list li.nl-branch { border-left-color: var(--gold); }
.node-list li.nl-fixation { border-left-color: #82b2ea; }

/* карта развилок по сферам - зоны */
.zones { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.zone { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px; }
.zone-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.zone-sphere { font-family: Georgia, serif; font-size: 1.05rem; color: #fff; }
.zone-badge { font-size: .74rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; white-space: nowrap; }
.zone-note { font-size: .88rem; color: var(--muted); }
.zone-red { border-color: rgba(232,144,131,.5); background: rgba(232,144,131,.08); }
.zone-red .zone-badge { background: rgba(232,144,131,.2); color: #f0b3a8; }
.zone-yellow { border-color: rgba(236,201,133,.45); background: rgba(236,201,133,.07); }
.zone-yellow .zone-badge { background: rgba(236,201,133,.2); color: var(--gold); }
.zone-green { border-color: rgba(130,178,234,.4); background: rgba(130,178,234,.07); }
.zone-green .zone-badge { background: rgba(130,178,234,.2); color: #a8c9f0; }
.zone-empty { border-style: dashed; opacity: .75; }
.zone-empty .zone-badge { background: rgba(120,140,190,.15); color: var(--muted); }

/* ТЗ-3: глоссарий метода + прикладной слой архетипов */
.gloss-term { font-family: Georgia, serif; font-size: 1.2rem; color: #fff; margin: 0 0 10px; }
.gloss-row { margin: 0 0 8px; color: #cfd7ef; font-size: .93rem; }
.gloss-row b { color: var(--gold); font-weight: 600; }
.gloss-read { border-left: 3px solid var(--gold2); padding-left: 12px; }
.arch-item-practical { margin: 10px 0 0; padding-top: 10px; border-top: 1px dashed rgba(120,140,190,.2);
  color: #b8c4e4; font-size: .9rem; }

/* фиксированный дисклеймер */
.disclaimer { margin: 24px 0 8px; padding-top: 16px; border-top: 1px solid var(--line);
  color: var(--faint); font-size: .8rem; line-height: 1.5; text-align: center; }

/* ============ Шапка-навигация «Траектория Ясности» ============ */
.site-head { position: sticky; top: 0; z-index: 40;
  background: rgba(11,16,32,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(120,140,190,.14); }
.head-inner { max-width: 940px; margin: 0 auto; padding: 8px 20px;
  display: flex; align-items: center; gap: 14px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; flex: 0 0 auto; }
.brand-mark { display: block; flex: 0 0 24px; }
.brand-name { font-family: Georgia, "Times New Roman", serif; font-size: .82rem; line-height: 1.05;
  letter-spacing: .01em;
  background: linear-gradient(180deg, #fff 20%, #e7d3ab 92%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.head-nav { display: flex; gap: 14px; overflow-x: auto; flex: 1; min-width: 0;
  scrollbar-width: none; -ms-overflow-style: none; }
.head-nav::-webkit-scrollbar { display: none; }
.hn { color: var(--muted); font-size: .86rem; text-decoration: none; white-space: nowrap;
  padding: 8px 1px 7px; border-bottom: 2px solid transparent; transition: color .2s ease; }
.hn:hover { color: #fff; }
.hn.on { color: #fff; border-bottom-color: var(--gold); }
.head-right { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.head-login { color: var(--muted); font-size: .82rem; text-decoration: none; white-space: nowrap;
  border-bottom: 2px solid transparent; padding: 8px 1px 7px; transition: color .2s ease; }
.head-login:hover { color: #fff; }
.head-login.on { color: #fff; border-bottom-color: var(--gold); }
.head-cta { flex: 0 0 auto; text-decoration: none; font-size: .82rem; font-weight: 700;
  color: #241a06; background: linear-gradient(180deg, var(--gold), var(--gold2));
  padding: 7px 14px; border-radius: 20px; white-space: nowrap; }
.head-cta:hover { filter: brightness(1.05); }

/* ============ Живой герой: картина-древо + живые узлы поверх ============ */
.lp-hero-stage { position: relative; max-width: 460px; aspect-ratio: 1 / 1; margin: 4px auto 0; }
.hero-img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 24px;
  animation: heroIn 1.6s ease-out both; }
@keyframes heroIn { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }
/* растворяем края картинки в фоне страницы */
/* картинка растворяется маской - у неё нет краёв, дорисовывать вуалью нечего */
.hero-veil { display: none; }
.hero-cine .hero-img { border-radius: 0;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 46%, #000 36%, transparent 67%);
  mask-image: radial-gradient(70% 70% at 50% 46%, #000 36%, transparent 67%); }
#heroNodes { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .hero-img { animation: none; } }

/* герой: две кнопки */
.hero-cta { display: flex; gap: 12px; max-width: 440px; margin: 22px auto 0; }
.hero-cta .btn { margin-top: 0; flex: 1; }
@media (max-width: 430px) { .hero-cta { flex-direction: column; } }

/* герой: «когда это нужно» (цель+ожидание, ТЗ-3 Саши) */
.hero-when { max-width: 46ch; margin: 14px auto 0; font-size: .95rem; line-height: 1.6; }

/* целевка шагов «зачем» */
.step-why { margin: 10px 0 0 !important; padding-top: 8px; border-top: 1px dashed rgba(120,140,190,.2);
  color: #b8c4e4 !important; font-size: .85rem !important; }

/* строка-глазок: масштаб */
.glance { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 26px auto 0; max-width: 460px; }
.glance-item { text-align: center; padding: 13px 8px; border-radius: 16px;
  border: 1px solid rgba(120,140,190,.16); background: rgba(20,28,54,.5); backdrop-filter: blur(8px); }
.glance-num { display: block; font-size: 1.7rem; font-weight: 800; color: var(--gold); font-variant-numeric: tabular-nums; line-height: 1; }
.glance-cap { display: block; font-size: .74rem; color: var(--muted); margin-top: 5px; letter-spacing: .02em; }

/* что внутри - сетка карточек с иконками */
.inside-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.inside-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px;
  border: 1px solid rgba(120,140,190,.16); border-radius: 18px; background: rgba(20,28,54,.5); backdrop-filter: blur(8px); }
.inside-card b { display: block; margin-bottom: 3px; }
.inside-card p { margin: 0; color: var(--muted); font-size: .9rem; }
@media (min-width: 620px) { .inside-grid { grid-template-columns: 1fr 1fr; } }
@media (hover: hover) {
  .inside-card { transition: transform .24s cubic-bezier(.2,.7,.2,1), border-color .24s, box-shadow .24s; }
  .inside-card:hover { transform: translateY(-2px); border-color: rgba(236,201,133,.28);
    box-shadow: 0 18px 40px -26px rgba(0,0,0,.9), 0 0 22px -12px rgba(236,201,133,.22); }
}

/* продуктовая лестница */
.tier-list { display: flex; flex-direction: column; gap: 10px; }
.tier { display: flex; align-items: center; gap: 14px; padding: 15px 18px; text-decoration: none; color: inherit;
  border: 1px solid rgba(120,140,190,.16); border-radius: 16px; background: rgba(20,28,54,.5); backdrop-filter: blur(8px); }
.tier-rung { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; flex: 0 0 30px;
  border-radius: 50%; border: 1px solid var(--gold2); color: var(--gold); font-weight: 700; font-size: .95rem; font-variant-numeric: tabular-nums; }
.tier-body { flex: 1; min-width: 0; }
.tier-name { display: block; font-family: Georgia, serif; font-size: 1.08rem; color: #fff; }
.tier-tag { display: block; color: var(--muted); font-size: .84rem; }
.tier-price { color: var(--gold); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; font-size: .96rem; }
.tier-hot { border-color: rgba(236,201,133,.45); box-shadow: 0 0 0 1px rgba(236,201,133,.2); }
.tier-hot .tier-rung { background: linear-gradient(180deg, var(--gold), var(--gold2)); color: #241a06; border: none; box-shadow: 0 0 14px rgba(236,201,133,.4); }
.tier-cta { max-width: 340px; margin-left: auto; margin-right: auto; }
@media (hover: hover) {
  .tier { transition: transform .22s cubic-bezier(.2,.7,.2,1), border-color .22s, box-shadow .22s; }
  .tier:hover { transform: translateX(3px); border-color: rgba(236,201,133,.4); box-shadow: 0 14px 34px -22px rgba(236,201,133,.5); }
}

/* карта лаборатории */
.lab-lead { margin-bottom: 18px; }
.lab-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.lab-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px; text-decoration: none; color: inherit;
  border: 1px solid rgba(120,140,190,.16); border-radius: 18px; background: rgba(20,28,54,.5); backdrop-filter: blur(8px); }
.lab-card b { display: block; margin-bottom: 3px; color: #fff; font-weight: 600; }
.lab-card p { margin: 0; color: var(--muted); font-size: .88rem; }
.lab-card > div { min-width: 0; }
.lab-arrow { margin-left: auto; color: var(--faint); align-self: center; font-size: 1.1rem; }
@media (min-width: 620px) { .lab-grid { grid-template-columns: 1fr 1fr; } }
@media (hover: hover) {
  .lab-card { transition: transform .22s cubic-bezier(.2,.7,.2,1), border-color .22s, box-shadow .22s; }
  .lab-card:hover { transform: translateY(-3px); border-color: rgba(236,201,133,.32);
    box-shadow: 0 20px 44px -26px rgba(0,0,0,.9), 0 0 24px -12px rgba(236,201,133,.25); }
  .lab-card:hover .lab-arrow { color: var(--gold); }
}

/* ============ КИНО v3: герой на весь экран + скролл-сцены (GSAP) ============ */
body { overflow-x: clip; }

/* герой-кино: полноэкранная сцена, вырывается из колонки 680px */
.lp-hero { padding-top: 0; }
.hero-cine { position: relative; width: 100vw; margin-left: calc(50% - 50vw);
  min-height: calc(100svh - 96px); display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 8px 20px 24px; }
.hero-copy { position: relative; z-index: 2; max-width: 680px; }
.hero-cine .lp-hero-stage { width: min(88vw, 50svh, 560px); margin: 6px auto 0; }
.hero-tail { position: relative; z-index: 2; width: 100%; max-width: 640px; }
.hero-note { max-width: 46ch; margin-left: auto; margin-right: auto; }
@media (min-width: 900px) {
  .hero-cine { min-height: calc(100vh - 64px); }
  .hero-cine .lp-hero-stage { width: min(54vh, 620px); }
  .lp-hero .arch { font-size: clamp(2.6rem, 4.6vw, 3.6rem); }
}

/* нить сквозь шаги (растёт скрабом на десктопе) */
.steps-wrap { position: relative; }
.steps-thread { display: none; }
@media (min-width: 620px) {
  /* шаги в ряд (кино-вёрстка) */
  .steps-wrap .steps-grid { flex-direction: row; align-items: stretch; }
  .steps-wrap .step { flex: 1; }
  /* нить видима по умолчанию (no-JS инвариант); прячет и растит её только GSAP */
  .steps-thread { display: block; position: absolute; left: 2%; right: 2%; top: 50%;
    height: 2px; border-radius: 2px; transform-origin: left center;
    background: linear-gradient(90deg, rgba(236,201,133,.05), rgba(236,201,133,.55), rgba(236,201,133,.05));
    box-shadow: 0 0 12px rgba(236,201,133,.35); }
}

/* один золотой пульс горячего тарифа при появлении */
@keyframes tierPulse { 0% { box-shadow: 0 0 0 0 rgba(236,201,133,.4); } 100% { box-shadow: 0 0 0 24px rgba(236,201,133,0); } }
.tier-pulse { animation: tierPulse 1.1s ease-out 1; }
@media (prefers-reduced-motion: reduce) { .tier-pulse { animation: none; } }

/* квиз: короткий отклик на выбор ответа */
@keyframes optPick { 0% { transform: scale(1); } 40% { transform: scale(1.014); } 100% { transform: scale(1); } }
.opt:has(input:checked) { animation: optPick .28s ease-out 1; }
@media (prefers-reduced-motion: reduce) { .opt:has(input:checked) { animation: none; } }

/* квиз v2: заголовок вопроса внутри карточки, номер - золотой кружок */
.quiz .q { padding: 18px 18px 12px; }
.q-legend { float: left; width: 100%; padding: 0; margin: 0 0 14px;
  display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.q-num { flex: 0 0 30px; height: 30px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, var(--gold), var(--gold2)); color: #241a06;
  font-weight: 800; font-size: .92rem; font-variant-numeric: tabular-nums;
  box-shadow: 0 0 14px rgba(236,201,133,.35); }
.q-text { padding-top: 3px; line-height: 1.45; }
.quiz .scale { clear: both; } /* legend во float - шкалу возвращаем в поток */
@media (hover: hover) {
  .quiz .q { transition: border-color .25s ease, box-shadow .25s ease; }
  .quiz .q:focus-within, .quiz .q:hover { border-color: rgba(236,201,133,.3);
    box-shadow: 0 14px 34px -24px rgba(0,0,0,.9), 0 0 22px -12px rgba(236,201,133,.2); }
}

/* глифы архетипов: мини-схемы траекторий + мерцающее сияние (дыхание) */
/* асимметричное дыхание: долгое плавное разгорание (пик на 68% цикла), мягкое затухание.
   ВАЖНО: состав filter-списка ОДИНАКОВ во всех кадрах (2×drop-shadow + brightness) -
   при разном составе браузер НЕ интерполирует, а щёлкает дискретно = резкое загорание */
@keyframes glyphGlow {
  0% { filter: drop-shadow(0 0 4px rgba(236,201,133,.12)) drop-shadow(0 0 2px rgba(236,201,133,.08)) brightness(.82);
       animation-timing-function: cubic-bezier(.45,.05,.55,.95); }
  68% { filter: drop-shadow(0 0 22px rgba(236,201,133,.95)) drop-shadow(0 0 8px rgba(236,201,133,.7)) brightness(1.45);
        animation-timing-function: cubic-bezier(.45,.05,.55,.95); }
  100% { filter: drop-shadow(0 0 4px rgba(236,201,133,.12)) drop-shadow(0 0 2px rgba(236,201,133,.08)) brightness(.82); }
}
.arch-glyph { display: block; width: 46px; height: 46px; margin-bottom: 10px;
  animation: glyphGlow 5.6s infinite; }
.report-glyph .arch-glyph { width: 56px; height: 56px; margin: 0 0 12px; }
/* фазы вразнобой - глифы дышат не хором (растянуты под цикл 7.5с) */
.arch-item:nth-child(2) .arch-glyph { animation-delay: -2.2s; }
.arch-item:nth-child(3) .arch-glyph { animation-delay: -4.6s; }
.arch-item:nth-child(4) .arch-glyph { animation-delay: -1.2s; }
.arch-item:nth-child(5) .arch-glyph { animation-delay: -3.4s; }
.arch-item:nth-child(6) .arch-glyph { animation-delay: -6.1s; }
.arch-item:nth-child(7) .arch-glyph { animation-delay: -4.0s; }
.arch-item:nth-child(8) .arch-glyph { animation-delay: -1.8s; }
@media (hover: hover) {
  .arch-item:hover .arch-glyph { animation: none;
    filter: drop-shadow(0 0 14px rgba(236,201,133,.7)); transition: filter .3s ease, transform .3s ease;
    transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .arch-glyph { animation: none; filter: drop-shadow(0 0 7px rgba(236,201,133,.3)); }
}

/* mo-boot: герой скрыт до старта увертюры (класс ставит инлайн-скрипт index ДО отрисовки;
   снимают motion.js или страховочный таймер - без JS герой виден) */
.mo-boot .hero-copy, .mo-boot .hero-tail { opacity: 0; }

/* свечение дерева-героя (усиливается скрабом при скролле) */
/* на мобиле свечение с inset:-12% вылезало за экран → горизонтальный скролл body;
   обрезаем по краю героя (десктоп не трогаем - там GSAP-пин, clip мог бы ему помешать) */
@media (max-width: 700px) { .hero-cine { overflow-x: clip; } }
.hero-glow { position: absolute; inset: -12%; pointer-events: none; opacity: 0;
  background: radial-gradient(48% 48% at 50% 46%, rgba(236,201,133,.42), rgba(236,201,133,0) 72%);
  mix-blend-mode: screen; }

/* --- Блок «Сохраните доступ к кабинету» (логин/пароль) --- */
.cred-card { border-color: var(--gold2); background: linear-gradient(180deg, rgba(40,32,10,.34), rgba(19,27,51,.5)); }
.cred-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 10px 0; }
.cred-label { min-width: 62px; color: var(--faint); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
.cred-val { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 1.15rem; letter-spacing: .04em;
  color: var(--gold); background: rgba(0,0,0,.28); border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; user-select: all; }
.cred-copy { border: 1px solid var(--gold2); background: transparent; color: var(--gold); border-radius: 8px; padding: 6px 12px; cursor: pointer; font: inherit; font-size: .85rem; }
.cred-copy:hover { background: rgba(232,195,123,.12); }
.cred-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0 4px; }
.cred-actions .btn { flex: 0 0 auto; }
.cred-warn { color: var(--faint); font-size: .85rem; margin: 10px 0 0; }

/* --- Страница входа /vhod/ --- */
.auth { max-width: 460px; margin: 0 auto; }
.auth-card { display: flex; flex-direction: column; gap: 6px; }
.auth-label { color: var(--faint); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; margin-top: 8px; }
.auth-input { width: 100%; box-sizing: border-box; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  background: rgba(0,0,0,.28); color: var(--ink); font: inherit; font-size: 1.05rem; }
.auth-input:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold2); }
.auth-card .btn { margin-top: 16px; }
.auth-error { color: #ffb4a8; background: rgba(120,30,24,.28); border: 1px solid rgba(200,80,70,.4); border-radius: 10px; padding: 10px 14px; }
.auth-note { color: var(--faint); font-size: .9rem; margin-top: 16px; }
.auth-note a { color: var(--gold); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --- Управление доступом в кабинете --- */
.cred-manage .cred-val { font-size: 1.05rem; }
.cred-manage form { margin: 12px 0 8px; }
.logout-form { margin-top: 20px; text-align: center; }
.btn-link { background: none; border: none; color: var(--faint); font: inherit; cursor: pointer; text-decoration: underline; padding: 8px; }
.btn-link:hover { color: var(--ink); }
