:root {
  --navy: #0f2742;
  --navy-2: #173a5e;
  --red: #c8283f;
  --red-dark: #9b1c31;
  --ink: #1b2430;
  --muted: #5a6573;
  --line: #dde3ea;
  --bg: #ffffff;
  --bg-alt: #f4f7fa;
  --radius: 12px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "DM Serif Display", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--red-dark); }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 32px; } }
.narrow { max-width: 760px; }
.center { text-align: center; }

/* DM Serif Display ships in one weight (400) — keep it at 400 to avoid faux bold */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; color: var(--navy); margin: 0 0 .6em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); color: #fff; letter-spacing: -.005em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font: 600 1rem var(--font);
  text-decoration: none;
  padding: .8em 1.4em;
  border-radius: 999px;
  border: 2px solid var(--red);
  cursor: pointer;
  transition: background .15s, border-color .15s, transform .1s;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #f6a5b1; outline-offset: 2px; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-small { padding: .45em 1em; font-size: .9rem; }
.btn-full { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: baseline; gap: .3em; text-decoration: none; color: var(--navy); font-family: var(--serif); font-size: 1.35rem; white-space: nowrap; }
.brand-sub { color: var(--muted); }
nav { display: flex; align-items: center; gap: 20px; }
nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
nav a:not(.btn):hover { color: var(--red); }
@media (max-width: 640px) {
  nav a:not(.btn) { display: none; }
  .brand-sub { display: none; }
}

/* Hero */
.hero {
  background: radial-gradient(1200px 500px at 85% 20%, #1f4b78 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, #0a1c30 100%);
  color: #d7e2ee;
  padding: 72px 0 80px;
  overflow: hidden;
}
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 600; color: #f08a99; margin-bottom: .8em; }
.lede { font-size: 1.2rem; color: #c5d3e2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 820px) {
  .hero { padding: 48px 0 56px; }
}

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
@media (max-width: 640px) { .section { padding: 56px 0; } }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin-top: 32px; }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.card p { color: var(--muted); font-size: .97rem; margin: 0; }
.card-icon { width: 44px; height: 44px; border-radius: 10px; background: #fde8eb; display: grid; place-items: center; margin-bottom: 16px; }
.card-icon svg { width: 24px; height: 24px; fill: var(--red); }

/* Signup */
.section-signup { background: linear-gradient(180deg, var(--bg-alt), #fff); border-top: 1px solid var(--line); }
.signup-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
@media (max-width: 820px) { .signup-inner { grid-template-columns: 1fr; gap: 24px; } }
.fine { font-size: .88rem; color: var(--muted); }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 10px 30px rgba(15,39,66,.06); }
@media (max-width: 480px) { .form { padding: 20px; } }
.field { margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
label, legend { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--navy); }
.req { color: var(--red); }
input[type="text"], input[type="email"], select {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: .7em .8em;
  border: 1px solid #c4cdd8;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}
input[aria-invalid="true"] { border-color: var(--red); background: #fff7f8; }
.checks { display: grid; gap: 8px; }
.checks label { display: flex; align-items: center; gap: 10px; font-weight: 400; color: var(--ink); margin: 0; cursor: pointer; }
.checks input { width: 18px; height: 18px; accent-color: var(--red); }
.error { color: var(--red-dark); font-size: .85rem; margin: 6px 0 0; min-height: 0; }
.error:empty { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 14px 0 0; font-weight: 500; }
.form-status.ok { color: #1d7a46; }
.form-status.err { color: var(--red-dark); }
#turnstile { min-height: 65px; }

.thanks { text-align: center; padding: 24px 8px; }
.thanks h3 { font-size: 1.5rem; }

/* Footer */
.site-footer { background: var(--navy); color: #9fb3c8; padding: 28px 0; font-size: .9rem; }
.site-footer a { color: #fff; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-inner p { margin: 0; }
