/* ============================================================
   SMARTEST RED PILL — Main Stylesheet
   Palette: warm off-white bg, dark text, red accent
   Fonts: Playfair Display (display) + Inter (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&display=swap');

/* ── RESET & ROOT ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:        #D42B2B;
  --red-light:  #F5E5E5;
  --dark:       #111111;
  --text:       #2C2A28;
  --muted:      #6B6866;
  --bg:         #F8F6F3;
  --surface:    #FFFFFF;
  --border:     #E4DDD6;
  --font-d:     'Playfair Display', Georgia, serif;
  --font-b:     'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max:        1140px;
  --radius:     4px;
  --shadow:     0 2px 20px rgba(0,0,0,0.07);
  --shadow-md:  0 4px 40px rgba(0,0,0,0.10);
  --transition: 0.22s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── TYPOGRAPHY ───────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-d);
  line-height: 1.2;
  color: var(--dark);
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1.2em; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--muted);
  font-weight: 300;
}

.eyebrow {
  font-family: var(--font-b);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 0.75rem;
}

/* Red underline accent on headings */
.accent-underline {
  position: relative;
  display: inline;
}
.accent-underline::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--red);
  margin-top: 0.5rem;
}

/* ── LAYOUT UTILITIES ─────────────────────────────────────── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section--sm { padding: 64px 0; }
.section--lg { padding: 120px 0; }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

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

.text-center { text-align: center; }
.text-muted { color: var(--muted); }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-b);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.btn-primary:hover {
  background: #b82424;
  border-color: #b82424;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(212,43,43,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--dark);
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}
.btn-dark:hover {
  background: #2C2A28;
  transform: translateY(-1px);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1rem;
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── NAVIGATION ───────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 246, 243, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 32px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav__logo img {
  height: 58px;
  width: auto;
  border-radius: 50%;
  display: block;
}

.nav__logo-text {
  font-family: var(--font-d);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--transition);
  letter-spacing: 0.02em;
}
.nav__links a:hover,
.nav__links a.active { color: var(--dark); }

.nav__links a.nav-cta {
  color: var(--red);
  font-weight: 600;
}
.nav__links a.nav-cta:hover { color: #b82424; }

/* Mobile nav */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  transition: all var(--transition);
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(135deg, transparent 40%, var(--red-light) 100%);
  z-index: 0;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red-light);
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero__tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
}

.hero h1 {
  margin-bottom: 12px;
}

.hero h1 em {
  font-style: italic;
  color: var(--red);
}

.hero__sub {
  font-size: 1.2rem;
  color: var(--muted);
  margin: 24px 0 40px;
  font-weight: 300;
  line-height: 1.7;
}

.hero__book {
  position: relative;
}

/* ── BOOK IMAGE ──────────────────────────────────────────── */
.book-3d-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 0 24px;
}

.book-3d {
  max-width: 260px;
  width: 100%;
}

.book-3d img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

.book-3d::before,
.book-3d::after { display: none; }

/* Legacy book-cover (used on About page) */
.book-cover {
  background: var(--dark);
  border-radius: 4px 12px 12px 4px;
  padding: 48px 36px;
  text-align: center;
  color: #fff;
  box-shadow: -8px 8px 40px rgba(0,0,0,0.25), 4px 0 0 #1a1a1a;
  position: relative;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.book-cover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--red);
}

.book-cover__vol {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}

.book-cover__title {
  font-family: var(--font-d);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 24px;
  color: #fff;
}

.book-cover__subtitle {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 32px;
}

.book-cover__author {
  font-family: var(--font-d);
  font-style: italic;
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
  width: 100%;
}

.book-cover__badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--red);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}

/* ── STRIP / STATS ────────────────────────────────────────── */
.strip {
  background: var(--dark);
  color: #fff;
  padding: 28px 0;
}

.strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}

.strip__item {
  text-align: center;
}

.strip__item strong {
  display: block;
  font-family: var(--font-d);
  font-size: 1.8rem;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}

.strip__item span {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.strip__divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}

/* ── INTRO / TEASER ───────────────────────────────────────── */
.intro {
  background: var(--surface);
}

.intro__quote {
  border-left: 3px solid var(--red);
  padding-left: 28px;
  margin: 40px 0;
  font-family: var(--font-d);
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--dark);
}

/* ── CHAPTER TEASERS ──────────────────────────────────────── */
.teasers { background: var(--bg); }

.teaser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 48px;
}

.teaser-item {
  background: var(--surface);
  padding: 28px 32px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: background var(--transition);
}

.teaser-item:hover { background: var(--red-light); }

.teaser-item__num {
  font-family: var(--font-d);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--red);
  opacity: 0.4;
  line-height: 1;
  min-width: 32px;
}

.teaser-item__text {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
}

/* ── TESTIMONIALS ─────────────────────────────────────────── */
.testimonials { background: var(--surface); }

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-family: var(--font-d);
  font-size: 4rem;
  color: var(--red);
  opacity: 0.15;
  line-height: 1;
}

.stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
}

.stars span {
  color: var(--red);
  font-size: 0.9rem;
}

.testimonial-card__text {
  font-size: 0.925rem;
  line-height: 1.75;
  color: var(--text);
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-card__author {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── ABOUT AVA ────────────────────────────────────────────── */
.about-ava {
  background: var(--bg);
}

.about-ava__photo {
  position: relative;
}

.about-ava__photo img {
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.about-ava__photo::before {
  content: '';
  position: absolute;
  top: -16px;
  left: -16px;
  width: 80px;
  height: 80px;
  border-top: 3px solid var(--red);
  border-left: 3px solid var(--red);
  z-index: 0;
}

.about-ava__content { }

.about-ava__content h2 {
  margin-bottom: 8px;
}

.about-ava__content .eyebrow {
  margin-bottom: 6px;
}

.about-ava__bio {
  margin: 24px 0;
  font-size: 1rem;
  line-height: 1.8;
}

.about-ava__detail {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.about-ava__detail-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.about-ava__detail-item strong {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.about-ava__detail-item span {
  font-size: 0.95rem;
  color: var(--dark);
  font-weight: 500;
}

/* ── AUTHOR LINK ──────────────────────────────────────────── */
.author-link {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}

.author-link__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.author-link__text {
  font-size: 1rem;
  color: var(--muted);
  max-width: 600px;
}

.author-link__text strong {
  color: var(--dark);
  font-weight: 600;
}

.author-link__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
  border-bottom: 2px solid var(--red);
  padding-bottom: 2px;
  transition: color var(--transition);
  white-space: nowrap;
}
.author-link__btn:hover { color: var(--red); }
.author-link__btn::after { content: '→'; }

/* ── VOL 2 WAITLIST ───────────────────────────────────────── */
.waitlist {
  background: #1A1614;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.waitlist::before {
  content: 'VOL. 2';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  font-family: var(--font-d);
  font-size: 8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.03);
  letter-spacing: 0.1em;
  pointer-events: none;
  white-space: nowrap;
}

.waitlist .eyebrow { color: var(--red); }

.waitlist h2 { color: #fff; }

.waitlist p { color: rgba(255,255,255,0.6); }

.waitlist__form {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  max-width: 480px;
  flex-wrap: wrap;
}

.waitlist__input {
  flex: 1;
  min-width: 220px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  color: #fff;
  font-family: var(--font-b);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition);
}
.waitlist__input::placeholder { color: rgba(255,255,255,0.35); }
.waitlist__input:focus { border-color: var(--red); }

.waitlist__note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  margin-top: 12px;
}

/* ── FAQ ──────────────────────────────────────────────────── */
.faq { background: var(--bg); }

.faq__list {
  margin-top: 48px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-family: var(--font-b);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  transition: color var(--transition);
}
.faq__question:hover { color: var(--red); }

.faq__icon {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.8rem;
  transition: all var(--transition);
  color: var(--muted);
}
.faq__item.open .faq__icon {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq__item.open .faq__answer { max-height: 400px; }

.faq__answer p {
  padding-bottom: 24px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ── BUY PAGE ─────────────────────────────────────────────── */
.buy-hero {
  background: var(--surface);
  padding: 80px 0;
  text-align: center;
}

.buy-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.buy-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
  max-width: 340px;
  flex: 1;
}
.buy-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.buy-card__icon {
  width: 56px;
  height: 56px;
  background: var(--red-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.4rem;
}

.buy-card h3 { margin-bottom: 8px; }
.buy-card p { color: var(--muted); font-size: 0.9rem; margin-bottom: 24px; }

.isbn-info {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: inline-flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 32px;
  font-size: 0.85rem;
}

.isbn-info strong { color: var(--dark); font-weight: 600; }
.isbn-info span { color: var(--muted); }

/* ── FREE SAMPLE PAGE ─────────────────────────────────────── */
.sample-hero {
  background: var(--surface);
  padding: 80px 0;
}

.sample-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  max-width: 540px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-b);
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--bg);
  outline: none;
  transition: border-color var(--transition);
}
.form-group input:focus { border-color: var(--red); }

.form-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 12px;
}

/* ── BLOG ─────────────────────────────────────────────────── */
.blog-hero {
  background: var(--surface);
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--border);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
  cursor: pointer;
}
.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.blog-card:hover .blog-card__title { color: var(--red); }

.blog-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--bg);
}

.blog-card__img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--dark) 0%, #2a2422 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-d);
  font-style: italic;
  color: rgba(255,255,255,0.15);
  font-size: 1.2rem;
}

.blog-card__body { padding: 28px; }
.blog-card__cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.blog-card__title {
  font-family: var(--font-d);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.35;
  margin-bottom: 12px;
  transition: color var(--transition);
}

.blog-card__excerpt {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.blog-card__meta {
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 16px;
}

.blog-card__read-more {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}
.blog-card__read-more::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}
.blog-card:hover .blog-card__read-more { gap: 8px; }

/* ── ARTICLE ──────────────────────────────────────────────── */
.article-hero {
  background: var(--surface);
  padding: 64px 0 48px;
}

.article-hero-img {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
}

.article-hero-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  border-radius: 6px 6px 0 0;
}

.article-hero__cat {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 16px;
}

.article-hero__meta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.article-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.article-author__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
}

.article-author__role {
  font-size: 0.75rem;
  color: var(--muted);
}

.article-date {
  font-size: 0.8rem;
  color: var(--muted);
}

.article-body {
  padding: 64px 0;
}

.article-content {
  max-width: 720px;
  margin: 0 auto;
}

.article-content h2 {
  font-size: 1.7rem;
  margin: 48px 0 20px;
}
.article-content h3 {
  font-size: 1.25rem;
  margin: 36px 0 16px;
}
.article-content p { margin-bottom: 1.4em; }
.article-content ul, .article-content ol {
  margin: 0 0 1.4em 1.5em;
}
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li { margin-bottom: 0.5em; }

.article-content blockquote {
  border-left: 3px solid var(--red);
  padding: 20px 28px;
  margin: 32px 0;
  background: var(--bg);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-d);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--dark);
}

.article-content .article-faq {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin: 40px 0;
}

.article-content .article-faq h3 {
  margin-top: 0;
  margin-bottom: 8px;
  color: var(--red);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-b);
  font-weight: 700;
}
.article-content .article-faq h4 {
  font-family: var(--font-d);
  font-size: 1.1rem;
  margin: 0 0 8px;
}

.article-cta {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 40px;
  margin: 48px 0;
  text-align: center;
  color: #fff;
}
.article-cta h3 { color: #fff; margin-bottom: 8px; }
.article-cta p { color: rgba(255,255,255,0.6); margin-bottom: 24px; }

/* ── PRIVACY POLICY ───────────────────────────────────────── */
.page-hero {
  background: var(--surface);
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}

.prose {
  max-width: 780px;
  margin: 0 auto;
  padding: 64px 24px;
}
.prose h2 { font-size: 1.4rem; margin: 40px 0 16px; }
.prose h3 { font-size: 1.1rem; margin: 28px 0 12px; }
.prose p, .prose li { color: var(--muted); font-size: 0.95rem; margin-bottom: 1em; }
.prose ul { list-style: disc; padding-left: 1.5em; }
.prose a { color: var(--red); text-decoration: underline; }

/* ── ABOUT PAGE ───────────────────────────────────────────── */
.about-page-hero {
  background: var(--surface);
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.about-page-hero__inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: start;
}

.chapters-list {
  margin-top: 48px;
  counter-reset: chapter;
}

.chapter-item {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
  transition: padding-left var(--transition);
}
.chapter-item:hover { padding-left: 8px; }

.chapter-item__num {
  font-family: var(--font-d);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--red);
  opacity: 0.5;
  min-width: 28px;
  line-height: 1.3;
}

.chapter-item__text strong {
  display: block;
  font-family: var(--font-d);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.chapter-item__text span {
  font-size: 0.875rem;
  color: var(--muted);
}

/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.5);
  padding: 56px 0 32px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}

.footer__brand img {
  height: 80px;
  width: auto;
  margin-bottom: 16px;
  border-radius: 50%;
  opacity: 1;
}

.footer__brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.4);
  max-width: 280px;
}

.footer__col h4 {
  font-family: var(--font-b);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col ul a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}
.footer__col ul a:hover { color: #fff; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}

.footer__bottom a {
  color: rgba(255,255,255,0.3);
  transition: color var(--transition);
}
.footer__bottom a:hover { color: rgba(255,255,255,0.7); }

/* ── COOKIE BANNER ────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--dark);
  color: #fff;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner.hidden { display: none; }

.cookie-banner p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin: 0;
  max-width: 600px;
}
.cookie-banner a { color: var(--red); }

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* ── SUCCESS / ERROR MESSAGES ─────────────────────────────── */
.msg {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-top: 16px;
  display: none;
}
.msg.show { display: block; }
.msg-success { background: #E8F5E9; color: #2E7D32; border: 1px solid #A5D6A7; }
.msg-error { background: #FFEBEE; color: #C62828; border: 1px solid #FFCDD2; }

/* ── ANIMATIONS ───────────────────────────────────────────── */
[data-fade] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-fade].visible {
  opacity: 1;
  transform: translateY(0);
}
[data-fade-delay="1"] { transition-delay: 0.1s; }
[data-fade-delay="2"] { transition-delay: 0.2s; }
[data-fade-delay="3"] { transition-delay: 0.3s; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero__inner,
  .grid-2,
  .about-page-hero__inner { grid-template-columns: 1fr; }
  .hero__book { max-width: 360px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .strip__inner { gap: 32px; }
  .strip__divider { display: none; }
}

@media (max-width: 640px) {
  .nav__logo img { height: 44px; }
  .nav__logo-text { font-size: 0.9rem; }
  .book-3d { max-width: 220px; }
  .section { padding: 64px 0; }
  .section--lg { padding: 80px 0; }
  .nav__links { display: none; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 68px 0 0 0;
    background: var(--bg);
    padding: 32px 24px;
    gap: 24px;
    border-top: 1px solid var(--border);
    z-index: 99;
  }
  .nav__links.open a { font-size: 1.1rem; }
  .nav__hamburger { display: flex; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .grid-3 { grid-template-columns: 1fr; }
  .btn-group { flex-direction: column; }
  .btn-group .btn { text-align: center; justify-content: center; }
  .author-link__inner { flex-direction: column; }
  .waitlist__form { flex-direction: column; }
  .buy-buttons { flex-direction: column; align-items: center; }
}
