/* Minis — website. The Minis Design System's rules, in CSS px (the system
   is authored in CSS px, so no canvas scaling here): ink text, 2px ink
   borders, hard ink shadows with no blur, flat fills, M PLUS Rounded 1c at
   800 (700 for fine print). */

:root {
  --ink: #1d2a33;
  --paper: #ffffff;
  --muted: #4a5560;
  --void: #f1f3f4;
  --reward: #ffd23c;

  --coral: #ffcdc8;
  --coral-strong: #ff8a82;
  --mint: #aeefd0;
  --sky: #8fdcf4;
  --lilac: #d9ccff;
  --butter: #ffe18a;
  --teal: #9febe7;
  --peach: #ffd0b0;
  --pink: #ffc2dc;

  --radius: 12px;
  --border: 2px solid var(--ink);
  --press: 0 3px 0 var(--ink);
  --lift: 0 8px 0 var(--ink);
  --max: 1080px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--void);
  color: var(--ink);
  font-family: "M PLUS Rounded 1c", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  font-weight: 800;
  font-size: 17px;
  line-height: 1.55;
}

a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { background: var(--reward); }

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

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* ── Header / footer ─────────────────────────────────────────────── */

.site-header {
  background: var(--paper);
  border-bottom: var(--border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 22px;
}
.brand:hover { background: none; }
.brand img {
  width: 36px;
  height: 36px;
  border: var(--border);
  border-radius: 9px;
}
.nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 560px) {
  .site-header .wrap { flex-wrap: wrap; gap: 6px 16px; padding-top: 12px; padding-bottom: 12px; }
  .nav { width: 100%; gap: 16px; font-size: 13px; }
}
.nav a { text-decoration: none; }
.nav a[aria-current="page"] { text-decoration: underline; }

.site-footer {
  margin-top: 64px;
  background: var(--paper);
  border-top: var(--border);
  padding: 32px 0 40px;
  font-size: 14px;
}
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 18px; letter-spacing: .06em; text-transform: uppercase; }
.fine { font-weight: 700; color: var(--muted); font-size: 13px; }

/* ── Shared pieces ───────────────────────────────────────────────── */

.eyebrow {
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.card {
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--lift);
  padding: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--press);
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-size: 17px;
  transition: transform 90ms ease-out, box-shadow 90ms ease-out;
}
.button:hover { background: var(--ink); }
.button:active { transform: translateY(3px); box-shadow: 0 0 0 var(--ink); }
.button.paper { background: var(--paper); color: var(--ink); }
.button.paper:hover { background: var(--paper); }

/* ── Home ────────────────────────────────────────────────────────── */

.hero {
  background: var(--coral);
  border-bottom: var(--border);
  padding: 56px 0 64px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 860px) {
  .hero .wrap { grid-template-columns: 1.1fr .9fr; }
}
.hero-icon {
  width: 96px;
  height: 96px;
  border: var(--border);
  border-radius: 22px;
  box-shadow: var(--lift);
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(56px, 12vw, 104px);
  line-height: .95;
  margin: 0 0 16px;
  letter-spacing: -.01em;
}
.hero .lede { font-size: clamp(20px, 3.4vw, 26px); margin: 0 0 28px; max-width: 30ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.soon {
  display: inline-block;
  padding: 10px 16px;
  border: var(--border);
  border-radius: 999px;
  background: var(--reward);
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-shots {
  display: flex;
  gap: 16px;
  justify-content: center;
}
.hero-shots img {
  width: 46%;
  max-width: 240px;
  border: var(--border);
  border-radius: 18px;
  box-shadow: var(--lift);
}
.hero-shots img:nth-child(2) { margin-top: 40px; }

section { padding: 56px 0 0; }
section h2 { font-size: clamp(30px, 5vw, 44px); line-height: 1.1; margin: 0 0 8px; }
section .sub { margin: 0 0 28px; max-width: 60ch; }

.games {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (min-width: 600px) { .games { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 860px) { .games { grid-template-columns: repeat(5, 1fr); } }
.games li { margin: 0; }
.games figure { margin: 0; }
.games figcaption {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.games figcaption span:last-child { font-weight: 700; color: var(--muted); }

.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 760px) { .features { grid-template-columns: repeat(3, 1fr); } }
.features .card h3 { margin: 0 0 8px; font-size: 22px; line-height: 1.2; }
.features .card p { margin: 0; }
.features .card:nth-child(1) { background: var(--mint); }
.features .card:nth-child(2) { background: var(--butter); }
.features .card:nth-child(3) { background: var(--sky); }

.shots {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 20px;
  margin: 0 -4px;
}
.shots img {
  flex: 0 0 auto;
  width: 220px;
  scroll-snap-align: start;
  border: var(--border);
  border-radius: 16px;
  box-shadow: var(--lift);
}

/* ── Document pages (privacy, terms, support, delete) ────────────── */

.doc-head {
  background: var(--lilac);
  border-bottom: var(--border);
  padding: 44px 0 40px;
}
.doc-head.mint { background: var(--mint); }
.doc-head.sky { background: var(--sky); }
.doc-head.peach { background: var(--peach); }
.doc-head h1 { font-size: clamp(38px, 7vw, 60px); line-height: 1.05; margin: 0 0 10px; }
.doc-head p { margin: 0; max-width: 62ch; }

.doc {
  max-width: 760px;
  margin: 40px auto 0;
  padding: 0 16px;
}
.doc h2 {
  font-size: 24px;
  line-height: 1.25;
  margin: 40px 0 10px;
  padding-top: 18px;
  border-top: var(--border);
}
.doc h3 { font-size: 18px; margin: 24px 0 6px; }
.doc p, .doc li { font-weight: 700; }
.doc strong { font-weight: 800; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 6px 0; }

.summary {
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--lift);
  padding: 20px 24px;
  margin: 0 0 8px;
}
.summary h2 { border: 0; margin: 0 0 8px; padding: 0; font-size: 20px; }
.summary ul { margin: 0; }

.table-wrap { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: var(--border);
  border-radius: var(--radius);
  background: var(--paper);
  font-size: 15px;
}
th, td { text-align: left; vertical-align: top; padding: 10px 12px; font-weight: 700; }
th { font-weight: 800; background: var(--butter); }
tr + tr td, thead + tbody tr:first-child td { border-top: 2px solid var(--ink); }
th:first-child { border-top-left-radius: 10px; }
th:last-child { border-top-right-radius: 10px; }

.doc .steps { counter-reset: step; list-style: none; padding: 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 14px 16px 14px 60px;
  margin: 12px 0;
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--press);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 12px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: var(--border);
  border-radius: 999px;
  background: var(--reward);
  font-weight: 800;
}

.faq details {
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--press);
  margin: 12px 0;
  padding: 0 18px;
}
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 800; }
.faq details p { margin: 0 0 14px; }

.contact {
  display: inline-block;
  font-size: 19px;
  padding: 12px 18px;
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--press);
  background: var(--reward);
  text-decoration: none;
}
