:root {
  --ink: #14263d;
  --blue: #1f609d;
  --blue-dark: #174d7f;
  --paper: #ffffff;
  --soft: #f4f6f8;
  --muted: #5e6c7d;
  --line: #dce3ea;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Manrope, Arial, sans-serif;
  line-height: 1.6;
}

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

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

.section { padding: 104px 0; }

.skip-link {
  position: absolute;
  top: -50px;
  left: 12px;
  z-index: 10;
  padding: 10px 14px;
  background: white;
  border: 1px solid var(--line);
}

.skip-link:focus { top: 12px; }

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

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 1.4px;
}

.brand strong { font-weight: 800; }

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
  font-weight: 700;
}

.nav-links > a:not(.button):hover,
.text-link:hover { color: var(--blue); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 13px 18px;
  color: white;
  background: var(--blue);
  border: 1px solid var(--blue);
  font-size: 12px;
  font-weight: 800;
  transition: background .2s, border-color .2s;
}

.button:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.button-small { padding: 9px 14px; }

.hero {
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.hero-content { padding: 116px 0 108px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  color: var(--blue);
  font-family: "DM Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-block;
  width: 20px;
  height: 1px;
  background: currentColor;
}

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

h1, h2, h3 {
  letter-spacing: -1.5px;
  line-height: 1.12;
}

h1 {
  max-width: 760px;
  margin-bottom: 23px;
  font-size: clamp(46px, 6vw, 76px);
  font-weight: 800;
}

h1 em { color: var(--blue); font-style: normal; }

.hero-copy {
  max-width: 590px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
}

.text-link { color: var(--ink); font-size: 13px; font-weight: 800; }
.text-link span { margin-left: 7px; color: var(--blue); }

.intro-layout {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 90px;
  align-items: end;
}

.intro h2,
.section-heading h2,
.why h2,
.cta h2 {
  margin-bottom: 0;
  font-size: clamp(31px, 4vw, 48px);
  font-weight: 800;
}

.intro p { margin-bottom: 0; color: var(--muted); font-size: 16px; }

.services { background: var(--soft); }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 46px;
}

.section-heading > p {
  width: 270px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

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

.service-card {
  min-height: 210px;
  padding: 32px 26px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.service-card:nth-child(3n + 2) { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }

.service-card h3 { margin-bottom: 10px; font-size: 20px; }
.service-card p { max-width: 270px; margin: 0 auto; color: var(--muted); font-size: 13px; }

.service-icon {
  display: block;
  width: 36px;
  height: 36px;
  margin: 0 auto 20px;
  fill: none;
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.why { width: min(780px, calc(100% - 48px)); }

.why-content > p:not(.eyebrow) {
  margin: 24px 0;
  color: var(--muted);
}

.why ul { padding: 0; margin: 30px 0 0; list-style: none; }

.why li {
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
}

.why li span {
  display: inline-block;
  width: 42px;
  color: var(--blue);
  font-family: "DM Mono", monospace;
  font-size: 10px;
}

.cta { color: white; background: var(--ink); }
.cta .eyebrow { color: #d7eaff; }

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 90px;
  align-items: center;
  padding-top: 76px;
  padding-bottom: 76px;
}

.cta h2 { max-width: 590px; }
.cta-inner > div > p:not(.eyebrow) { margin: 16px 0 0; color: #c5d0dc; }

.contact-card {
  padding: 27px;
  border: 1px solid rgba(255, 255, 255, .3);
}

.contact-card p {
  margin-bottom: 11px;
  color: #c5d0dc;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.contact-phone, .contact-email { display: block; }
.contact-phone { font-size: 24px; font-weight: 800; letter-spacing: -1px; }
.contact-email { margin-top: 2px; color: #d8e9fb; font-size: 13px; font-weight: 700; }

.button-light {
  width: 100%;
  margin-top: 24px;
  color: var(--ink);
  background: white;
  border-color: white;
}

.button-light:hover { color: white; background: var(--blue); border-color: var(--blue); }

.footer { color: #aebbc9; background: #0d1d30; }

.footer-inner {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
}

.footer-brand { color: white; }
.footer p { margin: 0; }
.menu-button { display: none; }

.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;
}

@media (max-width: 760px) {
  .container { width: min(100% - 36px, 1120px); }
  .section { padding: 72px 0; }
  .nav { min-height: 70px; }

  .menu-button {
    position: relative;
    z-index: 2;
    display: block;
    width: 38px;
    height: 38px;
    color: var(--ink);
    background: transparent;
    border: 0;
  }

  .menu-button span:not(.sr-only) {
    display: block;
    width: 22px;
    margin: 5px auto;
    border-top: 2px solid currentColor;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    z-index: 1;
    display: none;
    width: 100%;
    padding: 22px 18px 25px;
    background: white;
    border-bottom: 1px solid var(--line);
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .nav-links.open { display: flex; }
  .hero-content { padding: 80px 0; }
  .hero-copy { font-size: 15px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 19px; }

  .intro-layout,
  .cta-inner { grid-template-columns: 1fr; gap: 30px; }

  .section-heading { display: block; }
  .section-heading > p { width: auto; margin-top: 17px; }
  .service-grid { grid-template-columns: 1fr; }

  .service-card,
  .service-card:nth-child(3n + 2) {
    min-height: auto;
    padding: 24px 0;
    border-right: 0;
    border-left: 0;
  }

  .why { width: min(100% - 36px, 780px); }
  .cta-inner { padding-top: 62px; padding-bottom: 62px; }
  .footer-inner { padding: 25px 0; align-items: flex-start; flex-direction: column; }
  .footer-inner p:nth-child(2) { display: none; }
}
