:root {
  --navy: #08223a;
  --navy-2: #123a5a;
  --blue-soft: #edf3f7;
  --gold: #b8914c;
  --gold-soft: #efe3ca;
  --ink: #152333;
  --muted: #5c6b79;
  --line: #dce5ec;
  --paper: #fbfaf7;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(8, 34, 58, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

p {
  color: var(--muted);
}

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.1rem, 4.5vw, 3.9rem);
  font-weight: 760;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.7rem, 3.5vw, 3rem);
  font-weight: 740;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

button,
input,
select,
textarea {
  font: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(184, 145, 76, 0.75);
  outline-offset: 3px;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.skip-link,
.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:focus {
  z-index: 100;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  color: var(--navy);
  background: var(--white);
  border-radius: var(--radius);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
  padding: 14px max(20px, calc((100vw - var(--max)) / 2));
  background: rgba(251, 250, 247, 0.96);
  border-bottom: 1px solid rgba(220, 229, 236, 0.95);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  color: var(--navy);
}

.brand-mark {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  border: 1px solid rgba(184, 145, 76, 0.45);
  border-radius: var(--radius);
  box-shadow: 0 10px 22px rgba(8, 34, 58, 0.16);
  font-size: 0.82rem;
  font-weight: 800;
}

.brand-name {
  display: block;
  font-size: 1.04rem;
  font-weight: 780;
}

.brand-claim {
  display: block;
  margin-top: -2px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 650;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  font-size: 0.93rem;
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 10px;
  border-radius: var(--radius);
  color: #314253;
  font-weight: 650;
}

.primary-nav a:hover,
.primary-nav a.is-active {
  color: var(--navy);
  background: rgba(184, 145, 76, 0.13);
}

.primary-nav .nav-cta {
  color: var(--white);
  background: var(--navy);
  border: 1px solid rgba(184, 145, 76, 0.45);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
}

.nav-toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(4) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 68px 0 54px;
  background: linear-gradient(115deg, #fbfaf7 0%, #f3f6f8 56%, #e8eef3 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 145, 76, 0.62), transparent);
}

.hero-grid,
.split,
.contact-layout,
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: start;
}

.hero-lead,
.lead {
  color: #3f5061;
  font-size: clamp(1.05rem, 1.8vw, 1.24rem);
}

.eyebrow,
.section-kicker {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 760;
}

.button-primary {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: 0 14px 28px rgba(8, 34, 58, 0.18);
}

.button-secondary {
  color: var(--navy);
  background: var(--white);
  border-color: var(--line);
}

.button-light {
  color: var(--navy);
  background: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.hero-points {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 26px;
  color: #32465a;
  font-weight: 650;
}

.hero-points li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
}

.hero-photo,
.content-photo {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-photo img,
.content-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}

.hero-photo figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 16px;
  color: var(--white);
  background: rgba(8, 34, 58, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
}

.hero-photo figcaption span {
  display: block;
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-photo figcaption strong {
  display: block;
  margin-top: 4px;
  line-height: 1.22;
}

.trust-strip {
  background: var(--navy);
  color: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  background: rgba(255, 255, 255, 0.12);
}

.trust-grid article {
  min-height: 126px;
  padding: 22px;
  background: var(--navy);
}

.trust-grid span,
.step-grid span,
.card-grid span,
.path-list span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-grid strong {
  display: block;
  margin-top: 8px;
  line-height: 1.24;
}

.trust-grid small {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.68);
}

.section {
  padding: 76px 0;
}

.section-soft {
  background: var(--blue-soft);
}

.section-dark {
  color: var(--white);
  background: var(--navy);
}

.section-dark h2,
.section-dark h3,
.section-dark p {
  color: var(--white);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.78);
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.center-head {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.card-grid,
.step-grid,
.choice-grid,
.faq-grid,
.page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card,
.step-card,
.choice-card,
.faq-item,
.contact-card,
.path-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(8, 34, 58, 0.06);
}

.card h3,
.step-card h3,
.choice-card h3 {
  margin-top: 10px;
}

.choice-card {
  display: grid;
  gap: 12px;
}

.choice-card ul,
.prose-list,
.check-list {
  display: grid;
  gap: 9px;
  padding-left: 20px;
  margin: 8px 0 0;
  color: var(--muted);
}

.decision-panel {
  padding: clamp(24px, 4vw, 42px);
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.decision-panel h2,
.decision-panel p {
  color: var(--white);
}

.decision-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.prompt-list {
  display: grid;
  gap: 14px;
}

.prompt-list article {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.prompt-list strong {
  display: block;
  color: var(--navy);
}

.prompt-list span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.compare-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.compare-card.is-featured {
  border-color: rgba(184, 145, 76, 0.65);
  box-shadow: var(--shadow);
}

.path-list {
  display: grid;
  gap: 14px;
  counter-reset: steps;
}

.path-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.path-card span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius);
}

.check-panel {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.signal-grid button {
  min-height: 92px;
  padding: 16px;
  text-align: left;
  color: var(--ink);
  background: #f8fafb;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.signal-grid button[aria-pressed="true"] {
  color: var(--navy);
  background: rgba(184, 145, 76, 0.16);
  border-color: rgba(184, 145, 76, 0.7);
}

.signal-grid strong,
.signal-grid small {
  display: block;
}

.signal-grid small {
  margin-top: 5px;
  color: var(--muted);
}

.result-box {
  margin-top: 16px;
  padding: 18px;
  background: var(--blue-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.result-box strong {
  display: block;
  color: var(--navy);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  padding: 0;
}

.faq-item summary {
  min-height: 58px;
  padding: 18px 20px;
  color: var(--navy);
  cursor: pointer;
  font-weight: 760;
}

.faq-item p {
  padding: 0 20px 20px;
  margin: 0;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--navy);
  font-weight: 720;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.privacy-field {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 0.94rem;
}

.privacy-field input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
}

.privacy-field a,
.form-note a {
  color: var(--navy);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note,
.form-message {
  color: var(--muted);
  font-size: 0.92rem;
}

.form-message {
  padding: 12px 14px;
  background: var(--blue-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.cta-band {
  padding: 42px;
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cta-band h2,
.cta-band p {
  color: var(--white);
}

.cta-band p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  padding: 46px 0;
  color: rgba(255, 255, 255, 0.72);
  background: #061829;
}

.site-footer strong,
.site-footer a {
  color: var(--white);
}

.footer-grid {
  gap: 28px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: flex-end;
}

.footer-grid p {
  margin-bottom: 8px;
}

.legal-page {
  max-width: 840px;
}

.legal-page section + section {
  margin-top: 30px;
}

@media (max-width: 980px) {
  .site-header {
    min-height: 70px;
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: fixed;
    top: 70px;
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    justify-content: center;
  }

  .hero-grid,
  .split,
  .contact-layout,
  .footer-grid,
  .compare-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid,
  .card-grid,
  .step-grid,
  .choice-grid,
  .faq-grid,
  .page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .hero,
  .section {
    padding: 52px 0;
  }

  .site-header {
    padding-inline: 14px;
  }

  .brand-claim {
    display: none;
  }

  .trust-grid,
  .card-grid,
  .step-grid,
  .choice-grid,
  .faq-grid,
  .page-grid,
  .signal-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid article {
    min-height: auto;
  }

  .hero-photo figcaption {
    position: static;
    border-radius: 0;
  }

  .cta-band {
    padding: 26px;
  }
}
