@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;0,6..72,600;0,6..72,700;1,6..72,400&display=swap");

:root {
  --navy: #0c2340;
  --navy-deep: #08172c;
  --navy-mid: #16345c;
  --gold: #b8944a;
  --gold-soft: #d4bc7c;
  --ink: #1c1f26;
  --muted: #4a5160;
  --faint: #6b7382;
  --line: #e2ddd4;
  --paper: #f4f0e8;
  --paper-deep: #ece6da;
  --card: #fffcf7;
  --chip: #eee8dc;
  --err: #8f1d1d;
  --ok: #1e5a3a;
  --shadow: 0 12px 36px rgba(12, 35, 64, 0.08);
  --radius: 16px;
  --serif: "Newsreader", "Georgia", "Times New Roman", serif;
  --sans: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --header-h: 4.25rem;
  --sticky-h: 3.6rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--sans);
  font-optical-sizing: auto;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  font-size: 1.0625rem;
  -webkit-text-size-adjust: 100%;
  padding-bottom: calc(var(--sticky-h) + 0.75rem);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-mid); }
[hidden] { display: none !important; }

.skip-link {
  position: absolute; left: 0.75rem; top: -3rem;
  background: var(--navy); color: #fff; padding: 0.5rem 0.75rem;
  z-index: 100; border-radius: 0 0 8px 8px; text-decoration: none;
}
.skip-link:focus { top: 0; }

.wrap { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.wrap-narrow { width: min(760px, calc(100% - 2rem)); margin-inline: auto; }

.topbar {
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-soft) 50%, var(--gold) 100%);
}

.site-header {
  background: #fffcf7;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 40;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.75rem; min-height: var(--header-h);
}
.logo {
  display: flex; align-items: center; gap: 0.65rem;
  text-decoration: none; color: inherit; min-width: 0;
}
.logo img, .logo svg { height: 2.6rem; width: auto; flex-shrink: 0; }
.logo-text {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1.15;
}
.logo-text span {
  display: block;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  margin-top: 0.15rem;
}
.header-nav {
  display: flex; align-items: center; gap: 0.85rem;
  flex-wrap: wrap; justify-content: flex-end;
}
.header-nav a {
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.92rem;
}
.header-nav a[aria-current="page"] { color: var(--navy); }
.header-call {
  display: none;
  background: var(--navy); color: #fff !important;
  padding: 0.45rem 0.85rem; border-radius: 999px; font-weight: 700;
}
.header-call:hover { background: var(--navy-mid); }
@media (min-width: 720px) {
  .header-call { display: inline-flex; }
  .logo img, .logo svg { height: 2.85rem; }
}

/* Hero + form */
.hero { padding: 1.5rem 0 2.5rem; }
.hero .wrap { display: flex; flex-direction: column; gap: 1.25rem; }
.hero-copy { display: contents; }
.eyebrow { order: 0; }
.hero-copy h1 { order: 1; }
.form-card { order: 2; margin-bottom: 0.25rem; }
.lede { order: 3; }
.hero-points { order: 4; }
.hero-note { order: 5; }

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold);
}
.hero h1, .page-hero h1 {
  margin: 0 0 0.75rem;
  font-family: var(--serif);
  font-size: clamp(1.85rem, 6vw, 2.75rem);
  font-weight: 550;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.lede {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.06rem;
  max-width: 40rem;
}
.hero-points {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 0.45rem;
}
.hero-points li {
  padding-left: 1.55rem; position: relative;
  color: var(--muted); font-weight: 500;
}
.hero-points li::before {
  content: "";
  position: absolute; left: 0; top: 0.45rem;
  width: 0.75rem; height: 0.75rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M10.6 2.2 4.3 8.9 1.4 6' stroke='%23b8944a' stroke-width='1.7' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.hero-note, .legal-note {
  margin: 0.85rem 0 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--faint);
  max-width: 42rem;
}

@media (min-width: 900px) {
  .hero { padding: 2.35rem 0 3.25rem; }
  .hero .wrap {
    display: grid;
    grid-template-columns: 1fr minmax(22rem, 27rem);
    align-items: start;
    gap: 2.75rem;
  }
  .hero-copy { display: block; }
  .eyebrow, .hero-copy h1, .form-card, .lede, .hero-points, .hero-note { order: unset; }
  .form-card {
    position: sticky;
    top: calc(var(--header-h) + 1rem);
    padding: 1.4rem 1.3rem 1.45rem;
  }
}

.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.15rem 1.1rem 1.25rem;
}
.progress { margin-bottom: 1rem; }
.progress-meta {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 0.5rem; margin-bottom: 0.4rem;
  font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--faint);
}
.progress-bar {
  height: 6px; background: var(--chip); border-radius: 99px; overflow: hidden;
}
.progress-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy-mid) 70%, var(--gold) 100%);
  border-radius: inherit;
  transition: width 0.25s ease;
}
@media (prefers-reduced-motion: reduce) {
  .progress-fill { transition: none; }
}

.step { display: none; }
.step.is-active { display: block; }
.step-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.78rem; font-weight: 600; color: var(--faint);
}
.step h2 {
  margin: 0 0 0.35rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 550;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.step h2:focus { outline: none; }
.step-help { margin: 0 0 1rem; color: var(--muted); font-size: 0.95rem; }

.field { margin-bottom: 0.85rem; }
.field label, .field-label {
  display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.35rem;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="date"],
.field select,
.field textarea {
  width: 100%; min-height: 3.15rem; padding: 0.7rem 0.85rem;
  border: 1.5px solid #c9c3b7; border-radius: 10px;
  font: inherit; background: #fff; color: var(--ink);
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%230c2340' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M4 6.2 8 10l4-3.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  padding-right: 2.4rem;
}
.field textarea { min-height: 5.5rem; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid rgba(12, 35, 64, 0.2);
  border-color: var(--navy);
}
.field input.is-invalid,
.field select.is-invalid,
.field textarea.is-invalid { border-color: var(--err); }
.error {
  display: none; color: var(--err); font-size: 0.85rem; font-weight: 600; margin: 0.35rem 0 0;
}
.error.is-visible { display: block; }
.name-row { display: grid; gap: 0.75rem; }
@media (min-width: 480px) {
  .name-row { grid-template-columns: 1fr 1fr; }
}

.choices { display: grid; gap: 0.55rem; margin-bottom: 0.5rem; }
.choices.cols-2 { grid-template-columns: 1fr 1fr; }
.choice { position: relative; display: block; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 3.25rem; padding: 0.7rem 0.65rem;
  border: 1.5px solid #c9c3b7; border-radius: 12px; background: #fff;
  font-weight: 650; font-size: 0.96rem; cursor: pointer;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.choice input:focus-visible + span {
  outline: 3px solid rgba(12, 35, 64, 0.22); outline-offset: 2px;
}
.choice input:checked + span {
  border-color: var(--navy);
  background: #eef3f8;
  box-shadow: inset 0 0 0 1px var(--navy);
  color: var(--navy);
}

.consent {
  display: grid; grid-template-columns: auto 1fr; gap: 0.65rem;
  align-items: start; margin: 0.5rem 0 0.85rem;
  font-size: 0.8rem; line-height: 1.45; color: var(--muted);
}
.consent input[type="checkbox"] {
  width: 1.2rem; height: 1.2rem; margin-top: 0.15rem; accent-color: var(--navy);
}

.form-actions { display: flex; gap: 0.6rem; margin-top: 1rem; }
.btn {
  appearance: none; border: 0; cursor: pointer; font: inherit; font-weight: 700;
  border-radius: 10px; min-height: 3.1rem; padding: 0.7rem 1.1rem;
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
}
.btn-primary { background: var(--navy); color: #fff; flex: 1; }
.btn-primary:hover { background: var(--navy-mid); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-back { background: var(--chip); color: var(--ink); min-width: 5.5rem; }
.btn-back:hover { background: #e0d8c8; }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: #a6823d; }

.secure-note {
  margin: 0.7rem 0 0; text-align: center; font-size: 0.8rem; color: var(--faint);
}
.thanks { display: none; text-align: left; }
.thanks.is-visible { display: block; }
.thanks h2 {
  margin: 0 0 0.5rem;
  font-family: var(--serif);
  font-size: 1.55rem;
  color: var(--navy);
}
.thanks p { color: var(--muted); }

/* Sections */
.section { padding: 2.25rem 0; }
.section h2 {
  margin: 0 0 0.75rem;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 550;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.section .intro { color: var(--muted); max-width: 42rem; }

.trust { background: #fffcf7; border-block: 1px solid var(--line); }
.trust-grid { display: grid; gap: 1rem; }
@media (min-width: 720px) { .trust-grid { grid-template-columns: 1fr 1fr 1fr; } }
.trust-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.15rem 1.1rem 1.2rem;
}
.trust-card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 550;
  color: var(--navy);
}
.trust-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.trust-num {
  display: block;
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 650;
  color: var(--navy);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: right;
  font-weight: 500;
  color: var(--gold);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0.6rem 0 0.2rem; color: var(--muted); }

/* Hub */
.page-hero { padding: 2rem 0 1.25rem; }
.page-hero .lede { font-size: 1.12rem; }
.product-grid {
  display: grid; gap: 1.1rem;
  padding: 0 0 2.75rem;
}
@media (min-width: 800px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
.product-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.35rem 1.2rem 1.3rem;
  display: flex; flex-direction: column;
  text-decoration: none;
  color: inherit;
  min-height: 100%;
}
.product-card:hover { border-color: var(--navy); }
.product-card .tag {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 0.5rem;
}
.product-card h2 {
  margin: 0 0 0.5rem;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 550;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.product-card p { margin: 0 0 1.1rem; color: var(--muted); flex: 1; }
.product-card .card-cta {
  font-weight: 700; color: var(--navy);
}
.product-card .card-cta::after { content: " →"; }

/* Legal pages */
.legal-body { padding: 1.75rem 0 3rem; }
.legal-body h1 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--navy);
  margin: 0 0 0.4rem;
}
.legal-meta { color: var(--faint); font-size: 0.9rem; margin: 0 0 1.5rem; }
.legal-body h2 {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--navy);
  margin: 1.6rem 0 0.5rem;
}
.legal-body p, .legal-body li { color: var(--muted); }
.legal-callout {
  background: var(--paper-deep);
  border-left: 3px solid var(--gold);
  padding: 0.85rem 1rem;
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  color: var(--ink);
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: #d7dbe3;
  padding: 2.25rem 0 5.5rem;
}
.site-footer a { color: #f0e6cc; }
.site-footer h2 {
  margin: 0 0 0.55rem;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 550;
  color: #fff;
}
.footer-grid {
  display: grid; gap: 1.4rem;
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .site-footer { padding-bottom: 2.5rem; }
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 0.35rem; }
.site-footer p { margin: 0 0 0.6rem; }
.copyright {
  margin: 1.75rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.8rem;
  color: #9aa3b2;
}
.footer-disclaimer {
  font-size: 0.78rem;
  line-height: 1.5;
  color: #9aa3b2;
  max-width: 52rem;
}

.sticky-call {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; align-items: center; justify-content: center;
  min-height: var(--sticky-h);
  background: var(--navy); color: #fff;
  font-weight: 700; text-decoration: none;
  box-shadow: 0 -8px 24px rgba(8, 23, 44, 0.2);
}
@media (min-width: 720px) {
  .sticky-call { display: none; }
}

.placeholder {
  display: inline;
  background: #fff3c4;
  color: var(--navy);
  padding: 0 0.15em;
  border-radius: 3px;
  font-weight: 650;
}
