:root {
  --bg: #f5efe2;
  --paper: #fffaf3;
  --ink: #0b1d37;
  --muted: #566175;
  --accent: #17385f;
  --gold: #c79242;
  --line: rgb(11 29 55 / 14%);
  --shadow: 0 18px 60px rgb(7 26 51 / 11%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(circle at 15% 8%, rgb(255 255 255 / 84%), transparent 34%), linear-gradient(180deg, #f7f2e8, #ece4d4);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
.wrap { width: min(1120px, calc(100% - 36px)); margin-inline: auto; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--ink); color: white; padding: .7rem 1rem; }
.skip-link:focus { top: 1rem; }
.site-header { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(16px); background: rgb(247 242 232 / 88%); border-bottom: 1px solid var(--line); }
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .12em; font-size: .94rem; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 50%; box-shadow: 0 3px 12px rgb(7 26 51 / 16%); }
.navlinks, .actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.navlinks a { text-decoration: none; }
.navlinks > a:not(.button) { color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 19px; border: 1px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.button.primary { border-color: var(--accent); background: var(--accent); color: white; }
.button:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgb(7 26 51 / 16%); }
.button:disabled { opacity: .65; cursor: wait; transform: none; box-shadow: none; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.hero { padding: 42px 0 84px; }
section { padding: 70px 0; scroll-margin-top: 72px; }
.hero-banner { width: 100%; height: auto; margin-bottom: 48px; border: 1px solid rgb(199 146 66 / 45%); border-radius: 30px; display: block; box-shadow: 0 28px 80px rgb(7 26 51 / 20%); }
.eyebrow { margin: 0 0 22px; color: #855719; font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, blockquote { font-family: Georgia, "Times New Roman", serif; }
h1 { max-width: 1050px; margin: 0; font-size: clamp(3.2rem, 7.2vw, 7rem); font-weight: 700; letter-spacing: -.045em; line-height: .94; }
h2 { margin: 0 0 18px; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.025em; line-height: 1.06; }
.tagline { margin: 28px 0 18px; font-size: clamp(1.05rem, 2.2vw, 1.45rem); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.intro { max-width: 700px; margin: 0 0 34px; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.28rem); }
.card { border: 1px solid var(--line); border-radius: 28px; background: rgb(255 250 243 / 84%); box-shadow: var(--shadow); }
.signup { display: grid; grid-template-columns: 1.1fr .9fr; overflow: hidden; }
.signup-copy, .signup-form { padding: clamp(28px, 5vw, 56px); }
.signup-form { border-left: 1px solid var(--line); background: rgb(23 56 95 / 5%); }
.toolkit-lead { display: grid; grid-template-columns: 128px 1fr; gap: 24px; align-items: start; }
.toolkit-lead img { width: 100%; height: auto; border: 1px solid rgb(199 146 66 / 35%); border-radius: 12px; box-shadow: 0 14px 30px rgb(7 26 51 / 20%); }
.toolkit-lead h2 { font-size: clamp(2rem, 3.3vw, 2.8rem); }
.small { color: var(--muted); font-size: .9rem; }
form { display: grid; gap: 14px; }
label { display: block; margin-bottom: 5px; font-size: .9rem; font-weight: 700; }
input { width: 100%; min-height: 50px; border: 1px solid var(--line); border-radius: 14px; background: #fffdf8; color: var(--ink); padding: 12px 16px; font: inherit; }
.form-note { min-height: 2.9em; margin: 4px 0 0; }
.download-link { margin-top: 4px; border-color: var(--accent); color: var(--accent); }
.download-link[hidden] { display: none; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.tile { min-height: 220px; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; }
.tile > span { font-size: 1.8rem; }
.tile h3 { margin: 0 0 8px; font-size: 1.2rem; }
.tile p { margin: 0; color: var(--muted); }
.tile-link { display: inline-flex; gap: 6px; align-items: center; margin-top: 18px; color: var(--accent); font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.tile-link:hover { color: #855719; }
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 42px; align-items: center; }
.portrait { width: 100%; height: auto; aspect-ratio: 1; border: 1px solid rgb(199 146 66 / 40%); border-radius: 28px; display: block; object-fit: cover; box-shadow: var(--shadow); }
blockquote { margin: 28px 0; font-size: clamp(1.6rem, 3vw, 2.35rem); line-height: 1.25; }
.question { padding: clamp(30px, 6vw, 64px); text-align: center; }
.question .intro { margin-inline: auto; }
footer { border-top: 1px solid var(--line); padding: 44px 0 60px; color: var(--muted); }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-row p { margin: 0; }
.footer-row a { color: var(--muted); text-decoration: none; }
.footer-links { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 860px) {
  .navlinks > a:not(.button) { display: none; }
  .signup, .about { grid-template-columns: 1fr; }
  .signup-form { border-left: 0; border-top: 1px solid var(--line); }
  .toolkit-lead { grid-template-columns: 112px 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-top: 30px; }
}
@media (max-width: 560px) {
  .wrap { width: min(100% - 24px, 1120px); }
  .nav { min-height: 64px; }
  .brand { font-size: .82rem; }
  .brand img { width: 30px; height: 30px; }
  .actions .button { width: 100%; }
  .navlinks .button { min-height: 44px; padding: 8px 14px; font-size: .9rem; }
  .grid { grid-template-columns: 1fr; }
  .toolkit-lead { grid-template-columns: 1fr; }
  .toolkit-lead img { width: min(210px, 70%); }
  .tile { min-height: 180px; }
  .footer-links { gap: 12px 16px; }
  section { padding: 52px 0; scroll-margin-top: 64px; }
  .hero { padding-bottom: 62px; }
  .hero-banner { margin-bottom: 34px; border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
