/* Mintdex landing (static build for mintdex-cards.com). The web landing's look without
   Tailwind: the app icon's charcoal and the mark's orange → gold → sage → teal gradient. */

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("landing/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("landing/fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #121211;
  --surface: #1b1b1a;
  --surface-2: #252524;
  --fg: #f4f1ea;
  --muted: #a39f97;
  --line: #34332f;
  --accent: #f2ae45;
  --accent-fg: #17140f;
  --teal: #5fa0b5;
  --sage: #8fb08e;
  --deal: #86c79a;
  --hero-muted: #b9b4aa;
  --header-line: #2a2926;
  --brand-gradient: linear-gradient(135deg, #f9a23a 0%, #e9c35c 32%, #8fb08e 64%, #4a8fa5 100%);
  --hero-bg:
    radial-gradient(60rem 30rem at 85% -10%, rgb(74 143 165 / 0.28), transparent 60%),
    radial-gradient(40rem 24rem at 10% 0%, rgb(249 162 58 / 0.18), transparent 60%), #121211;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: Manrope, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
button {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.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;
}
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  border-radius: 0.75rem;
  background: var(--accent);
  color: var(--accent-fg);
  font-weight: 700;
}
.skip:focus {
  top: 1rem;
}
.muted {
  color: var(--muted);
}
.hero-muted {
  color: var(--hero-muted);
}
.teal {
  color: var(--teal);
}
.small {
  font-size: 0.875rem;
}
.strong {
  font-weight: 700;
}
.center {
  text-align: center;
}
.clip {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* One page container: fluid up to 1600px, gutters clear the notch in landscape. */
.page {
  width: 100%;
  max-width: 1600px;
  margin-inline: auto;
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
}
@media (min-width: 64rem) {
  .page {
    padding-left: max(2rem, env(safe-area-inset-left));
    padding-right: max(2rem, env(safe-area-inset-right));
  }
}
.section {
  padding-block: 3.5rem;
  scroll-margin-top: 5rem;
}
.section h2,
.features-title {
  font-size: 1.875rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.section-head {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.hero-surface {
  background: var(--hero-bg);
}
.text-brand {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ring {
  position: relative;
}
.ring::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--brand-gradient);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}
.ring:hover::after,
.ring:focus-within::after,
.ring:focus-visible::after {
  opacity: 1;
}

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  padding: 0 1.25rem;
  border-radius: 0.75rem;
  border: 0;
  font-weight: 700;
  cursor: pointer;
  transition:
    filter 0.2s,
    border-color 0.2s,
    background 0.2s;
  white-space: nowrap;
}
.btn-brand {
  background: var(--brand-gradient);
  color: var(--accent-fg);
}
.btn-brand:hover {
  filter: brightness(1.1);
}
.btn-lg {
  min-height: 3rem;
}
.btn-sm {
  padding: 0 0.85rem;
  font-size: 0.875rem;
  box-shadow: 0 8px 30px -12px rgb(249 162 58 / 0.6);
}
.btn-outline {
  border: 1px solid var(--line);
  background: transparent;
  font-weight: 600;
}
.btn-outline:hover {
  border-color: var(--accent);
}
.btn-apple {
  min-height: 3rem;
  background: #000;
  color: #fff;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.15);
}
.btn-apple:hover {
  background: #171717;
}
/* Google's badge wording, styled like the App Store button. */
.btn-play {
  gap: 0.625rem;
}
.play-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}
.play-text small {
  font-size: 0.625rem;
  letter-spacing: 0.04em;
}
.play-text span {
  font-size: 1.125rem;
}
/* Until /app/features says whether Google Play is live, the beta wording keeps its room but
   isn't painted, so it never flashes before "Get it on Google Play". JS off: see <noscript>. */
html:not([data-android]) [data-android-show="beta"] {
  visibility: hidden;
}
.btn-android {
  width: fit-content;
  font-size: 0.875rem;
}
.btn-android:hover {
  border-color: #3ddc84;
}
.btn-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}
.btn-link:hover {
  color: var(--accent);
}
.stores {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.store-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

/* ── Header ───────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--header-line);
  background: rgb(18 18 17 / 0.85);
  padding-top: env(safe-area-inset-top);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.header-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: 4rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  min-height: 2.75rem;
}
.brand img {
  width: 2rem;
  height: 2rem;
}
.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.header-row .brand-name {
  display: none;
}
.nav {
  display: none;
}
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
}
.nav-toggle {
  display: inline-grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: none;
  cursor: pointer;
}
.nav-toggle > span[aria-hidden] {
  display: block;
  width: 1.1rem;
  height: 2px;
  border-radius: 2px;
  background: var(--fg);
}
.nav.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding: 0.5rem 1rem 1rem;
  background: rgb(18 18 17 / 0.97);
  border-bottom: 1px solid var(--header-line);
}
.nav.open a {
  padding: 0.75rem 0.25rem;
  font-weight: 600;
  color: var(--muted);
}
.nav a:hover {
  color: var(--fg);
}
.header-lang {
  display: none;
}
.nav-login {
  display: none;
}
/* The smallest phones: "Log in" moves into the menu so the header fits. */
@media (max-width: 22.49rem) {
  .header-actions .btn-link {
    display: none;
  }
  .nav.open .nav-login {
    display: block;
  }
}
@media (min-width: 25rem) {
  .header-lang {
    display: block;
  }
}
@media (min-width: 40rem) {
  .header-row {
    gap: 1.5rem;
  }
  .header-row .brand-name {
    display: inline;
  }
  .header-actions {
    gap: 0.5rem;
  }
}
@media (min-width: 48rem) {
  .nav,
  .nav.open {
    display: flex;
    flex-direction: row;
    position: static;
    padding: 0;
    background: none;
    border: 0;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--muted);
  }
  .nav.open a,
  .nav a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0;
  }
  .nav a.nav-login {
    display: none;
  }
  .nav-toggle {
    display: none;
  }
}
@media (min-width: 48rem) and (max-width: 63.99rem) {
  .nav a[href$="#features"],
  .nav a[href$="#faq"] {
    display: none;
  }
}

/* Language menu: a <details>, so it works without JavaScript. */
.lang-menu {
  position: relative;
}
.lang-menu summary {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0 0.75rem;
  border: 1px solid var(--header-line);
  border-radius: 0.6rem;
  cursor: pointer;
  list-style: none;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}
.lang-menu .chevron {
  transition: transform 0.2s;
}
.lang-menu[open] .chevron {
  transform: rotate(180deg);
}
.lang-menu summary::-webkit-details-marker {
  display: none;
}
.lang-menu summary:hover,
.lang-menu[open] summary {
  color: var(--fg);
}
.lang-menu ul {
  position: absolute;
  right: 0;
  top: calc(100% + 0.25rem);
  z-index: 50;
  min-width: 10rem;
  padding: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: var(--surface);
  box-shadow: 0 20px 50px -20px rgb(0 0 0 / 0.8);
}
.lang-menu.up ul {
  top: auto;
  bottom: calc(100% + 0.25rem);
  left: 0;
  right: auto;
}
.lang-menu a {
  display: block;
  padding: 0.7rem 0.85rem;
  border-radius: 0.6rem;
  font-size: 0.9rem;
}
.lang-menu a:hover,
.lang-menu a[aria-current] {
  background: var(--surface-2);
}
.lang-menu a[aria-current] {
  color: var(--accent);
  font-weight: 700;
}
.footer-lang {
  width: fit-content;
}


/* ── Hero ─────────────────────────────────────────────────────────────────── */
main {
  outline: none;
}
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 999px;
  animation: drift 18s ease-in-out infinite;
}
.orb-a {
  top: -10rem;
  left: -8rem;
  width: 36rem;
  height: 36rem;
  background: radial-gradient(circle, rgb(249 162 58 / 0.22), transparent 65%);
}
.orb-b {
  right: -10rem;
  bottom: -12rem;
  width: 40rem;
  height: 40rem;
  background: radial-gradient(circle, rgb(74 143 165 / 0.28), transparent 65%);
  animation-delay: -9s;
}
.hero-grid {
  position: relative;
  display: grid;
  align-items: center;
  gap: 3rem;
  padding-block: 3.5rem;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
}
.eyebrow {
  width: fit-content;
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(27 27 26 / 0.7);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}
.hero h1 {
  font-size: clamp(2.6rem, 11vw, 4.5rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.hero-body {
  max-width: 36rem;
  font-size: 1.125rem;
  color: var(--hero-muted);
}
.hero-visual {
  min-width: 0;
}
@media (min-width: 48rem) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    padding-block: 6rem;
  }
}

/* Cards: card-shaped corners, optional holo sheen. */
.card {
  position: relative;
  display: block;
  aspect-ratio: 245 / 343;
  border-radius: 6.5% / 4.6%;
  overflow: hidden;
  background: var(--surface-2);
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.6);
}
.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.holo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 30%, rgb(255 255 255 / 0.35) 45%, rgb(249 162 58 / 0.25) 50%, rgb(74 143 165 / 0.25) 55%, transparent 70%);
  background-size: 250% 100%;
  mix-blend-mode: overlay;
  animation: shimmer 5s ease-in-out infinite;
  pointer-events: none;
}
.fan {
  position: relative;
  width: 100%;
  max-width: 36rem;
  margin-inline: auto;
  aspect-ratio: 5 / 4;
}
.fan-card {
  position: absolute;
  width: 30%;
}
.fan-pill {
  position: absolute;
  right: 0;
  bottom: 0.5rem;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgb(27 27 26 / 0.9);
  box-shadow: 0 20px 40px -12px rgb(0 0 0 / 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.dot {
  width: 0.6rem;
  height: 0.6rem;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--brand-gradient);
}
.fan-name {
  max-width: 10rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 600;
}
.fan-price {
  font-size: 1.125rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

/* ── Proof strip, marquee ─────────────────────────────────────────────────── */
.proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  padding-block: 2rem;
}
.proof li {
  padding: 1.25rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
  text-align: center;
  font-weight: 700;
}
@media (min-width: 48rem) {
  .proof {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.marquee {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
  padding-block: 2.5rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee:empty {
  display: none;
}
.marquee-row {
  display: flex;
  width: max-content;
  gap: 1rem;
  animation: marquee var(--duration, 60s) linear infinite;
}
.marquee-row.reverse {
  animation-direction: reverse;
}
.marquee-row:hover {
  animation-play-state: paused;
}
.marquee-card {
  width: 7rem;
  flex-shrink: 0;
}
@media (min-width: 40rem) {
  .marquee-card {
    width: 9rem;
  }
}

/* ── Newest sets ──────────────────────────────────────────────────────────── */
.tabs {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.tablist {
  display: flex;
  width: fit-content;
  max-width: 100%;
  gap: 0.25rem;
  overflow-x: auto;
  padding: 0.25rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
}
.tablist button {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-height: 2.75rem;
  padding: 0 0.75rem;
  border: 0;
  border-radius: 0.75rem;
  background: none;
  cursor: pointer;
}
.tablist button[aria-selected="true"] {
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.tablist img {
  width: auto;
  height: 1.5rem;
  max-width: 6rem;
  object-fit: contain;
}
.tabpanel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  animation: reveal 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.panel-game {
  font-size: 1.25rem;
  font-weight: 800;
}
.tabs.ready .panel-game {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.latest {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: var(--surface);
}
.latest-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  filter: blur(48px);
  transform: scale(1.25);
}
.latest-body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 1.5rem;
}
.latest-head,
.latest-title {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.latest-title h3 {
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.latest-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.set-value {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  background: rgb(18 18 17 / 0.6);
}
.set-value strong {
  font-size: 1.125rem;
  font-variant-numeric: tabular-nums;
}
.set-logo {
  display: flex;
  align-items: center;
  height: 3.5rem;
  width: 100%;
}
.set-logo.big {
  width: 8rem;
  height: 4rem;
  flex-shrink: 0;
}
.set-logo img {
  max-height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.set-logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--muted);
}
@media (min-width: 30rem) {
  .latest-title {
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
  }
}
@media (min-width: 40rem) {
  .latest-body {
    padding: 2.5rem;
  }
  .latest-title h3 {
    font-size: 1.875rem;
  }
  .set-logo.big {
    width: 11rem;
    height: 5rem;
  }
}
@media (min-width: 48rem) {
  .latest-head {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.top-cards,
.set-strip {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem 0 1rem;
  scrollbar-width: thin;
}
.top-cards li {
  width: 9rem;
  flex-shrink: 0;
  scroll-snap-align: start;
}
.top-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.top-card .card {
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 24px 60px -24px rgb(242 174 69 / 0.55);
}
.top-card:hover .card {
  transform: translateY(-6px) rotate(-1.5deg);
}
.rank {
  position: absolute;
  top: 0.4rem;
  left: 0.4rem;
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: var(--brand-gradient);
  color: var(--accent-fg);
  font-size: 0.75rem;
  font-weight: 900;
}
.top-name {
  margin-top: 0.25rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 600;
}
.top-price {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.set-strip li {
  width: 13rem;
  flex-shrink: 0;
  scroll-snap-align: start;
}
.set-tile {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
}
.set-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
}
@media (min-width: 40rem) {
  .top-cards li {
    width: 11rem;
  }
  .set-strip li {
    width: 14rem;
  }
}

/* ── Feature bento ────────────────────────────────────────────────────────── */
.features-title {
  max-width: 48rem;
  margin: 0 auto 3rem;
  text-align: center;
}
.bento {
  display: grid;
  grid-auto-flow: dense;
  gap: 1rem;
}
.tile {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow: hidden;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: var(--surface) radial-gradient(28rem 20rem at 50% 110%, var(--glow), transparent 70%);
}
.tile h3 {
  font-size: 1.25rem;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.tile > p {
  max-width: 28rem;
}
.tile-visual {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 0 2rem;
}
.tile-visual > * {
  width: 100%;
}
@media (min-width: 40rem) {
  .tile h3 {
    font-size: 1.5rem;
  }
  .tile-visual {
    padding-inline: 1.5rem;
  }
  .section h2 {
    font-size: 2.25rem;
  }
  .features-title {
    font-size: 3rem;
  }
}
@media (min-width: 48rem) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bento .col-2 {
    grid-column: span 2;
  }
}
@media (min-width: 64rem) {
  .bento {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .bento .row-2 {
    grid-row: span 2;
  }
  .bento .col-2l {
    grid-column: span 2;
  }
}

.scan {
  position: relative;
  max-width: 15rem;
  margin-inline: auto;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: rgb(0 0 0 / 0.6);
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.6);
}
.scan-card {
  position: relative;
}
.corner {
  position: absolute;
  width: 2rem;
  height: 2rem;
  border: 0 solid var(--accent);
}
.corner.tl {
  top: -0.5rem;
  left: -0.5rem;
  border-top-width: 4px;
  border-left-width: 4px;
  border-top-left-radius: 0.75rem;
}
.corner.tr {
  top: -0.5rem;
  right: -0.5rem;
  border-top-width: 4px;
  border-right-width: 4px;
  border-top-right-radius: 0.75rem;
}
.corner.bl {
  bottom: -0.5rem;
  left: -0.5rem;
  border-bottom-width: 4px;
  border-left-width: 4px;
  border-bottom-left-radius: 0.75rem;
}
.corner.br {
  bottom: -0.5rem;
  right: -0.5rem;
  border-bottom-width: 4px;
  border-right-width: 4px;
  border-bottom-right-radius: 0.75rem;
}
.scan-line {
  position: absolute;
  left: 0.25rem;
  right: 0.25rem;
  height: 0.25rem;
  border-radius: 999px;
  background: var(--brand-gradient);
  box-shadow: 0 0 24px 4px rgb(249 162 58 / 0.6);
  animation: scan 3.2s ease-in-out infinite;
}
.scan-found {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: -1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
  box-shadow: 0 20px 40px -12px rgb(0 0 0 / 0.6);
}
.scan-found > span {
  min-width: 0;
}
.found-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--deal);
}
.found-name {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 700;
}
.scan-found strong {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.conditions {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: rgb(27 27 26 / 0.8);
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.6);
}
.conditions > div {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}
.conditions-card {
  display: none;
}
.condition-bars {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.25rem;
}
.condition-bars li {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
}
.condition-bars li > span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bar {
  height: 0.5rem;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface-2);
}
.bar-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--brand-gradient);
}
@media (min-width: 40rem) {
  .conditions {
    grid-template-columns: 9rem minmax(0, 1fr);
  }
  .conditions-card {
    display: block;
  }
}

.slab {
  position: relative;
  width: 100%;
  max-width: 14rem;
  margin-inline: auto;
  aspect-ratio: 698 / 1138;
  container-type: inline-size;
}
.slab-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 3%;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.6);
}
.slab-label {
  position: absolute;
  left: 6.8%;
  right: 6.6%;
  top: 3.3%;
  height: 14.9%;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border: 1cqw solid rgb(217 13 13 / 0.7);
  border-radius: 1.5cqw;
  background: #fff;
  color: #171717;
}
.slab-accent {
  width: 1.2cqw;
  flex-shrink: 0;
  background: #d90d0d;
}
.slab-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  gap: 0.4cqw;
  min-width: 0;
  padding-left: 4cqw;
}
.slab-house {
  width: auto;
  height: 6.6cqw;
}
.slab-grade-label {
  font-size: 3.9cqw;
  font-weight: 700;
  line-height: 1.2;
}
.slab-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 3.4cqw;
  font-weight: 500;
  line-height: 1.2;
  color: #525252;
}
.slab-grade {
  display: flex;
  align-items: center;
  padding: 0 4cqw 0 2cqw;
  font-size: 9.7cqw;
  font-weight: 900;
  line-height: 1;
}
.slab-window {
  position: absolute;
  left: 6.8%;
  right: 6.8%;
  top: 24.2%;
  bottom: 4.5%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slab-window img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6.5% / 4.6%;
}

.value {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: rgb(27 27 26 / 0.8);
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.6);
}
.value-chart {
  width: 100%;
  height: 7rem;
  margin-top: 1rem;
}

.centering {
  max-width: 11rem;
  margin-inline: auto;
  padding-top: 2rem;
}
.centering-card {
  position: relative;
}
.guide {
  position: absolute;
  border: 0 solid rgb(95 160 181 / 0.9);
}
.guide.v {
  top: -0.75rem;
  bottom: -0.75rem;
  border-left-width: 2px;
}
.guide.h {
  left: -0.75rem;
  right: -0.75rem;
  border-top-width: 2px;
}
.margin {
  position: absolute;
  padding: 0.25rem 0.5rem;
  border: 1px solid rgb(95 160 181 / 0.4);
  border-radius: 0.5rem;
  background: var(--surface);
  font-size: 0.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 10px 20px -8px rgb(0 0 0 / 0.6);
}
.m-l {
  top: 50%;
  left: -2.75rem;
  translate: 0 -50%;
}
.m-r {
  top: 50%;
  right: -2.75rem;
  translate: 0 -50%;
}
.m-t {
  top: -2.25rem;
  left: 50%;
  translate: -50% 0;
}
.m-b {
  bottom: -2.25rem;
  left: 50%;
  translate: -50% 0;
}
.centering > p {
  margin-top: 3rem;
}

.alert {
  position: relative;
  max-width: 24rem;
  margin-inline: auto;
}
.alert-card {
  width: 10rem;
  margin-inline: auto;
  opacity: 0.6;
}
.alert-note {
  position: absolute;
  left: 0;
  right: 0;
  top: 1.5rem;
  display: flex;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgb(27 27 26 / 0.95);
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.6);
}
.alert-icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 0.75rem;
  background: var(--brand-gradient);
  color: var(--accent-fg);
}
.alert-note > span:last-child {
  min-width: 0;
}
.alert-title {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}
.alert-body {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
}
@media (min-width: 40rem) {
  .alert-card {
    width: 12rem;
  }
}

/* ── Games, Europe, web ───────────────────────────────────────────────────── */
.games {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.game-tile,
.next-game {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 6rem;
  padding: 0 0.75rem;
  border-radius: 1rem;
}
.game-tile {
  border: 1px solid var(--line);
  background: var(--surface) radial-gradient(16rem 8rem at 50% 120%, rgb(242 174 69 / 0.18), transparent 70%);
}
.game-tile img {
  width: auto;
  max-height: 2.5rem;
  object-fit: contain;
  transition: transform 0.3s;
}
.game-tile:hover img {
  transform: scale(1.1);
}
.next-game {
  border: 1px dashed var(--line);
}
.next-game img {
  width: auto;
  max-height: 3rem;
  object-fit: contain;
  opacity: 0.75;
}
/* A game with no logo yet (added from the admin panel): its name instead. */
.game-name {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  color: var(--fg);
}
.next-game .game-name {
  color: var(--muted);
}
.eyebrow-title {
  margin: 2rem 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (min-width: 40rem) {
  .games {
    gap: 1rem;
  }
  .game-tile {
    height: 9rem;
  }
  .game-tile img {
    max-height: 4rem;
    max-width: 11rem;
  }
  .next-game {
    height: 7rem;
  }
  .next-game img {
    max-height: 3.5rem;
  }
}

.europe {
  display: grid;
  gap: 2rem;
  overflow: hidden;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: var(--surface);
}
.europe-copy,
.europe-visual {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
}
.europe-visual {
  gap: 1rem;
}
.europe h2 {
  font-size: 1.5rem;
}
.locales {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.locales li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  font-weight: 600;
}
.condition-ribbon {
  display: flex;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-align: center;
  color: var(--accent-fg);
}
.condition-ribbon li {
  flex: 1;
  padding: 0.75rem 0.25rem;
}
@media (min-width: 64rem) {
  .europe {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: center;
  }
  .europe h2 {
    font-size: 1.875rem;
  }
  .condition-ribbon {
    font-size: 0.75rem;
  }
}

.web {
  display: grid;
  gap: 1rem;
}
.web:has(.market-card:not([hidden])) {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
}
.web-card,
.market-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
}
.market-card {
  background: var(--surface);
}
.web h2 {
  font-size: 1.5rem;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(27 27 26 / 0.7);
  font-size: 0.875rem;
  font-weight: 600;
}
.soon {
  padding: 0.05rem 0.45rem;
  border-radius: 999px;
  background: rgb(95 160 181 / 0.18);
  color: var(--teal);
  font-size: 0.7rem;
  font-weight: 700;
}
.web-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: auto;
}
.market-icons {
  display: flex;
  gap: 1.5rem;
  margin-top: auto;
}

/* ── Early access (Erik's form contract: api/early-access.php + Turnstile) ── */
.early {
  position: relative;
  display: grid;
  gap: 2rem;
  overflow: hidden;
  padding: 2rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background:
    radial-gradient(36rem 20rem at 0% 110%, rgb(95 160 181 / 0.22), transparent 70%),
    radial-gradient(30rem 16rem at 100% -10%, rgb(249 162 58 / 0.14), transparent 70%),
    var(--surface);
}
.early-copy {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
}
.signup-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
}
.signup-form input[type="email"] {
  width: 100%;
  min-height: 3.25rem;
  padding: 0 1rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: var(--surface-2);
  color: var(--fg);
  font: inherit;
}
.signup-form input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgb(242 174 69 / 0.12);
}
.signup-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--muted);
}
.signup-consent input {
  -webkit-appearance: none;
  appearance: none;
  flex: 0 0 1.125rem;
  width: 1.125rem;
  height: 1.125rem;
  margin: 0.1rem 0 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--muted);
  border-radius: 0.3rem;
  background: var(--surface-2);
  cursor: pointer;
}
.signup-consent input:checked {
  border-color: var(--accent);
  background: var(--brand-gradient);
}
.signup-consent input:checked::after {
  content: "✓";
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1;
  color: var(--accent-fg);
}
.signup-consent label {
  flex: 1;
  min-width: 0;
}
.signup-consent a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.turnstile-slot:empty {
  display: none;
}
.signup-form .btn {
  width: 100%;
}
.signup-form.is-loading .btn {
  opacity: 0.7;
  cursor: wait;
}
.signup-form small {
  display: block;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
}
.signup-form .form-error {
  color: #f08a7e;
}
.signup-form .form-success {
  color: var(--deal);
}
@media (min-width: 48rem) {
  .early {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    align-items: center;
    gap: 3rem;
    padding: 3rem;
  }
}

/* ── FAQ, CTA, footer ─────────────────────────────────────────────────────── */
#faq h2 {
  margin-bottom: 1.5rem;
}
.faq {
  max-width: 48rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
}
.faq details + details {
  border-top: 1px solid var(--line);
}
.faq details {
  padding: 1.25rem;
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.75rem;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary span {
  color: var(--accent);
  font-size: 1.25rem;
  transition: transform 0.2s;
}
.faq details[open] summary span {
  transform: rotate(45deg);
}
.faq p {
  padding-top: 0.75rem;
}
.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 3rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  text-align: center;
}
.cta h2 {
  max-width: 36rem;
}
.cta .stores,
.cta .store-row {
  align-items: center;
  justify-content: center;
}
.footer {
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  gap: 2rem;
  padding-block: 3rem;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 24rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
}
.footer-links a {
  color: var(--muted);
}
.footer-links a:hover {
  color: var(--fg);
}
.footer-links span a {
  color: var(--fg);
}
/* Touch screens: every footer link a full 44px target. */
@media (pointer: coarse) {
  .footer-links {
    gap: 0;
  }
  .footer-links > a,
  .footer-links > span {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
  }
}
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
}
@media (min-width: 40rem) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr));
  }
}

/* ── 404 ───────────────────────────────────────────────────────────────────── */
.notfound {
  display: grid;
  place-items: center;
  min-height: calc(100svh - 4rem);
  padding-block: 3rem 4rem;
}
.notfound-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  max-width: 46rem;
  text-align: center;
}
.notfound-code {
  margin: 0 0 0.5rem;
  font-size: clamp(5rem, 18vw, 10rem);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.06em;
}
.notfound h1 {
  margin: 0;
  font-size: clamp(1.875rem, 5vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.notfound-body {
  max-width: 34rem;
  margin: 0.25rem 0 1rem;
  color: var(--hero-muted);
  font-size: 1.0625rem;
  line-height: 1.65;
}
.notfound-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.status-icons {
  display: grid;
  margin-bottom: 0.75rem;
}
.status-icon {
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.status-icon-ok {
  background: var(--brand-gradient);
  color: var(--accent-fg);
  box-shadow: none;
}
.status-icon-retry {
  color: var(--accent);
}
.status-icon-error {
  color: #f08a7e;
}

/* ── Legal pages (privacy, cookies, terms) ─────────────────────────────────── */
.legal-main {
  padding-block: 2rem 4rem;
}
.legal-shell {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}
.legal-aside {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}
/* Phones and tablets: the contents scroll sideways inside their row, never the page. */
.legal-toc {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  margin-inline: -1rem;
  padding: 0.25rem 1rem;
}
.legal-toc::-webkit-scrollbar {
  display: none;
}
.legal-toc a {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  min-height: 2.75rem;
  padding: 0 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.legal-toc a:hover {
  color: var(--fg);
  border-color: var(--accent);
}
.legal-card {
  min-width: 0;
  max-width: 50rem;
  padding: 1.5rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: var(--surface);
  overflow-wrap: anywhere;
}
.legal-header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.legal-header h1 {
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.legal-intro {
  color: var(--hero-muted);
  font-size: 1.05rem;
}
.legal-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.legal-facts li {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}
.legal-principles {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.legal-principles li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--bg);
}
.legal-principles span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--teal);
}
.legal-principles strong {
  font-weight: 600;
}
.legal-section {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-top: 2rem;
  scroll-margin-top: 5rem;
  color: var(--hero-muted);
}
.legal-section h2 {
  font-size: 1.35rem;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.legal-section h3 {
  margin-top: 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--fg);
}
.legal-section strong {
  color: var(--fg);
}
.legal-card a:not(.legal-contact a) {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-left: 1.25rem;
  list-style: disc;
}
.legal-list li::marker {
  color: var(--accent);
}
.legal-note {
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--accent);
  border-radius: 0.75rem;
  background: var(--surface-2);
  color: var(--fg);
}
.legal-footnote {
  font-size: 0.875rem;
  color: var(--muted);
}
.legal-contact {
  display: grid;
  gap: 0.75rem;
}
.legal-contact a {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-height: 2.75rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--bg);
}
.legal-contact a:hover {
  border-color: var(--accent);
}
.legal-contact span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
.legal-contact strong {
  color: var(--fg);
}
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  padding: 0.1em 0.35em;
  border-radius: 0.35em;
  background: var(--surface-2);
}
@media (min-width: 40rem) {
  .legal-card {
    padding: 2.5rem;
  }
  .legal-header h1 {
    font-size: 2.5rem;
  }
  .legal-principles,
  .legal-contact {
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  }
}
/* Laptops and up: the contents become a sticky column beside the text. */
@media (min-width: 64rem) {
  .legal-main {
    padding-top: 3rem;
  }
  .legal-shell {
    grid-template-columns: 15rem minmax(0, 50rem);
    gap: 2.5rem;
    justify-content: center;
  }
  .legal-aside {
    position: sticky;
    top: 5.5rem;
  }
  .legal-toc {
    flex-direction: column;
    gap: 0.15rem;
    overflow: visible;
    margin: 0;
    padding: 0;
  }
  .legal-toc a {
    min-height: 2.25rem;
    padding: 0 0.75rem;
    border: 0;
    border-radius: 0.6rem;
  }
  .legal-toc a:hover {
    background: var(--surface);
  }
}

/* ── Motion: CSS only, content visible without it, off for reduced motion ─── */
@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(var(--r, 0deg));
  }
  50% {
    transform: translateY(-10px) rotate(var(--r, 0deg));
  }
}
@keyframes shimmer {
  0% {
    background-position: -150% 0;
  }
  100% {
    background-position: 250% 0;
  }
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
@keyframes scan {
  0%,
  100% {
    top: 6%;
  }
  50% {
    top: 90%;
  }
}
@keyframes draw {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes grow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
@keyframes pop {
  0%,
  30% {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  45%,
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(4%, -6%) scale(1.08);
  }
}
@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.float {
  animation: float 6s ease-in-out infinite;
}
.pop {
  animation: pop 5s ease-out infinite;
}
.pop-in {
  animation: reveal 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.draw {
  stroke-dasharray: 1;
  animation: draw 2.4s ease-out both;
}
.grow {
  transform-origin: left;
  animation: grow 1.4s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@supports (animation-timeline: view()) {
  .reveal,
  .tile {
    animation: reveal linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 25%;
  }
  .grow,
  .draw {
    animation-timeline: view();
    animation-range: entry 10% cover 40%;
    animation-duration: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .float,
  .orb,
  .marquee-row,
  .scan-line,
  .pop,
  .pop-in,
  .draw,
  .grow,
  .reveal,
  .tile,
  .tabpanel,
  .holo::after {
    animation: none !important;
  }
  .draw {
    stroke-dasharray: none;
  }
}

/* ── From the blog (the three newest articles, from /landing/showcase) ─────── */
.blog-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 1.5rem;
}
.blog-all {
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
}
.blog-all:hover {
  text-decoration: underline;
}
.blog-list {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.blog-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  height: 100%;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
  color: inherit;
  text-decoration: none;
}
.blog-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0.75rem;
}
/* The web card's drawing: its 160 px head, the art centred, the background filling the width. */
.blog-card img.blog-drawn {
  aspect-ratio: auto;
  height: 10rem;
  object-fit: cover;
}
.blog-card h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  text-wrap: balance;
}
.blog-card p {
  margin: 0;
  font-size: 0.875rem;
}
.blog-date {
  color: var(--muted);
  font-size: 0.75rem;
}
.blog-more {
  margin-top: auto;
  padding-top: 0.25rem;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 700;
}

/* ── Phones and iPads (feedback 95) ───────────────────────────────────────────
   Everything below 1280px. Desktop (≥ 80rem) keeps the rules above untouched.
   Gutters: 16–24 px on phones, 32–48 px on tablets and landscape phones. Text: 14 px at
   least, except inside the app mock-ups (.tile-visual, .fan) and Google's badge wording. */

/* Reduced motion switches the float animation off; the fan keeps its tilt anyway. */
.fan-card {
  transform: rotate(var(--r, 0deg));
}

@media (max-width: 79.99rem) {
  :root {
    --gutter: clamp(1rem, 5vw, 1.5rem);
  }
  .page {
    padding-left: max(var(--gutter), env(safe-area-inset-left));
    padding-right: max(var(--gutter), env(safe-area-inset-right));
  }
  .section {
    padding-block: clamp(2.75rem, 7vw, 4.5rem);
  }
  .section h2 {
    font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.5rem);
  }
  .features-title {
    font-size: clamp(1.875rem, 1.2rem + 3vw, 2.75rem);
    margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
  }

  /* Small print up to 14 px. */
  .eyebrow,
  .kicker,
  .eyebrow-title,
  .soon,
  .rank,
  .lang-menu summary,
  .signup-consent,
  .signup-form small,
  .footer-bottom,
  .blog-date,
  .condition-ribbon {
    font-size: 0.875rem;
  }
  .eyebrow {
    padding: 0.35rem 0.85rem;
  }
  .rank {
    width: 2rem;
    height: 2rem;
  }

  /* Hero: the fan sits under its cards, the price pill tucked against them. */
  .hero-grid {
    gap: clamp(2rem, 6vw, 3rem);
    padding-block: clamp(2rem, 7vw, 4rem) clamp(2.5rem, 8vw, 4.5rem);
  }
  .hero-body {
    font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.1875rem);
    line-height: 1.55;
  }
  .fan {
    aspect-ratio: 10 / 7;
  }

  /* Scrollers run to the screen's edge and snap; the next item always peeks. */
  .set-strip {
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
  }

  .tile {
    padding: clamp(1.25rem, 3.5vw, 1.75rem);
  }
  .tile-visual {
    padding: 1.25rem 0 1.5rem;
  }
  .web-card,
  .market-card,
  .europe {
    padding: clamp(1.5rem, 5vw, 2.5rem);
  }
  .cta {
    padding: clamp(2.25rem, 7vw, 3.5rem) clamp(1.25rem, 5vw, 3rem);
  }

  /* Footer: every link a 44 px target. */
  .footer-links {
    gap: 0;
  }
  .footer-links > a {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
  }
  .footer-links > span {
    display: block;
    padding-block: 0.625rem;
  }
  .footer-links > span a {
    display: inline-block;
    min-height: 1.5rem;
  }
  .blog-all {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
  }
  /* The rotated edge cards stay inside the screen. */
  .hero-visual .fan {
    width: 92%;
  }
}

/* Phones (portrait). */
@media (max-width: 39.99rem) {
  .hero h1 {
    font-size: clamp(2.5rem, 11.5vw, 3.25rem);
  }
  .hero-copy {
    gap: 1.25rem;
  }
  /* Calls to action: full width, stacked, one height. */
  .stores,
  .hero .stores {
    width: 100%;
  }
  .store-row {
    flex-direction: column;
    align-items: stretch;
  }
  .store-row > .btn,
  .stores > .btn-android,
  .web-actions .btn {
    width: 100%;
    min-height: 3.25rem;
  }
  .cta .stores,
  .cta .store-row {
    align-items: stretch;
  }
  .cta .stores {
    max-width: 24rem;
  }
  .hero-visual .fan {
    max-width: 23rem;
    width: 88%;
  }
  .fan-pill {
    right: 50%;
    translate: 50% 0;
    bottom: 0;
    white-space: nowrap;
  }

  .proof {
    gap: 0.625rem;
    padding-block: 1.5rem 0.5rem;
  }
  .proof li {
    display: grid;
    place-items: center;
    min-height: 4.5rem;
    padding: 0.875rem 0.75rem;
    font-size: 0.9375rem;
    line-height: 1.3;
  }
  .marquee {
    gap: 0.75rem;
    padding-block: 2rem;
  }
  .marquee-card {
    width: 6.5rem;
  }

  .features-title {
    text-align: left;
    margin-inline: 0;
  }
  .latest-body {
    padding: 1.25rem;
    gap: 1.5rem;
  }
  .latest-title h3 {
    font-size: 1.375rem;
  }
  .latest-actions {
    display: grid;
    grid-template-columns: auto 1fr;
  }
  .latest-actions .btn {
    min-height: 3rem;
  }
  /* Two cards and a peek of the third. */
  .top-cards li {
    width: calc((100% - 2rem) / 2.35);
  }
  .set-strip li {
    width: 72%;
  }

  .slab {
    max-width: 12rem;
  }
  .condition-bars li {
    grid-template-columns: 6rem minmax(0, 1fr);
    font-size: 0.8125rem;
  }

  .games {
    gap: 0.625rem;
  }
  .game-tile {
    height: 5.5rem;
  }
  .next-game {
    height: 5rem;
  }
  .game-tile img {
    max-height: 2.25rem;
  }
  .next-game img {
    max-height: 2.5rem;
  }

  .europe h2,
  .web h2 {
    font-size: 1.5rem;
  }
  .locales li {
    padding: 0.5rem 0.875rem;
  }
  .condition-ribbon li {
    padding: 0.75rem 0;
  }

  .early {
    padding: 1.75rem 1.25rem;
  }
  .faq details {
    padding: 0.75rem 1.125rem;
  }
  .faq p {
    padding-bottom: 0.5rem;
  }

  .footer-grid {
    gap: 1.5rem;
    padding-block: 2.5rem;
  }
}

/* The narrowest Android phones (360 px): header and set value keep their room. */
@media (max-width: 22.99rem) {
  .latest-actions {
    grid-template-columns: 1fr;
  }
}

/* iPad portrait (and large phones in landscape that are tall enough): one hero column, the
   copy then the fan, calls to action side by side. */
@media (min-width: 40rem) and (max-width: 63.99rem) and (min-height: 40rem) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }
  .hero h1 {
    font-size: clamp(3.25rem, 8.5vw, 4.5rem);
    max-width: 14ch;
  }
  .hero-body {
    max-width: 38rem;
  }
  .hero-visual .fan {
    max-width: 34rem;
  }
  .fan-pill {
    right: 50%;
    translate: 50% 0;
  }
}

/* Tablets: grids use the width. */
@media (min-width: 40rem) and (max-width: 79.99rem) {
  .top-cards li {
    width: calc((100% - 4rem) / 4.4);
  }
  .set-strip li {
    width: calc((100% - 2rem) / 3.3);
  }
  .tile > p {
    font-size: 0.9375rem;
  }
  .latest-title {
    align-items: flex-start;
  }
  .set-logo.big {
    width: auto;
    max-width: 11rem;
  }  /* Three articles in one row, never two and an orphan. */
  .blog-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Phones in landscape and other short screens: the hero fits the first screen. */
@media (max-height: 30rem) and (orientation: landscape) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    padding-block: 2rem 2.5rem;
    gap: 2rem;
  }
  .hero h1 {
    font-size: clamp(2.25rem, 5.5vw, 3rem);
  }
  .hero-body {
    font-size: 1rem;
  }
  .hero-copy {
    gap: 1rem;
  }
  .section {
    scroll-margin-top: 4.5rem;
  }
}
