:root {
  --bg: #f8f7f4;
  --surface: #ffffff;
  --ink: #16171b;
  --ink-2: #4d4f57;
  --muted: #8a8c93;
  --line: #e8e6e1;
  --line-2: #d9d6cf;
  --accent: #f0623a;
  --accent-soft: #fff0ea;
  --paper: #fffdf9;
  --sans: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Literata', Georgia, 'Times New Roman', serif;
  --hand: 'Caveat', 'Segoe Print', cursive;
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --shadow: 0 1px 2px rgba(22, 23, 27, .04), 0 8px 24px rgba(22, 23, 27, .06);
  --shadow-lg: 0 2px 4px rgba(22, 23, 27, .04), 0 24px 60px rgba(22, 23, 27, .1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.025em; line-height: 1.08; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }

.eyebrow { font-size: 13px; font-weight: 500; color: var(--accent); margin-bottom: 12px; }
.link { background: none; border: 0; padding: 0; font-size: 14px; color: var(--muted); }
.link:hover { color: var(--ink); }

/* ---------- Кнопки ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 500; white-space: nowrap;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, opacity .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .45; cursor: default; transform: none; }
.btn--sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn--lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn--block { width: 100%; white-space: normal; text-align: center; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { box-shadow: 0 8px 20px rgba(22, 23, 27, .18); }
.btn--ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--line-2); }

.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.logo__mark { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--ink); color: #fff; }
.logo__mark svg { width: 18px; height: 18px; }

/* ---------- Цветные пятна ---------- */

.aura {
  --h: 24;
  position: absolute; pointer-events: none; border-radius: 50%;
  background: radial-gradient(closest-side, hsl(var(--h) 95% 72% / .55), hsl(var(--h) 95% 80% / .18) 60%, transparent);
}
.aura--hero-a { width: 620px; height: 620px; right: 4%; top: -80px; }
.aura--hero-b { width: 520px; height: 520px; right: 22%; top: 220px; }
.aura--hero-c { width: 420px; height: 420px; left: -120px; bottom: -160px; opacity: .7; }
.aura--icon { width: 180px; height: 180px; left: -50px; top: -60px; opacity: .8; }
.aura--card { width: 220px; height: 220px; right: -70px; bottom: -90px; opacity: .9; transition: transform .4s ease; }
.aura--product-a { width: 520px; height: 520px; left: -160px; top: -200px; }
.aura--product-b { width: 460px; height: 460px; right: -120px; bottom: -220px; }
.aura--stage { width: 760px; height: 760px; left: 50%; top: -260px; transform: translateX(-50%); opacity: .75; }

/* ---------- Лендинг ---------- */

.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 32px;
  padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(248, 247, 244, .78); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(232, 230, 225, .7);
}
.nav__links { display: flex; gap: 28px; margin-left: auto; font-size: 15px; color: var(--ink-2); }
.nav__links a:hover { color: var(--ink); }
.nav__burger { display: none; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); place-items: center; }
.nav__burger span, .nav__burger span::before, .nav__burger span::after { display: block; width: 16px; height: 1.6px; border-radius: 2px; background: var(--ink); position: relative; transition: transform .2s ease, background .2s; }
.nav__burger span::before, .nav__burger span::after { content: ''; position: absolute; left: 0; }
.nav__burger span::before { top: -5px; } .nav__burger span::after { top: 5px; }
.nav--open .nav__burger span { background: transparent; }
.nav--open .nav__burger span::before { transform: translateY(5px) rotate(45deg); }
.nav--open .nav__burger span::after { transform: translateY(-5px) rotate(-45deg); }

.hero {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center;
  max-width: 1240px; margin: 0 auto; padding: clamp(48px, 8vw, 96px) clamp(16px, 4vw, 48px) clamp(56px, 8vw, 104px);
}
.hero__copy, .hero__demo { position: relative; z-index: 1; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); margin-bottom: 24px;
}
.pill svg { color: var(--accent); }
.hero h1 { font-size: clamp(44px, 7vw, 84px); letter-spacing: -.045em; line-height: .98; }
.hero h1 em { display: block; font: italic 400 1em/1.05 var(--serif); letter-spacing: -.03em; color: var(--accent); }
.hero__sub { margin-top: 20px; font-size: clamp(22px, 2.4vw, 28px); font-weight: 500; letter-spacing: -.02em; }
.hero__text { margin: 14px 0 34px; max-width: 520px; font-size: 18px; color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__fine { margin-top: 18px; font-size: 14px; color: var(--muted); }

.bar { height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), #f5a35c); transition: width .4s ease; }

.resume {
  display: block; max-width: 460px; padding: 20px 22px; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}
.resume:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.resume__top, .resume__bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.resume__top { margin-bottom: 12px; font-size: 15px; color: var(--ink-2); }
.resume__top strong { font-size: 15px; }
.resume__bottom { margin-top: 14px; font-size: 14px; color: var(--muted); }
.resume__go { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--ink); }

.hero__demo { min-height: 460px; }
.demo-card { position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); }
.demo-card--q { left: 0; right: 8%; top: 20px; padding: 24px; animation: float 7s ease-in-out infinite; }
.demo-card__meta { font-size: 13px; color: var(--muted); }
.demo-card__title { margin: 8px 0 16px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.demo-card__answer { padding: 14px 16px; border-radius: var(--r-sm); background: var(--bg); font-size: 15px; color: var(--ink-2); min-height: 76px; }
.caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -3px; background: var(--accent); animation: blink 1s steps(1) infinite; }
.demo-card__row { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.demo-mic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; box-shadow: 0 0 0 6px var(--accent-soft); }
.wave { display: flex; align-items: center; gap: 4px; height: 28px; }
.wave i { width: 4px; border-radius: 4px; background: var(--accent); opacity: .7; animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(1) { height: 30%; animation-delay: -.1s; } .wave i:nth-child(2) { height: 70%; animation-delay: -.3s; }
.wave i:nth-child(3) { height: 45%; animation-delay: -.5s; } .wave i:nth-child(4) { height: 90%; animation-delay: -.2s; }
.wave i:nth-child(5) { height: 55%; animation-delay: -.6s; } .wave i:nth-child(6) { height: 35%; animation-delay: -.4s; }
.wave i:nth-child(7) { height: 65%; animation-delay: -.7s; }
.demo-card--follow {
  z-index: 2; left: 6%; top: 300px; display: flex; align-items: center; gap: 12px; padding: 14px 18px 14px 14px; max-width: 340px;
  font-size: 15px; animation: float 7s ease-in-out -2s infinite;
}
.demo-card__avatar { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #ece6ff; color: #6b4de6; }
.demo-book {
  position: absolute; right: 0; top: 230px; width: 190px; aspect-ratio: 3 / 4; border-radius: 6px 14px 14px 6px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 18px;
  background: linear-gradient(90deg, #e8d7c5 0 4%, #f6ebde 7%, #f3e5d5 100%);
  box-shadow: inset 4px 0 8px rgba(0, 0, 0, .06), var(--shadow-lg); transform: rotate(4deg);
  animation: float 7s ease-in-out -4s infinite;
}
.demo-book span { font-size: 9px; letter-spacing: .25em; text-transform: uppercase; color: var(--accent); }
.demo-book strong { font: 500 22px/1.1 var(--serif); letter-spacing: -.01em; }
.demo-book em { font: italic 13px var(--serif); color: var(--ink-2); }
@keyframes float { 50% { translate: 0 -8px; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes wave { 50% { transform: scaleY(.45); } }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  width: min(1144px, calc(100% - 2 * clamp(16px, 4vw, 48px))); margin: 0 auto; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line);
}
.stats div { padding: 26px 28px; display: flex; flex-direction: column; gap: 2px; }
.stats div + div { border-left: 1px solid var(--line); }
.stats strong { font-size: 32px; font-weight: 600; letter-spacing: -.03em; }
.stats span { color: var(--muted); font-size: 15px; }

.section { scroll-margin-top: 64px; max-width: 1240px; margin: 0 auto; padding: clamp(64px, 9vw, 112px) clamp(16px, 4vw, 48px) 0; }
.section > h2 { font-size: clamp(32px, 4.4vw, 52px); max-width: 720px; margin-bottom: 40px; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature { position: relative; overflow: hidden; padding: 28px 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.feature__icon { position: relative; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--surface); box-shadow: var(--shadow); margin-bottom: 28px; }
.feature h3 { position: relative; font-size: 19px; margin-bottom: 8px; }
.feature p { position: relative; color: var(--ink-2); font-size: 15px; }

.chapter-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.chapter-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 6px; min-height: 176px;
  padding: 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease;
}
.chapter-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.chapter-card:hover .aura--card { transform: scale(1.25); }
.chapter-card__num { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.chapter-card strong { position: relative; font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.chapter-card__q { position: relative; margin-top: auto; font-size: 13px; line-height: 1.4; color: var(--ink-2); }

.product {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 420px; gap: 48px; align-items: center;
  padding: clamp(28px, 5vw, 64px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line);
}
.product__copy, .product__card { position: relative; }
.product h2 { font-size: clamp(32px, 4.4vw, 52px); }
.product__copy > p:last-child { margin-top: 18px; font-size: 18px; color: var(--ink-2); max-width: 460px; }
.product__card { padding: 28px; border-radius: var(--r); background: rgba(255, 255, 255, .8); border: 1px solid var(--line); box-shadow: var(--shadow-lg); backdrop-filter: blur(8px); }
.checks { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.checks li { display: flex; align-items: center; gap: 12px; }
.checks svg { flex: none; width: 22px; height: 22px; padding: 5px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.product__price { display: flex; align-items: baseline; gap: 10px; padding: 18px 0; margin-bottom: 18px; border-top: 1px solid var(--line); }
.product__price strong { font-size: 32px; letter-spacing: -.03em; }
.product__price span { color: var(--muted); font-size: 15px; }

.footer {
  max-width: 1240px; margin: 0 auto; padding: 64px clamp(16px, 4vw, 48px) 40px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted);
}

/* ---------- Интервью ---------- */

.studio { min-height: 100vh; display: flex; flex-direction: column; }
.studio__bar {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px;
  padding: 12px clamp(16px, 3vw, 32px); background: rgba(248, 247, 244, .85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
}
.studio__progress { flex: 1; max-width: 360px; margin-left: auto; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.saved { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #2f9e6a; opacity: 0; transition: opacity .3s; }
.saved.is-on { opacity: 1; }

.studio__body { flex: 1; display: grid; grid-template-columns: 260px minmax(0, 1fr); }
.side {
  position: sticky; top: 63px; align-self: start; max-height: calc(100vh - 63px); overflow-y: auto;
  display: flex; flex-direction: column; gap: 16px; padding: 24px 16px;
}
.chapters { display: flex; flex-direction: column; gap: 2px; }
.side__upsell {
  display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: var(--r);
  background: var(--ink); color: #fff; font-size: 13px; transition: transform .15s ease;
}
.side__upsell:hover { transform: translateY(-1px); }
.side__upsell strong { font-size: 15px; font-weight: 600; }
.side__upsell span { color: rgba(255, 255, 255, .65); }
.side__upsell--plain { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.side__upsell--plain span { color: var(--muted); }
.chapters__item { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: var(--r-sm); font-size: 15px; color: var(--ink-2); }
.chapters__item:hover { background: rgba(22, 23, 27, .04); color: var(--ink); }
.chapters__item.is-active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.chapters__dot {
  flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 12px; font-weight: 600;
  background: hsl(var(--h) 90% 93%); color: hsl(var(--h) 55% 38%);
}
.chapters__item.is-done .chapters__dot { background: hsl(var(--h) 75% 55%); color: #fff; }
.chapters__name { flex: 1; min-width: 0; line-height: 1.25; }
.chapters__count { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }

.stage { position: relative; overflow: hidden; padding: clamp(20px, 4vw, 48px) clamp(16px, 4vw, 48px) 40px; }
.card {
  position: relative; max-width: 760px; margin: 0 auto; padding: clamp(24px, 4vw, 44px);
  border-radius: var(--r-lg); background: rgba(255, 255, 255, .92); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.card__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card__top .eyebrow { margin: 0; }
.card__n { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.dots { display: flex; gap: 6px; margin: 16px 0 28px; }
.dots a { flex: 1; max-width: 56px; height: 4px; border-radius: 4px; background: var(--line); }
.dots a.is-done { background: #f6c1ad; }
.dots a.is-on { background: var(--accent); }

.q-title { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -.03em; line-height: 1.1; }
.q-lead { margin: 12px 0 28px; font-size: 17px; color: var(--ink-2); }

.options { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.option {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); font-size: 15px; text-align: left;
  transition: background .15s, border-color .15s;
}
.option:hover { border-color: var(--line-2); }
.option__mark { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; color: transparent; flex: none; }
.option.is-on { background: var(--accent-soft); border-color: #f6b9a3; }
.option.is-on .option__mark { background: var(--accent); border-color: var(--accent); color: #fff; }

.answer { border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: border-color .15s, box-shadow .15s; }
.answer:focus-within { border-color: #f3a689; box-shadow: 0 0 0 4px var(--accent-soft); }
.answer textarea {
  display: block; width: 100%; min-height: 96px; resize: vertical; border: 0; background: transparent; outline: none;
  padding: 18px 20px 8px; font: 17px/1.6 var(--sans); color: var(--ink);
}
.answer textarea::placeholder { color: #b0b2b8; }
.answer__tools { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px 12px; }
.mic {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 6px; border-radius: 999px; border: 0;
  background: var(--accent-soft); color: var(--accent); font-size: 14px; font-weight: 500; white-space: nowrap;
}
.mic svg { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--accent); color: #fff; }
.mic.is-rec { background: var(--accent); color: #fff; }
.mic.is-rec svg { background: #fff; color: var(--accent); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(255, 255, 255, .35); } }
.photo-add { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.photo-add:hover { background: var(--bg); color: var(--ink); }
.hint { font-size: 13px; color: var(--muted); }

.follow { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; padding: 14px 16px; border-radius: var(--r); background: #f3efff; animation: rise .3s ease; }
.follow__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.follow__q {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; text-align: left;
  padding: 10px 12px; border-radius: 12px; border: 0; background: #fff; font-size: 15px; transition: box-shadow .15s;
}
.follow__q:hover { box-shadow: 0 0 0 1px #d9cffc; }
.follow__q span { flex: none; color: #6b4de6; display: grid; }
.follow[hidden] { display: none; }
.follow__avatar { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #6b4de6; }
.follow__label { font-size: 12px; font-weight: 500; color: #6b4de6; margin-bottom: 2px; }
.follow__text { font-size: 15px; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }

.photo-preview { margin: 18px 0 0; display: flex; align-items: center; gap: 16px; }
.photo-preview img { width: 96px; height: 72px; object-fit: cover; border-radius: 10px; box-shadow: var(--shadow); }
.photo-preview figcaption { flex: 1; display: flex; gap: 12px; align-items: center; min-width: 0; }
.photo-preview input { flex: 1; min-width: 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; font: 24px var(--hand); padding: 4px 0; outline: none; }
.photo-preview input:focus { border-color: var(--accent); }

.form { display: flex; flex-direction: column; gap: 18px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--ink-2); }
.form input {
  height: 52px; padding: 0 18px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface);
  font: 17px var(--sans); color: var(--ink); outline: none; transition: border-color .15s, box-shadow .15s;
}
.form input:focus { border-color: #f3a689; box-shadow: 0 0 0 4px var(--accent-soft); }
.form__row { display: grid; grid-template-columns: 160px 1fr; gap: 14px; }
.seg { border: 0; padding: 0; margin: 0; display: flex; gap: 8px; }
.seg legend { font-size: 14px; color: var(--ink-2); margin-bottom: 8px; padding: 0; }
.seg button { height: 44px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 15px; }
.seg button.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }

.card__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.card__nav-right { display: flex; align-items: center; gap: 20px; }
.stage__hint { position: relative; max-width: 760px; margin: 18px auto 0; text-align: center; font-size: 13px; color: var(--muted); }
kbd { font: 12px var(--sans); padding: 1px 6px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--surface); }

/* ---------- Книга ---------- */

.reader { min-height: 100vh; }
.reader__bar {
  position: sticky; top: 0; z-index: 20; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px clamp(16px, 3vw, 32px); background: rgba(248, 247, 244, .85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
}
.reader__label { font-size: 14px; color: var(--muted); }
.reader__actions { display: flex; gap: 8px; }
.reader__body { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: clamp(20px, 4vw, 56px); justify-content: center; padding: 36px clamp(16px, 3vw, 32px) 80px; }
.reader__toc { position: sticky; top: 90px; align-self: start; display: flex; flex-direction: column; gap: 2px; }
.reader__toc a { display: flex; align-items: center; gap: 12px; padding: 7px 8px; border-radius: 10px; font-size: 15px; color: var(--ink-2); }
.reader__toc a:hover { background: var(--surface); color: var(--ink); }
.reader__thumb { flex: none; width: 30px; height: 30px; border-radius: 8px; overflow: hidden; background: radial-gradient(circle at 30% 30%, hsl(var(--h) 95% 80%), hsl(var(--h) 80% 90%)); }
.reader__thumb img { width: 100%; height: 100%; object-fit: cover; }

.paper { background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-lg); border-radius: 6px; overflow: hidden; }

/* Страницы книги — общие для экрана и PDF. */
.bk-cover { padding: 20px; }
.bk-cover__frame {
  min-height: 600px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 48px 32px; border-radius: 4px; color: var(--ink); background: #f4e9dc;
}
.bk-cover__kicker { font: 600 11px var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--accent); }
.bk-cover h1 { font: 500 52px/1.05 var(--serif); letter-spacing: -.02em; margin: 22px 0 22px; max-width: 440px; }
.bk-cover__rule { width: 48px; height: 2px; background: var(--accent); }
.bk-cover__years { margin-top: 18px; font: italic 20px var(--serif); color: var(--ink-2); min-height: 1em; }
.bk-cover__brand { margin-top: 110px; font: 500 14px var(--sans); letter-spacing: .04em; color: var(--muted); }

.bk-toc, .bk-chapter, .bk-empty { padding: 56px clamp(24px, 8%, 76px); border-top: 1px solid var(--line); }
.bk-toc h2 { font: 500 34px var(--serif); margin-bottom: 24px; }
.bk-toc ol { list-style: none; margin: 0; padding: 0; }
.bk-toc li { display: flex; align-items: baseline; gap: 18px; padding: 11px 0; border-bottom: 1px solid var(--line); font: 20px var(--serif); }
.bk-toc li span { width: 76px; font: 500 12px var(--sans); color: var(--muted); }

.bk-chapter { font: 18px/1.75 var(--serif); color: #24242a; }
.bk-chapter__num { font: 600 12px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.bk-chapter h2 { font: 500 44px/1.1 var(--serif); letter-spacing: -.02em; margin: 10px 0 30px; }
.bk-chapter p { margin: 0 0 14px; text-align: justify; hyphens: auto; }
.bk-sub { clear: both; font: italic 500 18px/1.4 var(--serif); letter-spacing: 0; color: var(--ink-2); margin: 30px 0 10px; }
.bk-drop::first-letter { float: left; font-size: 62px; line-height: .85; padding: 6px 8px 0 0; color: var(--accent); }
.bk-photo { margin: 6px 0 28px; }
.bk-photo img { width: 100%; max-height: 400px; object-fit: cover; border-radius: 4px; }
.bk-photo figcaption { font: 24px/1.2 var(--hand); color: var(--ink-2); padding: 10px 2px 0; }
.bk-empty { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; font: 20px var(--serif); color: var(--ink-2); }

/* Источник для PDF: ширина = A5 минус поля, вне экрана. */
.pdf-stage { position: fixed; left: -10000px; top: 0; }
.pdf-root { width: 446px; background: var(--paper); }
.pdf-root .bk-cover { padding: 0; }
/* html2canvas плохо рисует буквицу и выключку по ширине — упрощаем. */
.pdf-root .bk-cover__frame { min-height: 650px; }
.pdf-root .bk-drop::first-letter { float: none; font-size: inherit; padding: 0; color: inherit; }
.pdf-root .bk-chapter p { text-align: left; hyphens: manual; }
.pdf-root .bk-toc, .pdf-root .bk-chapter { padding: 0; border: 0; }
.pdf-root .bk-chapter { font-size: 15px; }
.pdf-root .bk-chapter h2 { font-size: 36px; }

/* ---------- Прочее ---------- */

.toast {
  position: fixed; z-index: 50; left: 50%; bottom: 24px; transform: translateX(-50%);
  max-width: calc(100% - 32px); padding: 12px 18px; border-radius: var(--r-sm);
  background: var(--ink); color: #fff; font-size: 14px; box-shadow: var(--shadow-lg); animation: rise .25s ease;
}

@media (max-width: 1080px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .chapter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 900px) {
  /* В Safari на iPhone липкие панели наезжают на адресную строку — на мобильных они обычные. */
  .nav, .studio__bar, .reader__bar { position: relative; backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  .nav { gap: 10px; padding: 10px 16px; }
  .nav .btn { margin-left: auto; }
  .nav__burger { display: grid; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0; flex-direction: column; gap: 0;
    padding: 8px 16px 16px; background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(22, 23, 27, .08); font-size: 17px;
    opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav__links a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav__links a:last-child { border-bottom: 0; }
  .nav--open .nav__links { opacity: 1; visibility: visible; transform: none; }
  .hero { grid-template-columns: 1fr; }
  .hero__demo { min-height: 430px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats div:nth-child(3) { border-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .studio__body { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; max-height: none; padding: 12px 16px 0; gap: 10px; overflow: visible; }
  .chapters { flex-direction: row; overflow-x: auto; gap: 6px; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
  .side__upsell { flex-direction: row; justify-content: space-between; align-items: baseline; padding: 10px 14px; }
  .chapters__item { flex: none; padding: 6px 12px 6px 6px; white-space: nowrap; }
  .chapters__count { display: none; }
  .studio__progress { max-width: none; }
  .reader__body { grid-template-columns: minmax(0, 1fr); }
  .reader__toc { display: none; }
}
@media (max-width: 600px) {
  .hide-sm { display: none; }
  .nav .logo { font-size: 16px; }
  .nav .btn { height: 40px; padding: 0 14px; }
  .hero { padding-top: 28px; gap: 28px; }
  .pill { margin-bottom: 18px; }
  .hero__text { font-size: 17px; margin-bottom: 26px; }
  .hero__actions .btn { flex: 1; }
  .stats div { padding: 18px 20px; }
  .stats strong { font-size: 26px; }
  .section > h2 { margin-bottom: 28px; }
  .chapter-grid { gap: 10px; }
  .chapter-card { min-height: 150px; padding: 16px; }
  .chapter-card strong { font-size: 17px; line-height: 1.2; }
  .chapter-card__q { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .product { padding: 24px 18px; }
  .product__card { padding: 0; background: none; border: 0; box-shadow: none; backdrop-filter: none; }
  .product__price { flex-direction: column; gap: 2px; }
  .product h2 { font-size: 30px; }
  .product__copy > p:last-child { font-size: 16px; }
  .btn--lg { height: auto; min-height: 54px; padding: 14px 20px; }
  .footer { padding-top: 48px; flex-direction: column; align-items: flex-start; }
  .features { grid-template-columns: 1fr; }
  .hero__demo { min-height: 400px; }
  .demo-card--q { right: 0; }
  .demo-card--follow { left: 0; top: 290px; }
  .demo-book { width: 140px; top: 250px; }
  .studio__bar { gap: 12px; }
  .studio__bar .logo span:last-child, .studio__bar .saved { display: none; }
  .studio__bar .btn { padding: 0 12px; }
  .stage { padding: 12px 10px 32px; }
  .card { border-radius: var(--r); }
  .form__row { grid-template-columns: 1fr; }
  .card__nav-right { gap: 14px; }
  .stage__hint { display: none; }
  .photo-add span { display: none; }
  .bk-cover h1 { font-size: 40px; }
  .bk-chapter h2 { font-size: 34px; }
}

@media print {
  @page { size: A5; margin: 16mm 14mm; }
  body { background: #fff; }
  .reader__bar, .reader__toc, .toast { display: none !important; }
  .reader, .reader__body { display: block; padding: 0; }
  .paper { box-shadow: none; border: 0; }
  .bk-toc, .bk-chapter { break-before: page; border: 0; padding: 0; }
  .bk-cover { padding: 0; }
  .bk-cover__frame { min-height: 175mm; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .bk-photo { break-inside: avoid; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.show-sm { display: none; }
@media (max-width: 600px) {
  .show-sm { display: inline; }
}

/* ---------- Лендинг: путь, принципы, тарифы ---------- */

.hero__book-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 15px; font-weight: 500; }
.hero__book-link:hover { color: var(--accent); }

.path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: none; }
.path li { padding: 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.path li > span {
  display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 22px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent); font-weight: 600;
}
.path h3 { font-size: 19px; margin-bottom: 8px; }
.path p { color: var(--ink-2); font-size: 15px; }
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.principles div { display: flex; align-items: flex-start; gap: 10px; padding: 4px 4px; font-size: 15px; color: var(--ink-2); }
.principles svg { flex: none; width: 22px; height: 22px; padding: 5px; border-radius: 50%; background: #e6f6ee; color: #2f9e6a; }

.plans { display: grid; grid-template-columns: 1fr 1.15fr; gap: 16px; align-items: stretch; }
.plan { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 32px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.plan > * { position: relative; }
.plan--main { border-color: #f6c1ad; box-shadow: var(--shadow-lg); }
.aura--plan { position: absolute; width: 520px; height: 520px; right: -200px; top: -260px; }
.plan__name { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.tag { padding: 4px 10px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 500; letter-spacing: 0; }
.plan__price { display: flex; align-items: baseline; gap: 10px; margin: 14px 0 22px; }
.plan__price strong { font-size: 40px; font-weight: 600; letter-spacing: -.03em; }
.plan__price span { color: var(--muted); font-size: 15px; }
.plan .checks { flex: 1; }
.pricing__gift { margin-top: 20px; text-align: center; color: var(--muted); font-size: 15px; }

/* ---------- Предложение полной версии ---------- */

.offer { position: relative; overflow: hidden; min-height: 100vh; padding-bottom: 48px; }
.aura--offer-a { width: 700px; height: 700px; right: -200px; top: -240px; }
.aura--offer-b { width: 560px; height: 560px; left: -200px; bottom: -200px; }
.offer__bar { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 14px clamp(16px, 4vw, 48px); }
.offer__card {
  position: relative; max-width: 880px; margin: clamp(16px, 5vw, 56px) auto 0; padding: clamp(24px, 5vw, 56px);
  border-radius: var(--r-lg); background: rgba(255, 255, 255, .9); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.offer__card h1 { font-size: clamp(32px, 5vw, 52px); letter-spacing: -.035em; margin-bottom: 20px; }
.offer__text { font-size: 18px; color: var(--ink-2); max-width: 640px; margin-bottom: 12px; }
.offer__grid { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line); }
.offer__buy { padding: 24px; border-radius: var(--r); background: var(--bg); }
.offer__buy .plan__price { margin-top: 0; margin-bottom: 6px; }
.offer__note { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.offer__test { display: flex; flex-direction: column; gap: 14px; font-size: 14px; color: var(--ink-2); animation: rise .3s ease; }
.offer__test[hidden] { display: none; }
.offer__test strong { color: var(--ink); }

/* ---------- Книга: уведомление, предложение, редактор ---------- */

.reader__main { min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.notice {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 14px 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); font-size: 15px; color: var(--ink-2);
}
.notice a { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--ink); white-space: nowrap; }

.upsell { position: relative; overflow: hidden; padding: clamp(24px, 5vw, 44px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.upsell > *:not(.aura) { position: relative; }
.aura--upsell { width: 520px; height: 520px; right: -180px; top: -220px; }
.upsell h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 14px; }
.upsell > p:not(.eyebrow) { max-width: 560px; color: var(--ink-2); font-size: 17px; }
.upsell__row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 24px; font-size: 14px; color: var(--muted); }

.editor { display: flex; flex-direction: column; gap: 16px; }
.editor__card { padding: clamp(20px, 4vw, 32px); border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); scroll-margin-top: 80px; }
.editor__card > h2 { font-size: 24px; margin-bottom: 18px; }
.form textarea {
  padding: 14px 18px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface);
  font: 16px/1.55 var(--sans); color: var(--ink); resize: vertical; outline: none;
}
.form textarea:focus { border-color: #f3a689; box-shadow: 0 0 0 4px var(--accent-soft); }
.form .is-locked { color: var(--muted); }
.form textarea:disabled { background: var(--bg); cursor: not-allowed; }
.lock { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; font-size: 12px; color: var(--accent); }
.story { padding: 16px 0; border-top: 1px solid var(--line); }
.story:first-of-type { border-top: 0; padding-top: 0; }
.story__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 10px; }
.story__head p { font-weight: 500; }
.story textarea {
  width: 100%; min-height: 80px; padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid var(--line);
  font: 17px/1.6 var(--serif); color: var(--ink); resize: none; outline: none; overflow: hidden; background: var(--paper);
}
.story textarea:focus { border-color: #f3a689; box-shadow: 0 0 0 4px var(--accent-soft); }
.story.is-off textarea, .story.is-off .story__head p { opacity: .45; }
.switch { flex: none; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); cursor: pointer; user-select: none; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch span { position: relative; width: 36px; height: 22px; border-radius: 99px; background: var(--line-2); transition: background .2s; }
.switch span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform .2s; }
.switch input:checked + span { background: #2f9e6a; }
.switch input:checked + span::after { transform: translateX(14px); }
.switch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.editor__hint { text-align: center; font-size: 14px; color: var(--muted); }

.bk-dedication { display: flex; align-items: center; justify-content: center; min-height: 320px; padding: 56px clamp(24px, 8%, 76px); border-top: 1px solid var(--line); text-align: center; font: italic 20px/1.6 var(--serif); color: var(--ink-2); }
.pdf-root .bk-dedication { min-height: 600px; padding: 0; border: 0; }

@media (max-width: 1080px) {
  .path, .principles { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .offer__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .path, .principles { grid-template-columns: minmax(0, 1fr); }
  .path li { display: grid; grid-template-columns: 36px 1fr; column-gap: 14px; padding: 18px; }
  .path li > span { margin: 0; grid-row: span 2; }
  .plan { padding: 22px 18px; }
  .offer__card { margin: 8px 10px 0; padding: 22px 18px; }
  .offer__buy { padding: 18px; }
  .offer__text { font-size: 16px; }
  .story__head { flex-direction: column; gap: 8px; }
  .upsell__row .btn { width: 100%; }
}
@media print {
  .notice, .upsell { display: none !important; }
  .bk-dedication { break-before: page; border: 0; }
}

/* ---------- Сервер: ИИ-текст, оплата, FAQ, документы, 404 ---------- */

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.link--strong { color: var(--ink); font-weight: 500; }
.link--strong:hover { color: var(--accent); }
.link:disabled { opacity: .5; cursor: default; }

.chapter-card h3 { position: relative; font-size: 19px; font-weight: 600; letter-spacing: -.02em; }

.footer__links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__links a:hover { color: var(--ink); }

.faq { display: flex; flex-direction: column; gap: 10px; max-width: 860px; }
.faq details { border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-size: 17px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--bg); font-size: 18px; color: var(--ink-2); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--ink-2); max-width: 700px; }

.style-switch { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); align-self: flex-start; }
.style-switch button { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 16px; border-radius: 999px; border: 0; background: transparent; font-size: 14px; color: var(--ink-2); }
.style-switch button.is-on { background: var(--ink); color: #fff; }
.style-switch button svg { color: var(--accent); }
.style-switch button.is-on svg { color: #ffb197; }
.style-switch__hint { padding: 0 10px; font-size: 13px; color: var(--muted); }

.bk-stale { font: 500 13px/1.4 var(--sans) !important; color: #b4541f; background: var(--accent-soft); padding: 8px 12px; border-radius: 8px; text-align: left !important; }
.pdf-root .bk-stale { display: none; }

.notice--soft { background: transparent; border-style: dashed; font-size: 14px; }
.notice--soft span { display: inline-flex; align-items: center; gap: 8px; }
.notice--soft svg { flex: none; color: var(--muted); }

.story--ai { padding: 16px; margin-bottom: 8px; border-radius: var(--r-sm); background: #f6f2ff; border: 0; }
.story--ai .story__head p { display: inline-flex; align-items: center; gap: 6px; color: #6b4de6; }
.story--ai textarea { background: #fff; }
.editor__empty { color: var(--muted); font-size: 15px; }

.offer__legal { margin-top: 12px; font-size: 13px; color: var(--muted); }
.offer__legal a { text-decoration: underline; }
.offer__card--center { max-width: 560px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.spinner { width: 44px; height: 44px; margin-bottom: 18px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.doc__bar { padding: 16px clamp(16px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.doc { max-width: 760px; margin: 0 auto; padding: 48px 20px 80px; color: var(--ink-2); font-size: 16px; }
.doc h1 { color: var(--ink); font-size: clamp(30px, 5vw, 42px); margin-bottom: 8px; }
.doc h2 { color: var(--ink); font-size: 21px; margin: 32px 0 10px; }
.doc p, .doc ul { margin: 0 0 12px; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc a { color: var(--accent); text-decoration: underline; }
.doc mark { background: #fff1b8; color: var(--ink); padding: 0 4px; border-radius: 4px; }
.doc__meta { color: var(--muted); font-size: 14px; margin-bottom: 28px !important; }

.lost { position: relative; overflow: hidden; min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.lost__card { position: relative; max-width: 560px; text-align: center; }
.lost__code { font-size: 15px; font-weight: 600; letter-spacing: .2em; color: var(--accent); margin-bottom: 14px; }
.lost h1 { font-size: clamp(36px, 7vw, 60px); letter-spacing: -.04em; line-height: 1.02; }
.lost h1 em { display: block; font: italic 400 1em/1.1 var(--serif); color: var(--accent); }
.lost__card > p:not(.lost__code) { margin: 18px auto 30px; font-size: 18px; color: var(--ink-2); max-width: 440px; }
.lost__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 600px) {
  .style-switch { border-radius: var(--r); width: 100%; }
  .style-switch button { flex: 1; justify-content: center; }
  .style-switch__hint { width: 100%; padding: 4px 6px 2px; }
  .faq summary { padding: 16px 18px; font-size: 16px; }
  .faq details p { padding: 0 18px 18px; }
  .lost__actions .btn { width: 100%; }
}
@media print { .style-switch { display: none !important; } }

/* ---------- Оплата на нашей странице ---------- */

.offer__email { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; font-size: 14px; color: var(--ink-2); }
.offer__email input {
  height: 50px; padding: 0 16px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface);
  font: 16px var(--sans); color: var(--ink); outline: none; transition: border-color .15s, box-shadow .15s;
}
.offer__email input:focus { border-color: #f3a689; box-shadow: 0 0 0 4px var(--accent-soft); }
.offer__email input[aria-invalid="true"] { border-color: #e0533a; }
.offer__error { margin: -6px 0 12px; font-size: 14px; color: #c43d26; }
.offer__legal a { text-decoration: underline; }

.checkout { max-width: 720px; }
.checkout h1 { margin-bottom: 24px; }
.checkout .spinner { margin: 40px auto; }
.checkout__grid { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: center; }
.checkout__qr { margin: 0; text-align: center; }
.checkout__qr img { display: block; width: 220px; height: 220px; margin: 0 auto 10px; padding: 10px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.checkout__qr figcaption { font-size: 13px; color: var(--muted); }
.checkout__side { display: flex; flex-direction: column; gap: 14px; }
.checkout__lead { font-size: 17px; color: var(--ink-2); }
.checkout__fine { font-size: 14px; color: var(--muted); }
.checkout__status { display: flex; align-items: center; gap: 10px; margin-top: 28px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--bg); font-size: 15px; color: var(--ink-2); }
.dot-pulse { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); animation: pulse-dot 1.2s ease-in-out infinite; }
@keyframes pulse-dot { 50% { opacity: .3; transform: scale(.7); } }
.checkout__alt { margin-top: 14px; font-size: 14px; color: var(--muted); }
.checkout__alt a { color: var(--ink); text-decoration: underline; }

@media (max-width: 760px) {
  .checkout__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Промокод ---------- */
.plan__price s { font-size: 20px; color: var(--muted); font-weight: 500; }
.promo-note { display: inline-flex; align-items: center; gap: 6px; margin: -10px 0 18px; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: #b4441f; font-size: 13px; font-weight: 500; }
.promo-note svg { flex: none; }
.plan__price { flex-wrap: wrap; row-gap: 2px; }
.plan__price strong, .plan__price s, .plan__price span { white-space: nowrap; }
