:root {
  --bg: #090d17;
  --bg-soft: #111827;
  --card: rgba(245, 248, 255, 0.08);
  --card-strong: rgba(245, 248, 255, 0.14);
  --line: rgba(189, 206, 235, 0.18);
  --text: #f8fbff;
  --muted: rgba(233, 240, 252, 0.76);
  --brand: #ef7f1a;
  --brand-dark: #c86108;
  --brand-soft: rgba(239, 127, 26, 0.14);
  --accent: #d6b07b;
  --success: #b7d7a8;
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(239, 127, 26, 0.16), transparent 24%),
    radial-gradient(circle at left center, rgba(61, 84, 128, 0.22), transparent 28%),
    linear-gradient(180deg, #0b1220 0%, #070b14 100%);
  color: var(--text);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.28), transparent 92%);
}

.page-shell {
  position: relative;
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
  padding: 24px 0 88px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 8px;
}

.brand {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ghost-link {
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--line);
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
}

.site-footer {
  padding: 24px 0 0;
}

.footer-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: var(--muted);
}

.footer-note p {
  margin: 0;
}

.footer-note a,
.footer-link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(214, 176, 123, 0.45);
  padding-bottom: 2px;
}

.footer-note a:hover,
.footer-link:hover {
  color: #ffe0b7;
  border-bottom-color: currentColor;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 34px;
  align-items: start;
  padding: 40px 0 34px;
}

.hero-card {
  margin-top: -18px;
}

.eyebrow,
.section-tag,
.author-badge,
.cover-kicker,
.chapter-card span,
.toc-card span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.eyebrow,
.section-tag,
.author-badge,
.cover-kicker {
  color: var(--accent);
}

.section h2 {
  margin: 0 0 18px;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero h1,
.book-cover h2 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  max-width: 11.5ch;
  margin-top: 18px;
}

.lead,
.section p,
.hero-proof p,
.info-card p,
.chapter-card p,
.toc-card p,
.faq-card p,
.form-note,
.cta-microcopy {
  color: var(--muted);
  line-height: 1.72;
  font-size: 1.02rem;
}

.lead {
  max-width: 62ch;
  margin: 22px 0 0;
  font-size: 1.1rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin: 28px 0 12px;
}

.cta-microcopy {
  margin: 0 0 22px;
  font-size: 0.95rem;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, #ff7b58 100%);
  color: #fff;
  box-shadow: 0 18px 40px rgba(255, 84, 73, 0.32);
}

.btn-secondary {
  background: rgba(255,255,255,0.05);
  color: #fff;
  border-color: var(--line);
}

.text-jump {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 54px;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-weight: 700;
}

.text-jump::after {
  content: '↓';
  font-size: 0.95rem;
}

.btn-full {
  width: 100%;
}

.trust-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 0;
}

.trust-row li,
.check-item {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.05);
  color: #fff;
}

.trust-row li {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
}

.hero-card,
.info-card,
.chapter-card,
.toc-card,
.author-card,
.waitlist-form,
.faq-card,
.stats-strip article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-card {
  padding: 22px;
}

.book-cover {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  margin: 0;
  background: linear-gradient(145deg, rgba(255,248,240,0.04), rgba(168,103,42,0.10));
  padding: 18px;
}

.book-cover::after {
  content: none;
}

.cover-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(255, 248, 240, 0.14);
}

.cover-caption {
  margin-top: 12px;
  color: rgba(255, 244, 232, 0.68);
  font-size: 0.92rem;
  line-height: 1.45;
  text-align: center;
}

.hero-proof {
  padding: 18px 4px 4px;
}

.hero-proof strong,
.stats-strip strong,
.info-card h3,
.chapter-card h3,
.toc-card h3,
.faq-card h3 {
  display: block;
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.section {
  padding: 42px 0;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stats-strip article,
.info-card,
.chapter-card,
.toc-card,
.faq-card,
.author-card,
.waitlist-form {
  padding: 24px;
}

.two-column,
.form-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: start;
}

.card-list,
.chapter-grid,
.toc-grid,
.faq-grid,
.check-grid {
  display: grid;
  gap: 16px;
}

.chapter-grid,
.toc-grid,
.faq-grid,
.check-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dark-band {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 34px;
}

.section-tag-light {
  color: var(--success);
}

.check-item {
  padding: 18px;
  border-radius: 18px;
  min-height: 92px;
  display: flex;
  align-items: center;
  line-height: 1.55;
}

.chapter-card,
.toc-card {
  min-height: 206px;
}

.author-card {
  padding: 34px;
  background: linear-gradient(145deg, rgba(245,248,255,0.08), rgba(239,127,26,0.12));
}

.author-card-split {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.author-photo {
  margin: 0;
}

.author-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  border: 1px solid rgba(189, 206, 235, 0.22);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
}

.author-copy {
  min-width: 0;
}

.waitlist-form {
  display: grid;
  gap: 14px;
}

.waitlist-form label {
  display: grid;
  gap: 10px;
  font-weight: 600;
}

.waitlist-form input {
  min-height: 54px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
  padding: 0 16px;
  color: #fff;
  font: inherit;
}

.waitlist-form input::placeholder {
  color: rgba(255,255,255,0.48);
}

.waitlist-form input:focus {
  outline: 2px solid rgba(255, 209, 102, 0.45);
  outline-offset: 2px;
}

.form-note {
  margin: 0;
  font-size: 0.94rem;
}

.form-note.success {
  color: var(--success);
}

@media (max-width: 980px) {
  .hero,
  .two-column,
  .form-section,
  .stats-strip,
  .chapter-grid,
  .toc-grid,
  .faq-grid,
  .author-card-split,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 34px;
  }

  .hero h1 {
    max-width: none;
  }

  .book-cover {
    max-width: 520px;
    margin-inline: auto;
  }

  .author-photo {
    max-width: 280px;
    margin-inline: auto;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--container));
    padding-bottom: 68px;
  }

  .topbar {
    padding-top: 10px;
    align-items: flex-start;
  }

  .brand {
    max-width: 150px;
    line-height: 1.35;
    font-size: 0.82rem;
  }

  .ghost-link {
    padding: 8px 0;
    font-size: 0.92rem;
    width: auto;
    border: 0;
    background: transparent;
  }

  .hero {
    gap: 20px;
  }

  .hero h1 {
    font-size: clamp(2rem, 11vw, 3.2rem);
    line-height: 1.03;
  }

  .lead {
    font-size: 1rem;
    color: rgba(255,255,255,0.82);
  }

  .book-cover {
    padding: 14px;
  }

  .book-cover h2,
  .section h2 {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
  }

  .dark-band,
  .author-card,
  .hero-card,
  .stats-strip article,
  .info-card,
  .chapter-card,
  .toc-card,
  .faq-card,
  .waitlist-form {
    border-radius: 22px;
    padding: 20px;
  }

  .check-item {
    min-height: unset;
  }

  .btn {
    width: 100%;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .text-jump {
    min-height: unset;
    justify-content: center;
    padding-bottom: 2px;
  }
}
