:root {
  --navy: #071f3d;
  --blue: #102b4e;
  --gold: #c9972a;
  --soft-gold: #f2e2b8;
  --off-white: #faf8f3;
  --white: #ffffff;
  --text: #1f2933;
  --muted: #526174;
  --border: #e5ded2;
  --shadow: 0 14px 32px rgba(7, 31, 61, 0.07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section, article[id], div[id], .section, .service-card, .legal-section {
  scroll-margin-top: 120px;
}
body {
  margin: 0;
  font-family: Poppins, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--off-white);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 13px clamp(18px, 5vw, 64px);
  background: rgba(250, 248, 243, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.brand img { width: 142px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 18px; color: var(--navy); font-family: Montserrat, sans-serif; font-weight: 700; font-size: 0.9rem; }
.main-nav a:not(.button):not(.btn):hover { color: var(--gold); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--border); background: var(--white); border-radius: 8px; }
.menu-toggle span { display: block; height: 2px; width: 20px; margin: 5px auto; background: var(--navy); }

main { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.hero {
  min-height: 500px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  padding: clamp(46px, 7vw, 82px) 0 26px;
}
.hero h1 {
  margin: 10px 0 18px;
  max-width: 780px;
  color: var(--navy);
  font-family: "League Spartan", Montserrat, sans-serif;
  font-size: clamp(2.55rem, 5vw, 4.45rem);
  line-height: 0.98;
  letter-spacing: 0;
}
.eyebrow, .badge {
  margin: 0 0 10px;
  color: var(--gold);
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}
.lead { font-size: clamp(1rem, 1.7vw, 1.18rem); color: var(--muted); max-width: 760px; }
.micro { max-width: 900px; margin: -16px 0 50px; color: var(--muted); font-weight: 700; }
.hero-panel, .card, .service-card, .highlight-card, .footer-card, blockquote {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.hero-panel { padding: clamp(22px, 3vw, 34px); }

.button-row { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; margin-top: 26px; }
.button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1.5px solid var(--gold);
  border-radius: 10px;
  background: var(--gold);
  color: var(--navy);
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.button-row .button,
.button-row .btn {
  flex: 0 0 248px;
  width: 248px;
}
.button-secondary,
.btn-secondary { background: transparent; color: var(--navy); }
.btn-primary { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.button-warm,
.btn-warm,
.btn-soft { background: #fff8e8; color: var(--navy); border-color: var(--gold); }
.button-small { min-height: 48px; padding: 0 22px; width: auto; flex-basis: auto; }
.button:hover,
.btn:hover { transform: translateY(-1px); background: #d4a43a; border-color: #d4a43a; }
.button-secondary:hover,
.button-warm:hover,
.btn-secondary:hover,
.btn-warm:hover,
.btn-soft:hover { background: var(--soft-gold); border-color: var(--gold); color: var(--navy); }
.text-link { display: inline-flex; align-items: center; color: var(--navy); font-family: Montserrat, sans-serif; font-weight: 800; border-bottom: 2px solid var(--gold); }

.section { padding: clamp(36px, 6vw, 70px) 0; }
.section-head { max-width: 790px; margin-bottom: 24px; }
h2 { margin: 0 0 10px; color: var(--navy); font-family: "League Spartan", Montserrat, sans-serif; font-size: clamp(1.8rem, 2.8vw, 2.55rem); line-height: 1.03; letter-spacing: 0; }
h3 { margin: 0 0 10px; color: var(--blue); font-family: "League Spartan", Montserrat, sans-serif; font-size: 1.24rem; line-height: 1.15; }
h4 { margin: 0 0 6px; color: var(--navy); }
.section p { color: var(--muted); }
.grid { display: grid; gap: 18px; }
.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.service-snapshot { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.service-snapshot .card { padding: 18px; }
.service-snapshot h3 { font-size: 1.08rem; }
.compact { box-shadow: none; gap: 14px; }
.card { min-height: 100%; padding: 22px; display: flex; flex-direction: column; align-items: flex-start; }
.card p { margin: 0 0 18px; }
.card .button,
.card .btn {
  margin-top: auto;
  width: 100%;
}
.teaser-card, .cta-card {
  display: inline-flex;
  align-items: center;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.teaser-card .button,
.teaser-card .btn,
.cta-card .button,
.cta-card .btn {
  min-width: 248px;
}
.check-list { list-style: none; padding: 0; margin: 12px 0; }
.check-list li { position: relative; padding-left: 24px; margin: 9px 0; color: var(--text); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.center { display: flex; justify-content: center; margin-top: 24px; }
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.process article, .step-list article {
  padding: 20px;
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
}
.process span, .step-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-weight: 900;
}
.process h3, .step-list h2, .step-list p { color: var(--white); }
.process-light article {
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.process-light h3 { color: var(--navy); }
.pill-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-grid span {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-weight: 750;
}
blockquote { margin: 0; padding: 28px; color: var(--navy); font-family: "League Spartan", Montserrat, sans-serif; font-size: 1.45rem; font-weight: 800; line-height: 1.25; border-left: 6px solid var(--gold); }
.left { justify-content: flex-start; }

.services-list { display: grid; gap: 24px; padding: 20px 0 60px; scroll-margin-top: 120px; }
.service-card { scroll-margin-top: 120px; padding: clamp(22px, 4vw, 36px); }
.service-card h2 { font-size: clamp(1.75rem, 3vw, 2.45rem); }
.service-card > .button,
.service-card > .btn {
  width: 248px;
}
.service-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.32fr);
  gap: 24px;
  align-items: start;
}
.price-card {
  margin: 20px 0;
  padding: 16px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.price-card span { display: block; color: var(--navy); font-family: "League Spartan", sans-serif; font-size: 1.55rem; font-weight: 800; }
.price-card p { margin-bottom: 0; }
.highlight-card { padding: 24px; }
.process-strip {
  margin: 0 0 20px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  color: var(--navy);
  font-weight: 850;
  overflow-x: auto;
}
.process-strip span { color: var(--gold); margin: 0 6px; }
.warm-note {
  max-width: 980px;
  margin: 20px 0 0;
  padding: 18px 20px;
  background: #fffaf0;
  border: 1px solid var(--soft-gold);
  border-radius: 10px;
  color: var(--navy);
  font-weight: 600;
}
.timeline { display: grid; gap: 18px; }
.timeline article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.timeline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-family: Montserrat, sans-serif;
  font-weight: 900;
}
.timeline h2 { font-size: clamp(1.35rem, 2.1vw, 1.8rem); }

.social-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
}
.social-card {
  position: relative;
  min-height: 118px;
  padding: 18px 14px 16px;
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #fffaf0 100%);
  border: 1px solid var(--border);
  border-top: 3px solid rgba(201, 151, 42, 0.65);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(7, 31, 61, 0.06);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: rgba(201, 151, 42, 0.13);
  color: var(--navy);
  border: 1px solid rgba(201, 151, 42, 0.3);
}
.social-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.social-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.05rem;
}
.social-card:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 151, 42, 0.72);
  box-shadow: 0 18px 34px rgba(7, 31, 61, 0.1);
}

.intake-grid .card { gap: 4px; }
.intake-grid .check-list { margin-bottom: 0; }

.legal-layout {
  max-width: 980px;
  margin: 0 auto;
  padding: 16px 0 76px;
}
.last-updated {
  display: inline-flex;
  margin: 0 0 22px;
  padding: 9px 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-family: Montserrat, sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
}
.legal-list { display: grid; gap: 16px; }
.legal-section {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.legal-section > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-family: Montserrat, sans-serif;
  font-weight: 900;
}
.legal-section h2 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
.legal-section p { margin: 0; color: var(--text); }

.faq-list h2 { margin-top: 34px; }
details {
  margin: 12px 0;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
}
summary { cursor: pointer; color: var(--navy); font-weight: 850; }

form {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
label { display: grid; gap: 7px; color: var(--navy); font-weight: 800; }
input, select, textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  background: var(--off-white);
}
textarea { min-height: 120px; resize: vertical; }
.checkbox { grid-template-columns: auto 1fr; align-items: start; margin: 16px 0; color: var(--text); font-weight: 650; }
.checkbox input { width: 18px; min-height: 18px; margin-top: 4px; }
.inline-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 16px;
  align-items: end;
}
.inline-form .button,
.inline-form .btn {
  min-height: 48px;
  height: 48px;
  width: 100%;
  white-space: nowrap;
}
.quiz-section { padding-top: 24px; }
.quiz-scroll-target { scroll-margin-top: 120px; }
.quiz-card {
  padding: clamp(22px, 4vw, 36px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.quiz-card > h2 { max-width: 860px; }
.quiz-progress {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--navy);
  font-family: Montserrat, sans-serif;
  font-weight: 800;
}
.quiz-progress span {
  color: var(--gold);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.quiz-progress div {
  height: 9px;
  overflow: hidden;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.quiz-progress i {
  display: block;
  height: 100%;
  background: var(--gold);
  border-radius: inherit;
}
.quiz-options {
  display: grid;
  gap: 12px;
  margin: 22px 0 10px;
}
.quiz-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  min-height: 56px;
  padding: 14px 16px;
  background: #fffaf0;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--navy);
  font-weight: 750;
  cursor: pointer;
}
.quiz-option input {
  width: 18px;
  min-height: 18px;
}
.quiz-option:has(input:checked) {
  border-color: var(--gold);
  background: #fff8e8;
  box-shadow: inset 0 0 0 1px rgba(201, 151, 42, 0.35);
}
.result-hero {
  margin-bottom: 22px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--navy);
  color: var(--white);
  border-radius: 10px;
}
.result-hero h2,
.result-hero p { color: var(--white); }
.score-id {
  display: inline-flex;
  margin: 10px 0 0;
  padding: 10px 12px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  font-weight: 800;
}
.result-grid { margin: 18px 0; }
.score-card {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.score-card span {
  display: block;
  color: var(--gold);
  font-family: "League Spartan", Montserrat, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}
.score-card h3 { margin: 8px 0 0; font-size: 1.02rem; }
.recommendation-grid { margin: 18px 0; }
.recommendation-card { margin: 0; }
.recommendation-primary {
  border-top: 4px solid var(--gold);
  background: linear-gradient(180deg, #ffffff 0%, #fffaf0 100%);
}
.recommendation-soft {
  border-top: 4px solid var(--soft-gold);
  background: #fffdf8;
}
.recommendation-primary .button,
.recommendation-primary .btn,
.recommendation-soft .button,
.recommendation-soft .btn {
  margin-top: auto;
}
.email-results-form { margin-top: 18px; }
.form-note, .privacy-note { color: var(--muted); font-weight: 700; }
.success { color: #17623b; }
.cta {
  margin: 44px 0 76px;
  padding: clamp(28px, 5vw, 52px);
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
}
.cta h2, .cta p { color: var(--white); }
.cta .button-secondary,
.cta .btn-secondary { background: transparent; color: var(--white); }

.site-footer {
  padding: 42px clamp(18px, 5vw, 64px);
  background: var(--navy);
  color: var(--white);
}
.footer-grid {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 18px;
}
.footer-card { padding: 22px; background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); box-shadow: none; }
.footer-logo-tile { display: inline-flex; padding: 10px 12px; margin-bottom: 14px; background: var(--off-white); border-radius: 10px; }
.footer-card img { width: 150px; margin: 0; }
.footer-card h2 { color: var(--white); font-size: 1.05rem; }
.footer-card a { display: block; margin: 8px 0; color: var(--soft-gold); font-weight: 750; }
.handle { color: var(--soft-gold); font-weight: 850; }
.footer-note { width: min(1160px, 100%); margin: 22px auto 0; color: rgba(255,255,255,0.82); }

@media (max-width: 980px) {
  .main-nav { gap: 12px; font-size: 0.86rem; }
  .hero, .two, .three, .four, .five, .process, .footer-grid, .service-snapshot { grid-template-columns: 1fr 1fr; }
  .inline-form { grid-template-columns: 1fr 1fr; }
  .service-top { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .button-row .button,
  .button-row .btn {
    flex: 1 1 calc(50% - 6px);
    width: auto;
  }
}

@media (max-width: 760px) {
  main { width: min(100% - 24px, 1160px); }
  .site-header { padding: 10px 14px; }
  .brand img { width: 126px; }
  .menu-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    left: 12px;
    right: 12px;
    top: 68px;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }
  .main-nav.open { display: flex; }
  .hero, .two, .three, .four, .five, .process, .footer-grid, .form-grid, .inline-form, .service-snapshot, .social-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 42px; }
  .hero h1 { font-size: 2.75rem; }
  .button-row, .button, .btn { width: 100%; }
  .button-row .button,
  .button-row .btn,
  .service-card > .button,
  .service-card > .btn,
  .teaser-card .button,
  .teaser-card .btn,
  .cta-card .button,
  .cta-card .btn {
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
  }
  .service-top { grid-template-columns: 1fr; }
  .timeline article { grid-template-columns: 1fr; padding: 20px; }
  .legal-section { grid-template-columns: 1fr; padding: 20px; }
  .legal-layout { padding-bottom: 52px; }
  .card, .hero-panel, form { padding: 18px; }
  .social-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .social-card { min-height: 112px; }
}
