:root {
  --bg: #0b0c0e;
  --bg-elev: #141518;
  --surface: #1c1c1e;
  --text: #f2f2f7;
  --muted: #98989d;
  --line: #2c2c2e;
  --primary: #0a84ff;
  --primary-soft: #1a2a3d;
  --label: #bdd4ed;
  --radius: 16px;
  --max: 1080px;
  --font: "Roboto", "Segoe UI", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 22px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 60px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--primary);
  color: var(--label);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 16px;
}

.nav-links {
  display: flex;
  gap: 16px;
  margin-left: auto;
  font-size: 14px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 12px;
  padding: 12px 18px;
  font: inherit;
  font-weight: 650;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
  filter: brightness(1.08);
}

.btn-primary {
  background: var(--primary);
  color: var(--label);
}

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
}

.hero {
  padding: 64px 0 40px;
}

.kicker {
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
  max-width: 16ch;
}

.lede {
  margin-top: 16px;
  max-width: 42rem;
  color: var(--muted);
  font-size: 18px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}

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

.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}

.cards-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.card h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.card p,
.prose p {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 28px 0;
}

.section h2 {
  font-size: 22px;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.loop {
  display: flex;
  align-items: stretch;
  gap: 8px;
  flex-wrap: wrap;
}

.loop-step {
  flex: 1;
  min-width: 140px;
  text-align: center;
}

.loop-step strong {
  display: block;
  margin-top: 8px;
}

.loop-step span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}

.dot {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  margin: 0 auto;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 12px;
}

.steps {
  counter-reset: step;
}

.steps li {
  list-style: none;
  padding: 12px 0 12px 44px;
  position: relative;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 12px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.steps strong {
  color: var(--text);
}

.banner {
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 12px;
  padding: 14px 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 13px;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: space-between;
}

.legal h1 {
  font-size: 32px;
  letter-spacing: -0.03em;
  margin: 40px 0 8px;
}

.legal .meta {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 28px;
}

.prose h2 {
  font-size: 18px;
  margin: 22px 0 8px;
}

.prose ul {
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
}

.prose li {
  margin: 6px 0;
}

@media (max-width: 800px) {
  .cards-3,
  .cards-4 {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 40px;
  }
}
