:root {
  color-scheme: dark;
  --gold: #E8B90F;       /* Ink & Seal accent: sparingly */
  --text: #e6edf3;
  --muted: #8b949e;
  --line: #30363d;
  --well: #0d1117;
}
html, body { background: #000; color: var(--text); margin: 0; min-height: 100%; }
body {
  font: 18px/1.5 system-ui, -apple-system, sans-serif;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 100vh; padding: 2rem 16px; box-sizing: border-box;
}
main { width: 100%; max-width: 34rem; min-width: 0; }  /* min-width: the curl line scrolls in its box, never the page */
h1 {
  font-weight: 600; font-size: .95rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 .6rem; text-align: center;
}
.headline {
  margin: 0 0 1rem; text-align: center; color: var(--gold);
  font: 800 clamp(2.4rem, 11vw, 4.2rem)/1.02 system-ui, -apple-system, sans-serif;
  letter-spacing: -.02em; text-wrap: balance;
  text-shadow: 3px 3px 0 #7a2a20, 6px 6px 0 #2a0e0a;  /* the seal's red, set like a title */
}
p { margin: .5rem 0; }
.lede { text-align: center; font-size: 1.15rem; }
.install {
  display: flex; align-items: stretch;
  margin: 1.5rem 0 .4rem;
  background: var(--well); border: 1px solid var(--line); border-left: 3px solid var(--gold);
  border-radius: 6px; max-width: 100%; box-sizing: border-box;
  font: 14px/1.4 ui-monospace, "SF Mono", Menlo, monospace;
}
/* user-select: all sits on the pre, never the row: on the row a hand copy
   would take the button's word too. */
.install pre {
  flex: 1; min-width: 0; margin: 0; padding: .8rem 1rem; overflow-x: auto;
  font: inherit; user-select: all; -webkit-user-select: all;
}
.install code { white-space: pre; }
.copy {
  flex: none; min-width: 9ch; margin: 0; padding: 0 .9rem;
  background: transparent; color: var(--muted); border: 0; border-left: 1px solid var(--line);
  border-radius: 0 6px 6px 0; font: inherit; cursor: pointer;
  user-select: none; -webkit-user-select: none;
}
.copy:hover, .copy:focus-visible { color: var(--gold); }
.copy:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.copy[hidden] { display: none; }  /* a display: rule would beat the hidden attribute */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.hint { color: var(--muted); font-size: .9rem; text-align: center; margin-bottom: 1.5rem; }
.points { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.points li { padding: .45rem 0; border-top: 1px solid var(--line); }
.points li:last-child { border-bottom: 1px solid var(--line); }
.points strong { color: var(--text); font-weight: 600; }
.status { color: var(--muted); font-size: .9rem; text-align: center; }
.links { text-align: center; font-size: .95rem; }
a { color: var(--text); text-decoration-color: var(--gold); text-underline-offset: 3px; }
a:hover, a:focus-visible { color: var(--gold); }
footer { margin-top: 2.5rem; display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.seal {
  display: flex; align-items: center; gap: .6rem;
  color: var(--muted); font-size: .85rem; text-decoration: none;
}
.seal img { border-radius: 50%; display: block; }
.seal:hover span, .seal:focus-visible span { color: var(--gold); }
form { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .75rem; align-items: center; }
input[type=email] {
  background: #000; color: #fff; border: 1px solid #666; border-radius: 4px;
  padding: .6rem .8rem; font: inherit; width: 18rem; max-width: 80vw;
}
button {
  background: #fff; color: #000; border: 0; border-radius: 4px;
  padding: .6rem 1.2rem; font: inherit; cursor: pointer;
}
.consent { font-size: .85rem; color: #aaa; text-align: center; }
