:root {
  color-scheme: dark;
  --bg: #07111f;
  --surface: #0d1a2b;
  --text: #f4f7fb;
  --muted: #9caabd;
  --accent: #5eead4;
  --line: #223149;
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
}

.page {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0;
}

.hero {
  min-height: 72vh;
  display: grid;
  align-content: center;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 980px;
  font-size: clamp(3rem, 8vw, 6.75rem);
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.8rem);
}

.lead {
  max-width: 760px;
  margin: 28px 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.domain {
  margin: 0 0 28px;
  color: var(--muted);
}

.domain strong {
  color: var(--accent);
}

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

.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #06111d;
}

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

article,
.flow {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 28px;
}

article span {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
}

article p,
.flow li {
  color: var(--muted);
}

code {
  color: var(--accent);
}

.flow {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
}

.flow ol {
  margin: 0;
  padding-left: 22px;
}

@media (max-width: 820px) {
  .page {
    width: min(100% - 28px, 1120px);
    padding: 40px 0;
  }

  .hero {
    min-height: auto;
    padding: 72px 0;
  }

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