/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --navy: #16233A;
  --navy-2: #1B2A41;
  --teal: #0E7C7B;
  --teal-light: #E4F1F0;
  --gold: #C9982A;
  --gold-light: #F6ECD6;
  --paper: #FFFFFF;
  --paper-alt: #F6F7F5;
  --ink: #16202C;
  --ink-soft: #4B5563;
  --line: #E4E7EA;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(22,32,44,0.06), 0 1px 1px rgba(22,32,44,0.04);
  --shadow-md: 0 8px 24px rgba(22,32,44,0.10);
  --shadow-lg: 0 24px 60px rgba(22,35,58,0.18);
}

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

/* The [hidden] attribute must always win over component display rules
   (e.g. .buybox__form{display:flex}), which share the same specificity
   and would otherwise show hidden elements. */
[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 760px; }

/* ============================================================
   TYPE UTILITIES
   ============================================================ */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 14px;
}
.eyebrow--center { text-align: center; }
.eyebrow--on-dark { color: #7FD9D6; }

.section__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.2;
  margin: 0 0 18px;
  color: var(--navy-2);
}
.section__title--center { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.section__title--on-dark { color: #F5F6F4; }

.section__sub {
  font-size: 17px;
  color: var(--ink-soft);
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
  line-height: 1.6;
}
.section__sub--left { text-align: left; margin: 0; max-width: none; }
.section__sub--on-dark { color: #B7C2CE; }

.section { padding: 96px 0; }
.section--alt { background: var(--paper-alt); }
.section--dark { background: var(--navy); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav__mark {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--navy-2);
}
.nav__cta {
  font-size: 14px;
  font-weight: 700;
  background: var(--navy-2);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.nav__cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  border: none;
  border-radius: 10px;
  padding: 14px 26px;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn--primary {
  background: linear-gradient(180deg, #C9982A 0%, #B9861F 100%);
  color: #23180A;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--lg { padding: 17px 34px; font-size: 16.5px; border-radius: 12px; }
.btn--block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: wait; transform: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 64px 0 88px;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(14,124,123,0.10), transparent 60%),
    radial-gradient(700px 420px at -10% 20%, rgba(201,152,42,0.10), transparent 55%),
    var(--paper);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.08;
  margin: 0 0 22px;
  color: var(--navy-2);
}
.hero__title span { color: var(--teal); }
.hero__sub {
  font-size: 17.5px;
  color: var(--ink-soft);
  max-width: 540px;
  margin: 0 0 32px;
  line-height: 1.65;
}
.hero__buybox { margin-bottom: 28px; }
.price {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy-2);
  margin-bottom: 12px;
}
.hero__microcopy {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 10px 0 0;
  letter-spacing: 0.02em;
}
.hero__trust {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero__trust li {
  font-size: 14.5px;
  color: var(--ink-soft);
  padding-left: 22px;
  position: relative;
}
.hero__trust li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--gold);
}

/* ---- Book cover (real cover image) ---- */
.hero__visual { position: relative; display: flex; justify-content: center; }
.cover-shot {
  width: 320px;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  transform: perspective(1400px) rotateY(-10deg) rotateX(1deg);
}

.chip {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--navy-2);
  background: #fff;
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.chip--1 { top: 6%; left: -4%; }
.chip--2 { top: 42%; right: -8%; }
.chip--3 { bottom: 14%; left: -8%; }
.chip--4 {
  bottom: -3%; right: 6%;
  background: var(--gold);
  color: #23180A;
  border-color: transparent;
}

/* ============================================================
   PROBLEM
   ============================================================ */
.problem__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 820px;
  margin: 0 auto;
}
.problem__item {
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  font-size: 15px;
  color: var(--ink);
  position: relative;
  padding-left: 40px;
}
.problem__item::before {
  content: "✕";
  position: absolute;
  left: 16px; top: 17px;
  color: #B4453E;
  font-weight: 700;
  font-size: 13px;
}
.problem__transition {
  text-align: center;
  font-size: 19px;
  color: var(--navy-2);
  max-width: 640px;
  margin: 44px auto 0;
  line-height: 1.55;
}

/* ============================================================
   INDEX / WHAT'S INSIDE
   ============================================================ */
.index {
  max-width: 720px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.index__row {
  display: flex;
  align-items: baseline;
  gap: 22px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
}
.index__num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
  width: 28px;
  flex-shrink: 0;
}
.index__label {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--navy-2);
}
.index__row--accent .index__label { color: var(--teal); font-weight: 600; }

/* ============================================================
   TOOL PREVIEW GRID
   ============================================================ */
.toolgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 920px;
  margin: 0 auto;
}
.toolchip {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.toolchip__name { font-weight: 700; color: #fff; font-size: 15px; }
.toolchip__cat {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7FD9D6;
}
.toolchip--more {
  justify-content: center;
  align-items: center;
  text-align: center;
  background: var(--gold);
  border-color: transparent;
  color: #23180A;
  font-weight: 700;
  font-size: 14px;
}

/* ============================================================
   FORMAT SECTION
   ============================================================ */
.format {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.format__card {
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 28px;
}
.format__row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.format__row:last-child { border-bottom: none; }
.format__label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
}
.format__text { font-size: 15px; color: var(--ink); }

/* ============================================================
   WHO IS THIS FOR — CARDS
   ============================================================ */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
}
.card__num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold);
  font-weight: 700;
}
.card__title {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--navy-2);
  margin: 10px 0 8px;
}
.card__text { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; margin: 0; }

/* ============================================================
   BONUS
   ============================================================ */
.bonus__head { text-align: center; margin-bottom: 44px; }
.bonus__head .section__title { text-align: center; margin-left: auto; margin-right: auto; }
.bonus__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.bonus__item {
  border-left: 3px solid var(--gold);
  padding: 6px 0 6px 22px;
}
.bonus__item h3 {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--navy-2);
  margin: 0 0 8px;
}
.bonus__item p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; margin: 0; }

/* ============================================================
   REFERENCE / TRUST
   ============================================================ */
.reference__text {
  text-align: center;
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 16.5px;
  font-weight: 600;
  color: var(--navy-2);
  padding: 22px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq__icon {
  font-family: var(--font-mono);
  color: var(--teal);
  font-size: 20px;
  transition: transform .2s ease;
}
.faq__item.open .faq__icon { transform: rotate(45deg); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}
.faq__item.open .faq__a { max-height: 200px; }
.faq__a p { font-size: 15px; color: var(--ink-soft); line-height: 1.6; margin: 0 4px 22px; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.finalcta {
  background: linear-gradient(160deg, var(--navy-2) 0%, #0F1A2B 100%);
  color: #fff;
}
.finalcta__inner { text-align: center; }
.finalcta__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 16px;
}
.finalcta__sub { font-size: 17px; color: #B7C2CE; margin: 0 0 40px; }

.buybox {
  max-width: 420px;
  margin: 0 auto;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.buybox__price {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 16px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { padding: 40px 0 110px; border-top: 1px solid var(--line); }
.footer__inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.footer a { color: var(--teal); text-decoration: none; }

/* ============================================================
   STICKY MOBILE CTA
   ============================================================ */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 50;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 12px 16px;
  align-items: center;
  gap: 12px;
  box-shadow: 0 -6px 20px rgba(22,32,44,0.10);
}
.sticky-cta__price {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy-2);
  white-space: nowrap;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { margin-top: 40px; order: -1; }
  .format { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .bonus__grid { grid-template-columns: 1fr; }
  .toolgrid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .problem__grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .toolgrid { grid-template-columns: repeat(2, 1fr); }
  .cover-shot { width: 220px; transform: perspective(1200px) rotateY(-6deg); }
  .hero__visual { padding: 0 34px 20px; }
  .chip { font-size: 10px; padding: 5px 9px; }
  .chip--1 { top: -3%; left: -6%; }
  .chip--2 { top: 46%; right: -14%; }
  .chip--3 { bottom: 10%; left: -14%; }
  .chip--4 { bottom: -4%; right: 2%; }
  .nav__cta { display: none; }
  .sticky-cta { display: flex; }
  .footer { padding-bottom: 130px; }
}
