:root {
  --ink: #27243b;
  --plum: #493764;
  --paper: #fffdf8;
  --cream: #fff7e8;
  --coral: #ff6f7d;
  --yellow: #ffd45c;
  --mint: #7ed8b5;
  --sky: #8ed8f7;
  --lilac: #bba8f7;
  --peach: #ffb38e;
  --white: #ffffff;
  --muted: #6f6a7d;
  --line: rgba(39, 36, 59, 0.14);
  --shadow: 0 16px 40px rgba(55, 39, 78, 0.12);
  --max: 1180px;
  --header: 82px;
  color-scheme: light;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.09'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }

h1, h2, h3 {
  margin: 0;
  font-family: "Trebuchet MS", "Avenir Next", sans-serif;
  line-height: 0.98;
  letter-spacing: 0;
}

p { margin: 0; }

.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-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}

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

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.legal-page .site-header {
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: "Trebuchet MS", sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.brand img { width: 42px; height: 42px; }
.brand b { color: var(--coral); }

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

.site-nav a {
  position: relative;
  text-decoration: none;
  font-weight: 750;
  font-size: 14px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -5px;
  height: 3px;
  background: var(--coral);
  transition: right 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after { right: 0; }

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
}

.menu-button span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 3px;
  margin: 4px 0;
  border-radius: 3px;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: min(860px, 92svh);
  padding-top: var(--header);
  overflow: hidden;
  background: #fff2d9;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,253,248,.86) 0%, rgba(255,249,239,.66) 32%, rgba(255,249,239,.22) 58%, rgba(255,249,239,0) 79%),
    linear-gradient(0deg, rgba(255,249,239,.48) 0%, rgba(255,249,239,0) 36%);
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  min-width: 0;
  height: 100%;
}

.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(50%, 590px);
  padding-top: clamp(100px, 16vh, 160px);
  margin-left: max(24px, calc((100vw - var(--max)) / 2));
  text-shadow: 0 1px 0 rgba(255,255,255,.65);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--plum);
  font-size: 12px;
  line-height: 1;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 1.6px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 4px;
  border-radius: 4px;
  background: var(--coral);
}

.hero h1 {
  max-width: 620px;
  font-size: clamp(64px, 7.5vw, 118px);
  color: var(--ink);
}

.hero-copy > p:not(.eyebrow) {
  max-width: 510px;
  margin: 28px 0 32px;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  line-height: 1.5;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  max-width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 10px 18px;
  background: var(--ink);
  color: white;
  box-shadow: 4px 4px 0 var(--coral);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.primary-button:hover,
.secondary-button:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--coral); }
.primary-button span,
.secondary-button span { min-width: 0; }
.primary-button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.primary-button--small { min-height: 44px; padding: 8px 14px; box-shadow: none; }
.secondary-button { background: white; color: var(--ink); box-shadow: none; }

.scroll-cue {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 25px;
  width: 30px;
  height: 46px;
  border: 2px solid var(--ink);
  border-radius: 18px;
}

.scroll-cue span {
  position: absolute;
  width: 5px;
  height: 9px;
  top: 8px;
  left: 11px;
  border-radius: 5px;
  background: var(--ink);
  animation: scroll-dot 1.8s ease infinite;
}

@keyframes scroll-dot { 50% { transform: translateY(14px); opacity: .25; } }

.games-section { padding: 112px 24px 126px; background: var(--paper); }

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

.section-heading .eyebrow { justify-content: center; }
.section-heading h2 { font-size: clamp(48px, 7vw, 78px); }
.section-heading > p:last-child { margin-top: 18px; color: var(--muted); font-size: 18px; }

.game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  width: min(100%, 900px);
  margin: 0 auto;
}

.game-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: white;
  box-shadow: 7px 7px 0 var(--ink);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.game-card:hover { transform: translateY(-7px); box-shadow: 9px 14px 0 var(--ink); }

.game-art {
  position: relative;
  height: 460px;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
}

.game-art img { width: 100%; height: 100%; object-fit: contain; }
.game-card--coral .game-art { background: #ffd1d4; }
.game-card--sky .game-art { background: #cdeffc; }
.game-card--yellow .game-art { background: #ffe99b; }
.game-card--mint .game-art { background: #b9ead6; }
.game-card--lilac .game-art { background: #d8cdfb; }
.game-card--peach .game-art { background: #ffd2bd; }

.game-number {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  font-size: 12px;
  font-weight: 900;
}

.game-content { display: flex; flex: 1; flex-direction: column; padding: 23px 22px 22px; }
.game-kicker { margin-bottom: 6px; color: var(--coral); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: 1.4px; }
.game-card--sky .game-kicker { color: #1877a0; }
.game-card--yellow .game-kicker { color: #966200; }
.game-card--mint .game-kicker { color: #157456; }
.game-card--lilac .game-kicker { color: #6549a7; }
.game-card--peach .game-kicker { color: #ae4b24; }
.game-content h3 { font-size: 28px; overflow-wrap: anywhere; }
.game-content > p:not(.game-kicker) { margin: 14px 0 22px; color: var(--muted); font-size: 14px; line-height: 1.55; }

.store-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: auto;
}

.store-button {
  display: flex;
  min-width: 0;
  height: 49px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--ink);
  color: white;
  text-decoration: none;
  transition: background 150ms ease, color 150ms ease, transform 150ms ease;
}

.store-button:hover { background: white; color: var(--ink); transform: translateY(-2px); }
.store-button:disabled { background: #eeedf0; border-color: #d3d0d8; color: #666170; cursor: not-allowed; transform: none; }
.store-button svg { width: 20px; height: 22px; flex: 0 0 auto; fill: currentColor; }
.store-button span { min-width: 0; font-size: 13px; font-weight: 800; line-height: 1.05; white-space: nowrap; }
.store-button small { display: block; margin-bottom: 2px; font-size: 7px; font-weight: 500; }

.story-band { position: relative; overflow: hidden; background: var(--plum); color: white; }
.story-band::before { content: ""; position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(45deg, transparent 48%, white 49%, white 51%, transparent 52%); background-size: 38px 38px; }
.story-inner { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: center; width: min(calc(100% - 48px), var(--max)); min-height: 530px; margin: auto; padding: 90px 0; }
.story-copy { max-width: 650px; }
.eyebrow--light { color: white; }
.eyebrow--light::before { background: var(--yellow); }
.story-copy h2 { font-size: clamp(46px, 6vw, 76px); }
.story-copy > p:not(.eyebrow) { max-width: 610px; margin: 26px 0; font-size: 18px; color: rgba(255,255,255,.78); }
.text-link { display: inline-flex; gap: 10px; align-items: center; padding-bottom: 4px; border-bottom: 2px solid currentColor; font-weight: 850; text-decoration: none; }
.text-link--light { color: var(--yellow); }

.story-illustration { position: relative; display: grid; width: min(350px, 100%); aspect-ratio: 1; place-items: center; margin: auto; }
.story-illustration img { position: relative; z-index: 2; width: 43%; filter: drop-shadow(8px 10px 0 rgba(23,16,38,.45)); animation: logo-float 4s ease-in-out infinite; }
.orbit { position: absolute; border: 2px solid rgba(255,255,255,.45); border-radius: 50%; transform: rotate(-22deg); }
.orbit--one { inset: 11%; }
.orbit--two { inset: 25% 1%; transform: rotate(28deg); }
.orbit::after { content: ""; position: absolute; width: 22px; height: 22px; top: 18%; left: 0; border: 2px solid var(--ink); border-radius: 50%; background: var(--yellow); }
.orbit--two::after { top: auto; bottom: 8%; left: auto; right: 4%; background: var(--coral); }
.spark { position: absolute; color: var(--yellow); font-size: 35px; animation: twinkle 2.3s ease-in-out infinite; }
.spark--one { top: 5%; left: 40%; }
.spark--two { right: 7%; top: 42%; animation-delay: .7s; color: var(--mint); }
.spark--three { left: 12%; bottom: 16%; animation-delay: 1.2s; color: var(--coral); }
@keyframes logo-float { 50% { transform: translateY(-10px) rotate(2deg); } }
@keyframes twinkle { 50% { transform: scale(.7) rotate(25deg); opacity: .5; } }

.newsletter { padding: 82px 24px; background: var(--yellow); border-bottom: 2px solid var(--ink); }
.newsletter-inner { display: grid; grid-template-columns: 1fr minmax(320px, .8fr); gap: 60px; align-items: end; width: min(100%, var(--max)); margin: auto; }
.newsletter h2 { font-size: clamp(42px, 5vw, 64px); }
.newsletter-form { position: relative; display: grid; grid-template-columns: 1fr 54px; border-bottom: 3px solid var(--ink); }
.newsletter-form input { min-width: 0; height: 56px; border: 0; background: transparent; color: var(--ink); font-size: 19px; font-weight: 700; outline: none; }
.newsletter-form input::placeholder { color: rgba(39,36,59,.58); }
.newsletter-form button { display: grid; width: 48px; height: 48px; place-items: center; align-self: center; border: 2px solid var(--ink); border-radius: 50%; background: var(--coral); cursor: pointer; }
.newsletter-form button svg { width: 20px; fill: none; stroke: var(--ink); stroke-width: 2.2; }
.form-message { position: absolute; top: calc(100% + 9px); left: 0; font-size: 12px; font-weight: 800; }

.site-footer { padding: 70px 24px 24px; background: var(--paper); }
.footer-top { display: grid; grid-template-columns: 1fr .7fr 1fr; gap: 60px; width: min(100%, var(--max)); margin: auto; padding-bottom: 60px; }
.brand--footer { align-self: start; font-size: 24px; }
.footer-top > p { font-family: "Trebuchet MS", sans-serif; font-size: 30px; font-weight: 800; line-height: 1.1; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.footer-links div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-links strong { margin-bottom: 6px; font-size: 12px; text-transform: uppercase; letter-spacing: 1.4px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--coral); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; width: min(100%, var(--max)); margin: auto; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.cookie-link { border: 0; padding: 8px 0; background: none; color: inherit; text-decoration: underline; cursor: pointer; }

.cookie-banner {
  position: fixed;
  z-index: 80;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 20px;
  align-items: center;
  width: min(calc(100% - 40px), 980px);
  margin: auto;
  padding: 18px 20px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: white;
  box-shadow: 7px 7px 0 var(--ink);
}

.cookie-banner[hidden] { display: none; }
.cookie-banner strong { font-family: "Trebuchet MS", sans-serif; font-size: 19px; }
.cookie-banner p { color: var(--muted); font-size: 13px; line-height: 1.4; }
.cookie-banner > a { font-size: 12px; font-weight: 800; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions button { min-width: 0; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Legal and support pages */
.legal-page { background: var(--paper); }
.legal-hero { position: relative; padding: 160px 24px 80px; overflow: hidden; background: var(--cream); border-bottom: 2px solid var(--ink); }
.legal-hero::after { content: ""; position: absolute; width: 230px; height: 230px; right: max(24px, calc((100vw - var(--max)) / 2)); top: 115px; background: url("assets/legal-spark.svg") center/contain no-repeat; opacity: .95; }
.legal-hero-inner { position: relative; z-index: 1; width: min(100%, var(--max)); margin: auto; }
.legal-hero h1 { max-width: 800px; font-size: clamp(52px, 8vw, 92px); }
.legal-hero p:not(.eyebrow) { max-width: 690px; margin-top: 24px; color: var(--muted); font-size: 18px; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.legal-meta span { padding: 7px 10px; border: 1px solid var(--ink); border-radius: 4px; background: white; }

.legal-shell { display: grid; grid-template-columns: 245px minmax(0, 760px); gap: 80px; width: min(calc(100% - 48px), 1080px); margin: 80px auto 120px; align-items: start; }
.legal-toc { position: sticky; top: 112px; }
.legal-toc strong { display: block; margin-bottom: 14px; font-size: 11px; text-transform: uppercase; letter-spacing: 1.4px; }
.legal-toc a { display: block; padding: 7px 0 7px 13px; border-left: 2px solid var(--line); color: var(--muted); font-size: 13px; font-weight: 700; text-decoration: none; }
.legal-toc a:hover, .legal-toc a.is-active { border-left-color: var(--coral); color: var(--ink); }
.legal-content { min-width: 0; }
.legal-callout { margin-bottom: 42px; padding: 22px; border: 2px solid var(--ink); border-radius: 8px; background: #fff2d9; box-shadow: 5px 5px 0 var(--yellow); }
.legal-callout strong { display: block; margin-bottom: 5px; font-family: "Trebuchet MS", sans-serif; font-size: 20px; }
.legal-content section { scroll-margin-top: 115px; padding: 0 0 46px; margin: 0 0 46px; border-bottom: 1px solid var(--line); }
.legal-content section:last-child { border-bottom: 0; }
.legal-content h2 { margin-bottom: 22px; font-size: clamp(30px, 4vw, 42px); line-height: 1.1; }
.legal-content h3 { margin: 28px 0 12px; font-size: 21px; line-height: 1.2; }
.legal-content p, .legal-content li { color: #514d5c; }
.legal-content p + p { margin-top: 14px; }
.legal-content ul { display: grid; gap: 9px; padding-left: 20px; }
.legal-content a { color: #8c3652; font-weight: 750; }
.data-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14px; }
.data-table th, .data-table td { padding: 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table th { background: var(--cream); font-weight: 850; }

.support-shell { width: min(calc(100% - 48px), var(--max)); margin: 80px auto 120px; }
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.support-card { padding: 30px; border: 2px solid var(--ink); border-radius: 8px; background: white; box-shadow: 6px 6px 0 var(--ink); }
.support-card:nth-child(1) { background: #fff2d9; }
.support-card:nth-child(2) { background: #e0f6ed; }
.support-card:nth-child(3) { background: #ece7fd; }
.support-icon { display: grid; width: 52px; height: 52px; place-items: center; margin-bottom: 20px; border: 2px solid var(--ink); border-radius: 50%; background: white; font-size: 24px; }
.support-card h2 { font-size: 27px; line-height: 1.1; }
.support-card p { min-height: 78px; margin: 14px 0 20px; color: var(--muted); }
.support-card a { font-weight: 850; text-underline-offset: 4px; }
.faq { width: min(100%, 820px); margin: 95px auto 0; }
.faq > h2 { margin-bottom: 30px; font-size: clamp(38px, 5vw, 56px); text-align: center; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { padding: 22px 4px; font-family: "Trebuchet MS", sans-serif; font-size: 19px; font-weight: 800; cursor: pointer; }
.faq details p { padding: 0 4px 24px; color: var(--muted); }

@media (max-width: 1040px) {
  .hero-copy { width: 56%; }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; }
  .game-content h3 { font-size: 28px; }
  .legal-shell { grid-template-columns: 200px minmax(0, 1fr); gap: 44px; }
}

@media (max-width: 760px) {
  :root { --header: 70px; }
  .site-header { padding: 0 18px; }
  .brand { font-size: 19px; }
  .brand img { width: 38px; height: 38px; }
  .menu-button { display: block; }
  .site-nav { position: absolute; top: var(--header); left: 12px; right: 12px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px; border: 2px solid var(--ink); border-radius: 8px; background: white; box-shadow: 5px 5px 0 var(--ink); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px; }
  .site-nav a::after { display: none; }
  .hero { min-height: 820px; padding-bottom: 300px; }
  .hero::before {
    background:
      linear-gradient(180deg, rgba(255,253,248,.98) 0%, rgba(255,249,239,.88) 42%, rgba(255,249,239,.25) 66%, rgba(255,249,239,0) 100%),
      linear-gradient(0deg, rgba(255,249,239,.42) 0%, rgba(255,249,239,0) 35%);
  }
  .hero-art img { object-position: 62% center; }
  .hero-copy { width: calc(100% - 48px); max-width: none; padding-top: 88px; margin: 0 24px; }
  .hero-copy > p:not(.eyebrow) { max-width: 100%; overflow-wrap: break-word; }
  .hero h1 { font-size: clamp(58px, 18vw, 82px); }
  .hero-copy > p:not(.eyebrow) { margin: 22px 0 26px; font-size: 17px; }
  .scroll-cue { display: none; }
  .games-section { padding: 86px 18px 96px; }
  .section-heading { margin-bottom: 38px; }
  .game-grid { grid-template-columns: 1fr; max-width: 430px; gap: 28px; }
  .game-content { padding: 22px 18px 19px; }
  .store-button span { font-size: 12px; }
  .story-inner { grid-template-columns: 1fr; gap: 30px; padding: 80px 0 60px; }
  .story-illustration { max-width: 280px; }
  .newsletter { padding: 68px 20px 78px; }
  .newsletter-inner { grid-template-columns: 1fr; gap: 26px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; padding-bottom: 42px; }
  .footer-links { max-width: 320px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 7px; }
  .cookie-banner { grid-template-columns: 1fr; gap: 13px; left: 12px; right: 12px; bottom: 12px; width: auto; max-width: calc(100vw - 24px); }
  .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; min-width: 0; }
  .cookie-actions button { width: 100%; font-size: 13px; }
  .cookie-banner > div { min-width: 0; }
  .legal-hero { padding: 126px 20px 64px; }
  .legal-hero::after { width: 130px; height: 130px; right: -20px; top: 110px; opacity: .42; }
  .legal-hero p:not(.eyebrow) { font-size: 16px; }
  .legal-shell { grid-template-columns: 1fr; gap: 36px; width: min(calc(100% - 36px), 760px); margin: 45px auto 80px; }
  .legal-toc { position: static; display: flex; overflow-x: auto; padding-bottom: 8px; }
  .legal-toc strong { display: none; }
  .legal-toc a { flex: 0 0 auto; padding: 8px 12px; border: 1px solid var(--line); border-right: 0; white-space: nowrap; }
  .legal-toc a:last-child { border-right: 1px solid var(--line); }
  .legal-toc a.is-active { border: 1px solid var(--coral); }
  .data-table, .data-table tbody, .data-table tr, .data-table th, .data-table td { display: block; }
  .data-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .data-table tr { margin-bottom: 14px; border: 1px solid var(--line); }
  .data-table td { border: 0; border-bottom: 1px solid var(--line); }
  .data-table td:last-child { border-bottom: 0; }
  .data-table td::before { content: attr(data-label); display: block; margin-bottom: 4px; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; }
  .support-grid { grid-template-columns: 1fr; }
  .support-card p { min-height: 0; }
}

@media (max-width: 390px) {
  .store-row { gap: 6px; }
  .store-button { gap: 5px; }
  .store-button svg { width: 18px; }
  .store-button span { font-size: 11px; }
  .store-button small { font-size: 6px; }
  .cookie-actions { grid-template-columns: 1fr; }
  .cookie-banner { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
