* { box-sizing: border-box; }

:root {
  --ink: #17324d;
  --muted: #66788a;
  --paper: #fffdf8;
  --soft: #f4f0e8;
  --accent: #ea7f5d;
  --accent-dark: #c95f40;
  --blue-soft: #e9f2f5;
  --line: #ded8ce;
  --max: 1120px;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", sans-serif;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

.site-header {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; font-weight: 750; line-height: 1.05; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent);
  color: white; font-size: 14px; letter-spacing: .08em;
}
.brand-text small { font-weight: 550; color: var(--muted); }

nav { display: flex; gap: 24px; font-size: 15px; }
nav a:hover { color: var(--accent-dark); }

.hero {
  max-width: var(--max);
  margin: 32px auto 0;
  padding: 70px 24px 82px;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 64px;
  align-items: center;
}

.eyebrow, .section-kicker, .tag {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

h1 {
  margin: 0;
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(50px, 7vw, 88px);
  line-height: .98;
  letter-spacing: -.035em;
  font-weight: 500;
}

.lede {
  max-width: 700px;
  margin: 26px 0 0;
  font-size: 20px;
  color: var(--muted);
}

.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 750;
  border: 1px solid var(--ink);
}
.button.primary { background: var(--ink); color: white; }
.button.primary:hover { opacity: .9; }
.button.secondary { background: transparent; }
.button.secondary:hover { background: var(--soft); }
.button.disabled { opacity: .5; pointer-events: none; }

.hero-card {
  background: var(--blue-soft);
  border-radius: 28px;
  padding: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  transform: rotate(1deg);
}
.hero-card span {
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(23,50,77,.10);
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 14px;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 82px 24px;
  border-top: 1px solid var(--line);
}

.intro { max-width: 920px; }
.section h2 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.025em;
}
.section > p, .intro p:not(.section-kicker), .about p:not(.section-kicker) {
  max-width: 820px;
  font-size: 18px;
  color: var(--muted);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 30px;
}
.muted { color: var(--muted); }

.book-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.book-card {
  min-height: 340px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
  display: flex;
  flex-direction: column;
}
.book-card.subtle { background: var(--soft); }
.book-number {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 44px;
  color: var(--accent);
  margin-bottom: auto;
}
.book-card h3 { margin: 6px 0 8px; font-size: 24px; }
.book-card p { color: var(--muted); }
.text-link { margin-top: auto; font-weight: 750; }

.resource-section {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 70px;
  align-items: start;
}
.resource-section > div > p:not(.section-kicker) { color: var(--muted); font-size: 18px; }
.resource-list { border-top: 1px solid var(--line); }
.resource-list > div {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
.resource-list span { color: var(--muted); text-align: right; }

.disclaimer {
  margin-top: 28px;
  padding: 18px 20px;
  background: var(--soft);
  border-radius: 14px;
  font-size: 14px !important;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 42px 24px 60px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  color: var(--muted);
  font-size: 14px;
}
footer strong { color: var(--ink); }
footer p { margin: 6px 0 0; }

@media (max-width: 820px) {
  .site-header { align-items: flex-start; }
  nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 48px; }
  .hero-card { transform: none; }
  .book-grid { grid-template-columns: 1fr; }
  .resource-section { grid-template-columns: 1fr; gap: 30px; }
  .section-heading, .contact, footer { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  h1 { font-size: 48px; }
  .hero, .section { padding-left: 18px; padding-right: 18px; }
  .resource-list > div { flex-direction: column; gap: 3px; }
  .resource-list span { text-align: left; }
}
