/* One page, no build step. Colours are tokens so the dark scheme is a
   redefinition rather than a second stylesheet. */
:root {
  color-scheme: light dark;
  --bg: #fbfbfa;
  --panel: #ffffff;
  --ink: #16181d;
  --muted: #5c626e;
  --line: #e3e4e8;
  --accent: #1f5f4f;
  --accent-ink: #ffffff;
  --measure: 34rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101216;
    --panel: #171a20;
    --ink: #e9eaee;
    --muted: #9aa1ae;
    --line: #262a33;
    --accent: #5fbfa4;
    --accent-ink: #0c1512;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Inter, Helvetica, Arial, sans-serif;
  text-rendering: optimizeLegibility;
}

.wrap { width: min(70rem, 100% - 2rem); margin-inline: auto; }
header.wrap { display: flex; align-items: center; gap: .75rem; padding: 1.75rem 0; }
.mark { font-weight: 650; letter-spacing: -0.015em; font-size: 1.125rem; }
.pill {
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid var(--line); border-radius: 999px; padding: .15rem .55rem;
  color: var(--muted);
}

.skip {
  position: absolute; left: -9999px;
}
.skip:focus {
  left: 1rem; top: 1rem; background: var(--panel); color: var(--ink);
  padding: .5rem .75rem; border: 1px solid var(--line); border-radius: .4rem; z-index: 10;
}

section { padding: 2.5rem 0; border-top: 1px solid var(--line); }
section:first-of-type { border-top: 0; padding-top: 1rem; }

h1 {
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem);
  line-height: 1.12; letter-spacing: -0.025em; font-weight: 640;
  margin: 0 0 1rem; max-width: 20ch;
}
h2 {
  font-size: clamp(1.25rem, 1.05rem + .7vw, 1.6rem);
  letter-spacing: -0.015em; margin: 0 0 1rem; font-weight: 620;
}
h3 { font-size: 1rem; margin: 0 0 .4rem; font-weight: 620; }

.lead { max-width: var(--measure); margin: 0 0 1rem; font-size: 1.0625rem; }
.muted { color: var(--muted); }

.grid {
  display: grid; gap: 1rem; margin-top: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}
.card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: .7rem; padding: 1.1rem 1.15rem;
}
.card p { margin: 0; color: var(--muted); font-size: .95rem; }

ul.plain { max-width: var(--measure); padding-left: 1.1rem; margin: 0 0 1.25rem; }
ul.plain li { margin-bottom: .6rem; color: var(--muted); }
ul.plain strong { color: var(--ink); font-weight: 600; }

.button {
  display: inline-block; background: var(--accent); color: var(--accent-ink);
  border: 0; border-radius: .5rem; padding: .7rem 1.1rem;
  font: inherit; font-weight: 600; cursor: pointer; text-decoration: none;
}
.button:hover { filter: brightness(1.07); }
.button:focus-visible, input:focus-visible, textarea:focus-visible, a:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
.button[disabled] { opacity: .6; cursor: default; }

form { max-width: var(--measure); }
.field { margin-bottom: 1rem; }
label { display: block; font-size: .9rem; font-weight: 560; margin-bottom: .35rem; }
input, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--panel);
  border: 1px solid var(--line); border-radius: .5rem; padding: .6rem .7rem;
}
textarea { resize: vertical; }
/* A field only a robot fills in. Hidden from people and from screen readers. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.note { font-size: .9rem; margin: .75rem 0 0; max-width: var(--measure); }
.note.bad { color: #b3261e; }
@media (prefers-color-scheme: dark) { .note.bad { color: #f2b8b5; } }

footer.wrap { border-top: 1px solid var(--line); padding: 1.5rem 0 3rem; color: var(--muted); font-size: .9rem; }
a { color: inherit; }
