:root {
  --navy: #13294B;
  --navy-deep: #0A1A33;
  --gold: #C9A24A;
  --gold-soft: #D9C38A;
  --gold-text: #8A6D1E;
  --paper: #F7F5EF;
  --sand: #EFEBE0;
  --line: #E4E0D5;
  --ink: #1C2433;
  --ink-2: #2D3748;
  --muted: #4A5568;
  --field: #B8C0CC;
  --error: #B42318;
  --serif: 'Source Serif 4', Georgia, serif;
  --sans: 'Public Sans', 'Helvetica Neue', sans-serif;
}

* { box-sizing: border-box; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: var(--navy); }
a:hover { color: var(--navy-deep); }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: #fff; padding: 10px 16px; border-radius: 8px; }

/* Header */
.site-header { background: var(--navy); color: #fff; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.brand-name { display: block; font-family: var(--serif); font-weight: 700; font-size: 28px; line-height: 1.1; letter-spacing: 0.5px; }
.brand-sub { display: block; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-soft); line-height: 1.2; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.nav a.link { color: #fff; text-decoration: none; font-weight: 500; font-size: 17px; }
.nav a.link:hover { text-decoration: underline; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border: 0; border-radius: 8px;
  font-family: var(--sans); font-weight: 700; font-size: 17px;
  text-decoration: none; cursor: pointer;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #D4B05A; color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); color: #fff; }
.btn-lg { min-height: 58px; font-size: 20px; border-radius: 10px; width: 100%; }
.btn:focus-visible, input:focus-visible, select:focus-visible, .choice input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.btn[disabled] { opacity: 0.6; cursor: wait; }

/* Hero */
.hero { background: var(--navy); color: #fff; border-top: 1px solid rgba(255,255,255,0.12); }
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  grid-template-areas: "copy card" "extra card";
  column-gap: 48px; row-gap: 22px; align-items: start; padding-top: 56px; padding-bottom: 72px;
}
.hero-copy { grid-area: copy; min-width: 0; display: flex; flex-direction: column; gap: 22px; align-self: end; }
.hero-extra { grid-area: extra; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.badge-2026 { align-self: flex-start; display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 999px; background: var(--gold); color: var(--navy); font-weight: 700; font-size: 16px; letter-spacing: 0.5px; }
.hero h1 { margin: 0; font-family: var(--serif); font-weight: 700; font-size: clamp(38px, 6vw, 54px); line-height: 1.1; }
.hero p { margin: 0; font-size: 21px; color: #DCE3EE; max-width: 30em; }
.hero p strong { color: #fff; }
.hero p strong.gold { color: var(--gold); }
.checks { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 19px; }
.checks li { display: flex; gap: 12px; align-items: center; }

.gift { margin-top: 10px; display: flex; gap: 22px; align-items: center; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.18); border-radius: 14px; padding: 20px; }
.gift-book {
  flex: 0 0 104px; height: 136px; border-radius: 4px 8px 8px 4px; background: var(--paper);
  box-shadow: -6px 0 0 var(--gold-soft) inset, 0 10px 24px rgba(0,0,0,0.35);
  padding: 14px 12px 12px 10px; display: flex; flex-direction: column; justify-content: space-between; transform: rotate(-4deg);
}
.gift-book .tag { font-size: 8px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-text); font-weight: 700; }
.gift-book .t { font-family: var(--serif); font-weight: 700; font-size: 15px; line-height: 1.1; color: var(--navy); }
.gift-text { display: flex; flex-direction: column; gap: 6px; }
.gift-text .eyebrow { font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.gift-text .name { font-family: var(--serif); font-size: 24px; font-weight: 700; line-height: 1.2; }
.gift-text .desc { font-size: 17px; color: #DCE3EE; }

/* Form card */
.card {
  background: #fff; color: var(--ink); border-radius: 14px; padding: 32px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25); border-top: 6px solid var(--gold);
}
.hero .card { grid-area: card; align-self: center; min-width: 0; scroll-margin-top: 24px; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "card" "extra"; row-gap: 28px; }
}
.step-label { font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-text); font-weight: 700; }
.card h2 { margin: 0; font-family: var(--serif); font-size: 30px; color: var(--navy); line-height: 1.2; }
.card .lede { margin: 0; font-size: 16px; color: var(--muted); }
.form { display: flex; flex-direction: column; gap: 16px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.grid3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 600; min-width: 0; }
.field input, .field select {
  height: 52px; padding: 0 14px; border: 1.5px solid var(--field); border-radius: 8px;
  font: inherit; font-size: 18px; font-weight: 400; color: var(--ink); background: #fff; width: 100%;
}
.field select { padding: 0 10px; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--error); }
.err { color: var(--error); font-size: 14px; font-weight: 600; min-height: 0; }
.err:empty { display: none; }
.form-error { color: var(--error); font-size: 15px; font-weight: 600; }
.form-error:empty { display: none; }
.card .fine, .fine { margin: 0; font-size: 13px; line-height: 1.45; color: var(--muted); font-weight: 400; max-width: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Choice buttons (radio) */
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.choices-label { font-size: 15px; font-weight: 600; margin-bottom: 8px; display: block; padding: 0; }
.choices { display: grid; gap: 10px; }
.choices.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.choices.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 320px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: flex; align-items: center; justify-content: center; height: 52px; padding: 0 6px;
  border: 1.5px solid var(--field); border-radius: 8px; background: #fff; color: var(--navy);
  font-size: 17px; font-weight: 600; cursor: pointer; text-align: center;
}
.choice input:checked + span { background: var(--navy); color: #fff; border: 2px solid var(--navy); box-shadow: inset 0 -4px 0 var(--gold); }
.choices.invalid .choice span { border-color: var(--error); }

/* Sections */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust .wrap { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 16px 24px; padding-top: 26px; padding-bottom: 26px; font-weight: 600; color: var(--navy); font-size: 17px; }
.trust span { display: flex; align-items: center; gap: 10px; }

.section { padding: 80px 0; }
.eyebrow-c { font-size: 15px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-text); font-weight: 700; text-align: center; }
.section h2 { margin: 10px 0 44px; font-family: var(--serif); font-size: clamp(30px, 4.5vw, 40px); color: var(--navy); text-align: center; line-height: 1.2; }
.basics { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.basic { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.basic h3 { margin: 0 0 10px; font-size: 21px; color: var(--navy); }
.basic p { margin: 0; font-size: 17px; color: var(--muted); }

.steps { display: flex; flex-wrap: wrap; gap: 28px; }
.step { flex: 1 1 260px; display: flex; gap: 16px; align-items: flex-start; }
.num { flex: 0 0 52px; height: 52px; border-radius: 50%; background: var(--navy); color: var(--gold); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 24px; font-weight: 700; }
.step h3 { margin: 0 0 4px; font-size: 21px; color: var(--navy); }
.step p { margin: 0; font-size: 17px; color: var(--muted); }
.center { display: flex; justify-content: center; margin-top: 44px; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #B7C2D3; font-size: 14px; line-height: 1.6; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; padding-top: 40px; padding-bottom: 40px; }
.site-footer .fname { font-family: var(--serif); font-weight: 700; font-size: 22px; color: #fff; }
.site-footer .fcol { display: flex; flex-direction: column; gap: 6px; max-width: 680px; }
.site-footer .copy { color: #8090A8; }
.site-footer nav { display: flex; gap: 24px; }
.site-footer a { color: #DCE3EE; }

/* Details page */
.narrow { max-width: 760px; margin: 0 auto; padding: 48px 24px 80px; }
.progress { display: flex; gap: 14px; margin-bottom: 10px; }
.progress span { flex: 1; height: 8px; border-radius: 4px; background: var(--gold); }
.intro h1 { margin: 6px 0 6px; font-family: var(--serif); font-size: 40px; line-height: 1.15; color: var(--navy); }
.intro p { margin: 0 0 28px; font-size: 19px; color: var(--muted); }
.details-card { box-shadow: 0 10px 30px rgba(19,41,75,0.08); display: flex; flex-direction: column; gap: 30px; }
.legend { padding: 0; margin-bottom: 14px; font-family: var(--serif); font-size: 24px; font-weight: 700; color: var(--navy); }
.group { display: flex; flex-direction: column; gap: 14px; }
.thanks { text-align: center; padding: 56px 32px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.thanks .badge { width: 84px; height: 84px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; }
.thanks h1 { margin: 0; font-family: var(--serif); font-size: 40px; color: var(--navy); }
.thanks p { margin: 0; font-size: 21px; color: var(--ink-2); max-width: 28em; }
.thanks .small { font-size: 17px; color: var(--muted); }
[hidden] { display: none !important; }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 48px 24px 80px; }
.legal h1 { font-family: var(--serif); color: var(--navy); font-size: 40px; margin: 0 0 6px; }
.legal h2 { font-family: var(--serif); color: var(--navy); font-size: 24px; margin: 32px 0 8px; }
.legal p, .legal li { font-size: 17px; color: var(--ink-2); }
.legal .updated { color: var(--muted); font-size: 15px; margin-top: 0; }

@media (max-width: 640px) {
  body { font-size: 17px; }
  .hero .wrap { padding-top: 36px; padding-bottom: 48px; gap: 32px; }
  .card { padding: 24px 20px; }
  .grid2, .grid3 { grid-template-columns: minmax(0, 1fr); }
  .choices.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gift { flex-direction: column; text-align: center; }
  .gift-book { flex: none; width: 104px; height: 136px; }
  .nav a.link { display: none; }
  .intro h1 { font-size: 32px; }
}
