@font-face {
  font-family: Bricolage;
  src: url("/assets/bricolage-grotesque.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("/assets/dm-sans.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --ink: #1e201b;
  --paper: #f7f2e6;
  --soft-ink: #51534a;
  --soft-paper: #c6c6b6;
  --yellow: #ffc459;
  --teal: #22696a;
  --display: Bricolage, "DM Sans", sans-serif;
  --body: "DM Sans", sans-serif;
  --gutter: clamp(1.25rem, 5.5vw, 5rem);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 400 1rem/1.55 var(--body); }
a { color: inherit; text-underline-offset: .2em; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3, .wordmark { font-family: var(--display); font-weight: 800; }
h1, h2, h3 { line-height: 1; letter-spacing: -.055em; }
a:focus-visible, summary:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }

.shell { width: min(100% - 2 * var(--gutter), 72rem); margin-inline: auto; }

.skip-link {
  position: absolute;
  z-index: 10;
  top: 1rem;
  left: 1rem;
  padding: .75rem 1rem;
  transform: translateY(-160%);
  background: var(--yellow);
  color: var(--ink);
}
.skip-link:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid #ffffff18; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header-inner { min-height: 5rem; }
.wordmark { display: inline-flex; align-items: center; gap: .7rem; font-size: 1.35rem; letter-spacing: -.04em; text-decoration: none; }
.wordmark img { border-radius: 23%; }
nav { display: flex; flex-wrap: wrap; column-gap: clamp(1.1rem, 3vw, 2.2rem); row-gap: .65rem; }
nav a { color: var(--soft-paper); font-size: .94rem; font-weight: 650; text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: var(--paper); text-decoration: underline; }
nav a[aria-current="page"] { text-decoration-color: var(--yellow); }

.hero-inner {
  display: grid;
  grid-template-columns: .99fr 1.01fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: clamp(3rem, 6vw, 5.6rem);
}
.eyebrow {
  margin-bottom: 1.4rem;
  color: var(--soft-paper);
  font-size: .85rem;
  font-weight: 750;
  letter-spacing: .105em;
  text-transform: uppercase;
}
.hero h1 { font-size: clamp(3.25rem, 6.65vw, 6.6rem); line-height: .91; letter-spacing: -.075em; }
.hero h1 em { color: var(--yellow); font-style: normal; }
.hero-description { max-width: 27rem; margin-top: 1.65rem; color: var(--soft-paper); font-size: clamp(1.05rem, 1.5vw, 1.24rem); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  padding: .75rem 1.25rem;
  border: 1px solid transparent;
  border-radius: .72rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-yellow { margin-top: 1.8rem; background: var(--yellow); color: var(--ink); }
.button-yellow:hover { background: #ffda8d; }
.button-dark { background: var(--ink); color: var(--paper); }
.button-dark:hover { background: #34372c; }
.download-note { margin-top: .85rem; color: var(--soft-paper); font-size: .875rem; }

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1.08;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #78b6ad65;
  border-radius: clamp(1.1rem, 3vw, 2rem);
  background: radial-gradient(ellipse at 28% 20%, #3c9492, transparent 66%), linear-gradient(140deg, #317f80, #1e5c60);
}
.art-grid {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: linear-gradient(#e3f4da20 1px, transparent 1px), linear-gradient(90deg, #e3f4da20 1px, transparent 1px);
  background-position: center;
  background-size: clamp(1rem, 2.15vw, 2rem) clamp(1rem, 2.15vw, 2rem);
  mask-image: radial-gradient(ellipse at center, #000, #0008 70%, transparent);
}
.art-piece { position: absolute; z-index: -1; aspect-ratio: 1; width: 32%; filter: drop-shadow(0 .75rem .55rem #122f2c65); }
.art-piece::before { position: absolute; inset: 0; content: ""; }
.art-piece-coral { top: 13%; right: 6%; transform: rotate(12deg); }
.art-piece-coral::before {
  background: linear-gradient(145deg, #ff8f74, #e0604e);
  clip-path: polygon(0 0, 100% 0, 100% 40%, 60% 40%, 60% 100%, 20% 100%, 20% 40%, 0 40%);
}
.art-piece-amber { bottom: 8%; left: 7%; width: 33%; transform: rotate(-11deg); }
.art-piece-amber::before {
  background: linear-gradient(145deg, #ffd175, #efa12d);
  clip-path: polygon(0 0, 44% 0, 44% 55%, 100% 55%, 100% 100%, 0 100%);
}
.art-piece-cream { bottom: 12%; right: 10%; width: 12%; transform: rotate(11deg); }
.art-piece-cream::before { background: #e8d8af; border-radius: .18rem; }
.hero-device {
  width: 43%;
  padding: clamp(.25rem, .7vw, .55rem);
  border: 1px solid #ffffff65;
  border-radius: clamp(1.05rem, 2.6vw, 2.25rem);
  background: #131510;
  box-shadow: 0 1.5rem 2.3rem #102e30a3, 0 .3rem .4rem #142f30b0, inset 0 0 0 2px #d0d8bc22;
  transform: rotate(-8deg);
}
.hero-device img { width: 100%; height: auto; border-radius: clamp(.82rem, 2vw, 1.7rem); }

.how { padding-block: clamp(3.7rem, 7vw, 7.25rem); background: var(--paper); color: var(--ink); }
.section-intro { display: flex; align-items: end; justify-content: space-between; gap: 1.4rem; margin-bottom: 2.3rem; }
.section-intro h2 { font-size: clamp(2.65rem, 5.7vw, 5.25rem); }
.section-intro > p { max-width: 24rem; color: var(--soft-ink); font-size: 1.11rem; }
.play-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.35vw, 2rem); }
.step-screen {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1.03;
  overflow: hidden;
  border-radius: 1.1rem;
  background: var(--panel);
  background-image: linear-gradient(145deg, #ffffff1c, transparent 65%, #00000019);
}
.step-teal { --panel: #277a78; }
.step-gold { --panel: #dea94d; }
.step-coral { --panel: #d86e55; }
.step-screen img {
  width: 46%;
  height: auto;
  border: 3px solid #23241e;
  border-radius: clamp(.65rem, 1.65vw, 1.4rem);
  box-shadow: 0 .6rem 1.1rem #171a1a57;
}
.step figcaption { padding-top: 1.05rem; }
.step h3 { font-size: clamp(1.4rem, 2.5vw, 2.15rem); }
.step p { margin-top: .45rem; color: var(--soft-ink); }

.download-strip { padding-block: 1.8rem; background: var(--yellow); color: var(--ink); }
.download-inner, .download-title { display: flex; align-items: center; gap: 1.15rem; }
.download-inner { justify-content: space-between; }
.download-title img { width: clamp(3.2rem, 6.5vw, 4.5rem); height: auto; border-radius: 23%; }
.download-title h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.download-title p { margin-top: .3rem; }

.explainer { margin: 0 auto clamp(1.65rem, 4vw, 3.25rem); max-width: 62rem; }
.explainer video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: clamp(.65rem, 2vw, 1.25rem);
  background: var(--ink);
}

.other-games { padding-block: clamp(2.5rem, 6vw, 4.65rem); background: #24271f; }
.other-games h2 { font-size: clamp(2rem, 4.5vw, 3.65rem); }
.other-game {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(.75rem, 3vw, 1.25rem);
  width: min(100%, 34rem);
  margin-top: 1.35rem;
  padding: clamp(.85rem, 3vw, 1.2rem);
  border: 1px solid #ffffff30;
  border-radius: 1rem;
  background: var(--ink);
  text-decoration: none;
}
.other-game:hover { border-color: var(--yellow); }
.other-game img { width: clamp(3rem, 12vw, 4rem); height: auto; border-radius: 23%; }
.other-game h3 { font-size: clamp(1.4rem, 3.5vw, 1.85rem); }
.other-game p { margin-top: .32rem; color: var(--soft-paper); }

.site-footer { padding-block: 1.9rem; }
.footer-brand { display: flex; align-items: center; flex-wrap: wrap; column-gap: 1.15rem; row-gap: .4rem; }
.footer-brand small { color: var(--soft-paper); }

.info-page { min-height: calc(100svh - 11rem); padding-block: clamp(3rem, 8vw, 6rem); background: var(--paper); color: var(--ink); }
.info-shell { max-width: 64rem; }
.info-intro { padding-bottom: clamp(1.4rem, 3vw, 2.3rem); border-bottom: 1px solid #d6d0bf; }
.info-intro h1 { max-width: 48rem; font-size: clamp(2.85rem, 7.2vw, 5.45rem); }
.info-intro p { max-width: 38rem; margin-top: .85rem; color: var(--soft-ink); font-size: 1.13rem; }
.support-layout { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(1.5rem, 5vw, 4.1rem); margin-top: 2.25rem; }
.faq h2, .contact-card h2, .policy-body h2 { font-size: clamp(1.52rem, 3vw, 2rem); }
.faq h2 { margin-bottom: 1rem; }
.faq details { border-bottom: 1px solid #d6d0bf; }
.faq details:first-of-type { border-top: 1px solid #d6d0bf; }
.faq summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .9rem;
  padding: .85rem 0;
  cursor: pointer;
  font-weight: 750;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+" / ""; color: var(--teal); font: 700 1.2rem/1 var(--body); }
.faq details[open] summary::after { content: "−" / ""; }
.faq details p { padding-bottom: .8rem; color: var(--soft-ink); }
.contact-card { align-self: start; padding: clamp(1.3rem, 3.2vw, 2rem); border-radius: 1rem; background: var(--teal); color: white; }
.contact-card p { margin-block: .7rem 1rem; }
.contact-card a, .policy-body a { font-weight: 750; overflow-wrap: anywhere; }
.policy-body { max-width: 46rem; margin-top: 1.9rem; }
.policy-body section { margin-top: 1.65rem; }
.policy-body h2 { margin-bottom: .5rem; }
.policy-body p { color: var(--soft-ink); font-size: 1.06rem; }
.policy-body a { color: #175a5b; }

@media (max-width: 850px) {
  .hero-inner { gap: 1.85rem; }
  .hero h1 { font-size: clamp(3.15rem, 7.1vw, 4.5rem); }
  .section-intro { align-items: start; flex-direction: column; gap: .65rem; }
}

@media (max-width: 690px) {
  .header-inner { min-height: 4.2rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.2rem; padding-block: 2.75rem 2.3rem; }
  .hero h1 { font-size: clamp(3rem, 10.6vw, 5.5rem); }
  .hero-art { width: min(100%, 32rem); margin-inline: auto; aspect-ratio: 1.06; }
  .hero-device { width: 40%; }
  .play-steps { grid-template-columns: 1fr; gap: 1.8rem; }
  .step { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 1rem; }
  .step figcaption { padding-top: 0; }
  .step-screen { aspect-ratio: .9; }
  .step-screen img { width: 49%; }
  .download-inner, .footer-inner { align-items: flex-start; flex-direction: column; }
  .support-layout { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
  .button:hover { transform: none; }
}
