:root {
  color-scheme: light;
  --paper: #fbf7f4;
  --surface: #fffdfb;
  --ink: #171417;
  --muted: #302831;
  --accent: #841344;
  --pink: #ffe5ed;
  --line: #ddcdd3;
  --radius: 22px;
  --sans: "Pin Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.68 var(--sans);
}
a { color: inherit; text-underline-offset: 0.2em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
section { scroll-margin-top: 24px; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
h1, h2, h3 { line-height: 1.15; text-wrap: balance; }
h2 { font-size: clamp(1.7rem, 4.4vw, 2.6rem); letter-spacing: -0.045em; }
h3 { font-size: 1.22rem; letter-spacing: -0.035em; }
ul { padding-inline-start: 1.2em; }
li + li { margin-top: 0.6em; }
li::marker { color: var(--accent); }
.wrap { width: min(1112px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: fixed; inset: 12px auto auto 12px; z-index: 2; padding: 10px 14px; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; }

.banner { border-bottom: 1px solid var(--line); }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.wordmark { font-size: 1.9rem; font-weight: 800; font-style: italic; line-height: 1; letter-spacing: -0.055em; }
.nav { display: flex; align-items: center; gap: clamp(12px, 3vw, 30px); font-size: 0.9rem; font-weight: 650; }
.nav a { display: inline-grid; align-items: center; min-height: 44px; text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; }
.nav a[aria-current="page"] { color: var(--accent); }

.hero { padding-block: 24px 32px; }
.hero-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding: clamp(16px, 2.8vw, 30px);
  border: 1px solid #f1cbd7;
  border-radius: 20px;
  background: radial-gradient(ellipse at 98% 90%, #ffc3d9 0, transparent 58%), #ffe8ee;
}
.hero-copy { flex: 1 1 360px; min-width: 0; }
.kicker { color: var(--accent); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
h1 { margin-bottom: 6px; font-size: clamp(1.65rem, 4.4vw, 3rem); font-weight: 800; letter-spacing: -0.055em; }
h1 span { color: var(--accent); }
.intro { color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--ink);
  border-radius: 11px;
  color: white;
  background: var(--ink);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}
.button:hover { color: white; background: var(--accent); border-color: var(--accent); }
.download { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 0.9rem; font-weight: 750; }

.guide { width: min(932px, 100%); margin-inline: auto; }
.rulebook-index { padding: 0 0 48px; list-style: none; }
.rulebook-index li { margin-top: 0; }
.rulebook-index a { display: inline-flex; min-height: 44px; align-items: center; color: var(--accent); font-weight: 700; }
.must-haves { margin-bottom: 32px; }
.must-haves h2 { margin-bottom: 12px; font-size: 1.35rem; letter-spacing: -0.035em; }
.section-head { margin-bottom: 22px; }
.setup { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 14px; }
.card { min-width: 0; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); padding: clamp(20px, 4vw, 32px); }
.card h3 { margin: 7px 0 15px; }
.card p + p { margin-top: 12px; }
.profile { display: grid; gap: 14px; margin-top: 21px; padding-top: 20px; border-top: 1px solid var(--line); }
.profile dt { font-weight: 750; }
.profile dd { color: var(--muted); }
.handles { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
code {
  font-family: var(--mono);
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  font-size: 0.83em;
  overflow-wrap: anywhere;
}
.bios { background: #fff0f4; border-color: #efced9; }
.bio-list { padding: 0; list-style: none; }
.bio-list li { margin: 0; padding: 10px 0; border-top: 1px solid #efced9; }
.bio-list li:last-child { border-bottom: 1px solid #efced9; }
.bio-note { margin-top: 13px; color: var(--muted); font-size: 0.92rem; }
.submit-card { margin-top: 14px; }
.submit-card h3 { margin-bottom: 10px; }

.setup-guide { padding-bottom: 48px; }
.submit-card .download { margin-top: 8px; }
.cadence {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 18px;
  padding: 16px 20px;
  border-radius: 13px;
  background: var(--pink);
  color: var(--ink);
}
.cadence strong { color: var(--ink); }
.timeline { margin-top: 12px; }
.phase { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 16px; padding-block: 27px; border-bottom: 1px solid var(--line); }
.day { color: var(--accent); font-weight: 800; padding-top: 2px; }
.phase h3 { margin-bottom: 12px; font-size: clamp(1.3rem, 3vw, 1.65rem); }
.phase h4 { margin: 18px 0 8px; }
.phase p + p { margin-top: 12px; }
.phase-copy > ul { margin-top: 12px; }
.phase-copy > details { margin-top: 16px; }
details { border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
summary { padding: 12px 16px; cursor: pointer; font-weight: 750; }
summary::marker { color: var(--accent); }
details[open] summary { border-bottom: 1px solid var(--line); }
.topics-grid, .searches { padding: 16px; }
.topics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.topics-grid h4 { margin-top: 0; }
.phrase-list { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; list-style: none; font-family: var(--mono); }
.phrase-list li { min-width: 0; margin: 0; border: 1px solid var(--line); padding: 5px 9px; border-radius: 8px; background: var(--paper); font-size: 0.9rem; overflow-wrap: anywhere; }
.first-post { scroll-margin-top: 24px; }

.reminders { margin: 40px 0 60px; background: #251923; color: #fff8f9; border-color: #251923; }
.reminders h2 { margin-bottom: 15px; font-size: 1.6rem; letter-spacing: -0.035em; text-align: start; }
.reminders li::marker { color: #ffadc9; }
.reminders p { margin-top: 15px; color: #ffd6e4; }
.footer { border-top: 1px solid var(--line); }
.footer .wrap { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding-block: 18px; }
.footer a { font-size: 0.9rem; font-weight: 650; }

@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .hero { padding-block: 16px 24px; }
  .setup { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .topbar { min-height: 62px; gap: 8px; }
  .nav { flex-wrap: wrap; gap: 0 clamp(7px, 2vw, 12px); font-size: 0.8rem; }
  .wordmark { font-size: 1.65rem; }
  .phase { grid-template-columns: 1fr; gap: 5px; padding-block: 23px; }
  .topics-grid { grid-template-columns: 1fr; gap: 14px; }
}
@media print {
  body, .hero-panel, .card, .cadence, .reminders { color: black; background: white; }
  .wrap { width: 100%; }
  .nav, .actions, .footer { display: none; }
  .hero { padding-block: 12px 20px; }
  .hero-panel { display: block; padding: 15px; }
  h1 { font-size: 2.4rem; }
  .card, .phase { break-inside: avoid; }
  .reminders p { color: black; }
  details:not([open]) > :not(summary) { display: block; }
  details::details-content { display: block; content-visibility: visible; }
}
