/* One stylesheet, no build step: the marketing site is plain files nginx serves. */
:root {
  color-scheme: light dark;
  --bg: #fbfbfd;
  --surface: #ffffff;
  --border: #e4e4e9;
  --ink: #16161d;
  --muted: #5c5c6b;
  --accent: #4338ca;
  --accent-ink: #ffffff;
  --radius: 14px;
  --measure: 68ch;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0f14;
    --surface: #17171f;
    --border: #2a2a36;
    --ink: #f2f2f6;
    --muted: #a3a3b2;
    --accent: #a5b4fc;
    --accent-ink: #13131a;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    17px/1.65 ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.wrap {
  width: min(100% - 2.5rem, 1080px);
  margin-inline: auto;
}

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

header.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.9rem;
}

.brand {
  font-weight: 650;
  letter-spacing: -0.015em;
  text-decoration: none;
}

.brand span {
  color: var(--accent);
}

nav.top-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.95rem;
}

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

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

.button {
  display: inline-block;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
}

.button.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}

.button:hover {
  filter: brightness(1.08);
}

section {
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  max-width: 20ch;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

h3 {
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
}

p {
  max-width: var(--measure);
  margin: 0 0 1rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
}

.muted {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 1rem;
  padding: 0;
  margin: 2rem 0 0;
  list-style: none;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.steps li {
  counter-increment: step;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.cards {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

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

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

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

dl.faq {
  margin: 2rem 0 0;
  display: grid;
  gap: 1.5rem;
}

dl.faq dt {
  font-weight: 650;
  margin-bottom: 0.35rem;
}

dl.faq dd {
  margin: 0;
  color: var(--muted);
  max-width: var(--measure);
}

footer.bottom {
  border-top: 1px solid var(--border);
  padding-block: 2.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

footer.bottom .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
}

footer.bottom a {
  color: var(--muted);
}

.prose h2 {
  margin-top: 2.5rem;
}

.prose li {
  max-width: var(--measure);
  margin-bottom: 0.4rem;
}

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