/* ==========================================================================
   Shared base for the designs: reset, layout, header mechanics, shared
   blocks, forms, legal pages and the sample product visuals. Every colour,
   font and shape comes from the tokens below; each design stylesheet sets the
   tokens and then restyles what makes it different.
   Brand colours (--ink, --accent ...) and fonts (--font-display, --font-body,
   --font-mono) are appended by the build from brand.mjs.
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f6f9;
  --bg-inv: #0b0f1e;
  --tile: #f7f8fa;
  --tile-alt: #ffffff;

  --text: #0b1020;
  --text-2: #4a5268;
  --text-3: #6b7387;
  --inv-text: #f4f6fb;
  --inv-text-2: #a6adc2;
  --inv-text-3: #737b93;

  --line: #e7e9ef;
  --line-2: #d6dae4;
  --inv-line: rgba(255, 255, 255, 0.1);
  --inv-line-2: rgba(255, 255, 255, 0.16);
  --inv-fill: rgba(255, 255, 255, 0.04);

  --accent-ink: var(--accent);
  --on-accent: #ffffff;
  --signal: #b8ff5a;

  --h-weight: 600;
  --h-tracking: -0.04em;
  --h-leading: 1.02;
  --h-transform: none;
  --em-style: normal;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --btn-radius: 999px;
  --shadow: 0 30px 60px -36px rgba(11, 16, 32, 0.35);

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 72px;
  --sec-pad: clamp(88px, 11vw, 148px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  /* Sample product screens (dashboards, reports). */
  --ui-bg: linear-gradient(180deg, #191d32, #0c0f1e);
  --ui-line: rgba(255, 255, 255, 0.09);
  --ui-fill: rgba(255, 255, 255, 0.04);
  --ui-text: #a6adc2;
  --ui-strong: #ffffff;
  --ui-muted: #737b93;
  --ui-good: var(--signal);
  --ui-chart: var(--accent-2);
  --ui-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.75);
}

/* ---- Reset ------------------------------------------------------------------ */
*, *::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-h) + 16px); background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--text); overflow-x: hidden;
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, dl, dd, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
address { font-style: normal; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--bg); color: var(--text); font-weight: 600; text-decoration: none; box-shadow: var(--shadow); }
.skip-link:focus { top: 12px; }

/* ---- Layout and type ------------------------------------------------------------ */
.shell, .container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.light { background: var(--bg); color: var(--text); }
.light.alt { background: var(--bg-alt); }
.dark { background: var(--bg-inv); color: var(--inv-text); }
.sec { position: relative; padding-block: var(--sec-pad); overflow: hidden; }

.h2 {
  font-family: var(--font-display); font-weight: var(--h-weight); text-transform: var(--h-transform);
  font-size: clamp(2.2rem, 1.15rem + 3.3vw, 4.1rem); line-height: var(--h-leading); letter-spacing: var(--h-tracking); text-wrap: balance;
}
.h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: var(--h-weight); line-height: 1.25; letter-spacing: -0.015em; }
.h4 { font-family: var(--font-display); font-size: 1.05rem; font-weight: var(--h-weight); line-height: 1.3; }
.h2 em, .hero-title em, .phero-title em, .cta-title em { font-style: var(--em-style); color: var(--accent-ink); }
.dark .h2 em, .dark .hero-title em, .phero .phero-title em, .cta .cta-title em { color: var(--accent-2); }
.lead { max-width: 48ch; font-size: clamp(1.05rem, 0.98rem + 0.3vw, 1.2rem); line-height: 1.6; color: var(--text-2); text-wrap: pretty; }
.dark .lead { color: var(--inv-text-2); }

.kicker { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 12.5px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); }
.dark .kicker { color: var(--accent-2); }
.kicker-num { padding-right: 12px; border-right: 1px solid currentColor; opacity: 0.55; }

.sec-head { display: grid; gap: 22px; margin-bottom: clamp(44px, 6vw, 76px); }
.sec-head-main { display: grid; gap: 18px; justify-items: start; }
.sec-head--split { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); align-items: end; gap: 48px; }
.sec-head--split .lead { justify-self: end; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(40px, 5vw, 60px); }
.head-row .sec-head { margin-bottom: 0; }
.head-row > .btn { flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* ---- Buttons (designs set colours per context) ------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 24px; border-radius: var(--btn-radius); border: 1px solid transparent;
  font-family: var(--font-body); font-size: 15.5px; font-weight: 600; line-height: 1; letter-spacing: -0.01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s, border-color 0.2s, box-shadow 0.25s, color 0.2s;
}
.btn .icon { transition: transform 0.2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14.5px; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-dark { background: var(--text); color: var(--bg); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--text-3); }
.btn-ghost { background: transparent; color: var(--inv-text); border-color: var(--inv-line-2); }
.btn-ghost:hover { background: var(--inv-fill); }
.light .btn-ghost { color: var(--text); border-color: var(--line-2); }

.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; }
.pill-dot, .dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); flex: none; }

/* ---- Header ---------------------------------------------------------------------------- */
.hdr { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: border-color 0.25s, box-shadow 0.25s; }
.hdr::before { content: ''; position: absolute; inset: 0; z-index: -1; }
.hdr-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.hdr-logo { display: inline-flex; flex: none; border-radius: 8px; }
.hdr-logo svg { height: 38px; width: auto; }
.hdr-nav { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 24px; margin-left: 40px; }
.hdr-nav ul { display: flex; gap: 2px; }
.hdr-nav ul a, .hdr-link { display: block; padding: 8px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500; text-decoration: none; transition: color 0.2s, background-color 0.2s; }
.hdr-actions { display: flex; align-items: center; gap: 6px; }
.hdr-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; color: inherit; }
.hdr-toggle .icon-close, .nav-open .hdr-toggle .icon-open { display: none; }
.nav-open .hdr-toggle .icon-close { display: block; }

/* ---- Page hero ------------------------------------------------------------------------------ */
.phero, .page-hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(72px, 9vw, 120px) 0 clamp(72px, 9vw, 116px); }
.hero-bg, .cta-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero-bg .glow, .hero-bg .hero-grid, .cta-bg .glow { display: none; }
.phero-inner, .page-hero-inner { position: relative; z-index: 2; display: grid; justify-items: start; }
.phero-copy { display: grid; justify-items: start; }
.phero-title, .page-hero .h1 {
  margin-top: 24px; max-width: 16ch; font-family: var(--font-display); font-weight: var(--h-weight); text-transform: var(--h-transform);
  font-size: clamp(2.6rem, 1.3rem + 4.6vw, 5.1rem); line-height: 0.98; letter-spacing: var(--h-tracking); text-wrap: balance;
}
.hero-lead { margin-top: 24px; max-width: 40em; font-size: clamp(1.08rem, 0.98rem + 0.42vw, 1.3rem); line-height: 1.55; text-wrap: pretty; }
.phero--split .phero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr); align-items: center; gap: clamp(40px, 6vw, 88px); }
.phero--split .phero-title { max-width: 13ch; }
.phero--split .hero-lead { max-width: 34em; }
.phero-vis { position: relative; justify-self: stretch; }
.page-hero .eyebrow { display: inline-flex; padding: 7px 14px; border-radius: 999px; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; }
.legal-updated { margin-top: 22px; font-family: var(--font-mono); font-size: 13px; opacity: 0.8; }

/* ---- Cards, steps, timeline ----------------------------------------------------------------------- */
.cards { display: grid; gap: 16px; }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 30px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--tile); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s, background-color 0.35s; }
.light.alt .card { background: var(--tile-alt); }
.card p { color: var(--text-2); font-size: 15.5px; }
.card-icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; margin-bottom: 14px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); color: var(--accent-ink); }
.card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; font-size: 15px; font-weight: 600; color: var(--accent-ink); text-decoration: none; }
.card-link .icon { transition: transform 0.2s var(--ease); }
.card-link:hover .icon { transform: translateX(3px); }
.dark .card { background: var(--inv-fill); border-color: var(--inv-line); }
.dark .card p { color: var(--inv-text-2); }

.steps { position: relative; display: grid; gap: 24px; }
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.steps::before { content: ''; position: absolute; left: 22px; right: 0; top: 22px; height: 1px; background: currentColor; opacity: 0.2; }
.step { position: relative; display: grid; gap: 10px; align-content: start; padding-right: 8px; }
.step-num { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 50%; font-family: var(--font-mono); font-size: 13px; font-weight: 500; background: var(--bg); color: var(--accent-ink); border: 1px solid var(--line-2); box-shadow: 0 0 0 8px var(--bg); }
.light.alt .step-num { box-shadow: 0 0 0 8px var(--bg-alt); }
.dark .step-num { background: var(--bg-inv); color: var(--inv-text); border-color: var(--inv-line-2); box-shadow: 0 0 0 8px var(--bg-inv); }
.step p { color: var(--text-2); font-size: 15px; }
.dark .step p { color: var(--inv-text-2); }

.timeline { position: relative; display: grid; gap: 14px; }
.timeline::before { content: ''; position: absolute; left: 27px; top: 30px; bottom: 30px; width: 2px; background: var(--accent); opacity: 0.3; }
.tl-step { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; align-items: center; padding: 16px 22px 16px 0; border-radius: 18px; }
.tl-num { z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line-2); font-family: var(--font-mono); font-size: 14px; font-weight: 500; color: var(--accent-ink); }
.tl-step p { margin-top: 4px; color: var(--text-2); font-size: 15.5px; }
.dark .tl-num { background: var(--bg-inv); border-color: var(--inv-line-2); color: var(--inv-text); }
.dark .tl-step p { color: var(--inv-text-2); }

/* ---- Splits, checks, FAQ, facts, principles ------------------------------------------------------------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 112px); align-items: center; }
.split--wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); }
.split--form { align-items: start; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.split--faq, .split--facts { align-items: start; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
.split--faq > .sec-head, .split--sticky > .split-vis { position: sticky; top: calc(var(--header-h) + 40px); }
.split--sticky { align-items: start; }
.split-copy .sec-head { margin-bottom: 22px; }
.split-copy .contact-list { margin-top: 34px; }

.checks-card { padding: clamp(26px, 3.4vw, 40px); border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--tile-alt); box-shadow: var(--shadow); }
.checks { display: grid; }
.checks li { display: flex; align-items: center; gap: 16px; padding: 17px 0; border-top: 1px solid var(--line); font-size: 16.5px; font-weight: 500; }
.checks li:first-child { padding-top: 0; border-top: 0; }
.checks li:last-child { padding-bottom: 0; }
.check-dot { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent-ink); }

.faq { display: grid; border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; font-family: var(--font-display); font-size: 1.14rem; font-weight: var(--h-weight); cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); transition: background-color 0.25s, border-color 0.25s, color 0.25s; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; border-radius: 2px; background: currentColor; translate: -50% -50%; transition: rotate 0.25s var(--ease); }
.faq-icon::after { rotate: 90deg; }
.faq-item[open] .faq-icon { background: var(--text); border-color: var(--text); color: var(--bg); }
.faq-item[open] .faq-icon::after { rotate: 0deg; }
.faq-a { padding: 0 64px 26px 0; color: var(--text-2); }

.facts { display: grid; border-top: 1px solid var(--line-2); }
.fact { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.fact dt { padding-top: 4px; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.fact dd { font-size: 17.5px; font-weight: 500; color: var(--text); }

.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.principles li { padding: 34px 28px 0 0; }
.principles li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.pr-num { font-family: var(--font-mono); font-size: 13px; color: var(--accent-ink); }
.principles .h3 { margin: 22px 0 10px; }
.principles p { color: var(--text-2); font-size: 15.5px; }

.careers-card { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; align-items: center; padding: clamp(36px, 5vw, 64px); border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--tile-alt); overflow: hidden; }
.careers-copy { display: grid; gap: 18px; justify-items: start; }
.careers-copy .actions { margin-top: 12px; }
.careers-tags { display: flex; flex-wrap: wrap; gap: 10px; align-content: center; }
.careers-tags li { padding: 10px 16px; border-radius: 99px; border: 1px solid var(--line); background: var(--tile); font-size: 14.5px; font-weight: 500; }

/* ---- Closing call to action -------------------------------------------------------------------------- */
.cta { position: relative; overflow: hidden; isolation: isolate; padding: clamp(96px, 12vw, 164px) 0; text-align: center; }
.cta-inner { position: relative; z-index: 2; display: grid; justify-items: center; }
.cta-title { max-width: 16ch; font-family: var(--font-display); font-weight: var(--h-weight); text-transform: var(--h-transform); font-size: clamp(2.5rem, 1.2rem + 4.8vw, 5.2rem); line-height: 0.98; letter-spacing: var(--h-tracking); text-wrap: balance; }
.cta-inner .actions { justify-content: center; }

/* ---- Footer ----------------------------------------------------------------------------------------------- */
.ftr { position: relative; overflow: hidden; padding-top: clamp(72px, 8vw, 104px); }
.ftr-top { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 0.8fr)) minmax(0, 1.25fr); gap: 40px; }
.ftr-logo { display: inline-flex; }
.ftr-logo svg { height: 40px; width: auto; }
.ftr-brand p { margin-top: 22px; max-width: 34ch; font-size: 15px; }
.ftr-col h2 { margin-bottom: 18px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.ftr-col ul { display: grid; gap: 11px; }
.ftr-col a { font-size: 15px; text-decoration: none; }
.ftr-col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ftr-contact address { font-size: 14.5px; line-height: 1.55; }
.ftr-social { display: flex; gap: 10px; margin-top: 24px; }
.ftr-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid currentColor; }
.ftr-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: clamp(56px, 6vw, 80px); padding: 24px 0; border-top: 1px solid currentColor; font-size: 13.5px; }
.ftr-bottom { border-top-color: color-mix(in srgb, currentColor 18%, transparent); }
.ftr-mono { font-family: var(--font-mono); font-size: 12.5px; opacity: 0.7; }
.ftr-word { margin: 4px 0 -0.16em; text-align: center; white-space: nowrap; user-select: none; pointer-events: none; font-family: var(--font-display); font-size: clamp(5rem, 21vw, 19.5rem); font-weight: 700; line-height: 0.9; letter-spacing: -0.06em; }

/* ---- Games page ----------------------------------------------------------------------------------------------- */
.filter { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 17px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg); font-size: 14.5px; font-weight: 500; color: var(--text-2); transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
.chip span { font-family: var(--font-mono); font-size: 11.5px; opacity: 0.7; }
.chip:hover { border-color: var(--text-3); color: var(--text); }
.chip[aria-pressed='true'] { background: var(--text); border-color: var(--text); color: var(--bg); }
.games-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.game-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--tile-alt); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.game-art { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; overflow: hidden; background: radial-gradient(120% 90% at 18% 0%, rgba(255, 255, 255, 0.38), transparent 60%), linear-gradient(150deg, var(--c1), var(--c2)); }
.game-icon { position: relative; width: 36%; border-radius: 23%; box-shadow: 0 26px 40px -18px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.3); transition: transform 0.45s var(--ease); }
.game-card:hover .game-icon { transform: scale(1.06) rotate(-3deg); }
.game-body { display: grid; gap: 8px; padding: 22px 24px 26px; }
.game-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.game-genre { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-ink); }
.gcard-status { padding: 4px 10px; border-radius: 99px; background: var(--bg-alt); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.04em; color: var(--text-3); }
.gcard-status.is-live { background: color-mix(in srgb, var(--signal) 40%, transparent); color: var(--text); }
.game-tagline { font-weight: 500; color: var(--text); }
.game-desc { color: var(--text-2); font-size: 15px; }
.game-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

/* ---- Contact, forms ----------------------------------------------------------------------------------------- */
.contact-list { display: grid; gap: 26px; }
.contact-list li { display: flex; align-items: flex-start; gap: 16px; }
.contact-list div { display: grid; gap: 4px; font-size: 16px; }
.contact-list a { font-weight: 500; text-underline-offset: 4px; }
.feat-icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--tile); color: var(--accent-ink); }
.contact-label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.contact-list--dark .feat-icon { border-color: var(--inv-line-2); background: var(--inv-fill); color: var(--accent-2); }
.contact-list--dark .contact-label { color: var(--inv-text-3); }

.form { position: relative; display: grid; gap: 22px; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--tile-alt); color: var(--text); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.req { color: var(--accent-ink); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line-2); background: var(--bg); color: var(--text); transition: border-color 0.2s, box-shadow 0.2s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.form-note { flex: 1 1 240px; color: var(--text-3); font-size: 14px; }
.form-note a { color: var(--accent-ink); font-weight: 600; }
.form-status:empty { display: none; }
.form-status { padding: 12px 14px; border-radius: var(--radius-sm); font-size: 14.5px; font-weight: 500; }
.form-status.is-ok { background: color-mix(in srgb, var(--signal) 32%, transparent); }
.form-status.is-error { background: rgba(255, 92, 92, 0.15); }

/* ---- Legal pages ---------------------------------------------------------------------------------------------- */
.section-legal { padding-block: clamp(64px, 8vw, 104px); background: var(--bg); color: var(--text); }
.legal-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 32px); font-size: 14px; }
.legal-toc-title { margin-bottom: 14px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.legal-toc ol { display: grid; gap: 2px; border-left: 1px solid var(--line); }
.legal-toc a { display: block; margin-left: -1px; padding: 6px 0 6px 16px; border-left: 1px solid transparent; color: var(--text-2); text-decoration: none; }
.legal-toc a:hover { color: var(--text); border-left-color: var(--accent); }
.prose { max-width: 70ch; color: var(--text-2); }
.prose p, .prose ul, .prose ol { margin-bottom: 1.05em; }
.prose ul { list-style: disc; padding-left: 1.3em; }
.prose ol { list-style: decimal; padding-left: 1.3em; }
.prose li { margin: 0.4em 0; }
.prose li::marker { color: var(--accent-ink); }
.prose strong { color: var(--text); }
.prose a:not(.btn) { color: var(--accent-ink); font-weight: 500; text-underline-offset: 3px; }
.prose h2 { margin: 0 0 0.6em; font-family: var(--font-display); font-size: clamp(1.4rem, 1.25rem + 0.6vw, 1.8rem); font-weight: var(--h-weight); letter-spacing: -0.02em; color: var(--text); }
.prose h3 { margin: 1.6em 0 0.5em; font-size: 1.12rem; font-weight: 600; color: var(--text); }
.legal-section { padding-top: 8px; margin-bottom: 2.6em; scroll-margin-top: calc(var(--header-h) + 24px); }
.legal-intro { margin-bottom: 2.4em !important; font-size: 1.18rem; color: var(--text); }
.table-wrap { overflow-x: auto; margin-bottom: 1.05em; border: 1px solid var(--line); border-radius: 14px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose tr:last-child td { border-bottom: 0; }
.prose th { background: var(--bg-alt); color: var(--text); font-weight: 600; }

/* ---- Sample product screens ---------------------------------------------------------------------------------- */
.app { position: relative; overflow: hidden; border-radius: 16px; background: var(--ui-bg); border: 1px solid var(--ui-line); box-shadow: var(--ui-shadow); font-size: 13px; color: var(--ui-text); }
.app-bar { display: flex; align-items: center; gap: 14px; height: 42px; padding: 0 16px; border-bottom: 1px solid var(--ui-line); }
.app-dots { display: flex; gap: 7px; }
.app-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--ui-line); }
.app-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--font-mono); font-size: 12px; }
.app-tag { flex: none; margin-left: auto; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--ui-line); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; color: var(--ui-muted); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kpis--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kpi { position: relative; display: grid; gap: 4px; padding: 13px 14px 10px; border-radius: 12px; border: 1px solid var(--ui-line); background: var(--ui-fill); }
.kpi-label { font-size: 11.5px; color: var(--ui-muted); }
.kpi-value { font-size: 22px; font-weight: 600; line-height: 1.1; letter-spacing: -0.03em; color: var(--ui-strong); }
.kpi-delta { position: absolute; top: 12px; right: 12px; font-family: var(--font-mono); font-size: 10.5px; color: var(--ui-good); }
.panel { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--ui-line); background: var(--ui-fill); }
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-size: 13px; font-weight: 500; color: var(--ui-strong); }
.panel-chip { padding: 2px 8px; border-radius: 999px; border: 1px solid var(--ui-line); font-family: var(--font-mono); font-size: 10.5px; color: var(--ui-muted); }
.panel-foot { display: flex; align-items: center; gap: 9px; font-size: 12px; }
.panel-foot b { color: var(--ui-strong); font-weight: 600; }
.area { width: 100%; height: 150px; overflow: visible; }
.area-grid line { stroke: var(--ui-line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.area-labels text { fill: var(--ui-muted); font-family: var(--font-mono); font-size: 10px; }
.area-dot { fill: var(--ui-chart); stroke: color-mix(in srgb, var(--ui-chart) 35%, transparent); stroke-width: 8; }
.mix-bar { display: flex; gap: 3px; height: 10px; margin: 8px 0 16px; overflow: hidden; border-radius: 99px; }
.mix-bar i { width: var(--w); background: var(--accent); }
.mix-bar i:nth-child(2) { background: var(--accent-2); }
.mix-bar i:nth-child(3) { background: var(--ui-muted); }
.mix-legend { display: grid; gap: 10px; }
.mix-legend li { display: flex; align-items: center; gap: 9px; font-size: 12.5px; }
.mix-legend span { margin-left: auto; font-family: var(--font-mono); color: var(--ui-strong); }
.mix-legend--row { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.mix-legend--row span { margin-left: 4px; }
.sw { width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.sw-2 { background: var(--accent-2); }
.sw-3 { background: var(--ui-muted); }
.report, .revenue, .exp { max-width: 580px; margin-left: auto; }
.report-body, .revenue-body { display: grid; gap: 14px; padding: 18px; }
.report-game { display: flex; align-items: center; gap: 12px; }
.report-game img { width: 44px; height: 44px; border-radius: 12px; }
.report-game b { display: block; font-size: 15px; font-weight: 600; color: var(--ui-strong); }
.report-game span { font-size: 12px; color: var(--ui-muted); }
.report-badge { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding: 5px 11px; border-radius: 99px; background: color-mix(in srgb, var(--ui-good) 16%, transparent); color: var(--ui-good); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.report-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.rm { display: grid; gap: 4px; padding: 12px 13px; border-radius: 12px; border: 1px solid var(--ui-line); background: var(--ui-fill); }
.rm-k { font-size: 11.5px; color: var(--ui-muted); }
.rm-v { font-size: 21px; font-weight: 600; letter-spacing: -0.03em; color: var(--ui-strong); }
.rm-t { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-mono); font-size: 10px; color: var(--ui-good); }
.report-curve svg { width: 100%; height: 96px; }
.rc-area { fill: color-mix(in srgb, var(--ui-chart) 14%, transparent); }
.rc-line { fill: none; stroke: var(--ui-chart); stroke-width: 2.5; }
.exp-list { display: grid; padding: 6px 18px 12px; }
.exp-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 0; border-top: 1px solid var(--ui-line); }
.exp-list li:first-child { border-top: 0; }
.exp-name b { display: block; font-size: 14px; font-weight: 600; color: var(--ui-strong); }
.exp-name span { font-family: var(--font-mono); font-size: 11px; color: var(--ui-muted); }
.exp-status { display: inline-flex; flex: none; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 99px; border: 1px solid var(--ui-line); font-family: var(--font-mono); font-size: 11px; white-space: nowrap; }
.exp-status .dot-live { width: 6px; height: 6px; }
.exp-status.is-running { color: var(--ui-good); }
.exp-status.is-win { color: var(--on-accent); border-color: transparent; background: var(--accent); }
.exp-status.is-done { color: var(--ui-chart); }

/* Phones for the ad formats. */
.formats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.format { display: grid; gap: 24px; align-content: start; padding: 28px 22px 26px; border-radius: var(--radius); border: 1px solid var(--inv-line); background: var(--inv-fill); }
.format p { margin-top: 8px; font-size: 15px; color: var(--inv-text-2); }
.light .format { border-color: var(--line); background: var(--tile); }
.light .format p { color: var(--text-2); }
.fphone { width: 108px; aspect-ratio: 9 / 18.5; margin: 0 auto; padding: 5px; border-radius: 20px; background: #1b2036; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 24px 40px -18px rgba(0, 0, 0, 0.6); }
.fphone-screen { position: relative; height: 100%; overflow: hidden; border-radius: 15px; background: #0b0f20; }
.fp-tag { position: absolute; z-index: 2; top: 8px; left: 8px; padding: 1px 5px; border-radius: 4px; background: rgba(255, 255, 255, 0.92); color: #0b0f20; font-family: var(--font-mono); font-size: 8px; font-weight: 600; line-height: 1.5; }
.fp-reward { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 8px; text-align: center; color: #fff; background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 80%, #fff), var(--accent)); }
.fp-gift { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); }
.fp-reward b { font-size: 11px; font-weight: 600; line-height: 1.2; }
.fp-coin { padding: 2px 8px; border-radius: 99px; background: #ffe066; color: #0b0f20; font-family: var(--font-mono); font-size: 9px; font-weight: 600; }
.fp-progress { position: absolute; left: 12px; right: 12px; bottom: 14px; height: 4px; overflow: hidden; border-radius: 99px; background: rgba(255, 255, 255, 0.25); }
.fp-progress i { display: block; width: 62%; height: 100%; background: #fff; }
.fp-creative { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(200deg, #ff9a3d, #ff4f6e); }
.fp-play { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, 0.94); color: #0b0f20; }
.fp-play .icon { margin-left: 2px; fill: currentColor; }
.fp-close { position: absolute; z-index: 2; top: 7px; right: 7px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: rgba(0, 0, 0, 0.45); color: #fff; }
.fp-board { position: absolute; inset: 14px 10px 46px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; align-content: start; }
.fp-board i { aspect-ratio: 1; border-radius: 5px; background: hsl(calc(250 + var(--i) * 17) 78% 66%); }
.fp-banner { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 8px 0 32px; background: #fff; }
.fp-banner .fp-tag { top: 50%; left: 7px; translate: 0 -50%; background: #0b0f20; color: #fff; }
.fp-banner i { flex: 1; height: 6px; border-radius: 3px; background: #d6dae4; }
.fp-banner i + i { flex: 0.5; background: var(--accent); }
.fp-open { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 12px; background: radial-gradient(circle at 50% 32%, color-mix(in srgb, var(--accent) 60%, transparent), transparent 70%), #0b0f20; }
.fp-card { position: relative; display: grid; align-content: end; gap: 4px; width: 72px; height: 92px; padding: 8px; border-radius: 10px; background: linear-gradient(160deg, #3ddc97, #1e9be0); }
.fp-card i { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.85); }
.fp-card i + i { width: 60%; }
.fp-btn { padding: 4px 11px; border-radius: 99px; background: #fff; color: #0b0f20; font-size: 9px; font-weight: 600; }
.fp-feed { position: absolute; inset: 12px 8px; display: grid; gap: 7px; align-content: start; }
.fp-feed i { position: relative; display: block; height: 56px; border-radius: 9px; background: rgba(255, 255, 255, 0.08); }
.fp-feed i.is-ad { background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 70%, transparent), color-mix(in srgb, var(--accent-2) 45%, transparent)); }

/* Icon walls, brand orb, office map. */
.icon-wall { position: relative; perspective: 1600px; padding: 24px 0 40px; }
.icon-wall-glow { position: absolute; inset: 6% 2%; background: radial-gradient(ellipse at 50% 50%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 65%); filter: blur(50px); }
.icon-wall-grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); max-width: 520px; margin-left: auto; transform: rotateX(14deg) rotateY(-18deg) rotateZ(4deg); transform-style: preserve-3d; }
.icon-wall-grid img { width: 100%; border-radius: 23%; box-shadow: 0 34px 50px -24px rgba(0, 0, 0, 0.7); animation: bob 7s ease-in-out infinite; animation-delay: calc(var(--i) * -1.2s); }
.icon-wall-grid img:nth-child(3n + 2), .disc:nth-child(3n + 2) { margin-top: 34px; }
.disc { display: grid; place-items: center; align-content: center; gap: 10px; aspect-ratio: 1; border-radius: 23%; background: var(--tile-alt); border: 1px solid var(--line); color: var(--text); font-size: 13px; font-weight: 500; box-shadow: 0 30px 50px -26px rgba(0, 0, 0, 0.5); animation: bob 7s ease-in-out infinite; animation-delay: calc(var(--i) * -1.1s); }
.disc .icon { color: var(--accent-ink); }
.disc.is-you { background: var(--accent); border-color: transparent; color: var(--on-accent); }
.disc.is-you .icon { color: var(--on-accent); }
.orb { position: relative; display: grid; place-items: center; width: 100%; max-width: 520px; aspect-ratio: 1; margin-left: auto; }
.orb-ring { position: absolute; border-radius: 50%; border: 1px solid currentColor; opacity: 0.18; }
.orb-ring.r1 { inset: 0; }
.orb-ring.r2 { inset: 15%; }
.orb-ring.r3 { inset: 29%; opacity: 0.3; }
.orb-mark { position: relative; width: 30%; animation: bob 7s ease-in-out infinite; }
.orb-mark svg { width: 100%; height: auto; aspect-ratio: 1; }
.orb-chip { position: absolute; display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: 99px; background: var(--tile-alt); border: 1px solid var(--line); color: var(--text); font-size: 14.5px; font-weight: 500; box-shadow: var(--shadow); animation: bob 6s ease-in-out infinite; }
.orb-chip .icon { color: var(--accent-ink); }
.orb-chip.c1 { top: 13%; left: 2%; }
.orb-chip.c2 { top: 26%; right: -2%; animation-delay: -2s; }
.orb-chip.c3 { bottom: 11%; left: 24%; animation-delay: -4s; }
.map { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--inv-line-2); background: #0b0f20; }
.map-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-water { fill: color-mix(in srgb, var(--accent-2) 10%, transparent); }
.map-road { fill: none; stroke: rgba(255, 255, 255, 0.09); stroke-width: 2; }
.map-road.is-main { stroke: rgba(255, 255, 255, 0.16); stroke-width: 5; }
.map-pin { position: absolute; left: 50%; top: 44%; width: 22px; height: 22px; translate: -50% -50%; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 7px color-mix(in srgb, var(--accent) 28%, transparent), 0 0 44px 12px color-mix(in srgb, var(--accent) 50%, transparent); }
.map-pin i { position: absolute; inset: -18px; border-radius: 50%; border: 1px solid var(--accent); animation: ping 2.4s ease-out infinite; }
.map-card { position: absolute; left: 50%; top: calc(44% + 34px); translate: -50% 0; display: grid; gap: 2px; padding: 11px 18px; border-radius: 14px; text-align: center; white-space: nowrap; background: rgba(18, 22, 40, 0.92); border: 1px solid rgba(255, 255, 255, 0.12); }
.map-card b { color: #fff; font-size: 14.5px; font-weight: 600; }
.map-card span { color: #a6adc2; font-size: 12.5px; }

/* Careers: teams and roles. */
.teams { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--inv-line); border-left: 1px solid var(--inv-line); }
.team { display: grid; gap: 10px; align-content: start; padding: 28px 26px 34px; border-right: 1px solid var(--inv-line); border-bottom: 1px solid var(--inv-line); }
.team-num { font-family: var(--font-mono); font-size: 12px; color: var(--accent-2); }
.team .h3 { margin-top: 20px; }
.team p { color: var(--inv-text-2); font-size: 15px; }
.light .teams { border-color: var(--line); }
.light .team { border-color: var(--line); }
.light .team p { color: var(--text-2); }
.roles { display: grid; border-top: 1px solid var(--line-2); }
.role { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.role-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 6px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
.empty { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); border: 1px dashed var(--line-2); background: var(--tile); }
.empty .card-icon { margin: 0; }
.empty p { max-width: 60ch; margin-top: 6px; color: var(--text-2); }

/* ---- Motion ---------------------------------------------------------------------------------------------------- */
@keyframes bob { 50% { translate: 0 -8px; } }
@keyframes ping { from { transform: scale(0.4); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
.reveal { opacity: 0; translate: 0 24px; transition: opacity 0.8s var(--ease), translate 0.8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-visible { opacity: 1; translate: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
}

/* ---- Responsive -------------------------------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .formats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .teams { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ftr-brand { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
  .js .hdr-toggle { display: inline-flex; }
  .js .hdr-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; margin: 0;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 28px;
    padding: 24px var(--gutter) 40px; overflow-y: auto; background: var(--nav-bg, var(--bg)); color: var(--nav-text, var(--text));
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s;
  }
  .js.nav-open .hdr-nav { opacity: 1; visibility: visible; transform: none; }
  .js.nav-open body { overflow: hidden; }
  .js .hdr-nav ul { flex-direction: column; gap: 0; }
  .js .hdr-nav ul a { padding: 18px 4px; border-radius: 0; border-bottom: 1px solid color-mix(in srgb, currentColor 14%, transparent); font-family: var(--font-display); font-size: 1.5rem; font-weight: var(--h-weight); color: inherit; }
  .js .hdr-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .js .hdr-actions .btn { height: 52px; }
  .js .hdr-link { padding: 0; text-align: center; color: inherit; }
  html:not(.js) .hdr-inner { flex-wrap: wrap; height: auto; padding-block: 12px; }
  html:not(.js) .hdr-nav { flex-wrap: wrap; margin-left: 0; }
  .phero--split .phero-inner { grid-template-columns: minmax(0, 1fr); }
  .phero-vis { margin-top: 24px; }
  .report, .revenue, .exp, .orb, .icon-wall-grid { margin-inline: 0 auto; }
  .steps--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .steps--5::before { display: none; }
}
@media (max-width: 900px) {
  .sec-head--split, .split, .split--wide, .split--form, .split--faq, .split--facts, .careers-card, .legal-grid { grid-template-columns: minmax(0, 1fr); }
  .split--faq > .sec-head, .split--sticky > .split-vis { position: static; }
  .sec-head--split { gap: 22px; }
  .sec-head--split .lead { justify-self: start; }
  .head-row { flex-direction: column; align-items: flex-start; }
  .cards--3, .games-grid, .formats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .principles li:nth-child(3) { padding-left: 0; border-left: 0; }
  .principles li:nth-child(n + 3) { margin-top: 32px; }
  .steps, .steps--4, .steps--5 { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .steps::before, .steps--5::before { display: block; left: 21px; right: auto; top: 22px; bottom: 22px; width: 1px; height: auto; }
  .step { grid-template-columns: 44px minmax(0, 1fr); column-gap: 20px; row-gap: 4px; padding: 0 0 30px; }
  .step-num { grid-row: span 2; margin: 0; }
  .step:last-child { padding-bottom: 0; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpis.kpis--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .legal-toc { position: static; }
  .ftr-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .icon-wall-grid { max-width: 440px; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .hdr-logo svg { height: 32px; }
  .actions .btn { flex: 1 1 auto; }
  .cards--3, .cards--4, .games-grid, .teams, .formats { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 26px 24px; }
  .principles { grid-template-columns: minmax(0, 1fr); }
  .principles li, .principles li + li { padding-left: 0; border-left: 0; }
  .principles li + li { margin-top: 28px; border-top: 1px solid var(--line); }
  .format { grid-template-columns: 88px minmax(0, 1fr); align-items: center; gap: 20px; padding: 20px; }
  .fphone { width: 88px; }
  .report-metrics { grid-template-columns: minmax(0, 1fr); }
  .rm { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .rm-t { grid-column: 1 / -1; }
  .kpis--3 { gap: 8px; }
  .kpis--3 .kpi-delta { position: static; }
  .kpis--3 .kpi-value { font-size: 17px; }
  .app-dots { display: none; }
  .fact { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .faq-a { padding-right: 0; }
  .empty { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .role { flex-direction: column; align-items: flex-start; }
  .orb-chip { padding: 8px 12px; font-size: 13px; }
  .exp-list li { flex-direction: column; align-items: flex-start; gap: 8px; }
  .icon-wall-grid { transform: none; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .ftr-top { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   Rollic-style design: a vivid purple world with walls of floating game
   icons, fat rounded Fredoka headings and bright yellow calls to action.
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f1ff;
  --bg-inv: #241049;
  --tile: #ffffff;
  --tile-alt: #f5f1ff;

  --text: #1c1333;
  --text-2: #5b5278;
  --text-3: #8a82a6;
  --inv-text: #ffffff;
  --inv-text-2: #ddd4f4;
  --inv-text-3: #a99fc9;

  --line: #ece7f7;
  --line-2: #ddd3f0;
  --inv-line: rgba(255, 255, 255, 0.16);
  --inv-line-2: rgba(255, 255, 255, 0.26);
  --inv-fill: rgba(255, 255, 255, 0.08);

  --accent-ink: #6d28d9;
  --on-accent: #1c1333;
  --purple: #7c3aed;
  --purple-deep: #4c1d95;
  --cyan: #22d3ee;
  --pink: #ff4d9d;

  --h-weight: 600;
  --h-tracking: -0.01em;
  --h-leading: 1.02;
  --h-transform: none;
  --em-style: normal;

  --radius-sm: 14px;
  --radius: 20px;
  --radius-lg: 30px;
  --btn-radius: 999px;
  --shadow: 0 26px 54px -30px rgba(43, 18, 89, 0.55);
  --soft: 0 16px 34px -22px rgba(43, 18, 89, 0.4);
  --sec-pad: clamp(76px, 9vw, 126px);

  --ui-bg: #ffffff;
  --ui-line: #ece7f7;
  --ui-fill: #f5f1ff;
  --ui-text: #5b5278;
  --ui-strong: #1c1333;
  --ui-muted: #8a82a6;
  --ui-good: #16b47a;
  --ui-chart: var(--purple);
  --ui-shadow: 0 40px 80px -44px rgba(43, 18, 89, 0.5);

  --nav-bg: #ffffff;
  --nav-text: #1c1333;
}

body { font-size: 1.07rem; }
.sec.alt { background: var(--bg-alt); }
.h2 { font-size: clamp(2.2rem, 1.2rem + 3.4vw, 4rem); letter-spacing: -0.02em; }
.h3 { font-weight: 600; letter-spacing: -0.015em; }
.h2 em, .cta-title em { font-style: normal; color: var(--purple); }
.lead { color: var(--text-2); }

.kicker { gap: 9px; font-family: var(--font-body); font-weight: 800; font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-ink); }
.kicker::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--purple); }
.kicker:has(.kicker-num)::before { display: none; }
.kicker-num { border-color: var(--line-2); color: var(--accent-ink); opacity: 1; }

.rpill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 17px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.28); font-family: var(--font-body); font-weight: 800; font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; }
.sec .rpill, .sec.alt .rpill { background: #fff; border-color: var(--line-2); color: var(--accent-ink); box-shadow: var(--soft); }

/* ---- Buttons ----------------------------------------------------------------------- */
.btn { height: 56px; padding: 0 28px; border-radius: 999px; font-family: var(--font-display); font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; box-shadow: var(--soft); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { height: 44px; padding: 0 18px; font-size: 14px; }
.btn-primary { background: var(--accent-2); color: #1c1333; }
.btn-primary:hover { background: #ffd755; }
.btn-light { background: #fff; color: var(--accent-ink); }
.btn-dark { background: var(--text); color: #fff; }
.btn-outline, .light .btn-ghost { background: #fff; color: var(--text); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--purple); color: var(--accent-ink); }
.btn-ghost { background: rgba(255, 255, 255, 0.16); color: #fff; border-color: rgba(255, 255, 255, 0.4); box-shadow: none; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.26); }

/* ---- Header -------------------------------------------------------------------------- */
.hdr { color: var(--text); }
.hdr::before { background: color-mix(in srgb, #fff 86%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hdr.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -26px rgba(43, 18, 89, 0.6); }
.hdr-logo svg { height: 42px; }
.hdr-nav ul a, .hdr-link { padding: 9px 15px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--text-2); }
.hdr-nav ul a:hover, .hdr-link:hover { background: var(--bg-alt); color: var(--text); }
.hdr-nav a[aria-current='page'] { background: var(--purple); color: #fff; }

/* ---- Hero (purple world with an icon wall) ------------------------------------------- */
.rhero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(72px, 11vw, 150px) 0 clamp(80px, 12vw, 160px); background: radial-gradient(ellipse 90% 70% at 50% -10%, #8b4bff, transparent 60%), linear-gradient(160deg, #7c3aed, #4c1d95); color: #fff; text-align: center; }
.rhero::after { content: ''; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse 48% 56% at 50% 46%, rgba(43, 18, 89, 0.55), transparent 72%); pointer-events: none; }
.rhero-inner { position: relative; z-index: 2; display: grid; justify-items: center; gap: 22px; }
.rhero-title { max-width: 16ch; font-family: var(--font-display); font-weight: 600; font-size: clamp(2.9rem, 1.5rem + 5.6vw, 6.4rem); line-height: 0.98; letter-spacing: -0.02em; text-wrap: balance; }
.rhero-title em { font-style: normal; color: var(--accent-2); }
.rhero-lead { max-width: 42ch; font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); color: rgba(255, 255, 255, 0.92); }
.rhero .actions { margin-top: 12px; justify-content: center; }

/* Icon wall. */
.rwall { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.rw-ico { position: absolute; aspect-ratio: 1; border-radius: 26%; box-shadow: 0 24px 40px -18px rgba(0, 0, 0, 0.6); rotate: var(--r); animation: bob 7s ease-in-out infinite; animation-delay: var(--d); }
.rw-star, .rw-dot, .rw-ring { position: absolute; display: block; }
.rw-star { width: 30px; height: 30px; background: var(--accent-2); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }
.rw-star.s1 { left: 36%; top: 14%; }
.rw-star.s2 { right: 30%; bottom: 16%; background: var(--pink); }
.rw-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--cyan); }
.rw-dot.d1 { left: 30%; bottom: 24%; }
.rw-dot.d2 { right: 36%; top: 24%; background: var(--accent-2); }
.rw-ring.o1 { left: 62%; top: 12%; width: 44px; height: 44px; border-radius: 50%; border: 4px solid rgba(255, 255, 255, 0.4); }

/* ---- Marquee ------------------------------------------------------------------------- */
.rmarquee { overflow: hidden; padding: 16px 0; background: var(--accent-2); color: #1c1333; }
.rm-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.rm-group { display: flex; align-items: center; }
.rm-group span { padding: 0 22px; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.2rem, 1rem + 1vw, 1.9rem); letter-spacing: -0.01em; white-space: nowrap; }
.rm-star { display: grid; place-items: center; color: #1c1333; }

/* ---- Download stats ------------------------------------------------------------------ */
.rstats { padding-block: clamp(44px, 6vw, 72px); background: var(--bg-inv); color: #fff; }
.rstats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.rstat { display: grid; gap: 6px; text-align: center; }
.rstat dd { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.6rem, 1.6rem + 3.4vw, 4.8rem); line-height: 1; letter-spacing: -0.02em; color: var(--accent-2); }
.rstat dt { font-size: 13.5px; font-weight: 700; color: rgba(255, 255, 255, 0.8); }

/* ---- Games wall ---------------------------------------------------------------------- */
.rgrid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.rgrid-item { min-width: 0; }
.rgrid-card { display: grid; justify-items: center; gap: 6px; text-decoration: none; color: var(--text); }
.rgrid-card img { width: 100%; border-radius: 26%; box-shadow: var(--soft); transition: transform 0.25s var(--ease); }
.rgrid-card:hover img { transform: translateY(-6px) rotate(-4deg); }
.rgrid-card b { margin-top: 8px; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; letter-spacing: -0.01em; text-align: center; }
.rgrid-card span { font-size: 12.5px; font-weight: 700; color: var(--accent-ink); }

/* ---- Value blocks -------------------------------------------------------------------- */
.sec-head--center, .sec-head--center .sec-head-main { justify-items: center; text-align: center; }
.sec-head--center .lead { margin-inline: auto; }
.rcaps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.rcap { display: flex; flex-direction: column; gap: 10px; padding: 36px 30px; border-radius: var(--radius-lg); color: #fff; transition: transform 0.25s var(--ease); }
.rcap:hover { transform: translateY(-6px); }
.rc1 { background: linear-gradient(160deg, #8b4bff, var(--purple)); }
.rc2 { background: linear-gradient(160deg, #ff6fb1, var(--pink)); }
.rc3 { background: linear-gradient(160deg, #34dcf2, #12a7c4); }
.rcap-icon { display: grid; place-items: center; width: 62px; height: 62px; margin-bottom: 12px; border-radius: 20px; background: rgba(255, 255, 255, 0.22); color: #fff; }
.rcap .h3 { font-size: 1.55rem; color: #fff; }
.rcap p { color: rgba(255, 255, 255, 0.92); font-size: 16px; }
.rcap-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 14px; font-family: var(--font-display); font-weight: 600; font-size: 15px; color: #fff; text-decoration: none; }
.rcap-link .icon { transition: transform 0.2s var(--ease); }
.rcap-link:hover .icon { transform: translateX(4px); }

/* ---- Developer band (purple) --------------------------------------------------------- */
.rband { padding-block: var(--sec-pad); background: radial-gradient(ellipse 70% 80% at 85% 10%, #8b4bff, transparent 60%), linear-gradient(150deg, var(--purple), var(--purple-deep)); color: #fff; }
.rband-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.rband-copy { display: grid; justify-items: start; gap: 18px; }
.rband .h2, .rjoin .h2 { color: #fff; }
.rband .h2 em, .rjoin .h2 em { color: var(--accent-2); }
.rband-lead { max-width: 40ch; color: rgba(255, 255, 255, 0.9); }
.rsteps { display: grid; gap: 14px; }
.rsteps li { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 16px; align-items: start; padding: 18px 22px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.16); }
.rsteps span { font-family: var(--font-display); font-weight: 600; font-size: 1.8rem; color: var(--accent-2); }
.rsteps b { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
.rsteps p { margin-top: 2px; color: rgba(255, 255, 255, 0.85); font-size: 15px; }

/* ---- Monetization -------------------------------------------------------------------- */
.rpoints { display: grid; gap: 12px; margin: 26px 0; }
.rpoints li { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.rpoint-dot { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: color-mix(in srgb, var(--ui-good) 18%, #fff); color: #0d8a5c; }
.aboard { max-width: 520px; margin-left: auto; padding: 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--text); }
.aboard-list { display: grid; gap: 12px; }
.aboard-list li { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; background: var(--bg-alt); }
.aboard-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: color-mix(in srgb, var(--purple) 16%, #fff); color: var(--accent-ink); }
.aboard-list li:nth-child(2) .aboard-icon { background: color-mix(in srgb, var(--pink) 18%, #fff); color: #c21568; }
.aboard-list li:nth-child(3) .aboard-icon { background: color-mix(in srgb, var(--accent-2) 40%, #fff); color: #9a7a10; }
.aboard-list li:nth-child(4) .aboard-icon { background: color-mix(in srgb, var(--cyan) 24%, #fff); color: #0c86a6; }
.aboard-copy b { display: block; font-family: var(--font-display); font-size: 14.5px; font-weight: 600; }
.aboard-copy span { font-size: 13.5px; color: var(--text-2); }
.toggle { position: relative; width: 52px; height: 30px; border-radius: 999px; background: #ddd3f0; }
.toggle i { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); }
.toggle.is-on { background: var(--ui-good); }
.toggle.is-on i { left: auto; right: 3px; }

/* ---- Careers band -------------------------------------------------------------------- */
.rjoin { padding-block: var(--sec-pad); background: linear-gradient(140deg, var(--pink), var(--purple) 60%, var(--purple-deep)); color: #fff; }
.rjoin-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.rjoin-copy { display: grid; justify-items: start; gap: 18px; }
.rtags { display: flex; flex-wrap: wrap; gap: 10px; }
.rtags li { padding: 10px 17px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.28); font-weight: 700; }

/* ---- Shared blocks, Rollic skin ------------------------------------------------------ */
.dark { background: var(--bg-inv); color: var(--inv-text); }
.card { border-radius: var(--radius-lg); border-color: var(--line); background: #fff; box-shadow: var(--soft); }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-icon { width: 54px; height: 54px; border-radius: 16px; border: 0; background: color-mix(in srgb, var(--purple) 14%, #fff); color: var(--accent-ink); }
.cards > :nth-child(3n + 2) .card-icon { background: color-mix(in srgb, var(--pink) 16%, #fff); color: #c21568; }
.cards > :nth-child(3n) .card-icon { background: color-mix(in srgb, var(--cyan) 20%, #fff); color: #0c86a6; }
.card-link { font-family: var(--font-display); font-weight: 600; }
.dark .card { background: var(--inv-fill); border-color: var(--inv-line); }

.steps::before { background: var(--line-2); opacity: 1; }
.step-num, .dark .step-num { border: 0; background: var(--purple); color: #fff; font-family: var(--font-display); font-weight: 600; box-shadow: 0 0 0 6px var(--bg); }
.step:nth-child(4n + 2) .step-num { background: var(--pink); }
.step:nth-child(4n + 3) .step-num { background: var(--cyan); color: #06323c; }
.step:nth-child(4n + 4) .step-num { background: var(--accent-2); color: #1c1333; }
.light.alt .step-num { box-shadow: 0 0 0 6px var(--bg-alt); }
.tl-num { border: 0; border-radius: 14px; background: var(--purple); color: #fff; font-family: var(--font-display); font-weight: 600; }
.tl-step:nth-child(4n + 2) .tl-num { background: var(--pink); }
.tl-step:nth-child(4n + 3) .tl-num { background: var(--cyan); color: #06323c; }
.timeline::before { background: var(--line-2); opacity: 1; }

.faq { border-top: 0; display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--soft); }
.faq-item summary { padding: 22px 24px; font-family: var(--font-display); font-weight: 600; }
.faq-icon { border-color: var(--line-2); }
.faq-item[open] .faq-icon { background: var(--purple); border-color: var(--purple); color: #fff; }
.faq-a { padding: 0 24px 24px; color: var(--text-2); }

.facts { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--soft); }
.fact { padding: 20px 26px; border-bottom: 1px solid var(--line); }
.fact:last-child { border-bottom: 0; }
.fact dt { font-family: var(--font-body); font-weight: 800; color: var(--text-3); }
.fact dd { font-family: var(--font-display); font-weight: 600; }

.principles { border-top: 0; gap: 20px; }
.principles li, .principles li + li { padding: 28px 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--soft); }
.pr-num { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 16px; background: var(--purple); font-family: var(--font-display); font-weight: 600; color: #fff; }
.principles li:nth-child(4n + 2) .pr-num { background: var(--pink); }
.principles li:nth-child(4n + 3) .pr-num { background: var(--cyan); color: #06323c; }
.principles li:nth-child(4n + 4) .pr-num { background: var(--accent-2); color: #1c1333; }
.principles .h3 { margin: 18px 0 8px; }

.checks-card { border-radius: var(--radius-lg); border-color: var(--line); background: #fff; box-shadow: var(--shadow); }
.check-dot { background: color-mix(in srgb, var(--ui-good) 18%, #fff); color: #0d8a5c; }

.careers-card { border-radius: var(--radius-lg); border: 0; overflow: hidden; background: linear-gradient(135deg, var(--pink), var(--purple) 60%, var(--purple-deep)); color: #fff; box-shadow: var(--shadow); }
.careers-card .lead { color: rgba(255, 255, 255, 0.9); }
.careers-card .kicker { color: rgba(255, 255, 255, 0.9); }
.careers-card .kicker::before { background: var(--accent-2); }
.careers-card .h2 em { color: var(--accent-2); }
.careers-card .btn-dark { background: var(--accent-2); color: #1c1333; }
.careers-tags li { border-radius: 999px; border: 0; background: rgba(255, 255, 255, 0.18); color: #fff; font-weight: 700; }

.chip { border-radius: 999px; border-color: var(--line-2); background: #fff; font-weight: 700; box-shadow: var(--soft); }
.chip:hover { border-color: var(--purple); color: var(--accent-ink); }
.chip[aria-pressed='true'] { background: var(--purple); border-color: var(--purple); color: #fff; }

.feat-icon { border-radius: 14px; border: 0; background: color-mix(in srgb, var(--purple) 14%, #fff); color: var(--accent-ink); }
.contact-list--dark .feat-icon { background: var(--inv-fill); color: var(--accent-2); }
.contact-list a { text-decoration-color: var(--purple); }
.form { border-radius: var(--radius-lg); border-color: var(--line); background: #fff; box-shadow: var(--shadow); }
.field input, .field select, .field textarea { border-radius: 14px; border-color: var(--line-2); background: var(--bg-alt); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 4px color-mix(in srgb, var(--purple) 16%, transparent); }
.empty { border-radius: var(--radius-lg); border-color: var(--line-2); background: #fff; }
.roles { border-top-color: var(--line-2); }

.teams, .light .teams { border: 0; gap: 18px; }
.team, .light .team { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--soft); }
.team-num { font-family: var(--font-display); font-weight: 600; font-size: 36px; color: var(--accent-ink); }
.team .h3 { margin-top: 0; color: var(--text); }
.team p, .light .team p { color: var(--text-2); }

.light .format { border-color: var(--line); background: #fff; box-shadow: var(--soft); border-radius: var(--radius-lg); }
.disc { border-radius: 26%; border-color: var(--line); background: #fff; box-shadow: var(--soft); }
.disc:nth-child(3n + 2) { background: color-mix(in srgb, var(--cyan) 16%, #fff); }
.disc.is-you { background: var(--purple); color: #fff; }
.disc.is-you .icon { color: #fff; }
.orb-chip { border-radius: 999px; border-color: var(--line); background: #fff; box-shadow: var(--soft); }
.app { border-radius: 18px; }

/* ---- Inner page hero (purple) -------------------------------------------------------- */
.phero, .page-hero { padding-top: calc(var(--header-h) + clamp(48px, 7vw, 96px)); background: radial-gradient(ellipse 80% 70% at 80% -10%, #8b4bff, transparent 60%), linear-gradient(155deg, var(--purple), var(--purple-deep)); color: #fff; border-bottom: 0; }
.phero-title, .page-hero .h1 { color: #fff; letter-spacing: -0.02em; }
.phero-title em, .page-hero .h1 em { color: var(--accent-2); }
.phero .hero-lead { color: rgba(255, 255, 255, 0.9); }
.phero .pill { background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.28); color: #fff; }
.phero .pill-dot { background: var(--accent-2); }
.phero .btn-primary { background: var(--accent-2); color: #1c1333; }
.phero .btn-ghost { background: rgba(255, 255, 255, 0.16); color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.page-hero .eyebrow { border-radius: 999px; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.28); color: #fff; text-transform: uppercase; letter-spacing: 0.08em; }
.legal-updated { color: rgba(255, 255, 255, 0.85); font-family: var(--font-body); }

/* ---- Prose / legal ------------------------------------------------------------------- */
.prose h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.015em; }
.prose a:not(.btn) { color: var(--accent-ink); }
.legal-toc a:hover { border-left-color: var(--purple); color: var(--accent-ink); }

/* ---- CTA ------------------------------------------------------------------------------ */
.cta, .cta.dark { background: var(--bg); }
.cta-bg { display: block; }
.cta-inner { padding: clamp(48px, 7vw, 92px) clamp(24px, 5vw, 64px); border-radius: var(--radius-lg); overflow: hidden; background: radial-gradient(ellipse 70% 90% at 15% 0%, #8b4bff, transparent 60%), linear-gradient(135deg, var(--purple), var(--purple-deep)); }
.cta-bg::before { content: ''; position: absolute; right: -6%; top: -40%; width: 44%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, 0.12); }
.cta-bg::after { content: ''; position: absolute; left: -4%; bottom: -46%; width: 32%; aspect-ratio: 1; border-radius: 50%; background: color-mix(in srgb, var(--accent-2) 40%, transparent); }
.cta-title { color: #fff; }
.cta .cta-title em { color: var(--accent-2); }
.cta .hero-lead { color: rgba(255, 255, 255, 0.92); }
.cta .btn-primary { background: var(--accent-2); color: #1c1333; }
.cta .btn-ghost { background: rgba(255, 255, 255, 0.18); color: #fff; border-color: rgba(255, 255, 255, 0.4); }

/* ---- Footer --------------------------------------------------------------------------- */
.ftr { background: var(--bg-inv); color: var(--inv-text-2); }
.ftr-col h2 { font-family: var(--font-body); font-weight: 800; color: var(--accent-2); }
.ftr-col a { color: #fff; }
.ftr-bottom { border-top-color: var(--inv-line); }

/* ---- Responsive ----------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .rband-inner, .rjoin-inner { grid-template-columns: minmax(0, 1fr); }
  .js .hdr-nav a[aria-current='page'] { background: transparent; color: var(--accent-ink); }
}
@media (max-width: 900px) {
  .rgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rcaps { grid-template-columns: minmax(0, 1fr); }
  .rstats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
  .rw-ico:nth-child(n + 13) { display: none; }
}
@media (max-width: 640px) {
  .rgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rstats-grid { grid-template-columns: minmax(0, 1fr); }
  .aboard { margin-inline: 0 auto; }
  .rhero { padding-top: clamp(56px, 16vw, 96px); }
}

/* Fredoka + Figtree, self-hosted from Google Fonts (SIL Open Font License). Generated by tools/fetch-fonts.mjs. */
@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/fredoka-400-700.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: 'Figtree';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/figtree-400-800.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;
}

:root{--ink:#171427;--ink-2:#241B3D;--accent:#7C3AED;--accent-2:#FFCB2E;--signal:#FF4D9D}

:root{--font-display:'Fredoka', system-ui, "Segoe UI", sans-serif;--font-body:'Figtree', system-ui, -apple-system, "Segoe UI", sans-serif;--font-mono:'Figtree', system-ui, -apple-system, "Segoe UI", sans-serif}
