/* Mimic's look, taken from the app (App/Mimic/Views/KidStyle.swift and the game scenes): pale sky
   fading to cream, white rounded tiles, night-purple game art, candy colours owning whole tiles,
   heavy rounded type and chunky buttons that sink when pressed. System fonts only, so the site
   asks nothing of anyone else. */

:root {
  --sky: #5babff;
  --grass: #4dc75c;
  --grape: #996bf2;
  --tangerine: #ff9933;
  --berry: #fa5c80;
  --sun: #ffcc33;
  --ink: #292133;
  --cream: #fffaed;
  --pale-sky: #ccebff;
  --night-top: #1f1846;
  --night-bottom: #4c3290;
  --soft: #5c5468;
  --line: #ebe4d3;
  --tile-shadow: 0 14px 30px -14px rgb(41 33 51 / .28), 0 2px 6px rgb(41 33 51 / .06);
  --rounded: ui-rounded, "SF Pro Rounded", "Nunito", "Varela Round", "Arial Rounded MT Bold", system-ui, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
  accent-color: var(--grape);
  scrollbar-color: color-mix(in srgb, var(--grape) 55%, white) var(--cream);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; background: var(--cream); scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  min-height: 100vh;
  background: linear-gradient(var(--pale-sky), var(--cream) 1100px) no-repeat var(--cream);
  font: 18px/1.6 var(--text);
  caret-color: var(--grape);
}

::selection { background: color-mix(in srgb, var(--sun) 70%, white); color: var(--ink); }

img { max-width: 100%; height: auto; display: block; }

a { color: #6f43d6; text-underline-offset: .18em; text-decoration-thickness: .08em; }

:focus-visible { outline: 3px solid var(--grape); outline-offset: 3px; border-radius: 12px; }

.wrap { max-width: 76rem; margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3 { font-family: var(--rounded); line-height: 1.05; margin: 0; text-wrap: balance; }

h2 { font-size: clamp(2rem, 4.6vw, 3.3rem); font-weight: 900; letter-spacing: -.025em; }

h3 { font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; }

p { text-wrap: pretty; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: #fff;
  padding: .6rem 1rem;
  border-radius: 12px;
  z-index: 10;
}

.skip:focus { left: 8px; }

/* Header */

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; border-radius: 14px; }

.brand img { width: 46px; height: 46px; border-radius: 12px; box-shadow: 0 3px 8px rgb(41 33 51 / .2); }

/* The app's rainbow title: each letter its own colour, with a soft drop below. */
.wordmark { font: 900 2rem/1 var(--rounded); letter-spacing: -.01em; text-shadow: 0 3px 0 rgb(41 33 51 / .13); }
.wordmark span:nth-child(1) { color: var(--berry); }
.wordmark span:nth-child(2) { color: var(--tangerine); }
.wordmark span:nth-child(3) { color: #f5b800; }
.wordmark span:nth-child(4) { color: var(--grass); }
.wordmark span:nth-child(5) { color: var(--sky); }

.site-nav { display: flex; gap: .2rem; flex-wrap: wrap; justify-content: flex-end; }

.site-nav a {
  font: 800 1rem/1 var(--rounded);
  color: var(--ink);
  text-decoration: none;
  padding: .7rem .9rem;
  border-radius: 999px;
  transition: background-color .2s, color .2s;
}

.site-nav a:hover, .site-nav a[aria-current="page"] { background: rgb(153 107 242 / .14); color: #5f35c4; }

/* Chunky button: a coloured top over a darker base, like the app's ChunkyButtonStyle. */

.chunky {
  --c: #2e9a3e;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: 1.05rem 1.6rem 1.05rem 1.3rem;
  border-radius: 24px;
  background: linear-gradient(rgb(255 255 255 / .24), rgb(255 255 255 / 0) 48%) var(--c);
  color: #fff;
  font: 900 1.25rem/1 var(--rounded);
  text-decoration: none;
  text-shadow: 0 2px 0 rgb(0 0 0 / .16);
  box-shadow: 0 7px 0 color-mix(in srgb, var(--c) 70%, black), 0 14px 24px -10px rgb(41 33 51 / .45);
  transition: transform .14s var(--ease-out), box-shadow .14s var(--ease-out);
}

.chunky:hover { transform: translateY(2px); box-shadow: 0 5px 0 color-mix(in srgb, var(--c) 70%, black), 0 10px 18px -10px rgb(41 33 51 / .45); }
.chunky:active { transform: translateY(6px); box-shadow: 0 1px 0 color-mix(in srgb, var(--c) 70%, black), 0 4px 8px -6px rgb(41 33 51 / .45); }
.chunky:focus-visible { border-radius: 24px; }

.chunky .play {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgb(255 255 255 / .25);
  display: grid;
  place-items: center;
  flex: none;
}

.chunky .play svg { width: 1rem; height: 1rem; margin-left: 2px; }

/* Opening: headline and action beside the board */

.opening .wrap {
  display: grid;
  grid-template-columns: minmax(0, 21rem) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
  padding-top: clamp(.5rem, 2vw, 1.5rem);
  padding-bottom: 4.5rem;
}

.pitch { position: sticky; top: 1.5rem; padding-top: 1rem; }

.pitch h1 {
  font-size: clamp(2.9rem, 5.6vw, 4.6rem);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: .98;
}

.pitch h1 em { font-style: normal; color: #7c4fe6; }

.pitch .lead { color: var(--soft); font-size: 1.15rem; margin: 1.2rem 0 1.8rem; max-width: 30ch; }

.pitch .note { margin: 1.4rem 0 0; font-size: .95rem; color: var(--soft); max-width: 30ch; }

.pitch .hint {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: 2rem;
  font: 800 1rem/1.2 var(--rounded);
  color: #6f43d6;
}

.pitch .hint svg { width: 1.6rem; height: 1.6rem; flex: none; }

/* The board: the app's "Pick a game" as a grid of game tiles */

.board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(13.5rem, auto);
  grid-auto-flow: dense;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.board > li { display: flex; }

.board .wide { grid-column: span 2; }
.board .tall { grid-row: span 2; }

/* A game tile turns over to show the real game. */

.tile {
  all: unset;
  box-sizing: border-box;
  position: relative;
  flex: 1;
  display: grid;
  cursor: pointer;
  perspective: 1200px;
  border-radius: 28px;
  -webkit-tap-highlight-color: transparent;
}

.tile:focus-visible { outline: 3px solid var(--grape); outline-offset: 4px; border-radius: 28px; }

.face {
  grid-area: 1 / 1;
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform .7s var(--ease-out), box-shadow .3s;
  box-shadow: var(--tile-shadow);
}

.front {
  background:
    radial-gradient(1.2px 1.2px at 20% 30%, rgb(255 255 255 / .7) 50%, transparent 51%),
    radial-gradient(1px 1px at 70% 18%, rgb(255 255 255 / .55) 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 85% 60%, rgb(255 255 255 / .6) 50%, transparent 51%),
    radial-gradient(1px 1px at 35% 75%, rgb(255 255 255 / .45) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 55% 45%, rgb(255 255 255 / .5) 50%, transparent 51%),
    linear-gradient(var(--night-top), var(--night-bottom));
  color: #fff;
  padding: 1.3rem 1.3rem 1.2rem;
  display: flex;
  flex-direction: column;
}

.front.day { background: linear-gradient(#2775cc, #1f67bd 70%, #1a5aa8); }

.move {
  font: 900 clamp(1.45rem, 2.3vw, 2rem)/1 var(--rounded);
  letter-spacing: -.02em;
  text-shadow: 0 2px 0 rgb(0 0 0 / .2);
  max-width: 11ch;
}

.move b { display: block; color: var(--sun); font-weight: 900; }

.game-name {
  position: relative;
  z-index: 1;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  align-self: flex-start;
  padding: .45rem .75rem .45rem .45rem;
  border-radius: 999px;
  background: rgb(255 255 255 / .16);
  font: 800 .95rem/1 var(--rounded);
}

.game-name::before {
  content: "";
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: var(--grass) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11l8.5-5.5z' fill='white'/%3E%3C/svg%3E") center / 70% no-repeat;
  box-shadow: 0 2px 0 #2f8f3c;
}

.critter {
  position: absolute;
  right: .6rem;
  bottom: 2.9rem;
  width: 46%;
  max-width: 10rem;
  filter: drop-shadow(0 8px 10px rgb(0 0 0 / .35));
  transition: transform .5s var(--ease-out);
}

.tile:hover .critter { transform: translateY(-6px) rotate(-4deg); }

/* The app's BouncingLook: characters bob gently, each a beat apart. */
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }

.board .critter { animation: bob 2.8s ease-in-out infinite; }
.board li:nth-child(2n) .critter { animation-delay: -.7s; }
.board li:nth-child(3n) .critter { animation-delay: -1.4s; }
.board li:nth-child(5n) .critter { animation-delay: -2.1s; }

.back {
  transform: rotateY(180deg);
  background: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
}

.back img { width: 100%; height: 11rem; object-fit: cover; object-position: center 22%; }

.back.no-shot { background: linear-gradient(var(--pale-sky), #fff); align-content: center; }

.back .how { padding: 1rem 1.2rem 1.2rem; font-size: .98rem; line-height: 1.45; color: var(--ink); }

.back .how strong { display: block; font: 900 1.15rem/1.2 var(--rounded); margin-bottom: .3rem; }

.back .look { width: 6.5rem; margin: 1.2rem auto 0; filter: drop-shadow(0 6px 8px rgb(41 33 51 / .2)); }

.tile[aria-pressed="true"] .front { transform: rotateY(-180deg); }
.tile[aria-pressed="true"] .back { transform: rotateY(0deg); }

/* The big Catch the Stars tile shows its real game beside the move. */

.tile.feature .front { flex-direction: row; gap: 1.2rem; padding: 1.5rem; }
.tile.feature .front .side { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.tile.feature .move { font-size: clamp(2rem, 3.4vw, 2.9rem); }
.tile.feature .shot {
  width: 44%;
  max-width: 13rem;
  align-self: center;
  border-radius: 22px;
  border: 5px solid rgb(255 255 255 / .9);
  box-shadow: 0 16px 30px -10px rgb(0 0 0 / .55);
  transform: rotate(3deg);
}
.tile.feature .critter { position: static; width: 7rem; margin: 1rem 0 0 -.3rem; }
.tile.feature .feature-back {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding: 1.5rem;
  background: linear-gradient(var(--night-top), var(--night-bottom));
}
.tile.feature .feature-back .shot {
  width: auto;
  height: 100%;
  max-height: 32rem;
  aspect-ratio: 645 / 1398;
  object-fit: contain;
  border-radius: 22px;
  border: 5px solid rgb(255 255 255 / .9);
  box-shadow: 0 16px 30px -10px rgb(0 0 0 / .55);
}
.tile.feature .feature-back .how { color: #fff; font-size: 1.1rem; padding: 0; max-width: 22ch; }

/* Tiles that open a part of the page rather than a game. */

.tile.link { cursor: pointer; }

.tile.link .face {
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  color: #fff;
  text-decoration: none;
}

.make-tile .face { background: linear-gradient(140deg, #7a4fe0, #6f45da 55%, #6a3fd3); }
.grownup-tile .face { background: linear-gradient(140deg, #237a30, #20722c 55%, #1c6627); }

.tile.link h3, .tile.link p, .idea-bubble, .go { position: relative; z-index: 1; }

.tile.link h3 { font-size: clamp(1.45rem, 2.3vw, 2rem); font-weight: 900; letter-spacing: -.02em; text-shadow: 0 2px 0 rgb(0 0 0 / .16); }

.tile.link p { margin: .5rem 0 0; font: 700 1rem/1.4 var(--rounded); color: rgb(255 255 255 / .92); max-width: 22ch; }

.idea-bubble {
  margin-top: auto;
  align-self: flex-start;
  background: #fff;
  color: var(--ink);
  border-radius: 18px 18px 18px 6px;
  padding: .7rem .9rem;
  font: 700 .95rem/1.3 var(--rounded);
  max-width: 15rem;
  box-shadow: 0 8px 16px -8px rgb(0 0 0 / .4);
}

.tile.link .critter { bottom: .8rem; width: 38%; }

.go {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font: 900 1rem/1 var(--rounded);
}

.go svg { width: 1.1rem; height: 1.1rem; transition: transform .3s var(--ease-out); }
.tile.link:hover .go svg { transform: translateX(4px); }

/* Make your own */

.make { padding: 5rem 0; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.make-head { display: grid; grid-template-columns: 1fr minmax(0, 28rem); gap: 2rem; align-items: end; margin-bottom: 3rem; }

.make-head p { color: var(--soft); font-size: 1.15rem; margin: 0; }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2.5rem);
}

.steps .pic {
  position: relative;
  border-radius: 30px;
  padding: 1.4rem 1.4rem 0;
  overflow: hidden;
  height: 26rem;
  background: var(--c);
}

.steps .pic img {
  border-radius: 26px 26px 0 0;
  box-shadow: 0 -2px 0 rgb(255 255 255 / .5), 0 20px 40px -12px rgb(0 0 0 / .45);
}


.steps h3 { margin-top: 1.3rem; }

.steps p { margin: .4rem 0 0; color: var(--soft); }

/* Play together */

.together { padding: 5.5rem 0; }

.together .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }

.together p { color: var(--soft); font-size: 1.15rem; }

.players { display: flex; gap: 1rem; margin: 2rem 0 0; padding: 0; list-style: none; flex-wrap: wrap; }

.players li { display: grid; justify-items: center; gap: .4rem; font: 800 1rem/1 var(--rounded); }

.players .avatar {
  width: 5.2rem;
  height: 5.2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  box-shadow: var(--tile-shadow);
}

.players .avatar img { width: 72%; }

.players li:first-child .avatar { outline: 4px solid var(--sky); outline-offset: 2px; }

.players .add .avatar { background: #dbeeff; color: var(--ink); }
.players .add svg { width: 2rem; height: 2rem; }

.album {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.album img { border-radius: 26px; box-shadow: var(--tile-shadow); }
.album img:last-child { margin-top: 3.5rem; }

.sticker {
  position: absolute;
  width: 6.5rem;
  filter: drop-shadow(0 6px 8px rgb(41 33 51 / .25));
}

.sticker.one { left: -1.6rem; top: -1.4rem; transform: rotate(-12deg); }
.sticker.two { right: -1rem; bottom: -1.6rem; transform: rotate(10deg); }

/* Grown-ups: the app's grown-ups area, said plainly */

.grownups { padding: 5rem 0; }

.grownups .panel {
  background: #fff;
  border-radius: 36px;
  padding: clamp(1.6rem, 5vw, 3.2rem);
  box-shadow: var(--tile-shadow);
}

.gate-head { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 1rem; }

.lock {
  width: 4.2rem;
  height: 4.2rem;
  border-radius: 50%;
  background: var(--grape);
  display: grid;
  place-items: center;
  flex: none;
  box-shadow: 0 8px 16px -6px rgb(108 69 198 / .55);
}

.lock svg { width: 2rem; height: 2rem; }

.grownups .intro { color: var(--soft); font-size: 1.15rem; max-width: 40rem; margin: 0 0 3rem; }

.promises {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(2rem, 5vw, 4rem);
}

.promises li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.promises .ico {
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--c);
  color: #fff;
  box-shadow: 0 6px 12px -5px color-mix(in srgb, var(--c) 70%, black);
}

.promises .ico svg { width: 1.6rem; height: 1.6rem; }

.promises h3 { font-size: 1.2rem; }

.promises p { margin: .35rem 0 0; color: var(--soft); font-size: 1rem; }

/* Mimic Plus, laid out like the app's paywall */

.plus { padding: 5.5rem 0; }

.plus .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 27rem); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }

.plus-crew { display: flex; align-items: flex-end; gap: .3rem; margin-bottom: 1.4rem; }
.plus-crew img { width: 5rem; filter: drop-shadow(0 8px 6px rgb(41 33 51 / .18)); }
.plus-crew img:nth-child(2) { width: 5.6rem; }

.plus p { color: var(--soft); font-size: 1.15rem; }

.plus .fine { font-size: .92rem; }

.plans { display: grid; gap: 1rem; }

.plan {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border-radius: 26px;
  padding: 1.3rem 1.4rem;
  box-shadow: var(--tile-shadow);
}


.plan strong { font: 900 1.35rem/1.1 var(--rounded); display: block; }
.plan small { font: 800 1rem/1.3 var(--rounded); color: #237a30; }
.plan .price { font: 900 1.15rem/1 var(--rounded); white-space: nowrap; font-variant-numeric: tabular-nums; }

.free-row { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.6rem 0; padding: 0; list-style: none; }
.free-row li { padding: .6rem 1rem; border-radius: 999px; background: #fff; font: 800 1rem/1 var(--rounded); box-shadow: 0 4px 10px -6px rgb(41 33 51 / .3); }
.free-row li b { color: #237a30; }

/* Closing: the big Play button from the home screen */

.closing { padding: 0 0 5.5rem; }

.play-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
  padding: clamp(1.8rem, 4vw, 3rem);
  border-radius: 36px;
  background: linear-gradient(rgb(255 255 255 / .12), rgb(255 255 255 / 0) 30%) #2b8a39;
  color: #fff;
  box-shadow: 0 30px 50px -20px rgb(41 33 51 / .45), 0 6px 14px -6px rgb(31 107 42 / .5);
  overflow: hidden;
}

.play-card h2 { text-shadow: 0 3px 0 rgb(0 0 0 / .15); }

.play-card p { margin: .8rem 0 1.8rem; font: 700 1.1rem/1.45 var(--rounded); color: rgb(255 255 255 / .95); max-width: 36ch; }

.play-card .chunky { --c: #fff; color: var(--ink); text-shadow: none; box-shadow: 0 7px 0 #d9d2c2, 0 14px 24px -10px rgb(0 0 0 / .4); }
.play-card .chunky .play { background: #2e9a3e; color: #fff; }

.play-card .pals { position: relative; width: clamp(11rem, 24vw, 17rem); }
.play-card .pals .frog { width: 100%; filter: drop-shadow(0 12px 12px rgb(0 0 0 / .25)); }
.play-card .pals .star { position: absolute; width: 38%; left: -14%; top: -18%; transform: rotate(-14deg); filter: drop-shadow(0 8px 8px rgb(0 0 0 / .2)); }

/* Footer */

.site-footer { border-top: 1px solid var(--line); background: #fff; font-size: .95rem; color: var(--soft); }

.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 2rem; padding-bottom: 2rem; }

.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }

.site-footer a { color: var(--ink); text-decoration: none; font: 800 1rem/1 var(--rounded); }

.site-footer a:hover { color: #6f43d6; }

/* Parent pages: privacy, support, 404 */

.doc {
  max-width: 46rem;
  margin: 1.5rem auto 4.5rem;
  background: #fff;
  border-radius: 34px;
  padding: clamp(1.6rem, 5vw, 3rem);
  box-shadow: var(--tile-shadow);
}

.doc-head { display: flex; align-items: center; gap: 1rem; }

.doc-head .lock { width: 3.6rem; height: 3.6rem; }
.doc-head .lock svg { width: 1.7rem; height: 1.7rem; }

.doc h1 { font-size: clamp(2.1rem, 5vw, 2.9rem); font-weight: 900; letter-spacing: -.03em; }

.doc .meta { color: var(--soft); margin: .2rem 0 0; font: 700 1rem/1.3 var(--rounded); }

.doc > p:first-of-type { margin-top: 1.6rem; }

.doc h2 {
  font-size: 1.4rem;
  letter-spacing: -.01em;
  margin: 2.4rem 0 .6rem;
  padding-top: 1.5rem;
  border-top: 2px dashed var(--line);
  scroll-margin-top: 1.5rem;
}

.doc p, .doc li { margin: .55rem 0; max-width: 68ch; }

.doc ul { padding-left: 1.3rem; }

.doc li::marker { color: var(--grape); }

.doc .summary { background: #e7f7e9; border-radius: 22px; padding: 1.1rem 1.4rem; margin: 1.6rem 0 .5rem; }

.doc .summary strong { font: 900 1.1rem/1.2 var(--rounded); }

.doc .summary ul { margin: .4rem 0 0; }

.doc .summary li::marker { color: #2f9b3d; }

.doc .contact { margin-top: 1rem; background: #f1ebfe; border-radius: 22px; padding: 1.1rem 1.4rem; }

.toc { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }

.toc li { margin: 0; }

.toc a {
  display: inline-block;
  padding: .55rem .95rem;
  border-radius: 999px;
  background: #e3f1ff;
  color: var(--ink);
  font: 800 .95rem/1 var(--rounded);
  text-decoration: none;
  transition: background-color .2s;
}

.toc a:hover { background: #c9e4ff; }

.lost { text-align: center; padding: 3rem 0 6rem; }
.lost img { width: 11rem; margin: 0 auto 1.5rem; filter: drop-shadow(0 12px 12px rgb(41 33 51 / .2)); }
.lost h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 900; letter-spacing: -.03em; }
.lost p { color: var(--soft); margin: 1rem auto 2rem; }

/* Smaller screens */

@media (max-width: 1040px) {
  .opening .wrap { grid-template-columns: 1fr; }
  .pitch { position: static; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 2rem; align-items: end; padding-top: 0; }
  .pitch h1 { grid-column: 1 / -1; max-width: 14ch; }
  .pitch .lead { max-width: 40ch; margin-bottom: 0; }
  .pitch .cta { align-self: end; }
  .pitch .note, .pitch .hint { grid-column: 1 / -1; max-width: none; }
  .pitch .hint { margin-top: 1rem; }
}

@media (max-width: 860px) {
  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(12.5rem, auto); }
  .board .tall { grid-row: auto; }
  .board .wide-sm { grid-column: 1 / -1; }
  .make-head, .together .wrap, .plus .wrap { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; max-width: 26rem; margin: 0 auto; }
  .steps .pic { height: 22rem; }
  .promises { grid-template-columns: 1fr; }
  .album { max-width: 30rem; }
}

@media (max-width: 640px) {
  body { font-size: 17px; }
  .site-nav a { padding: .55rem .6rem; font-size: .95rem; }
  .wordmark { font-size: 1.7rem; }
  .brand img { width: 40px; height: 40px; }
  .pitch { display: block; }
  .pitch .lead { margin-bottom: 1.6rem; }
  .board { gap: .75rem; grid-auto-rows: minmax(11.5rem, auto); }
  .board .wide { grid-column: 1 / -1; }
  .face, .tile, .tile:focus-visible { border-radius: 22px; }
  .front { padding: 1rem; }
  .move { font-size: 1.3rem; }
  .critter { max-width: 7rem; }
  .critter { width: 52%; bottom: 2.6rem; right: .3rem; }
  .game-name { font-size: .82rem; }
  .tile.feature .front { padding: 1.1rem; }
  .tile.feature .move { font-size: 1.85rem; }
  .tile.feature .critter { width: 5rem; }
  .tile.feature .shot { width: 42%; border-width: 4px; border-radius: 16px; }
  .tile.feature .feature-back { gap: 1rem; padding: 1rem; }
  .tile.feature .feature-back .shot { height: 17rem; border-width: 4px; border-radius: 16px; }
  .tile.feature .feature-back .how { font-size: .95rem; }
  .back img { height: 7.5rem; }
  .back .how { padding: .75rem .9rem .9rem; font-size: .88rem; }
  .back .how strong { font-size: 1rem; }
  .tile.link .face { padding: 1rem; }
  .tile.link h3 { font-size: 1.35rem; max-width: 62%; }
  .make-tile .critter { width: 30%; bottom: auto; top: .8rem; right: .6rem; }
  .board .wide-sm { grid-column: 1 / -1; }
  .players { gap: .7rem; }
  .players .avatar { width: 4.3rem; height: 4.3rem; }
  .game-name { white-space: nowrap; max-width: 100%; }
  .tile.link p { font-size: .92rem; }
  .play-card { grid-template-columns: 1fr; }
  .play-card .pals { width: 9rem; justify-self: end; margin-top: -1rem; order: -1; }
  .chunky { font-size: 1.12rem; padding: .95rem 1.3rem .95rem 1.1rem; }
}

@media (max-width: 400px) {
  .site-header .wrap { flex-direction: column; gap: .4rem; }
  .move { font-size: 1.15rem; }
}

@media (hover: none) {
  .tile:hover .critter { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .face { transition: opacity .2s; }
  .tile[aria-pressed="true"] .front { transform: none; opacity: 0; }
  .tile[aria-pressed="true"] .back, .back { transform: none; }
  .back { opacity: 0; }
  .tile[aria-pressed="true"] .back { opacity: 1; }
  .critter, .chunky, .go svg { transition: none; }
  .board .critter { animation: none; }
}
