:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #4b5563;
  --paper: #f8fafc;
  --line: #d6dee8;
  --teal: #0ea5a3;
  --orange: #f97316;
  --red: #dc2626;
  --navy: #0f172a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.topbar {
  align-items: center;
  background: rgba(248, 250, 252, 0.94);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 800;
  gap: 10px;
}

.brand img {
  border-radius: 8px;
  height: 36px;
  object-fit: contain;
  width: 36px;
}

nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
}

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

.hero {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  min-height: calc(100vh - 96px);
  padding: 62px clamp(24px, 6vw, 84px) 48px;
}

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

.eyebrow {
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

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

h1 {
  color: var(--navy);
  font-size: 128px;
  letter-spacing: 0;
  line-height: 0.86;
  margin-bottom: 26px;
}

h2 {
  color: var(--navy);
  font-size: 64px;
  letter-spacing: 0;
  line-height: 0.98;
  margin-bottom: 18px;
}

h3 {
  color: var(--navy);
  font-size: 24px;
  letter-spacing: 0;
  margin-bottom: 8px;
}

.lede {
  color: var(--muted);
  font-size: 32px;
  line-height: 1.16;
  margin-bottom: 34px;
  max-width: 820px;
}

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

.button {
  align-items: center;
  border: 1px solid var(--navy);
  border-radius: 8px;
  display: inline-flex;
  font-size: 16px;
  font-weight: 750;
  min-height: 48px;
  padding: 0 18px;
}

.button.primary {
  background: var(--navy);
  color: white;
}

.button.secondary {
  background: white;
  color: var(--navy);
}

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

.hero-media {
  display: grid;
  justify-items: center;
}

.hero-media img {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 22px 70px rgba(15, 23, 42, 0.14);
  max-height: min(56vh, 560px);
  max-width: 100%;
  object-fit: contain;
  width: min(560px, 100%);
}

.workflow,
.proof,
.install {
  border-top: 1px solid var(--line);
  padding: 68px clamp(24px, 6vw, 84px);
}

.legal {
  max-width: 920px;
  padding: 68px clamp(24px, 6vw, 84px);
}

.legal h1 {
  font-size: 72px;
  line-height: 0.95;
}

.legal h2 {
  font-size: 34px;
  margin-top: 42px;
}

.legal p {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.5;
}

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

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

.steps article {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 190px;
  padding: 22px;
}

.steps span {
  color: var(--orange);
  display: inline-block;
  font-size: 13px;
  font-weight: 850;
  margin-bottom: 34px;
}

.steps p,
.proof p,
.install p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}

.proof-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 30px;
}

.proof-grid a {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  min-height: 150px;
  padding: 22px;
}

.proof-grid a:hover {
  border-color: var(--teal);
}

.proof-grid span {
  color: var(--orange);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.proof-grid strong {
  color: var(--navy);
  font-size: 22px;
  line-height: 1.15;
}

.install {
  align-items: start;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
}

pre {
  background: var(--navy);
  border-radius: 8px;
  color: white;
  margin: 0;
  overflow-wrap: anywhere;
  overflow-x: hidden;
  padding: 24px;
  white-space: pre-wrap;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 15px;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
}

@media (max-width: 860px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 16px 20px;
    position: static;
  }

  nav {
    flex-wrap: wrap;
    gap: 14px;
  }

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

  .hero {
    min-height: auto;
    padding-top: 38px;
  }

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

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    justify-items: start;
  }

  h1 {
    font-size: 68px;
  }

  h2 {
    font-size: 38px;
  }

  .lede {
    font-size: 23px;
  }
}
