:root {
  --bg: #f7f9fb;
  --surface: #ffffff;
  --ink: #172029;
  --muted: #536171;
  --line: #d9e1e8;
  --accent: #0f766e;
  --accent-strong: #115e59;
  --accent-soft: #e3f4f1;
  --panel: #202b35;
  --panel-soft: #2d3a45;
  --shadow: 0 18px 45px rgba(23, 32, 41, 0.11);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 16px max(24px, calc((100vw - var(--max)) / 2));
  background: rgba(247, 249, 251, 0.92);
  border-bottom: 1px solid rgba(217, 225, 232, 0.78);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a,
.nav-toggle {
  border: 0;
  border-radius: 8px;
  padding: 10px 13px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.nav-toggle:hover,
.nav-toggle:focus-visible {
  color: var(--ink);
  outline: none;
  background: #edf2f6;
}

.site-nav .nav-cta {
  background: var(--ink);
  color: #fff;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  background: #2a3743;
  color: #fff;
}

.nav-toggle {
  display: none;
}

.hero,
.section,
.contact,
.site-footer {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: 76px 0 64px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
}

.hero-lede,
.section-intro p,
.profile-copy p,
.contact p {
  color: var(--muted);
  font-size: 18px;
}

.hero-lede {
  max-width: 650px;
  margin-bottom: 32px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 750;
  text-decoration: none;
}

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

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--accent-strong);
}

.button.secondary {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: #bfccd6;
  background: #eef4f7;
}

.proof-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 42px 0 0;
}

.proof-points div {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.proof-points dt {
  font-size: 26px;
  font-weight: 850;
}

.proof-points dd {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.system-panel {
  border-radius: 8px;
  padding: 22px;
  background: var(--panel);
  color: #f9fbfc;
  box-shadow: var(--shadow);
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  color: #cdd8df;
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #29c6a9;
}

.pipeline {
  display: grid;
  gap: 12px;
}

.pipeline-item {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: var(--panel-soft);
}

.pipeline-item + .pipeline-item::before {
  position: absolute;
  top: -13px;
  left: 28px;
  width: 2px;
  height: 13px;
  background: rgba(255, 255, 255, 0.28);
  content: "";
}

.item-label {
  font-size: 20px;
  font-weight: 820;
}

.item-meta {
  color: #c4d0d8;
  font-size: 14px;
}

.section {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.section-intro {
  max-width: 760px;
  margin-bottom: 34px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--surface);
}

.service-card p,
.steps p {
  margin-bottom: 0;
  color: var(--muted);
}

.profile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.64fr);
  gap: 48px;
  align-items: start;
}

.profile-copy {
  max-width: 720px;
}

.text-link {
  color: var(--accent-strong);
  font-weight: 800;
  text-underline-offset: 4px;
}

.credential-list {
  display: grid;
  gap: 12px;
}

.credential-list div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--surface);
}

.credential-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.credential-list strong {
  display: block;
  font-size: 17px;
  line-height: 1.35;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  border-top: 3px solid var(--accent);
  padding: 22px 0 0;
}

.steps span {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-weight: 850;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  margin-bottom: 56px;
  border-radius: 8px;
  padding: 38px;
  background: var(--ink);
  color: #fff;
}

.contact p,
.contact .eyebrow {
  color: #c8d4dd;
}

.contact h2 {
  margin-bottom: 12px;
}

.contact-actions {
  justify-content: flex-end;
}

.contact .button.secondary {
  border-color: rgba(255, 255, 255, 0.22);
  background: transparent;
  color: #fff;
}

.contact .button.secondary:hover,
.contact .button.secondary:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex;
    cursor: pointer;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
  }

  .hero,
  .profile,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 58px;
  }

  .system-panel {
    max-width: 620px;
  }

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

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-right: 16px;
    padding-left: 16px;
  }

  .brand span:last-child {
    max-width: 190px;
  }

  .hero,
  .section,
  .contact,
  .site-footer {
    width: min(100% - 32px, var(--max));
  }

  .hero {
    gap: 34px;
    padding: 44px 0 48px;
  }

  h1 {
    font-size: 43px;
  }

  h2 {
    font-size: 32px;
  }

  .hero-lede,
  .section-intro p,
  .profile-copy p,
  .contact p {
    font-size: 16px;
  }

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

  .proof-points,
  .service-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
  }

  .contact {
    padding: 28px 22px;
  }

  .site-footer {
    flex-direction: column;
  }
}
