:root {
  --text: #171717;
  --muted: #5d6268;
  --accent: #12506a;
  --accent-dark: #0b3a4d;
  --line: #d9dde0;
  --white: #ffffff;
  --max: 1080px;
  --reading: 720px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--white);
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-dark);
}

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

:focus-visible {
  outline: 3px solid #1d7599;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 1rem;
  color: #fff;
  background: #111;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.brand-mark {
  display: none;
}

.brand-name {
  font: inherit;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-nav a {
  display: block;
  padding: 22px 0 19px;
  border-bottom: 3px solid transparent;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.nav-contact {
  border: 0;
}

main {
  background: var(--white);
}

.hero {
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.hero-grid {
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--text);
  font-family: inherit;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  font-weight: 700;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 700;
}

h3 {
  margin-bottom: 0;
  font-size: 1.35rem;
  font-weight: 700;
}

.lede {
  max-width: var(--reading);
  margin: 22px 0 0;
  color: #3f4448;
  font-size: 1.12rem;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid var(--accent);
  border-radius: 2px;
  color: #fff;
  background: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  color: #fff;
  background: var(--accent-dark);
}

.button-secondary {
  color: var(--accent);
  background: var(--white);
}

.button-secondary:hover {
  color: #fff;
  background: var(--accent);
}

.hero-facts {
  padding-left: 22px;
  border-left: 3px solid var(--accent);
}

.hero-facts strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.hero-facts p {
  margin: 3px 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.section,
.section-white,
.section-dark {
  padding: 72px 0;
  color: var(--text);
  background: var(--white);
}

.section + .section,
.section-dark {
  border-top: 1px solid var(--line);
}

.section-dark .eyebrow,
.section-dark a {
  color: var(--accent);
}

.section-dark p {
  color: var(--muted);
}

.section-heading {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 52px;
  align-items: start;
  margin-bottom: 44px;
}

.section-heading > p,
.intro-copy {
  max-width: var(--reading);
  margin: 0;
  color: var(--muted);
}

.service-list {
  border-bottom: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 44px minmax(220px, 0.72fr) minmax(0, 1.45fr);
  gap: 30px;
  align-items: start;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.service-number {
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 700;
}

.service-row > h2 {
  min-width: 0;
  font-size: 1.75rem;
  overflow-wrap: break-word;
}

.service-row > h3 {
  font-size: 1.3rem;
}

.service-row p {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
}

.service-row .prose p:first-child {
  margin-top: 0;
}

.text-link {
  display: inline-block;
  margin-top: 24px;
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 72px;
  align-items: start;
}

.split-copy > p:first-of-type {
  margin-top: 20px;
}

.facts {
  margin: 0;
  border-top: 1px solid var(--line);
}

.facts div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.facts dt {
  color: var(--muted);
}

.facts dd {
  margin: 0;
  font-weight: 700;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.step {
  padding: 28px 28px 30px 0;
}

.step + .step {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.step span {
  display: block;
  margin-bottom: 28px;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 700;
}

.step p {
  margin-bottom: 0;
  color: var(--muted);
}

.page-hero {
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(2.25rem, 4.5vw, 3.7rem);
}

.page-hero .lede {
  max-width: 780px;
}

.prose {
  max-width: var(--reading);
}

.prose h2 {
  margin: 44px 0 16px;
  font-size: 2rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 32px 0 10px;
}

.prose p,
.prose li {
  color: #3f4448;
}

.prose ul {
  padding-left: 20px;
}

.prose li + li {
  margin-top: 6px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.65fr);
  gap: 64px;
  align-items: start;
}

.contact-form {
  padding-top: 4px;
}

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

.field-full {
  grid-column: 1 / -1;
}

label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.92rem;
  font-weight: 700;
}

.required {
  color: #9b251d;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #aeb4b8;
  border-radius: 2px;
  color: var(--text);
  background: var(--white);
}

input,
select {
  min-height: 48px;
  padding: 10px 12px;
}

textarea {
  min-height: 180px;
  padding: 12px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
}

.form-note {
  margin: 16px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
}

.alert {
  margin-bottom: 22px;
  padding: 14px 16px;
  border-left: 4px solid;
  background: var(--white);
}

.alert-success {
  border-color: #23704f;
  color: #174d37;
}

.alert-error {
  border-color: #a1382d;
  color: #74261f;
}

.alert ul {
  margin: 6px 0 0;
  padding-left: 20px;
}

.contact-aside {
  padding: 22px 0;
  border-top: 3px solid var(--accent);
  background: var(--white);
}

.contact-aside h2 {
  font-size: 1.55rem;
}

.contact-aside p:last-child {
  margin-bottom: 0;
}

.cta {
  padding: 56px 0;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
}

.cta h2 {
  max-width: 740px;
}

.site-footer {
  padding: 22px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--white);
}

.footer-simple {
  font-size: 0.88rem;
}

.site-footer a {
  color: var(--muted);
}

@media (max-width: 820px) {
  .container {
    width: min(calc(100% - 36px), var(--max));
  }

  .header-inner {
    min-height: 0;
    padding: 16px 0 0;
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .brand {
    font-size: 1.05rem;
  }

  .primary-nav {
    width: 100%;
  }

  .primary-nav ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 20px;
    border-top: 1px solid var(--line);
  }

  .primary-nav a {
    padding: 11px 0 9px;
    border-bottom-width: 2px;
    font-size: 0.9rem;
  }

  .hero,
  .section,
  .section-white,
  .section-dark {
    padding: 48px 0;
  }

  .hero-grid,
  .section-heading,
  .split,
  .contact-layout,
  .cta-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-facts {
    max-width: 460px;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .service-row {
    display: block;
    padding: 28px 0;
  }

  .service-number {
    display: block;
    margin-bottom: 8px;
  }

  .service-row > h2,
  .service-row > h3 {
    margin-bottom: 14px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step,
  .step + .step {
    padding: 24px 0;
    border-left: 0;
  }

  .step + .step {
    border-top: 1px solid var(--line);
  }

  .step span {
    margin-bottom: 10px;
  }

  .page-hero {
    padding: 48px 0;
  }

}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

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

  h1,
  .page-hero h1 {
    font-size: 2.15rem;
    line-height: 1.12;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero-actions,
  .cta-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .cta-actions .button,
  .cta .button {
    width: 100%;
  }

  .facts div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field-full {
    grid-column: auto;
  }

  .site-footer {
    padding-top: 36px;
  }
}
