:root {
  --tomato: #E8553D;
  --tomato-deep: #B83A26;
  --tomato-light: #FF8A73;
  --peach: #FFE4D8;
  --paper: #FFF8F2;
  --ink: #1B1B1F;
  --ink-soft: #5B5650;
  --night: #15171C;
  --card-night: #1E212B;
  --white: #FFFFFF;
  color-scheme: light;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
}

body {
  font-family: "Nunito Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }

a { color: inherit; }

.wordmark { font-family: "Baloo 2", system-ui, sans-serif; }

/* ---------- Pinned hero ---------- */

.pin-hero {
  position: sticky; top: 0; z-index: 0;
  height: 100svh; color: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 40px 24px; overflow: hidden;
  background: linear-gradient(180deg, var(--tomato-light) 0%, var(--tomato) 16%, var(--tomato) 84%, var(--tomato-deep) 100%);
}

/* Live mascot: the real touche.svg, inlined and animated with CSS — genuinely
   transparent (no background square/card), grounded with a drop-shadow that
   follows its own silhouette instead of a boxy frame. */
.mascot-live {
  width: min(46vw, 240px);
  aspect-ratio: 1 / 1;
  margin: 0 auto 20px;
  filter: drop-shadow(0 22px 20px rgba(0, 0, 0, .28));
  transition: transform .2s ease;
}
.mascot-live:hover { transform: scale(1.06) rotate(-2deg); }
.mascot-live svg { width: 100%; height: 100%; overflow: visible; display: block; }

.m-bob { animation: m-bob 2.8s ease-in-out infinite; }
@keyframes m-bob {
  0%, 100% { transform: translateY(0); }
  45%, 55% { transform: translateY(-14px); }
}
.m-press { animation: m-press 2.8s ease-in-out infinite; }
@keyframes m-press {
  0%, 100% { transform: translateY(0); }
  22% { transform: translateY(6px); }
  32% { transform: translateY(0); }
}
.m-shadow {
  transform-box: fill-box; transform-origin: 50% 50%;
  animation: m-shadow 2.8s ease-in-out infinite;
}
@keyframes m-shadow {
  0%, 100% { transform: scale(1); opacity: .55; }
  50% { transform: scale(.8); opacity: .35; }
}
.m-eyes {
  transform-box: fill-box; transform-origin: 50% 50%;
  animation: m-blink 4.4s ease-in-out infinite;
}
@keyframes m-blink {
  0%, 90%, 100% { transform: scaleY(1); }
  94% { transform: scaleY(.1); }
}
.m-tuft {
  transform-box: fill-box; transform-origin: 0% 100%;
  animation: m-tuft 3.6s ease-in-out infinite;
}
@keyframes m-tuft {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-10deg); }
}
@media (prefers-reduced-motion: reduce) {
  .m-bob, .m-press, .m-shadow, .m-eyes, .m-tuft { animation: none; }
}

.pin-word { margin: 0; font-weight: 400; font-size: clamp(42px, 8vw, 76px); line-height: 1; }
.pin-sub { margin: 6px 0 20px; font-family: "Baloo 2", sans-serif; font-weight: 700; font-size: 19px; letter-spacing: .3em; }
.pin-tagline { max-width: 32ch; font-weight: 700; font-size: 20px; margin: 0; }

/* ---------- Reveal sheet ---------- */

.reveal-sheet {
  position: relative; z-index: 1;
  background: var(--paper); border-radius: 32px 32px 0 0;
  box-shadow: 0 -30px 60px -30px rgba(0, 0, 0, .25);
  padding: 64px 24px 0;
}
.reveal-sheet .container { max-width: 900px; margin-inline: auto; padding-inline: 0; }

.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

.section-eyebrow {
  font-family: "Baloo 2", sans-serif; font-weight: 600; font-size: 13px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--tomato-deep); margin: 0 0 10px;
}
.section-title {
  font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: clamp(28px, 4vw, 38px);
  margin: 0 0 14px; text-wrap: balance;
}
.section-lede { max-width: 54ch; color: var(--ink-soft); font-size: 18px; margin: 0 0 36px; }

.game-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: var(--white); border: 1px solid rgba(27, 27, 31, .08); border-radius: 20px;
  padding: 44px 32px 36px;
  box-shadow: 0 18px 40px -28px rgba(27, 27, 31, .3);
  transition: transform .15s ease, box-shadow .3s ease;
  will-change: transform;
}
.game-card:hover { box-shadow: 0 24px 50px -26px rgba(27, 27, 31, .35); }

.game-icon { width: 104px; height: 104px; border-radius: 24px; }

.game-name {
  font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: clamp(30px, 4vw, 40px);
  line-height: 1.1; margin: 14px 0 10px; letter-spacing: -.01em;
}
.game-pitch { max-width: 54ch; margin: 0 0 28px; color: var(--ink-soft); text-wrap: pretty; }
.nobr { white-space: nowrap; }

.status-pill {
  display: inline-flex; align-items: center; gap: 6px; font-family: "Baloo 2", sans-serif;
  font-weight: 600; font-size: 13px; color: var(--tomato-deep); background: var(--peach);
  border-radius: 999px; padding: 6px 14px;
}
.status-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--tomato); }

.store-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.game-card .store-badges { justify-content: center; }
.store-badge {
  display: flex; align-items: center; gap: 10px; border: 1px solid rgba(27, 27, 31, .14);
  border-radius: 10px; padding: 9px 14px; color: var(--ink-soft); opacity: .65; position: relative;
}
.store-badge svg { flex: none; }
.store-badge .label { display: flex; flex-direction: column; line-height: 1.2; }
.store-badge .label .small { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.store-badge .label .big { font-size: 14px; font-weight: 700; }
.store-badge .soon {
  position: absolute; top: -9px; right: -8px; background: var(--night); color: var(--white);
  font-family: "Baloo 2", sans-serif; font-weight: 600; font-size: 11px; letter-spacing: .04em;
  padding: 3px 8px; border-radius: 999px; transform: rotate(6deg);
}

/* ---------- Signup band ---------- */

.signup-band {
  color: var(--white); text-align: center; padding: 80px 24px; margin-top: 56px; position: relative;
  background:
    radial-gradient(60% 60% at 20% 20%, rgba(255, 138, 115, .25), transparent 60%),
    var(--night);
}
.signup-band .section-eyebrow { color: var(--tomato-light); }
.signup-band .section-title { color: var(--white); }
.signup-band .section-lede { color: rgba(255, 255, 255, .8); margin-inline: auto; font-weight: 600; }

.signup-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; max-width: 440px; margin: 0 auto 12px; }
.signup-form input[type="email"] {
  flex: 1; min-width: 200px; padding: 13px 17px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .15); background: rgba(255, 255, 255, .08); backdrop-filter: blur(8px);
  font: 600 14px "Nunito Sans", sans-serif; color: var(--white);
}
.signup-form input[type="email"]::placeholder { color: rgba(255, 255, 255, .55); }
.signup-form button {
  padding: 13px 24px; border-radius: 999px; border: none;
  background: var(--tomato); color: var(--white); font: 700 14px "Baloo 2", sans-serif; cursor: pointer;
  box-shadow: 0 10px 24px -10px rgba(232, 85, 61, .7);
  transition: transform .2s ease, box-shadow .2s ease;
}
.signup-form button:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(232, 85, 61, .8); }

.signup-note { font-size: 13px; color: rgba(255, 255, 255, .6); margin: 0; }

/* ---------- Footer ---------- */

footer {
  text-align: center; padding: 26px 20px; font-size: 13px;
  color: rgba(255, 255, 255, .55); background: var(--night);
}
footer .wordmark { color: var(--white); font-weight: 700; font-size: 14px; }
footer p { margin: 0; }
footer .social { margin: 10px 0 12px; }
footer .social a {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 999px;
  font-weight: 700; font-size: 14px; color: rgba(255, 255, 255, .86); text-decoration: none;
  transition: color .2s ease, background-color .2s ease;
}
footer .social a:hover { color: var(--white); background: rgba(255, 255, 255, .07); }
footer .social a:focus-visible { outline: 3px solid var(--tomato-light); outline-offset: 2px; color: var(--white); }

/* ---------- Home: contact sheet (rises over the paper like the paper rose over the hero) ---------- */

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.contact {
  margin: 88px -24px 0; padding: 96px 24px 64px; border-radius: 32px 32px 0 0;
  color: var(--white); text-align: center;
  background:
    radial-gradient(60% 60% at 20% 20%, rgba(255, 138, 115, .25), transparent 60%),
    var(--night);
  box-shadow: 0 -30px 60px -30px rgba(21, 23, 28, .35);
}
.contact-inner { max-width: 560px; margin-inline: auto; }

.contact-title {
  font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: clamp(34px, 5.4vw, 52px);
  line-height: 1.05; letter-spacing: -.015em; margin: 0 0 16px; text-wrap: balance;
}
.contact-lede { margin: 0 auto 36px; max-width: 44ch; font-size: 18px; color: rgba(255, 255, 255, .78); text-wrap: pretty; }

.contact-field {
  display: flex; align-items: center; gap: 6px; padding: 6px;
  border-radius: 999px; background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.contact-field:focus-within {
  border-color: var(--tomato-light); background: rgba(255, 255, 255, .1);
  box-shadow: 0 0 0 4px rgba(255, 138, 115, .18);
}
.contact-field input {
  flex: 1; min-width: 0; padding: 12px 8px 12px 20px; border: 0; background: transparent; outline: none;
  font: 600 17px "Nunito Sans", sans-serif; color: var(--white); caret-color: var(--tomato-light);
}
.contact-field input::placeholder { color: rgba(255, 255, 255, .5); }
.contact-field input::selection { background: var(--tomato); color: var(--white); }
.contact-field button {
  flex: none; padding: 11px 26px; border: 0; border-radius: 999px; cursor: pointer;
  font: 700 19px "Baloo 2", sans-serif; color: var(--white); background: var(--tomato);
  box-shadow: 0 10px 24px -10px rgba(232, 85, 61, .8);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.contact-field button:hover { background: #F0654D; transform: translateY(-1px); }
.contact-field button:active { transform: translateY(0); }
.contact-field button:focus-visible { outline: 3px solid var(--white); outline-offset: 2px; }
.contact-field button:disabled { cursor: progress; opacity: .7; transform: none; }

.contact-form.is-invalid .contact-field { border-color: var(--tomato-light); }

.contact-note { min-height: 1.6em; margin: 14px 0 0; font-size: 15px; font-weight: 600; color: var(--tomato-light); }

.contact-done { display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--white); }
.contact-done[hidden] { display: none; }
.contact-done svg { color: var(--tomato-light); }
.contact-done p { margin: 0; font: 700 22px/1.3 "Baloo 2", sans-serif; }
.contact-done circle { stroke-dasharray: 126; stroke-dashoffset: 126; animation: draw .6s cubic-bezier(.2, .8, .2, 1) forwards; }
.contact-done path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .35s cubic-bezier(.2, .8, .2, 1) .45s forwards; }
.contact-done p { animation: rise .5s cubic-bezier(.2, .8, .2, 1) .2s both; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

.site-footer { margin-inline: -24px; border-top: 1px solid rgba(255, 255, 255, .07); }

@media (max-width: 480px) {
  .contact { padding: 72px 20px 64px; }
  .contact-field { flex-direction: column; align-items: stretch; gap: 8px; border-radius: 26px; }
  .contact-field input { padding: 12px 16px; text-align: center; }
  .contact-field button { padding: 12px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-done circle, .contact-done path, .contact-done p { animation: none; stroke-dashoffset: 0; }
  .contact-field button { transition: none; }
}

/* ---------- Links from the game card to its page ---------- */

.game-icon-link {
  display: block; margin-bottom: 20px; border-radius: 24px;
  box-shadow: 0 16px 30px -16px rgba(21, 23, 28, .55);
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s ease;
}
.game-icon-link:hover { transform: translateY(-3px) rotate(-4deg); box-shadow: 0 22px 34px -16px rgba(21, 23, 28, .6); }

.game-title { color: inherit; text-decoration: none; border-radius: 6px; transition: color .2s ease; }
.game-title:hover { color: var(--tomato-deep); }
.game-title:focus-visible { color: var(--tomato-deep); outline: 2px solid var(--tomato-deep); outline-offset: 4px; }

.game-more {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px;
  padding: 13px 28px; border-radius: 999px; white-space: nowrap;
  font: 700 19px "Baloo 2", sans-serif; color: var(--white); background: var(--tomato); text-decoration: none;
  box-shadow: 0 10px 24px -10px rgba(232, 85, 61, .7);
  transition: transform .2s ease, box-shadow .2s ease, gap .2s ease, background .2s ease;
}
.game-more:hover, .game-more:focus-visible {
  background: var(--tomato-deep); gap: 14px; transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(184, 58, 38, .8);
}
.game-more:focus-visible { outline: 3px solid var(--peach); outline-offset: 3px; }
.game-more:active { transform: translateY(0); }

@media (max-width: 560px) {
  .game-card { padding: 32px 20px 28px; }
  .game-icon, .game-icon-link { width: 88px; height: 88px; border-radius: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .game-icon-link, .game-more { transition: none; }
  .game-icon-link:hover, .game-more:hover, .game-more:focus-visible { transform: none; }
}
