@font-face {
  font-family: "Bricolage Grotesque";
  src: url("BricolageGrotesque-400.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("BricolageGrotesque-800.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --page: #FFFFFF;
  --ink: #0F3B2E;
  --muted: #4F6E62;
  --well: #E7F2EC;
  --card: #FFFFFF;
  --outline: #0F3B2E;
  --shadow: #0F3B2E;
  --hibiscus: #D42B63;
  --mango: #FFB547;
  --on-mango: #0F3B2E;
  --link: #B0204F;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #0F3B2E;
    --ink: #FFFFFF;
    --muted: #A9C2B8;
    --well: #164A3A;
    --card: #164A3A;
    --outline: #FFFFFF;
    --shadow: #0A2A20;
    --link: #FFB547;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Bricolage Grotesque", ui-rounded, system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.5;
}

a { color: var(--link); text-underline-offset: 3px; }
a:focus-visible, .button:focus-visible {
  outline: 3px solid var(--hibiscus);
  outline-offset: 4px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
}
.skip:focus { left: 16px; background: var(--page); padding: 8px 12px; z-index: 2; }

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.wordmark img { width: 36px; height: 36px; border-radius: 9px; }

.top nav a {
  color: var(--muted);
  font-size: 0.9375rem;
  margin-left: 16px;
}

h1, h2, h3 {
  font-weight: 800;
  margin: 0;
}

.hero {
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
  padding: 16px 0 48px;
}
.hero img {
  width: min(260px, 70vw);
  height: auto;
}
.hero h1 {
  font-size: clamp(2.5rem, 8vw, 3.75rem);
  line-height: 1;
  letter-spacing: -0.035em;
  max-width: 12ch;
}
.lead {
  font-size: 1.1875rem;
  max-width: 34rem;
  margin: 12px 0 20px;
}
.facts {
  color: var(--muted);
  font-size: 0.8125rem;
  margin: 12px 0 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 0 28px;
  border-radius: 22px;
  border: 3px solid var(--outline);
  box-shadow: 0 6px 0 var(--shadow);
  background: var(--hibiscus);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1.1875rem;
  text-decoration: none;
  transition: transform 80ms ease, box-shadow 80ms ease;
}
.button:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--shadow); }

.blocks {
  display: grid;
  gap: 16px;
  padding-bottom: 56px;
}
@media (min-width: 720px) {
  .blocks { grid-template-columns: repeat(2, 1fr); }
}
.block {
  background: var(--well);
  border-radius: 22px;
  padding: 20px;
}
.block h2 {
  font-size: 1.375rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.block p { margin: 0; }

.pass {
  border: 3px solid var(--outline);
  border-radius: 28px;
  padding: 24px;
  margin-bottom: 48px;
  background: var(--card);
}
.pass h2 {
  font-size: 1.875rem;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}
.sticker {
  display: inline-block;
  background: var(--mango);
  color: var(--on-mango);
  border: 3px solid var(--outline);
  box-shadow: 0 4px 0 var(--shadow);
  border-radius: 999px;
  padding: 2px 12px;
  font-size: 0.875rem;
  font-weight: 800;
  transform: rotate(-3deg);
  margin-bottom: 12px;
}
.plans {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: grid;
  gap: 10px;
}
@media (min-width: 620px) {
  .plans { grid-template-columns: repeat(3, 1fr); }
}
.plans li {
  background: var(--well);
  border-radius: 18px;
  padding: 14px 16px;
}
.plans .name { display: block; font-weight: 800; font-size: 1rem; }
.plans .price { display: block; font-weight: 800; font-size: 1.75rem; letter-spacing: -0.03em; }
.plans .note { display: block; color: var(--muted); font-size: 0.875rem; }
.fine { color: var(--muted); font-size: 0.875rem; margin: 0; }

.signoff {
  text-align: center;
  font-weight: 800;
  font-size: clamp(2rem, 7vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0 0 20px;
}

.doc { padding: 8px 0 48px; }
.doc h1 {
  font-size: clamp(2.25rem, 7vw, 3.25rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 12px;
}
.doc h2 {
  font-size: 1.375rem;
  letter-spacing: -0.02em;
  margin: 32px 0 6px;
}
.doc p { margin: 0 0 12px; max-width: 40rem; }
.doc .updated { color: var(--muted); font-size: 0.875rem; }
.doc .doc-lead { font-size: 1.1875rem; }

.todo {
  display: inline-block;
  background: #FFF3C4;
  color: #5A3E00;
  border: 2px dashed #5A3E00;
  border-radius: 8px;
  padding: 0 8px;
  font-weight: 800;
}

footer {
  border-top: 2px solid var(--well);
  padding: 24px 0 40px;
  color: var(--muted);
  font-size: 0.875rem;
}
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 8px; }
footer a { color: var(--muted); }

.top nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 16px; }
.top nav a { margin-left: 0; }

.eyebrow {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(2rem, 7vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}
section h3 {
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}

.enemy {
  text-align: center;
  padding: 8px 0 56px;
}
.enemy h2 {
  font-size: clamp(2rem, 7vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  max-width: 14ch;
  margin: 0 auto 12px;
}
.enemy p { max-width: 32rem; margin: 0 auto; font-size: 1.1875rem; }

.pairs { padding-bottom: 56px; }
.pair-grid { display: grid; gap: 16px; }
@media (min-width: 720px) {
  .pair-grid { grid-template-columns: 1fr 1fr; }
}
.pair {
  border: 3px solid var(--outline);
  border-radius: 28px;
  padding: 22px 20px 20px;
  background: var(--card);
}
.pair .sticker { font-size: 1rem; padding: 4px 14px; }
.sticker-pink { background: var(--hibiscus); color: #FFFFFF; }
.pair-lead { font-weight: 800; font-size: 1.1875rem; line-height: 1.3; margin: 0 0 14px; }
.pair-games { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pair-games li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; }
.pair-games img { width: 56px; height: 56px; object-fit: contain; }
.pair-games b { font-weight: 800; }

.shelf { padding-bottom: 56px; }
.shelf h3 { margin: 20px 0 10px; color: var(--muted); font-size: 0.875rem; letter-spacing: 0.06em; text-transform: uppercase; }
.shelf h3:first-of-type { margin-top: 0; }
.tiles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}
.tiles li {
  display: grid;
  justify-items: center;
  gap: 6px;
  background: var(--well);
  border-radius: 18px;
  padding: 12px 6px 10px;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.15;
}
.tiles img { width: 56px; height: 56px; object-fit: contain; }

.fit { padding-bottom: 56px; }
.fit-grid { display: grid; gap: 16px; }
@media (min-width: 720px) {
  .fit-grid { grid-template-columns: 1fr 1fr; }
}
.fit-col { background: var(--well); border-radius: 22px; padding: 20px; }
.fit-col h3 { margin-bottom: 10px; }
.fit-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fit-col li { position: relative; padding-left: 30px; }
.fit-col li::before {
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.8125rem;
  font-weight: 800;
}
.fit-yes li::before { content: "✓"; background: var(--mango); color: var(--on-mango); }
.fit-no li::before { content: "✕"; background: var(--ink); color: var(--page); }

.faq { padding-bottom: 56px; }
.faq details {
  border-bottom: 2px solid var(--well);
  padding: 4px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 1.125rem;
  padding: 12px 32px 12px 0;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 8px;
  font-size: 1.5rem;
  line-height: 1.2;
}
.faq details[open] summary::after { content: "−"; }
.faq summary:focus-visible { outline: 3px solid var(--hibiscus); outline-offset: 2px; border-radius: 6px; }
.faq details p { margin: 0 0 14px; max-width: 40rem; }

.close { display: grid; justify-items: center; padding: 8px 0 56px; }

@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}

@media (max-width: 420px) {
  .top nav .nav-jump { display: none; }
}
.pair-games li { align-items: start; }
.pair-note { margin: 16px 0 0; color: var(--muted); font-size: 0.9375rem; }
.section-lead { margin: -8px 0 20px; font-size: 1.0625rem; color: var(--muted); }
.close-note { margin: 0 0 20px; text-align: center; color: var(--muted); max-width: 30rem; }

.tiles .tile-name { display: block; }
.tiles .tile-blurb { display: block; font-weight: 400; color: var(--muted); font-size: 0.8125rem; line-height: 1.25; }
.inline-cta { margin: 20px 0 0; text-align: center; font-weight: 800; font-size: 1.0625rem; }
.inline-cta a { color: var(--link); }
.inline-cta a::after { content: " →"; }
