/* Colours come from the logo: near-black to red. */
:root {
  --bg: #efe8df;
  --card: #fffdfa;
  --ink: #1f1a1a;
  --soft: #625a58;
  --red: #b30103;
  --rule: #e3dad0;
  --glow: rgba(201, 1, 3, 0.16);
  --shade: rgba(8, 1, 1, 0.08);
  --tiles: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='190' height='190' opacity='0.09'%3E%3Cg transform='translate(18 22) rotate(-8 17 17)'%3E%3Crect width='34' height='34' rx='7' fill='%23ffffff' stroke='%23b30103' stroke-width='1.5'/%3E%3Ctext x='17' y='24' text-anchor='middle' font-family='Arial,Helvetica,sans-serif' font-weight='700' font-size='18' fill='%23b30103'%3EM%3C/text%3E%3C/g%3E%3Cg transform='translate(96 14) rotate(6 17 17)'%3E%3Crect width='34' height='34' rx='7' fill='%23ffffff' stroke='%23b30103' stroke-width='1.5'/%3E%3Ctext x='17' y='24' text-anchor='middle' font-family='Arial,Helvetica,sans-serif' font-weight='700' font-size='18' fill='%23b30103'%3ER%3C/text%3E%3C/g%3E%3Cg transform='translate(58 92) rotate(-4 17 17)'%3E%3Crect width='34' height='34' rx='7' fill='%23ffffff' stroke='%23b30103' stroke-width='1.5'/%3E%3Ctext x='17' y='24' text-anchor='middle' font-family='Arial,Helvetica,sans-serif' font-weight='700' font-size='18' fill='%23b30103'%3EG%3C/text%3E%3C/g%3E%3Cg transform='translate(128 104) rotate(9 17 17)'%3E%3Crect width='34' height='34' rx='7' fill='%23ffffff' stroke='%23b30103' stroke-width='1.5'/%3E%3Ctext x='17' y='24' text-anchor='middle' font-family='Arial,Helvetica,sans-serif' font-weight='700' font-size='18' fill='%23b30103'%3ES%3C/text%3E%3C/g%3E%3Cg transform='translate(10 140) rotate(4 17 17)'%3E%3Crect width='34' height='34' rx='7' fill='%23ffffff' stroke='%23b30103' stroke-width='1.5'/%3E%3Ctext x='17' y='24' text-anchor='middle' font-family='Arial,Helvetica,sans-serif' font-weight='700' font-size='18' fill='%23b30103'%3EO%3C/text%3E%3C/g%3E%3Cg transform='translate(150 48) rotate(-6 17 17)'%3E%3Crect width='34' height='34' rx='7' fill='%23ffffff' stroke='%23b30103' stroke-width='1.5'/%3E%3Ctext x='17' y='24' text-anchor='middle' font-family='Arial,Helvetica,sans-serif' font-weight='700' font-size='18' fill='%23b30103'%3ED%3C/text%3E%3C/g%3E%3C/svg%3E");
  --shadow: 0 1px 2px rgba(31, 26, 26, 0.06), 0 12px 40px rgba(31, 26, 26, 0.10);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0c0c;
    --card: #1a1616;
    --ink: #f2ece2;
    --soft: #b5aaa6;
    --red: #ff6159;
    --rule: #342b29;
    --glow: rgba(229, 1, 1, 0.22);
    --shade: rgba(0, 0, 0, 0.35);
    --tiles: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='190' height='190' opacity='0.07'%3E%3Cg transform='translate(18 22) rotate(-8 17 17)'%3E%3Crect width='34' height='34' rx='7' fill='%231b1717' stroke='%23f2ece2' stroke-width='1.5'/%3E%3Ctext x='17' y='24' text-anchor='middle' font-family='Arial,Helvetica,sans-serif' font-weight='700' font-size='18' fill='%23f2ece2'%3EM%3C/text%3E%3C/g%3E%3Cg transform='translate(96 14) rotate(6 17 17)'%3E%3Crect width='34' height='34' rx='7' fill='%231b1717' stroke='%23f2ece2' stroke-width='1.5'/%3E%3Ctext x='17' y='24' text-anchor='middle' font-family='Arial,Helvetica,sans-serif' font-weight='700' font-size='18' fill='%23f2ece2'%3ER%3C/text%3E%3C/g%3E%3Cg transform='translate(58 92) rotate(-4 17 17)'%3E%3Crect width='34' height='34' rx='7' fill='%231b1717' stroke='%23f2ece2' stroke-width='1.5'/%3E%3Ctext x='17' y='24' text-anchor='middle' font-family='Arial,Helvetica,sans-serif' font-weight='700' font-size='18' fill='%23f2ece2'%3EG%3C/text%3E%3C/g%3E%3Cg transform='translate(128 104) rotate(9 17 17)'%3E%3Crect width='34' height='34' rx='7' fill='%231b1717' stroke='%23f2ece2' stroke-width='1.5'/%3E%3Ctext x='17' y='24' text-anchor='middle' font-family='Arial,Helvetica,sans-serif' font-weight='700' font-size='18' fill='%23f2ece2'%3ES%3C/text%3E%3C/g%3E%3Cg transform='translate(10 140) rotate(4 17 17)'%3E%3Crect width='34' height='34' rx='7' fill='%231b1717' stroke='%23f2ece2' stroke-width='1.5'/%3E%3Ctext x='17' y='24' text-anchor='middle' font-family='Arial,Helvetica,sans-serif' font-weight='700' font-size='18' fill='%23f2ece2'%3EO%3C/text%3E%3C/g%3E%3Cg transform='translate(150 48) rotate(-6 17 17)'%3E%3Crect width='34' height='34' rx='7' fill='%231b1717' stroke='%23f2ece2' stroke-width='1.5'/%3E%3Ctext x='17' y='24' text-anchor='middle' font-family='Arial,Helvetica,sans-serif' font-weight='700' font-size='18' fill='%23f2ece2'%3ED%3C/text%3E%3C/g%3E%3C/svg%3E");
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 40px rgba(0, 0, 0, 0.45);
  }
}
* { box-sizing: border-box; }
html {
  min-height: 100%;
  color: var(--ink);
  background:
    radial-gradient(48rem 32rem at 88% -6rem, var(--glow), transparent 70%),
    radial-gradient(40rem 30rem at -8% 105%, var(--shade), transparent 70%),
    var(--tiles),
    var(--bg);
}
/* The page is a card on the patterned background, on phones and desktops alike;
   a thin bar in the logo's gradient runs along its top. */
body {
  max-width: 42rem;
  margin: 0.75rem;
  padding: 2.25rem 1.25rem 1.5rem;
  border-radius: 1rem;
  background:
    linear-gradient(90deg, #080101, #700104 45%, #c90103 80%, #e50101) top / 100% 6px no-repeat,
    var(--card);
  box-shadow: var(--shadow);
  font: 1.0625rem/1.6 Georgia, "Times New Roman", serif;
}
@media (min-width: 46rem) {
  body { margin: 3.5rem auto; padding: 3.25rem 3.5rem 2rem; border-radius: 1.25rem; }
}
h1, h2, .home, footer {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.logo { margin: 0 0 1.5rem; line-height: 0; }
.logo img { display: block; width: 13.75rem; max-width: 70%; height: auto; }
.home a { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; text-decoration: none; }
.home img { border-radius: 0.4rem; }
h1 { margin: 0 0 0.5rem; font-size: 2.25rem; line-height: 1.15; letter-spacing: -0.01em; }
h2 {
  margin: 2.5rem 0 0.5rem;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--soft);
}
.lead { margin: 0 0 1rem; font-size: 1.4rem; line-height: 1.35; }
ul { margin: 0; padding: 0; list-style: none; }
li { padding: 0.45rem 0 0.45rem 1.1rem; border-bottom: 1px solid var(--rule); position: relative; }
li:first-child { border-top: 1px solid var(--rule); }
li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 0.12rem;
  background: var(--red);
}
a { color: var(--red); text-underline-offset: 0.15em; }
a:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
footer {
  margin-top: 3.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  font-size: 0.875rem;
  color: var(--soft);
}
footer p { margin: 0.25rem 0; }
