:root {
  --bg: #fbf7ef;
  --bg-alt: #f3ebdc;
  --paper: #ffffff;
  --navy: #16233f;
  --navy-light: #24375e;
  --gold: #c9a24f;
  --gold-dark: #9c7626;
  --gold-pale: #faf3e0;
  --green: #1d633b;
  --green-hover: #14492b;
  --green-pale: #eaf6ee;
  --ink: #221f1a;
  --muted: #5a5244;
  --border: #dfd3bc;
  --serif: 'Lora', Georgia, 'Times New Roman', serif;
  --sans: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --shadow-sm: 0 4px 14px rgba(22, 35, 63, 0.06);
  --shadow-md: 0 12px 32px rgba(22, 35, 63, 0.11);
  --shadow-lg: 0 20px 48px rgba(22, 35, 63, 0.18);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 20px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: min(1160px, 100% - 36px);
  margin-inline: auto;
}

.container.narrow {
  width: min(820px, 100% - 36px);
}

/* Header */
.site-header {
  background: var(--paper);
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 2px 10px rgba(22, 35, 63, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
  line-height: 1.15;
}

.brand-tag {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: #ffffff;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  padding: 11px 22px;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.header-cta:hover {
  background: var(--green-hover);
  transform: translateY(-1px);
}

/* Cancel Notice */
.cancel-banner {
  background: #fff6e0;
  border-bottom: 2px solid var(--gold);
  color: #5c420e;
  padding: 14px 0;
  font-size: 18px;
  text-align: center;
}

/* Hero Section */
.hero {
  padding: 40px 0 56px;
  background: linear-gradient(180deg, #fffdf8 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.28fr 0.72fr;
  gap: 44px;
  align-items: start;
}

.eyebrow {
  display: inline-block;
  background: var(--gold-pale);
  border: 1px solid var(--gold);
  color: #6e4f12;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.12;
  color: var(--navy);
  margin-bottom: 14px;
}

.hero-sub {
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.38;
  color: #2c3e66;
  margin-bottom: 16px;
}

.hero-lead {
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 18px;
}

.hero-points {
  list-style: none;
  background: var(--paper);
  border: 2px solid var(--border);
  border-left: 6px solid var(--gold);
  border-radius: 12px;
  padding: 20px 22px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 14px;
}

.hero-points li {
  position: relative;
  padding-left: 32px;
  font-size: 19px;
  line-height: 1.48;
}

.hero-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green-pale);
  color: var(--green);
  font-weight: 800;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Hero Buy Box */
.hero-buy {
  background: var(--paper);
  border: 2px solid var(--gold);
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: var(--shadow-md);
}

.price-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.price-label {
  display: block;
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
  line-height: 1.3;
}

.price-sub {
  display: block;
  font-size: 16px;
  color: var(--muted);
  margin-top: 2px;
}

.price-amount {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 44px;
  color: var(--green);
  line-height: 1;
  white-space: nowrap;
}

.btn-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 64px;
  background: linear-gradient(180deg, #237345 0%, #195733 100%);
  color: #ffffff;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.25;
  text-align: center;
  padding: 16px 26px;
  border: 2px solid #124226;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(29, 99, 59, 0.32);
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
}

.btn-buy:hover {
  background: linear-gradient(180deg, #1d633b 0%, #124226 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(29, 99, 59, 0.4);
}

.btn-buy:disabled {
  opacity: 0.75;
  cursor: wait;
}

.btn-buy-large {
  font-size: 24px;
  min-height: 70px;
  padding: 18px 30px;
}

.buy-note {
  font-size: 16px;
  line-height: 1.45;
  color: var(--muted);
  margin-top: 12px;
  text-align: center;
}

.form-error {
  margin-top: 12px;
  padding: 12px 16px;
  background: #fdecec;
  border: 1px solid #d9534f;
  color: #8a1f1c;
  border-radius: 8px;
  font-weight: 600;
  font-size: 17px;
  text-align: center;
}

/* Hero Book Column */
.hero-book {
  background: radial-gradient(circle at 50% 42%, #ffffff 0%, #f3ead8 100%);
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 94px;
}

.hero-book img {
  width: min(380px, 100%);
  margin: 0 auto;
  filter: drop-shadow(0 18px 28px rgba(15, 25, 45, 0.28));
}

.book-caption {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 17px;
  line-height: 1.45;
  color: var(--navy);
}

/* Sections */
.section {
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}

.section-alt {
  background: var(--bg-alt);
}

.part-tag {
  display: inline-block;
  background: var(--navy);
  color: #f3d27a;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 14px;
}

.section-intro {
  font-size: 20px;
  color: var(--muted);
  max-width: 880px;
  margin-bottom: 32px;
}

/* Fiches Preview Grid */
.fiches-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.fiche-card {
  background: var(--paper);
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.fiche-head {
  margin-bottom: 14px;
}

.fiche-num {
  display: inline-block;
  background: var(--gold-pale);
  border: 1px solid var(--gold);
  color: #705012;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 6px;
}

.fiche-head h3 {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.28;
  color: var(--navy);
}

.fiche-frame {
  position: relative;
  border: 2px solid #d4c5a9;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
  cursor: zoom-in;
  box-shadow: 0 6px 18px rgba(22, 35, 63, 0.08);
  transition: transform 0.2s, border-color 0.2s;
}

.fiche-frame:hover {
  transform: translateY(-2px);
  border-color: var(--gold-dark);
}

.fiche-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.zoom-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(22, 35, 63, 0.9);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.fiche-card figcaption,
.page-preview-card figcaption {
  margin-top: 14px;
  font-size: 17px;
  line-height: 1.48;
  color: var(--muted);
}

.inline-cta {
  max-width: 680px;
  margin: 36px auto 0;
  text-align: center;
}

.inline-cta-sub {
  margin-top: 10px;
  font-size: 17px;
  color: var(--muted);
  font-weight: 600;
}

/* Letter Box */
.letter-box {
  background: var(--paper);
  border: 2px solid var(--border);
  border-top: 6px solid var(--navy);
  border-radius: 14px;
  padding: 36px 40px;
  box-shadow: var(--shadow-md);
}

.letter-greeting {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 18px;
}

.letter-box p {
  margin-bottom: 18px;
  font-size: 20px;
  line-height: 1.65;
}

.letter-sign {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
  margin-top: 24px;
  margin-bottom: 0;
}

/* Chapters Grid */
.parts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.part-card {
  background: var(--paper);
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
}

.part-card h3 {
  font-family: var(--serif);
  font-size: 25px;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--bg-alt);
}

.chap-list {
  list-style: none;
  display: grid;
  gap: 14px;
}

.chap-list li {
  font-size: 18.5px;
  line-height: 1.5;
  color: var(--ink);
}

.chap-list strong {
  color: var(--navy);
  display: block;
  margin-bottom: 2px;
}

/* Pages Preview Grid */
.pages-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.page-preview-card {
  background: var(--paper);
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.faq-item {
  background: var(--paper);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 21px;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 700;
  color: var(--gold-dark);
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 19px;
  line-height: 1.58;
  color: var(--ink);
}

/* Final Buy Section */
.buy-section {
  background: linear-gradient(180deg, var(--bg-alt) 0%, #e9dec7 100%);
}

.buy-card {
  background: var(--paper);
  border: 3px solid var(--gold);
  border-radius: 18px;
  padding: 38px 36px;
  box-shadow: var(--shadow-lg);
}

.buy-card h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.22;
  color: var(--navy);
  margin-bottom: 14px;
}

.buy-desc {
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 20px;
}

.buy-recap {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px 20px 42px;
  margin-bottom: 24px;
  font-size: 19px;
  line-height: 1.55;
}

.buy-recap > li {
  margin-bottom: 12px;
}

.buy-recap ul {
  margin-top: 8px;
  padding-left: 22px;
}

.buy-recap ul li {
  margin-bottom: 6px;
}

.buy-price-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--gold-pale);
  border: 2px solid var(--gold);
  border-radius: 12px;
  padding: 16px 22px;
  margin-bottom: 20px;
}

.buy-price-label {
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
}

.buy-price-value {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 46px;
  color: var(--green);
  line-height: 1;
  white-space: nowrap;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #d9e0ec;
  padding: 40px 0 56px;
  font-size: 16px;
}

.footer-inner {
  display: grid;
  gap: 12px;
  text-align: center;
}

.footer-disclaimer {
  max-width: 820px;
  margin: 0 auto;
  color: #b0bdd3;
  font-size: 15px;
  line-height: 1.5;
}

.footer-copy {
  color: #8fa0bd;
  font-size: 14px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 20, 38, 0.82);
}

.lightbox-content {
  position: relative;
  z-index: 2;
  max-width: min(920px, 100%);
  max-height: 92vh;
  background: var(--paper);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  overflow: auto;
  text-align: center;
}

.lightbox-close {
  position: sticky;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: #ffffff;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 18px;
  border: 0;
  border-radius: 8px;
  padding: 10px 20px;
  margin-bottom: 12px;
  cursor: pointer;
}

.lightbox-content img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border: 1px solid var(--border);
}

@media (max-width: 900px) {
  body {
    font-size: 19px;
  }
  .hero {
    padding: 24px 0 40px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero-book {
    position: static;
    padding: 18px;
  }
  .hero-book img {
    width: min(250px, 72%);
  }
  .fiches-grid,
  .parts-grid,
  .pages-preview-grid {
    grid-template-columns: 1fr;
  }
  .price-line,
  .buy-price-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .letter-box,
  .buy-card {
    padding: 24px 20px;
  }
  .btn-buy,
  .btn-buy-large {
    font-size: 20px;
    padding: 15px 18px;
  }
}

@media (max-width: 600px) {
  .container {
    width: calc(100% - 28px);
  }
  .brand {
    gap: 10px;
  }
  .brand-avatar {
    width: 42px;
    height: 42px;
  }
  .brand-name {
    font-size: 18px;
    white-space: nowrap;
  }
  .brand-tag {
    display: none;
  }
  .header-cta {
    font-size: 15px;
    padding: 9px 13px;
  }
  .eyebrow {
    font-size: 13px;
    padding: 4px 10px;
  }
}

.site-footer a { color: #e8d7a8; text-decoration: underline; }
