@font-face {
  font-family: DM Sans;
  src: url('/assets/fonts/dm-sans.ttf') format('truetype');
  font-display: swap;
  font-weight: 400;
}
@font-face {
  font-family: Space Grotesk;
  src: url('/assets/fonts/space-grotesk.ttf') format('truetype');
  font-display: swap;
  font-weight: 700;
}
:root {
  color-scheme: light dark;
  --bg: #f8f7f2;
  --paper: #fff;
  --ink: #25251f;
  --muted: #62625b;
  --line: #deded5;
  --yellow: #f8d84b;
  --lavender: #cfc3f4;
  --coral: #ffa28d;
  --mint: #d9e9bd;
  --pink: #f4c0d5;
  --blue: #bbdcef;
  --accent-ink: #25251f;
  --focus: #6552a5;
  --logo-filter: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #191a17;
    --paper: #242621;
    --ink: #f8f7f2;
    --muted: #b9bab0;
    --line: #42443c;
    --focus: #cfc3f4;
    --logo-filter: invert(94%);
  }
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --bg: #191a17;
  --paper: #242621;
  --ink: #f8f7f2;
  --muted: #b9bab0;
  --line: #42443c;
  --focus: #cfc3f4;
  --logo-filter: invert(94%);
}
:root[data-theme='light'] {
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}
button,
input,
select,
textarea {
  font: inherit;
}
a {
  color: inherit;
  text-underline-offset: 0.22em;
}
button,
a,
input,
select,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
a,
select,
summary {
  touch-action: manipulation;
}
a:hover {
  text-decoration-thickness: 2px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.055em;
}
h1 {
  font-size: clamp(3.2rem, 7.7vw, 6.5rem);
  margin-bottom: 1.5rem;
}
h2 {
  font-size: clamp(2.3rem, 4.8vw, 4rem);
  margin-bottom: 1.5rem;
}
h3 {
  font-size: 1.5rem;
  letter-spacing: -0.04em;
}
img {
  max-width: 100%;
  height: auto;
}
.page-shell {
  max-width: 1296px;
  padding: 0 3.25rem;
  margin: auto;
}
.site-header {
  min-height: 116px;
  display: flex;
  align-items: center;
  gap: 2.25rem;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  display: inline-flex;
  flex-shrink: 0;
}
.wordmark img {
  filter: var(--logo-filter);
}
.site-header nav {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
}
.site-header nav a {
  text-decoration: none;
  padding: 0.5rem 0;
}
.site-header nav a[aria-current] {
  text-decoration: underline;
}
.preferences {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}
.language-switch {
  display: flex;
  gap: 0.45rem;
  font-size: 0.875rem;
  font-weight: bold;
}
.language-switch a {
  text-decoration: none;
  color: var(--muted);
  padding: 0.4rem 0.1rem;
}
.language-switch a[aria-current] {
  color: var(--ink);
  text-decoration: underline;
}
.theme-control select {
  appearance: none;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  font-size: 0.875rem;
  cursor: pointer;
  max-width: 9rem;
}
.home-hero {
  min-height: 630px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 2.5rem;
  padding: 4.25rem 0;
}
.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  line-height: 1.6;
  font-weight: bold;
  margin-bottom: 1.5rem;
}
.lede {
  font-size: 1.2rem;
  line-height: 1.65;
  max-width: 31rem;
  color: var(--muted);
}
.button {
  background: var(--yellow);
  color: var(--accent-ink);
  border: 2px solid var(--accent-ink);
  padding: 0.9rem 1.25rem;
  border-radius: 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  font-weight: bold;
  min-height: 54px;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--accent-ink);
  transition:
    transform 0.18s,
    box-shadow 0.18s;
}
.button:hover {
  transform: translate(-1px, -2px);
  box-shadow: 5px 5px 0 var(--accent-ink);
}
.button:active {
  transform: translate(2px, 2px);
  box-shadow: 0 0 0 var(--accent-ink);
}
.button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.button span {
  font-size: 1.4rem;
  line-height: 1;
}
.availability {
  font-size: 0.84rem;
  color: var(--muted);
  margin: 1.3rem 0 0;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.5rem;
}
.hero-actions .button {
  max-width: 100%;
  text-align: center;
  gap: 1rem;
}
.explore-link {
  font-weight: bold;
  text-underline-offset: 0.3em;
}
.hero-art {
  position: relative;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-card {
  width: min(84%, 340px);
  padding: 1.25rem 1.5rem 1.4rem;
  background: var(--lavender);
  border: 2.5px solid var(--accent-ink);
  border-radius: 30px;
  color: var(--accent-ink);
  transform: rotate(8deg);
  box-shadow: 10px 10px 0 var(--accent-ink);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: arrival 0.6s ease-out both;
}
.card-tag {
  align-self: flex-start;
  font-size: 0.8rem;
  font-weight: bold;
  letter-spacing: 0.14em;
}
.mascot {
  width: 245px;
  animation: float 5s ease-in-out infinite;
  transform-origin: 50% 60%;
}
.hero-card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.2rem;
  letter-spacing: -0.06em;
  line-height: 1.1;
}
.card-sticker {
  position: absolute;
  bottom: -20px;
  left: -25px;
  padding: 0.45rem 0.7rem;
  background: var(--yellow);
  font-size: 0.7rem;
  font-weight: bold;
  letter-spacing: 0.08em;
  transform: rotate(-14deg);
  border: 2px solid var(--accent-ink);
  border-radius: 6px;
}
.orbit-label {
  position: absolute;
  top: 0;
  left: 1rem;
  transform: rotate(-9deg);
  font-weight: bold;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}
.spark {
  position: absolute;
  font-size: 5rem;
  line-height: 1;
  color: var(--ink);
}
.sparkle-one {
  right: 0;
  top: 0;
  transform: rotate(10deg);
}
.sparkle-two {
  left: -0.3rem;
  bottom: 6rem;
  font-size: 4rem;
  color: var(--ink);
}
.art-note {
  position: absolute;
  right: 0;
  bottom: 0;
  transform: rotate(-8deg);
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 0.06em;
  line-height: 1.2;
}
.ticker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.15rem 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
}
.ticker span:nth-child(even) {
  color: var(--muted);
  font-size: 1.8rem;
  line-height: 1;
}
.section {
  padding: 5.5rem 0;
}
.section-heading {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 2rem;
}
.section-heading p {
  max-width: 27rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.games-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}
.game-tile {
  border-radius: 20px;
  min-height: 240px;
  padding: 1.3rem 1.15rem;
  position: relative;
  display: flex;
  flex-direction: column;
  color: var(--accent-ink);
  overflow: hidden;
}
.lavender {
  background: var(--lavender);
}
.coral {
  background: var(--coral);
}
.mint {
  background: var(--mint);
}
.yellow {
  background: var(--yellow);
}
.blue {
  background: var(--blue);
}
.pink {
  background: var(--pink);
}
.game-number {
  font-size: 0.75rem;
  margin-bottom: 1.3rem;
  opacity: 0.75;
}
.game-tile h3 {
  font-size: 1.45rem;
  margin-bottom: 0.6rem;
  overflow-wrap: break-word;
}
.game-tile p {
  font-size: 0.875rem;
  line-height: 1.45;
  margin-bottom: 2.5rem;
}
.tile-symbol {
  position: absolute;
  bottom: 0.75rem;
  right: 1rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  line-height: 1;
}
.how-section {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
}
.steps article {
  display: grid;
  grid-template-columns: 2.7rem 1fr;
  gap: 0 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}
.steps article:first-child {
  padding-top: 0;
}
.step-number {
  grid-row: span 2;
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 0.9rem;
}
.steps h3 {
  margin-bottom: 0.7rem;
}
.steps p {
  color: var(--muted);
  margin-bottom: 0;
}
.contact-callout {
  border-radius: 30px;
  background: var(--mint);
  color: var(--accent-ink);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 5rem;
}
.contact-callout h2 {
  margin-bottom: 0;
}
.contact-callout p {
  max-width: 28rem;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
}
.footer-brand p {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 1rem 0 0;
}
.footer-links {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  font-size: 0.9rem;
  flex-wrap: wrap;
}
.footer-links a {
  text-decoration: none;
}
.operator {
  font-size: 0.875rem;
  color: var(--muted);
}
.operator summary {
  cursor: pointer;
}
.operator address {
  font-style: normal;
  margin-top: 1rem;
}
.copyright {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
  text-align: right;
}
.multiline {
  white-space: pre-line;
}
.contact-layout {
  padding: 5rem 0;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
}
.contact-copy h1 {
  font-size: clamp(3.3rem, 6vw, 5rem);
}
.direct-contact {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 2rem 0;
}
.direct-contact span {
  font-size: 0.9rem;
  color: var(--muted);
}
.direct-contact a {
  font-size: clamp(1rem, 2vw, 1.3rem);
  overflow-wrap: anywhere;
}
.contact-mascot {
  transform: rotate(-10deg);
  margin-top: 1rem;
}
.contact-form-wrap {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 2rem;
}
.contact-form-wrap label {
  display: block;
  margin: 1.25rem 0 0.5rem;
  font-weight: bold;
  font-size: 0.9rem;
}
.contact-form-wrap label:first-of-type {
  margin-top: 0;
}
.contact-form-wrap label span {
  font-weight: normal;
  color: var(--muted);
}
.contact-form-wrap input,
.contact-form-wrap select,
.contact-form-wrap textarea {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  background: var(--bg);
  color: var(--ink);
  letter-spacing: normal;
  min-width: 0;
}
.contact-form-wrap textarea {
  resize: vertical;
  min-height: 180px;
}
.field-hint,
.form-privacy {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0.75rem 0 1.3rem;
}
.contact-form-wrap .button {
  width: 100%;
  justify-content: space-between;
}
.contact-form-wrap .field-hint:last-child {
  margin-bottom: 0;
}
.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.form-status {
  background: var(--yellow);
  color: var(--accent-ink);
  border-radius: 12px;
  padding: 1rem;
  font-size: 0.9rem;
}
.success-page {
  max-width: 680px;
  text-align: center;
  padding: 5rem 0 6rem;
  margin: auto;
}
.success-page h1 {
  font-size: clamp(3rem, 6vw, 5rem);
}
.success-page .lede {
  margin: 0 auto 2rem;
}
.privacy-heading {
  padding: 4rem 0 2rem;
}
.privacy-heading h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  overflow-wrap: anywhere;
}
.privacy-heading .lede {
  max-width: 44rem;
}
.updated {
  font-size: 0.84rem;
  color: var(--muted);
}
.privacy-layout {
  max-width: 820px;
  margin: 0 auto;
  padding-bottom: 5rem;
}
.privacy-document section {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 2rem;
}
.privacy-document h2 {
  font-size: 1.9rem;
  letter-spacing: -0.04em;
  line-height: 1.2;
}
.privacy-document h3 {
  font-size: 1.3rem;
  margin-top: 1.7rem;
}
.privacy-document p {
  line-height: 1.8;
}
.privacy-document address {
  font-style: normal;
  background: var(--paper);
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 1.5rem;
  overflow-wrap: anywhere;
}
.notice {
  border-left: 4px solid var(--lavender);
  background: var(--paper);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}
.notice p:last-child {
  margin-bottom: 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  background: var(--yellow);
  color: var(--accent-ink);
  z-index: 10;
  padding: 0.8rem 1rem;
  border-radius: 8px;
}
.skip-link:focus {
  top: 1rem;
}
@keyframes float {
  0%,
  100% {
    transform: rotate(-4deg) translateY(0);
  }
  50% {
    transform: rotate(3deg) translateY(-8px);
  }
}
@keyframes arrival {
  from {
    opacity: 0;
    transform: translateY(15px) rotate(3deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(8deg);
  }
}
@media (max-width: 1000px) {
  .page-shell {
    padding: 0 2rem;
  }
  .site-header {
    gap: 1.5rem;
  }
  .site-header nav {
    gap: 1rem;
  }
  .preferences {
    gap: 0.8rem;
  }
  .games-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .home-hero {
    gap: 1.5rem;
  }
  .hero-art {
    min-height: 390px;
  }
  .hero-card-title {
    font-size: 2.6rem;
  }
  .hero-card .mascot {
    width: 200px;
  }
  .contact-layout {
    gap: 2.5rem;
  }
  .hero-copy h1 {
    font-size: 4.6rem;
  }
  .how-section {
    gap: 2rem;
  }
  .contact-callout {
    padding: 2.5rem;
  }
}
@media (max-width: 720px) {
  .page-shell {
    padding: 0 1.25rem;
  }
  .site-header {
    min-height: 110px;
    flex-wrap: wrap;
    gap: 1rem;
    align-content: center;
    padding: 1.1rem 0;
  }
  .wordmark img {
    width: 100px;
  }
  .site-header nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    gap: 1.6rem;
    font-size: 0.9rem;
  }
  .preferences {
    margin-left: auto;
    gap: 0.75rem;
  }
  .theme-control select {
    max-width: 7.5rem;
    padding: 0.45rem 0.55rem;
  }
  .home-hero {
    grid-template-columns: 1fr;
    padding: 3rem 0 2.5rem;
    gap: 2rem;
  }
  .hero-copy h1 {
    font-size: clamp(3.35rem, 12vw, 5rem);
  }
  .lede {
    font-size: 1.1rem;
  }
  .hero-art {
    min-height: 410px;
    max-width: 430px;
    width: 100%;
    margin: 0 auto;
  }
  .hero-card {
    max-width: 285px;
  }
  .hero-card .mascot {
    width: 220px;
  }
  .ticker {
    font-size: 1rem;
    gap: 1.5rem;
  }
  .ticker span:nth-last-child(-n + 4) {
    display: none;
  }
  .section {
    padding: 3.5rem 0;
  }
  .section-heading {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .section-heading h2 {
    margin-bottom: 1rem;
  }
  .section-heading p {
    margin-bottom: 0;
  }
  .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
  .game-tile {
    min-height: 230px;
    padding: 1.15rem 1rem;
  }
  .game-tile h3 {
    font-size: 1.4rem;
  }
  .how-section {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .contact-callout {
    grid-template-columns: 1fr;
    padding: 2rem;
    gap: 1.5rem;
    margin-bottom: 3rem;
  }
  .site-footer {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
  .copyright {
    text-align: left;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    padding: 3rem 0;
    gap: 1.5rem;
  }
  .contact-mascot {
    display: none;
  }
  .contact-form-wrap {
    padding: 1.5rem;
  }
  .contact-copy h1 {
    font-size: 3.7rem;
  }
  .contact-copy .direct-contact {
    margin-bottom: 0;
  }
  .privacy-heading {
    padding-top: 3rem;
  }
  .privacy-document h2 {
    font-size: 1.65rem;
  }
  .privacy-layout {
    padding-bottom: 3rem;
  }
}
@media (max-width: 360px) {
  .page-shell {
    padding: 0 1rem;
  }
  .preferences {
    gap: 0.4rem;
  }
  .theme-control select {
    max-width: 6.6rem;
  }
  .site-header .wordmark img {
    width: 90px;
  }
  .game-tile h3 {
    font-size: 1.2rem;
  }
  .hero-art {
    min-height: 350px;
  }
  .hero-card {
    max-width: 235px;
  }
  .hero-card .mascot {
    width: 175px;
  }
  .sparkle-one {
    font-size: 3rem;
  }
  .contact-form-wrap {
    padding: 1rem;
  }
  .home-hero h1 {
    font-size: 3rem;
  }
  .contact-copy h1 {
    font-size: 3.2rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
