:root {
  --color-bg: #0b0f14;
  --color-surface: #121820;
  --color-border: #22303c;
  --color-text: #e7edf2;
  --color-text-muted: #9fb0bd;
  --color-accent: #4ea8de;
  --color-accent-strong: #2f8fcf;
  --max-width: 1080px;
  --radius: 10px;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

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

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

a:hover,
a:focus-visible {
  text-decoration: underline;
}

.site-header {
  border-bottom: 1px solid var(--color-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-text);
}

.brand-mark {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.nav nav {
  display: flex;
  gap: 24px;
}

.nav nav a {
  color: var(--color-text-muted);
  font-weight: 500;
}

.hero {
  padding: 96px 24px 64px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 16px;
}

.lede {
  color: var(--color-text-muted);
  font-size: 1.125rem;
  max-width: 640px;
  margin: 0 auto 32px;
}

.cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.button {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
}

.button-primary {
  background: var(--color-accent);
  color: #06141c;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--color-accent-strong);
  text-decoration: none;
}

.button-secondary {
  border: 1px solid var(--color-border);
  color: var(--color-text);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--color-accent);
  text-decoration: none;
}

.features,
.how {
  padding: 64px 24px;
  border-top: 1px solid var(--color-border);
}

.features h2,
.how h2 {
  text-align: center;
  margin-bottom: 40px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
}

.feature-card h3 {
  margin-top: 0;
}

.feature-card p {
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.steps {
  max-width: 640px;
  margin: 0 auto;
  padding: 0;
  counter-reset: step;
  list-style: none;
}

.steps li {
  padding: 12px 0 12px 40px;
  position: relative;
  color: var(--color-text-muted);
}

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

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #06141c;
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 32px 24px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--color-text-muted);
}

.not-found {
  padding: 120px 24px;
  text-align: center;
}

.not-found h1 {
  font-size: 4rem;
  margin: 0;
}
