:root {
  --bg: #0d1117;
  --bg-alt: #161b22;
  --border: #2d333b;
  --text: #e6edf3;
  --text-muted: #9198a1;
  --accent: #4f8cc9;
  --accent-bright: #6cb2f5;
  --radius: 10px;
}

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

html {
  scroll-behavior: smooth;
}

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

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

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
header {
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}

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

.brand svg {
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

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

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

/* Hero */
.hero {
  padding: 5rem 0 4rem;
  text-align: center;
}

.hero h1 {
  font-size: 2.75rem;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero .tagline {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 2rem;
}

.cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
}

.cta:hover {
  background: var(--accent-bright);
  text-decoration: none;
}

/* Sections */
section {
  padding: 3.5rem 0;
}

section + section {
  border-top: 1px solid var(--border);
}

h2 {
  font-size: 1.75rem;
  margin-bottom: 1.75rem;
  letter-spacing: -0.01em;
}

/* Feature grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.feature {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.feature h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.feature p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* How it works */
.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 1rem;
}

.steps li {
  counter-increment: step;
  display: flex;
  gap: 1rem;
  align-items: baseline;
}

.steps li::before {
  content: counter(step);
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
}

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

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

/* Contact */
.contact p {
  color: var(--text-muted);
  max-width: 640px;
}

/* Legal pages */
.legal {
  padding: 3rem 0 4rem;
  max-width: 760px;
}

.legal h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.legal .updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.legal h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
}

.legal p,
.legal ul {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.legal ul {
  padding-left: 1.5rem;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 2rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
}

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

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

@media (max-width: 600px) {
  .hero {
    padding: 3.5rem 0 3rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero .tagline {
    font-size: 1.1rem;
  }
}
