/* Stare Blocks — stareblocks.com.
   One stylesheet for the landing page, the support page and the legal pages.
   No external fonts, scripts or trackers: everything is served from this site. */

@font-face {
  font-family: "Nunito";
  src: url("/assets/fonts/nunito-latin.woff2?v=f433204e9f") format("woff2");
  font-weight: 400 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #12141d;
  --bg-2: #171a27;
  --card: #1c2031;
  --panel: #222638;
  --cell: #232739;
  --line: #2c3148;
  --line-2: #3a4060;
  --ink: #eef0f7;
  --text: #d5d8e6;
  --muted: #a3a8c0;
  --accent: #ffd766;
  --accent-ink: #2e2200;
  --accent-deep: #c89f2e;
  --violet: #b493ff;
  --eye: #7ceeff;
  --grow: #8ff0b4;
  --coral: #ff8585;
  --wrap: 1120px;
  --doc: 800px;
  --radius: 24px;
  --header: 68px;
  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 16px);
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 500 17px/1.6 "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

img {
  height: auto;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 2.5px;
}

strong {
  color: var(--ink);
  font-weight: 800;
}

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

main {
  flex: 1 0 auto;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 48px);
  margin: 0 auto;
  padding: 0 24px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 50;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.num-text {
  font-weight: 900;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(18, 20, 29, 0.82);
  border-bottom: 1px solid rgba(44, 49, 72, 0.7);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
}

.site-header__row {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

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

.nav a {
  padding: 9px 13px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 15.5px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}

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

.studio {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  padding: 8px 0 8px 20px;
  border-left: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

/* The Nimvario Labs logo: the same symbol and wordmark as on nimvario.com. */

.nv-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
}

.nv-logo__symbol {
  width: auto;
  height: 30px;
  transition: rotate 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.nv-logo__wordmark {
  width: auto;
  height: 16px;
  aspect-ratio: 930 / 116;
  fill: currentColor;
}

a:hover > .nv-logo .nv-logo__symbol,
a:focus-visible > .nv-logo .nv-logo__symbol {
  rotate: -8deg;
}

.nv-logo--small {
  gap: 9px;
}

.nv-logo--small .nv-logo__symbol {
  height: 24px;
}

.nv-logo--small .nv-logo__wordmark {
  height: 13px;
}

/* Small screens: the links move into a menu that works without scripts. */

.menu {
  display: none;
  position: relative;
}

.menu > summary {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.menu > summary::-webkit-details-marker {
  display: none;
}

.menu > summary svg {
  width: 22px;
  height: 22px;
}

.menu .menu__close,
.menu[open] .menu__open {
  display: none;
}

.menu[open] .menu__close {
  display: block;
}

.menu__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  display: grid;
  gap: 2px;
  width: min(280px, calc(100vw - 48px));
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.menu__panel a {
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.menu__panel a:hover {
  background: var(--panel);
}

.menu__panel .menu__studio {
  margin-top: 6px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  border-radius: 0 0 12px 12px;
}

@media (max-width: 900px) {
  .nav,
  .studio {
    display: none;
  }

  .menu {
    display: block;
  }
}

/* ---------- buttons and small pieces ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 12px 26px;
  border-radius: 16px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 17px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 5px 0 var(--accent-deep);
  transition: translate 0.12s, box-shadow 0.12s, filter 0.2s;
}

.button:hover {
  filter: brightness(1.06);
}

.button:active {
  translate: 0 3px;
  box-shadow: 0 2px 0 var(--accent-deep);
}

.button svg {
  width: 20px;
  height: 20px;
}

.button--ghost {
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}

.button--ghost:hover {
  background: var(--panel);
  filter: none;
}

.button--ghost:active {
  translate: none;
  box-shadow: none;
}

/* The game is not in the App Store yet: a notice, not a link. */

.soon {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 9px 24px 9px 18px;
  border: 1px solid rgba(255, 215, 102, 0.45);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 215, 102, 0.16), rgba(255, 215, 102, 0.07));
  color: var(--ink);
  line-height: 1.15;
}

.soon svg {
  flex: none;
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.soon small {
  display: block;
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.soon b {
  display: block;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: currentColor;
}

.c-gobbler,
.c-eye,
.c-grow,
.c-chameleon {
  font-weight: 800;
}

.c-gobbler {
  color: var(--violet);
}

.c-eye {
  color: var(--eye);
}

.c-grow {
  color: var(--grow);
}

.c-chameleon {
  background: linear-gradient(90deg, #ff9d9d, #ffdf80, #96ecb8, #a6ddf9, #c6adff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.hero {
  position: relative;
  padding: 56px 0 72px;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -120px 0 0;
  z-index: -1;
  background:
    radial-gradient(700px 480px at 78% 34%, rgba(180, 147, 255, 0.2), transparent 70%),
    radial-gradient(620px 420px at 12% 8%, rgba(255, 215, 102, 0.13), transparent 70%),
    radial-gradient(900px 500px at 50% 100%, rgba(35, 39, 63, 0.9), transparent 70%);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 40px;
}

.hero h1 {
  margin-top: 18px;
  font-size: clamp(44px, 7.4vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.hero h1 em {
  display: block;
  color: var(--accent);
  font-style: normal;
}

.lead {
  max-width: 520px;
  margin-top: 24px;
  color: var(--text);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.5;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
  margin-top: 34px;
}

.more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.more svg {
  width: 18px;
  height: 18px;
  transition: translate 0.2s;
}

.more:hover svg {
  translate: 0 3px;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 30px;
  padding: 0;
  color: var(--muted);
  font-size: 15.5px;
  font-weight: 700;
  list-style: none;
}

.facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.facts svg {
  width: 18px;
  height: 18px;
  color: var(--grow);
}

.hero__art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 620px;
}

/* A phone drawn in CSS around a real screenshot of the game. */

.phone {
  position: relative;
  width: min(100%, 318px);
  aspect-ratio: 1320 / 2868;
  padding: 9px;
  border-radius: 54px;
  background: linear-gradient(160deg, #3d4363, #171a27 38%, #0c0e15);
  box-shadow:
    0 0 0 1.5px #4a5176,
    0 40px 80px rgba(0, 0, 0, 0.55),
    0 12px 28px rgba(0, 0, 0, 0.4);
}

.phone img {
  width: 100%;
  height: 100%;
  border-radius: 45px;
  background: var(--bg);
  object-fit: cover;
}

.phone--tilt {
  rotate: 4deg;
}

/* Creatures around the phone. Their eyes follow the pointer (see site.js). */

.critter {
  position: absolute;
  width: var(--size, 110px);
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.4));
  animation: bob 6s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

.critter text {
  font-family: "Nunito", ui-rounded, system-ui, sans-serif;
  font-weight: 800;
}

.critter .lids {
  display: none;
}

.critter.is-blinking .lids {
  display: block;
}

.critter.is-blinking .eyeball {
  display: none;
}

.critter--a {
  --size: 132px;
  left: -2%;
  top: 9%;
  rotate: -9deg;
}

.critter--b {
  --size: 104px;
  --delay: -2.2s;
  right: -1%;
  top: 22%;
  rotate: 8deg;
}

.critter--c {
  --size: 92px;
  --delay: -3.6s;
  left: 3%;
  bottom: 13%;
  rotate: 7deg;
}

.critter--d {
  --size: 120px;
  --delay: -1.1s;
  right: 1%;
  bottom: 7%;
  rotate: -6deg;
}

.critter--e {
  --size: 70px;
  --delay: -4.4s;
  left: 36%;
  top: -40px;
  rotate: -5deg;
}

@keyframes bob {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -12px;
  }
}

/* ---------- sections ---------- */

.section {
  padding: 84px 0;
}

.section--tint {
  background: var(--bg-2);
  border-block: 1px solid rgba(44, 49, 72, 0.6);
}

.section__head {
  max-width: 720px;
  margin-bottom: 44px;
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.section__head--center .eyebrow {
  justify-content: center;
}

.section h2 {
  margin-top: 14px;
  font-size: clamp(32px, 4.6vw, 52px);
}

.section__head p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(17px, 1.8vw, 20px);
}

.card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

/* How it works: three steps drawn with the game's own creatures. */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  counter-increment: step;
}

.step__art {
  display: grid;
  place-items: center;
  padding: 22px 18px 6px;
  background: radial-gradient(240px 160px at 50% 40%, rgba(255, 215, 102, 0.08), transparent 70%);
}

.step__art svg {
  width: 100%;
  max-width: 300px;
  height: auto;
}

.step__body {
  padding: 14px 26px 28px;
}

.step h3 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 23px;
}

.step h3::before {
  content: counter(step);
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 17px;
  translate: 0 -2px;
}

.step p {
  margin-top: 10px;
  color: var(--muted);
}

.art-cell {
  fill: var(--cell);
}

.art-ray {
  fill: none;
  stroke: var(--accent);
  stroke-width: 7;
  stroke-linecap: round;
  opacity: 0.75;
}

.art-dash {
  fill: none;
  stroke: var(--muted);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 2 9;
  opacity: 0.8;
}

.art-ghost {
  opacity: 0.45;
}

.art-arrow {
  fill: none;
  stroke: var(--ink);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.art-spark {
  fill: var(--accent);
}

.art-score {
  fill: var(--violet);
  font-family: "Nunito", ui-rounded, system-ui, sans-serif;
  font-size: 30px;
  font-weight: 900;
}

.art-cr text,
.helper__art text,
.lost text {
  font-family: "Nunito", ui-rounded, system-ui, sans-serif;
  font-weight: 800;
}

.tip {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
  padding: 20px 26px;
}

.tip svg {
  flex: none;
  width: 44px;
  height: 44px;
  color: var(--accent);
}

.tip p {
  color: var(--text);
}

/* Helpers: the bonuses of the game. */

.helpers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding: 0;
  list-style: none;
}

.helper {
  --tone: var(--accent);
  position: relative;
  overflow: hidden;
}

.helper::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--tone);
}

.helper--gobbler {
  --tone: var(--violet);
}

.helper--eye {
  --tone: var(--eye);
}

.helper--chameleon::before {
  background: linear-gradient(90deg, #ff9d9d, #ffdf80, #96ecb8, #a6ddf9, #c6adff);
}

.helper--grow {
  --tone: var(--grow);
}

.helper__art {
  display: grid;
  place-items: center;
  height: 136px;
  margin-bottom: 14px;
}

.helper__art svg {
  width: auto;
  height: 128px;
  overflow: visible;
}

.helper h3 {
  font-size: 22px;
}

.helper p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 16px;
}

.helper small {
  display: block;
  margin-top: 12px;
  color: var(--tone);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.helper--chameleon small {
  color: var(--muted);
}

/* Screenshots. */

.shots {
  display: flex;
  gap: 26px;
  margin: 0 -24px;
  padding: 8px 24px 26px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
  -webkit-overflow-scrolling: touch;
}

.shots:focus-visible {
  border-radius: 20px;
}

.shot {
  flex: none;
  width: 252px;
  scroll-snap-align: start;
}

.shot .phone {
  width: 100%;
  padding: 7px;
  border-radius: 44px;
  box-shadow:
    0 0 0 1.5px #4a5176,
    0 22px 40px rgba(0, 0, 0, 0.45);
}

.shot .phone img {
  border-radius: 37px;
}

.shot figcaption {
  margin-top: 18px;
  padding: 0 6px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.4;
}

.shot figcaption b {
  display: block;
  color: var(--ink);
  font-size: 17.5px;
  font-weight: 900;
}

@media (min-width: 1168px) {
  .shots {
    margin: 0 calc((100vw - var(--wrap)) / -2);
    padding-inline: calc((100vw - var(--wrap)) / 2);
    scroll-padding-inline: calc((100vw - var(--wrap)) / 2);
  }
}

/* Ways to play. */

.modes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding: 0;
  list-style: none;
}

.mode {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 20px;
  align-items: start;
  align-content: start;
  padding: 28px;
}

.mode__icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 20px;
  background: var(--panel);
  color: var(--tone, var(--accent));
}

.mode__icon svg {
  width: 32px;
  height: 32px;
}

.mode h3 {
  font-size: 24px;
}

.mode p {
  color: var(--muted);
}

.mode--daily {
  --tone: #d0f065;
}

.mode--race {
  --tone: #78a2ff;
}

.mode--league {
  --tone: var(--violet);
}

/* Fair play. */

.fair {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 32px;
  padding: 0;
  list-style: none;
}

.fair li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: start;
  gap: 4px 16px;
}

.fair svg {
  grid-row: span 2;
  width: 30px;
  height: 30px;
  margin-top: 2px;
  color: var(--grow);
}

.fair h3 {
  font-size: 20px;
}

.fair p {
  color: var(--muted);
  font-size: 16px;
}

/* A thinking game: the same grid as fair play, in the accent colour. */

.think svg {
  color: var(--accent);
}

.think + .tip {
  margin-top: 44px;
}

/* Questions and answers. */

.faq {
  max-width: 840px;
  margin: 0 auto;
  padding: 6px 26px;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 0;
}

.faq summary {
  position: relative;
  padding: 19px 44px 19px 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 14px;
  height: 14px;
  border-right: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  border-radius: 2px;
  translate: 0 -75%;
  rotate: 45deg;
  transition: rotate 0.2s, translate 0.2s;
}

.faq details[open] summary::after {
  translate: 0 -25%;
  rotate: -135deg;
}

.faq details p {
  margin: -4px 0 20px;
  padding-right: 34px;
  color: var(--muted);
}

.after {
  margin-top: 28px;
  text-align: center;
}

/* The closing band. */

.band {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 56px 28px;
  border: 1px solid var(--line);
  border-radius: 36px;
  background:
    radial-gradient(520px 300px at 50% 0, rgba(255, 215, 102, 0.14), transparent 70%),
    var(--card);
  text-align: center;
  overflow: hidden;
}

.band__icon {
  width: 112px;
  height: 112px;
  border-radius: 26px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.band h2 {
  margin: 6px 0 0;
  font-size: clamp(30px, 4.4vw, 46px);
}

.band > p {
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
}

.band .cta {
  justify-content: center;
  margin-top: 8px;
}

/* ---------- footer ---------- */

.site-footer {
  margin-top: 24px;
  padding: 52px 0 40px;
  border-top: 1px solid var(--line);
  background: #0f1119;
  color: var(--muted);
  font-size: 15.5px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 36px 28px;
}

.site-footer .brand {
  color: var(--ink);
  font-size: 19px;
}

.site-footer__about p {
  max-width: 300px;
  margin-top: 14px;
}

.site-footer h2 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer ul {
  display: grid;
  gap: 9px;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ink);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px 32px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.site-footer .madeby {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  color: var(--ink);
}

.madeby > span:first-child {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal {
  max-width: 560px;
  font-size: 13.5px;
  line-height: 1.5;
  text-align: right;
}

.legal p + p {
  margin-top: 4px;
}

/* ---------- documents: support, privacy policy, terms ---------- */

.page {
  padding: 44px 0 60px;
}

.page .wrap {
  max-width: calc(var(--doc) + 48px);
}

.crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.crumb:hover {
  color: var(--ink);
}

.crumb svg {
  width: 16px;
  height: 16px;
}

.page h1 {
  margin-top: 16px;
  font-size: clamp(36px, 6vw, 54px);
}

.page .date,
.page .intro {
  margin: 12px 0 28px;
  color: var(--muted);
}

.page .intro {
  font-size: 19px;
}

.page h2 {
  margin: 46px 0 14px;
  font-size: 25px;
  letter-spacing: -0.01em;
}

.page p {
  margin: 0 0 14px;
}

.page ul,
.page ol {
  margin: 0 0 14px;
  padding-left: 24px;
}

.page li {
  margin-bottom: 8px;
}

.page li::marker {
  color: var(--accent);
  font-weight: 800;
}

.page .num {
  margin-right: 4px;
  color: var(--ink);
  font-weight: 800;
}

.page .app {
  margin: 0;
  color: var(--accent);
  font-weight: 900;
}

.page .card {
  margin-bottom: 18px;
}

.page .card h2 {
  margin: 0 0 12px;
  font-size: 19px;
}

.page .card > :last-child {
  margin-bottom: 0;
}

.toc ol {
  padding-left: 28px;
  columns: 2;
  column-gap: 36px;
}

.toc li {
  margin-bottom: 6px;
  break-inside: avoid;
}

.toc a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.toc a:hover {
  color: var(--accent);
}

.rules {
  padding: 0 !important;
  list-style: none;
}

.rules li {
  position: relative;
  margin: 0;
  padding: 8px 0 8px 26px;
}

.rules li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 19px;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--accent);
}

.page .faq {
  max-width: none;
  padding: 4px 26px;
}

.page .faq details p {
  margin: -4px 0 20px;
}

.contact {
  text-align: center;
}

.contact p {
  color: var(--muted);
}

.contact .button {
  margin-top: 6px;
}

.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 8px;
  padding: 0 !important;
  list-style: none;
}

.jump li {
  margin: 0;
}

.jump a {
  display: inline-block;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.jump a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- page not found ---------- */

.lost {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 72px 0 40px;
  text-align: center;
}

.lost svg {
  width: 260px;
  height: auto;
  overflow: visible;
}

.lost h1 {
  font-size: clamp(34px, 6vw, 52px);
}

.lost p {
  max-width: 460px;
  color: var(--muted);
  font-size: 19px;
}

/* ---------- smaller screens ---------- */

@media (max-width: 1040px) {
  .helpers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer__about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .hero {
    padding: 36px 0 56px;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .hero__copy {
    text-align: center;
  }

  .hero .eyebrow,
  .cta,
  .facts {
    justify-content: center;
  }

  .lead {
    margin-inline: auto;
  }

  .hero__art {
    min-height: 0;
    padding: 34px 0 10px;
  }

  .phone {
    width: min(74vw, 300px);
  }

  .hero__art {
    width: min(100%, 420px);
    margin-inline: auto;
  }

  .critter--a {
    --size: 104px;
    left: -6px;
    top: 7%;
  }

  .critter--b {
    --size: 84px;
    right: -4px;
    top: 27%;
  }

  .critter--c {
    --size: 76px;
    left: 0;
    bottom: 15%;
  }

  .critter--d {
    --size: 96px;
    right: -6px;
    bottom: 6%;
  }

  .critter--e {
    --size: 60px;
    top: 0;
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .step {
    flex-direction: row;
    align-items: center;
  }

  .step__art {
    flex: 0 0 44%;
    padding: 18px 6px 18px 18px;
  }

  .step__body {
    padding: 22px 24px 22px 14px;
  }

  .section {
    padding: 64px 0;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16.5px;
  }

  .wrap {
    padding: 0 20px;
  }

  .brand {
    font-size: 19px;
  }

  .step {
    flex-direction: column;
    align-items: stretch;
  }

  .step__art {
    flex: none;
    padding: 20px 18px 4px;
  }

  .step__body {
    padding: 14px 24px 26px;
  }

  .helpers,
  .modes,
  .fair {
    grid-template-columns: minmax(0, 1fr);
  }

  .mode {
    padding: 24px;
  }

  .tip {
    align-items: flex-start;
    padding: 20px;
  }

  .shots {
    gap: 18px;
    margin: 0 -20px;
    padding-inline: 20px;
    scroll-padding-inline: 20px;
  }

  .shot {
    width: 216px;
  }

  .shot .phone {
    border-radius: 38px;
  }

  .shot .phone img {
    border-radius: 31px;
  }

  .faq {
    padding: 2px 20px;
  }

  .faq summary {
    font-size: 17px;
  }

  .band {
    padding: 44px 20px;
    border-radius: 28px;
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .legal {
    text-align: left;
  }

  .toc ol {
    columns: 1;
  }

  .nv-logo__symbol {
    height: 26px;
  }

  .nv-logo__wordmark {
    height: 14px;
  }

  .nv-logo {
    gap: 9px;
  }
}

/* On a narrow phone the line above the headline ("A puzzle game for iPhone and
   Android") takes two lines: let it wrap as text, with the dot in the first line. */

@media (max-width: 480px) {
  .hero .eyebrow {
    display: block;
    text-wrap: balance;
  }

  .hero .eyebrow::before {
    display: inline-block;
    margin-right: 9px;
    vertical-align: 1px;
  }
}

@media (max-width: 380px) {
  .critter--c,
  .critter--b {
    display: none;
  }

  .soon b {
    font-size: 17px;
  }
}

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

  .critter {
    animation: none;
  }

  * {
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .hero__art {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }
}
