@font-face {
  font-family: "Poppins Local";
  src: url("/assets/fonts/Poppins.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Displatter";
  src: url("/assets/fonts/DISPLATTER.OTF") format("opentype");
  font-display: swap;
}

:root {
  --ink: #28374d;
  --sky: #79d8f2;
  --sky-light: #c7f4ff;
  --cream: #fff8da;
  --paper: #fffdf3;
  --yellow: #ffd84d;
  --coral: #ff766c;
  --red: #ff5d66;
  --purple: #5965d8;
  --lilac: #e9e7ff;
  --mint: #a9efcf;
  --shadow: rgba(40, 55, 77, 0.22);
  --radius-lg: 32px;
  --radius-md: 22px;
  --max-width: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--sky);
  font-family: "Poppins Local", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 7% 14%, transparent 0 42px, rgba(40, 55, 77, 0.08) 43px 49px, transparent 50px),
    radial-gradient(circle at 92% 21%, rgba(255, 216, 77, 0.35) 0 34px, transparent 35px),
    radial-gradient(circle at 84% 72%, transparent 0 55px, rgba(40, 55, 77, 0.07) 56px 64px, transparent 65px),
    linear-gradient(135deg, var(--sky), var(--sky-light));
}

a {
  color: inherit;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 4px solid #ffffff;
  outline-offset: 4px;
  box-shadow: 0 0 0 7px var(--ink);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: white;
  background: var(--ink);
  border-radius: 12px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  padding: 14px clamp(16px, 4vw, 38px);
  background: rgba(121, 216, 242, 0.88);
  border-bottom: 3px solid rgba(40, 55, 77, 0.12);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  display: flex;
  max-width: var(--max-width);
  min-height: 54px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 48px;
  border: 3px solid var(--ink);
  border-radius: 15px;
  box-shadow: 0 4px 0 var(--shadow);
}

.brand span {
  font-size: clamp(0.95rem, 2vw, 1.12rem);
  letter-spacing: 0.04em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 9px 12px;
  border: 2px solid transparent;
  border-radius: 14px;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--paper);
  border-color: var(--ink);
}

.site-nav .nav-cta {
  margin-left: 5px;
  padding-inline: 16px;
  background: var(--yellow);
  border-color: var(--ink);
  box-shadow: 0 4px 0 var(--ink);
}

.menu-toggle {
  display: none;
  width: 50px;
  height: 46px;
  padding: 10px;
  color: var(--ink);
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 15px;
  box-shadow: 0 4px 0 var(--ink);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 100%;
  height: 3px;
  content: "";
  background: currentColor;
  border-radius: 4px;
}

.menu-toggle span {
  margin: 5px 0;
}

.container {
  width: min(calc(100% - 36px), var(--max-width));
  margin-inline: auto;
}

.hero {
  position: relative;
  min-height: 710px;
  padding: clamp(54px, 8vw, 105px) 0 80px;
  overflow: hidden;
}

.hero::before,
.hero::after {
  position: absolute;
  content: "";
  opacity: 0.12;
  transform: rotate(-12deg);
}

.hero::before {
  top: 86px;
  right: -28px;
  width: 120px;
  height: 28px;
  background: var(--ink);
  border-radius: 20px;
  box-shadow: 0 42px 0 var(--ink);
}

.hero::after {
  bottom: 76px;
  left: -5px;
  width: 86px;
  height: 86px;
  border: 13px solid var(--ink);
  border-radius: 50%;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  align-items: center;
  gap: clamp(35px, 7vw, 90px);
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 7px 14px;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: 14px;
  box-shadow: 0 4px 0 var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: rotate(-1deg);
}

.eyebrow::before {
  width: 9px;
  height: 9px;
  content: "";
  background: var(--coral);
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  font-family: "Displatter", "Poppins Local", sans-serif;
  font-size: clamp(4rem, 8.6vw, 7.7rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 0.78;
  text-shadow: 4px 5px 0 rgba(255, 255, 255, 0.75);
}

.hero h1 span {
  display: block;
  color: var(--coral);
  -webkit-text-stroke: 2px var(--ink);
  paint-order: stroke fill;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 590px;
  margin: 30px 0 28px;
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 700;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 58px;
  padding: 12px 20px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--ink);
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 19px;
  box-shadow: 0 6px 0 var(--ink);
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  box-shadow: 0 3px 0 var(--ink);
  transform: translateY(3px);
}

.button.primary {
  background: var(--coral);
}

.button.secondary {
  background: var(--yellow);
}

.button svg {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  fill: currentColor;
}

.store-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.store-label small {
  font-size: 0.62rem;
  letter-spacing: 0.03em;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  margin-top: 26px;
  gap: 10px;
}

.hero-notes span {
  padding: 6px 11px;
  background: rgba(255, 255, 255, 0.55);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
}

.hero-art {
  position: relative;
  min-height: 630px;
}

.sunburst {
  position: absolute;
  inset: 4% -8% 8% 3%;
  background: repeating-conic-gradient(from -5deg, rgba(255, 216, 77, 0.42) 0 12deg, transparent 12deg 25deg);
  border-radius: 50%;
  animation: rotate-slow 24s linear infinite;
}

.mascot {
  position: absolute;
  z-index: 3;
  right: -2%;
  bottom: 0;
  width: min(83%, 430px);
  height: auto;
  filter: drop-shadow(0 16px 0 rgba(40, 55, 77, 0.18));
  transform-origin: bottom center;
  animation: mascot-arrive 700ms cubic-bezier(0.22, 1.2, 0.44, 1) both;
}

.game-board-card {
  position: absolute;
  z-index: 4;
  top: 42px;
  left: -12px;
  width: 250px;
  padding: 16px;
  background: #f2c36d;
  border: 5px solid var(--ink);
  border-radius: 28px;
  box-shadow: 0 10px 0 var(--ink);
  transform: rotate(-5deg);
}

.board-label {
  display: flex;
  margin-bottom: 12px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.board-reset {
  padding: 5px 9px;
  color: var(--ink);
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 10px;
  font-size: 0.64rem;
  font-weight: 900;
  cursor: pointer;
}

.mini-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  aspect-ratio: 1;
  gap: 6px;
}

.board-cell {
  display: grid;
  padding: 0;
  color: var(--ink);
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: 12px;
  place-items: center;
  cursor: pointer;
}

.board-cell[data-mark="x"]::before,
.board-cell[data-mark="o"]::before {
  font-family: "Poppins Local", sans-serif;
  font-size: 2.35rem;
  font-weight: 900;
  line-height: 1;
}

.board-cell[data-mark="x"]::before {
  color: var(--red);
  content: "X";
  -webkit-text-stroke: 1px var(--ink);
}

.board-cell[data-mark="o"]::before {
  color: #1684d6;
  content: "O";
  -webkit-text-stroke: 1px var(--ink);
}

.board-cell:hover:empty {
  background: white;
}

.floating-badge {
  position: absolute;
  z-index: 5;
  right: 0;
  top: 28px;
  padding: 10px 14px;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 18px;
  box-shadow: 0 5px 0 var(--ink);
  font-size: 0.74rem;
  font-weight: 900;
  transform: rotate(5deg);
}

.section {
  padding: clamp(72px, 9vw, 116px) 0;
}

.section-paper {
  position: relative;
  background: var(--cream);
  border-block: 4px solid var(--ink);
}

.section-paper::before {
  position: absolute;
  top: -18px;
  right: 10%;
  width: 88px;
  height: 34px;
  content: "";
  background: rgba(255, 118, 108, 0.7);
  transform: rotate(5deg);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 46px;
  text-align: center;
}

.section-heading.left {
  margin-inline: 0;
  text-align: left;
}

.section-heading h2 {
  margin: 0 0 12px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.section-heading p {
  margin: 0;
  font-weight: 650;
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mode-card {
  position: relative;
  min-height: 360px;
  padding: 28px;
  overflow: hidden;
  background: white;
  border: 4px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 0 var(--ink);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.mode-card:nth-child(1) {
  background: #fff3c4;
  transform: rotate(-1.2deg);
}

.mode-card:nth-child(2) {
  background: var(--lilac);
  transform: translateY(18px) rotate(1deg);
}

.mode-card:nth-child(3) {
  background: #ffe3e0;
  transform: rotate(-0.6deg);
}

.mode-card:hover {
  box-shadow: 0 5px 0 var(--ink);
  transform: translateY(5px) rotate(0deg);
}

.mode-number {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.mode-icon {
  display: grid;
  width: 74px;
  height: 74px;
  margin-bottom: 28px;
  padding: 16px;
  background: var(--purple);
  border: 3px solid var(--ink);
  border-radius: 50%;
  box-shadow: 0 5px 0 var(--ink);
  place-items: center;
}

.mode-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mode-card h3 {
  margin: 0 0 10px;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1.15;
}

.mode-card p {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 650;
}

.mode-tag {
  display: inline-block;
  margin-top: 24px;
  padding: 6px 10px;
  background: white;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.feature-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: clamp(44px, 8vw, 105px);
}

.skin-showcase {
  position: relative;
  min-height: 480px;
}

.skin-card {
  position: absolute;
  display: grid;
  width: 190px;
  aspect-ratio: 1;
  padding: 34px;
  background: white;
  border: 4px solid var(--ink);
  border-radius: 35px;
  box-shadow: 0 9px 0 var(--ink);
  place-items: center;
}

.skin-card img {
  width: 100%;
  height: 100%;
}

.skin-card:nth-child(1) {
  z-index: 3;
  top: 32px;
  left: 0;
  background: #ffe3e0;
  transform: rotate(-9deg);
}

.skin-card:nth-child(2) {
  z-index: 2;
  top: 120px;
  right: 1%;
  background: var(--lilac);
  transform: rotate(8deg);
}

.skin-card:nth-child(3) {
  z-index: 4;
  right: 24%;
  bottom: 14px;
  width: 155px;
  background: var(--mint);
  transform: rotate(-2deg);
}

.free-sticker {
  position: absolute;
  z-index: 6;
  top: 4px;
  right: 18%;
  display: grid;
  width: 112px;
  height: 112px;
  padding: 14px;
  background: var(--yellow);
  border: 4px solid var(--ink);
  border-radius: 50%;
  box-shadow: 0 7px 0 var(--ink);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  transform: rotate(8deg);
  place-items: center;
}

.feature-list {
  display: grid;
  margin: 34px 0 0;
  padding: 0;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding: 17px 16px 17px 50px;
  background: rgba(255, 255, 255, 0.65);
  border: 3px solid var(--ink);
  border-radius: 18px;
  font-size: 0.84rem;
  font-weight: 800;
}

.feature-list li::before {
  position: absolute;
  top: 50%;
  left: 16px;
  display: grid;
  width: 24px;
  height: 24px;
  content: "X";
  color: white;
  background: var(--coral);
  border: 2px solid var(--ink);
  border-radius: 7px;
  font-size: 0.75rem;
  place-items: center;
  transform: translateY(-50%) rotate(-5deg);
}

.how-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(40px, 8vw, 100px);
}

.rules-card {
  padding: clamp(25px, 5vw, 46px);
  background: white;
  border: 4px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 0 var(--ink);
}

.step-list {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 22px;
  list-style: none;
  counter-reset: steps;
}

.step-list li {
  position: relative;
  min-height: 58px;
  padding-left: 76px;
  counter-increment: steps;
  font-weight: 700;
}

.step-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 54px;
  height: 54px;
  content: counter(steps, decimal-leading-zero);
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: 16px;
  box-shadow: 0 4px 0 var(--ink);
  font-size: 0.8rem;
  font-weight: 900;
  place-items: center;
  transform: rotate(-3deg);
}

.cta-card {
  position: relative;
  display: grid;
  padding: clamp(34px, 6vw, 74px);
  overflow: hidden;
  background: var(--purple);
  border: 5px solid var(--ink);
  border-radius: 42px;
  box-shadow: 0 12px 0 var(--ink);
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
}

.cta-card::after {
  position: absolute;
  right: 3%;
  bottom: -110px;
  width: 260px;
  height: 260px;
  content: "O";
  color: transparent;
  border: 28px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.cta-card h2,
.cta-card p {
  position: relative;
  z-index: 2;
  color: white;
}

.cta-card h2 {
  margin: 0 0 9px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

.cta-card p {
  max-width: 650px;
  margin: 0;
  font-weight: 700;
}

.cta-actions {
  position: relative;
  z-index: 2;
}

.site-footer {
  padding: 58px 0 24px;
  color: white;
  background: var(--ink);
  border-top: 4px solid var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(2, 0.7fr);
  gap: 45px;
}

.footer-brand {
  max-width: 420px;
}

.footer-brand .brand {
  color: white;
}

.footer-brand p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
}

.footer-group h2 {
  margin: 0 0 14px;
  color: var(--yellow);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 8px;
  list-style: none;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  margin-top: 44px;
  padding-top: 22px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.73rem;
}

/* Legal and support pages */
.legal-main {
  padding: clamp(45px, 7vw, 85px) 0 100px;
}

.legal-hero {
  max-width: 900px;
  margin: 0 auto 32px;
  text-align: center;
}

.legal-hero h1 {
  margin: 12px 0 14px;
  font-size: clamp(2.7rem, 7vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.legal-hero p {
  max-width: 680px;
  margin: 0 auto;
  font-weight: 700;
}

.effective-date {
  display: inline-block;
  margin-top: 18px;
  padding: 7px 13px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
}

.legal-shell {
  display: grid;
  max-width: 1050px;
  margin: 0 auto;
  grid-template-columns: 225px minmax(0, 1fr);
  align-items: start;
  gap: 30px;
}

.legal-toc {
  position: sticky;
  top: 105px;
  padding: 20px;
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: 22px;
  box-shadow: 0 6px 0 var(--ink);
}

.legal-toc strong {
  display: block;
  margin-bottom: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-toc a {
  display: block;
  padding: 5px 0;
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1.35;
  text-decoration: none;
}

.legal-toc a:hover {
  text-decoration: underline;
}

.legal-document {
  padding: clamp(25px, 5vw, 55px);
  background: var(--paper);
  border: 4px solid var(--ink);
  border-radius: 32px;
  box-shadow: 0 10px 0 var(--ink);
}

.legal-document section {
  scroll-margin-top: 115px;
}

.legal-document section + section {
  margin-top: 38px;
  padding-top: 34px;
  border-top: 3px dashed rgba(40, 55, 77, 0.25);
}

.legal-document h2 {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  line-height: 1.2;
}

.legal-document h3 {
  margin: 24px 0 8px;
  font-size: 1.05rem;
}

.legal-document p,
.legal-document li {
  font-size: 0.92rem;
}

.legal-document p {
  margin: 0 0 14px;
}

.legal-document ul,
.legal-document ol {
  padding-left: 1.35rem;
}

.legal-document li + li {
  margin-top: 8px;
}

.legal-document a {
  color: #3946b8;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.info-card,
.warning-card {
  margin: 22px 0;
  padding: 20px;
  border: 3px solid var(--ink);
  border-radius: 20px;
  box-shadow: 0 5px 0 var(--ink);
}

.info-card {
  background: var(--lilac);
}

.warning-card {
  background: #ffe3e0;
}

.info-card p:last-child,
.warning-card p:last-child {
  margin-bottom: 0;
}

.delete-steps {
  display: grid;
  margin: 28px 0;
  padding: 0;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  list-style: none;
  counter-reset: delete-step;
}

.delete-steps li {
  position: relative;
  min-height: 150px;
  padding: 50px 15px 15px;
  background: white;
  border: 3px solid var(--ink);
  border-radius: 18px;
  font-size: 0.78rem;
  font-weight: 800;
  counter-increment: delete-step;
}

.delete-steps li::before {
  position: absolute;
  top: 12px;
  left: 13px;
  display: grid;
  width: 28px;
  height: 28px;
  content: counter(delete-step);
  color: white;
  background: var(--coral);
  border: 2px solid var(--ink);
  border-radius: 9px;
  place-items: center;
}

.contact-grid {
  display: grid;
  margin: 24px 0;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.contact-card {
  padding: 20px;
  background: white;
  border: 3px solid var(--ink);
  border-radius: 20px;
}

.contact-card strong {
  display: block;
  margin-bottom: 7px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@keyframes mascot-arrive {
  from {
    opacity: 0;
    transform: translateY(40px) rotate(3deg) scale(0.93);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0) scale(1);
  }
}

@keyframes rotate-slow {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 2px);
    right: 16px;
    left: 16px;
    display: none;
    padding: 14px;
    background: var(--paper);
    border: 3px solid var(--ink);
    border-radius: 20px;
    box-shadow: 0 7px 0 var(--ink);
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav[data-open="true"] {
    display: flex;
  }

  .site-nav a {
    padding: 11px 13px;
  }

  .site-nav .nav-cta {
    margin: 5px 0 0;
    text-align: center;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy > p:not(.eyebrow),
  .hero h1 {
    margin-inline: auto;
  }

  .button-row,
  .hero-notes {
    justify-content: center;
  }

  .hero-art {
    width: min(100%, 600px);
    margin-inline: auto;
  }

  .mode-grid {
    grid-template-columns: 1fr;
    max-width: 680px;
    margin-inline: auto;
  }

  .mode-card,
  .mode-card:nth-child(1),
  .mode-card:nth-child(2),
  .mode-card:nth-child(3) {
    min-height: 0;
    transform: none;
  }

  .feature-layout,
  .how-grid {
    grid-template-columns: 1fr;
  }

  .skin-showcase {
    width: min(100%, 540px);
    margin-inline: auto;
  }

  .cta-card {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 0.7fr 0.7fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding-block: 10px;
  }

  .brand img {
    width: 43px;
    height: 43px;
  }

  .hero {
    min-height: 0;
    padding-top: 52px;
  }

  .hero h1 {
    font-size: clamp(3.65rem, 19vw, 5.5rem);
  }

  .hero-art {
    min-height: 485px;
  }

  .mascot {
    right: -3%;
    width: min(78%, 350px);
  }

  .game-board-card {
    top: 40px;
    left: 0;
    width: 210px;
  }

  .board-cell[data-mark="x"]::before,
  .board-cell[data-mark="o"]::before {
    font-size: 1.85rem;
  }

  .floating-badge {
    right: 2%;
  }

  .feature-list,
  .footer-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-shell {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
  }

  .legal-toc nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px 14px;
  }

  .delete-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .container {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .brand span {
    max-width: 128px;
  }

  .button-row .button {
    width: 100%;
  }

  .hero-art {
    min-height: 430px;
  }

  .game-board-card {
    width: 178px;
    padding: 11px;
  }

  .mini-board {
    gap: 4px;
  }

  .board-cell {
    border-width: 2px;
  }

  .board-cell[data-mark="x"]::before,
  .board-cell[data-mark="o"]::before {
    font-size: 1.45rem;
  }

  .mascot {
    width: 78%;
  }

  .skin-card {
    width: 155px;
  }

  .skin-card:nth-child(2) {
    right: 0;
  }

  .skin-card:nth-child(3) {
    right: 23%;
    width: 130px;
  }

  .free-sticker {
    right: 3%;
    width: 92px;
    height: 92px;
    font-size: 0.65rem;
  }

  .delete-steps,
  .legal-toc nav {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
