/* Adulting 101 — landing page styles */

:root {
  --purple: #6D1D6A;
  --purple-dark: #4A1348;
  --cream: #FAF7F2;
  --ink: #2C2C2A;
  --ink-soft: #5F5E5A;

  --finance: #0F6E56;
  --housing: #993C1D;
  --vehicles: #185FA5;
  --health: #993556;
  --job: #854F0B;
  --legal: #534AB7;
  --lifeskills: #3B6D11;
  --emergency: #A32D2D;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Calibri", "Carlito", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--purple); }

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header / nav */
header.site {
  position: sticky;
  top: 0;
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid rgba(109, 29, 106, 0.12);
  z-index: 100;
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--purple);
  text-decoration: none;
  letter-spacing: 0.01em;
}
nav.site a {
  margin-left: 22px;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
}
nav.site a:hover { color: var(--purple); }
.btn {
  display: inline-block;
  background: var(--purple);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.15s ease;
}
.btn:hover { background: var(--purple-dark); }
.btn.secondary {
  background: transparent;
  border: 2px solid var(--purple);
  color: var(--purple) !important;
  padding: 8px 20px;
}
.btn.secondary:hover { background: var(--purple); color: #fff !important; }

/* Hero */
.hero {
  padding: 64px 0 56px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: center;
}
.hero .cover-shot img {
  border-radius: 6px;
  box-shadow: 0 18px 40px rgba(44, 44, 42, 0.18);
}
.hero .eyebrow {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--purple);
  margin: 0 0 10px;
}
.hero h1 {
  font-size: 2.6rem;
  color: var(--purple);
  margin: 0 0 6px;
  line-height: 1.1;
}
.hero .subtitle {
  font-size: 1.25rem;
  color: var(--ink);
  margin: 0 0 18px;
  font-weight: 400;
}
.hero .hook-main {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--purple-dark);
  max-width: 48ch;
  margin: 0 0 14px;
  line-height: 1.4;
}
.hero .hook {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 0 26px;
}
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .gift-note {
  margin: 16px 0 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
  font-style: italic;
}

/* Sections */
section { padding: 56px 0; }
section.alt { background: #ffffff; }
h2.section-title {
  font-size: 1.9rem;
  color: var(--purple);
  text-align: center;
  margin: 0 0 8px;
}
p.section-sub {
  text-align: center;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0 auto 40px;
}

/* Sound Familiar / pain points */
.pain-points {
  list-style: none;
  padding: 0;
  max-width: 640px;
  margin: 0 auto 30px;
}
.pain-points li {
  position: relative;
  padding: 10px 0 10px 34px;
  font-size: 1.05rem;
  color: var(--ink);
  border-bottom: 1px solid rgba(109,29,106,0.1);
}
.pain-points li:last-child { border-bottom: none; }
.pain-points li::before {
  content: "?";
  position: absolute;
  left: 0;
  top: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pain-resolve {
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--purple-dark);
  max-width: 56ch;
  margin: 0 auto;
}

/* Description */
.description p { max-width: 68ch; margin: 0 auto 1.1em; font-size: 1.05rem; }

/* What's inside grid */
.chapters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 20px;
  max-width: 820px;
  margin: 0 auto;
}
.chapter-item { text-align: center; }
.chapter-badge {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}
.chapter-badge svg { width: 34px; height: 34px; }
.chapter-item .label { font-weight: 700; font-size: 0.95rem; }

/* Why this book */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 940px;
  margin: 0 auto;
}
.why-card {
  background: var(--cream);
  border-left: 4px solid var(--purple);
  padding: 20px 22px;
  border-radius: 4px;
}
.why-card h3 { margin: 0 0 8px; font-size: 1.1rem; color: var(--purple-dark); }
.why-card p { margin: 0; color: var(--ink-soft); font-size: 0.97rem; }

/* Quote */
.quote-block {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 8px 20px;
}
.quote-block blockquote {
  font-size: 1.5rem;
  font-style: italic;
  color: var(--purple-dark);
  margin: 0 0 16px;
  line-height: 1.4;
}
.quote-block cite {
  font-style: normal;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* About author */
.about-author {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.about-author h2.section-title { margin-bottom: 18px; }
.about-author p { color: var(--ink-soft); font-size: 1.02rem; }

/* Buy section */
.buy-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.buy-card {
  background: #fff;
  border: 1px solid rgba(109,29,106,0.15);
  border-radius: 8px;
  padding: 26px 22px;
  text-align: center;
}
.buy-card h3 { margin: 0 0 6px; color: var(--purple); }
.buy-card .format-note { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 18px; min-height: 40px; }
.buy-card.disabled { opacity: 0.6; }
.buy-card .btn.secondary.small { padding: 8px 18px; font-size: 0.88rem; pointer-events: none; }

/* Footer */
footer.site {
  background: var(--purple-dark);
  color: #efe6ee;
  padding: 34px 0;
  text-align: center;
  font-size: 0.9rem;
}
footer.site a { color: #fff; }

/* Responsive */
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero .cover-shot { max-width: 240px; margin: 0 auto; }
  .hero .hook { margin-left: auto; margin-right: auto; }
  .hero .cta-row { justify-content: center; }
  .chapters-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .buy-options { grid-template-columns: 1fr; }
  nav.site { display: none; }
}
