/* ============================================================
   THE STYLING. This file decides how things look — colours,
   spacing, size. It never decides what things *do*.
   Try changing --accent to #d946ef and redeploying.
   ============================================================ */

:root {
  --bg: #0b1020;
  --card: #131a2f;
  --line: #26304d;
  --text: #e8ecf7;
  --muted: #97a3c0;
  --accent: #38bdf8;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 2rem 1.25rem 4rem;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

main { max-width: 40rem; margin: 0 auto; }

.eyebrow {
  margin: 0 0 .5rem;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 6vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

#who { color: var(--accent); }

.lede { color: var(--muted); margin: 0 0 2rem; }

button {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 0;
  border-radius: .75rem;
  background: var(--accent);
  color: #06121c;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
button:hover { filter: brightness(1.08); }
button:disabled { opacity: .55; cursor: progress; }

section {
  margin-top: 2rem;
  padding: 1.25rem 1.4rem 1.4rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: .9rem;
}

h2 { margin: 0 0 1rem; font-size: 1rem; letter-spacing: .01em; }

dl { margin: 0; display: grid; grid-template-columns: 1fr; gap: .1rem 1rem; }
@media (min-width: 30rem) { dl { grid-template-columns: 11rem 1fr; } }

dt { color: var(--muted); font-size: .85rem; }
dd { margin: 0 0 .7rem; font-variant-numeric: tabular-nums; }

.note { color: var(--muted); font-size: .88rem; margin: 1.1rem 0 0; }

code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: .88em;
  background: #0b1020;
  border: 1px solid var(--line);
  border-radius: .3rem;
  padding: .1rem .35rem;
}

details { margin-top: 1rem; }
summary { cursor: pointer; color: var(--muted); font-size: .88rem; }

pre {
  margin: .75rem 0 0;
  padding: .9rem;
  background: #070b16;
  border: 1px solid var(--line);
  border-radius: .6rem;
  overflow-x: auto;
  font-size: .8rem;
}

footer {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .82rem;
}
footer p { margin: 0; }
