:root {
  --board: #f3e9d8; --paper: #fffdf7; --ink: #26332d; --muted: #55645b;
  --green: #28634b; --green-ink: #ffffff; --tab: #f2c85b; --on-tab: #1b2420;
  --border: #d9cfbd; --dot: rgb(197 138 80 / 0.22);
  --serif: Newsreader, Georgia, "Times New Roman", serif;
  --sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --board: #171a18; --paper: #232824; --ink: #f3f0e7; --muted: #b7c0b8;
    --green: #85c8a4; --green-ink: #10241a; --tab: #e9bd4e; --border: #3a423c; --dot: rgb(105 72 47 / 0.35);
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--board); color: var(--ink); font: 400 1rem/1.55 var(--sans);
  background-image: radial-gradient(var(--dot) 1px, transparent 1px); background-size: 14px 14px;
}
a { color: var(--green); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--tab); outline-offset: 3px; box-shadow: 0 0 0 5px var(--ink); }
.wrap { width: min(100% - 2rem, 62rem); margin-inline: auto; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.25rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.brand svg { width: 2.25rem; height: 2.25rem; flex: none; }
.brand b { color: var(--green); font-weight: 800; }
.pill { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--tab); color: var(--on-tab); font-weight: 800; font-size: 0.85rem; letter-spacing: 0.02em; padding: 0.35rem 0.85rem; border-radius: 999px; border: 1px solid rgb(0 0 0 / 0.25); }
.pill::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--on-tab); }

/* the hero is a flyer with tear-off tabs */
.flyer { background: var(--paper); border: 1px solid var(--border); border-radius: 4px; box-shadow: 0 1px 2px rgb(0 0 0 / 0.14), 0 14px 30px -18px rgb(0 0 0 / 0.45); margin-block: 1rem 0; overflow: hidden; }
.flyer-body { padding: clamp(1.5rem, 5vw, 3.5rem) clamp(1.25rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 2.5rem); }
.eyebrow { margin: 0 0 1rem; font-weight: 800; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); }
h1 { margin: 0 0 1rem; font: 700 clamp(2.25rem, 7vw, 4.25rem)/1.05 var(--serif); letter-spacing: -0.02em; text-wrap: balance; }
.lead { margin: 0; max-width: 40rem; font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: var(--muted); }
.lead strong { color: var(--ink); }
.cut { display: flex; align-items: center; gap: 0.75rem; padding: 0 clamp(1.25rem, 5vw, 3.5rem); color: var(--muted); font-size: 0.75rem; letter-spacing: 0.04em; }
.cut::before, .cut::after { content: ""; flex: 1; border-top: 2px dashed var(--muted); opacity: 0.6; }
.tabs { display: grid; grid-template-columns: repeat(8, 1fr); margin: 0.5rem clamp(1.25rem, 5vw, 3.5rem) 0; padding: 0; list-style: none; }
.tabs li { border-inline: 1px dashed var(--muted); border-bottom: 0; text-align: center; padding: 0.75rem 0; display: grid; place-items: center; transform-origin: top center; }
.tabs li + li { border-left: 0; }
.tabs span { writing-mode: vertical-rl; transform: rotate(180deg); font-weight: 800; font-size: clamp(0.7rem, 1.6vw, 0.95rem); letter-spacing: 0.05em; color: var(--ink); white-space: nowrap; }
.tabs li:nth-child(5) { background: color-mix(in srgb, var(--tab) 80%, transparent); }
.tabs li:nth-child(5) span { color: var(--on-tab); }
@media (prefers-reduced-motion: no-preference) {
  .tabs li:nth-child(5) { animation: pull 1.6s 0.6s cubic-bezier(.3,1.4,.5,1) both; }
  @keyframes pull { 0% { transform: rotate(0); } 45% { transform: rotate(14deg) translateY(6px); } 100% { transform: rotate(9deg) translate(3px, 3px); } }
}
@media (prefers-reduced-motion: reduce) { .tabs li:nth-child(5) { transform: rotate(9deg) translate(3px, 3px); } }
@media (max-width: 520px) { .tabs { grid-template-columns: repeat(6, 1fr); } .tabs li:nth-child(n+7) { display: none; } .tabs li:nth-child(5) { animation-name: pull; } }

/* sections */
section { margin-block: 3.25rem 0; }
h2 { margin: 0 0 1.25rem; font: 700 clamp(1.5rem, 4vw, 2rem)/1.15 var(--serif); }
.cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); list-style: none; padding: 0; margin: 0; }
.card { background: var(--paper); border: 1px solid var(--border); border-radius: 10px; padding: 1.25rem 1.25rem 1.4rem; box-shadow: 0 1px 2px rgb(0 0 0 / 0.1); }
.card h3 { margin: 0 0 0.4rem; font: 700 1.25rem/1.2 var(--serif); }
.card p { margin: 0; color: var(--muted); }
.icon { width: 2.5rem; height: 2.5rem; margin-bottom: 0.75rem; color: var(--green); }
.status { display: grid; gap: 0.75rem; list-style: none; padding: 0; margin: 0; counter-reset: s; }
.status li { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem; align-items: start; background: var(--paper); border: 1px solid var(--border); border-radius: 10px; padding: 1rem 1.25rem; }
.status b { display: inline-block; text-align: center; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.2rem 0.5rem; border-radius: 6px; border: 1px solid currentColor; color: var(--green); }
.status li:first-child b { background: var(--tab); color: var(--on-tab); border-color: rgb(0 0 0 / 0.25); }
.status span { color: var(--muted); }
.status strong { color: var(--ink); display: block; }
@media (max-width: 480px) { .status li { grid-template-columns: 1fr; gap: 0.5rem; } .status b { justify-self: start; } }

footer { margin-top: auto; padding-block: 3rem 2rem; color: var(--muted); font-size: 0.9rem; }
footer p { margin: 0 0 0.35rem; }
@media (forced-colors: active) { .pill, .status li:first-child b { border: 1px solid CanvasText; } .tabs li:nth-child(5) { outline: 2px solid Highlight; } }
