/* Marketing site: landing page, guides, legal. Builds on brand.css. */

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 60;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: 8px;
}
.skip-link:focus {
  top: 1rem;
}

.defs {
  position: absolute;
  width: 0;
  height: 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font: 800 var(--step-0) / 1.2 var(--display);
  font-stretch: 105%;
  text-decoration: underline;
  text-decoration-color: var(--pink);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.3em;
  cursor: pointer;
}
.text-link:hover {
  text-decoration-color: var(--blue);
}

.section-head {
  display: grid;
  gap: 0.9rem;
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem);
}
.section-head h2 {
  font-size: var(--step-4);
  max-width: 18ch;
}

main > section {
  padding: clamp(3.5rem, 2.5rem + 5vw, 7.5rem) var(--gutter);
  max-width: 1280px;
  margin: 0 auto;
}

/* ---------------------------------------------------------------------------
   Header
   --------------------------------------------------------------------------- */

.site-header {
  position: relative;
  z-index: 10;
  padding: 1.1rem var(--gutter);
}
.site-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.site-nav {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
  font-family: var(--display);
  font-weight: 650;
  font-stretch: 105%;
}
.site-nav a {
  text-decoration: none;
  padding: 0.3rem 0;
  border-bottom: 3px solid transparent;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-bottom-color: var(--pink);
}
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.site-header__join {
  font-family: var(--display);
  font-weight: 650;
  text-decoration: none;
}
.site-header__join:hover {
  text-decoration: underline;
}
@media (max-width: 900px) {
  .site-nav {
    display: none;
  }
  .site-header__actions {
    margin-left: auto;
  }
}
@media (max-width: 520px) {
  .site-header__join {
    display: none;
  }
  .wordmark {
    font-size: 1.25rem;
  }
}

/* ---------------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
  padding-top: clamp(2rem, 1rem + 4vw, 4.5rem) !important;
}
.hero__eyebrow {
  color: var(--blue);
  margin-bottom: 1.4rem;
}
.hero__title {
  font-size: var(--step-5);
  font-weight: 850;
  font-stretch: 72%;
  line-height: 0.9;
  letter-spacing: -0.02em;
  max-width: 11ch;
}
.hero__title .overprint {
  font-stretch: 72%;
}
.hero__sub {
  margin-top: 1.6rem;
  max-width: 40ch;
  font-size: var(--step-1);
  line-height: 1.45;
  color: var(--ink-soft);
}
.hero__sub strong {
  color: var(--ink);
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: 2.2rem;
}
.hero__fine {
  margin-top: 1.4rem;
  font-size: var(--step--1);
  color: var(--ink-soft);
}

/* The demo table */
.hero__game {
  position: relative;
  padding: clamp(1.25rem, 0.8rem + 2vw, 2.25rem);
  border-radius: 28px;
  background: var(--paper-deep);
}
.hero__game::before {
  /* pink plate printed off-register behind the table */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--pink);
  opacity: 0.16;
  transform: translate(10px, 10px);
  z-index: -1;
}
.hero__game-label {
  text-align: center;
  color: var(--ink-soft);
}
.table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.5rem, 0.2rem + 1.4vw, 1.25rem);
  margin-top: clamp(4.5rem, 3rem + 4vw, 6.5rem);
}
.slot {
  position: relative;
  aspect-ratio: 160 / 132;
}
.slot::after {
  /* halftone shadow on the tablecloth */
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -9%;
  height: 16%;
  border-radius: 50%;
  color: var(--blue);
  opacity: 0.5;
  background-image: radial-gradient(circle, currentColor 0 30%, transparent 33%);
  background-size: 6px 6px;
  z-index: 0;
}
.prize {
  position: absolute;
  inset: 12% 6% 2%;
  display: grid;
  place-items: center;
  z-index: 1;
}
.prize-art {
  width: 100%;
  height: auto;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.2s 0.15s, transform 0.45s 0.15s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.slot.is-open .prize-art {
  opacity: 1;
  transform: scale(1);
}
.prize-card {
  font: 900 var(--step-1) / 1 var(--display);
  font-stretch: 80%;
  text-align: center;
  padding: 0.6em 0.7em;
  background: var(--paper);
  border-radius: 8px;
  box-shadow: 4px 4px 0 var(--pink);
  opacity: 0;
  transition: opacity 0.2s 0.15s;
}
.slot.is-open .prize-card {
  opacity: 1;
}
.prize-card.is-drumroll {
  animation: drumroll 0.09s linear infinite;
}
@keyframes drumroll {
  50% {
    transform: translateX(2px) rotate(1deg);
  }
}

.hcup {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transform-origin: 30% 100%;
  transition: transform 0.55s cubic-bezier(0.3, 1.5, 0.45, 1);
  -webkit-tap-highlight-color: transparent;
}
.hcup svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.hcup:hover:not([disabled]) {
  transform: translateY(-4%) rotate(-1.5deg);
}
.slot.is-open .hcup {
  transform: translateY(-72%) rotate(-9deg);
  cursor: default;
}
.hcup[disabled] {
  cursor: default;
}
/* The cups' art is in the markup (paper-cups.mjs); here, only which face shows. */
.hcup__eyes--open {
  display: none;
}
.slot.is-open .hcup__eyes--shut {
  display: none;
}
.slot.is-open .hcup__eyes--open {
  display: inline;
}

.hero__caption {
  min-height: 3.2em;
  margin-top: 2.6rem;
  text-align: center;
  font-family: var(--display);
  font-weight: 650;
  font-size: var(--step-1);
  line-height: 1.25;
  text-wrap: balance;
}
.hero__after {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 1rem;
}
.hero__after[hidden] {
  display: none;
}

/* SVG ink classes shared by illustrations */
.ink-yellow {
  fill: var(--yellow);
}
.ink-pink {
  fill: var(--pink);
}
.ink-blue {
  fill: var(--blue);
}
.mult {
  mix-blend-mode: multiply;
}
.fill-ink {
  fill: var(--ink);
}
.fill-paper {
  fill: var(--paper);
}
.fill-violet {
  fill: var(--violet);
}
.soft {
  opacity: 0.55;
}
.stroke-ink {
  fill: none;
  stroke: var(--ink);
  stroke-width: 3;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.fill-paper.stroke-ink {
  fill: var(--paper);
}
.stroke-pink {
  fill: none;
  stroke: var(--pink);
}
.stroke-blue {
  fill: none;
  stroke: var(--blue);
}
.thick {
  stroke-width: 7;
  stroke-linecap: round;
}
.faint {
  stroke-width: 5;
  opacity: 0.25;
}
.dashed {
  stroke-width: 2;
  stroke-dasharray: 5 6;
}
.seal-q {
  font: 900 19px var(--display);
  fill: var(--paper);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero__title {
    max-width: 12ch;
  }
}

/* ---------------------------------------------------------------------------
   Somebody always knows
   --------------------------------------------------------------------------- */

.knows {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
}
.knows h2 {
  font-size: var(--step-4);
  margin: 0.9rem 0 1.3rem;
}
.knows__copy p:last-child {
  max-width: 44ch;
  color: var(--ink-soft);
  font-size: var(--step-1);
  line-height: 1.5;
}
.knows__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.note {
  display: grid;
  gap: 0.5rem;
  align-content: start;
  min-height: 9.5rem;
  padding: 1.15rem 1.2rem;
  border-radius: 6px;
  font: 800 var(--step-1) / 1.15 var(--display);
  font-stretch: 85%;
}
.note .label {
  font-size: 0.7rem;
  opacity: 0.75;
}
.note--1 {
  background: var(--yellow);
  transform: rotate(-2.5deg);
}
.note--2 {
  background: color-mix(in srgb, var(--pink) 34%, var(--paper));
  transform: rotate(1.8deg) translateY(10px);
}
.note--3 {
  background: color-mix(in srgb, var(--blue) 24%, var(--paper));
  transform: rotate(1.2deg);
}
.note--4 {
  background: var(--ink);
  color: var(--paper);
  transform: rotate(-1.4deg) translateY(10px);
}
.note--4 .label {
  color: var(--pink);
  opacity: 1;
}
@media (max-width: 820px) {
  .knows {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------------------------
   How it works
   --------------------------------------------------------------------------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
}
.step {
  position: relative;
}
.step-art {
  width: 100%;
  height: auto;
  padding: 1.2rem;
  border-radius: 22px;
  background: var(--paper-deep);
  margin-bottom: 1.6rem;
}
.step__n {
  position: absolute;
  top: -0.9rem;
  left: -0.4rem;
  font: 900 3.4rem / 1 var(--display);
  font-stretch: 70%;
  color: var(--pink);
}
.step h3 {
  font-size: var(--step-2);
  margin-bottom: 0.7rem;
}
.step p:last-child {
  color: var(--ink-soft);
}
.scanline {
  stroke: var(--pink);
  stroke-width: 3;
  stroke-linecap: round;
  animation: scan 2.6s ease-in-out infinite;
}
@keyframes scan {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.2;
  }
  50% {
    transform: translateY(84px);
    opacity: 1;
  }
}
.phone-shh {
  font: 800 28px var(--display);
  fill: var(--paper);
}
.phone-small {
  font: 600 9.5px var(--body);
  fill: var(--paper);
  opacity: 0.7;
}
.ticket-label {
  font: 800 10px var(--display);
  letter-spacing: 0.2em;
  fill: var(--ink);
}
.ticket-code {
  font: 900 52px var(--display);
  font-variation-settings: "wdth" 72;
  letter-spacing: 0.04em;
  fill: var(--ink);
}
.burst path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 3;
  stroke-linecap: round;
}
@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr;
    max-width: 30rem;
  }
}

/* ---------------------------------------------------------------------------
   The reveal moment — violet until it splits into its two inks
   --------------------------------------------------------------------------- */

.moment {
  position: relative;
  max-width: none !important;
  min-height: clamp(26rem, 60vh, 38rem);
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  color: var(--paper);
  text-align: center;
}
.moment__inks {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.moment__ink {
  position: absolute;
  inset: 0;
  transition: transform 1.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.moment__ink--pink {
  background: var(--pink);
}
.moment__ink--blue {
  background: var(--blue);
  mix-blend-mode: multiply;
}
.moment.is-split .moment__ink--pink {
  transform: translateX(-7%);
}
.moment.is-split .moment__ink--blue {
  transform: translateX(7%);
}
.moment__copy {
  max-width: 44rem;
  padding: 0 var(--gutter);
}
.moment .label {
  color: var(--yellow);
}
.moment h2 {
  font-size: var(--step-5);
  font-stretch: 70%;
  margin: 1rem 0 1.4rem;
}
.moment p:last-child {
  font-size: var(--step-1);
  opacity: 0.88;
  max-width: 36ch;
  margin: 0 auto;
}

/* ---------------------------------------------------------------------------
   Details
   --------------------------------------------------------------------------- */

.details__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 2px solid var(--ink);
}
.details__grid li {
  padding: 1.75rem 1.5rem 2rem 0;
  border-bottom: 1px solid var(--rule);
}
.details__grid li:not(:nth-child(3n + 1)) {
  padding-left: 1.5rem;
  border-left: 1px solid var(--rule);
}
.details__grid h3 {
  font-size: var(--step-2);
  margin-bottom: 0.6rem;
}
.details__grid p {
  color: var(--ink-soft);
}
@media (max-width: 860px) {
  .details__grid {
    grid-template-columns: 1fr;
  }
  .details__grid li,
  .details__grid li:not(:nth-child(3n + 1)) {
    padding-left: 0;
    border-left: 0;
  }
}

/* ---------------------------------------------------------------------------
   Pricing ticket
   --------------------------------------------------------------------------- */

.ticket {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  max-width: 62rem;
  margin: 0 auto;
  filter: drop-shadow(10px 10px 0 color-mix(in srgb, var(--blue) 30%, transparent));
}
.ticket__main,
.ticket__stub {
  padding: clamp(1.75rem, 1.2rem + 2.5vw, 3rem);
}
.ticket__main {
  background: var(--paper-deep);
  border-radius: 24px 0 0 24px;
  /* notches cut where the stub tears off */
  -webkit-mask: radial-gradient(circle at 100% 0, transparent 16px, #000 17px) top right / 100% 51% no-repeat,
    radial-gradient(circle at 100% 100%, transparent 16px, #000 17px) bottom right / 100% 51% no-repeat;
  mask: radial-gradient(circle at 100% 0, transparent 16px, #000 17px) top right / 100% 51% no-repeat,
    radial-gradient(circle at 100% 100%, transparent 16px, #000 17px) bottom right / 100% 51% no-repeat;
}
.ticket__stub {
  position: relative;
  background: var(--yellow);
  border-radius: 0 24px 24px 0;
  display: grid;
  align-content: center;
  gap: 1.1rem;
  -webkit-mask: radial-gradient(circle at 0 0, transparent 16px, #000 17px) top left / 100% 51% no-repeat,
    radial-gradient(circle at 0 100%, transparent 16px, #000 17px) bottom left / 100% 51% no-repeat;
  mask: radial-gradient(circle at 0 0, transparent 16px, #000 17px) top left / 100% 51% no-repeat,
    radial-gradient(circle at 0 100%, transparent 16px, #000 17px) bottom left / 100% 51% no-repeat;
}
.ticket__stub::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  border-left: 3px dashed rgb(34 26 58 / 0.35);
}
.ticket h2 {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.2em 0.5em;
  margin: 0.6rem 0 1.4rem;
}
.ticket__price {
  font-size: clamp(4.5rem, 3rem + 7vw, 8.5rem);
  font-weight: 900;
  font-stretch: 68%;
  line-height: 0.8;
  color: var(--pink);
  text-shadow: 5px 5px 0 var(--blue);
}
.ticket__per {
  font-size: var(--step-2);
  font-stretch: 100%;
}
.checks {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  gap: 0.7rem;
}
.checks li {
  position: relative;
  padding-left: 2rem;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 1.05rem;
  height: 0.6rem;
  border-left: 3px solid var(--blue);
  border-bottom: 3px solid var(--blue);
  transform: rotate(-45deg);
}
.ticket__promise {
  font: 800 var(--step-2) / 1.12 var(--display);
  font-stretch: 82%;
}
.pricing__origin {
  max-width: 40rem;
  margin: 3rem auto 0;
  text-align: center;
  font-style: italic;
  color: var(--ink-soft);
}
@media (max-width: 760px) {
  .ticket {
    grid-template-columns: 1fr;
  }
  .ticket__main {
    border-radius: 24px 24px 0 0;
    -webkit-mask: none;
    mask: none;
  }
  .ticket__stub {
    border-radius: 0 0 24px 24px;
    -webkit-mask: none;
    mask: none;
  }
  .ticket__stub::before {
    left: 22px;
    right: 22px;
    top: 0;
    bottom: auto;
    border-left: 0;
    border-top: 3px dashed rgb(34 26 58 / 0.35);
  }
}

/* ---------------------------------------------------------------------------
   FAQ
   --------------------------------------------------------------------------- */

.faq__list {
  max-width: 52rem;
  border-top: 2px solid var(--ink);
}
.faq details {
  border-bottom: 1px solid var(--rule);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.35rem 0;
  font: 750 var(--step-1) / 1.25 var(--display);
  font-stretch: 95%;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--pink);
  font: 700 1.4rem / 1 var(--body);
  transition: transform 0.25s ease, background 0.2s;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
  background: var(--yellow);
}
.faq details p {
  max-width: 60ch;
  padding: 0 0 1.5rem;
  color: var(--ink-soft);
}

/* ---------------------------------------------------------------------------
   Guide cards
   --------------------------------------------------------------------------- */

.guide-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 1.25rem;
}
.guide-card {
  display: grid;
  gap: 0.8rem;
  align-content: start;
  height: 100%;
  min-height: 12rem;
  padding: 1.4rem;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 0 0 var(--pink);
  text-decoration: none;
  transition:
    transform 0.22s cubic-bezier(0.3, 1.6, 0.5, 1),
    box-shadow 0.22s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.guide-card:hover,
.guide-card:focus-visible {
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0 var(--pink);
}
.guide-card .label {
  color: var(--blue);
}
.guide-card__title {
  font: 800 var(--step-1) / 1.12 var(--display);
  font-stretch: 85%;
}
.guide-card__meta {
  margin-top: auto;
  font-size: var(--step--1);
  color: var(--ink-soft);
}
.guides-teaser__all {
  margin-top: 2rem;
}

/* ---------------------------------------------------------------------------
   Closer + footer
   --------------------------------------------------------------------------- */

.closer {
  text-align: center;
}
.closer h2 {
  font-size: var(--step-5);
  font-stretch: 70%;
  max-width: 14ch;
  margin: 0 auto 2.4rem;
}
.closer h2 .overprint {
  font-stretch: 70%;
}
.closer__ctas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(3rem, 2rem + 4vw, 5rem) var(--gutter) 2rem;
}
.site-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 2.5rem;
}
.site-footer .wordmark {
  color: var(--paper);
}
.site-footer__brand p {
  margin-top: 1rem;
  max-width: 24ch;
  opacity: 0.75;
}
.site-footer__col {
  display: grid;
  gap: 0.65rem;
  align-content: start;
}
.site-footer__col .label {
  color: var(--pink);
  margin-bottom: 0.3rem;
}
.site-footer__col a {
  text-decoration: none;
  opacity: 0.85;
  font-size: var(--step--1);
}
.site-footer__col a:hover {
  opacity: 1;
  text-decoration: underline;
}
.site-footer__legal {
  max-width: 1280px;
  margin: 3.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(243 242 238 / 0.15);
  font-size: var(--step--1);
  opacity: 0.6;
}
@media (max-width: 860px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }
  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

/* ---------------------------------------------------------------------------
   Articles (guides) + legal pages
   --------------------------------------------------------------------------- */

.article {
  max-width: calc(var(--measure) + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(2rem, 1.5rem + 3vw, 4rem) var(--gutter) 0;
}
.crumbs {
  font-size: var(--step--1);
  color: var(--ink-soft);
  margin-bottom: 2rem;
}
.crumbs a {
  text-decoration-color: var(--rule);
}
.article__kicker {
  color: var(--blue);
}
.article h1 {
  font-size: var(--step-4);
  font-stretch: 76%;
  margin: 0.9rem 0 1.25rem;
}
.article__meta {
  font-size: var(--step--1);
  color: var(--ink-soft);
  padding-bottom: 1.75rem;
  border-bottom: 2px solid var(--ink);
}
.prose {
  padding-top: 2rem;
  font-size: clamp(1.06rem, 1rem + 0.25vw, 1.18rem);
  line-height: 1.7;
}
.prose > * + * {
  margin-top: 1.15em;
}
.prose > p:first-child {
  font-size: 1.12em;
  line-height: 1.55;
}
.prose h2 {
  font-size: var(--step-3);
  font-stretch: 82%;
  margin-top: 2.2em;
  margin-bottom: -0.2em;
}
.prose h3 {
  font-size: var(--step-1);
  font-stretch: 95%;
  margin-top: 1.8em;
}
.prose h2 + *,
.prose h3 + * {
  margin-top: 0.7em;
}
.prose ul,
.prose ol {
  padding-left: 1.4em;
}
.prose li + li {
  margin-top: 0.45em;
}
.prose ul li::marker {
  content: "■  ";
  color: var(--pink);
  font-size: 0.75em;
}
.prose ol li::marker {
  font-family: var(--display);
  font-weight: 800;
  color: var(--blue);
}
.prose strong {
  font-weight: 750;
}
.prose blockquote {
  margin-left: 0;
  margin-right: 0;
  padding: 1rem 1.25rem;
  border-left: 5px solid var(--pink);
  background: var(--paper-deep);
  border-radius: 0 10px 10px 0;
}
.prose blockquote p + p {
  margin-top: 0.6em;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92em;
  display: block;
  overflow-x: auto;
}
.prose th,
.prose td {
  text-align: left;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.prose th {
  font-family: var(--display);
  font-weight: 750;
  border-bottom: 2px solid var(--ink);
}
.prose hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 2.5em 0;
}

.cta-inline {
  display: grid;
  gap: 0.6rem;
  margin: 2.5em 0 !important;
  padding: 1.5rem 1.6rem;
  border-radius: 18px;
  background: var(--yellow);
  box-shadow: 8px 8px 0 color-mix(in srgb, var(--pink) 40%, transparent);
}
.cta-inline p {
  margin: 0;
}
.cta-inline__title {
  font: 800 var(--step-1) / 1.2 var(--display);
  font-stretch: 88%;
}
.cta-inline .text-link {
  margin-top: 0.3rem;
}

.article-faq {
  max-width: calc(var(--measure) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 3.5rem var(--gutter) 0;
}
.article-faq h2 {
  font-size: var(--step-3);
  margin-bottom: 1.25rem;
}
.article-faq .faq__list {
  max-width: none;
}

.article-end {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(3.5rem, 2.5rem + 4vw, 6rem) var(--gutter);
}
.article-end .section-head h2 {
  font-size: var(--step-3);
}

.cta-band {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 2rem;
  align-items: center;
  max-width: 1280px;
  margin: clamp(3rem, 2rem + 4vw, 5rem) auto 0;
  padding: clamp(2rem, 1.4rem + 3vw, 3.5rem);
  border-radius: 28px;
  background: var(--ink);
  color: var(--paper);
}
.cta-band h2 {
  font-size: var(--step-3);
  font-stretch: 78%;
}
.cta-band p {
  margin-top: 0.8rem;
  opacity: 0.8;
  max-width: 46ch;
}
.cta-band .btn {
  white-space: nowrap;
}
@media (max-width: 760px) {
  .cta-band {
    grid-template-columns: 1fr;
  }
}

.hub-head {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(2rem, 1.5rem + 3vw, 4rem) var(--gutter) 0;
}
.hub-head h1 {
  font-size: var(--step-5);
  font-stretch: 72%;
  max-width: 14ch;
  margin: 0.9rem 0 1.25rem;
}
.hub-head p:last-child {
  max-width: 50ch;
  font-size: var(--step-1);
  color: var(--ink-soft);
}

.hub-list {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem var(--gutter) 0;
}
.related-head {
  margin-top: 4rem;
}

.legal .prose h2 {
  font-size: var(--step-2);
}
.legal .prose {
  font-size: var(--step-0);
}

.not-found {
  min-height: 60vh;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 1.5rem;
  padding: 4rem var(--gutter);
}
.not-found h1 {
  font-size: var(--step-5);
  font-stretch: 70%;
}
.not-found .btn {
  justify-self: center;
}

/* ---------------------------------------------------------------------------
   Game pages (/games/)
   --------------------------------------------------------------------------- */

.game-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
  padding-top: clamp(1.5rem, 1rem + 3vw, 3.5rem) !important;
}
.game-hero--hub {
  grid-template-columns: minmax(0, 1fr);
  padding-bottom: 1rem !important;
}
.game-hero--hub .game-hero__title {
  max-width: 14ch;
}
.game-hero__title {
  font-size: var(--step-5);
  font-weight: 850;
  font-stretch: 72%;
  line-height: 0.92;
  letter-spacing: -0.02em;
  max-width: 12ch;
  margin-top: 0.6rem;
}
.game-hero .crumbs {
  margin-bottom: 1.2rem;
}
.game-hero__fine {
  margin-top: 1.4rem;
  font-size: var(--step--1);
  color: var(--ink-soft);
}
.game-hero__art {
  padding: clamp(1rem, 0.5rem + 2vw, 2rem);
  border-radius: 28px;
  background: var(--paper-deep);
}
.game-art {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.game-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.2rem, 0.8rem + 1.5vw, 2.2rem);
  counter-reset: none;
}
.game-steps li {
  padding: 1.4rem 1.3rem 1.5rem;
  border-radius: 22px;
  background: var(--paper-deep);
}
.game-steps__n {
  display: block;
  font: 900 3rem / 1 var(--display);
  font-stretch: 70%;
  color: var(--pink);
  margin-bottom: 0.6rem;
}
.game-steps h3 {
  font-size: var(--step-1);
  margin-bottom: 0.5rem;
}
.game-steps p {
  color: var(--ink-soft);
}

.game-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 0.6rem + 1.2vw, 1.6rem);
}
.game-cards--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.game-card {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 0.45rem;
  height: 100%;
  padding: 1.2rem 1.2rem 1.4rem;
  border-radius: 24px;
  background: var(--paper-deep);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.18s, box-shadow 0.18s;
}
.game-card:hover,
.game-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 6px 6px 0 var(--pink);
}
.game-card__art {
  display: block;
  padding: 0.6rem;
  margin-bottom: 0.4rem;
  border-radius: 18px;
  background: var(--paper);
}
.game-card__name {
  font: 850 var(--step-2) / 1 var(--display);
  font-stretch: 80%;
}
.game-card__tag {
  font-weight: 700;
}
.game-card__best {
  color: var(--ink-soft);
  font-size: var(--step--1);
}
.game-card__go {
  margin-top: 0.4rem;
  font-size: var(--step--1);
}
.game-list {
  padding-top: 1rem !important;
}

.tv-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}
.tv-band__screen {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  border: 10px solid var(--ink);
  border-radius: 18px;
  background: var(--yellow);
  box-shadow: 12px 12px 0 var(--pink);
}
.tv-band__code {
  font: 900 clamp(3rem, 2rem + 5vw, 6rem) / 1 var(--display);
  font-stretch: 72%;
  letter-spacing: 0.14em;
}
.tv-band__stand {
  position: absolute;
  bottom: -2.2rem;
  left: 50%;
  width: 34%;
  height: 1.4rem;
  translate: -50% 0;
  border-radius: 0 0 10px 10px;
  background: var(--ink);
}
.tv-band__copy h2 {
  font-size: var(--step-4);
  margin: 0.6rem 0 1rem;
}
.tv-band__copy p {
  color: var(--ink-soft);
  max-width: 46ch;
}
.tv-band__copy strong {
  color: var(--blue);
}
.tv-band__more {
  margin-top: 0.8rem;
}

/* Home: the four games */
.home-games .game-cards {
  margin-top: 0.5rem;
}
.home-games__note {
  margin-top: 1.6rem;
  color: var(--ink-soft);
}

@media (max-width: 1000px) {
  .game-steps,
  .game-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .game-cards--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .game-hero,
  .tv-band {
    grid-template-columns: minmax(0, 1fr);
  }
  .game-cards--three {
    grid-template-columns: minmax(0, 1fr);
  }
  .tv-band__screen {
    margin-bottom: 2rem;
  }
}
@media (max-width: 520px) {
  .game-steps,
  .game-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Header: five nav links fit on one line until the nav folds away at 900px. */
.site-nav a,
.site-header__join,
.site-header__actions .btn {
  white-space: nowrap;
}
@media (max-width: 1180px) {
  .site-nav {
    gap: 1.1rem;
  }
  .site-header__actions {
    gap: 0.9rem;
  }
}
@media (max-width: 1020px) {
  .site-nav a[href="/#faq"] {
    display: none;
  }
}

/* Renders of the 3D boards */
.game-render {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}
.game-hero__art .game-render {
  border-radius: 20px;
  box-shadow: 8px 8px 0 var(--blue);
}
.game-art--cups {
  padding: clamp(0.75rem, 0.4rem + 1.5vw, 1.5rem);
  border-radius: 20px;
  background: var(--paper-deep);
  box-shadow: 8px 8px 0 var(--blue);
}
.game-hero__art {
  padding: 0;
  background: none;
}
.game-card__art {
  padding: 0;
  overflow: hidden;
}

/* "How it works" video */
.hiw {
  margin: 0 auto clamp(3rem, 2rem + 4vw, 5rem);
  max-width: 62rem;
}
.hiw__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 26px;
  overflow: hidden;
  background: var(--paper-deep);
  box-shadow: 8px 8px 0 var(--blue);
}
.hiw__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--paper-deep);
}
.hiw .hiw__play {
  inset: 50% auto auto 50%;
  margin: 0;
  transform: translate(-50%, -50%);
}
.hiw.is-playing .hiw__play,
.hiw.is-paused .hiw__play {
  display: none;
}
.hiw__controls[hidden] {
  display: none;
}
.hiw__controls {
  transition: opacity 0.6s ease;
}
.hiw.is-idle .hiw__controls {
  opacity: 0;
}
.hiw.is-playing .hiw__controls .film__play-icon {
  width: 0.75rem;
  height: 0.95rem;
  margin: 0;
  border-width: 0 0.24rem;
  border-color: currentColor;
}
/* The seek bar: a thin pink line that fills by --p (the fast-start fraction). */
.hiw__seek {
  flex: 1;
  height: 2.75rem;
  margin: 0;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.hiw__seek::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(var(--pink), var(--pink)) no-repeat 0 0 / var(--p, 0%) 100%, rgb(34 26 58 / 0.14);
}
.hiw__seek::-moz-range-track {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(var(--pink), var(--pink)) no-repeat 0 0 / var(--p, 0%) 100%, rgb(34 26 58 / 0.14);
}
.hiw__seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  margin-top: -5px;
  border-radius: 50%;
  background: var(--ink);
}
.hiw__seek::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
}
.hiw__full {
  width: 0.95rem;
  height: 0.95rem;
  border: 2.5px solid currentColor;
  border-radius: 3px;
  clip-path: polygon(0 0, 40% 0, 40% 20%, 60% 20%, 60% 0, 100% 0, 100% 40%, 80% 40%, 80% 60%, 100% 60%, 100% 100%, 60% 100%, 60% 80%, 40% 80%, 40% 100%, 0 100%, 0 60%, 20% 60%, 20% 40%, 0 40%);
}
.hiw__frame:fullscreen {
  border-radius: 0;
  box-shadow: none;
}
.hiw__frame:fullscreen .hiw__video {
  object-fit: contain;
  background: #000;
}
.hiw__after {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.4rem;
  margin-top: 1.4rem;
}
.hiw .film__script p {
  margin: 0.7rem 0 0;
  max-width: 62ch;
}
@media (max-width: 40rem) {
  .hiw__frame {
    aspect-ratio: 9 / 16;
    width: min(100%, 46vh); /* 9:16 at up to 82% of the screen height */
    margin: 0 auto;
    border-radius: 18px;
    box-shadow: 5px 5px 0 var(--blue);
  }
}
