:root {
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --accent: #2563eb;
  --bg: #ffffff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--line);
}

.brand { font-weight: 700; letter-spacing: -0.02em; font-size: 1.25rem; }
.nav-link { color: var(--accent); text-decoration: none; font-weight: 500; }

main { max-width: 68rem; margin: 0 auto; padding: 0 1.5rem; }

.hero { padding: 4rem 0 3rem; max-width: 44rem; }
.hero h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.15; letter-spacing: -0.03em; margin: 0 0 1rem; }
.lead { font-size: 1.125rem; color: var(--muted); margin: 0 0 2rem; }

.search { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.search input {
  flex: 1 1 12rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  font-size: 1rem;
}
.search input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.search button {
  padding: 0.75rem 1.5rem;
  border: 0;
  border-radius: 0.5rem;
  background: var(--accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}
.search button:hover { background: #1d4ed8; }

.note { color: var(--muted); font-size: 0.875rem; margin-top: 1rem; }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 2rem;
  padding: 2rem 0 4rem;
  border-top: 1px solid var(--line);
}
.steps h2 { font-size: 1rem; margin: 0 0 0.5rem; }
.steps p { color: var(--muted); margin: 0; font-size: 0.9375rem; }

footer {
  border-top: 1px solid var(--line);
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.875rem;
}
footer a { color: var(--muted); }

@media (prefers-color-scheme: dark) {
  :root { --ink: #e2e8f0; --muted: #94a3b8; --line: #1e293b; --bg: #0b1120; }
  .search input { background: #111c33; color: var(--ink); }
}
