/* ==========================================================================
   «Живи» — квантовая книга Дианы Антонян · лендинг
   Дизайн-токены и стили воссозданы из design_handoff_zhivi_landing
   ========================================================================== */

:root {
  /* — Бренд / тёмно-синий — */
  --brand:        #34586e;
  --brand-deep:   #2a4a60;
  --brand-accent: #1f4055;

  /* — Текст — */
  --text:        #2a3942;
  --muted:       #5d717c;
  --muted-2:     #5c6e78; /* контраст AA: было #6b7e89 (4.1:1 → 5.2:1) */
  --muted-3:     #5e717b; /* контраст AA: было #7a8d98 (3.4:1 → 5.0:1) */
  --muted-4:     #5f7480; /* контраст AA: было #9aafbb (2.2:1 → 4.8:1) */
  --muted-5:     #a9bac4; /* юр-дисклеймер футера — данные/правки позже */

  /* — Эйчбраузеры / подписи — */
  --eyebrow:        #4f748f; /* контраст AA: было #6f93aa (3.2:1 → 4.8:1) */
  --on-dark-1:      #afcfe1; /* контраст AA на бренде: было #8fb6cb (3.5:1 → 4.6:1) */
  --on-dark-2:      #afcfe1; /* контраст AA на бренде: было #9cc4dd (4.1:1 → 4.6:1) */
  --on-dark-3:      #bcd4e2;
  --on-dark-4:      #cfe0ec;
  --on-dark-5:      #dcebf3;
  --on-dark-6:      #e3eef4;
  --on-dark-7:      #e7f1f8;
  --on-dark-8:      #eaf3f8;

  /* — Светлые фоны / границы — */
  --page:        #fbfcfd;
  --sky-soft:    #eef5fa;
  --sky-soft-2:  #eef4f9;
  --border:      #eef2f5;
  --border-2:    #e6edf2;
  --border-3:    #d8e6ef;
  --border-4:    #d8e2e9;
  --border-5:    #e9eff3;

  /* — Голубые акценты / градиенты — */
  --sky-1:       #bcd9ea;
  --sky-2:       #cbe1ee;
  --sky-3:       #9cc4dd;
  --sky-hair:    #cdddE7;
  --icon-bg:     #eaf3f8;
  --icon-bg-2:   #e7f1f8;
  --icon-fg:     #5a86a0;
  --num:         #9bbacb;

  /* — Шрифты — */
  --display: 'Cormorant Garamond', Georgia, serif;
  --body:    'Manrope', system-ui, -apple-system, sans-serif;

  /* — Тени — */
  --shadow-card:   0 20px 44px rgba(40,70,95,.16);
  --shadow-cover:  0 34px 70px rgba(40,70,95,.28);
  --shadow-offer:  0 30px 72px rgba(8,26,40,.42);
  --shadow-modal:  0 30px 80px rgba(15,35,50,.4);
  --shadow-btn:    0 14px 30px rgba(40,70,95,.3);
  --shadow-author: 0 22px 48px rgba(40,70,95,.22);
}

/* — Reset / base — */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--text);
  background: var(--page);
}
img, video { display: block; max-width: 100%; }
::selection { background: var(--sky-1); color: var(--brand-accent); }

a { color: inherit; }

/* — Видимый фокус для клавиатурной навигации — */
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 2px; }
.btn:focus-visible { outline-offset: 3px; }
/* на тёмных секциях — светлое кольцо */
.intro :focus-visible,
.heal :focus-visible,
.buy__head :focus-visible,
.how-grid :focus-visible,
.modal__header :focus-visible { outline-color: var(--on-dark-5); }

/* — Контейнеры по ширине — */
.wrap-1080 { max-width: 1080px; margin: 0 auto; }
.wrap-1160 { max-width: 1160px; margin: 0 auto; }
.wrap-1180 { max-width: 1180px; margin: 0 auto; }
.wrap-1280 { max-width: 1280px; margin: 0 auto; }
.wrap-900  { max-width: 900px;  margin: 0 auto; }

/* — Эйчбраузер (надзаголовок) — */
.eyebrow {
  font-size: 11px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--eyebrow);
}

/* — Заголовки — */
.display { font-family: var(--display); font-weight: 300; }

/* ==========================================================================
   Кнопки
   ========================================================================== */
.btn { font-family: var(--body); cursor: pointer; text-transform: uppercase; }

.ghost-btn {
  padding: 11px 26px;
  border: 1px solid var(--brand);
  background: transparent;
  color: var(--brand);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  border-radius: 2px;
  transition: background .2s, color .2s;
}
.ghost-btn:hover { background: var(--brand); color: #f3f8fb; }

.solid-btn {
  background: var(--brand);
  border: none;
  color: #f3f8fb;
  border-radius: 2px;
  transition: transform .2s, box-shadow .2s;
}
.solid-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-btn); }

/* ==========================================================================
   Анимации
   ========================================================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}
@keyframes floatY {
  0%, 100% { transform: rotate(-2.2deg) translateY(0); }
  50%      { transform: rotate(-2.2deg) translateY(-12px); }
}
.hero-rise { animation: fadeUp .9s cubic-bezier(.22,.61,.36,1) both; }
.d1 { animation-delay: .06s; }
.d2 { animation-delay: .2s; }
.d3 { animation-delay: .34s; }
.d4 { animation-delay: .48s; }
.d5 { animation-delay: .62s; }
.book-float { animation: floatY 7s ease-in-out infinite; }

.lift { transition: transform .28s ease, box-shadow .28s ease; }
.lift:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }

/* ==========================================================================
   Nav
   ========================================================================== */
.nav {
  padding: 0 60px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(251,252,253,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 20;
}
/* содержимое шапки выровнено по ширине контента (колонка hero = 1160px) */
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1160px;
  margin: 0 auto;
  padding: 20px 0;
}
.nav__logo { text-decoration: none; line-height: 1.05; }
.nav__logo-name {
  font-family: var(--display);
  font-weight: 500;
  font-size: 27px;
  color: var(--brand);
  letter-spacing: .05em;
}
.nav__logo-sub {
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-4);
  margin-top: 3px;
}
.nav__menu {
  display: flex;
  gap: 34px;
  font-size: 12px;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.nav-link { color: var(--muted-3); text-decoration: none; transition: color .2s; }
.nav-link:hover { color: var(--brand); }

/* — Бургер (только моб.) — */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 0 auto;
  background: var(--brand);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav--open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav--open .nav__burger span:nth-child(2) { opacity: 0; }
.nav--open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__menu-cta { display: none; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: 80px 60px 92px;
  overflow: hidden;
  background: var(--sky-soft);
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(248,251,253,.66), rgba(248,251,253,.42));
  z-index: 1;
}
.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 64px;
  align-items: center;
}
.hero__kicker {
  font-size: 11px;
  letter-spacing: .36em;
  text-transform: uppercase;
  color: var(--eyebrow);
  margin-bottom: 26px;
}
.hero__title {
  font-family: var(--display);
  font-weight: 300;
  font-size: 152px;
  line-height: .84;
  letter-spacing: .02em;
  color: var(--brand);
  margin: 0;
}
.hero__lede {
  font-family: var(--display);
  font-weight: 300;
  font-style: italic;
  font-size: 29px;
  line-height: 1.4;
  color: #3d5666;
  max-width: 480px;
  margin: 30px 0 0;
}
.hero__rule { width: 40px; height: 1px; background: var(--sky-hair); margin: 40px 0; }
.hero__cta-row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero__cta {
  padding: 17px 48px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
}
.hero__delivery {
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--muted-4);
  text-transform: uppercase;
  margin-top: 20px;
}
.hero__cover-wrap { position: relative; display: flex; justify-content: center; align-items: flex-end; }
/* парящая тень под книгой (эллипс на «земле») */
.hero__cover-wrap::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -34px;
  width: 60%;
  height: 30px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(28,46,74,.34) 0%, rgba(28,46,74,.16) 45%, rgba(28,46,74,0) 72%);
  filter: blur(5px);
  z-index: 1;
  animation: floatShadow 7s ease-in-out infinite;
  pointer-events: none;
}
.hero__cover {
  position: relative;
  z-index: 2;
  width: 360px;
  filter: drop-shadow(0 30px 38px rgba(30,50,80,.30)) drop-shadow(0 10px 16px rgba(30,50,80,.20));
  animation: floatBook 7s ease-in-out infinite;
  will-change: transform;
}
@keyframes floatBook {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-18px); }
}
@keyframes floatShadow {
  0%, 100% { transform: translateX(-50%) scale(1);    opacity: .9; }
  50%      { transform: translateX(-50%) scale(.8);   opacity: .5; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__cover, .hero__cover-wrap::after { animation: none; }
}

/* ==========================================================================
   Ряд ключевых фактов
   ========================================================================== */
.facts {
  background: var(--page);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.feat-row {
  padding: 38px 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.fact { display: flex; align-items: center; gap: 15px; }
.fact__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--icon-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--icon-fg);
  font-family: var(--display);
  font-size: 23px;
}
.fact__text { font-size: 15px; line-height: 1.35; color: var(--brand); font-weight: 600; }

/* ==========================================================================
   Reader / flipbook — первые страницы книги
   ========================================================================== */
.reader { padding: 96px 60px; background: var(--sky-soft); }
.reader__head { text-align: center; margin-bottom: 50px; }
.reader__head .eyebrow { display: block; margin-bottom: 18px; }
.reader__title {
  font-family: var(--display);
  font-weight: 300;
  font-size: 52px;
  line-height: 1.05;
  color: var(--brand);
  margin: 0;
}
.reader__sub { font-size: 16px; line-height: 1.7; color: var(--muted); max-width: 560px; margin: 18px auto 0; }

.book {
  position: relative;
  z-index: 0;            /* свой контекст наложения: корешок/листы не вылезают поверх меню и модалки */
  width: 100%;
  max-width: 1120px;
  height: 720px;
  margin: 0 auto;
  border-radius: 6px;
  overflow: hidden;
  background: #efe7d6;
  box-shadow: 0 50px 100px rgba(20,45,65,.34), 0 10px 26px rgba(20,45,65,.16);
}
.book:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }
.book__spread { display: flex; width: 100%; height: 100%; }
.book__page { position: relative; flex: 1 1 50%; }
.book__page--right { perspective: 2200px; }

.page__inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 64px 72px 44px;
  background: #f7f2e7;
  color: #413d35;
  overflow: hidden;
}
.book__page--left .page__inner {
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: inset -16px 0 28px -18px rgba(60,45,20,.5);
}
.book__page--right > .leaf:last-child .leaf__front .page__inner { box-shadow: inset 16px 0 28px -20px rgba(60,45,20,.28); }

.leaf {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform-origin: left center;
  transition: transform .85s cubic-bezier(.42,.1,.22,1);
  will-change: transform;
}
.leaf.is-turned { transform: rotateY(-180deg); }
.leaf__face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.leaf__back { transform: rotateY(180deg); }
.leaf__back .page__inner { background: #f3ecdd; box-shadow: inset 16px 0 28px -18px rgba(60,45,20,.42); }

.book__spine {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 64px; transform: translateX(-50%);
  pointer-events: none; z-index: 60;
  background: linear-gradient(90deg,
    rgba(40,28,8,0) 0%, rgba(40,28,8,.14) 45%, rgba(40,28,8,.22) 50%,
    rgba(40,28,8,.14) 55%, rgba(40,28,8,0) 100%);
}

/* — типографика страницы — */
.page__label { font-family: var(--body); font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: #b08d52; margin-bottom: 12px; }
.page__title { font-family: var(--display); font-weight: 400; font-size: 36px; line-height: 1.12; color: var(--brand); margin: 0 0 26px; }
.page__text { font-family: var(--display); font-weight: 400; font-size: 20px; line-height: 1.68; margin: 0 0 18px; text-align: justify; hyphens: auto; }
.page__text--lead::first-letter { font-size: 66px; line-height: .82; float: left; padding: 6px 12px 0 0; color: var(--brand); font-weight: 500; }
.page__num { margin-top: auto; padding-top: 18px; text-align: center; font-family: var(--display); font-size: 16px; color: #bda571; }

.page__ornament { font-family: var(--display); font-size: 36px; color: #c9b483; margin-bottom: 18px; }
.page__colophon { font-family: var(--display); font-weight: 500; font-size: 46px; line-height: 1.1; color: var(--brand); }
.page__colophon span { display: block; font-family: var(--body); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #9a8c6e; margin-top: 12px; }
.page__dedication { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 19px; line-height: 1.5; color: #6f6552; text-align: center; max-width: 30ch; margin: 32px auto 0; }
.page__dedication--sub { font-size: 15px; font-style: normal; letter-spacing: .04em; color: #9a8c6e; margin-top: 16px; }

/* — CTA / paywall страница — */
.page__inner--cta { align-items: center; justify-content: center; text-align: center; }
.cta-teaser {
  position: absolute; inset: 0; z-index: 0;
  padding: 64px 72px;
  font-family: var(--display); font-size: 20px; line-height: 1.68; color: #6c6657;
  filter: blur(3px); opacity: .3; user-select: none;
}
.page__inner--cta::before { content: ''; position: absolute; inset: 0; z-index: 1; background: rgba(247,242,231,.8); }
.cta-gate { position: relative; z-index: 2; max-width: 300px; }
.cta-gate h3 { font-family: var(--display); font-weight: 300; font-size: 30px; color: var(--brand); margin: 12px 0 12px; }
.cta-gate p { font-size: 14.5px; line-height: 1.6; color: #5d5648; margin: 0 0 22px; }
.cta-gate .solid-btn { padding: 15px 30px; font-size: 11px; font-weight: 700; letter-spacing: .14em; border-radius: 3px; }
.cta-price { font-size: 12.5px; letter-spacing: .05em; color: #9a8c6e; margin-top: 14px; }

/* — управление — */
.book__controls { display: flex; align-items: center; justify-content: center; gap: 26px; margin-top: 36px; }
.book__btn {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--border-3); background: #fff; color: var(--brand);
  font-size: 18px; line-height: 1; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, opacity .2s;
}
.book__btn:hover:not(:disabled) { background: var(--brand); color: #f3f8fb; border-color: var(--brand); }
.book__btn:disabled { opacity: .35; cursor: default; }
.book__counter { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted-3); min-width: 168px; text-align: center; }
.book__hint { text-align: center; font-size: 12.5px; color: var(--muted-4); margin-top: 14px; }

/* ==========================================================================
   Поэтический интро-блок (тёмный)
   ========================================================================== */
.intro { background: var(--brand); color: var(--on-dark-5); }
.intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.intro__media { position: relative; min-height: 540px; overflow: hidden; }
.intro__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.intro__body {
  padding: 92px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.intro__quote {
  font-family: var(--display);
  font-weight: 300;
  font-size: 38px;
  line-height: 1.42;
  margin: 0;
}
.intro__text { font-size: 18px; line-height: 1.85; color: var(--on-dark-6); margin: 32px 0 0; }

/* ==========================================================================
   Концепция
   ========================================================================== */
.concept {
  padding: 104px 60px;
  background: linear-gradient(rgba(250,252,253,.64), rgba(250,252,253,.78)),
              var(--sky-soft-2) url('assets/bg-quantum.jpg') center / cover;
}
.section-head { text-align: center; margin-bottom: 64px; }
.section-head .eyebrow { display: block; margin-bottom: 18px; }
.concept__title {
  font-family: var(--display);
  font-weight: 300;
  font-size: 62px;
  line-height: 1.05;
  color: var(--brand);
  margin: 0;
}
.concept__lede {
  font-family: var(--display);
  font-weight: 300;
  font-size: 24px;
  line-height: 1.5;
  color: #3d5666;
  max-width: 680px;
  margin: 28px auto 0;
}
.concept__note {
  text-align: center;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted-4);
  max-width: 640px;
  margin: 34px auto 0;
}
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff;
  border: 1px solid var(--border-2);
  border-radius: 8px;
  padding: 44px 34px;
  text-align: center;
}
.card__icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  margin: 0 auto 24px;
  background: linear-gradient(160deg, var(--icon-bg-2), var(--sky-1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 26px;
  color: var(--brand);
}
.card__title { font-family: var(--display); font-size: 25px; color: var(--brand); margin-bottom: 12px; }
.card__text { font-size: 14.5px; line-height: 1.75; color: var(--muted-2); }

/* ==========================================================================
   Особенность — исцеление (тёмная градиентная)
   ========================================================================== */
.heal {
  position: relative;
  padding: 112px 60px;
  background: linear-gradient(158deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: var(--on-dark-7);
  overflow: hidden;
  text-align: center;
}
.heal__glow {
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(156,196,221,.20), transparent 70%);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.heal__inner { position: relative; }
.heal .eyebrow { display: block; color: var(--on-dark-2); letter-spacing: .34em; margin-bottom: 24px; }
.heal__title {
  font-family: var(--display);
  font-weight: 300;
  font-size: 66px;
  line-height: 1.06;
  margin: 0 0 30px;
}
.heal__lede {
  font-family: var(--display);
  font-weight: 300;
  font-style: italic;
  font-size: 31px;
  line-height: 1.5;
  color: var(--on-dark-4);
  margin: 0 auto;
  max-width: 780px;
}
.heal__lede em { font-style: normal; color: #ffffff; }
.divider { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 42px; }
.divider__line { width: 44px; height: 1px; background: rgba(156,196,221,.5); }
.divider__glyph { font-family: var(--display); font-size: 22px; color: var(--on-dark-2); }

/* ==========================================================================
   Как это работает
   ========================================================================== */
.steps { padding: 104px 60px; background: var(--sky-soft); }
.steps__head { text-align: center; margin-bottom: 60px; }
.steps__head .eyebrow { display: block; margin-bottom: 18px; }
.steps__title {
  font-family: var(--display);
  font-weight: 300;
  font-size: 56px;
  color: var(--brand);
  margin: 0;
}
.steps__list { display: flex; flex-direction: column; }
.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 30px;
  padding: 34px 0;
  border-top: 1px solid var(--border-3);
  align-items: baseline;
}
.steps__foot { border-top: 1px solid var(--border-3); }
.step__num { font-family: var(--display); font-size: 46px; color: var(--num); }
.step__body { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: baseline; }
.step__title { font-weight: 600; font-size: 21px; color: var(--brand); }
.step__text { font-size: 15.5px; line-height: 1.75; color: var(--muted); }

/* ==========================================================================
   Автор
   ========================================================================== */
.author { padding: 104px 60px; }
.author__grid { display: grid; grid-template-columns: 320px 1fr; gap: 72px; align-items: center; }
.author__photo {
  width: 320px;
  height: 440px;
  object-fit: cover;
  object-position: center 16%;
  border-radius: 4px;
  box-shadow: var(--shadow-author);
}
.author .eyebrow { display: block; margin-bottom: 18px; }
.author__title {
  font-family: var(--display);
  font-weight: 300;
  font-size: 54px;
  color: var(--brand);
  margin: 0 0 24px;
}
.author__text { font-size: 16px; line-height: 1.85; color: var(--muted); margin: 0 0 18px; }
.author__text:last-child { margin-bottom: 0; }

.author__promise {
  margin: 64px auto 0;
  max-width: 760px;
  text-align: center;
  padding: 48px 56px;
  border: 1px solid rgba(176, 141, 82, .32);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(201, 180, 131, .10), rgba(201, 180, 131, .03));
}
.author__promise-glyph { font-family: var(--display); font-size: 34px; color: #c0a564; margin-bottom: 18px; }
.author__promise-quote { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 26px; line-height: 1.5; color: var(--brand); margin: 0; }
.author__promise-by { margin-top: 22px; font-family: var(--body); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: #9a8c6e; }
@media (max-width: 768px) {
  .author__promise { margin-top: 44px; padding: 34px 24px; }
  .author__promise-quote { font-size: 21px; }
}

.cover-show { padding: 96px 60px; text-align: center; }
.cover-show__title { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 4vw, 44px); color: var(--brand); margin: 14px 0 0; }
.cover-show__sub { max-width: 620px; margin: 16px auto 0; font-size: 16px; line-height: 1.7; color: var(--muted); }
.cover-show__img {
  display: block;
  width: 100%;
  max-width: 940px;
  margin: 44px auto 0;
  border-radius: 14px;
  box-shadow: var(--shadow-card, 0 30px 70px -30px rgba(40, 60, 80, .35));
}
.cover-show__note {
  max-width: 640px;
  margin: 26px auto 0;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(18px, 2.4vw, 22px);
  line-height: 1.5;
  color: var(--brand);
}
@media (max-width: 768px) {
  .cover-show { padding: 60px 22px; }
  .cover-show__img { margin-top: 30px; border-radius: 10px; }
}

/* ==========================================================================
   Полноширинная цитата
   ========================================================================== */
.quote {
  position: relative;
  padding: 140px 60px;
  background: linear-gradient(rgba(244,250,253,.30), rgba(244,250,253,.46)),
              var(--sky-2) url('assets/bg-sky.jpg') center 38% / cover;
  text-align: center;
  overflow: hidden;
}
.quote__mark {
  font-family: var(--display);
  font-weight: 500;
  font-size: 180px;
  line-height: .8;
  color: rgba(31,64,85,.16);
  height: 92px;
  user-select: none;
}
.quote__text {
  font-family: var(--display);
  font-weight: 300;
  font-size: 46px;
  line-height: 1.4;
  color: var(--brand-accent);
  max-width: 940px;
  margin: 0 auto;
}
.quote .divider { margin-top: 40px; }
.quote .divider__line { background: rgba(31,64,85,.4); width: 40px; }
.quote__cite {
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: #39607a;
}

/* ==========================================================================
   Отзывы
   ========================================================================== */
.reviews { padding: 104px 60px; }
.reviews__head { text-align: center; margin-bottom: 60px; }
.reviews__head .eyebrow { display: block; margin-bottom: 18px; }
.reviews__title {
  font-family: var(--display);
  font-weight: 300;
  font-size: 56px;
  color: var(--brand);
  margin: 0;
}
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.review {
  padding: 30px 34px 34px;
  border: 1px solid var(--border-2);
  border-radius: 8px;
  background: #fff;
}
.review__mark {
  font-family: var(--display);
  font-size: 58px;
  line-height: .5;
  color: var(--on-dark-4);
  height: 34px;
  user-select: none;
}
.review__text {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 300;
  line-height: 1.55;
  color: #3d5666;
  margin: 0 0 22px;
}
.review__by {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-4);
}

/* ==========================================================================
   Buy CTA (тёмная)
   ========================================================================== */
.buy { padding: 104px 60px; background: var(--brand); color: var(--on-dark-5); }
.buy__head { text-align: center; margin-bottom: 50px; }
.buy__head .eyebrow { display: block; color: var(--on-dark-1); margin-bottom: 20px; }
.buy__title {
  font-family: var(--display);
  font-weight: 300;
  font-size: 58px;
  line-height: 1.04;
  margin: 0 0 18px;
}
.buy__lede { font-size: 16px; line-height: 1.8; color: var(--on-dark-4); max-width: 620px; margin: 0 auto; }
.buy__free {
  display: inline-block;
  margin-top: 22px;
  padding: 11px 22px;
  border-radius: 100px;
  background: rgba(156,196,221,.16);
  border: 1px solid rgba(156,196,221,.4);
  color: var(--on-dark-7);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
}

.offer {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  background: var(--page);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-offer);
  color: var(--text);
}
.offer__left {
  position: relative;
  padding: 54px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--sky-2), var(--sky-3));
}
.offer__badge {
  position: absolute;
  top: 22px;
  left: 22px;
  background: rgba(31,64,85,.92);
  color: var(--icon-bg);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 100px;
}
.offer__cover {
  width: 250px;
  filter: drop-shadow(0 26px 34px rgba(18,46,66,.42)) drop-shadow(0 9px 16px rgba(18,46,66,.24));
}
.offer__right { padding: 48px 52px; }
.offer__name { font-family: var(--display); font-size: 36px; color: var(--brand); line-height: 1; margin-bottom: 8px; }
.offer__meta {
  font-size: 11.5px;
  letter-spacing: .08em;
  color: #5f7480; /* контраст AA: было #8aa0ac (2.7:1 → 4.8:1) */
  text-transform: uppercase;
  margin-bottom: 28px;
}
.offer__label {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--eyebrow);
  margin-bottom: 18px;
}
.offer__list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 30px; }
.offer__item { display: flex; align-items: flex-start; gap: 13px; }
.offer__check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--icon-bg-2);
  color: var(--icon-fg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  margin-top: 1px;
}
.offer__item span:last-child { font-size: 15px; line-height: 1.5; color: #3d5666; }
.offer__divider { height: 1px; background: var(--border-5); margin: 0 0 24px; }
.offer__stock { margin: 0 0 24px; }
.offer__stock-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.offer__stock-label { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--eyebrow); }
.offer__stock-count { font-size: 14px; color: var(--muted-2); }
.offer__stock-count strong { font-family: var(--display); font-weight: 600; font-size: 24px; color: var(--brand); margin-right: 2px; }
.offer__stock-bar { height: 7px; border-radius: 100px; background: #e6edf2; overflow: hidden; }
.offer__stock-fill {
  display: block; height: 100%; width: 72%;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--sky-3), var(--brand));
  transition: width .6s cubic-bezier(.4,.1,.2,1);
}
.offer__stock-note { font-size: 12px; line-height: 1.5; color: var(--muted-4); margin-top: 9px; }
.offer__price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}
.offer__price {
  font-family: var(--display);
  font-weight: 500;
  font-size: 54px;
  color: var(--brand);
  line-height: .85;
}
.offer__price-note { font-size: 12px; color: var(--muted-4); margin-top: 8px; }
.offer__cta { padding: 17px 44px; font-size: 12px; font-weight: 700; letter-spacing: .16em; border-radius: 3px; }
.offer__disclaimer { font-size: 12.5px; line-height: 1.6; color: var(--muted-4); margin-top: 18px; }

.how-label {
  text-align: center;
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--on-dark-1);
  margin: 52px 0 30px;
}
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.how-step { text-align: center; }
.how-step__num { font-family: var(--display); font-size: 50px; color: #7fa6bd; margin-bottom: 10px; }
.how-step__text { font-size: 14.5px; line-height: 1.6; color: var(--on-dark-3); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  padding: 64px 60px 56px;
  text-align: center;
  background: var(--page);
  border-top: 1px solid var(--border);
}
.footer__logo { font-family: var(--display); font-size: 40px; color: var(--brand); margin-bottom: 18px; }
.footer__contacts {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: 14px;
  color: var(--muted-3);
  margin-bottom: 26px;
}
.footer__contacts-label {
  width: 100%;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-4);
  margin-bottom: 4px;
}
.footer__contacts a { color: var(--brand); text-decoration: none; font-weight: 600; }
.footer__contacts a:hover { text-decoration: underline; }
.footer__phone {
  font: inherit;
  color: var(--brand);
  font-weight: 600;
  background: none;
  border: none;
  border-bottom: 1px dashed var(--muted-4);
  padding: 0 0 1px;
  cursor: pointer;
}
.footer__phone:hover { border-bottom-style: solid; }
.footer__contacts-sep { color: var(--muted-4); }
.footer__social { display: flex; justify-content: center; gap: 30px; margin-bottom: 30px; }
.footer__social a { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.footer__docs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-bottom: 18px;
}
.footer__docs a {
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--brand);
  text-decoration: none;
  border-bottom: 1px solid rgba(52,88,110,.25);
  padding-bottom: 1px;
  transition: border-color .2s;
}
.footer__docs a:hover { border-color: var(--brand); }
.footer__seller {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted-3);
  max-width: 720px;
  margin: 0 auto 16px;
}
.footer__disclaimer {
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--muted-5);
  max-width: 720px;
  margin: 0 auto 22px;
}
.footer__disclaimer strong { color: var(--muted-3); }
.footer__legal { font-size: 12px; color: var(--muted-5); line-height: 1.7; }

/* ==========================================================================
   Cookie-уведомление
   ========================================================================== */
.cookie {
  position: fixed;
  left: 24px;
  right: auto;
  bottom: 24px;
  z-index: 40;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 22px;
  background: var(--page);
  border: 1px solid var(--border-2);
  border-radius: 10px;
  box-shadow: 0 18px 50px rgba(40,70,95,.20);
}
.cookie[hidden] { display: none; }
.cookie__text { font-size: 13px; line-height: 1.55; color: var(--muted); }
.cookie__text a { color: var(--brand); text-decoration: underline; }
.cookie__btn {
  flex-shrink: 0;
  padding: 12px 30px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  border-radius: 3px;
}
@media (max-width: 768px) {
  .cookie { flex-direction: column; align-items: stretch; gap: 14px; left: 14px; right: 14px; bottom: 14px; padding: 18px; }
  .cookie__btn { width: 100%; }
}

/* ==========================================================================
   Юридические страницы (privacy.html, offer.html)
   ========================================================================== */
.legal-page { background: var(--page); }
.legal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 60px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(251,252,253,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 20;
}
.legal-head__brand { font-family: var(--display); font-weight: 500; font-size: 24px; color: var(--brand); letter-spacing: .05em; }
.legal-back { font-size: 12px; letter-spacing: .08em; color: var(--muted-3); text-decoration: none; transition: color .2s; }
.legal-back:hover { color: var(--brand); }
.legal {
  max-width: 800px;
  margin: 0 auto;
  padding: 72px 60px 96px;
}
.legal h1 {
  font-family: var(--display);
  font-weight: 300;
  font-size: 46px;
  line-height: 1.1;
  color: var(--brand);
  margin: 0 0 12px;
}
.legal__meta { font-size: 13px; color: var(--muted-4); margin: 0 0 14px; }
.legal__lead { font-size: 15px; line-height: 1.7; color: var(--muted); margin: 0 0 8px; }
.legal h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 27px;
  color: var(--brand);
  margin: 44px 0 14px;
}
.legal p, .legal li { font-size: 15px; line-height: 1.8; color: var(--muted); }
.legal ul, .legal ol { padding-left: 22px; margin: 0 0 14px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--brand); }
.legal .legal__note {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted-4);
  background: var(--sky-soft);
  border-radius: 8px;
  padding: 18px 22px;
  margin: 28px 0 0;
}
.legal mark {
  background: #fff4d6;
  color: #7a5b14;
  padding: 1px 5px;
  border-radius: 3px;
  font-style: normal;
}
@media (max-width: 768px) {
  .legal-head { padding: 14px 20px; }
  .legal { padding: 48px 22px 72px; }
  .legal h1 { font-size: 34px; }
}

/* ==========================================================================
   Модалка заказа
   ========================================================================== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(20,40,55,.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.modal.is-open { display: flex; }
.modal__dialog {
  width: 100%;
  max-width: 520px;
  background: var(--page);
  border-radius: 8px;
  box-shadow: var(--shadow-modal);
  overflow: hidden;
  font-family: var(--body);
}
.modal__header {
  padding: 26px 34px;
  background: var(--brand);
  color: var(--icon-bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal__title { font-family: var(--display); font-size: 26px; line-height: 1; }
.modal__sub { font-size: 12px; color: #a9c6d6; margin-top: 4px; }
.modal__close {
  background: rgba(255,255,255,.12);
  border: none;
  color: var(--icon-bg);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 17px;
}
.modal__form { padding: 30px 34px 34px; }
.modal__fields { display: flex; flex-direction: column; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label {
  display: block;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-3);
  margin-bottom: 7px;
}
.field-hint { color: var(--muted-4); letter-spacing: .06em; }
.field input,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border-4);
  border-radius: 4px;
  font-family: var(--body);
  font-size: 15px;
  color: var(--text);
  background: #fff;
}
.field textarea { resize: none; }
.field input:focus,
.field textarea:focus { outline: 2px solid var(--sky-3); outline-offset: 1px; border-color: var(--sky-3); }
.modal__info {
  margin: 22px 0 18px;
  padding: 16px 18px;
  background: var(--sky-soft);
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 13px;
}
.modal__info-glyph { font-size: 20px; color: var(--icon-fg); }
.modal__info-text { font-size: 13px; line-height: 1.55; color: var(--muted); }
.field-consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 20px 0 18px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
  cursor: pointer;
}
.field-consent input {
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  margin-top: 1px;
  accent-color: var(--brand);
  cursor: pointer;
}
.field-consent a { color: var(--brand); text-decoration: underline; }

.modal__submit {
  width: 100%;
  padding: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  border-radius: 4px;
}
.modal__fineprint { font-size: 12px; line-height: 1.6; color: var(--muted-4); text-align: center; margin: 16px 0 0; }

.modal__thanks { display: none; padding: 54px 34px; text-align: center; }
.modal.is-sent .modal__form   { display: none; }
.modal.is-sent .modal__thanks { display: block; }
.modal__thanks-check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--sky-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-size: 28px;
  color: var(--icon-fg);
}
.modal__thanks-title { font-family: var(--display); font-size: 32px; color: var(--brand); margin-bottom: 14px; }
.modal__thanks-text { font-size: 15px; line-height: 1.7; color: var(--muted); max-width: 340px; margin: 0 auto 26px; }
.modal__thanks-btn { padding: 13px 38px; font-size: 11px; font-weight: 600; letter-spacing: .16em; border-radius: 3px; }

/* ==========================================================================
   Доступность: уважаем reduced-motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .hero-rise { opacity: 1; animation: none; }
  .book-float, .hero__cover, .hero__cover-wrap::after { animation: none; }
  .leaf { transition: none; }
  .book__spread { transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Адаптив — планшет (≤1024px) и мобильный (≤768px)
   ========================================================================== */
@media (max-width: 1024px) and (min-width: 769px) {
  .nav { padding: 0 40px; }
  .nav__inner { padding: 18px 0; }
  .nav__menu { gap: 24px; }

  .hero { padding: 64px 40px 72px; }
  .hero__grid { gap: 44px; }
  .hero__title { font-size: 112px; }
  .hero__cover { width: 300px; }
  .hero__lede { font-size: 26px; }

  .feat-row { padding: 32px 40px; gap: 22px; }

  .intro__body { padding: 64px 48px; }
  .intro__quote { font-size: 32px; }

  .concept, .steps, .author, .reviews { padding-left: 40px; padding-right: 40px; }
  .heal, .buy { padding-left: 40px; padding-right: 40px; }
  .concept__title, .heal__title, .steps__title, .reviews__title, .buy__title { font-size: 50px; }
  .concept__lede { font-size: 22px; }

  .quote { padding: 110px 40px; }
  .quote__text { font-size: 38px; }

  .step__body { grid-template-columns: 200px 1fr; gap: 28px; }
  .author__grid { gap: 48px; }
  .offer__right { padding: 40px 36px; }

  .reader { padding: 80px 40px; }
  .reader__title { font-size: 46px; }
  .book { height: 640px; }
  .page__inner { padding: 52px 48px 40px; }
}

@media (max-width: 768px) {
  .nav { padding: 0 22px; }
  .nav__inner { padding: 14px 0; }
  .nav__burger { display: flex; }
  .nav__cta { display: none; }
  .nav__menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 18px;
    background: rgba(251,252,253,.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 40px rgba(40,70,95,.12);
  }
  .nav--open .nav__menu { display: flex; }
  .nav__menu .nav-link {
    padding: 14px 4px;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
  }
  .nav__menu-cta {
    display: block;
    margin-top: 16px;
    padding: 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .16em;
    border-radius: 3px;
    text-align: center;
  }

  .feat-row { grid-template-columns: repeat(2, 1fr); gap: 22px 18px; padding: 28px 22px; }

  .reader { padding: 60px 22px; }
  .reader__title { font-size: 34px; }
  /* мобайл: вьюпорт = одна страница, разворот шириной в 2 страницы — панорамируем */
  .book { height: 600px; max-width: 460px; }
  .book__spread { width: 200%; transition: transform .55s cubic-bezier(.42,.1,.22,1); }
  .book__page { flex: 0 0 50%; }
  .book__page--right { perspective: 1500px; }
  .book.show-left .book__spread { transform: translateX(0); }
  .book.show-right .book__spread { transform: translateX(-50%); }
  .page__inner { padding: 40px 30px 28px; }
  .page__title { font-size: 28px; }
  .page__text { font-size: 18px; line-height: 1.62; margin-bottom: 15px; }
  .page__text--lead::first-letter { font-size: 54px; }
  .cta-teaser { padding: 40px 30px; font-size: 18px; }
  .book__controls { gap: 18px; }
  .book__counter { min-width: 140px; }

  .hero { padding: 46px 22px 56px; }
  .hero__grid { grid-template-columns: 1fr; gap: 34px; text-align: center; }
  .hero__title { font-size: 84px; }
  .hero__lede { margin-left: auto; margin-right: auto; }
  .hero__rule { margin-left: auto; margin-right: auto; }
  .hero__cta-row { justify-content: center; }
  .hero__cover { width: 228px; }

  .intro__grid { grid-template-columns: 1fr; }
  .intro__media { min-height: 280px; }
  .intro__body { padding: 44px 24px; }
  .intro__quote { font-size: 25px; }

  .concept { padding: 60px 22px; }
  .concept__title { font-size: 38px; line-height: 1.12; }
  .cards-3 { grid-template-columns: 1fr; }

  .heal { padding: 64px 22px; }
  .heal__title { font-size: 38px; line-height: 1.12; }
  .heal__lede { font-size: 25px; }

  .steps { padding: 60px 22px; }
  .steps__title { font-size: 38px; line-height: 1.12; }
  .step__body { grid-template-columns: 1fr; gap: 12px; }

  .author { padding: 60px 22px; }
  .author__grid { grid-template-columns: 1fr; gap: 32px; }
  .author__photo { width: 100%; height: 340px; }
  .author__title { font-size: 38px; line-height: 1.12; }

  .quote { padding: 68px 22px; }
  .quote__mark { font-size: 88px; height: 44px; }
  .quote__text { font-size: 26px; }

  .reviews { padding: 60px 22px; }
  .reviews__title { font-size: 38px; line-height: 1.12; }
  .reviews__grid { grid-template-columns: 1fr; }

  .buy { padding: 60px 22px; }
  .buy__title { font-size: 38px; line-height: 1.12; }
  .offer { grid-template-columns: 1fr; }
  .offer__right { padding: 34px 24px; }
  .how-grid { grid-template-columns: 1fr; gap: 30px; }

  .footer { padding: 48px 22px; }
  .footer__social { flex-wrap: wrap; gap: 16px 22px; }
}
