:root {
  --bg: #ffffff;
  --text: #2B0A0F;
  --muted: #7a5c60;
  --accent: #9E1B26;
  --line: #eadfe0;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1a0609;
    --text: #ffffff;
    --muted: #c4a9ac;
    --accent: #C0303B;
    --line: #3a1a1f;
  }
}

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

body {
  background: var(--bg);
  color: var(--text);
  font: 17px/1.5 -apple-system, BlinkMacSystemFont, "Inter", system-ui, sans-serif;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

header { padding: 40px 0; }
.logo { height: 48px; width: auto; display: block; }

.hero { padding: 80px 0 96px; }
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 14em;
}
.hero p { margin-top: 20px; font-size: 1.2rem; color: var(--muted); }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  padding: 48px 0;
  border-top: 1px solid var(--line);
}
.features h2 { font-size: 1rem; color: var(--accent); margin-bottom: 4px; }
.features p { color: var(--muted); }

.how { padding: 48px 0 80px; border-top: 1px solid var(--line); }
.how ol {
  list-style: none;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: 16px;
}
.how li {
  counter-increment: step;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.15rem;
}
.how li::before {
  content: counter(step);
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
}

footer {
  padding: 32px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
