:root {
  --blue: #094f8d;
  --navy: #002c57;
  --ink: #222;
  --muted: #555;
  --line: #d7dee6;
  --paper: #f4f7fa;
  --white: #fff;
  --ok-bg: #e8f5ec;
  --ok-ink: #1a5c2e;
  --radius: 8px;
  --wrap: 1080px;
  --shadow: 0 1px 2px rgba(0, 20, 40, 0.06), 0 8px 24px rgba(0, 20, 40, 0.06);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  background: var(--white);
}

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

a { color: var(--blue); }

a:hover { color: var(--navy); }

h1, h2, h3 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 0.75rem; }

h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); margin: 0 0 0.75rem; }

h3 { font-size: 1.15rem; margin: 0 0 0.4rem; color: var(--ink); }

p { margin: 0 0 1rem; }

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin: 0 auto;
}

.narrow { max-width: 40rem; }

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--navy);
  color: var(--white);
  padding: 0.5rem 0.8rem;
  z-index: 20;
}

.skip-link:focus { top: 0.75rem; color: var(--white); }

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 4.5rem;
  padding: 0.6rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--navy);
  min-width: 0;
}

.brand:hover { color: var(--navy); }

.brand-mark {
  width: 56px;
  height: auto;
  flex: 0 0 auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  border-left: 1px solid #8a8f95;
  padding-left: 0.75rem;
}

.brand-name {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.brand-inc {
  font-size: 0.8rem;
  font-weight: 600;
  color: #5c636a;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 1.1rem;
}

.nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav a:hover { color: var(--blue); }

.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius);
}

.nav-cta:hover { background: var(--navy); }

.hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--blue) 100%);
  color: var(--white);
  padding: 4.25rem 0 4.5rem;
}

.hero h1 { color: var(--white); max-width: 10.5em; }

.lede {
  font-size: 1.2rem;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.94);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0 0 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
}

.btn {
  display: inline-block;
  background: var(--white);
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  padding: 0.7rem 1.15rem;
  border-radius: var(--radius);
  border: 2px solid var(--white);
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
}

.btn:hover {
  background: transparent;
  color: var(--white);
}

.btn-light {
  background: transparent;
  color: var(--white);
}

.btn-light:hover {
  background: var(--white);
  color: var(--navy);
}

.section {
  padding: 4rem 0;
}

.section-alt { background: var(--paper); }

.section-intro {
  max-width: 40rem;
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.4rem 1.3rem 1.2rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--blue);
}

.card p:last-child,
.steps p:last-child { margin-bottom: 0; }

.steps {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}

.steps li {
  background: var(--white);
  border-radius: 10px;
  padding: 1.4rem 1.3rem 1.2rem;
  border: 1px solid var(--line);
  position: relative;
  padding-top: 3.1rem;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 1.1rem;
  left: 1.3rem;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-contact {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.5rem;
  align-items: start;
}

.details {
  margin: 1.5rem 0 0;
}

.details > div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}

.details dt {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.details dd { margin: 0; }

.details a { font-weight: 600; text-decoration: none; }
.details a:hover { text-decoration: underline; }

.visually-hidden,
.contact-form input.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
  left: 0 !important;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.4rem 1.35rem 1.2rem;
  box-shadow: var(--shadow);
}

.contact-form p { margin: 0 0 0.9rem; }

.form-note {
  font-size: 0.95rem;
  color: var(--muted);
  background: var(--paper);
  border-left: 4px solid var(--blue);
  padding: 0.7rem 0.8rem;
}

.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.contact-form input:not([type="checkbox"]),
.contact-form textarea {
  width: 100%;
  border: 1px solid #b8c3ce;
  border-radius: 6px;
  padding: 0.6rem 0.7rem;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

.contact-form input:not([type="checkbox"]):focus,
.contact-form textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
  border-color: var(--blue);
}

.field-hint {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--muted);
}

.opt-in {
  margin: 0.4rem 0 1.1rem;
  padding: 0.9rem 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  min-width: 0;
}

.opt-in legend {
  padding: 0;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
}

.opt-in-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0.5rem 0 0.75rem;
}

.opt-in-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0 0 0.85rem;
}

.opt-in-item:last-child { margin-bottom: 0; }

.contact-form .opt-in-item label {
  display: inline;
  font-weight: 400;
  font-size: 0.92rem;
  line-height: 1.45;
  margin: 0;
  color: var(--ink);
}

.contact-form input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.2rem 0 0;
  flex: 0 0 auto;
  accent-color: var(--blue);
}

.contact-form input[type="checkbox"]:focus {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.legal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.legal-block p {
  color: var(--muted);
}

.legal-block a { font-weight: 600; text-decoration: none; }
.legal-block a:hover { text-decoration: underline; }

.legal-hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--blue) 100%);
  color: var(--white);
  padding: 2.5rem 0 2.25rem;
}

.legal-hero h1 { color: var(--white); margin-bottom: 0.5rem; }

.legal-hero .updated {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.98rem;
}

.legal-page { padding-top: 2.5rem; }

.legal-doc { max-width: 44rem; }

.legal-page h2 { margin-top: 2rem; }

.legal-page ul {
  margin: 0 0 1rem;
  padding: 0 0 0 1.2rem;
}

.legal-page li { margin: 0 0 0.45rem; }

.legal-contact {
  margin-top: 0.25rem;
  color: var(--muted);
}

.legal-contact a { font-weight: 600; text-decoration: none; }
.legal-contact a:hover { text-decoration: underline; }

.contact-form .btn {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.contact-form .btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.form-status {
  margin-top: 0.4rem;
  padding: 0.7rem 0.8rem;
  border-radius: 6px;
  background: var(--ok-bg);
  color: var(--ok-ink);
  font-weight: 600;
}

.form-status.is-fallback {
  background: #fff6e5;
  color: #6a4b00;
}


.service-blocks {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.service-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.5rem 1.4rem 1.3rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--blue);
}

.service-block p:last-child,
.service-block .sublist { margin-bottom: 0; }

.sublist {
  margin: 0.85rem 0 0;
  padding: 0 0 0 1.15rem;
  color: var(--ink);
}

.sublist li { margin: 0 0 0.4rem; }

.sublist li:last-child { margin-bottom: 0; }

@media (min-width: 800px) {
  .service-block {
    display: grid;
    grid-template-columns: 1.35fr 0.9fr;
    column-gap: 2rem;
    align-items: start;
  }

  .service-block h3,
  .service-block > p {
    grid-column: 1;
  }

  .service-block .sublist {
    grid-column: 2;
    grid-row: 1 / span 3;
    margin-top: 0;
    align-self: center;
  }
}

.industry-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.industry-cards .card p:last-child { margin-bottom: 0; }

.steps-five {
  grid-template-columns: repeat(2, 1fr);
}

.faq-list {
  margin-top: 1.75rem;
  max-width: 44rem;
  border-top: 1px solid var(--line);
}

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

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  padding: 1rem 2.2rem 1rem 0;
  position: relative;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::marker { content: ""; }

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0.9rem;
  color: var(--blue);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
  display: inline-block;
  transform-origin: center;
}

.faq-list details[open] summary::after {
  content: "+";
  transform: rotate(45deg);
}

.faq-list details p {
  margin: 0 0 1rem;
  color: var(--muted);
  padding-right: 2rem;
}

.privacy-note {
  margin-top: 1.35rem;
}

.privacy-note h3 {
  font-size: 1rem;
  color: var(--navy);
}

.privacy-note p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.site-footer a {
  color: #ddd;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer {
  background: #2a2a2a;
  color: #ddd;
  padding: 1.4rem 0;
  font-size: 0.95rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}

.site-footer p { margin: 0; }

@media (max-width: 860px) {
  .cards,
  .steps,
  .steps-five,
  .industry-cards,
  .contact-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  html { scroll-padding-top: 10.5rem; }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    min-height: 0;
  }

  .nav {
    justify-content: flex-start;
    width: 100%;
    padding-bottom: 0.35rem;
    gap: 0.3rem 0.85rem;
  }

  .hero { padding: 2.75rem 0 3rem; }

  .section { padding: 2.75rem 0; }

  .details > div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

@media (max-width: 420px) {
  .wrap { width: calc(100% - 1.5rem); }

  .brand-mark { width: 48px; }

  .nav { gap: 0.25rem 0.65rem; }

  .nav a { font-size: 0.85rem; }

  .nav-cta { padding: 0.35rem 0.7rem; }
}
