/* ==========================================================================
   AFFITRON — eBook Landing Page
   Premium dark theme. No frameworks, no build step.
   ========================================================================== */

:root {
  /* surfaces */
  --bg: #08070c;
  --bg-2: #0b0a11;
  --tint: #0e0c15;
  --surface: rgba(255, 255, 255, 0.038);
  --surface-hi: rgba(255, 255, 255, 0.062);
  --line: rgba(255, 255, 255, 0.09);
  --line-hi: rgba(255, 255, 255, 0.16);

  /* ink */
  --text: #f3f0ea;
  --muted: #9d9aab;
  --faint: #6e6b7d;

  /* accents — दीपक / प्रकाश */
  --gold: #f0b857;
  --gold-deep: #dd9134;
  --ember: #ff7a45;
  --violet: #7b6bf0;
  --danger: #ff6b6b;
  --good: #4ade9b;

  --grad-gold: linear-gradient(135deg, #f7cd77 0%, #eaa63f 48%, #e07f34 100%);
  --grad-text: linear-gradient(120deg, #fbe3ad 0%, #f0b857 55%, #ff9a5c 100%);

  /* shape */
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 24px;
  --r-xl: 32px;

  /* elevation */
  --sh-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --sh: 0 14px 40px -18px rgba(0, 0, 0, 0.8);
  --sh-lg: 0 40px 90px -40px rgba(0, 0, 0, 0.95);
  --sh-gold: 0 18px 44px -18px rgba(224, 145, 52, 0.55);

  /* type */
  --f-head: "Palanquin Dark", "Nirmala UI", system-ui, sans-serif;
  --f-body: "Palanquin", "Nirmala UI", system-ui, sans-serif;
  --f-ui: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* motion */
  --t: 200ms cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-slow: 320ms cubic-bezier(0.22, 0.61, 0.36, 1);

  --shell: 1160px;
  --header-h: 66px;
}

/* --------------------------------------------------------------- reset */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.72;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--f-head);
  font-weight: 600;
  line-height: 1.24;
  margin: 0;
  letter-spacing: -0.01em;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 999;
  background: var(--gold);
  color: #17110a;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--f-ui);
  font-weight: 600;
}
.skip-link:focus { left: 12px; }

/* --------------------------------------------------------------- layout */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: 20px;
}
.shell--narrow { max-width: 860px; }

.section { padding: 76px 0; position: relative; }
.section--slim { padding: 48px 0; }
.section--tint {
  background: var(--tint);
  border-block: 1px solid var(--line);
}

.section__head {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
}
.section__title { font-size: clamp(1.65rem, 4.4vw, 2.5rem); }
.section__sub {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.02rem;
}
.section__closing {
  margin-top: 40px;
  text-align: center;
  font-family: var(--f-head);
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  color: var(--text);
}
.section__closing::before {
  content: "";
  display: block;
  width: 54px;
  height: 2px;
  margin: 0 auto 20px;
  background: var(--grad-gold);
  border-radius: 2px;
}

.grid { display: grid; gap: 18px; }
.grid--3, .grid--4 { grid-template-columns: 1fr; }

/* --------------------------------------------------------------- badges */
.badge {
  display: inline-block;
  font-family: var(--f-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(240, 184, 87, 0.09);
  border: 1px solid rgba(240, 184, 87, 0.26);
  padding: 7px 15px;
  border-radius: 999px;
  margin-bottom: 22px;
}

/* -------------------------------------------------------------- buttons */
.btn {
  --btn-py: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  padding: var(--btn-py) 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  text-align: center;
  transition: transform var(--t), box-shadow var(--t), background var(--t), border-color var(--t);
  will-change: transform;
}

.btn--primary {
  background: var(--grad-gold);
  color: #1a1207;
  box-shadow: var(--sh-gold);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 54px -20px rgba(224, 145, 52, 0.72);
}
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: var(--surface);
  border-color: var(--line-hi);
  color: var(--text);
}
.btn--ghost:hover { background: var(--surface-hi); }

.btn--sm { --btn-py: 10px; padding-inline: 20px; font-size: 0.88rem; }
.btn--lg { --btn-py: 17px; padding-inline: 34px; font-size: 1.02rem; }
.btn--block { display: flex; width: 100%; }

/* -------------------------------------------------------- announcement */
.announce {
  position: relative;
  z-index: 60;
  background: linear-gradient(90deg, rgba(224, 127, 52, 0.16), rgba(240, 184, 87, 0.2), rgba(123, 107, 240, 0.16));
  border-bottom: 1px solid rgba(240, 184, 87, 0.2);
  text-align: center;
}
.announce__text {
  font-family: var(--f-ui);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 9px 20px;
  color: #ffe7c2;
}
.announce__emoji { margin-right: 7px; }

/* --------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 7, 12, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), background var(--t);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(8, 7, 12, 0.9);
}
.site-header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  font-family: var(--f-ui);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.17em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}
.logo img { height: 28px; width: auto; }
.logo--sm { font-size: 0.95rem; }

.site-nav {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px 26px;
  background: #0d0b13;
  border-bottom: 1px solid var(--line);
  transform: translateY(-120%);
  transition: transform var(--t-slow);
  z-index: 49;
}
.site-nav.is-open { transform: translateY(0); }
.site-nav__list { display: flex; flex-direction: column; }
.site-nav__list a {
  display: block;
  font-family: var(--f-ui);
  font-size: 0.98rem;
  padding: 13px 4px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  transition: color var(--t);
}
.site-nav__list a:hover { color: var(--text); }
.site-nav__cta { margin-top: 16px; }

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 48;
  background: rgba(0, 0, 0, 0.55);
}

.hamburger {
  display: grid;
  place-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 11px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 17px;
  height: 1.8px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }

/* ----------------------------------------------------------------- hero */
.hero {
  position: relative;
  padding: 54px 0 64px;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  top: -280px;
  left: 50%;
  width: min(1100px, 150vw);
  height: 760px;
  transform: translateX(-50%);
  background:
    radial-gradient(46% 52% at 50% 50%, rgba(240, 184, 87, 0.15), transparent 70%),
    radial-gradient(38% 44% at 22% 62%, rgba(123, 107, 240, 0.16), transparent 72%),
    radial-gradient(34% 40% at 80% 40%, rgba(255, 122, 69, 0.12), transparent 72%);
  filter: blur(12px);
  pointer-events: none;
}
.hero__inner { position: relative; display: grid; gap: 52px; }

.hero__title {
  font-size: clamp(2.05rem, 8.4vw, 3.5rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
}
.hero__title em {
  font-style: normal;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  margin-top: 20px;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 56ch;
}
.hero__bullets {
  margin-top: 26px;
  display: grid;
  gap: 11px;
}
.hero__bullets li {
  position: relative;
  padding-left: 32px;
  color: #ded9d0;
}
.hero__bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 3px;
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  font-size: 0.66rem;
  font-family: var(--f-ui);
  color: var(--gold);
  background: rgba(240, 184, 87, 0.12);
  border: 1px solid rgba(240, 184, 87, 0.3);
  border-radius: 50%;
}
.hero__actions { margin-top: 32px; }
.hero__actions .btn { width: 100%; }
.hero__note {
  margin-top: 15px;
  font-family: var(--f-ui);
  font-size: 0.79rem;
  color: var(--faint);
  letter-spacing: 0.02em;
}

/* ------------------------------------------------------ 3D book mockup */
.hero__art { display: grid; justify-items: center; }

.book {
  position: relative;
  width: min(268px, 74vw);
  perspective: 1500px;
}
.book__inner {
  position: relative;
  transform: rotateY(-21deg) rotateX(6deg);
  transform-style: preserve-3d;
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: rotateY(-21deg) rotateX(6deg) translateY(0); }
  50%      { transform: rotateY(-17deg) rotateX(4deg) translateY(-14px); }
}

.book__face {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: 5px 12px 12px 5px;
  overflow: hidden;
  box-shadow:
    var(--sh-lg),
    inset 0 0 0 1px rgba(255, 255, 255, 0.09);
}
.book__face img { width: 100%; height: 100%; object-fit: cover; }

/* page block on the right edge */
.book__pages {
  position: absolute;
  top: 1.6%;
  right: -11px;
  width: 13px;
  height: 96.8%;
  border-radius: 2px 5px 5px 2px;
  background: repeating-linear-gradient(90deg, #d9d2c6 0 1px, #f3ece0 1px 2.5px);
  transform: translateZ(-9px) rotateY(6deg);
  box-shadow: 0 12px 26px -12px rgba(0, 0, 0, 0.9);
}
/* dark spine on the left */
.book__spine {
  position: absolute;
  inset: 0 auto 0 0;
  width: 16px;
  border-radius: 5px 0 0 5px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.08));
  pointer-events: none;
}
.book__shadow {
  position: absolute;
  left: 8%;
  bottom: -34px;
  width: 84%;
  height: 32px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(0, 0, 0, 0.72), transparent 72%);
  filter: blur(11px);
  animation: shadowPulse 7s ease-in-out infinite;
}
@keyframes shadowPulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50%      { transform: scale(0.9); opacity: 0.6; }
}

/* CSS-रचित cover (जब तक असली cover image न मिले) */
.cover {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 30px 20px 24px;
  text-align: center;
  background:
    radial-gradient(72% 46% at 50% 24%, rgba(240, 184, 87, 0.24), transparent 66%),
    linear-gradient(168deg, #221a2e 0%, #150f1f 46%, #0b0810 100%);
}
.cover::after {
  content: "";
  position: absolute;
  inset: 11px;
  border: 1px solid rgba(240, 184, 87, 0.28);
  border-radius: 4px;
  pointer-events: none;
}
.cover__rule {
  width: 34px;
  height: 2px;
  background: var(--grad-gold);
  border-radius: 2px;
}
.cover__eyebrow {
  font-family: var(--f-ui);
  font-size: 0.53rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(240, 184, 87, 0.8);
}
.cover__title {
  font-family: var(--f-head);
  font-size: clamp(1.55rem, 8.4vw, 1.95rem);
  font-weight: 700;
  line-height: 1.2;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cover__sub {
  font-size: 0.82rem;
  color: #cdc4d6;
  letter-spacing: 0.04em;
}
.cover__lamp { font-size: 1.35rem; margin-top: 4px; }
.cover__author {
  margin-top: auto;
  font-family: var(--f-ui);
  font-size: 0.7rem;
  letter-spacing: 0.11em;
  color: rgba(255, 255, 255, 0.62);
}

.book__meta {
  margin-top: 52px;
  font-family: var(--f-ui);
  font-size: 0.78rem;
  color: var(--faint);
  text-align: center;
  letter-spacing: 0.04em;
}

/* ---------------------------------------------------------------- trust */
.trust {
  background: var(--tint);
  border-block: 1px solid var(--line);
  padding: 30px 0;
}
.trust__inner { display: grid; gap: 20px; text-align: center; }
.trust__statement {
  font-family: var(--f-head);
  font-size: 1.02rem;
  color: #ddd7ce;
}
.trust__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.trust__list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-ui);
  font-size: 0.84rem;
  padding: 8px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #cfcada;
}

/* ---------------------------------------------------------------- cards */
.cards li,
.card {
  position: relative;
  padding: 26px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform var(--t), border-color var(--t), background var(--t);
}
.cards li:hover {
  transform: translateY(-3px);
  border-color: var(--line-hi);
  background: var(--surface-hi);
}
.card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  font-size: 1.28rem;
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(240, 184, 87, 0.16), rgba(123, 107, 240, 0.12));
  border: 1px solid var(--line);
  margin-bottom: 16px;
}
.card__title {
  font-size: 1.06rem;
  margin-bottom: 8px;
}
.card__text {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.68;
}

/* ------------------------------------------------------ transformation */
.compare {
  display: grid;
  gap: 16px;
  align-items: stretch;
}
.compare__col {
  padding: 28px 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
}
.compare__col--before {
  background: linear-gradient(165deg, rgba(255, 107, 107, 0.07), rgba(255, 255, 255, 0.02));
  border-color: rgba(255, 107, 107, 0.2);
}
.compare__col--after {
  background: linear-gradient(165deg, rgba(240, 184, 87, 0.1), rgba(123, 107, 240, 0.06));
  border-color: rgba(240, 184, 87, 0.28);
}
.compare__label {
  font-family: var(--f-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.compare__col--before .compare__label { color: var(--danger); }
.compare__col--after .compare__label { color: var(--gold); }
.compare__list { display: grid; gap: 12px; }
.compare__list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.96rem;
  color: #ddd8d0;
}
.compare__list li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--f-ui);
  font-size: 0.9rem;
}
.compare__col--before li { color: var(--muted); }
.compare__col--before li::before { content: "✕"; color: var(--danger); }
.compare__col--after li::before { content: "✓"; color: var(--good); }

.compare__arrow {
  display: grid;
  place-items: center;
}
.compare__arrow span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.1rem;
  color: #1a1207;
  background: var(--grad-gold);
  box-shadow: var(--sh-gold);
  transform: rotate(90deg);
}

/* ------------------------------------------------------------- chapters */
.chapters li {
  position: relative;
  padding: 26px 24px 26px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t), border-color var(--t), background var(--t);
}
.chapters li::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: var(--grad-gold);
  opacity: 0;
  transition: opacity var(--t);
}
.chapters li:hover {
  transform: translateY(-3px);
  border-color: var(--line-hi);
  background: var(--surface-hi);
}
.chapters li:hover::before { opacity: 1; }

.chapter__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.chapter__num {
  font-family: var(--f-ui);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--gold);
  background: rgba(240, 184, 87, 0.1);
  border: 1px solid rgba(240, 184, 87, 0.24);
  padding: 4px 11px;
  border-radius: 999px;
}
.chapter__icon { font-size: 1.3rem; line-height: 1; }
.chapter__title { font-size: 1.02rem; margin-bottom: 7px; }
.chapter__text { color: var(--muted); font-size: 0.92rem; }

.extras {
  margin-top: 34px;
  padding: 26px 24px;
  border: 1px dashed var(--line-hi);
  border-radius: var(--r-lg);
  text-align: center;
}
.extras__title {
  font-family: var(--f-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 16px;
}
.extras__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
}
.extras__list li {
  font-size: 0.86rem;
  color: #cfcada;
  padding: 6px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

/* -------------------------------------------------------------- preview */
.preview {
  display: grid;
  gap: 26px;
  align-items: start;
}
.preview__cover {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--sh);
}
.preview__cover .cover { aspect-ratio: 2 / 3; }
.preview__cover img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }

.preview__pages {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.preview__pages li {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
.preview__pages img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.preview__pages li:hover img { transform: scale(1.06); }
.preview__pages figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 9px 12px;
  font-family: var(--f-ui);
  font-size: 0.72rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.82));
}
.preview__empty {
  display: grid;
  place-items: center;
  gap: 8px;
  border-style: dashed;
  border-color: var(--line-hi);
  color: var(--faint);
  font-family: var(--f-ui);
  font-size: 0.76rem;
  text-align: center;
  padding: 14px;
}
.preview__empty span { font-size: 1.3rem; opacity: 0.6; }

/* --------------------------------------------------------- not-for-you */
.notfor {
  padding: 34px 28px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 107, 107, 0.06), rgba(255, 255, 255, 0.02));
}
.notfor__title { font-size: clamp(1.3rem, 3.6vw, 1.7rem); }
.notfor__sub { margin-top: 10px; color: var(--muted); font-size: 0.96rem; }
.notfor__list { margin-top: 22px; display: grid; gap: 12px; }
.notfor__list li {
  position: relative;
  padding-left: 30px;
  color: #ddd8d0;
  font-size: 0.97rem;
}
.notfor__list li::before {
  content: "✕";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--danger);
  font-family: var(--f-ui);
  font-size: 0.86rem;
}

/* --------------------------------------------------------------- author */
.author {
  display: grid;
  gap: 26px;
  padding: 34px 28px;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background:
    radial-gradient(62% 74% at 12% 0%, rgba(240, 184, 87, 0.09), transparent 62%),
    var(--surface);
  text-align: center;
  justify-items: center;
}
.author__photo {
  width: 116px;
  height: 116px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(240, 184, 87, 0.34);
  background: linear-gradient(150deg, #241c31, #100c17);
  display: grid;
  place-items: center;
  font-family: var(--f-head);
  font-size: 2.1rem;
  color: var(--gold);
  flex: none;
  box-shadow: var(--sh);
}
.author__photo img { width: 100%; height: 100%; object-fit: cover; }
.author__eyebrow {
  font-family: var(--f-ui);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 10px;
}
.author__name { font-size: 1.5rem; }
.author__role { color: var(--gold); font-size: 0.94rem; margin-top: 4px; }
.author__bio { margin-top: 18px; display: grid; gap: 13px; color: var(--muted); font-size: 0.97rem; }
.author__quote {
  margin-top: 22px;
  padding: 18px 22px;
  border-left: 2px solid var(--gold);
  border-radius: 0 var(--r) var(--r) 0;
  background: rgba(240, 184, 87, 0.06);
  font-family: var(--f-head);
  font-size: 1.03rem;
  color: #eee7db;
  text-align: left;
}

/* --------------------------------------------------------- testimonials */
.quotes li {
  padding: 26px 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
}
.quote__stars { color: var(--gold); letter-spacing: 0.14em; font-size: 0.85rem; margin-bottom: 12px; }
.quote__text { color: #ded9d0; font-size: 0.97rem; }
.quote__by { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.quote__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(150deg, #241c31, #100c17);
  border: 1px solid var(--line);
  font-family: var(--f-head); color: var(--gold);
  overflow: hidden; flex: none;
}
.quote__avatar img { width: 100%; height: 100%; object-fit: cover; }
.quote__name { font-family: var(--f-ui); font-size: 0.9rem; font-weight: 500; }
.quote__loc { font-size: 0.8rem; color: var(--faint); }

/* -------------------------------------------------------------- pricing */
.section--offer {
  background:
    radial-gradient(58% 46% at 50% 0%, rgba(240, 184, 87, 0.11), transparent 68%),
    var(--bg-2);
  border-block: 1px solid var(--line);
}

.offer {
  position: relative;
  padding: 34px 26px;
  border-radius: var(--r-xl);
  border: 1px solid rgba(240, 184, 87, 0.3);
  background: linear-gradient(168deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  box-shadow: var(--sh-lg);
  text-align: center;
}
.offer__save {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--f-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 6px 17px;
  border-radius: 999px;
  color: #1a1207;
  background: var(--grad-gold);
  box-shadow: var(--sh-gold);
  white-space: nowrap;
}
.offer__name { font-size: 1.28rem; }
.offer__tag { color: var(--muted); font-size: 0.92rem; margin-top: 6px; }

.offer__prices {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 24px 0 6px;
}
.offer__now {
  font-family: var(--f-ui);
  font-size: clamp(2.4rem, 10vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.offer__was {
  font-family: var(--f-ui);
  font-size: 1.2rem;
  color: var(--faint);
  text-decoration: line-through;
}
.offer__once { font-family: var(--f-ui); font-size: 0.78rem; color: var(--faint); letter-spacing: 0.05em; }

.offer__todo {
  display: block;
  margin: 20px auto 6px;
  max-width: 440px;
  padding: 16px 18px;
  border: 1px dashed rgba(240, 184, 87, 0.5);
  border-radius: var(--r);
  background: rgba(240, 184, 87, 0.06);
  font-family: var(--f-ui);
  font-size: 0.83rem;
  line-height: 1.6;
  color: #f2d8a6;
}
.offer__todo code {
  font-size: 0.9em;
  background: rgba(0, 0, 0, 0.4);
  padding: 2px 6px;
  border-radius: 5px;
}

.offer__includes {
  display: grid;
  gap: 11px;
  margin: 24px auto;
  max-width: 420px;
  text-align: left;
}
.offer__includes li {
  position: relative;
  padding-left: 30px;
  font-size: 0.95rem;
  color: #ded9d0;
}
.offer__includes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--good);
  font-family: var(--f-ui);
}
.offer__cta { margin-top: 8px; }
.offer__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin-top: 20px;
  font-family: var(--f-ui);
  font-size: 0.79rem;
  color: var(--muted);
}
.offer__badges li { display: inline-flex; align-items: center; gap: 6px; }

/* -------------------------------------------------------------- bonuses */
.bonuses li {
  padding: 26px 24px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(240, 184, 87, 0.24);
  background: linear-gradient(165deg, rgba(240, 184, 87, 0.08), rgba(255, 255, 255, 0.02));
}
.bonus__num {
  font-family: var(--f-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 12px;
}
.bonus__title { font-size: 1.05rem; margin-bottom: 8px; }
.bonus__text { color: var(--muted); font-size: 0.93rem; }
.bonus__value {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--f-ui);
  font-size: 0.8rem;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(240, 184, 87, 0.12);
  border: 1px solid rgba(240, 184, 87, 0.28);
  color: var(--gold);
}

/* ------------------------------------------------------------ guarantee */
.guarantee {
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
  padding: 34px 28px;
  border-radius: var(--r-xl);
  border: 1px solid rgba(74, 222, 155, 0.24);
  background: linear-gradient(165deg, rgba(74, 222, 155, 0.07), rgba(255, 255, 255, 0.02));
}
.guarantee__icon { font-size: 2.2rem; }
.guarantee__title { font-size: clamp(1.3rem, 3.6vw, 1.6rem); }
.guarantee__text { color: var(--muted); font-size: 0.98rem; max-width: 60ch; }

/* ------------------------------------------------------------------ FAQ */
.faq { display: grid; gap: 12px; }
.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  overflow: hidden;
  transition: border-color var(--t), background var(--t);
}
.faq__item[open] { border-color: rgba(240, 184, 87, 0.32); background: var(--surface-hi); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  font-family: var(--f-head);
  font-size: 1rem;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--gold); }
.faq__sign {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line-hi);
  font-family: var(--f-ui);
  font-size: 1rem;
  line-height: 1;
  color: var(--gold);
  transition: transform var(--t), background var(--t);
}
.faq__item[open] .faq__sign { transform: rotate(45deg); background: rgba(240, 184, 87, 0.13); }
.faq__a {
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: 0.96rem;
}

/* ------------------------------------------------------------ final CTA */
.final {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}
.final__glow {
  position: absolute;
  bottom: -320px;
  left: 50%;
  width: min(980px, 150vw);
  height: 620px;
  transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(240, 184, 87, 0.16), transparent 70%);
  pointer-events: none;
}
.final__inner { position: relative; }
.final__title { font-size: clamp(1.85rem, 6.4vw, 2.9rem); }
.final__sub { margin-top: 16px; color: var(--muted); font-size: 1.03rem; }
.final .btn { margin-top: 30px; }
.final__trust {
  margin-top: 16px;
  font-family: var(--f-ui);
  font-size: 0.79rem;
  color: var(--faint);
}

/* --------------------------------------------------------------- footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 calc(34px + var(--sticky-pad, 0px));
  background: var(--bg);
}
.site-footer__inner {
  display: grid;
  gap: 20px;
  text-align: center;
  justify-items: center;
}
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  font-family: var(--f-ui);
  font-size: 0.85rem;
}
.site-footer__links a { color: var(--muted); transition: color var(--t); }
.site-footer__links a:hover { color: var(--gold); }
.site-footer__legal { font-family: var(--f-ui); font-size: 0.78rem; color: var(--faint); }
.site-footer__fine { margin-top: 4px; }

/* --------------------------------------------------------- legal pages */
.legal-page { padding-top: 48px; }

.legal__head {
  padding-bottom: 26px;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--line);
}
.legal__title { font-size: clamp(1.75rem, 5.4vw, 2.6rem); }
.legal__intro { margin-top: 14px; color: var(--muted); font-size: 1.02rem; }
.legal__updated {
  margin-top: 16px;
  font-family: var(--f-ui);
  font-size: 0.76rem;
  color: var(--faint);
  letter-spacing: 0.03em;
}

.legal h2 {
  font-size: 1.18rem;
  margin: 38px 0 12px;
  padding-left: 15px;
  border-left: 2px solid var(--gold);
}
.legal h2:first-child { margin-top: 0; }
.legal p {
  margin-bottom: 13px;
  color: #cfcad6;
  font-size: 0.99rem;
  line-height: 1.82;
}
.legal strong { color: var(--text); }
.legal em { color: var(--gold); font-style: normal; }

.legal__contact {
  display: grid;
  gap: 1px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--line);
}
.legal__contact li {
  display: grid;
  gap: 4px;
  padding: 15px 18px;
  background: var(--surface);
}
.legal__contact span {
  font-family: var(--f-ui);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--faint);
}
.legal__contact strong { font-weight: 500; }
.legal__contact a { color: var(--gold); }
.legal__contact a:hover { text-decoration: underline; }

.legal__back {
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  text-align: center;
}

@media (min-width: 640px) {
  .legal__contact { grid-template-columns: repeat(2, 1fr); }
}

/* ---------------------------------------------------------- sticky CTA */
.sticky-cta {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px calc(11px + env(safe-area-inset-bottom));
  background: rgba(9, 8, 13, 0.93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform var(--t-slow);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .btn { flex: 1; }
.sticky-cta__price {
  font-family: var(--f-ui);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}
.sticky-cta__price small {
  display: block;
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--faint);
  text-decoration: line-through;
}
.sticky-cta__price:empty { display: none; }

/* ------------------------------------------------------------- reveals */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================================ breakpoints */
@media (min-width: 640px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .preview__pages { grid-template-columns: repeat(2, 1fr); }
  .hero__actions .btn { width: auto; }
  .author { grid-template-columns: auto 1fr; text-align: left; justify-items: start; align-items: start; gap: 30px; }
  .author__body { text-align: left; }
}

@media (min-width: 900px) {
  :root { --header-h: 74px; }

  .section { padding: 104px 0; }
  .section--slim { padding: 64px 0; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .grid { gap: 20px; }

  .hero { padding: 78px 0 96px; }
  .hero__inner {
    grid-template-columns: 1.06fr 0.94fr;
    align-items: center;
    gap: 60px;
  }
  .book { width: min(320px, 30vw); }
  .book__meta { margin-top: 60px; }

  .trust { padding: 34px 0; }
  .trust__inner {
    grid-template-columns: auto 1fr;
    align-items: center;
    text-align: left;
    gap: 34px;
  }
  .trust__list { justify-content: flex-end; }

  .compare {
    grid-template-columns: 1fr auto 1fr;
    gap: 22px;
  }
  .compare__arrow span { transform: none; }
  .compare__col { padding: 34px 30px; }

  .preview { grid-template-columns: 300px 1fr; gap: 34px; }
  .preview__pages { grid-template-columns: repeat(2, 1fr); gap: 18px; }

  .offer { padding: 46px 44px; }
  .notfor, .guarantee, .author { padding: 44px 40px; }

  .site-nav {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    padding: 0;
    background: none;
    border: none;
    transform: none;
  }
  .site-nav__list { flex-direction: row; gap: 28px; }
  .site-nav__list a { padding: 0; border: none; font-size: 0.92rem; }
  .site-nav__cta { margin-top: 0; }
  .hamburger, .nav-scrim { display: none !important; }

  .sticky-cta { display: none !important; }

  .site-footer { padding: 44px 0; }
  .site-footer__inner {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    text-align: left;
    justify-items: stretch;
  }
  .site-footer__links { justify-content: center; }
  .site-footer__legal { text-align: right; }
}

@media (min-width: 1080px) {
  .preview__pages { grid-template-columns: repeat(3, 1fr); }
}

/* ------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .book__inner { animation: none; }
}
