:root {
  --navy: #0b2239;
  --navy-light: #173a5b;
  --ink: #172330;
  --slate: #526271;
  --line: #d9dfe4;
  --mist: #f3f5f6;
  --white: #ffffff;
  --max-width: 72rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}
a { color: inherit; }
a:focus-visible { outline: 3px solid #f2b84b; outline-offset: 4px; }
.container { width: min(calc(100% - 2.5rem), var(--max-width)); margin-inline: auto; }
.skip-link { position: absolute; top: -5rem; left: 1rem; z-index: 10; padding: .7rem 1rem; background: var(--white); color: var(--navy); }
.skip-link:focus { top: 1rem; }

.site-header { border-bottom: 1px solid var(--line); background: var(--white); }
.header-inner { min-height: 5.25rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { color: var(--navy); font-size: .93rem; font-weight: 700; letter-spacing: .13em; text-decoration: none; text-transform: uppercase; }
.brand span { display: block; font-size: 1.35rem; letter-spacing: .1em; line-height: 1.05; }
nav { display: flex; gap: 1.75rem; }
nav a { color: var(--slate); font-size: .92rem; font-weight: 700; text-decoration: none; }
nav a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: .35rem; }

.hero { padding: clamp(5rem, 10vw, 8.5rem) 0; border-bottom: 1px solid var(--line); }
.hero-content { max-width: 58rem; margin-left: max(1.25rem, calc((100vw - var(--max-width)) / 2)); }
.eyebrow { margin: 0 0 1rem; color: var(--navy-light); font-size: .76rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; color: var(--navy); font-weight: 700; line-height: 1.15; }
h1 { max-width: 52rem; margin-bottom: 1.75rem; font-size: clamp(2.55rem, 6vw, 5rem); letter-spacing: -.045em; }
h2 { max-width: 46rem; margin-bottom: 2.75rem; font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -.035em; }
h3 { margin-bottom: .8rem; font-size: 1.2rem; }
p { margin-top: 0; }
.hero-copy { max-width: 48rem; margin-bottom: 2rem; color: var(--slate); font-size: clamp(1.1rem, 2vw, 1.35rem); }
.button { display: inline-block; border: 2px solid var(--navy); padding: .8rem 1.15rem; background: var(--navy); color: var(--white); font-weight: 700; text-decoration: none; }
.button:hover { background: var(--navy-light); border-color: var(--navy-light); }

.section { padding: clamp(4.5rem, 8vw, 7rem) 0; }
.section-muted { background: var(--mist); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.service-grid article { padding: 2rem 2rem 1rem 0; }
.service-grid article + article { padding-left: 2rem; border-left: 1px solid var(--line); }
.service-grid p, .process-list p { color: var(--slate); }
.process-list { margin: 0; padding: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 4rem 1fr; gap: 1.5rem; padding: 1.5rem 0; border-top: 1px solid #cbd3d9; }
.process-list li:last-child { border-bottom: 1px solid #cbd3d9; }
.process-list > li > span { color: var(--navy-light); font-size: .8rem; font-weight: 700; letter-spacing: .15em; }
.process-list h3, .process-list p { margin-bottom: .25rem; }

.contact-section { background: var(--navy); color: var(--white); }
.contact-section .eyebrow, .contact-section h2, .contact-section p { color: var(--white); }
.contact-inner { display: grid; grid-template-columns: 1.4fr .8fr; gap: 4rem; align-items: end; }
.contact-inner h2 { margin-bottom: 1.25rem; }
.contact-action { justify-self: end; text-align: right; }
.button-light { border-color: var(--white); background: var(--white); color: var(--navy); }
.button-light:hover { border-color: var(--white); background: transparent; color: var(--white); }
.button[aria-disabled="true"] { cursor: not-allowed; opacity: .72; }
.config-note { max-width: 23rem; margin: 1rem 0 0; font-size: .8rem; opacity: .8; }

.site-footer { padding: 2.25rem 0; border-top: 1px solid #1c3853; background: #071a2c; color: #d5dde4; font-size: .84rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; }
.footer-inner div { text-align: right; }
.footer-inner p { margin-bottom: .35rem; }
.site-footer a { text-underline-offset: .25rem; }

.legal-page { padding: clamp(4rem, 8vw, 7rem) 0; }
.legal-content { max-width: 50rem; }
.legal-content h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
.legal-content h2 { margin: 2.75rem 0 .8rem; font-size: 1.45rem; letter-spacing: -.015em; }
.legal-content p { color: var(--slate); }
.legal-content a { color: var(--navy-light); }
.notice { margin: 2rem 0 3rem; padding: 1rem 1.25rem; border-left: 4px solid #a46700; background: #fff6df; }
.legal-updated { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }

@media (max-width: 46rem) {
  .header-inner { min-height: 4.6rem; align-items: flex-start; flex-direction: column; gap: 1rem; padding-block: 1rem; }
  nav { width: 100%; justify-content: space-between; gap: 1rem; }
  .hero-content { margin-inline: auto; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article { padding: 1.5rem 0; }
  .service-grid article + article { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .contact-inner { grid-template-columns: 1fr; gap: 2rem; }
  .contact-action { justify-self: start; text-align: left; }
  .footer-inner { flex-direction: column; }
  .footer-inner div { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
