:root {
  --bg: #000000;
  --fg: #f4f2ef;
  --muted: #a39e98;
  --card: #161311;
  --border: #2a2723;
  --terracotta: #e4744b;
  --gold: #e0af3b;
  --teal: #38abb1;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --max: 60rem;
}

* {
  box-sizing: border-box;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--fg);
  font-family: "Geist", ui-sans-serif, system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* Same faint dot-grid as the app. */
  background-image: radial-gradient(circle at 2px 2px, rgb(255 255 255 / 0.16) 2px, transparent 0);
  background-size: 36px 36px;
  background-position: 18px 18px;
  background-attachment: fixed;
}

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

/* ---- nav ---- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}
.wordmark {
  font-family: "Space Mono", ui-monospace, monospace;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.15s var(--ease),
    background-color 0.15s var(--ease),
    border-color 0.15s var(--ease),
    color 0.15s var(--ease);
}
.btn:active {
  transform: scale(0.97);
}
.btn-primary {
  background: var(--fg);
  color: #161311;
}
.btn-primary:hover {
  background: #ffffff;
}
.btn-outline {
  border-color: var(--border);
  color: var(--fg);
}
.btn-outline:hover {
  border-color: rgb(255 255 255 / 0.4);
  background: rgb(255 255 255 / 0.04);
}
.btn-ghost {
  color: var(--muted);
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
}
.btn-ghost:hover {
  color: var(--fg);
}

/* ---- hero ---- */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5rem 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.logo {
  width: 118px;
  height: auto;
  margin-bottom: 2.5rem;
}
.logo text {
  font-family: "Space Mono", ui-monospace, monospace;
  font-weight: 700;
  font-size: 30px;
  text-anchor: middle;
  dominant-baseline: central;
}
.eyebrow {
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.1rem;
}
h1 {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.lead {
  margin-top: 1.25rem;
  max-width: 44ch;
  color: var(--muted);
  font-size: 1.05rem;
}
.cta-row {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* ---- sections ---- */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
.section-title {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.card {
  border: 1px solid var(--border);
  background: rgb(255 255 255 / 0.02);
  border-radius: 0.9rem;
  padding: 1.5rem;
}
.card .dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  margin-bottom: 0.9rem;
}
.card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.card p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---- steps ---- */
.steps {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.steps li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.step-num {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid;
  border-radius: 0.5rem;
  font-family: "Space Mono", ui-monospace, monospace;
  font-weight: 700;
}
.steps h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.steps p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---- footer ---- */
.footer {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding: 2rem 1.5rem 3rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.85rem;
}
.footer-mark {
  font-family: "Space Mono", ui-monospace, monospace;
  font-weight: 700;
  color: var(--fg);
}
.footer-links {
  display: flex;
  gap: 1.25rem;
}
.footer-links a:hover {
  color: var(--fg);
}

@media (max-width: 640px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn {
    transition: none;
  }
}
