:root {
  --ink: #061522;
  --muted: #4f6273;
  --paper: #fbfcfe;
  --line: #d9e4ec;
  --accent: #0874d1;
  --accent-soft: #eaf4fd;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.site-header,
footer {
  max-width: var(--max);
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 1.5rem;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 200px;
  max-width: 100%;
  height: auto;
}

.brand-footer img { width: 170px; }
nav,
footer div {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

a { color: var(--accent); }
nav a,
footer a {
  font-weight: 650;
  text-decoration: none;
}
nav > a:not(.button) { padding: .55rem 0; }
nav a:hover,
footer a:hover { text-decoration: underline; }
a:focus-visible {
  outline: 3px solid #58aef0;
  outline-offset: 4px;
  border-radius: .2rem;
}

.hero,
.section,
.contact {
  max-width: var(--max);
  margin: auto;
  padding: 5rem 1.5rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 3rem;
  min-height: 570px;
  align-items: center;
}

.eyebrow {
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  font-size: .76rem;
  letter-spacing: .12em;
  margin: 0 0 .8rem;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -.04em;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.8rem);
  max-width: 780px;
  margin: .2rem 0 1.4rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  max-width: 700px;
  margin: .2rem 0 2.2rem;
}

h3 {
  font-size: 1.25rem;
  margin: .2rem 0 .8rem;
}

.lede {
  font-size: 1.2rem;
  max-width: 650px;
  color: var(--muted);
}

.actions {
  display: flex;
  gap: 1.4rem;
  align-items: center;
  margin-top: 2rem;
}

.button {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  border-radius: .45rem;
  padding: .82rem 1.1rem;
  font-weight: 750;
  text-decoration: none;
}

.button:hover {
  background: var(--accent);
  text-decoration: none;
}

.button-small { padding: .55rem .8rem; }
.text-link { font-weight: 750; }
.hero-card {
  background: var(--ink);
  color: #fff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 22px 45px #06152224;
}

.card-label {
  color: #58aef0;
  font-weight: 750;
}

.hero-card ol {
  padding-left: 1.2rem;
  font-size: 1.15rem;
}
.hero-card li + li { margin-top: 1rem; }
.section { border-top: 1px solid var(--line); }
.grid {
  display: grid;
  gap: 1.25rem;
}
.three { grid-template-columns: repeat(3, 1fr); }
.grid article {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: .7rem;
  background: #fff;
}
.grid p,
.split p { color: var(--muted); }
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.api {
  background: var(--accent-soft);
  max-width: none;
  padding-left: max(1.5rem, calc((100% - var(--max)) / 2 + 1.5rem));
  padding-right: max(1.5rem, calc((100% - var(--max)) / 2 + 1.5rem));
}

.contact { text-align: center; }
.contact h2 {
  margin-left: auto;
  margin-right: auto;
}

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 1.5rem 7rem;
}
.legal h1 { font-size: clamp(2.8rem, 6vw, 4.5rem); }
.legal h2 {
  font-size: 1.55rem;
  margin: 2.5rem 0 .7rem;
}

footer {
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  color: var(--muted);
}
footer p,
footer small { margin: 0; }
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  padding: .75rem;
  z-index: 2;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav,
  footer div {
    width: 100%;
    max-width: 100%;
    flex-wrap: wrap;
  }

  .hero,
  .split {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    padding-top: 3.5rem;
    min-height: 0;
  }

  .hero > div { min-width: 0; }
  .three { grid-template-columns: 1fr; }
  .actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .hero-card {
    width: 100%;
    max-width: 420px;
  }
  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
