/* ============================================
   TOKENS
   ============================================ */
:root {
  --ink: #12141c;
  --ink-2: #191c26;
  --ink-3: #1f2330;
  --line: rgba(243, 239, 232, 0.1);
  --line-soft: rgba(243, 239, 232, 0.06);
  --paper: #f4f0e8;
  --text: #efece4;
  --text-muted: #a6a9b8;
  --text-dim: #767a8c;
  --gold: #c9a468;
  --gold-soft: rgba(201, 164, 104, 0.14);
  --rose: #b9806f;

  --display: "Fraunces", Georgia, serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1180px;
  --container-narrow: 720px;

  --radius: 14px;
  --radius-sm: 8px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
.container--narrow { max-width: var(--container-narrow); }
.center { text-align: center; }

/* film grain overlay for texture, keeps flat colors from feeling flat */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ============================================
   TYPE
   ============================================ */
.eyebrow, .kicker {
  font-family: var(--body);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--gold);
  margin: 0 0 18px;
  font-weight: 500;
}
.kicker.center { text-align: center; }

.h2 {
  font-family: var(--display);
  font-weight: 440;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.18;
  margin: 0 0 20px;
  color: var(--text);
}
.h2.center { text-align: center; margin-left: auto; margin-right: auto; }

.h3 {
  font-family: var(--display);
  font-weight: 440;
  font-size: 24px;
  line-height: 1.3;
  margin: 0 0 12px;
}

.body-text {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 620px;
}
.center .body-text { margin-left: auto; margin-right: auto; }

em { font-style: italic; color: var(--text); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  border: 1px solid transparent;
  cursor: pointer;
}
.btn--primary {
  background: var(--gold);
  color: #1b1508;
  box-shadow: 0 8px 24px -8px rgba(201, 164, 104, 0.5);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(201, 164, 104, 0.65);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn--wide { width: 100%; max-width: 360px; }

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(18, 20, 28, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav__mark {
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--text);
  flex-shrink: 0;
}
.nav__links {
  display: flex;
  gap: 32px;
  margin: 0 auto;
}
.nav__links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.25s var(--ease);
}
.nav__links a:hover { color: var(--gold); }

.nav__cta {
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--gold);
  color: #1b1508;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}
.nav__cta:hover { transform: translateY(-1px); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}
.nav__burger span {
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 28px 100px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201, 164, 104, 0.1), transparent 60%),
    linear-gradient(180deg, #14161f 0%, var(--ink) 55%);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.55;
}
.hero__bg svg { width: 100%; height: 100%; }
.thread {
  fill: none;
  stroke-width: 1.4;
  opacity: 0.5;
}
.thread--1 { stroke: var(--gold); }
.thread--2 { stroke: var(--rose); opacity: 0.35; }
.thread--3 { stroke: var(--text-dim); opacity: 0.25; }

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  text-align: center;
}

.hero__headline {
  font-family: var(--display);
  font-weight: 440;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.14;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
  color: var(--text);
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.9s var(--ease) 0.15s forwards;
}

.hero__sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 36px;
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.9s var(--ease) 0.32s forwards;
}

.hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.9s var(--ease) 0.46s forwards;
}

.hero__meta {
  margin: 22px 0 0;
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 0.02em;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.6s forwards;
}

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

.hero__scroll {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 46px;
  background: var(--line);
  z-index: 1;
}
.hero__scroll span {
  position: absolute;
  top: 0;
  left: -1.5px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  animation: scrollDot 2.2s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { top: 0; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { top: 42px; opacity: 0; }
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 108px 0;
  border-bottom: 1px solid var(--line-soft);
}
.section--soft { background: var(--ink-2); }
.section--dark { background: var(--ink-3); }

.kicker { font-size: 13px; }

.problem-list p {
  font-size: 19px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 18px;
}
.problem-list p:first-child { color: var(--text); }

.chip-row {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chip-row li {
  font-family: var(--display);
  font-style: italic;
  font-size: 18px;
  color: var(--text);
  padding: 16px 22px;
  border-left: 2px solid var(--gold);
  background: var(--gold-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 8px;
}
.split__col:first-child .kicker { color: var(--text-dim); }
.split__col:first-child .h3 { color: var(--text-muted); }

/* product intro */
.product-intro {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.product-intro__visual { display: flex; justify-content: center; }

.book-mock {
  position: relative;
  width: 260px;
  height: 340px;
}
.book-mock__cover {
  position: absolute;
  inset: 0;
  border-radius: 6px 10px 10px 6px;
  background: linear-gradient(155deg, #23273a 0%, #171a26 70%);
  border: 1px solid rgba(201, 164, 104, 0.28);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px 28px;
  z-index: 3;
  transition: transform 0.5s var(--ease);
}
.book-mock:hover .book-mock__cover { transform: translateY(-6px) rotate(-1deg); }
.book-mock__kicker {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-bottom: 18px;
}
.book-mock__title {
  font-family: var(--display);
  font-size: 32px;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 14px;
}
.book-mock__sub {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
}
.book-mock__shadow-page {
  position: absolute;
  inset: 6px -6px 6px 6px;
  border-radius: 4px 10px 10px 4px;
  background: #14161f;
  border: 1px solid var(--line-soft);
  z-index: 2;
}
.book-mock__shadow-page--2 {
  inset: 12px -12px 12px 12px;
  z-index: 1;
  background: #101219;
}

/* benefits */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 48px;
}
.benefit {
  background: var(--ink);
  padding: 34px 26px;
}
.benefit__mark {
  display: block;
  font-family: var(--display);
  font-size: 14px;
  color: var(--gold);
  margin-bottom: 20px;
}
.benefit h3 {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 440;
  margin: 0 0 10px;
}
.benefit p {
  font-size: 14.5px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}

/* chapter list */
.chapter-list {
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.chapter-list li {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.chapter-list li:last-child { border-bottom: 1px solid var(--line); }
.chapter-list__num {
  font-family: var(--display);
  font-size: 15px;
  color: var(--gold);
  flex-shrink: 0;
  width: 24px;
  padding-top: 2px;
}
.chapter-list h4 {
  font-family: var(--display);
  font-weight: 440;
  font-size: 18px;
  margin: 0 0 6px;
}
.chapter-list p {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0;
}

/* steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 48px;
  text-align: left;
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--display);
  font-size: 14px;
  margin-bottom: 18px;
}
.step h3 {
  font-family: var(--display);
  font-weight: 440;
  font-size: 19px;
  margin: 0 0 8px;
}
.step p {
  font-size: 14.5px;
  color: var(--text-muted);
  margin: 0;
}

/* bonus */
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.bonus-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.bonus-card:hover {
  border-color: rgba(201, 164, 104, 0.4);
  transform: translateY(-3px);
}
.bonus-card h3 {
  font-family: var(--display);
  font-weight: 440;
  font-size: 18px;
  margin: 0 0 10px;
}
.bonus-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  margin: 0;
}

/* accordion */
.accordion { margin-top: 40px; border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--body);
  font-size: 16.5px;
  font-weight: 500;
  text-align: left;
  padding: 22px 0;
  cursor: pointer;
}
.accordion__icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.accordion__icon::before, .accordion__icon::after {
  content: "";
  position: absolute;
  background: var(--gold);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.accordion__icon::before { top: 7px; left: 0; width: 16px; height: 1.5px; }
.accordion__icon::after { top: 0; left: 7px; width: 1.5px; height: 16px; }
.accordion__item.is-open .accordion__icon::after { transform: rotate(90deg); opacity: 0; }

.accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.accordion__panel p {
  margin: 0 0 22px;
  color: var(--text-muted);
  font-size: 15.5px;
  max-width: 600px;
  line-height: 1.6;
}

/* offer */
.offer-card {
  margin-top: 40px;
  background: var(--ink-2);
  border: 1px solid rgba(201, 164, 104, 0.3);
  border-radius: var(--radius);
  padding: 48px 40px;
}
.offer-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}
.offer-card__list li {
  font-size: 15.5px;
  color: var(--text);
  padding-left: 26px;
  position: relative;
}
.offer-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}
.offer-card__price {
  margin-bottom: 30px;
}
.offer-card__amount {
  font-family: var(--display);
  font-size: 48px;
  color: var(--text);
  display: block;
}
.offer-card__note {
  font-size: 13px;
  color: var(--text-dim);
}

/* final cta */
.final-cta {
  position: relative;
  overflow: hidden;
  padding: 128px 0;
  background: linear-gradient(180deg, var(--ink) 0%, #14161f 100%);
}
.hero__bg--final { opacity: 0.4; }
.final-cta .h2 { margin-bottom: 16px; }
.final-cta .body-text { margin-bottom: 36px; }
.final-cta .container { position: relative; z-index: 1; }

/* footer */
.footer {
  padding: 64px 0 40px;
  background: var(--ink);
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  border-top: 1px solid var(--line-soft);
  padding-top: 44px;
}
.footer__mark {
  font-family: var(--display);
  font-size: 17px;
  color: var(--text);
  display: block;
  margin-bottom: 8px;
}
.footer__brand p {
  font-size: 14px;
  color: var(--text-dim);
  margin: 0;
}
.footer__links {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.footer__links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.25s var(--ease);
}
.footer__links a:hover { color: var(--gold); }
.footer__legal {
  width: 100%;
  font-size: 12.5px;
  color: var(--text-dim);
  margin: 28px 0 0;
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .product-intro { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .product-intro__text .body-text { margin-left: auto; margin-right: auto; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .bonus-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }

  .nav.is-open .nav__links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    background: var(--ink-2);
    padding: 24px 28px 32px;
    gap: 20px;
    border-bottom: 1px solid var(--line);
    margin: 0;
  }
  .nav.is-open .nav__links a { font-size: 16px; }

  .hero { padding: 120px 22px 80px; }
  .section { padding: 76px 0; }
  .container { padding: 0 22px; }

  .benefit-grid { grid-template-columns: 1fr; }
  .offer-card { padding: 36px 24px; }
  .book-mock { width: 210px; height: 280px; }
  .book-mock__title { font-size: 26px; }
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; }
}
