:root {
  --ink: #142033;
  --navy: #13294b;
  --teal: #0f766e;
  --paper: #eef3f8;
  --white: #ffffff;
  --line: #d5deea;
  --mist: #5c6b7e;
  --sand: #f8f1e4;
  --sans: Outfit, Manrope, "Segoe UI", sans-serif;
  --serif: Fraunces, Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
}
img, svg { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, .mark {
  font-family: var(--serif);
  font-weight: 640;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
h1 { font-size: clamp(2.7rem, 5.6vw, 4.6rem); margin: 0 0 0.35em; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); margin: 0 0 0.4em; }
h3 { font-size: 1.35rem; margin: 0 0 0.35em; }
p { margin: 0 0 0.8em; }
::selection { background: #d7efe9; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 60;
  background: var(--navy);
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
}
.skip:focus { top: 12px; }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 72px;
  padding: 12px 22px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  text-decoration: none;
  font-size: 1.35rem;
  color: var(--navy);
}
.mark svg { width: 32px; height: 32px; display: block; }
.nav-links { display: flex; gap: 18px; }
.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.nav-links a.is-active { box-shadow: inset 0 -2px 0 var(--teal); }
.nav-toggle { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: #f7f9fc;
  text-decoration: none;
  font-weight: 700;
}
.btn:hover { background: var(--teal); border-color: var(--teal); }
.nav-cta { white-space: nowrap; }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: white; }

.hero, .services, .about, .approach, .faq, .contact { scroll-margin-top: 84px; }

.hero {
  padding: 72px 22px 28px;
  text-align: center;
}
.hero .lede, .hero .aside, .section-head p { max-width: 42rem; }
.hero .lede, .hero .aside { margin-left: auto; margin-right: auto; }
.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.aside { color: var(--mist); font-size: 0.95rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 22px 0; }
.hero-panel {
  margin: 36px auto 0;
  max-width: 1040px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(19, 41, 75, 0.08);
}
.hero-panel figcaption {
  text-align: left;
  padding: 14px 18px 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist);
}
.hero-panel svg { display: block; height: auto; }

.services, .approach, .faq { padding: 72px 22px; }
.section-head { max-width: 720px; margin-bottom: 28px; }
.service-grid, .steps {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1080px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.service-grid li, .steps li, .facts li {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}
.service-grid .span { grid-column: 1 / -1; }
.service-grid h3::before {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  margin-bottom: 14px;
  background: var(--teal);
  border-radius: 99px;
}

.about {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 22px 72px;
  align-items: start;
}
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.facts strong { display: block; font-family: var(--serif); font-size: 1.4rem; color: var(--navy); }
.facts span { color: var(--mist); }

.approach { background: var(--navy); color: #f4f7fb; }
.approach .eyebrow { color: #8ee0d4; }
.steps { grid-template-columns: repeat(4, 1fr); }
.steps li { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.12); }
.steps span { display: block; color: #8ee0d4; font-weight: 700; margin-bottom: 8px; }

.faq-list { max-width: 760px; display: grid; gap: 10px; }
.faq-list details {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
}
.faq-list summary { font-weight: 700; cursor: pointer; }
.faq-list p { margin: 10px 0 0; color: var(--mist); }

.contact {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 32px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 72px 22px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.span-2 { grid-column: span 2; }
label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mist);
}
input, select, textarea {
  width: 100%;
  background: white;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  border-radius: 0;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  font-size: 1rem;
  color: var(--ink);
}
textarea { resize: vertical; min-height: 110px; }
input:focus, select:focus, textarea:focus { outline: none; border-bottom-color: var(--navy); }
[aria-invalid="true"] { border-bottom-color: #9a3412; }
.form-error { color: #9a3412; min-height: 1.3em; font-weight: 700; }
.form-success[hidden], form[hidden] { display: none; }
.form-success pre {
  white-space: pre-wrap;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  font-family: var(--sans);
}
.contact .hero-actions { justify-content: flex-start; }

.footer {
  display: grid;
  gap: 16px;
  padding: 28px 22px 40px;
  background: white;
  border-top: 1px solid var(--line);
}
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.footer a { font-weight: 700; }
.fine { color: var(--mist); font-size: 0.92rem; }

.doc { max-width: 740px; margin: 0 auto; padding: 48px 22px 32px; }
.doc h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.doc h2 { font-size: 1.4rem; margin-top: 1.4em; }
.doc-page { background: var(--paper); }

@media (max-width: 980px) {
  .service-grid, .about, .contact { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .span-2 { grid-column: auto; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 4px;
    padding: 8px 22px 16px;
    background: white;
    border-bottom: 1px solid var(--line);
  }
  .nav.is-menu .nav-links { display: flex; }
  .nav-links a { min-height: 44px; display: flex; align-items: center; }
  .nav-toggle {
    display: inline-flex;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--navy);
    background: white;
    font-weight: 700;
  }
  .steps { grid-template-columns: 1fr; }
  .hero { padding-top: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
