:root {
  --navy: #071f4a;
  --navy-2: #0d356b;
  --teal: #00a7b6;
  --teal-dark: #007d8e;
  --orange: #ef8a12;
  --gold: #f7b51b;
  --cream: #f8f6f0;
  --white: #ffffff;
  --ink: #182238;
  --muted: #59657a;
  --line: #d9e0e8;
  --shadow: 0 24px 70px rgba(7, 31, 74, 0.12);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { font: inherit; }
img { display: block; max-width: 100%; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 999;
  padding: 10px 14px;
  background: var(--white);
  color: var(--navy);
  border-radius: 8px;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(7, 31, 74, 0.08);
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(14px);
}
.nav-wrap {
  width: min(1180px, calc(100% - 40px));
  min-height: 84px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: inline-flex; width: 178px; text-decoration: none; }
.brand img { width: 100%; height: 68px; object-fit: contain; object-position: left center; }
nav { display: flex; align-items: center; gap: 30px; }
nav a {
  text-decoration: none;
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 700;
}
nav a:not(.nav-cta):hover { color: var(--teal-dark); }
.nav-cta {
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--white);
  background: var(--navy);
}
.nav-cta:hover { background: var(--navy-2); }
.menu-button { display: none; }

.hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  padding: 100px max(24px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 76px;
  background:
    radial-gradient(circle at 88% 12%, rgba(0, 167, 182, 0.15), transparent 24%),
    linear-gradient(135deg, #f9fbfc 0%, #ffffff 50%, #f7fafb 100%);
}
.hero::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -210px;
  width: 640px;
  height: 330px;
  border: 28px solid rgba(0, 167, 182, 0.12);
  border-radius: 50%;
  transform: rotate(-8deg);
}
.hero-copy, .hero-mark { position: relative; z-index: 1; }
.eyebrow {
  margin: 0 0 16px;
  color: var(--teal-dark);
  font-size: 0.77rem;
  font-weight: 850;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
h1, h2, h3 { margin-top: 0; color: var(--navy); line-height: 1.08; }
h1 {
  max-width: 720px;
  margin-bottom: 26px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.05rem, 4.8vw, 4.7rem);
  font-weight: 700;
  letter-spacing: -0.055em;
}
h1 span { color: var(--teal-dark); }
.mobile-break { display: none; }
.hero-lead {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button {
  min-height: 50px;
  padding: 13px 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .choice:focus-visible, .text-link:focus-visible, .menu-button:focus-visible, a:focus-visible {
  outline: 3px solid rgba(239, 138, 18, 0.55);
  outline-offset: 3px;
}
.button-primary { color: var(--white); background: var(--navy); box-shadow: 0 12px 26px rgba(7, 31, 74, 0.16); }
.button-primary:hover { background: var(--navy-2); }
.button-secondary { color: var(--navy); border-color: #bdc9d6; background: rgba(255, 255, 255, 0.8); }
.button-secondary:hover { border-color: var(--teal); }
.button-quiet { color: var(--navy); border-color: var(--line); background: transparent; }
.motto {
  margin: 34px 0 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-style: italic;
}
.hero-mark {
  min-height: 480px;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.hero-mark::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 92%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(145deg, #fff, #eef7f8);
  box-shadow: var(--shadow);
}
.sun-ring {
  position: absolute;
  z-index: -1;
  width: 67%;
  aspect-ratio: 1;
  border: 2px solid rgba(239, 138, 18, 0.28);
  border-radius: 50%;
}
.hero-mark img { width: min(88%, 440px); mix-blend-mode: multiply; }
.trust-note {
  position: absolute;
  right: -14px;
  bottom: 20px;
  padding: 18px 22px;
  display: grid;
  gap: 2px;
  border-left: 5px solid var(--orange);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 18px 45px rgba(7, 31, 74, 0.18);
}
.trust-note strong { color: var(--navy); }
.trust-note span { color: var(--muted); font-size: 0.8rem; }

.services-section { padding: 108px max(24px, calc((100vw - 1180px) / 2)); }
.section-heading { max-width: 760px; margin-bottom: 48px; }
.section-heading h2, .match-intro h2, .connect-section h2 {
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 3.75rem);
  letter-spacing: -0.035em;
}
.section-heading > p:last-child, .match-intro > p, .connect-section > div > p { color: var(--muted); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.service-card {
  grid-column: span 2;
  position: relative;
  min-height: 380px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.service-card:nth-last-child(-n + 2) { grid-column: span 3; }
.service-card:hover { transform: translateY(-5px); border-color: rgba(0, 167, 182, 0.65); box-shadow: var(--shadow); }
.service-number {
  position: absolute;
  top: 28px;
  right: 28px;
  color: #a8b3c2;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.15em;
}
.service-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 24px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--white);
  background: linear-gradient(140deg, var(--teal), var(--navy-2));
  font-size: 1.4rem;
  font-weight: 900;
}
.service-card h3 { margin-bottom: 12px; font-size: 1.35rem; }
.service-card p { margin: 0 0 16px; color: var(--muted); font-size: 0.94rem; }
.service-card ul { margin: 0 0 24px; padding-left: 20px; color: #354156; font-size: 0.88rem; }
.service-card li + li { margin-top: 7px; }
.text-link {
  margin-top: auto;
  padding: 0;
  align-self: flex-start;
  border: 0;
  color: var(--teal-dark);
  background: none;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}
.text-link span { display: inline-block; transition: transform 180ms ease; }
.text-link:hover span { transform: translateX(4px); }

.match-section {
  padding: 100px max(24px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: start;
  gap: 72px;
  color: var(--white);
  background:
    linear-gradient(rgba(7, 31, 74, 0.96), rgba(7, 31, 74, 0.98)),
    radial-gradient(circle at right top, var(--teal), transparent 60%);
}
.match-intro { padding-top: 30px; }
.match-intro .eyebrow { color: #77dfe6; }
.match-intro h2 { color: var(--white); }
.match-intro > p { color: #c8d3e1; }
.privacy-note {
  margin-top: 32px;
  padding: 14px 16px;
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  color: #d8e2ee;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.86rem;
}
.privacy-note span { color: #63d8c8; font-size: 0.6rem; }
.selector-card {
  position: relative;
  min-height: 520px;
  padding: 38px;
  border-radius: 28px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.24);
}
.selector-state {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.selector-progress { display: grid; gap: 9px; margin-bottom: 38px; }
.progress-label { color: var(--muted); font-size: 0.78rem; }
.step-two { display: none; }
.progress-track { height: 5px; overflow: hidden; border-radius: 5px; background: #e7edf2; }
.progress-track > span { display: block; width: 50%; height: 100%; background: linear-gradient(90deg, var(--teal), var(--orange)); transition: width 280ms ease; }
.selector-panel, .result-panel { display: none; }
#state-start:checked ~ .selector-start,
#state-organization:checked ~ .selector-organization,
#state-visibility:checked ~ .selector-visibility,
#state-personal:checked ~ .selector-personal,
#state-protection:checked ~ .selector-protection,
#state-document:checked ~ .selector-document,
#state-consulting:checked ~ .result-consulting,
#state-social:checked ~ .result-social,
#state-coaching:checked ~ .result-coaching,
#state-insurance:checked ~ .result-insurance,
#state-notary:checked ~ .result-notary { display: block; }
#state-organization:checked ~ .selector-progress .step-one,
#state-visibility:checked ~ .selector-progress .step-one,
#state-personal:checked ~ .selector-progress .step-one,
#state-protection:checked ~ .selector-progress .step-one,
#state-document:checked ~ .selector-progress .step-one { display: none; }
#state-organization:checked ~ .selector-progress .step-two,
#state-visibility:checked ~ .selector-progress .step-two,
#state-personal:checked ~ .selector-progress .step-two,
#state-protection:checked ~ .selector-progress .step-two,
#state-document:checked ~ .selector-progress .step-two { display: inline; }
#state-organization:checked ~ .selector-progress .progress-track > span,
#state-visibility:checked ~ .selector-progress .progress-track > span,
#state-personal:checked ~ .selector-progress .progress-track > span,
#state-protection:checked ~ .selector-progress .progress-track > span,
#state-document:checked ~ .selector-progress .progress-track > span { width: 100%; }
#state-consulting:checked ~ .selector-progress,
#state-social:checked ~ .selector-progress,
#state-coaching:checked ~ .selector-progress,
#state-insurance:checked ~ .selector-progress,
#state-notary:checked ~ .selector-progress { display: none; }
.question-kicker, .result-label {
  margin: 0 0 10px;
  color: var(--teal-dark);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.selector-panel h3, .result-panel h3 { margin-bottom: 24px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.75rem, 3vw, 2.5rem); }
.choice-list { display: grid; gap: 12px; }
.choice {
  width: 100%;
  padding: 17px 18px;
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 13px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: left;
  color: var(--navy);
  background: var(--white);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}
.choice:hover { transform: translateX(3px); border-color: var(--teal); background: #f6fbfc; }
.choice-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: var(--white); background: var(--navy); font-weight: 900; }
.choice-title { display: block; font-weight: 800; }
.choice-sub { display: block; color: var(--muted); font-size: 0.82rem; }
.choice-arrow { color: var(--teal-dark); font-weight: 900; }
.selector-back {
  margin-top: 22px;
  display: inline-block;
  color: var(--teal-dark);
  font-weight: 850;
  cursor: pointer;
}
.selector-back:focus-visible { outline: 3px solid rgba(239, 138, 18, 0.55); outline-offset: 3px; }
.result-panel { text-align: center; padding: 12px 8px 0; }
.result-badge {
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: var(--white);
  background: linear-gradient(140deg, var(--teal), var(--navy));
  font-size: 2rem;
  font-weight: 900;
}
.result-panel > p:not(.result-label) { max-width: 570px; margin: 0 auto 20px; color: var(--muted); }
.result-detail { max-width: 570px; margin: 0 auto; padding: 16px; border-radius: 12px; color: var(--navy); background: var(--cream); font-size: 0.9rem; }
.result-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.connect-section {
  padding: 92px max(24px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
  background: var(--cream);
}
.connect-section > div > p { max-width: 680px; }
.connect-section .fine-print { font-size: 0.8rem; }
.connect-actions { padding: 30px; border-radius: 22px; background: var(--white); box-shadow: var(--shadow); }
.button-wide { width: 100%; justify-content: space-between; }
.contact-link { margin-top: 16px; padding: 14px 4px 0; display: grid; text-decoration: none; border-top: 1px solid var(--line); }
.contact-link span { color: var(--muted); font-size: 0.75rem; }
.contact-link strong { color: var(--navy); overflow-wrap: anywhere; }
.contact-link:hover strong { color: var(--teal-dark); }

footer {
  padding: 42px max(24px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  color: #c7d3e2;
  background: #041630;
  font-size: 0.8rem;
}
.footer-brand { display: flex; align-items: center; gap: 20px; }
.footer-brand img { width: 116px; padding: 4px; border-radius: 8px; background: var(--white); }
.footer-brand p, .footer-notes p { margin: 0; }
.footer-brand strong { color: var(--white); }
.footer-notes { display: grid; gap: 14px; }

@media (max-width: 980px) {
  .hero { min-height: auto; padding-top: 72px; grid-template-columns: 1fr; gap: 40px; }
  .hero-mark { min-height: 410px; max-width: 560px; width: 100%; margin: auto; }
  .service-card, .service-card:nth-last-child(-n + 2) { grid-column: span 3; }
  .service-card:last-child { grid-column: 2 / span 4; }
  .match-section, .connect-section { grid-template-columns: 1fr; gap: 42px; }
  .match-intro { max-width: 700px; padding-top: 0; }
}

@media (max-width: 720px) {
  .nav-wrap { width: min(100% - 28px, 1180px); min-height: 72px; }
  .brand { width: 146px; }
  .brand img { height: 58px; }
  .menu-button {
    width: 44px;
    height: 44px;
    padding: 10px;
    display: grid;
    gap: 5px;
    align-content: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    cursor: pointer;
  }
  .menu-button span:not(.sr-only) { display: block; height: 2px; border-radius: 2px; background: var(--navy); transition: transform 180ms ease, opacity 180ms ease; }
  .menu-button[aria-expanded="true"] span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(3) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
  nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    padding: 18px 20px 24px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 5px;
    border-bottom: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 18px 30px rgba(7, 31, 74, 0.1);
  }
  nav.open { display: flex; }
  nav a { padding: 12px; }
  .nav-cta { text-align: center; margin-top: 6px; }
  .hero, .services-section, .match-section, .connect-section { padding-left: 20px; padding-right: 20px; }
  .hero { padding-top: 56px; padding-bottom: 72px; }
  h1 { font-size: clamp(2.85rem, 13vw, 4rem); }
  .mobile-break { display: inline; }
  .hero-actions { display: grid; }
  .hero-mark { min-height: 330px; }
  .hero-mark img { width: 88%; }
  .trust-note { right: 2px; bottom: 0; padding: 14px 16px; }
  .services-section { padding-top: 76px; padding-bottom: 76px; }
  .service-grid { display: grid; grid-template-columns: 1fr; }
  .service-card, .service-card:nth-last-child(-n + 2), .service-card:last-child { grid-column: 1; min-height: auto; }
  .match-section { padding-top: 76px; padding-bottom: 76px; }
  .selector-card { min-height: 560px; padding: 26px 18px; border-radius: 22px; }
  .choice { grid-template-columns: 34px 1fr auto; padding: 14px; }
  .connect-section { padding-top: 72px; padding-bottom: 72px; }
  .connect-actions { padding: 22px; }
  footer { grid-template-columns: 1fr; gap: 32px; }
}

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