:root {
  color-scheme: light;
  --ink: #14191f;
  --muted: #5a6672;
  --line: #dce5eb;
  --paper: #f6f8fb;
  --surface: #ffffff;
  --mist: #edf7f4;
  --teal: #167a66;
  --teal-dark: #0f594b;
  --blue: #2d649c;
  --amber: #c36d2e;
  --violet: #5a3cb2;
  --shadow: 0 26px 64px rgba(20, 25, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
}

::selection {
  background: rgba(22, 122, 102, 0.18);
}

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

code,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.hero {
  min-height: 80vh;
  padding: 22px clamp(20px, 5vw, 72px) 70px;
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  color: var(--ink);
}

.brand img {
  width: 34px;
  height: 34px;
  display: block;
  border-radius: 22%;
  filter: drop-shadow(0 6px 12px rgba(20, 25, 31, 0.18));
}

.links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}

.links a:hover {
  color: var(--teal-dark);
}

.hero-shell {
  align-self: center;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
  gap: clamp(32px, 7vw, 104px);
  align-items: center;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.hero-content {
  width: min(720px, 100%);
  position: relative;
  z-index: 1;
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 360px;
}

.hero-visual img {
  width: min(38vw, 430px);
  min-width: 270px;
  height: auto;
  display: block;
  border-radius: 22%;
  filter: drop-shadow(var(--shadow));
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: 104px;
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 52px;
  line-height: 1.02;
  letter-spacing: 0;
}

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

.lede {
  max-width: 620px;
  color: var(--muted);
  font-size: 24px;
  line-height: 1.35;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px 16px;
  font-weight: 700;
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(20, 25, 31, 0.04);
  transition: border-color 140ms ease, color 140ms ease, background 140ms ease, transform 140ms ease;
}

.button.primary {
  background: var(--teal);
  border-color: var(--teal);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(22, 122, 102, 0.24);
}

.button:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.button.primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: #ffffff;
}

.button:active {
  transform: translateY(1px);
}

.band {
  padding: 76px clamp(20px, 5vw, 72px);
  background: var(--surface);
}

.band.contrast {
  background: var(--mist);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 820px;
  margin-bottom: 34px;
}

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

article {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--surface);
  box-shadow: 0 16px 34px rgba(20, 25, 31, 0.06);
}

article span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 28px;
  border-radius: 999px;
  background: rgba(45, 100, 156, 0.12);
  color: var(--blue);
  font-weight: 800;
}

article:nth-child(2) span {
  background: rgba(22, 122, 102, 0.13);
  color: var(--teal-dark);
}

article:nth-child(3) span {
  background: rgba(90, 60, 178, 0.12);
  color: var(--violet);
}

article p,
.grid p,
.note {
  color: var(--muted);
  line-height: 1.6;
}

.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 34px;
  align-items: start;
  max-width: 980px;
}

ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

li {
  border-left: 4px solid var(--teal);
  padding: 9px 0 9px 14px;
  background: rgba(255, 255, 255, 0.68);
}

pre {
  max-width: 680px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #14191f;
  color: #edf7f4;
  font-size: 14px;
  line-height: 1.6;
}

.note {
  max-width: 680px;
}

@media (max-width: 780px) {
  .hero {
    min-height: 0;
    padding-top: 18px;
  }

  .nav {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 14px;
  }

  .links {
    width: 100%;
    justify-content: flex-start;
    gap: 10px 14px;
  }

  .hero-content {
    align-self: start;
  }

  .hero-shell {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 44px;
  }

  .hero-visual {
    justify-content: flex-start;
    min-height: 0;
  }

  .hero-visual img {
    width: 220px;
    min-width: 0;
  }

  h1 {
    font-size: 58px;
  }

  h2 {
    font-size: 36px;
  }

  .lede {
    font-size: 20px;
  }

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

  article {
    min-height: 0;
  }
}

@media (max-width: 520px) {
  .hero-content,
  .section-head,
  .lede,
  .note,
  pre {
    max-width: 340px;
  }

  h2 {
    font-size: 32px;
  }
}
