/* AnchorPoint — тема «синий час»: глубокий вечерний синий, тёплый белый текст, мягкое золото на кнопках.
   Мобильная вёрстка в первую очередь. Спокойно, без неона: свет только тёплый и приглушённый.
   Цвета — переменные в :root; поправки для тёмной темы — блок «тёмная тема» в конце файла. */

@font-face { font-family: "Cormorant"; src: url("/static/fonts/CormorantGaramond-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("/static/fonts/CormorantGaramond-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("/static/fonts/CormorantGaramond-SemiBoldItalic.woff2") format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/static/fonts/Manrope-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/static/fonts/Manrope-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/static/fonts/Manrope-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/static/fonts/Manrope-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #0f1532;
  --bg-2: #161d42;
  --card: #18204a;
  --card-2: #1e2756;
  --ink: #f5f0e6;
  --ink-2: #d9d6e7;
  --muted: #a8abc7;
  --dim: #8085a8;
  --line: #2b3469;
  --line-2: #222a5b;
  --brand: #dcb56f;
  --brand-2: #e8c584;
  --on-brand: #141a3d;
  --brand-soft: rgba(220, 181, 111, .12);
  --brand-line: rgba(220, 181, 111, .45);
  --gold: #dcb56f;
  --gold-2: #e8c584;
  --gold-soft: rgba(220, 181, 111, .09);
  --gold-line: rgba(220, 181, 111, .3);
  --rose: #ec9c90;
  --rose-soft: rgba(236, 156, 144, .1);
  --sage: #8ccfa6;
  --sage-soft: rgba(140, 207, 166, .12);
  --link: #c9d0f7;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 18px 40px -22px rgba(0, 0, 0, .75);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, .35), 0 30px 70px -30px rgba(0, 0, 0, .85);
  --serif: "Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --pad: clamp(18px, 4.6vw, 30px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; background: var(--bg); }  /* якоря — не под шапкой */
body {
  margin: 0; min-height: 100vh; min-height: 100svh; color: var(--ink); font-family: var(--sans); font-weight: 500;
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  background: var(--bg); overflow-x: hidden; position: relative;
}
body::before { /* мягкий утренний свет сверху страницы */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 640px; z-index: 0; pointer-events: none;
  background:
    radial-gradient(900px 440px at 50% -160px, rgba(247, 214, 166, .55), transparent 70%),
    radial-gradient(640px 380px at 100% -60px, rgba(206, 216, 244, .55), transparent 70%),
    radial-gradient(520px 320px at 0% 40px, rgba(244, 226, 214, .5), transparent 70%);
}
body.locked { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration-color: rgba(39, 53, 107, .3); text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { a:hover { text-decoration-color: currentColor; } }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 10px; }
::selection { background: rgba(201, 154, 74, .3); }

.wrap { position: relative; z-index: 1; width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--pad); }

/* ───────── шапка ───────── */
.brand { display: flex; align-items: center; justify-content: space-between; padding: 16px 0 6px; }
.brand a.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.emblem { width: 34px; height: 34px; }
.wordmark { font-family: var(--serif); font-weight: 700; font-size: 25px; letter-spacing: .01em; color: var(--ink); }
.wordmark small { display: block; font-family: var(--sans); font-size: 10px; font-weight: 700; letter-spacing: .22em; color: var(--dim); text-transform: uppercase; margin-top: -3px; }
@media (max-width: 479px) { .wordmark small { display: none !important; } .wordmark { font-size: 23px; } }
.topnav { display: flex; align-items: center; gap: 4px; }
.topnav a { font-size: 13.5px; font-weight: 700; color: var(--muted); text-decoration: none; padding: 7px 12px; border-radius: 999px; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .topnav a:hover { color: var(--ink); background: rgba(255, 255, 255, .7); } }
.topnav .mylib { border: 1px solid var(--line); background: var(--card); color: var(--ink-2); }

/* ───────── первый экран: хук и сразу первый вопрос — без лишних шагов ─────────
   Телефон: короткий хук (две-три строки) и карточка вопроса — все три ответа видны без прокрутки.
   Компьютер: хук слева, вопрос справа, оба по центру экрана. Первый ответ — хук тает, вопросы идут наверху. */
.start { display: grid; gap: 10px; align-items: center; align-content: center; padding: 0 0 28px;
  min-height: calc(100vh - 66px); min-height: calc(100svh - 66px); }  /* подвал — ниже первого экрана */
.hook { position: relative; max-width: 600px; margin: 0 auto; text-align: center; transition: opacity .28s ease, transform .28s ease; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 0 4px rgba(201, 154, 74, .16); }
.hook h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(33px, 8.8vw, 74px); line-height: 1.04; letter-spacing: -.01em;
  margin: 8px auto 2px; color: var(--ink); text-wrap: balance; }
.hook .whisper { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(20px, 5vw, 30px); line-height: 1.3; color: var(--gold-2); }
.hook .chips, .hook .verse-line { display: none; }
.chips { flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.chips li { font-size: 12.5px; font-weight: 700; color: var(--ink-2); padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.chips li b { color: var(--brand); font-weight: 800; }
.verse-line { margin-top: 20px; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 14px; max-width: 470px; }
.verse-line svg { flex: 0 0 22px; margin-top: 2px; }
.verse-line q { font-family: var(--serif); font-style: italic; font-size: 17.5px; color: var(--ink-2); quotes: "“" "”"; }
.assure { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; margin: 14px 0 0; font-size: 12.5px; font-weight: 700; color: var(--dim); }
.assure span + span::before { content: "·"; margin-right: 12px; color: var(--line); }
@media (min-width: 960px) {
  .start { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); column-gap: clamp(40px, 5vw, 84px);
    min-height: calc(100vh - 70px); min-height: calc(100svh - 70px); padding: 8px 0 40px; }
  .hook { margin: 0; text-align: left; }
  .hook h1 { margin: 16px 0 12px; max-width: 13ch; }
  .hook .chips, .hook .verse-line { display: flex; }
}
@media (max-width: 370px) { .hook h1 { font-size: 30px; } .hook .whisper { font-size: 19px; } }
/* первая карточка на телефоне — плотнее: вопрос в две строки, все ответы на экране */
@media (max-width: 599px) {
  #q-first .qhead { margin-bottom: 12px; }
  #q-first .qtext { font-size: 23px; }
  #q-first .hint { margin-bottom: 8px; font-size: 14px; }
  #q-first .opts { margin-top: 10px; gap: 8px; }
  #q-first .opt { padding: 11px 14px; }
  #q-first .assure { margin-top: 10px; }
}
.app.quiz-go .hook { opacity: 0; transform: translateY(-14px); }
/* ничто декоративное не делает страницу шире экрана (иначе на телефоне её можно сдвинуть вбок — «сайт уезжает влево»);
   clip, а не hidden: не создаёт прокрутку и не ломает закреплённую шапку */
.app, .foot { overflow-x: clip; }
.foot { overflow-wrap: anywhere; }
.app.quiz-on .start { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 4px; }
.app.quiz-on .hook, html.resume .hook { display: none; }
.app.quiz-on .stage { min-height: calc(100vh - 130px); min-height: calc(100svh - 130px); }

/* ───────── карточка ───────── */
.stage { width: 100%; max-width: 600px; margin: 0 auto; }
.stage.wide { max-width: 720px; }
.card { position: relative; border-radius: var(--radius); padding: var(--pad); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.card.enter { animation: cardIn .45s var(--ease) both; }
.card.leave { animation: cardOut .2s ease-in both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes cardOut { to { opacity: 0; transform: translateY(-6px); } }
.center { text-align: center; }

.qhead { display: grid; gap: 8px; margin-bottom: 16px; }
.qnum { display: flex; justify-content: space-between; font-size: 12px; font-weight: 800; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.qnum b { color: var(--brand); font-weight: 800; }
.bar { height: 6px; border-radius: 9px; background: var(--line-2); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand), #4a5aa0); transition: width .5s var(--ease); }

.qtext { font-family: var(--serif); font-weight: 600; font-size: clamp(25px, 5.4vw, 31px); line-height: 1.17; margin: 2px 0 6px; color: var(--ink); }
.qtext.quote { font-style: italic; }
.hint { margin: 0 0 14px; font-size: 14.5px; color: var(--muted); }
.almost { margin: 0 0 12px; font-size: 13.5px; color: var(--gold); font-weight: 800; }

.note { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 16px; padding: 12px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.5;
  background: var(--gold-soft); border: 1px solid #efdfc0; color: var(--ink-2); animation: cardIn .5s var(--ease) both .1s; }
.note .ico { flex: 0 0 auto; font-size: 16px; line-height: 1.4; }
.note em { font-family: var(--serif); font-size: 17.5px; color: var(--ink); }

/* варианты ответа */
.opts { display: grid; gap: 10px; margin: 14px 0 4px; }
.opt { width: 100%; display: flex; align-items: center; gap: 13px; text-align: left; cursor: pointer; padding: 13px 14px; border-radius: var(--radius-sm);
  background: var(--card); border: 1.5px solid var(--line); font-size: 16px; font-weight: 600; line-height: 1.35; color: var(--ink);
  transition: border-color .18s, background .18s, transform .12s; -webkit-tap-highlight-color: transparent; }
@media (hover: hover) and (pointer: fine) { .opt:hover { border-color: var(--brand-line); background: #fbfcff; } }
.opt:active { transform: scale(.99); }
.opt .em { flex: 0 0 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; font-size: 19px; background: var(--bg-2); }
.opt .em.dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-2); }
.opt .arrow { margin-left: auto; color: var(--dim); flex: 0 0 auto; }
.opt.picked { border-color: var(--brand); background: var(--brand-soft); }
.opt.picked .arrow { color: var(--brand); }
.opt .box { margin-left: auto; flex: 0 0 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--brand-line); display: grid; place-items: center; transition: background .15s, border-color .15s; }
.opt.on { border-color: var(--brand); background: var(--brand-soft); }
.opt.on .box { background: var(--brand); border-color: var(--brand); }
.opt.on .box::after { content: ""; width: 10px; height: 6px; border-left: 2.4px solid #fff; border-bottom: 2.4px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.opts.grid { grid-template-columns: 1fr 1fr; }
.opts.grid .opt { flex-direction: column; justify-content: center; text-align: center; gap: 8px; min-height: 104px; padding: 14px 10px; }
.opts.grid .opt .em { flex: 0 0 auto; width: 46px; height: 46px; font-size: 24px; border-radius: 50%; }
.opts.grid .opt .arrow { display: none; }

/* шкала «не про меня — про меня» */
.scale { margin: 18px 0 6px; }
.scale .dots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.scale button { aspect-ratio: 1; max-width: 62px; width: 100%; justify-self: center; border-radius: 50%; border: 1.5px solid var(--line); background: var(--card); cursor: pointer;
  font-weight: 800; font-size: 17px; color: var(--ink-2); transition: all .15s; }
@media (hover: hover) and (pointer: fine) { .scale button:hover { border-color: var(--brand-line); background: #fbfcff; } }
.scale button.picked { background: var(--brand); border-color: var(--brand); color: #fff; transform: scale(1.06); }
.scale .ends { display: flex; justify-content: space-between; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--muted); }

.back { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 8px 2px; background: none; border: 0; color: var(--muted); font-size: 14px; font-weight: 700; cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .back:hover { color: var(--ink); } }

/* ───────── кнопки и поля ───────── */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 56px; padding: 15px 22px;
  border: 0; border-radius: 999px; cursor: pointer; font-size: 16.5px; font-weight: 800; letter-spacing: .005em; text-decoration: none; text-align: center;
  color: #fff; background: var(--brand); box-shadow: 0 10px 24px -12px rgba(39, 53, 107, .65); transition: background .2s, transform .12s, box-shadow .2s; }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: var(--brand-2); } }
.btn:active { transform: scale(.99); }
.btn[disabled] { opacity: .5; cursor: default; }
.btn.gold { background: linear-gradient(180deg, #d6a956, #b98a3e); color: #fff; box-shadow: 0 10px 24px -12px rgba(169, 124, 53, .75); }
@media (hover: hover) and (pointer: fine) { .btn.gold:hover { background: linear-gradient(180deg, #cf9f4a, #a87c35); } }
.btn.ghost { color: var(--ink); background: var(--card); border: 1.5px solid var(--line); box-shadow: none; font-weight: 700; }
@media (hover: hover) and (pointer: fine) { .btn.ghost:hover { border-color: var(--brand-line); background: #fbfcff; } }
.btn.small { min-height: 46px; font-size: 15px; padding: 11px 18px; }
.btn .arrow { flex: 0 0 auto; }
.btn .sub { font-weight: 600; opacity: .8; }
.linkbtn { background: none; border: 0; color: var(--muted); font-weight: 700; font-size: 14.5px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(103, 108, 132, .4); padding: 8px; }
@media (hover: hover) and (pointer: fine) { .linkbtn:hover { color: var(--ink); } }
.stack { display: grid; gap: 12px; margin-top: 18px; }

.field { display: grid; gap: 7px; margin: 16px 0 6px; }
.field label { font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 56px; padding: 0 18px; border-radius: 14px; font: 600 18px var(--sans); color: var(--ink);
  background: var(--card); border: 1.5px solid var(--line); outline: none; transition: border-color .2s, box-shadow .2s; }
.field textarea { padding: 14px 18px; min-height: 140px; font-size: 16px; line-height: 1.55; resize: vertical; }
.field select { font-size: 16px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%2327356b' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; }
.field input::placeholder, .field textarea::placeholder { color: #b3b5c3; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(39, 53, 107, .1); }
.fine { font-size: 12.5px; color: var(--dim); margin: 10px 0 0; line-height: 1.55; }
.fine a { color: var(--muted); }
.err { color: var(--rose); font-size: 14px; font-weight: 700; margin: 8px 0 0; min-height: 1em; }

/* ───────── вставки между вопросами ───────── */
.inter { text-align: center; padding-top: clamp(26px, 6vw, 40px); padding-bottom: clamp(24px, 6vw, 36px); }
.inter .art { width: 112px; height: 112px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, #fff7e8, var(--gold-soft) 70%); border: 1px solid #efdfc0; }
.inter .art svg { width: 64px; height: 64px; }
.eyebrow { font-size: 11.5px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0 0 8px; }
.inter h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(29px, 6.2vw, 38px); line-height: 1.1; margin: 0 0 10px; }
.inter p.text { color: var(--ink-2); font-size: 16.5px; margin: 0 auto 16px; max-width: 460px; }
.inter blockquote { margin: 6px auto 20px; max-width: 460px; font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.4; color: var(--ink); }
.inter blockquote cite { display: block; margin-top: 8px; font-family: var(--sans); font-style: normal; font-size: 12px; font-weight: 800; letter-spacing: .14em; color: var(--gold); text-transform: uppercase; }
.sofar { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0 0 20px; padding: 0; list-style: none; }
.sofar li { font-size: 12.5px; font-weight: 700; color: var(--sage); background: var(--sage-soft); border-radius: 999px; padding: 5px 11px; }
.sofar li::before { content: "✓ "; }

/* ───────── сборка плана ───────── */
.scan { text-align: center; padding-top: clamp(28px, 7vw, 44px); }
.ring { position: relative; width: 150px; height: 150px; margin: 0 auto 20px; }
.ring svg { width: 150px; height: 150px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 9; }
.ring .track { stroke: var(--line-2); }
.ring .fill { stroke: var(--brand); stroke-linecap: round; transition: stroke-dashoffset .25s linear; }
.ring .pct { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 40px; color: var(--ink); }
.steps { list-style: none; padding: 0; margin: 4px auto 0; max-width: 380px; text-align: left; display: grid; gap: 12px; }
.steps li { display: flex; gap: 12px; align-items: center; color: var(--dim); font-weight: 600; transition: color .3s; }
.steps li .tick { flex: 0 0 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; font-size: 12px; }
.steps li.now { color: var(--ink); }
.steps li.now .tick { border-color: var(--brand); border-top-color: transparent; animation: spin .9s linear infinite; }
.steps li.done { color: var(--ink-2); }
.steps li.done .tick { border-color: var(--sage); background: var(--sage); color: #fff; }
.steps li.done .tick::before { content: "✓"; font-weight: 800; }
@keyframes spin { to { transform: rotate(360deg); } }
.ask { margin-top: 22px; padding: 18px; border-radius: 18px; background: var(--brand-soft); border: 1px solid var(--brand-line); animation: cardIn .4s var(--ease) both; }
.ask p { margin: 0 0 12px; font-family: var(--serif); font-size: 22px; font-weight: 600; line-height: 1.25; }
.ask .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ───────── результат ───────── */
.r-title { font-family: var(--serif); font-weight: 700; font-size: clamp(34px, 7.6vw, 46px); line-height: 1.04; margin: 0; color: var(--ink); }
.ref { display: inline-block; margin: 12px 0 16px; font-size: 12.5px; font-weight: 800; letter-spacing: .12em; color: var(--gold); padding: 5px 11px; border-radius: 999px; background: var(--gold-soft); }
.lead { font-size: 17px; line-height: 1.75; color: var(--ink-2); margin: 0 0 14px; }
.mirror { font-family: var(--serif); font-size: clamp(21px, 4.6vw, 25px); line-height: 1.32; font-weight: 600; margin: 4px 0 20px; padding: 2px 0 2px 16px; border-left: 3px solid var(--gold-2); color: var(--ink); }
.gauge { display: grid; grid-template-columns: 130px 1fr; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 18px; background: var(--bg); border: 1px solid var(--line); margin: 6px 0 18px; }
.gauge svg { width: 130px; height: 80px; overflow: visible; }
.gauge .val { font-family: var(--serif); font-weight: 700; font-size: 40px; line-height: 1; color: var(--ink); }
.gauge .lab { font-size: 11.5px; font-weight: 800; letter-spacing: .16em; color: var(--muted); text-transform: uppercase; margin-top: 4px; }
.gauge .lvl { display: block; color: var(--rose); font-weight: 800; font-size: 15px; margin-top: 2px; }
.gauge .disc { font-size: 12px; color: var(--dim); margin-top: 6px; }
@media (max-width: 420px) { .gauge { grid-template-columns: 104px 1fr; gap: 12px; } .gauge svg { width: 104px; height: 64px; } .gauge .val { font-size: 34px; } }
.versecard { position: relative; padding: 18px 18px 16px 50px; border-radius: 18px; background: var(--gold-soft); border: 1px solid #efdfc0; margin: 6px 0 18px; }
.versecard::before { content: "“"; position: absolute; left: 14px; top: 0; font-family: var(--serif); font-size: 58px; color: var(--gold-2); }
.versecard p { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(19px, 4.2vw, 22px); line-height: 1.4; color: var(--ink); }
.versecard cite { display: block; margin-top: 8px; font-style: normal; font-size: 12px; font-weight: 800; letter-spacing: .14em; color: var(--gold); text-transform: uppercase; }

/* ───────── молитва ───────── */
.prayer-head { font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 6.4vw, 36px); line-height: 1.12; margin: 2px 0 8px; }
.player { display: grid; justify-items: center; gap: 12px; margin: 18px 0 8px; }
.play { position: relative; width: 116px; height: 116px; border-radius: 50%; border: 0; cursor: pointer; background: var(--brand); box-shadow: 0 16px 34px -14px rgba(39, 53, 107, .7); display: grid; place-items: center; transition: transform .15s; }
@media (hover: hover) and (pointer: fine) { .play:hover { transform: scale(1.03); } }
.play svg.ring2 { position: absolute; inset: -12px; width: calc(100% + 24px); height: calc(100% + 24px); transform: rotate(-90deg); }
.play svg.ring2 circle { fill: none; stroke-width: 3; }
.play svg.ring2 .bg { stroke: var(--line); }
.play svg.ring2 .fg { stroke: var(--gold-2); stroke-linecap: round; transition: stroke-dashoffset .3s linear; }
.play .icon { width: 40px; height: 40px; fill: #fff; }
.time { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--muted); font-variant-numeric: tabular-nums; }
.readalong { margin-top: 8px; }
.readalong summary { cursor: pointer; color: var(--muted); font-weight: 700; font-size: 14px; list-style: none; text-align: center; }
.readalong summary::-webkit-details-marker { display: none; }
.readalong p { font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.55; color: var(--ink-2); margin: 14px 0 0; text-align: left; }

/* ───────── план ───────── */
.plan-head { text-align: center; margin-bottom: 18px; }
.plan-head h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(30px, 6.6vw, 42px); line-height: 1.08; margin: 0 0 8px; }
.plan-head p { margin: 0 auto; color: var(--ink-2); max-width: 480px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0; }
.fact { padding: 14px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); }
.fact .k { font-size: 11px; font-weight: 800; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.fact .v { margin-top: 4px; font-weight: 800; font-size: 15.5px; color: var(--ink); line-height: 1.3; }
.fact .ic { font-size: 18px; margin-bottom: 4px; }
.goalrow { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.goalrow span { font-size: 13px; font-weight: 700; color: var(--brand); background: var(--brand-soft); border-radius: 999px; padding: 6px 12px; }
.path { margin: 8px 0 18px; padding: 16px 16px 10px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, #fffdf9, #fff); }
.path h3, .section-title { margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .16em; color: var(--muted); text-transform: uppercase; }
.path svg { width: 100%; max-width: 440px; height: auto; margin: 4px auto 0; }
.weeks { display: grid; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.weeks li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; padding: 10px 0; border-top: 1px dashed var(--line); }
.weeks li:first-child { border-top: 0; }
.weeks .w { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: var(--brand); background: var(--brand-soft); }
.weeks b { display: block; font-size: 15.5px; }
.weeks small { color: var(--muted); font-size: 13px; }

/* ───────── оффер ───────── */
.offer-book { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; margin: 4px 0 16px; padding: 14px; border-radius: 18px; background: var(--bg); border: 1px solid var(--line); }
.offer-book img { width: 112px; aspect-ratio: 8.5 / 11; object-fit: cover; border-radius: 3px 8px 8px 3px; box-shadow: 10px 14px 28px -14px rgba(31, 36, 67, .6); }
.offer-book b { font-size: 16px; }
.offer-book p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.offer-book .linkbtn { padding: 6px 0 0; font-size: 13.5px; }
.inc { list-style: none; margin: 8px 0 18px; padding: 0; display: grid; gap: 2px; }
.inc li { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: start; padding: 11px 0; border-bottom: 1px solid var(--line-2); }
.inc li:last-child { border-bottom: 0; }
.inc li.grp { display: block; padding: 16px 0 2px; border-bottom: 0; font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.inc li.grp:first-child { padding-top: 4px; }
.inc .i { font-size: 19px; line-height: 1.3; text-align: center; }
.inc b { display: block; font-size: 15.5px; line-height: 1.35; }
.inc small { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.45; margin-top: 2px; }
.inc .val { font-size: 12.5px; font-weight: 800; color: var(--sage); background: var(--sage-soft); border-radius: 999px; padding: 3px 9px; white-space: nowrap; margin-top: 2px; }
.inc .val s { margin-right: 2px; font-weight: 600; color: var(--dim); text-decoration-thickness: 1px; }  /* цена отдельно — тихо зачёркнута */
.pricecard { margin: 6px 0 12px; padding: 20px; border-radius: 20px; border: 2px solid var(--brand); background: linear-gradient(180deg, #f7f8fd, #fff); position: relative; }
.pricecard .tag { position: absolute; top: -12px; left: 18px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--brand); padding: 4px 10px; border-radius: 999px; }
.pricecard .row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pricecard .big { font-family: var(--serif); font-weight: 700; font-size: 44px; line-height: 1; color: var(--ink); }
.pricecard .per { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.pricecard .then { margin: 8px 0 0; font-size: 14.5px; color: var(--ink-2); }
.pricecard .value { margin: 10px 0 0; font-size: 13.5px; color: var(--muted); }
.pricecard .value s { color: var(--dim); }
.today { display: flex; justify-content: space-between; margin: 14px 0 0; padding-top: 12px; border-top: 1px dashed var(--line); font-weight: 800; }
.disclose { margin: 12px 0 0; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
/* ───────── финальная страница — «история, которую листают»: герой с личным графиком → «мы услышали» → путь по
   неделям → утро в телефоне → всё, что входит (плитки) → цена → вопросы → финал. Анимации — только opacity/transform ───────── */
.stage.xl { max-width: 1080px; }
.offerx { position: relative; }
.offerx > section { position: relative; padding: 8px 0 54px; }
.offerx .eyebrow { text-align: center; }
.offerx .gold { color: var(--gold-2); }
.ox-h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(40px, 10.6vw, 72px); line-height: 1.02; text-align: center;
  margin: 2px auto 14px; max-width: 880px; color: var(--ink); text-wrap: balance; text-shadow: 0 2px 26px rgba(8, 11, 32, .55); }
.ox-h1 .w { display: inline-block; opacity: 0; transform: translateY(.32em); animation: oxWord .9s var(--ease) forwards;
  animation-delay: calc(.07s * var(--i) + .12s); }
@keyframes oxWord { to { opacity: 1; transform: none; } }
.ox-h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(31px, 8.2vw, 50px); line-height: 1.06; text-align: center;
  margin: 0 auto 24px; max-width: 780px; color: var(--ink); text-wrap: balance; }
.ox-lede { text-align: center; font-size: 16.5px; line-height: 1.55; color: var(--ink-2); max-width: 580px; margin: 0 auto 22px;
  text-shadow: 0 2px 18px rgba(8, 11, 32, .6); }
.ox-lede b { color: var(--ink); }
/* появление при прокрутке */
.rv-on [data-rv] { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform 1s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms); }
.rv-on [data-rv].in { opacity: 1; transform: none; }
/* герой: личный график */
.ox-hero { text-align: center; }
.ox-chartwrap { position: relative; max-width: 580px; margin: 0 auto; }
.ox-glow { position: absolute; left: 50%; top: 46%; width: 130%; height: 120%; transform: translate(-50%, -50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(232, 197, 132, .2), rgba(120, 132, 214, .1) 55%, transparent); }
.ox-chart { position: relative; padding: 16px 14px 14px; border-radius: 24px; text-align: left; border: 1px solid rgba(220, 181, 111, .26);
  background: linear-gradient(180deg, rgba(31, 40, 90, .9), rgba(18, 25, 62, .92)); box-shadow: var(--shadow-lg); }
.ox-chart-h { display: flex; justify-content: space-between; align-items: center; margin: 0 4px 4px; font-size: 11.5px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ox-chart-h .tag { letter-spacing: .1em; font-size: 10px; color: var(--on-brand); background: var(--gold); border-radius: 999px; padding: 3px 9px; }
.pc { width: 100%; height: auto; overflow: visible; }
.pc .gl { stroke: rgba(255, 255, 255, .06); stroke-width: 1; }
.pc .gx { stroke: rgba(255, 255, 255, .05); stroke-width: 1; stroke-dasharray: 3 5; }
.pc .ln { fill: none; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.9s cubic-bezier(.55, .05, .25, 1) .25s; }
.pc .ln.gold { stroke-width: 3.6; }
.pc .ln.rose { stroke: #e79a8f; stroke-width: 2.4; opacity: .85; }
.pc .ar { opacity: 0; transition: opacity 1.2s ease 1.3s; }
.pc .here { fill: #e79a8f; }
.pc .pulse { fill: none; stroke: #e79a8f; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: pcPulse 2.2s ease-out infinite; }
@keyframes pcPulse { from { transform: scale(1); opacity: .9; } to { transform: scale(3.4); opacity: 0; } }
.pc .end, .pc .halo { transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .7s var(--ease) 1.9s; }
.pc .end { fill: #f3d28e; }
.pc .halo { fill: rgba(243, 210, 142, .22); }
.pc .t { font: 700 10.5px var(--sans); fill: var(--muted); }
.pc .t.rose { fill: #f0b0a6; opacity: 0; transition: opacity .6s ease .5s; }
.pc .t.gold { fill: var(--gold-2); font-size: 11.5px; opacity: 0; transition: opacity .6s ease 2s; }
.pc .t.ax { font-size: 10px; fill: var(--dim); }
.in .pc .ln, .ox-chartwrap:not([data-rv]) .pc .ln { stroke-dashoffset: 0; }
.in .pc .ar, .in .pc .t { opacity: 1; }
.in .pc .end, .in .pc .halo { transform: none; }
.ox-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 4px 4px 0; font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.ox-legend .lg::before { content: ""; display: inline-block; width: 18px; height: 3px; border-radius: 3px; margin-right: 7px; vertical-align: middle; }
.ox-legend .gold { color: var(--ink-2); }
.ox-legend .gold::before { background: linear-gradient(90deg, #8f9be0, #f3d28e); }
.ox-legend .rose::before { background: #e79a8f; }
.ox-cap { margin: 8px 4px 0; font-size: 11.5px; color: var(--dim); }
.ox-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 18px auto 0; max-width: 580px; }
.ox-facts span { font-size: 13px; font-weight: 700; color: var(--ink); padding: 7px 12px; border-radius: 999px; background: rgba(16, 22, 56, .85);
  border: 1px solid var(--line); }
.ox-cue { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; font-size: 14px; font-weight: 700; color: var(--gold-2); text-decoration: none; }
.ox-cue svg { animation: cueBob 1.8s ease-in-out infinite; }
@keyframes cueBob { 50% { transform: translateY(4px); } }
/* пока восстанавливаем после перезагрузки — первый вопрос не мелькает */
html.restoring #q-first { visibility: hidden; }
/* «С возвращением» */
.wb .wb-saved { list-style: none; margin: 14px auto 4px; padding: 0; display: inline-grid; gap: 6px; text-align: left; }
.wb .wb-saved li { font-size: 15px; font-weight: 700; color: var(--ink-2); }
.wb .wb-saved li::before { content: "✓ "; color: var(--sage); }
/* история в четырёх главах: золотая нить, римские цифры, главы проявляются при прокрутке */
.chaps { list-style: none; margin: 0 auto; padding: 0; max-width: 680px; display: grid; gap: 0; }
.chap { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding-bottom: 26px; }
.chap::before { content: ""; position: absolute; left: 21px; top: 46px; bottom: 6px; width: 2px; border-radius: 2px;
  background: linear-gradient(180deg, var(--gold), rgba(220, 181, 111, .08)); transform-origin: top; transform: scaleY(1); }
.chap:last-child::before { display: none; }
.rv-on .chap:not(.in)::before { transform: scaleY(0); }
.chap::before { transition: transform 1.4s var(--ease) .35s; }
.cn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; font-family: var(--serif); font-weight: 700;
  font-size: 20px; color: var(--on-brand); background: radial-gradient(circle at 35% 30%, #f6dca6, #c9973f); box-shadow: 0 0 0 5px rgba(220, 181, 111, .14); }
.cb { padding: 16px 18px; border-radius: 20px; background: rgba(24, 32, 74, .88); border: 1px solid var(--line); }
.ck { margin: 0; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.cb h3 { margin: 4px 0 8px; font-family: var(--serif); font-weight: 700; font-size: 25px; line-height: 1.15; color: var(--ink); }
.cb p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.cb blockquote { margin: 12px 0 0; padding: 12px 14px; border-left: 2px solid var(--gold); border-radius: 0 12px 12px 0;
  background: rgba(220, 181, 111, .07); font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 17.5px; line-height: 1.4; color: var(--ink); }
.cb cite, .why cite { display: block; margin-top: 6px; font-family: var(--sans); font-style: normal; font-size: 11px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.wts { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.wts li { padding-left: 14px; border-left: 2px solid var(--gold-line); font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.wts b { display: block; color: var(--ink); font-size: 15.5px; }
.mantra { max-width: 640px; margin: 10px auto 0; text-align: center; font-family: var(--serif); font-style: italic; font-weight: 600;
  font-size: clamp(26px, 7vw, 38px); line-height: 1.25; color: var(--gold-2); }
.mantra span { display: block; margin-top: 10px; font-family: var(--sans); font-style: normal; font-size: 11.5px; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
/* почему Бог на первом месте */
.whys { display: grid; gap: 12px; max-width: 980px; margin: 0 auto; }
.why { padding: 18px; border-radius: 22px; background: rgba(24, 32, 74, .9); border: 1px solid var(--gold-line); }
.why-ic { font-size: 26px; line-height: 1; }
.why h3 { margin: 10px 0 8px; font-family: var(--serif); font-weight: 700; font-size: 25px; line-height: 1.12; color: var(--ink); }
.why blockquote { margin: 0 0 10px; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 17px; line-height: 1.4; color: var(--ink); }
.why p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.ox-belief { max-width: 660px; margin: 26px auto 0; text-align: center; font-family: var(--serif); font-weight: 600; font-size: clamp(21px, 5.6vw, 28px);
  line-height: 1.35; color: var(--ink); }
.ox-honest { max-width: 560px; margin: 14px auto 0; text-align: center; font-size: 13px; line-height: 1.55; color: var(--muted); }
@media (min-width: 900px) { .whys { grid-template-columns: repeat(3, 1fr); } }
@media (prefers-reduced-motion: reduce) { .chap::before { transition: none; transform: none !important; } }
/* «мы услышали» */
.heard { display: grid; gap: 12px; max-width: 640px; margin: 0 auto; }
.hr { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 16px; border-radius: 20px;
  background: rgba(24, 32, 74, .88); border: 1px solid var(--line); }
.hr-ic { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; font-size: 21px; background: var(--gold-soft);
  border: 1px solid var(--gold-line); }
.hr-k { margin: 0; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hr-said { margin: 2px 0 6px; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 20px; line-height: 1.28; color: var(--ink); }
.hr-plan { margin: 0; font-size: 14.5px; line-height: 1.5; font-weight: 700; color: var(--gold-2); }
.hr-plan::before { content: "→ "; }
@media (min-width: 900px) { .heard { grid-template-columns: 1fr 1fr; max-width: 940px; } }
/* путь по неделям — карусель (на компьютере — 4 колонки) */
.wks { display: grid; grid-auto-flow: column; grid-auto-columns: min(82%, 330px); gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding: 0 var(--pad); padding: 4px var(--pad) 14px; margin: 0 calc(-1 * var(--pad));
  scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.wks::-webkit-scrollbar { display: none; }
.wk { scroll-snap-align: start; padding: 20px 18px 18px; border-radius: 22px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(220, 181, 111, .09), rgba(255, 255, 255, .015) 42%), var(--card); }
.wk-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.wk-n { font-family: var(--serif); font-weight: 700; font-size: 46px; line-height: 1; color: var(--gold); }
.wk-d { font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.wk h3 { margin: 10px 0 4px; font-family: var(--serif); font-weight: 700; font-size: 28px; line-height: 1.08; color: var(--ink); }
.wk-p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.wk ol { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 7px; counter-reset: m var(--start); }
.wk li { counter-increment: m; display: grid; grid-template-columns: 26px 1fr; font-size: 13.5px; line-height: 1.35; color: var(--ink-2); }
.wk li::before { content: counter(m); font-weight: 800; font-size: 11.5px; color: var(--gold); padding-top: 1px; }
.wk-dots { display: flex; justify-content: center; gap: 6px; margin-top: 2px; }
.wk-dots i { width: 6px; height: 6px; border-radius: 6px; background: var(--line); transition: width .3s var(--ease), background .3s; }
.wk-dots i.on { width: 22px; background: var(--gold); }
.ox-when { max-width: 560px; margin: 20px auto 0; text-align: center; font-size: 15.5px; color: var(--ink-2); }
@media (min-width: 900px) {
  .wks { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: 4px 0 0; }
  .wk-dots { display: none; }
}
/* утро в телефоне */
.ph-wrap { display: grid; gap: 30px; justify-items: center; }
.phone { position: relative; width: min(296px, 78vw); aspect-ratio: 9 / 18.6; border-radius: 46px; padding: 10px; pointer-events: none;
  background: linear-gradient(160deg, #2c356c, #0b1030 62%);
  box-shadow: 0 0 0 1.5px rgba(220, 181, 111, .35), 0 44px 80px -30px rgba(0, 0, 0, .9), 0 0 140px -30px rgba(232, 197, 132, .35); }
.rv-on .phone[data-rv] { transform: perspective(1100px) rotateX(22deg) translateY(70px) scale(.92); transition-duration: 1.3s; }
.rv-on .phone[data-rv].in { transform: none; }
.ph-screen { position: relative; height: 100%; overflow: hidden; border-radius: 37px; padding: 12px 16px; font-size: 11.5px; line-height: 1.5;
  color: var(--ink-2); text-align: left; background: radial-gradient(120% 55% at 50% 0%, #222c62, #10163a 72%); }
.ph-screen::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 54px; background: linear-gradient(180deg, rgba(16, 22, 58, 0), #10163a); }
.ph-bar { display: flex; justify-content: space-between; align-items: center; margin: 0 2px 16px; font-size: 10.5px; font-weight: 800; color: var(--ink); }
.ph-bar i { width: 76px; height: 21px; border-radius: 21px; background: #05081a; }
.ph-bar span:last-child { font-size: 9px; letter-spacing: .08em; color: var(--gold); }
.ph-k { margin: 0; font-size: 8.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.ph-t { margin: 2px 0 8px; font-family: var(--serif); font-weight: 700; font-size: 25px; line-height: 1.08; color: var(--ink); }
.ph-v { margin: 0 0 9px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line);
  font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 14.5px; line-height: 1.32; color: var(--ink); }
.ph-v b { display: block; margin-top: 5px; font-family: var(--sans); font-style: normal; font-size: 8.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold); }
.ph-b { margin: 0 0 9px; }
.ph-l { margin: 0 0 9px; padding: 8px 10px; border-radius: 10px; background: rgba(220, 181, 111, .09); font-size: 10.5px; line-height: 1.45; }
.ph-l b { display: block; color: var(--ink); }
.ph-p { margin: 0 0 10px; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 14.5px; line-height: 1.3; color: var(--ink); }
.ph-btn { padding: 9px; border-radius: 999px; text-align: center; font-weight: 800; font-size: 11px; color: var(--on-brand); background: #f1d9a3; }
.ph-notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; max-width: 440px; }
.ph-notes li { padding-left: 16px; border-left: 2px solid var(--gold-line); font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.ph-notes b { display: block; color: var(--ink); font-size: 16.5px; }
@media (min-width: 900px) { .ph-wrap { grid-template-columns: auto 1fr; align-items: center; gap: 64px; max-width: 900px; margin: 0 auto; } }
/* всё, что входит — плитки */
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bt { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 132px; padding: 16px; border-radius: 20px;
  border: 1px solid var(--line); background: linear-gradient(180deg, rgba(34, 43, 96, .94), rgba(24, 32, 74, .94)); }
.bt.w2 { grid-column: span 2; }
.bt-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; }
.bt-ic { font-size: 22px; line-height: 1; }
.bt-tag { font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.bt h3 { margin: 0 0 4px; font-size: 16px; line-height: 1.25; font-weight: 800; color: var(--ink); }
.bt p { margin: 0; font-size: 13px; line-height: 1.45; color: var(--muted); }
.b-morn { background: radial-gradient(120% 90% at 100% 0%, rgba(232, 197, 132, .16), transparent 60%), linear-gradient(180deg, rgba(34, 43, 96, .94), rgba(24, 32, 74, .94)); }
.d30 { display: grid; grid-template-columns: repeat(15, 1fr); gap: 5px; margin-top: 14px; }
.d30 i { aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .09); }
.in .d30 i { animation: d30 .45s ease forwards; animation-delay: calc(var(--i) * 45ms + .35s); }
.in .d30 i:first-child { box-shadow: 0 0 0 3px rgba(232, 197, 132, .25); }
@keyframes d30 { to { background: var(--gold); } }
.wv { display: flex; align-items: center; gap: 3px; height: 34px; margin-top: auto; padding-top: 12px; }
.wv i { flex: 1; height: 100%; border-radius: 3px; background: linear-gradient(180deg, var(--gold-2), #8f9be0); transform: scaleY(.3); }
.in .wv i { animation: wv 1.3s ease-in-out infinite; animation-delay: calc(var(--i) * -97ms); }
@keyframes wv { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
.b-books { display: grid; grid-template-columns: 108px 1fr; gap: 14px; align-items: center; }
.covers { position: relative; height: 136px; }
.cv { position: absolute; left: 12px; top: 8px; width: 84px; height: 116px; border-radius: 3px 8px 8px 3px; box-shadow: 8px 12px 24px -10px rgba(0, 0, 0, .85);
  transition: transform 1.1s var(--ease) .2s; }
.cv.c1 { z-index: 3; object-fit: cover; }
.cv.c2 { z-index: 2; background: linear-gradient(160deg, #34418a, #151c48); }
.cv.c3 { z-index: 1; background: linear-gradient(160deg, #8a3442, #3c1624); }
.cv b { position: absolute; left: 8px; right: 8px; bottom: 10px; font-family: var(--serif); font-size: 11px; line-height: 1.12; color: #f3dca8; }
.in .cv.c2 { transform: translateX(-14px) rotate(-10deg); }
.in .cv.c3 { transform: translateX(16px) rotate(9deg); }
.bvals { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 7px; }
.bvals li { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 800; line-height: 1.25; color: var(--ink); }
.bvals small { display: block; font-size: 11.5px; font-weight: 600; color: var(--muted); }
.b-books .linkbtn { padding: 2px 0 0; font-size: 13.5px; }
.offerx .val { flex: none; font-size: 12px; font-weight: 800; color: var(--sage); background: var(--sage-soft); border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.offerx .val s { margin-right: 2px; font-weight: 600; color: var(--dim); text-decoration-thickness: 1px; }  /* цена отдельно — тихо зачёркнута */
.b-wall { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; }
.mw { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 92px; height: 150px; padding: 18px 8px 8px; border-radius: 18px; text-align: center;
  background: radial-gradient(90% 50% at 15% 8%, #f8deb8, transparent 70%), radial-gradient(90% 60% at 95% 95%, #d6def6, transparent 70%), #faf7f2;
  box-shadow: 0 0 0 3px #0b1030, 0 16px 30px -14px rgba(0, 0, 0, .85); }
.mw small { font-size: 6.5px; font-weight: 800; letter-spacing: .2em; color: #a87c35; }
.mw em { font-family: var(--serif); font-weight: 600; font-size: 11.5px; line-height: 1.2; color: #1f2443; }
.mw span { font-size: 6px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #a87c35; }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .b-morn, .b-books, .b-wall, .b-journey, .b-heavy, .b-month { grid-column: span 2; }
}
/* цена — после всей ценности */
.ox-offer-in { max-width: 580px; margin: 0 auto; padding: 26px 18px 20px; border-radius: 28px; border: 1px solid var(--gold-line);
  background: radial-gradient(120% 55% at 50% 0%, rgba(220, 181, 111, .14), transparent 62%), var(--card); box-shadow: var(--shadow-lg); }
.ox-offer-in .ox-h2 { font-size: clamp(29px, 7.6vw, 42px); margin-bottom: 18px; }
.rcpt { list-style: none; margin: 0 0 20px; padding: 0; }
.rcpt li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 2px; border-bottom: 1px dashed var(--line);
  font-size: 14.5px; line-height: 1.4; color: var(--ink-2); }
.rcpt li b { flex: none; font-weight: 800; color: var(--sage); white-space: nowrap; }
.rcpt li b s { margin-right: 4px; font-weight: 600; color: var(--dim); }
.ox-offer .pricecard { padding: 16px 18px 14px; }
.ox-offer .pricecard .then { margin-top: 6px; }
.ox-offer .pricecard .today { margin-top: 10px; padding-top: 10px; }
.ox-offer .pricecard .big { display: inline-block; transition: transform .9s var(--ease) .35s; }
.rv-on .ox-offer-in:not(.in) .pricecard .big { transform: scale(.7); }
.ox-faq .faq { max-width: 680px; margin: 0 auto; }
/* финал */
.ox-close { text-align: center; padding-bottom: 12px !important; }
.ox-verse { max-width: 660px; margin: 0 auto 22px; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: clamp(23px, 6.2vw, 32px);
  line-height: 1.33; color: var(--ink); }
.ox-verse span { display: block; margin-top: 10px; font-family: var(--sans); font-style: normal; font-size: 12px; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold); }
.ox-close .btn { max-width: 460px; margin: 0 auto; }
@media (prefers-reduced-motion: reduce) {
  .ox-h1 .w { animation: none; opacity: 1; transform: none; }
  .pc .ln { stroke-dashoffset: 0; transition: none; } .pc .ar, .pc .t { opacity: 1; transition: none; }
  .pc .end, .pc .halo { transform: none; transition: none; } .pc .pulse, .ox-cue svg, .in .wv i, .in .d30 i { animation: none; }
  .d30 i { background: var(--gold); } .cv { transition: none; }
}
.btn.nudge { animation: btnNudge .9s var(--ease) 1; }  /* плашка внизу привела к кнопке — она мягко «кивает» */
@keyframes btnNudge { 0%, 100% { transform: none; } 35% { transform: scale(1.04); box-shadow: 0 0 0 6px rgba(232, 197, 132, .25); } }
.disclose b { color: var(--ink-2); }
/* Оплата прямо на странице (Paddle express): белая «карточка оплаты», внутри прозрачная рамка Paddle в светлой теме —
   Apple Pay / Google Pay первыми, ниже белые кнопки Card и PayPal. color-scheme: normal у рамки — иначе браузер подложит
   под неё свой фон (у сайта тёмная схема, у рамки — своя). */
/* Рамке Paddle нужно не меньше 286 px: карточка выходит на 10 px в поля блока — рамка во всю ширину текста (на 360 px — ровно 286) */
.paybox { margin: 14px -10px 4px; padding: 0 10px 12px; border-radius: 20px; background: #fff; color: #2b2f4a; color-scheme: light;
  box-shadow: 0 16px 34px -20px rgba(0, 0, 0, .8); }
.fineprint { margin: 2px 0 0; text-align: center; font-size: 11.5px; line-height: 1.5; color: #6b6f86; }
.fineprint a { color: #3a4583; }
.payframe { position: relative; min-height: 182px; color-scheme: normal; }
.payframe iframe { color-scheme: normal; }
.paywait { position: absolute; inset: 26px 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; pointer-events: none; }
.paywait i { height: 46px; border-radius: 10px; background: linear-gradient(90deg, #f1f0f5, #e3e1eb, #f1f0f5) 0 0 / 200% 100%;
  animation: payWait 1.4s linear infinite; }
.paywait i:first-child { grid-column: 1 / -1; }
.payframe.ready .paywait { display: none; }
@keyframes payWait { to { background-position: -200% 0; } }
.paybox.payglow { animation: payGlow 1.3s var(--ease) 1; }  /* плашка внизу привела к оплате — карточка мягко светится */
@keyframes payGlow { 0%, 100% { box-shadow: 0 16px 34px -20px rgba(0, 0, 0, .8), 0 0 0 0 rgba(232, 197, 132, 0); }
  30% { box-shadow: 0 16px 34px -20px rgba(0, 0, 0, .8), 0 0 0 6px rgba(232, 197, 132, .45); } }
.pricecard .tax, .pricebox .tax { display: block; margin-top: 6px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.pricecard .tax:empty, .pricebox .tax:empty { display: none; }
/* совсем узкие телефоны (уже 360 px): карточка оплаты во всю ширину экрана */
@media (max-width: 359px) { .paybox { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); border-radius: 0; padding-left: 12px; padding-right: 12px; } }
@media (prefers-reduced-motion: reduce) { .paywait i, .paybox.payglow { animation: none; } }
.trust { display: grid; gap: 10px; margin: 16px 0 4px; }
@media (min-width: 560px) { .trust { grid-template-columns: repeat(3, 1fr); } }
.trust div { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.45; }
.trust b { display: block; color: var(--ink); font-size: 13.5px; }
.trust .i { flex: 0 0 auto; font-size: 17px; }
.agree { text-align: center; font-size: 12.5px; color: var(--dim); margin: 12px 0 0; }
.agree a { color: var(--muted); }
.downsell { margin: 18px 0 0; text-align: center; font-size: 14px; color: var(--muted); }
.faq { margin-top: 22px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 2px; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-weight: 800; font-size: 20px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 10px 0 0; color: var(--ink-2); font-size: 15px; }

.stickycta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(250, 247, 242, .94); backdrop-filter: blur(8px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .3s var(--ease); }
.stickycta.on { transform: none; }
.stickycta .in { max-width: 720px; margin: 0 auto; display: flex; gap: 12px; align-items: center; }
.stickycta .txt { flex: 1 1 auto; font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.stickycta .txt b { display: block; color: var(--ink); font-size: 14.5px; }
.stickycta .btn { width: auto; flex: 0 0 auto; min-height: 48px; padding: 12px 18px; font-size: 15px; }
@media (max-width: 360px) { .stickycta .txt { display: none; } .stickycta .btn { width: 100%; } }
.opts + .stack.sticky { position: sticky; bottom: 10px; z-index: 3; margin-top: 14px; }
.opts + .stack.sticky::before { content: ""; position: absolute; left: -12px; right: -12px; bottom: -10px; top: -14px; background: linear-gradient(180deg, rgba(255,255,255,0), #fff 40%); z-index: -1; border-radius: 0 0 20px 20px; }

/* книга (разовая покупка) */
.offer-top { display: grid; gap: 20px; align-items: center; }
@media (min-width: 720px) { .offer-top { grid-template-columns: 200px 1fr; } }
.book3d { position: relative; width: 170px; margin: 4px auto; perspective: 1100px; }
.book3d .cover { position: relative; width: 170px; aspect-ratio: 8.5 / 11; border-radius: 3px 9px 9px 3px; overflow: hidden; transform: rotateY(-18deg); box-shadow: 16px 22px 40px -16px rgba(31, 36, 67, .55); background: #1a2350; }
.book3d .cover img { width: 100%; height: 100%; object-fit: cover; }
.book3d .pagesedge { position: absolute; top: 5px; right: -7px; width: 10px; height: calc(100% - 10px); background: repeating-linear-gradient(90deg, #f3ead6 0 1px, #ddd0b3 1px 2px); transform: rotateY(-18deg) translateZ(-5px); border-radius: 0 3px 3px 0; }
.o-title { font-family: var(--serif); font-weight: 700; font-size: clamp(30px, 6.8vw, 40px); line-height: 1.05; margin: 0 0 8px; }
.o-tag { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--gold); margin: 0 0 10px; }
.o-sub { color: var(--ink-2); margin: 0; }
.inside { margin: 18px 0 6px; }
.thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: 40%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 12px; }
@media (min-width: 720px) { .thumbs { grid-auto-columns: 29%; } }
.thumb { position: relative; scroll-snap-align: start; border-radius: 10px; overflow: hidden; aspect-ratio: 8.5 / 11; background: var(--bg-2); border: 1px solid var(--line); cursor: zoom-in; padding: 0; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb .cap { position: absolute; left: 6px; bottom: 6px; max-width: calc(100% - 12px); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: rgba(31, 36, 67, .78); padding: 3px 7px; border-radius: 999px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thumb.locked { cursor: default; }
.thumb.locked::after { content: "🔒"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 22px; background: rgba(250, 247, 242, .35); }
.checks { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 32px; color: var(--ink-2); }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 21px; height: 21px; border-radius: 50%; background: var(--sage-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2347775d' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.pricebox { margin: 18px 0 6px; padding: 18px; border-radius: 18px; background: var(--bg); border: 1px solid var(--line); }
.pricebox .row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pricebox .amount { font-family: var(--serif); font-weight: 700; font-size: 42px; line-height: 1; }
.pricebox .terms { font-size: 13.5px; font-weight: 700; color: var(--ink-2); }

/* окно */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; background: rgba(31, 36, 67, .45); backdrop-filter: blur(4px); animation: fadeIn .2s ease both; }
.modal .box { width: min(540px, 100%); max-height: 92vh; overflow: auto; border-radius: 22px; background: var(--card); box-shadow: var(--shadow-lg); padding: var(--pad); position: relative; animation: cardIn .35s var(--ease) both; }
.modal .box img { border-radius: 10px; width: 100%; border: 1px solid var(--line); }
.modal .x { position: absolute; top: 10px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; font-size: 20px; z-index: 2; }
@keyframes fadeIn { from { opacity: 0; } }

.mailbox { margin: 18px 0 4px; padding: 16px; border-radius: 18px; border: 1px dashed var(--brand-line); background: var(--brand-soft); }
.mailbox h3 { margin: 0 0 4px; font-size: 16.5px; }
.mailbox p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.mailbox .row { display: flex; gap: 8px; margin-top: 12px; }
.mailbox input { flex: 1; min-width: 0; min-height: 50px; padding: 0 14px; border-radius: 12px; font: 600 16px var(--sans); color: var(--ink); background: var(--card); border: 1.5px solid var(--line); outline: none; }
.mailbox input:focus { border-color: var(--brand); }
.mailbox button { flex: 0 0 auto; min-height: 50px; padding: 0 18px; border-radius: 12px; border: 0; background: var(--brand); color: #fff; font-weight: 800; cursor: pointer; }
.mailbox.sent { border-style: solid; background: var(--sage-soft); border-color: #cfe2d6; }

/* ───────── страницы ───────── */
.page { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; padding: 10px var(--pad) 40px; }
.page.wide { max-width: 1100px; }
.page.narrow { max-width: 600px; padding-top: 40px; }
.page.center { text-align: center; }
.page h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(36px, 7vw, 54px); line-height: 1.05; margin: 16px 0 8px; color: var(--ink); }
.page .updated { color: var(--dim); font-size: 13.5px; margin: 0 0 24px; }
.lede { font-size: clamp(17px, 2.3vw, 19px); line-height: 1.7; color: var(--ink-2); margin: 0 0 22px; max-width: 760px; }
.page.center .lede { margin-left: auto; margin-right: auto; }
.prose { color: var(--ink-2); font-size: 16.5px; line-height: 1.75; }
.prose h2 { font-family: var(--serif); font-weight: 700; color: var(--ink); font-size: 28px; line-height: 1.2; margin: 32px 0 10px; }
.prose h3 { color: var(--ink); font-size: 17px; margin: 22px 0 6px; }
.prose ul { padding-left: 22px; } .prose li { margin: 6px 0; }
.prose .box { padding: 18px 20px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); margin: 18px 0; }
.emblem.big { width: 72px; height: 72px; margin: 0 auto 4px; }
.narrowbtn { max-width: 380px; margin: 24px auto 0; }

.products { display: grid; gap: 16px; margin: 22px 0; }
@media (min-width: 760px) { .products { grid-template-columns: repeat(3, 1fr); } }
.product { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.product.main { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.product h2, .product h3 { margin: 0; font-family: var(--serif); font-size: 27px; line-height: 1.1; color: var(--ink); }
.product .sub { color: var(--gold); font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.product .price { font-family: var(--serif); font-weight: 700; font-size: 34px; color: var(--ink); line-height: 1.1; }
.product .price small { font-family: var(--sans); font-size: 13px; color: var(--muted); font-weight: 700; }
.product p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.product .checks { margin-top: 4px; font-size: 14.5px; }
.product .btn { margin-top: auto; }
.product .flag { position: absolute; top: -12px; right: 18px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--brand); padding: 4px 11px; border-radius: 999px; }
.product .fine { text-align: center; margin-top: 2px; }
.member-card { display: grid; gap: 18px; padding: clamp(20px, 4vw, 30px); border-radius: 24px; background: var(--card); border: 2px solid var(--brand); box-shadow: var(--shadow); margin: 22px 0 8px; }
@media (min-width: 860px) { .member-card { grid-template-columns: 1.1fr .9fr; align-items: start; } }
.member-card h2 { font-family: var(--serif); font-size: 32px; line-height: 1.08; margin: 4px 0 8px; }
.member-card .terms-box { padding: 18px; border-radius: 18px; background: var(--bg); border: 1px solid var(--line); }
.member-card .terms-box .big { font-family: var(--serif); font-weight: 700; font-size: 40px; line-height: 1; }
.how { margin: 40px 0 10px; }
.how h2, .addons h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(28px, 5vw, 36px); margin: 0 0 14px; }
.steps3 { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
@media (min-width: 760px) { .steps3 { grid-template-columns: repeat(3, 1fr); } }
.steps3 li { display: grid; gap: 6px; padding: 20px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); color: var(--ink-2); font-size: 15px; }
.steps3 li b { color: var(--ink); font-size: 17px; }
.steps3 .n { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; font-weight: 800; font-size: 15px; color: #fff; background: var(--brand); margin-bottom: 4px; }
.page.wide .prose { max-width: 780px; }
.beliefs li { margin: 10px 0; }
.cta-end { margin: 36px 0 0; padding: 28px; border-radius: 24px; text-align: center; background: var(--gold-soft); border: 1px solid #efdfc0; }
.cta-end .verse { font-family: var(--serif); font-style: italic; font-size: clamp(21px, 4vw, 25px); line-height: 1.4; margin: 0 0 18px; color: var(--ink); }
.cta-end .verse span { display: block; font-family: var(--sans); font-style: normal; font-size: 12.5px; font-weight: 800; letter-spacing: .14em; color: var(--gold); margin-top: 8px; text-transform: uppercase; }
.cta-end .btn { max-width: 420px; }
.contactgrid { display: grid; gap: 16px; margin: 8px 0 24px; }
@media (min-width: 720px) { .contactgrid { grid-template-columns: 1fr 1fr; } }
.contactgrid .box { padding: 22px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); color: var(--ink-2); }
.contactgrid h2 { margin: 0 0 8px; font-family: var(--serif); font-size: 25px; color: var(--ink); }
.contactgrid p { margin: 0 0 8px; }
.contactgrid .big { font-size: 18px; font-weight: 800; word-break: break-all; }
.meta { color: var(--muted); font-size: 14px; }
.contactform { padding: clamp(18px, 4vw, 28px); border-radius: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.contactform h2 { margin: 0 0 4px; font-family: var(--serif); font-size: 28px; }
.grid2 { display: grid; gap: 0 14px; }
@media (min-width: 640px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.contactform .btn { margin-top: 10px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sentnote h3 { margin: 0 0 6px; font-size: 20px; }
.sentnote p { margin: 0; color: var(--ink-2); }
.crisis { margin: 24px 0 0; padding: 16px 18px; border-radius: 16px; border: 1px solid #efd3cd; background: var(--rose-soft); color: var(--ink-2); font-size: 14.5px; }
.guarantee { display: flex; gap: 18px; align-items: center; }
.guarantee h2 { margin: 0 0 4px !important; font-size: 24px !important; }
.guarantee p { margin: 0; }
.seal { flex: 0 0 72px; height: 72px; display: grid; place-items: center; border-radius: 50%; font-family: var(--serif); font-weight: 700; font-size: 30px; color: #fff; background: var(--sage); box-shadow: 0 0 0 6px var(--sage-soft); }

/* ───────── кабинет ───────── */
.library h1 { margin-top: 6px; }
.daybar { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; }
.daybar .bar { flex: 1; }
.daybar span { font-size: 13px; font-weight: 800; color: var(--brand); white-space: nowrap; }
.banner { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: var(--brand-soft); border: 1px solid var(--brand-line); margin: 0 0 18px; font-size: 14.5px; color: var(--ink-2); }
.banner b { color: var(--ink); }
.banner.warn { background: var(--gold-soft); border-color: #efdfc0; }
.today-card { padding: clamp(20px, 4vw, 30px); border-radius: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); margin: 0 0 18px; }
.today-card h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(30px, 6vw, 40px); line-height: 1.08; margin: 2px 0 12px; }
.today-card .body { color: var(--ink-2); font-size: 16.5px; line-height: 1.75; margin: 0 0 14px; }
.today-card .lens { padding: 12px 14px; border-radius: 14px; background: var(--brand-soft); color: var(--ink-2); font-size: 15px; margin: 0 0 14px; }
.today-card .pray { font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.45; margin: 0 0 12px; color: var(--ink); }
.today-card .evening { font-size: 14.5px; color: var(--muted); margin: 0 0 16px; }
.today-card ol { margin: 0 0 14px; padding-left: 22px; color: var(--ink-2); }
.today-card .done { display: flex; gap: 10px; flex-wrap: wrap; }
.today-card .done .btn { width: auto; flex: 1 1 200px; }
.advent-card { background: linear-gradient(180deg, #fff9ef, #fff); border-color: #efdfc0; }
.libgrid { display: grid; gap: 16px; margin: 16px 0; }
@media (min-width: 760px) { .libgrid.two { grid-template-columns: 1fr 1fr; } .libgrid.three { grid-template-columns: repeat(3, 1fr); } }
.item { padding: 20px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.item h2, .item h3 { margin: 0 0 4px; font-family: var(--serif); font-size: 25px; line-height: 1.12; }
.item .meta { margin: 0 0 12px; }
.item.main { border: 1.5px solid var(--brand-line); }
.itemtop { display: grid; gap: 16px; align-items: center; }
@media (min-width: 640px) { .itemtop { grid-template-columns: 130px 1fr; } }
.itemtop .cover { width: 130px; height: auto; aspect-ratio: 8.5 / 11; object-fit: cover; border-radius: 3px 8px 8px 3px; box-shadow: 10px 14px 30px -14px rgba(31, 36, 67, .55); margin: 0 auto; background: var(--bg-2); }
.item .btn { margin-top: 6px; }
.howto { margin: 16px 0 0; padding: 14px 16px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.howto h3, .tracks-title { margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.howto p { margin: 0; color: var(--ink-2); font-size: 15px; }
.tracks-title, .item h3.tracks-title { margin: 18px 0 6px; font-family: var(--sans); font-size: 12px; line-height: 1.4; }
.tracks { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.tracks li { display: grid; gap: 6px; padding: 10px 12px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.tracks li span { font-weight: 700; font-size: 14.5px; }
.tracks audio { width: 100%; height: 38px; }
details.more { margin-top: 10px; }
details.more summary { cursor: pointer; font-weight: 800; color: var(--brand); font-size: 14.5px; }
.pathlist { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 5px; margin: 10px 0 4px; }
.pathlist i { min-width: 0; align-self: start; aspect-ratio: 1; border-radius: 8px; background: var(--line-2); display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 800; color: var(--dim); }
.pathlist i.done { background: var(--sage); color: #fff; }
.pathlist i.today { background: var(--brand); color: #fff; }
.checkin .q { margin: 14px 0 6px; font-weight: 700; }
.checkin .scale { margin-top: 8px; }
.checkin .scale button { max-width: 48px; font-size: 15px; }
.spark { display: flex; align-items: flex-end; gap: 6px; height: 64px; margin: 12px 0 4px; }
.spark i { flex: 1; max-width: 28px; border-radius: 6px 6px 2px 2px; background: var(--brand-line); }
.spark i.last { background: var(--brand); }
.upgrade { border: 2px solid var(--brand); }
.pending { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--brand-soft); border: 1px solid var(--brand-line); margin: 10px 0 18px; }
.pending .spin { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--brand); border-top-color: transparent; animation: spin .9s linear infinite; flex: 0 0 auto; }
.pending.slow { background: var(--gold-soft); border-color: #efdfc0; }
.welcomefx { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 18px; background: var(--sage-soft); border: 1px solid #cfe2d6; margin: 0 0 18px; animation: cardIn .5s var(--ease) both; }
.welcomefx .ok { flex: 0 0 44px; height: 44px; border-radius: 50%; background: var(--sage); color: #fff; display: grid; place-items: center; font-size: 22px; font-weight: 800; }
.welcomefx b { display: block; font-size: 16.5px; }
.addons { margin: 30px 0 10px; }
.help { margin-top: 24px; color: var(--muted); font-size: 14.5px; }
.library .mailbox { margin-top: 22px; }

/* ───────── подвал ───────── */
.foot { position: relative; z-index: 1; max-width: 1160px; margin: 30px auto 0; padding: 24px var(--pad) 40px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 12px; }
.foot nav a { color: var(--muted); text-decoration: none; font-weight: 700; }
@media (hover: hover) and (pointer: fine) { .foot nav a:hover { color: var(--ink); } }
.foot p { margin: 6px 0; line-height: 1.6; }
.foot p a { color: var(--muted); }

.admin table { width: 100%; border-collapse: collapse; margin: 12px 0 24px; font-size: 15px; background: var(--card); border-radius: 14px; overflow: hidden; }
.admin td, .admin th { text-align: left; padding: 10px 10px; border-bottom: 1px solid var(--line); }
.admin th { color: var(--muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.admin a.on { color: var(--ink); font-weight: 800; text-decoration: none; }
.admin .grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 16px; }
.admin .grid4 table { margin-bottom: 12px; }
.admin .scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 12px 0 24px; }
.admin .scroll table { margin: 0; min-width: 1040px; }
.admin small { color: var(--muted); font-size: 12px; }
.admin td.ip { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; }
.admin .paid { color: var(--sage); }
.admin .anote { color: var(--muted); font-size: 14px; line-height: 1.55; }
/* лента «что происходит»: то же, что уходит в Telegram */
.admin .feedtabs { font-size: 14px; line-height: 1.9; }
.admin .feed { display: grid; gap: 8px; margin: 10px 0 28px; max-height: 640px; overflow-y: auto; padding-right: 4px; }
.admin .fi { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--card);
  border: 1px solid var(--line); font-size: 14.5px; line-height: 1.5; }
.admin .fk { flex: 0 0 auto; font-size: 18px; line-height: 1.2; }
.admin .ft { min-width: 0; overflow-wrap: anywhere; }
.admin .ft small { display: block; margin-top: 4px; }
.adminlogin { display: grid; gap: 14px; max-width: 420px; margin-top: 18px; }
.adminlogin .err { margin: 0; color: var(--rose); font-weight: 700; }

.cookie { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; max-width: 620px; margin: 0 auto; padding: 14px 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg); display: flex; gap: 12px; align-items: center; font-size: 13.5px; color: var(--ink-2); }
.cookie button { flex: 0 0 auto; width: auto; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }


/* ── кабинет: ритм пользы — ночь, неделя, дневник, тяжёлые моменты, итоги месяца, стих недели, пути ── */
.library [id] { scroll-margin-top: 14px; }
.jumpnav { display: flex; gap: 8px; overflow-x: auto; margin: 0 -2px 18px; padding: 2px 2px 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.jumpnav::-webkit-scrollbar { display: none; }
.jumpnav a { flex: none; font-size: 13.5px; font-weight: 700; color: var(--ink-2); text-decoration: none; padding: 8px 13px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .jumpnav a:hover { border-color: var(--brand-line); color: var(--brand); } }

.night-card { background: linear-gradient(160deg, #1d2856 0%, #27356b 62%, #34437d 100%); border-color: #1d2856; color: #eef1fa; }
.night-card .eyebrow { color: #f3d9a1; }
.night-card h2 { color: #fff; }
.night-card .versecard { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .16); }
.night-card .versecard::before { color: #f3d9a1; }
.night-card .versecard p { color: #f7f3ea; }
.night-card .versecard cite { color: #f3d9a1; }
.today-card.night-card .body { color: #d7dcef; }
.today-card.night-card .pray { color: #fff; }
.night-card .release { font-size: 14.5px; line-height: 1.6; color: #c7cee8; margin: 0 0 16px; }
.night-card .btn { background: #f3d9a1; border-color: #f3d9a1; color: #1d2856; box-shadow: none; }
.night-card .btn:disabled { opacity: .85; }

.week-card { border: 1.5px solid #efdfc0; background: linear-gradient(180deg, #fffdf7, #fff 55%); }
.week-card .meta a, .recap .meta a { color: var(--brand); font-weight: 700; }
.week-card.flash { animation: weekFlash 1s var(--ease); }
@keyframes weekFlash { from { box-shadow: 0 0 0 4px rgba(168, 124, 53, .35), var(--shadow); } to { box-shadow: var(--shadow); } }
.journey-card { border: 1.5px solid var(--brand-line); }
.journey-card .btn { width: auto; }

.moments .mgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 680px) { .moments .mgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.moment { display: flex; align-items: center; gap: 10px; text-align: left; padding: 12px; min-height: 58px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: 700 14px/1.25 var(--sans); cursor: pointer; }
.moment:focus-visible { border-color: var(--brand-line); background: var(--brand-soft); }
@media (hover: hover) and (pointer: fine) { .moment:hover { border-color: var(--brand-line); background: var(--brand-soft); } }
.moment .ic { font-size: 21px; flex: none; }

.mword { font-size: 16px; line-height: 1.6; color: var(--ink-2); margin: 6px 0 14px; }
.modal .pray { font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.45; margin: 14px 0 8px; color: var(--ink); }
.crisis { font-size: 13.5px; line-height: 1.5; color: var(--ink-2); background: var(--rose-soft); border-radius: 12px; padding: 10px 12px; margin: 10px 0 0; }
.breath { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 18px 12px 16px; margin: 4px 0 6px; border-radius: 18px; background: var(--brand-soft); border: 1px solid var(--brand-line); }
.breath .orb { position: relative; margin: 6px auto 2px; width: 84px; height: 84px; border-radius: 50%; box-shadow: 0 0 34px rgba(201, 208, 247, .28); background: radial-gradient(circle at 35% 32%, #fff 0%, #dfe4f5 45%, #9aa6d4 100%); transform: scale(.72); transition: transform 1s ease-in-out; }
.breath.in .orb { transform: scale(1.12); transition-duration: 4s; }
.breath.out .orb { transform: scale(.72); transition-duration: 6s; }
.breath .cue { font-weight: 800; font-size: 14px; color: var(--brand); margin: 6px 0 0; min-height: 20px; }
.breath .words { font-family: var(--serif); font-size: 20px; line-height: 1.35; margin: 0; color: var(--ink); }
.breath .btn { width: auto; margin-top: 6px; }

.journal .jform { display: grid; gap: 8px; margin: 0 0 12px; }
.journal textarea, .modal textarea { width: 100%; font: 500 16px/1.5 var(--sans); padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); resize: vertical; }
.journal textarea:focus, .modal textarea:focus { outline: 2px solid var(--brand-line); border-color: var(--brand); }
.journal .jform .btn { width: auto; justify-self: start; margin: 0; }
.jtabs { display: flex; gap: 6px; margin: 6px 0 10px; }
.jtabs button { font: 700 13.5px var(--sans); padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink-2); cursor: pointer; }
.jtabs button[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.jlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.jlist li { padding: 12px 14px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.jlist li.empty { color: var(--muted); font-size: 14.5px; background: transparent; border-style: dashed; }
.jlist .t { margin: 0 0 6px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15.5px; line-height: 1.55; color: var(--ink); }
.jlist .ans { margin: 0 0 8px; font-size: 14px; line-height: 1.5; color: var(--sage); font-weight: 700; overflow-wrap: anywhere; }
.jlist .row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.jlist .row small { color: var(--dim); font-size: 12.5px; margin-right: auto; }
.jlist .btn.small { width: auto; min-height: 40px; margin: 0; padding: 8px 14px; }
.jlist .row small .linkbtn { display: inline; min-height: 0; padding: 0; margin: 0; font-size: 12.5px; vertical-align: baseline; }
.breath .words span { transition: opacity .8s ease, color .8s ease; }
.breath.in .words span, .breath.out .words span { opacity: .38; }
.breath.in .words span:first-child, .breath.out .words span:last-child { opacity: 1; color: var(--brand); }

.recap .tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 10px 0 12px; }
@media (min-width: 680px) { .recap .tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.recap .tiles div { padding: 12px 8px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); text-align: center; }
.recap .tiles b { display: block; font-family: var(--serif); font-size: 32px; line-height: 1; color: var(--brand); }
.recap .tiles span { display: block; margin-top: 5px; font-size: 12px; line-height: 1.3; font-weight: 700; color: var(--muted); }
.recap.soon { border: 1.5px solid #efdfc0; background: var(--gold-soft); margin: 0 0 18px; }
.recap.soon .tiles div { background: #fff; }

.verseweek { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: start; margin-top: 16px; }
.verseweek .wall img { display: block; width: 112px; height: auto; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.verseweek h2 { font-size: 23px; font-style: italic; }
.verseweek .btn { width: auto; }
.verseweek .fine { margin-top: 8px; }
@media (min-width: 640px) { .verseweek { grid-template-columns: 150px 1fr; } .verseweek .wall img { width: 150px; } }

.journeys { margin-top: 16px; }
.jcard { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); text-decoration: none; margin: 8px 0 0; font-size: 14.5px; line-height: 1.45; }
@media (hover: hover) and (pointer: fine) { a.jcard:hover { border-color: var(--brand-line); background: var(--brand-soft); } }
.jcard .ic { font-size: 22px; line-height: 1.2; flex: none; }
.jcard small { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; }
.jcard.now { border-color: var(--brand-line); background: var(--brand-soft); }
.jcard.soon { background: var(--gold-soft); border-color: #efdfc0; }

.checkin .focus { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 4px; }
.checkin .focus button { font: 700 13.5px var(--sans); padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink-2); cursor: pointer; }
.checkin .focus button.picked { background: var(--brand); border-color: var(--brand); color: #fff; }

.journey-page .back-link { margin: 6px 0 0; font-size: 14px; }
.journey-page .back-link a { color: var(--brand); font-weight: 700; text-decoration: none; }
.jdays { display: grid; gap: 10px; margin: 18px 0; }
.jday summary { cursor: pointer; list-style: none; display: flex; gap: 12px; align-items: baseline; }
.jday summary::-webkit-details-marker { display: none; }
.jday .n { font-size: 12px; font-weight: 800; color: var(--gold); text-transform: uppercase; letter-spacing: .1em; flex: none; }
.jday summary b, .jday.locked b { font-family: var(--serif); font-size: 22px; line-height: 1.15; }
.jday[open] summary { margin-bottom: 14px; }
.jday .body { color: var(--ink-2); font-size: 16.5px; line-height: 1.75; margin: 0 0 12px; }
.jday .pray { font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.45; margin: 0 0 12px; color: var(--ink); }
.jday .lens { padding: 12px 14px; border-radius: 14px; background: var(--brand-soft); color: var(--ink-2); font-size: 15px; margin: 0; }
.jday.locked { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; opacity: .72; }
.jday.locked small { color: var(--muted); font-size: 13px; margin-left: auto; }


/* ───────── «вау» без рывков: живое небо, появление первого экрана, вспышки ─────────
   Небо — только CSS и закреплено: слой высотой в «большой» экран (lvh), всё внутри — в vh/vw. Когда у телефона
   прячется или появляется адресная строка, фон не растягивается и не перерисовывается (раньше звёзды на холсте
   при этом каждый раз прыгали на новые места — «фон дёргается»). Двигаются только прозрачность и transform —
   плавно, силами видеокарты. Никаких «зажми свет»: первый экран сразу с вопросом. */
.sky { position: fixed; top: 0; left: 0; right: 0; height: 130vh; height: 130lvh; z-index: 0; pointer-events: none; overflow: hidden;
  background: linear-gradient(180deg, #0a0f2b 0, #0f1532 46vh, #151c45 100vh, #151c45 100%); }
/* небо на 30% ниже экрана: на iPhone панель Safari внизу полупрозрачная — под ней нет «обрыва» неба;
   всё внутри привязано к верху, поэтому запас снизу ничего не сдвигает */
#aurora { position: absolute; top: 0; left: 0; display: block; width: 100%; height: 100%; }
.sky.gl .glow { display: none; }  /* свет и сияние рисует шейдер (sky.js); без WebGL — CSS-свечения */
.sky .starfield { position: absolute; inset: 0; opacity: var(--night, 1); transition: opacity 1.2s linear; }
.sky .grain { position: absolute; inset: 0; opacity: .05; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") 0 0 / 180px 180px repeat; }
.sky .glow { position: absolute; border-radius: 50%; will-change: transform, opacity; }
.sky .g1 { left: 50%; top: 64vh; width: 150vw; height: 80vh; margin-left: -75vw;
  background: radial-gradient(closest-side, rgba(232, 178, 104, .36), rgba(232, 178, 104, .13) 55%, rgba(232, 178, 104, 0));
  animation: breathe 11s ease-in-out infinite; }
.sky .g2 { right: -38vw; top: -30vh; width: 100vw; height: 80vh;
  background: radial-gradient(closest-side, rgba(120, 136, 230, .26), rgba(120, 136, 230, 0)); animation: drift 28s ease-in-out infinite alternate; }
.sky .g3 { left: -40vw; top: 16vh; width: 90vw; height: 66vh;
  background: radial-gradient(closest-side, rgba(146, 108, 214, .15), rgba(146, 108, 214, 0)); animation: drift2 34s ease-in-out infinite alternate; }
.sky .stars { position: absolute; left: 0; right: 0; top: 0; height: 72vh; background-repeat: repeat; background-position: center top;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 100%); }
.sky .s1 { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='640' viewBox='0 0 640 640'%3E%3Ccircle cx='290' cy='358' r='0.82' fill='%23fff1d6' fill-opacity='0.69'/%3E%3Ccircle cx='124' cy='512' r='0.93' fill='%23fff1d6' fill-opacity='0.67'/%3E%3Ccircle cx='63' cy='196' r='0.87' fill='%23ffffff' fill-opacity='0.71'/%3E%3Ccircle cx='405' cy='380' r='1.13' fill='%23fff1d6' fill-opacity='0.61'/%3E%3Ccircle cx='393' cy='104' r='1.05' fill='%23ffffff' fill-opacity='0.38'/%3E%3Ccircle cx='27' cy='560' r='1.02' fill='%23ffffff' fill-opacity='0.48'/%3E%3Ccircle cx='377' cy='127' r='0.93' fill='%23ffffff' fill-opacity='0.55'/%3E%3Ccircle cx='423' cy='293' r='0.79' fill='%23e3e8ff' fill-opacity='0.57'/%3E%3Ccircle cx='593' cy='57' r='0.74' fill='%23e3e8ff' fill-opacity='0.44'/%3E%3Ccircle cx='187' cy='48' r='0.79' fill='%23ffffff' fill-opacity='0.69'/%3E%3Ccircle cx='248' cy='609' r='0.68' fill='%23ffffff' fill-opacity='0.72'/%3E%3Ccircle cx='37' cy='241' r='0.80' fill='%23fff1d6' fill-opacity='0.58'/%3E%3Ccircle cx='129' cy='431' r='0.60' fill='%23e3e8ff' fill-opacity='0.48'/%3E%3Ccircle cx='613' cy='483' r='0.63' fill='%23ffffff' fill-opacity='0.63'/%3E%3Ccircle cx='11' cy='298' r='0.66' fill='%23fff1d6' fill-opacity='0.57'/%3E%3Ccircle cx='287' cy='125' r='0.80' fill='%23ffffff' fill-opacity='0.50'/%3E%3Ccircle cx='254' cy='630' r='0.71' fill='%23ffffff' fill-opacity='0.74'/%3E%3Ccircle cx='512' cy='196' r='0.68' fill='%23ffffff' fill-opacity='0.51'/%3E%3Ccircle cx='544' cy='410' r='0.58' fill='%23ffffff' fill-opacity='0.41'/%3E%3Ccircle cx='283' cy='10' r='1.05' fill='%23e3e8ff' fill-opacity='0.50'/%3E%3Ccircle cx='51' cy='136' r='0.56' fill='%23ffffff' fill-opacity='0.50'/%3E%3Ccircle cx='397' cy='84' r='1.05' fill='%23fff1d6' fill-opacity='0.40'/%3E%3Ccircle cx='248' cy='400' r='1.10' fill='%23e3e8ff' fill-opacity='0.68'/%3E%3Ccircle cx='162' cy='124' r='0.96' fill='%23ffffff' fill-opacity='0.51'/%3E%3Ccircle cx='309' cy='54' r='0.61' fill='%23ffffff' fill-opacity='0.37'/%3E%3Ccircle cx='612' cy='155' r='0.70' fill='%23fff1d6' fill-opacity='0.68'/%3E%3Ccircle cx='381' cy='189' r='1.11' fill='%23ffffff' fill-opacity='0.74'/%3E%3Ccircle cx='84' cy='307' r='0.72' fill='%23ffffff' fill-opacity='0.72'/%3E%3Ccircle cx='133' cy='14' r='0.80' fill='%23e3e8ff' fill-opacity='0.45'/%3E%3Ccircle cx='33' cy='182' r='0.61' fill='%23ffffff' fill-opacity='0.41'/%3E%3Ccircle cx='289' cy='213' r='0.90' fill='%23ffffff' fill-opacity='0.72'/%3E%3Ccircle cx='304' cy='230' r='1.13' fill='%23e3e8ff' fill-opacity='0.36'/%3E%3Ccircle cx='406' cy='309' r='0.74' fill='%23e3e8ff' fill-opacity='0.75'/%3E%3Ccircle cx='52' cy='349' r='1.09' fill='%23ffffff' fill-opacity='0.64'/%3E%3Ccircle cx='449' cy='505' r='0.76' fill='%23e3e8ff' fill-opacity='0.62'/%3E%3Ccircle cx='573' cy='555' r='1.12' fill='%23fff1d6' fill-opacity='0.36'/%3E%3Ccircle cx='320' cy='13' r='0.78' fill='%23fff1d6' fill-opacity='0.35'/%3E%3Ccircle cx='50' cy='61' r='1.15' fill='%23ffffff' fill-opacity='0.70'/%3E%3Ccircle cx='464' cy='249' r='0.81' fill='%23fff1d6' fill-opacity='0.69'/%3E%3Ccircle cx='57' cy='478' r='0.74' fill='%23ffffff' fill-opacity='0.39'/%3E%3Ccircle cx='18' cy='609' r='0.85' fill='%23ffffff' fill-opacity='0.60'/%3E%3Ccircle cx='586' cy='166' r='0.77' fill='%23ffffff' fill-opacity='0.41'/%3E%3Ccircle cx='391' cy='332' r='0.95' fill='%23e3e8ff' fill-opacity='0.53'/%3E%3Ccircle cx='568' cy='211' r='0.67' fill='%23e3e8ff' fill-opacity='0.52'/%3E%3Ccircle cx='513' cy='582' r='0.78' fill='%23ffffff' fill-opacity='0.58'/%3E%3Ccircle cx='204' cy='90' r='0.76' fill='%23fff1d6' fill-opacity='0.71'/%3E%3Ccircle cx='30' cy='45' r='1.04' fill='%23e3e8ff' fill-opacity='0.40'/%3E%3Ccircle cx='302' cy='589' r='0.78' fill='%23fff1d6' fill-opacity='0.56'/%3E%3Ccircle cx='429' cy='457' r='0.74' fill='%23fff1d6' fill-opacity='0.68'/%3E%3Ccircle cx='180' cy='388' r='0.89' fill='%23e3e8ff' fill-opacity='0.47'/%3E%3Ccircle cx='504' cy='16' r='0.79' fill='%23ffffff' fill-opacity='0.43'/%3E%3Ccircle cx='490' cy='172' r='1.03' fill='%23ffffff' fill-opacity='0.74'/%3E%3Ccircle cx='77' cy='73' r='1.13' fill='%23e3e8ff' fill-opacity='0.62'/%3E%3Ccircle cx='130' cy='304' r='0.98' fill='%23ffffff' fill-opacity='0.65'/%3E%3Ccircle cx='342' cy='27' r='0.71' fill='%23ffffff' fill-opacity='0.49'/%3E%3Ccircle cx='445' cy='333' r='0.79' fill='%23ffffff' fill-opacity='0.67'/%3E%3Ccircle cx='577' cy='59' r='0.63' fill='%23fff1d6' fill-opacity='0.53'/%3E%3Ccircle cx='399' cy='579' r='0.88' fill='%23fff1d6' fill-opacity='0.61'/%3E%3Ccircle cx='322' cy='522' r='0.83' fill='%23e3e8ff' fill-opacity='0.61'/%3E%3Ccircle cx='133' cy='460' r='0.68' fill='%23ffffff' fill-opacity='0.71'/%3E%3Ccircle cx='624' cy='622' r='0.71' fill='%23e3e8ff' fill-opacity='0.64'/%3E%3Ccircle cx='14' cy='323' r='0.81' fill='%23ffffff' fill-opacity='0.57'/%3E%3Ccircle cx='490' cy='312' r='0.68' fill='%23ffffff' fill-opacity='0.70'/%3E%3Ccircle cx='275' cy='26' r='0.96' fill='%23e3e8ff' fill-opacity='0.72'/%3E%3C/svg%3E"); opacity: .6; }
.sky .s2 { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='820' height='820' viewBox='0 0 820 820'%3E%3Cdefs%3E%3CradialGradient id='g'%3E%3Cstop offset='0' stop-color='%23fff6e4' stop-opacity='.9'/%3E%3Cstop offset='.35' stop-color='%23ffe2b0' stop-opacity='.35'/%3E%3Cstop offset='1' stop-color='%23ffe2b0' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Ccircle cx='755' cy='774' r='0.91' fill='%23ffffff' fill-opacity='0.79'/%3E%3Ccircle cx='755' cy='774' r='7' fill='url(%23g)'/%3E%3Ccircle cx='312' cy='295' r='1.09' fill='%23ffffff' fill-opacity='0.70'/%3E%3Ccircle cx='312' cy='295' r='7' fill='url(%23g)'/%3E%3Ccircle cx='508' cy='736' r='0.96' fill='%23ffffff' fill-opacity='0.91'/%3E%3Ccircle cx='508' cy='736' r='7' fill='url(%23g)'/%3E%3Ccircle cx='346' cy='420' r='1.15' fill='%23fff1d6' fill-opacity='0.72'/%3E%3Ccircle cx='640' cy='482' r='1.33' fill='%23ffffff' fill-opacity='0.99'/%3E%3Ccircle cx='299' cy='621' r='1.58' fill='%23e3e8ff' fill-opacity='0.78'/%3E%3Ccircle cx='795' cy='469' r='1.02' fill='%23fff1d6' fill-opacity='0.84'/%3E%3Ccircle cx='647' cy='553' r='1.03' fill='%23ffffff' fill-opacity='0.75'/%3E%3Ccircle cx='267' cy='666' r='1.31' fill='%23ffffff' fill-opacity='0.72'/%3E%3Ccircle cx='350' cy='465' r='1.47' fill='%23e3e8ff' fill-opacity='0.80'/%3E%3Ccircle cx='304' cy='238' r='1.53' fill='%23e3e8ff' fill-opacity='0.84'/%3E%3Ccircle cx='181' cy='125' r='1.40' fill='%23ffffff' fill-opacity='0.95'/%3E%3Ccircle cx='197' cy='447' r='1.56' fill='%23ffffff' fill-opacity='0.75'/%3E%3Ccircle cx='796' cy='49' r='1.18' fill='%23fff1d6' fill-opacity='0.75'/%3E%3Ccircle cx='187' cy='14' r='1.46' fill='%23ffffff' fill-opacity='0.98'/%3E%3Ccircle cx='441' cy='806' r='1.14' fill='%23ffffff' fill-opacity='0.99'/%3E%3Ccircle cx='310' cy='161' r='1.09' fill='%23ffffff' fill-opacity='0.86'/%3E%3Ccircle cx='617' cy='377' r='1.05' fill='%23e3e8ff' fill-opacity='0.73'/%3E%3Ccircle cx='434' cy='142' r='1.08' fill='%23ffffff' fill-opacity='0.83'/%3E%3Ccircle cx='736' cy='365' r='1.36' fill='%23e3e8ff' fill-opacity='0.82'/%3E%3Ccircle cx='138' cy='505' r='0.95' fill='%23fff1d6' fill-opacity='0.99'/%3E%3Ccircle cx='733' cy='610' r='1.20' fill='%23e3e8ff' fill-opacity='0.79'/%3E%3Ccircle cx='703' cy='499' r='1.48' fill='%23ffffff' fill-opacity='0.73'/%3E%3Ccircle cx='517' cy='274' r='1.07' fill='%23fff1d6' fill-opacity='0.99'/%3E%3Ccircle cx='68' cy='460' r='1.06' fill='%23ffffff' fill-opacity='0.87'/%3E%3Ccircle cx='386' cy='369' r='0.90' fill='%23e3e8ff' fill-opacity='0.81'/%3E%3C/svg%3E"); animation: twinkle 5.5s ease-in-out infinite alternate; }
.sky .s3 { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='560' height='560' viewBox='0 0 560 560'%3E%3Cdefs%3E%3CradialGradient id='g'%3E%3Cstop offset='0' stop-color='%23fff6e4' stop-opacity='.9'/%3E%3Cstop offset='.35' stop-color='%23ffe2b0' stop-opacity='.35'/%3E%3Cstop offset='1' stop-color='%23ffe2b0' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Ccircle cx='380' cy='55' r='1.24' fill='%23ffffff' fill-opacity='0.81'/%3E%3Ccircle cx='380' cy='55' r='7' fill='url(%23g)'/%3E%3Ccircle cx='295' cy='64' r='1.22' fill='%23fff1d6' fill-opacity='0.78'/%3E%3Ccircle cx='295' cy='64' r='7' fill='url(%23g)'/%3E%3Ccircle cx='213' cy='410' r='0.90' fill='%23fff1d6' fill-opacity='0.94'/%3E%3Ccircle cx='502' cy='31' r='0.85' fill='%23fff1d6' fill-opacity='0.79'/%3E%3Ccircle cx='203' cy='393' r='1.25' fill='%23e3e8ff' fill-opacity='0.87'/%3E%3Ccircle cx='23' cy='295' r='1.15' fill='%23ffffff' fill-opacity='0.72'/%3E%3Ccircle cx='8' cy='286' r='0.85' fill='%23e3e8ff' fill-opacity='0.87'/%3E%3Ccircle cx='17' cy='198' r='1.37' fill='%23ffffff' fill-opacity='0.71'/%3E%3Ccircle cx='11' cy='524' r='1.29' fill='%23e3e8ff' fill-opacity='0.85'/%3E%3Ccircle cx='510' cy='349' r='0.99' fill='%23e3e8ff' fill-opacity='0.76'/%3E%3Ccircle cx='83' cy='151' r='1.11' fill='%23ffffff' fill-opacity='0.73'/%3E%3Ccircle cx='362' cy='151' r='0.86' fill='%23ffffff' fill-opacity='0.89'/%3E%3Ccircle cx='192' cy='20' r='0.84' fill='%23ffffff' fill-opacity='0.75'/%3E%3Ccircle cx='283' cy='139' r='1.13' fill='%23e3e8ff' fill-opacity='0.87'/%3E%3Ccircle cx='304' cy='166' r='0.88' fill='%23ffffff' fill-opacity='0.75'/%3E%3Ccircle cx='324' cy='302' r='1.05' fill='%23ffffff' fill-opacity='0.72'/%3E%3Ccircle cx='466' cy='128' r='1.08' fill='%23ffffff' fill-opacity='0.79'/%3E%3Ccircle cx='111' cy='538' r='0.95' fill='%23ffffff' fill-opacity='0.77'/%3E%3Ccircle cx='247' cy='316' r='1.04' fill='%23fff1d6' fill-opacity='0.86'/%3E%3Ccircle cx='513' cy='27' r='1.30' fill='%23ffffff' fill-opacity='0.95'/%3E%3C/svg%3E"); animation: twinkle 7.5s ease-in-out -3s infinite alternate; }
.sky .motes i { position: absolute; top: 100vh; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%; opacity: 0;
  background: radial-gradient(circle, rgba(255, 232, 186, .95), rgba(255, 220, 160, 0) 68%);
  animation: mote var(--t) linear var(--d) infinite; will-change: transform, opacity; }
@keyframes breathe { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .76; transform: scale(1.05); } }
@keyframes drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-8vw, 6vh, 0); } }
@keyframes drift2 { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(7vw, -5vh, 0); } }
@keyframes twinkle { from { opacity: .2; } to { opacity: .95; } }
@keyframes mote { 0% { transform: translate3d(0, 0, 0); opacity: 0; } 12%, 80% { opacity: var(--o, .5); } 100% { transform: translate3d(var(--dx, 0), -78vh, 0); opacity: 0; } }
/* рассвет при открытии: небо светлеет, горизонт поднимается (один раз, ~2 с) */
html.fx .sky { animation: skyIn 1.2s ease both; }
html.fx .sky .g1 { animation: dawnUp 2.4s cubic-bezier(.2, .7, .2, 1) both, breathe 11s ease-in-out 2.4s infinite; }
@keyframes skyIn { from { opacity: .35; } to { opacity: 1; } }
@keyframes dawnUp { from { opacity: 0; transform: translateY(16vh) scale(.88); } to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes fallbackIn { from { opacity: 0; } to { opacity: 1; } }

/* первый экран проявляется: слова заголовка, шёпот, карточка, ответы по одному (fill: backwards — после появления
   у кнопок снова работает отклик на нажатие) */
html.fx .hook h1:not(.split) { animation: fallbackIn .6s ease .6s backwards; }
.hook h1 .wd { display: inline-block; vertical-align: top; }  /* без рамки-маски: хвосты букв (y, g) не обрезаются */
.hook h1 .wd > span { display: inline-block; animation: wordUp .9s var(--ease) var(--d, 0s) backwards; }
@keyframes wordUp { from { opacity: 0; transform: translateY(.3em); } to { opacity: 1; transform: none; } }
@keyframes cardRise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* карточки квиза: тонкая золотая кромка и тёплый отсвет снизу */
.stage > .card { border: 1px solid transparent;
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, 0) 40%) padding-box, linear-gradient(var(--card), var(--card)) padding-box,
    linear-gradient(140deg, rgba(232, 197, 132, .5), rgba(255, 255, 255, .07) 36%, rgba(255, 255, 255, .05) 64%, rgba(232, 197, 132, .3)) border-box;
  box-shadow: var(--shadow), 0 40px 90px -50px rgba(220, 181, 111, .45); }

/* вспышка: тёплый свет заливает экран и надпись («We found your story.») */
.flash { position: fixed; inset: 0; z-index: 60; pointer-events: none; visibility: hidden; overflow: hidden; }
.flash .bloom { position: absolute; left: var(--fx, 50%); top: var(--fy, 60%); width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%;
  background: radial-gradient(circle, #fffaf0 0%, #fbe7bd 34%, rgba(240, 196, 120, .55) 58%, rgba(240, 196, 120, 0) 72%); transform: scale(0); opacity: 0; }
.flash .said { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; padding: 0 24px; text-align: center;
  font-family: var(--serif); font-weight: 700; font-size: clamp(46px, 12vw, 96px); line-height: 1.05; color: #1a1f47; opacity: 0; }
.flash.on { visibility: visible; }
.flash.on .bloom { animation: bloom 2.1s cubic-bezier(.2, .7, .2, 1) both; }
.flash.on .said { animation: said 2.1s ease both; }
@keyframes bloom { 0% { transform: scale(0); opacity: 1; } 28% { transform: scale(48); opacity: 1; } 62% { transform: scale(60); opacity: .96; } 100% { transform: scale(66); opacity: 0; } }
@keyframes said { 0%, 12% { opacity: 0; transform: translateY(12px); filter: blur(6px); } 28% { opacity: 1; transform: none; filter: none; } 64% { opacity: 1; } 100% { opacity: 0; } }
/* искры: россыпь тёплого света (вспышка, открытие истории) */
.sparks { position: fixed; z-index: 61; width: 0; height: 0; pointer-events: none; }
.sparks i { position: absolute; left: 0; top: 0; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); border-radius: 50%;
  background: radial-gradient(circle, #fffaf0 0%, rgba(246, 220, 166, .9) 38%, rgba(246, 220, 166, 0) 70%);
  animation: spark var(--t, 1.2s) cubic-bezier(.15, .7, .3, 1) var(--dl, 0s) both; }
@keyframes spark { 0% { transform: translate3d(0, 0, 0) scale(.3); opacity: 1; } 70% { opacity: .85; } 100% { transform: translate3d(var(--tx), var(--ty), 0) scale(1); opacity: 0; } }
/* загрузка «ищем вашу историю»: сияние вокруг кольца растёт вместе с процентами (--g) */
.analyze .ring { isolation: isolate; }
.analyze .ring::before { content: ""; position: absolute; inset: -46%; z-index: -1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(246, 220, 166, .42), rgba(246, 220, 166, 0) 62%);
  opacity: calc(.25 + var(--g, 0) * 1.8); transform: scale(calc(.85 + var(--g, 0) * .5)); transition: opacity .3s linear, transform .3s linear; }

/* волна от касания, блик по ответу под мышью, блеск полосы прогресса */
@media (hover: hover) and (pointer: fine) {
  .opt::before { content: ""; position: absolute; inset: 0; pointer-events: none; transform: translateX(-130%);
    background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .12) 50%, transparent 62%); transition: transform 1s var(--ease); }
  .opt:hover::before { transform: translateX(130%); }
}
.opt, .scale button, #stage .btn { position: relative; overflow: hidden; }
.opt::after, .scale button::after, #stage .btn::after { content: ""; position: absolute; left: var(--x, 50%); top: var(--y, 50%); width: 12px; height: 12px;
  margin: -6px 0 0 -6px; border-radius: 50%; background: rgba(214, 168, 92, .38); opacity: 0; transform: scale(0); pointer-events: none; }
.opt.rip::after, .scale button.rip::after, #stage .btn.rip::after { animation: ripple .7s ease-out; }
#stage .btn.rip::after { background: rgba(255, 255, 255, .42); }
@keyframes ripple { from { opacity: 1; transform: scale(0); } to { opacity: 0; transform: scale(46); } }
.bar i { position: relative; overflow: hidden; }
.bar i::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .65), transparent); animation: barShine 2.8s ease-in-out 1s infinite; }
@keyframes barShine { 0% { transform: translateX(-100%); } 55%, 100% { transform: translateX(100%); } }

/* звук: кнопка в шапке. Выключено — нота и подпись «Better with music» (с музыкой атмосфернее); играет —
   нота и «живые» полоски, выключить — одно касание; пока играет, а шапка уехала — кнопка ждёт в углу экрана */
.soundbtn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 34px; min-width: 34px; padding: 0 13px 0 11px;
  border-radius: 999px; border: 1px solid var(--gold-line); background: rgba(220, 181, 111, .08); color: var(--gold-2); cursor: pointer;
  font: 700 12.5px/1 var(--sans); white-space: nowrap; transition: color .3s, border-color .3s, background .3s; -webkit-tap-highlight-color: transparent; }
@media (hover: hover) and (pointer: fine) { .soundbtn:hover { color: var(--ink); border-color: var(--brand-line); } }
.soundbtn .musicon { width: 17px; height: 17px; flex: none; }
.soundbtn:not(.on) .musicon { animation: notePulse 2.2s ease-in-out 1.4s 3; }
@keyframes notePulse { 0%, 100% { transform: none; } 50% { transform: translateY(-2px) rotate(-10deg); } }
.soundbtn .eq { display: none; align-items: flex-end; justify-content: center; gap: 2px; width: 11px; height: 13px; }
.soundbtn .eq i { width: 2.5px; height: 3px; border-radius: 2px; background: currentColor; }
.soundbtn.on { width: 44px; padding: 0; gap: 3px; color: var(--brand); border-color: var(--brand-line); background: rgba(220, 181, 111, .12); }
.soundbtn.on .eq { display: inline-flex; }
.soundbtn.on .eq i { animation: eq 1.1s ease-in-out infinite; }
.soundbtn.on .eq i:nth-child(2) { animation-delay: -.35s; } .soundbtn.on .eq i:nth-child(3) { animation-delay: -.7s; }
@keyframes eq { 0%, 100% { height: 3px; } 50% { height: 13px; } }
.soundbtn.on .cap { display: none; }
/* подсказка «включите музыку»: пузырь со стрелкой под кнопкой музыки, кнопка мягко пульсирует золотом */
.musichint { position: absolute; top: calc(100% - 2px); right: max(var(--pad), calc((100% - 1160px) / 2 + var(--pad))); z-index: 31;
  max-width: min(270px, calc(100vw - 32px)); padding: 9px 14px; border-radius: 14px; border: 1px solid var(--gold-line); white-space: nowrap;
  background: rgba(16, 22, 56, .95); color: var(--ink-2); font: 600 13px/1.35 var(--sans); text-align: left; cursor: pointer;
  box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .75); opacity: 0; transform: translateY(-6px);
  transition: opacity .35s ease, transform .35s var(--ease); -webkit-tap-highlight-color: transparent; }
.musichint b { color: var(--gold-2); font-weight: 800; }
.musichint::before { content: ""; position: absolute; top: -6px; right: 62px; width: 10px; height: 10px; background: inherit;
  border-left: 1px solid var(--gold-line); border-top: 1px solid var(--gold-line); transform: rotate(45deg); }
.musichint.show { opacity: 1; transform: none; animation: hintBob 2.4s ease-in-out .4s infinite; }
@keyframes hintBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }
.soundbtn.beckon { animation: beckonPulse 1.8s ease-out infinite; }
@keyframes beckonPulse { 0% { box-shadow: 0 0 0 0 rgba(232, 197, 132, .55); } 70% { box-shadow: 0 0 0 10px rgba(232, 197, 132, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 197, 132, 0); } }
.soundbtn.on.say { width: auto; padding: 0 13px 0 11px; gap: 7px; }  /* музыка вошла: «Tap to mute» на 4 секунды */
.soundbtn.on.say .cap { display: inline; animation: fadeUp .4s var(--ease) both; }
.topnav:has(.mylib:not([hidden])) .soundbtn .cap { display: none; }
.topnav:has(.mylib:not([hidden])) .soundbtn:not(.on) { width: 34px; padding: 0; }
@media (max-width: 479px) {  /* узкий экран и кнопка «Start» в шапке — у музыки только иконка, иначе шапка не влезает */
  .topnav:has(.navcta) .soundbtn .cap { display: none; }
  .topnav:has(.navcta) .soundbtn:not(.on) { width: 34px; padding: 0; }
}
@media (max-width: 479px) { .topnav { gap: 2px; } .topnav a { padding: 7px 10px; } }
@media (max-width: 400px) { .wordmark { font-size: 21px; } .emblem { width: 31px; height: 31px; } }
@media (max-width: 359px) { .wordmark { display: none; } }
.topnav .navcta { background: var(--brand); color: var(--on-brand); border: 1px solid var(--brand); padding: 7px 14px; }
@media (hover: hover) and (pointer: fine) { .topnav .navcta:hover { background: var(--brand-2); color: var(--on-brand); } }
.navcta .s { display: none; }
@media (max-width: 479px) { .navcta .l { display: none; } .navcta .s { display: inline; } }

/* подвал на главной — тонкая строка ссылок и мелкий текст; во время квиза его нет совсем */
.foot.slim { margin-top: 6px; padding: 18px var(--pad) calc(26px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .06);
  font-size: 12px; text-align: center; }
.foot.slim nav { justify-content: center; gap: 4px 14px; margin-bottom: 8px; }
.foot.slim nav a { font-size: 12.5px; color: var(--dim); }
.foot.slim p { margin: 4px auto; max-width: 760px; color: var(--dim); line-height: 1.55; }
html.quizzing .foot { display: none; }

.sky .s1 { background-size: 640px 640px; } .sky .s2 { background-size: 820px 820px; } .sky .s3 { background-size: 560px 560px; }


/* ───────── тёмная тема «синий час»: глубокий вечерний синий, тёплый белый текст, мягкое золото ─────────
   Спокойно, без неона: свет только тёплый и приглушённый (горизонт внизу, лучи и пылинки на главной). */
body::before { position: fixed; inset: 0 0 auto 0; height: 100vh; height: 100lvh;  /* «большой» экран — не прыгает с адресной строкой */
  background:
    radial-gradient(1200px 560px at 50% 118%, rgba(214, 160, 96, .17), transparent 70%),
    radial-gradient(900px 520px at 88% -12%, rgba(120, 132, 214, .17), transparent 70%),
    radial-gradient(700px 440px at -5% 8%, rgba(78, 92, 180, .14), transparent 70%); }
a { color: var(--link); text-decoration-color: rgba(201, 208, 247, .35); }
::selection { background: rgba(220, 181, 111, .35); }
.emblem > circle { fill: #26306a; stroke: rgba(220, 181, 111, .55); stroke-width: 1.4; }
@media (hover: hover) and (pointer: fine) { .topnav a:hover { background: rgba(255, 255, 255, .07); } }
.chips li { background: rgba(255, 255, 255, .05); }
.card { background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, 0) 40%), var(--card); }
.opt { background: rgba(255, 255, 255, .035); }
.opt .em { background: rgba(255, 255, 255, .07); }
@media (hover: hover) and (pointer: fine) { .opt:hover, .scale button:hover, .btn.ghost:hover { background: rgba(255, 255, 255, .07); } }
.opt.picked, .opt.on { background: var(--brand-soft); }
.opt.on .box::after { border-color: var(--on-brand); }
.scale button { background: rgba(255, 255, 255, .03); }
.btn { color: var(--on-brand); box-shadow: 0 12px 28px -14px rgba(220, 181, 111, .5); }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: var(--brand-2); } }
.btn.gold { background: linear-gradient(180deg, #e9c47e, #cfa45c); color: var(--on-brand); }
.btn.ghost { color: var(--ink); background: transparent; border-color: var(--line); }
.scale button.picked, .pathlist i.today, .pathlist i.done, .jtabs button[aria-selected="true"], .checkin .focus button.picked,
.mailbox button, .product .flag, .pricecard .tag, .steps3 .n, .steps li.done .tick, .seal, .welcomefx .ok,
.topnav .navcta, .topnav .navcta:hover { color: var(--on-brand); }
.play { box-shadow: 0 16px 34px -14px rgba(220, 181, 111, .5); }
.play .icon { fill: var(--on-brand); }
.play svg.ring2 { max-width: none; }  /* было: общее «svg {max-width:100%}» сжимало кольцо — оно съезжало влево */
.note, .inter .art, .versecard, .cta-end, .banner.warn, .pending.slow, .recap.soon, .jcard.soon, .advent-card, .week-card { border-color: var(--gold-line); }
.inter .art { background: radial-gradient(circle at 50% 40%, rgba(232, 197, 132, .22), var(--gold-soft) 70%); }
.welcomefx { border-color: rgba(140, 207, 166, .3); }
.crisis { border-color: rgba(236, 156, 144, .3); }
.path { background: rgba(255, 255, 255, .02); }
.pricecard { background: linear-gradient(180deg, rgba(220, 181, 111, .08), rgba(255, 255, 255, .02)); }
.opts + .stack.sticky::before { background: linear-gradient(180deg, rgba(24, 32, 74, 0), var(--card) 40%); }
.thumb.locked::after { background: rgba(15, 21, 50, .35); }
.stickycta { background: rgba(15, 21, 50, .94); }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: 0 0 0 4px rgba(220, 181, 111, .16); }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23dcb56f' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.modal { background: rgba(4, 7, 22, .66); }
.bar i { background: linear-gradient(90deg, #b8924f, var(--brand)); }
.advent-card { background: linear-gradient(180deg, rgba(220, 181, 111, .08), var(--card) 60%); }
.week-card { background: linear-gradient(180deg, rgba(220, 181, 111, .07), var(--card) 55%); }
.recap.soon .tiles div { background: rgba(255, 255, 255, .04); }
.night-card { background: linear-gradient(160deg, #080c22 0%, #0e1436 60%, #161d4a 100%); border-color: var(--line); }

.btn[disabled] { opacity: 1; background: rgba(255, 255, 255, .07); color: var(--dim); box-shadow: none; }
.topnav:has(.mylib:not([hidden])) .navcta { display: none; }
.brand { gap: 10px; }
.brand a.logo { min-width: 0; flex-shrink: 0; }


/* ───────── после квиза: «ищем вашу историю» и молитва прямо на экране истории ───────── */
.analyze { overflow: hidden; }
.analyze .ring { width: 188px; height: 188px; margin: 8px auto 6px; }
.analyze .ring svg { width: 188px; height: 188px; }
.analyze .ring .fill { stroke: url(#rgg); }
.analyze .ring .pct { font-size: 50px; }
.analyze .ring .orbit { position: absolute; inset: -12px; border-radius: 50%; border: 1px dashed rgba(220, 181, 111, .22); animation: spin 9s linear infinite; }
.analyze .ring .orbit::before { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%;
  background: #f6dca6; box-shadow: 0 0 10px 3px rgba(246, 220, 166, .6); }
.books { height: 36px; margin: 6px 0 16px; font-family: var(--serif); font-style: italic; font-size: 25px; line-height: 36px; color: var(--gold-2); }
.books span { display: inline-block; }
.books span.in { animation: bookIn .14s ease-out both; }
@keyframes bookIn { from { opacity: 0; transform: translateY(8px); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }
.books.found span { font-style: normal; font-weight: 700; color: #fff7e6; text-shadow: 0 0 22px rgba(246, 220, 166, .65); animation: found .7s var(--ease) both; }
@keyframes found { 0% { transform: scale(.8); opacity: 0; } 60% { transform: scale(1.12); opacity: 1; } 100% { transform: none; } }
.analyze .ask { margin-top: 12px; background: rgba(220, 181, 111, .08); border-color: var(--gold-line); }
.analyze.asking .steps { display: none; }
.prayerbox { position: relative; margin: 6px 0 16px; padding: 22px 18px 16px; border-radius: 20px; text-align: center; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, rgba(220, 181, 111, .14), rgba(220, 181, 111, 0) 60%), linear-gradient(180deg, #0b1030, #10163a);
  border: 1px solid var(--gold-line); }
.prayerbox .prayer-head { font-size: clamp(24px, 5.8vw, 30px); margin-bottom: 4px; }
.prayerbox .player { margin: 16px 0 4px; }
.revealcard .stack .btn { font-size: 16.5px; }

/* ───────── шапка: закреплена сверху, при прокрутке — матовое стекло. Кнопка музыки всегда в ней, её ничто
   не перекрывает (раньше «плавающая» кнопка уезжала под карточки) ───────── */
.topbar { position: sticky; top: 0; z-index: 30; transition: background-color .35s ease, box-shadow .35s ease; }
.topbar.scrolled { background-color: rgba(10, 15, 43, .88); box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 12px 30px -20px rgba(0, 0, 0, .7); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .topbar.scrolled { background-color: rgba(10, 15, 43, .66); -webkit-backdrop-filter: blur(12px) saturate(1.3); backdrop-filter: blur(12px) saturate(1.3); }
}

/* ───────── вступление (~1,5 с; квиз нажимается почти сразу) ─────────
   Сначала ждём шрифты (html.wait, не дольше 1,2 с): иначе текст рисуется запасным шрифтом и потом перестраивается
   на глазах — «всё трясётся», карточка прыгает. Потом: свет поднимается от горизонта и проступает сияние (sky.js),
   проявляются звёзды; слова заголовка мягко всплывают по одному, за ними шёпот; карточка поднимается, её край один
   раз мягко вспыхивает, ответы появляются по одному. Только opacity и transform — без размытия, масштаба и «золота»
   в буквах (на iPhone они дрожат и подрезают хвосты букв). --k — темп: повторный заход за визит (html.fast) —
   быстрее; fill: backwards — после появления у кнопок работает отклик. */
:root { --k: 1; }
html.fast { --k: .55; }
html.fx.wait *, html.fx.wait *::before, html.fx.wait *::after { animation-play-state: paused !important; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
html.fx .topbar { animation: fadeIn .9s ease calc(.15s * var(--k)) backwards; }
html.fx .sky .starfield { animation: fadeIn 2s ease calc(.1s * var(--k)) backwards; }
html.fx .sky .motes { animation: fadeIn 2.4s ease calc(.8s * var(--k)) backwards; }
html.fx .hook .kicker { animation: fadeUp .8s var(--ease) calc(.2s * var(--k)) backwards; }
html.fx .hook .whisper { animation: fadeUp .9s var(--ease) calc(.85s * var(--k)) backwards; }
html.fx .hook .chips, html.fx .hook .verse-line { animation: fadeUp .8s var(--ease) calc(1.1s * var(--k)) backwards; }
html.fx #q-first { animation: cardRise .9s var(--ease) calc(.8s * var(--k)) backwards; }
html.fx #q-first .opt { animation: fadeUp .6s var(--ease) backwards; }
html.fx #q-first .opt:nth-child(1) { animation-delay: calc(1s * var(--k)); }
html.fx #q-first .opt:nth-child(2) { animation-delay: calc(1.08s * var(--k)); }
html.fx #q-first .opt:nth-child(3) { animation-delay: calc(1.16s * var(--k)); }
html.fx #q-first .opt:nth-child(4) { animation-delay: calc(1.24s * var(--k)); }
html.fx #q-first .assure { animation: fadeIn .8s ease calc(1.35s * var(--k)) backwards; }
/* край карточки один раз мягко вспыхивает — меняется только прозрачность, карточка не перерисовывается */
html.fx #q-first::before { content: ""; position: absolute; inset: -1px; z-index: 2; border-radius: inherit; pointer-events: none; opacity: 0;
  box-shadow: 0 0 0 1px rgba(255, 224, 170, .7), 0 0 26px rgba(255, 210, 140, .28);
  animation: edgeGlow 1.8s ease calc(1.2s * var(--k)) both; }
@keyframes edgeGlow { 0% { opacity: 0; } 35% { opacity: 1; } 100% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
}
