:root {
  color-scheme: dark;
  --bg: #07111f;
  --panel: #0b1728;
  --line: #28415f;
  --text: #f4f8fc;
  --muted: #a9bdd2;
  --green: #49e3a4;
  --blue: #62b7ff;
  --orange: #ffad66;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: radial-gradient(circle at 80% 0, #102b48 0, var(--bg) 34rem);
  color: var(--text);
  line-height: 1.65;
}

a { color: var(--blue); }
a:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }

main, footer {
  width: min(72rem, calc(100% - 2rem));
  margin: auto;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
}

nav a { margin-left: 1rem; }

.hero { padding: 5rem 0 3rem; }
.eyebrow { color: var(--green); font-family: ui-monospace, monospace; }

h1 {
  max-width: 18ch;
  margin: .5rem 0 1rem;
  font-size: clamp(2.7rem, 7vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}

h2 { margin-top: 4rem; font-size: clamp(1.8rem, 4vw, 2.7rem); }
p { max-width: 68ch; color: var(--muted); }

.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0; }
.button {
  display: inline-block;
  padding: .75rem 1rem;
  border: 1px solid var(--line);
  border-radius: .6rem;
  color: var(--text);
  text-decoration: none;
  background: var(--panel);
}
.button.primary { color: #042217; background: var(--green); border-color: var(--green); font-weight: 700; }

pre, .card {
  overflow-x: auto;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: .8rem;
  background: var(--panel);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.state { font-family: ui-monospace, monospace; font-weight: 700; }
.pass { color: var(--green); }
.exact { color: var(--blue); }
.stale { color: var(--orange); }

footer { padding: 5rem 0 3rem; color: var(--muted); }

@media (max-width: 720px) {
  .grid { grid-template-columns: 1fr; }
  .hero { padding-top: 3rem; }
  nav a:not(:last-child) { display: none; }
}
