:root {
  color-scheme: light;
  --paper: #f4f0e9;
  --paper-2: #fbf8f2;
  --ink: #131827;
  --muted: #60615f;
  --line: rgba(19, 24, 39, .14);
  --green: #315744;
  --green-dark: #203e31;
  --copper: #b9653d;
  --gold: #c5a048;
  --shadow: 0 18px 45px rgba(33, 30, 24, .13);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(19, 24, 39, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 24, 39, .055) 1px, transparent 1px);
  background-size: 44px 44px;
  font-family: var(--sans);
  line-height: 1.65;
}

button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.shell { width: min(1216px, calc(100% - 64px)); margin-inline: auto; }
.section { padding-block: 108px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 240, 233, .94);
  backdrop-filter: blur(15px);
}
.nav { min-height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; width: max-content; font-weight: 850; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; color: white; background: var(--green); }
.nav-links { display: flex; gap: 34px; font-weight: 750; color: #4f504e; }
.nav > .button { justify-self: end; }

.button {
  min-height: 56px;
  padding: 0 27px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.button-dark { color: white; background: var(--ink); }
.button-copper { color: white; background: var(--copper); }
.button-outline { border-color: var(--line); background: rgba(255, 255, 255, .38); }
.button-wide { width: 100%; }

.hero { min-height: 650px; padding-block: 96px 70px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; }
.eyebrow, .kicker, .volume { margin: 0 0 20px; color: var(--green); font-size: .76rem; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 700; line-height: .98; }
h1 { max-width: 680px; margin-bottom: 28px; font-size: clamp(3.7rem, 6.3vw, 6.2rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2.7rem, 4.5vw, 4.8rem); letter-spacing: -.035em; }
.lede { max-width: 660px; margin-bottom: 34px; font-size: 1.12rem; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.stats { margin: 42px 0 0; display: flex; gap: 48px; }
.stats div { padding-left: 18px; border-left: 2px solid var(--gold); }
.stats dt { font-family: var(--serif); font-size: 2rem; font-weight: 700; line-height: 1; }
.stats dd { margin: 8px 0 0; color: var(--muted); }

.hero-art { position: relative; min-height: 440px; padding: 32px; display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; gap: 20px; background: rgba(255, 252, 243, .84); border: 1px solid var(--line); box-shadow: var(--shadow); }
.saving { position: absolute; top: -17px; right: -16px; z-index: 2; padding: 13px 18px; background: var(--gold); font-size: .78rem; font-weight: 900; text-transform: uppercase; }
.book { min-height: 340px; padding: 32px 26px; display: flex; flex-direction: column; color: white; background: linear-gradient(135deg, var(--green-dark) 15%, var(--green) 54%, var(--copper) 79%, var(--gold)); box-shadow: 8px 12px 24px rgba(0, 0, 0, .18); }
.book small, .cover small { letter-spacing: .2em; text-transform: uppercase; }
.book strong { margin-block: 38px 20px; font-family: var(--serif); font-size: 2.15rem; line-height: 1.12; }
.book p { margin-top: auto; font-size: .88rem; }
.chart-sheet { min-height: 340px; padding: 32px; display: flex; flex-direction: column; justify-content: center; background: white; border: 1px solid var(--line); }
.chart-sheet > span { margin-bottom: 4px; font-size: .72rem; font-weight: 800; }
.chart-sheet > p { color: var(--muted); font-size: .6rem; }
.candles { height: 130px; display: flex; align-items: flex-end; justify-content: space-around; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(0deg, transparent, transparent 25px, rgba(19, 24, 39, .06) 26px); }
.candles i { position: relative; width: 5px; height: 42px; margin-bottom: 18px; background: var(--ink); }
.candles i::before { content: ""; position: absolute; left: 2px; top: -16px; width: 1px; height: 74px; background: var(--ink); }
.candles i:nth-child(2) { height: 33px; margin-bottom: 34px; }.candles i:nth-child(3) { height: 24px; margin-bottom: 49px; }.candles i:nth-child(4) { height: 32px; margin-bottom: 63px; }.candles i:nth-child(5) { height: 20px; margin-bottom: 82px; }

.topic-strip { overflow: clip; padding: 16px 0; color: white; background: var(--green-dark); font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; white-space: nowrap; }
.topic-strip div { width: max-content; animation: ticker 28s linear infinite; }
@keyframes ticker { to { transform: translateX(-35%); } }

.section-heading { margin-bottom: 56px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: end; }
.section-heading p { color: var(--muted); }
.book-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.book-card { padding: 16px 16px 22px; background: rgba(251, 248, 242, .88); border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease; }
.book-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.cover { aspect-ratio: 3 / 4; padding: 24px 20px; display: flex; flex-direction: column; color: white; box-shadow: 7px 10px 20px rgba(0, 0, 0, .15); }
.cover strong { margin-block: auto; font-family: var(--serif); font-size: clamp(1.65rem, 2.2vw, 2.4rem); line-height: 1.02; }
.cover span { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; }
.cover-1 { background: linear-gradient(145deg, #1e4435, #b86139 72%, #c8a34b); }
.cover-2 { background: linear-gradient(145deg, #172031, #547171); }
.cover-3 { background: linear-gradient(145deg, #5b352b, #c07950); }
.cover-4 { background: linear-gradient(145deg, #4e4428, #c2a853); }
.cover-5 { background: linear-gradient(145deg, #243c31, #758e63); }
.cover-6 { background: linear-gradient(145deg, #252a44, #73789c); }
.cover-7 { background: linear-gradient(145deg, #34292a, #8d6f57); }
.book-card .volume { margin: 26px 0 10px; }
.book-card h3 { min-height: 2.4em; font-family: var(--serif); font-size: 1.55rem; }
.book-card > p:not(.volume) { min-height: 5.2em; color: var(--muted); font-size: .9rem; }
.card-footer { padding-top: 16px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); }
.card-footer strong { font-family: var(--serif); font-size: 1.5rem; }
.card-footer button { min-height: 44px; border: 0; background: transparent; font-weight: 800; cursor: pointer; }

.bundle { color: white; background: var(--green-dark); }
.bundle-inner { display: grid; grid-template-columns: 1fr .9fr; gap: 90px; align-items: center; }
.bundle .kicker { color: #d8bb70; }
.bundle-panel { padding: 22px; color: var(--ink); background: var(--paper-2); }
.bundle-option { width: 100%; min-height: 92px; padding: 20px; display: grid; grid-template-columns: 1fr auto; gap: 5px 20px; text-align: left; border: 1px solid var(--line); background: transparent; cursor: pointer; }
.bundle-option + .bundle-option { margin-top: 12px; }
.bundle-option.is-selected { border: 2px solid var(--copper); background: #fff7ef; }
.bundle-option span { font-weight: 900; }
.bundle-option strong { grid-row: 1 / 3; grid-column: 2; align-self: center; font-family: var(--serif); font-size: 2rem; }
.bundle-option small { color: var(--muted); }
.bundle-total { margin: 26px 0 12px; display: flex; justify-content: space-between; align-items: center; font-weight: 800; }
.bundle-total strong { font-family: var(--serif); font-size: 2rem; }
.fine-print { margin: 14px 0 0; color: var(--muted); text-align: center; font-size: .78rem; }

.editor { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; align-items: stretch; }
.editor-card { padding: 48px; color: white; background: linear-gradient(145deg, var(--green-dark), var(--green)); }
.editor-card .kicker { color: #d8bb70; }
.editor-card h2 { font-size: clamp(2.2rem, 3.5vw, 3.8rem); }
.editor > blockquote { margin: 0; padding: 65px; display: grid; align-items: center; font-family: var(--serif); font-size: clamp(2rem, 3.2vw, 3.8rem); line-height: 1.15; border-block: 1px solid var(--line); }

.rating { color: var(--gold) !important; letter-spacing: .08em; }
.rating span { color: var(--muted); letter-spacing: 0; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-grid figure { margin: 0; padding: 34px; background: rgba(251, 248, 242, .9); border: 1px solid var(--line); }
.review-grid blockquote { margin: 0 0 30px; font-family: var(--serif); font-size: 1.35rem; line-height: 1.35; }
.review-grid figcaption { font-weight: 900; }

.faq { max-width: 980px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item h3 { margin: 0; }
.faq-trigger { width: 100%; min-height: 76px; padding: 20px 0; display: flex; justify-content: space-between; gap: 20px; border: 0; background: transparent; text-align: left; font-weight: 850; cursor: pointer; }
.faq-trigger span { transition: transform .2s ease; }
.faq-item.is-open .faq-trigger span { transform: rotate(45deg); }
.faq-answer { display: block; }
.js .faq-answer { display: none; }
.js .faq-item.is-open .faq-answer { display: block; }
.faq-answer p { max-width: 760px; padding-bottom: 25px; color: var(--muted); }

.closing { padding-block: 110px; color: white; background: var(--ink); text-align: center; }
.closing h2 { max-width: 850px; margin-inline: auto; }
.closing p { max-width: 620px; margin: 0 auto 30px; color: #cbcdd3; }
.site-footer { padding-block: 26px; color: #6b6c69; background: var(--paper-2); font-size: .8rem; }
.site-footer .shell { display: flex; justify-content: space-between; gap: 24px; }
.site-footer p { margin: 0; }

@media (max-width: 980px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .hero, .bundle-inner, .editor { grid-template-columns: 1fr; }
  .hero { gap: 52px; }
  .book-grid { grid-template-columns: repeat(2, 1fr); }
  .section-heading { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 32px, 1216px); }
  .section { padding-block: 72px; }
  .site-header .button { min-height: 44px; padding-inline: 15px; }
  .brand span:last-child { display: none; }
  .hero { min-height: auto; padding-block: 62px; }
  h1 { font-size: clamp(3.2rem, 16vw, 4.7rem); }
  .actions { display: grid; }
  .stats { gap: 18px; }
  .stats dt { font-size: 1.45rem; }
  .stats dd { font-size: .78rem; }
  .hero-art { min-height: 350px; padding: 18px; gap: 10px; }
  .book, .chart-sheet { min-height: 290px; padding: 20px 15px; }
  .book strong { font-size: 1.55rem; }
  .book p { font-size: .7rem; }
  .chart-sheet { padding: 12px; }
  .book-grid, .review-grid { grid-template-columns: 1fr; }
  .book-card h3, .book-card > p:not(.volume) { min-height: 0; }
  .bundle-inner { gap: 42px; }
  .editor-card, .editor > blockquote { padding: 34px 25px; }
  .site-footer .shell { display: block; }
  .site-footer p + p { margin-top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
