:root {
  --navy: #0B1F3A;
  --gold: #C9A227;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.82);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--navy);
  color: var(--white);
  font-family: Inter, "Segoe UI", sans-serif;
  line-height: 1.5;
  color-scheme: dark;
}

main {
  max-width: 40rem;
  margin: 0 auto;
  padding: 28px 20px 64px;
}

.brand { text-align: center; }

.brand-seal {
  display: block;
  width: clamp(200px, 60vw, 260px);
  height: auto;
  object-fit: contain;
  border-radius: 0;
  margin: 0.5rem auto 1rem;
}

main[data-step="welcome"] .brand-seal {
  width: clamp(220px, 70vw, 280px);
}

.brand-mark {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: clamp(2rem, 6vw, 2.75rem);
  line-height: 1.1;
  color: #c9a24a;
  letter-spacing: normal;
  text-align: center;
  margin: 0.5rem 0 1.25rem;
}

main[data-step="welcome"] .brand-mark {
  font-size: clamp(2.4rem, 8vw, 3.4rem);
  margin: 0.75rem 0 1.5rem;
}

h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  line-height: 1.2;
  margin: 0.4rem 0 1rem;
}

.lead, .ending, .plan, .fine, .trust, footer p {
  color: var(--muted);
  font-size: 1.05rem;
}

.profile {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  line-height: 1.35;
  color: var(--white);
  margin: 0 0 1rem;
}
.profile-title {
  margin: 0 0 0.65rem;
  font-size: inherit;
  font-weight: 700;
}
.profile-line {
  margin: 0 0 0.35rem;
  font-size: inherit;
}
.profile-note {
  margin: 0.75rem 0 0;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--muted);
}

.eyebrow {
  margin: 0;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

.progress {
  height: 4px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 99px;
  margin: 8px 0 6px;
}

.progress span {
  display: block;
  height: 100%;
  background: var(--gold);
  border-radius: 99px;
}

.stepcount {
  margin: 0 0 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.checks {
  list-style: none;
  padding: 0;
  margin: 1.1rem 0;
}

.checks li {
  margin: 0.35rem 0;
}

.checks li::before {
  content: "✓ ";
  color: var(--gold);
}

.trust, footer p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
}

.portrait {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid var(--gold);
  display: block;
  margin: 0.5rem auto 1rem;
}

blockquote {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  line-height: 1.4;
  margin: 0 0 1.4rem;
}

fieldset {
  border: 0;
  margin: 0 0 0.5rem;
  padding: 0;
}

legend {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  padding: 0;
  margin: 1.2rem 0 0.4rem;
}

.option {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid rgba(201, 162, 39, 0.45);
  border-radius: 12px;
  padding: 14px 14px;
  margin: 10px 0;
  cursor: pointer;
}

.option:has(input:checked) {
  border-color: var(--gold);
  background: rgba(201, 162, 39, 0.16);
}

.option input { margin-top: 4px; accent-color: var(--gold); }

.field, .checkline {
  display: block;
  margin: 14px 0;
}

.field input {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(201, 162, 39, 0.55);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font: inherit;
}

.checkline {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.checkline input { margin-top: 4px; accent-color: var(--gold); }

.btn {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  border: 0;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 12px;
}

.btn.secondary {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.back { margin-top: 14px; }
.back a, .fine a, .consent a { color: var(--gold); }

.error {
  border: 1px solid var(--gold);
  background: rgba(201, 162, 39, 0.15);
  border-radius: 10px;
  padding: 12px 14px;
}

.calendly-inline-widget {
  min-width: 280px;
  height: 740px;
  margin-top: 12px;
}

.hp {
  position: absolute;
  left: -10000px;
  height: 0;
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

@media (min-width: 800px) {
  main { padding-top: 48px; }
}
