:root {
  --bg: #f7f7f5;
  --surface: #ffffff;
  --text: #1d232b;
  --muted: #5f6772;
  --line: #dfe3e8;
  --accent: #143f63;
  --accent-dark: #0d2d49;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a { color: var(--accent); }
.wrap { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; }
.narrow { max-width: 760px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247,247,245,.96);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand { color: var(--text); text-decoration: none; font-weight: 750; letter-spacing: -.02em; }
nav { display: flex; gap: 1.1rem; flex-wrap: wrap; }
nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
nav a:hover, nav a:focus { color: var(--accent); }

.hero { padding: 7rem 0 6rem; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(250px, .7fr);
  gap: 4rem;
  align-items: center;
}
.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
}
h1, h2 { line-height: 1.12; letter-spacing: -.035em; }
h1 { font-size: clamp(2.7rem, 7vw, 5.7rem); margin: 0 0 1.5rem; max-width: 850px; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 0 0 1rem; }
.lead { font-size: clamp(1.12rem, 2vw, 1.35rem); color: var(--muted); max-width: 760px; }
.actions { margin-top: 2rem; display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.button {
  display: inline-block;
  padding: .85rem 1.1rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 700;
}
.button:hover, .button:focus { background: var(--accent-dark); }
.text-link { font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: .2em; }

.book-card {
  aspect-ratio: 5 / 8;
  background: var(--accent-dark);
  color: #fff;
  border-radius: 3px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 18px 50px rgba(0,0,0,.15);
}
.book-card strong { font-size: 2rem; line-height: 1.05; margin: .25rem 0 1.3rem; }
.book-label { font-size: 1rem; opacity: .85; }

.section { padding: 5rem 0; border-top: 1px solid var(--line); }
.section p { font-size: 1.08rem; color: var(--muted); }
.page { padding: 5rem 0 6rem; }
.page h1 { font-size: clamp(2.5rem, 6vw, 4.7rem); }
.meta { color: var(--muted); }
.status-box {
  margin: 2rem 0;
  padding: 1.25rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
}
.form-shell {
  margin-top: 2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.form-shell iframe { width: 100%; border: 0; }
.privacy-note { margin-top: 1rem; font-size: .95rem !important; }

.legal-copy h2 { margin-top: 2.6rem; font-size: clamp(1.45rem, 3vw, 2rem); }
.legal-copy p { color: var(--text); }

.site-footer { border-top: 1px solid var(--line); padding: 2rem 0 3rem; color: var(--muted); font-size: .95rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
.site-footer a:hover, .site-footer a:focus { color: var(--accent); }

@media (max-width: 760px) {
  .header-inner { align-items: flex-start; padding: .9rem 0; flex-direction: column; gap: .5rem; }
  .hero { padding: 4rem 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .book-card { max-width: 320px; }
  .form-shell { margin-left: -0.5rem; margin-right: -0.5rem; }
}
