:root {
  --accent: #8a4a9e;
  --accent-ink: #6f3a80;
  --ink: #4a2a5a;
  --ink-muted: #63456f;
  --ink-subtle: #866b91;
  --surface: #fdf3fb;
  --surface-sunken: #f6e6f3;
  --line: #e6cfe2;
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent: #d9a2e8;
    --accent-ink: #e7c2f2;
    --ink: #f4e8f5;
    --ink-muted: #cbb3d2;
    --ink-subtle: #a288ac;
    --surface: #241730;
    --surface-sunken: #31213f;
    --line: #453052;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

.wrap {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

header.masthead {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.mark {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  flex: none;
}

@media (prefers-color-scheme: dark) {
  .mark { color: #241730; }
}

.masthead h1 {
  font-size: 1.35rem;
  margin: 0;
  letter-spacing: -0.01em;
}

.masthead p {
  margin: 0.1rem 0 0;
  color: var(--ink-subtle);
  font-size: 0.9rem;
}

h2 {
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  margin: 2.5rem 0 0.75rem;
}

h3 {
  font-size: 1rem;
  margin: 1.75rem 0 0.5rem;
}

p, li { color: var(--ink-muted); }

p { margin: 0.75rem 0; }

ul { padding-left: 1.2rem; }

li { margin: 0.4rem 0; }

strong { color: var(--ink); font-weight: 600; }

a { color: var(--accent-ink); }

a:hover { text-decoration: none; }

.lede {
  font-size: 1.05rem;
  color: var(--ink-muted);
}

.cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  margin: 0.5rem 0;
}

@media (prefers-color-scheme: dark) {
  .cta { color: #241730; }
}

.cta:hover { background: var(--accent-ink); }

.card {
  background: var(--surface-sunken);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.1rem 1.25rem;
  margin: 1.25rem 0;
}

.card :first-child { margin-top: 0; }
.card :last-child { margin-bottom: 0; }

.updated {
  color: var(--ink-subtle);
  font-size: 0.875rem;
  margin-top: -0.25rem;
}

footer {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--ink-subtle);
  font-size: 0.875rem;
}

footer a { color: var(--ink-subtle); }
