/* Viewers landing — cinema black, warm paper, one gold. Archivo variable for everything Latin. */

:root {
  --black: #0a0a0b;
  --black-2: #131315;
  --black-3: #1b1b1f;
  --paper: #f5f4f1;
  --paper-2: #ebe9e3;
  --paper-3: #e1dfd7;
  --ink: #111113;
  --ink-2: rgba(17, 17, 19, 0.62);
  --ink-3: rgba(17, 17, 19, 0.42);
  --rule: rgba(17, 17, 19, 0.12);
  --fog: rgba(245, 244, 241, 0.74);
  --fog-2: rgba(245, 244, 241, 0.48);
  --line-dark: rgba(245, 244, 241, 0.12);
  --gold: #e8b86d;
  --gold-2: #f3d08f;
  --gold-ink: #7a5718;
  --teal: #2dd4bf;
  --rose: #f43f5e;
  --s-hi: #0f766e;
  --s-good: #1d4ed8;
  --s-mid: #8b6914;
  --s-low: #be123c;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --r-card: 28px;
  --r-pill: 999px;
  --gutter: clamp(16px, 4vw, 56px);
  --wrap: 1400px;
  --font-text: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --wdth-display: 112%;
}

/* ── Reset & base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-text); font-size: 1.0625rem; line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:not([class]) { text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
.lang__menu a, .footer__langlist a, .footer__col a, .pillnav a, .index a { text-decoration: none; }
.footer__col a:hover { text-decoration: underline; text-underline-offset: 0.18em; }
h1, h2, h3, h4, p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; top: -100px; left: 16px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 14px; border-radius: var(--r-pill); font-weight: 600; }
.skip:focus { top: 16px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ── Type ──────────────────────────────────────────────────── */
.h-xl, .h-lg, .hero__title, .brace-title, .marquee__track, .footer__giant, .card h3, .tile__n, .game h3, .wc__code, .wc__n, .wc__big {
  font-family: var(--font-display); font-stretch: var(--wdth-display); font-weight: 900; letter-spacing: -0.015em; text-transform: uppercase;
}
.h-xl { font-size: clamp(2.6rem, 6.6vw, 6rem); line-height: 0.95; text-wrap: balance; }
.h-lg { font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: 0.98; text-wrap: balance; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.45; color: var(--ink-2); max-width: 56ch; text-wrap: pretty; }
.lead-xl { font-weight: 400; font-size: clamp(1.6rem, 3.1vw, 2.75rem); line-height: 1.18; letter-spacing: -0.015em; color: var(--ink-2); max-width: 34ch; text-wrap: pretty; }
.sec__num { font-size: 0.95rem; color: var(--ink-2); margin-bottom: clamp(20px, 3vw, 36px); letter-spacing: 0.01em; }
.sec--dark .sec__num, .sec--dark .lead { color: var(--fog); }
.pill-note { display: inline-block; vertical-align: 0.1em; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border: 1px solid currentColor; border-radius: var(--r-pill); margin-inline-end: 6px; }
.pill-note--dark { color: var(--gold); }

/* ── Buttons & pills ──────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap;
  padding: 11px 18px; border-radius: var(--r-pill); font-weight: 600; font-size: 0.95rem; line-height: 1;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.35s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.35s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); transition-duration: 0.1s; }
.btn--gold { background: var(--gold); color: var(--ink); box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.6); }
.btn--gold:hover { background: var(--gold-2); box-shadow: 0 16px 30px -14px rgba(0, 0, 0, 0.65); }
.btn--big { padding: 18px 30px; font-size: 1.1rem; }
.btn--ghost { color: var(--paper); border-color: rgba(245, 244, 241, 0.22); }
.btn--ghost:hover { background: rgba(245, 244, 241, 0.1); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--outline { color: var(--paper); border-color: rgba(245, 244, 241, 0.3); }
.btn--outline:hover { border-color: var(--paper); }

/* ── Floating top bar ─────────────────────────────────────── */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50; pointer-events: none;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 22px clamp(24px, 3vw, 44px); color: var(--paper);
  transition: color 0.3s;
}
.top > * { pointer-events: auto; }
.top[data-on="light"] { color: var(--ink); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-stretch: 108%; letter-spacing: 0.1em; font-size: 0.95rem; justify-self: start; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.pillnav {
  display: flex; gap: 2px; padding: 5px; border-radius: var(--r-pill);
  background: rgba(245, 244, 241, 0.92); color: var(--ink);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(17, 17, 19, 0.06);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.pillnav a { padding: 10px 18px; border-radius: var(--r-pill); font-weight: 600; font-size: 0.92rem; line-height: 1; transition: background-color 0.25s; }
.pillnav a:hover, .pillnav a.is-current { background: rgba(17, 17, 19, 0.08); }
.top__actions { display: flex; align-items: center; gap: 8px; justify-self: end; }
.top[data-on="light"] .btn--ghost { color: var(--ink); border-color: rgba(17, 17, 19, 0.18); }
.top[data-on="light"] .btn--ghost:hover { background: rgba(17, 17, 19, 0.06); }
.lang { position: relative; }
.lang summary {
  list-style: none; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; padding: 10px 12px; border-radius: var(--r-pill);
  border: 1px solid rgba(245, 244, 241, 0.22); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; line-height: 1;
}
.lang summary::-webkit-details-marker { display: none; }
.top[data-on="light"] .lang summary { border-color: rgba(17, 17, 19, 0.18); }
.lang__menu {
  position: absolute; inset-inline-end: 0; top: calc(100% + 8px); min-width: 220px; max-height: 70vh; overflow: auto;
  background: var(--paper); color: var(--ink); border-radius: 18px; padding: 8px;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(17, 17, 19, 0.06);
}
.lang__menu a { display: block; padding: 9px 12px; border-radius: 10px; font-size: 0.95rem; }
.lang__menu a:hover { background: var(--paper-2); }
.lang__menu a[aria-current="true"] { font-weight: 700; color: var(--gold-ink); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero { padding: 12px; }
.hero__card {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: calc(100svh - 24px); border-radius: var(--r-card);
  background: var(--black); color: var(--paper);
  padding: clamp(84px, 13vh, 130px) clamp(28px, 4.5vw, 72px) clamp(28px, 4vw, 48px);
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: center; gap: 24px;
}
.hero__light {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(70% 55% at 88% 8%, rgba(232, 184, 109, 0.34), rgba(232, 184, 109, 0) 62%),
    radial-gradient(50% 40% at 8% 100%, rgba(232, 184, 109, 0.07), rgba(232, 184, 109, 0) 60%),
    radial-gradient(60% 60% at 60% 60%, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0) 70%);
}
.hero__light::after {
  content: ''; position: absolute; inset: 0; opacity: 0.28; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__copy { position: relative; z-index: 2; min-width: 0; }
.hero__title { font-size: clamp(3rem, 5.9vw, 5.8rem); line-height: 0.92; letter-spacing: -0.025em; font-stretch: 106%; }
.hero__line { display: block; overflow: hidden; padding-block: 0.04em; margin-block: -0.04em; }
.hero__l { display: inline-block; }
.hero__l--thin { font-weight: 200; font-stretch: 100%; letter-spacing: -0.01em; }
.hero__l--black em { font-style: italic; font-weight: 900; font-stretch: 100%; }
.hero__l b { font-weight: inherit; color: var(--gold); }
.hero__l--thin b { font-weight: 300; }
.caret { display: inline-block; width: 0.07em; height: 0.82em; background: var(--gold); margin-inline-start: 0.08em; vertical-align: -0.06em; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.scroll-btn {
  display: inline-grid; place-items: center; width: 0.78em; height: 0.78em; margin-inline-end: 0.16em; vertical-align: 0.02em;
  border-radius: 50%; border: 1.5px solid rgba(245, 244, 241, 0.5); color: var(--paper);
  transition: background-color 0.3s, color 0.3s, transform 0.5s var(--ease);
}
.scroll-btn svg { width: 46%; height: 46%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.scroll-btn:hover { background: var(--paper); color: var(--ink); transform: translateY(3px); }
.hero__deck { margin-top: clamp(20px, 3vw, 32px); font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.45; color: var(--fog); max-width: 44ch; text-wrap: pretty; }
.hero__cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: clamp(22px, 3vw, 32px); }
.hero__login { font-weight: 600; color: var(--fog); transition: color 0.25s; }
.hero__login:hover { color: var(--paper); }


.hero__stage { position: absolute; z-index: 1; inset: 0 0 0 auto; width: 47%; perspective: 1800px; perspective-origin: 55% 45%; }
.hero__pool { position: absolute; left: -30%; right: -20%; bottom: -12%; height: 50%; border-radius: 50%; background: radial-gradient(closest-side, rgba(232, 184, 109, 0.62), rgba(232, 184, 109, 0)); filter: blur(36px); }
.phone { position: relative; aspect-ratio: 460 / 980; filter: drop-shadow(0 34px 44px rgba(0, 0, 0, 0.55)) drop-shadow(0 8px 14px rgba(0, 0, 0, 0.4)); }
.phone::before { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: url(/images/phone-frame.svg) center / 100% 100% no-repeat; }
.phone__screen { position: absolute; inset: 1.63% 4.35%; border-radius: 10.5% / 4.6%; overflow: hidden; background: #000; }
.phone__screen img, .phone__screen video { width: 100%; height: 100%; object-fit: cover; }
.phone--hero {
  position: absolute; z-index: 1; inset-inline-end: 9%; top: 55%; height: min(84%, 860px); width: auto;
  transform: translateY(-50%) rotateY(calc(-12deg + var(--ry, 0deg))) rotateX(calc(4deg + var(--rx, 0deg))) rotateZ(-3deg);
  transition: transform 0.6s var(--ease);
}
.phone--behind {
  position: absolute; z-index: 0; inset-inline-end: -16%; top: 12%; height: 74%; width: auto; opacity: 0.9;
  transform: rotateY(-24deg) rotateX(4deg) rotateZ(6deg); filter: brightness(0.72) saturate(0.85);
}
.hero__facts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: clamp(24px, 3vw, 36px); }
.hero__facts li { padding: 8px 14px; border-radius: var(--r-pill); border: 1px solid rgba(245, 244, 241, 0.16); font-size: 0.84rem; font-weight: 500; color: var(--fog); background: rgba(10, 10, 11, 0.4); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); white-space: nowrap; }
.index { position: absolute; z-index: 2; inset-inline-end: clamp(28px, 4.5vw, 72px); top: 50%; transform: translateY(-50%); display: none; flex-direction: column; align-items: flex-end; gap: 10px; font-size: 0.9rem; }
.index a { position: relative; color: var(--fog-2); padding-inline-end: 18px; transition: color 0.25s; }
.index a::after { content: ''; position: absolute; inset-inline-end: 0; top: 50%; width: 7px; height: 7px; border-radius: 50%; background: currentColor; transform: translateY(-50%) scale(0.6); transition: transform 0.3s var(--ease), background-color 0.3s; }
.index a:hover, .index a.is-current { color: var(--paper); }
.index a.is-current::after { background: var(--gold); transform: translateY(-50%) scale(1); }
@media (min-width: 1600px) {
  .index { display: flex; top: auto; bottom: clamp(24px, 3.5vw, 44px); transform: none; }
  .phone--hero { inset-inline-end: 31%; }
  .phone--behind { inset-inline-end: 2%; top: 9%; height: 62%; }
}

/* Hero entrance: lines rise, phone settles. Only with JS, only once fonts are in. */
.js .hero__l { transform: translateY(110%); }
.js .phone--hero { opacity: 0; }
.js .phone--behind { opacity: 0; }
.js .hero__deck, .js .hero__cta, .js .hero__facts { opacity: 0; transform: translateY(16px); }
.js.is-ready .hero__l { transform: none; transition: transform 1s var(--ease); }
.js.is-ready .hero__line:nth-child(2) .hero__l { transition-delay: 0.1s; }
.js.is-ready .hero__line:nth-child(3) .hero__l { transition-delay: 0.2s; }
.js.is-ready .hero__deck, .js.is-ready .hero__cta, .js.is-ready .hero__facts { opacity: 1; transform: none; transition: opacity 0.9s var(--ease) 0.35s, transform 0.9s var(--ease) 0.35s; }
.js.is-ready .phone--hero { opacity: 1; transition: opacity 1.1s var(--ease) 0.25s, transform 0.6s var(--ease); }
.js.is-ready .phone--behind { opacity: 0.9; transition: opacity 1.4s var(--ease) 0.5s; }

/* ── Marquee ───────────────────────────────────────────────── */
.marquee { overflow: hidden; padding: clamp(40px, 7vw, 96px) 0 clamp(8px, 2vw, 24px); }
.marquee__track { display: flex; align-items: center; gap: 0.32em; white-space: nowrap; width: max-content; font-size: clamp(3.6rem, 11.5vw, 10.5rem); line-height: 1; letter-spacing: -0.03em; color: var(--ink); will-change: transform; }
.marquee__track i { display: inline-block; width: 0.22em; height: 0.22em; border-radius: 50%; background: var(--gold); flex: none; }
html:not(.js) .marquee__track { animation: drift 40s linear infinite; }
@keyframes drift { to { transform: translateX(-50%); } }

/* ── Sections ──────────────────────────────────────────────── */
.sec { padding: clamp(72px, 10vw, 140px) 0; }
.sec--dark { background: var(--black); color: var(--paper); }
.sec--what { padding-top: clamp(32px, 5vw, 64px); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 5vw, 72px); }
.card {
  position: relative; overflow: hidden; border-radius: var(--r-card); min-height: 700px;
  padding: clamp(24px, 2.6vw, 36px); background: var(--card-bg, var(--paper-2)); color: var(--ink);
  display: flex; flex-direction: column;
}
.card--a { --card-bg: #e6e3dc; }
.card--b { --card-bg: #f0dcb6; }
.card--c { --card-bg: #cfe9e3; }
.card__text { position: relative; z-index: 2; }
.card h3 { font-size: clamp(1.7rem, 2.3vw, 2.3rem); line-height: 0.98; letter-spacing: -0.02em; text-wrap: balance; }
.card p { margin-top: 14px; color: var(--ink-2); max-width: 36ch; font-size: 1rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tags li { font-size: 0.78rem; font-weight: 600; padding: 6px 10px; border-radius: var(--r-pill); background: rgba(17, 17, 19, 0.07); }
.card__phone { position: absolute; left: 50%; bottom: -40%; width: 66%; transform: translateX(-50%) rotate(-3deg); transition: transform 0.9s var(--ease); z-index: 1; }
.card:hover .card__phone { transform: translateX(-50%) translateY(-24px) rotate(-1.5deg); }
.card--b .card__phone { transform: translateX(-50%) rotate(3deg); }
.card--b:hover .card__phone { transform: translateX(-50%) translateY(-24px) rotate(1.5deg); }

/* Numbers */
.numbers { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: clamp(28px, 4vw, 44px); }
.tile { position: relative; overflow: hidden; border-radius: 24px; background: var(--paper-2); padding: 24px 24px 22px; min-height: 172px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; }
.tile__n { font-size: clamp(2.6rem, 4vw, 3.6rem); line-height: 0.95; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.tile__l { font-size: 0.9rem; color: var(--ink-2); max-width: 16ch; line-height: 1.3; }
.tile__obj { position: absolute; inset-inline-end: -8px; bottom: -14px; width: 112px; height: 112px; object-fit: contain; transform: rotate(-8deg); transition: transform 0.8s var(--ease); filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.18)); }
.tile:hover .tile__obj { transform: rotate(4deg) translateY(-6px) scale(1.06); }
.tile__obj--badge { width: 124px; height: 124px; }
.affinity { justify-self: center; width: min(100%, 460px); }
.affinity__svg { width: 100%; height: auto; overflow: visible; font-family: var(--font-text); }
.aff__ring { fill: var(--paper-2); stroke: rgba(17, 17, 19, 0.08); }
.aff__ring:nth-child(2) { fill: var(--paper-3); }
.aff__ring:nth-child(3) { fill: #d6d3ca; }
.aff__ring--core { fill: var(--gold); stroke: none; }
.aff__you { font-size: 15px; font-weight: 800; fill: var(--ink); text-anchor: middle; text-transform: uppercase; letter-spacing: 0.04em; }
.aff__dot circle { fill: var(--ink); }
.aff__dot text { font-size: 15px; font-weight: 700; fill: var(--ink); }
.aff__dot .aff__pct { font-weight: 500; fill: var(--ink-2); font-size: 14px; }
.affinity figcaption { margin-top: 18px; text-align: center; color: var(--ink-2); font-size: 0.95rem; }
.affinity figcaption strong { color: var(--ink); }
.js .aff__dot { opacity: 0; transform: scale(0.6); transform-origin: center; transform-box: fill-box; transition: opacity 0.6s var(--ease), transform 0.8s var(--ease); transition-delay: calc(0.2s + var(--i) * 0.12s); }
.js .affinity.is-in .aff__dot { opacity: 1; transform: none; }


/* Groups: black block */
.sec--groups { padding-bottom: 0; overflow: hidden; }
.brace-title { font-size: clamp(2.8rem, 7.2vw, 6.8rem); line-height: 0.95; letter-spacing: -0.02em; }
.brace-title__a { display: block; font-weight: 200; font-stretch: 100%; letter-spacing: -0.01em; }
.brace { color: var(--gold); font-weight: 200; }
.brace-title__b { display: block; }
.float { position: relative; height: clamp(440px, 56vw, 760px); margin-top: clamp(-20px, -2vw, -40px); }
.float__ghost {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) translateY(var(--py, 0px)); white-space: nowrap;
  font-family: var(--font-display); font-weight: 900; font-stretch: var(--wdth-display); text-transform: uppercase;
  font-size: clamp(4rem, 13vw, 12rem); letter-spacing: -0.03em; color: rgba(245, 244, 241, 0.06); pointer-events: none;
}
.phone--float { position: absolute; top: 6%; width: min(34%, 330px); transform: rotate(var(--rot)) translateY(var(--py, 0px)); will-change: transform; }
.phone--float-a { left: 28%; --rot: -9deg; z-index: 2; }
.phone--float-b { left: 50%; top: 16%; --rot: 8deg; z-index: 3; }
.float__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-top: clamp(16px, 2vw, 32px); }
.float__text { max-width: 44ch; font-size: 1.1rem; color: var(--fog); text-wrap: pretty; }
.float__pills { display: flex; gap: 8px; flex-wrap: wrap; }

/* The wall */
.wall { margin-top: clamp(64px, 8vw, 120px); padding-bottom: clamp(48px, 6vw, 96px); }
.wall__label { width: min(100% - 2 * var(--gutter), var(--wrap)); margin: 0 auto 20px; font-size: 0.9rem; color: var(--fog); }
.wall__cols { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; padding: 0 16px; height: clamp(640px, 70vw, 820px); overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent); }
.wall__col { display: flex; flex-direction: column; gap: 16px; transform: translateY(var(--ty, 0px)); will-change: transform; }
.wall__col:nth-child(1) { padding-top: 40px; }
.wall__col:nth-child(2) { padding-top: 120px; }
.wall__col:nth-child(3) { padding-top: 0; }
.wall__col:nth-child(4) { padding-top: 90px; }
.wall__col:nth-child(5) { padding-top: 30px; }
.phone--wall { width: 100%; }
.wc { background: var(--black-3); border: 1px solid var(--line-dark); border-radius: 22px; padding: 18px; color: var(--paper); font-size: 0.92rem; position: relative; overflow: hidden; }
.wc__k { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fog-2); }
.wc__k span { font-weight: 500; letter-spacing: 0; text-transform: none; }
.wc__t { font-size: 1.15rem; font-weight: 700; margin-top: 6px; }
.wc__s { font-size: 0.85rem; color: var(--fog); margin-top: 6px; display: flex; align-items: center; gap: 6px; }
.wc__s svg { width: 16px; height: 16px; fill: var(--rose); }
.wc__big { display: flex; align-items: flex-end; gap: 18px; margin-top: 10px; font-size: 2.6rem; line-height: 1; }
.wc__big small { display: block; font-family: var(--font-text); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; color: var(--fog-2); margin-bottom: 6px; font-stretch: 100%; }
.wc__you { color: var(--gold); }
.wc__avg { font-size: 1.9rem; color: var(--fog); }
.wc__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.wc__chips li { padding: 5px 9px; border-radius: var(--r-pill); background: rgba(245, 244, 241, 0.08); font-size: 0.8rem; }
.wc__chips b { color: var(--teal); margin-inline-start: 2px; }
.wc__bars, .wc__votes { display: grid; gap: 10px; margin-top: 12px; }
.wc__bars li, .wc__votes li { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; font-size: 0.85rem; }
.wc__bars li i, .wc__votes li i { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: rgba(245, 244, 241, 0.1); position: relative; overflow: hidden; }
.wc__bars li i::after, .wc__votes li i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 3px; background: var(--teal); }
.wc__votes li i::after { background: var(--gold); }
.wc__bars b, .wc__votes b { font-weight: 600; color: var(--fog); }
.wc--streak img, .wc--rank img, .wc--weekly img, .wc--party img, .wc--ranks img { position: absolute; inset-inline-end: -10px; top: -10px; width: 84px; height: 84px; object-fit: contain; filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.5)); }
.wc--streak, .wc--rank, .wc--weekly, .wc--party, .wc--ranks { padding-top: 22px; }
.wc--streak .wc__k, .wc--rank .wc__k, .wc--weekly .wc__k, .wc--party .wc__k, .wc--ranks .wc__k { padding-inline-end: 76px; }
.wc__n { font-size: 3rem; line-height: 1; margin-top: 8px; color: var(--gold); }
.wc__n small { font-family: var(--font-text); font-stretch: 100%; font-weight: 500; text-transform: none; letter-spacing: 0; font-size: 0.85rem; color: var(--fog); margin-inline-start: 4px; }
.wc__q { font-weight: 700; font-size: 1.05rem; margin-top: 8px; line-height: 1.3; }
.wc__opts { display: grid; gap: 6px; margin-top: 12px; }
.wc__opts li { padding: 9px 12px; border-radius: 12px; background: rgba(245, 244, 241, 0.06); font-size: 0.85rem; }
.wc__opts li.is-right { background: rgba(45, 212, 191, 0.18); color: var(--teal); font-weight: 600; }
.wc__code { font-size: 2.8rem; line-height: 1; margin-top: 8px; letter-spacing: 0.06em; color: var(--paper); }
.wc__rows { display: grid; gap: 8px; margin-top: 12px; counter-reset: row; }
.wc__rows li { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 0.88rem; padding: 8px 10px; border-radius: 10px; background: rgba(245, 244, 241, 0.05); }
.wc__rows li::before { counter-increment: row; content: counter(row); font-weight: 800; color: var(--fog-2); width: 1.2em; }
.wc__rows li span { flex: 1; }
.wc__rows li.is-you { background: rgba(232, 184, 109, 0.14); color: var(--gold); }
.wc__quote { font-size: 1.05rem; line-height: 1.35; margin-top: 8px; font-weight: 500; text-wrap: pretty; }
.wc--where .wc__chips { margin-top: 10px; }

/* Table section */
.sec--table { background: var(--paper-2); }
.table-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px clamp(24px, 4vw, 64px); align-items: end; }
.table-card { margin-top: clamp(28px, 4vw, 48px); background: #fff; border-radius: var(--r-card); padding: clamp(10px, 2vw, 24px); box-shadow: 0 30px 60px -40px rgba(17, 17, 19, 0.35); }
.scores-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--paper-3) transparent; }
.scores { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.scores th, .scores td { padding: 0; vertical-align: middle; }
.scores thead th { text-align: start; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); padding: 14px 12px; border-bottom: 1px solid var(--ink); white-space: nowrap; }
.scores thead th.scores__friend, .scores thead th.scores__you, .scores thead th.scores__avg { text-align: center; }
.scores thead th.scores__you { color: var(--gold-ink); background: rgba(232, 184, 109, 0.22); border-radius: 12px 12px 0 0; }
.scores tbody th { text-align: start; font-weight: 400; padding: 10px 12px; border-bottom: 1px solid var(--rule); min-width: 180px; }
.scores tbody tr:last-child th, .scores tbody tr:last-child td { border-bottom: 0; }
.scores__name { display: block; font-weight: 700; font-size: 1.05rem; line-height: 1.2; }
.scores__meta { display: block; font-size: 0.8rem; color: var(--ink-2); margin-top: 2px; }
.scores td.score { text-align: center; font-family: var(--font-display); font-weight: 800; font-stretch: 104%; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1; border-bottom: 1px solid var(--rule); padding: 8px 12px; min-width: 84px; letter-spacing: -0.02em; }
.scores td.score--avg { color: var(--ink); background: var(--paper); font-size: clamp(1.3rem, 2.2vw, 1.8rem); }
.scores td.score--you { background: rgba(232, 184, 109, 0.22); padding: 6px; }
.scores tbody tr:last-child td.score--you { border-radius: 0 0 12px 12px; }
.scores .you {
  display: inline-grid; place-items: center; width: 100%; min-height: 54px; cursor: pointer;
  background: #fff; border: 1.5px dashed rgba(17, 17, 19, 0.3); border-radius: 12px;
  font-family: var(--font-display); font-weight: 800; font-stretch: 104%; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1; letter-spacing: -0.02em;
  transition: border-color 0.2s, background-color 0.2s, transform 0.3s var(--ease);
}
.scores .you:hover { border-color: var(--ink); }
.scores .you[aria-expanded="true"] { border-style: solid; border-color: var(--ink); }
.score[data-tier="hi"], .you[data-tier="hi"] { color: var(--s-hi); }
.score[data-tier="good"], .you[data-tier="good"] { color: var(--s-good); }
.score[data-tier="mid"], .you[data-tier="mid"] { color: var(--s-mid); }
.score[data-tier="low"], .you[data-tier="low"] { color: var(--s-low); }
.is-updated { animation: stamp 0.5s var(--ease); }
@keyframes stamp { 0% { transform: scale(0.8); } 60% { transform: scale(1.08); } 100% { transform: none; } }
.insights { display: flex; gap: clamp(16px, 4vw, 48px); flex-wrap: wrap; margin-top: 16px; padding: 14px 12px 4px; border-top: 1px solid var(--rule); }
.insight { font-size: 0.95rem; color: var(--ink-2); }
.insight strong { color: var(--ink); }
.picker { position: absolute; z-index: 60; display: flex; gap: 4px; padding: 6px; background: var(--ink); border-radius: 14px; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6); }
.picker button { width: 36px; height: 36px; border: 0; border-radius: 9px; background: transparent; color: var(--paper); font-weight: 700; cursor: pointer; }
.picker button:hover, .picker button[aria-pressed="true"] { background: var(--gold); color: var(--ink); }
.briefs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px) clamp(20px, 3vw, 40px); margin-top: clamp(40px, 5vw, 64px); }
.briefs dt { font-weight: 700; font-size: 1.1rem; }
.briefs dd { margin: 6px 0 0; color: var(--ink-2); font-size: 0.98rem; text-wrap: pretty; }

/* Games */
.games__head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px clamp(24px, 4vw, 64px); align-items: end; }
.games { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: clamp(36px, 5vw, 64px); }
.game { position: relative; overflow: hidden; border-radius: 24px; background: var(--paper-2); padding: 24px; min-height: 250px; display: flex; flex-direction: column; justify-content: flex-end; }
.game--lg { grid-column: span 2; min-height: 300px; }
.game img { position: absolute; inset-inline-end: 12px; top: 12px; width: 120px; height: 120px; object-fit: contain; transform: rotate(-6deg); transition: transform 0.8s var(--ease); filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.2)); }
.game--lg img { width: 190px; height: 190px; inset-inline-end: 24px; top: 24px; }
.game:hover img { transform: rotate(6deg) translateY(-6px) scale(1.06); }
.game h3 { font-size: clamp(1.5rem, 2vw, 2rem); line-height: 0.98; letter-spacing: -0.02em; }
.game p { margin-top: 8px; color: var(--ink-2); font-size: 0.95rem; }
.ranks { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px clamp(24px, 4vw, 64px); align-items: center; margin-top: clamp(40px, 5vw, 72px); padding: clamp(24px, 3vw, 40px); border-radius: var(--r-card); background: var(--ink); color: var(--paper); }
.ranks__ladder { display: flex; align-items: flex-end; gap: 6px; flex-wrap: wrap; }
.ranks__ladder img { width: 40px; height: auto; flex: none; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.5)); }
.ranks__ladder img:nth-child(n+3) { width: 46px; }
.ranks__ladder img:nth-child(n+5) { width: 52px; }
.ranks__ladder img:nth-child(n+7) { width: 58px; }
.ranks__ladder img:nth-child(n+9) { width: 66px; }
.ranks__ladder img:nth-child(11) { width: 80px; }
@media (min-width: 901px) { .ranks__ladder { flex-wrap: nowrap; } }
.ranks__text h3 { font-size: 1.6rem; font-weight: 800; }
.ranks__text p { margin-top: 8px; color: var(--fog); }
.ranks__label { font-size: 0.8rem; color: var(--fog-2) !important; }

/* Install */
.install__head { display: grid; grid-template-columns: 1fr; gap: 20px; }
.install__head .h-xl { max-width: 14ch; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: clamp(36px, 5vw, 64px); }
.steps__col { background: var(--black-2); border: 1px solid var(--line-dark); border-radius: 24px; padding: 24px; }
.steps__col h3 { font-size: 1.15rem; font-weight: 700; }
.steps__col ol { margin-top: 16px; counter-reset: step; display: grid; gap: 12px; }
.steps__col li { position: relative; padding-inline-start: 40px; color: var(--fog); font-size: 0.98rem; min-height: 28px; display: flex; align-items: center; gap: 8px; }
.steps__col li::before { counter-increment: step; content: counter(step); position: absolute; inset-inline-start: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 0.85rem; background: var(--gold); color: var(--ink); }
.ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.install__cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: clamp(36px, 5vw, 64px); }
.install__login { font-weight: 600; color: var(--fog); }
.install__login:hover { color: var(--paper); }
.install__note { width: 100%; font-size: 0.85rem; color: var(--fog-2); }

/* Footer */
.footer { background: var(--black); color: var(--paper); padding: clamp(40px, 6vw, 80px) 0 32px; border-top: 1px solid var(--line-dark); }
.footer__giant { font-size: 16.2vw; line-height: 0.82; letter-spacing: -0.01em; color: var(--paper); margin-bottom: clamp(32px, 5vw, 64px); text-align: center; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.6fr; gap: 32px; padding-top: 32px; border-top: 1px solid var(--line-dark); }
.footer__brand { display: flex; gap: 14px; align-items: flex-start; }
.footer__brand img { border-radius: 10px; }
.footer__tagline { color: var(--fog); max-width: 28ch; }
.footer__col h4 { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fog-2); margin-bottom: 12px; }
.footer__col a { display: block; color: var(--fog); padding: 4px 0; transition: color 0.2s; }
.footer__col a:hover { color: var(--paper); }
.footer__langlist { display: flex; flex-wrap: wrap; gap: 2px 14px; }
.footer__langlist a { display: inline; }
.footer__langlist a[aria-current="true"] { color: var(--gold); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line-dark); font-size: 0.85rem; color: var(--fog-2); }

/* ── Reveals: one clock, one easing ─────────────────────────── */
.js [data-reveal] { opacity: 0; transform: translateY(26px); filter: blur(5px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }

/* ── Scripts ───────────────────────────────────────────────── */
[data-script="cjk"], [data-script="arabic"], [data-script="devanagari"] { --wdth-display: 100%; }
[data-script="cjk"] .hero__l--black em, [data-script="arabic"] .hero__l--black em, [data-script="devanagari"] .hero__l--black em { font-style: normal; }
[data-script="cjk"] .hero__title, [data-script="cjk"] .h-xl, [data-script="cjk"] .brace-title, [data-script="cjk"] .marquee__track, [data-script="arabic"] .hero__title, [data-script="arabic"] .h-xl, [data-script="arabic"] .brace-title, [data-script="arabic"] .marquee__track, [data-script="devanagari"] .hero__title, [data-script="devanagari"] .h-xl, [data-script="devanagari"] .brace-title { letter-spacing: 0; font-weight: 800; }
[data-script="cjk"] .hero__title { font-size: clamp(2.6rem, 6.2vw, 5.6rem); line-height: 1.08; }
[data-script="arabic"] .hero__title, [data-script="devanagari"] .hero__title { font-size: clamp(2.4rem, 5vw, 4.8rem); line-height: 1.18; }
[data-script="arabic"] .hero__l--thin, [data-script="devanagari"] .hero__l--thin, [data-script="cjk"] .hero__l--thin { font-weight: 400; }
[data-script="arabic"] .brace-title__a, [data-script="cjk"] .brace-title__a, [data-script="devanagari"] .brace-title__a { font-weight: 400; }
[data-script="cjk"] body, [data-script="devanagari"] body, [data-script="arabic"] body { line-height: 1.65; }
@media (min-width: 901px) {
  [dir="rtl"] .hero__stage { inset: 0 auto 0 0; }
  [dir="rtl"] .phone--hero { transform: translateY(-50%) rotateY(calc(12deg + var(--ry, 0deg))) rotateX(calc(4deg + var(--rx, 0deg))) rotateZ(3deg); }
  [dir="rtl"] .phone--behind { transform: rotateY(24deg) rotateX(4deg) rotateZ(-6deg); }
  [dir="rtl"] .hero__pool { left: -24%; right: -10%; }
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .card { min-height: 600px; }
  .card__phone { width: 78%; bottom: -46%; }
  .games { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wall__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .wall__col:nth-child(5) { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .pillnav { display: none; }
  .top { grid-template-columns: 1fr auto; padding: 16px 18px; }
  .top__login { display: none; }
  .hero { padding: 8px; }
  .hero__card { grid-template-columns: 1fr; min-height: auto; padding: 88px 22px 0; gap: 0; border-radius: 24px; }
  .hero__title { font-size: clamp(2.7rem, 11.6vw, 4.6rem); letter-spacing: -0.02em; }
  .hero__deck { font-size: 1.05rem; }
  .hero__stage { position: relative; inset: auto; width: auto; height: auto; margin-top: 28px; padding-top: 24px; perspective: 1200px; }
  .phone--hero { position: relative; inset: auto; top: auto; height: auto; width: min(66%, 300px); margin: 0 auto -16%; transform: rotateY(calc(-6deg + var(--ry, 0deg))) rotateX(calc(3deg + var(--rx, 0deg))) rotateZ(-3deg); }
  .phone--behind { inset-inline-end: -18%; top: 8%; height: auto; width: 50%; }
  .hero__pool { left: 10%; right: 10%; bottom: 0; height: 30%; }
  .numbers, .table-head, .games__head, .install__head, .ranks { grid-template-columns: 1fr; }
  .affinity { width: min(100%, 400px); }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 560px; }
  .card__phone { width: min(62%, 280px); bottom: -34%; }
  .steps { grid-template-columns: 1fr; }
  .briefs { grid-template-columns: 1fr 1fr; }
  .float { height: clamp(380px, 110vw, 560px); }
  .phone--float { width: min(46%, 240px); }
  .phone--float-a { left: 8%; }
  .phone--float-b { left: 48%; }
  .float__ghost { font-size: clamp(3rem, 16vw, 7rem); }
  .wall__cols { display: flex; height: auto; overflow-x: auto; overflow-y: hidden; -webkit-mask-image: none; mask-image: none; padding: 0 16px; gap: 12px; scroll-snap-type: x proximity; scrollbar-width: none; }
  .wall__cols::-webkit-scrollbar { display: none; }
  .wall__col { flex: 0 0 240px; padding-top: 0 !important; transform: none !important; scroll-snap-align: start; }
  .wall__col:nth-child(5) { display: flex; }
}
@media (max-width: 560px) {
  .brand span { display: none; }
  .hero__title { font-size: clamp(2.5rem, 13vw, 3.4rem); }
  .btn--big { padding: 16px 24px; font-size: 1.02rem; }
  .tiles { grid-template-columns: 1fr; gap: 10px; }
  .tile { min-height: 0; padding: 18px 20px; gap: 6px; }
  .tile__n { font-size: 2.2rem; }
  .tile__obj { width: 72px; height: 72px; inset-inline-end: 6px; bottom: 50%; transform: translateY(50%) rotate(-8deg); }
  .tile:hover .tile__obj { transform: translateY(50%) rotate(4deg); }
  .tile__l { max-width: none; padding-inline-end: 84px; }
  .games { grid-template-columns: 1fr 1fr; gap: 10px; }
  .game, .game--lg { grid-column: auto; min-height: 190px; padding: 16px; }
  .game img, .game--lg img { width: 72px; height: 72px; inset-inline-end: 8px; top: 8px; }
  .game h3 { font-size: 1.25rem; }
  .game p { font-size: 0.85rem; }
  .briefs { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .scores tbody th { min-width: 150px; position: sticky; inset-inline-start: 0; background: #fff; z-index: 1; }
  .scores thead th.scores__title { position: sticky; inset-inline-start: 0; background: #fff; z-index: 1; }
  .scores td.score { min-width: 64px; padding: 6px 8px; }
  .scores td.score--you, .scores thead th.scores__you { position: sticky; inset-inline-end: 0; z-index: 2; background: #f8ecd6; box-shadow: -8px 0 12px -10px rgba(17, 17, 19, 0.35); }
}

/* ── Reduced motion: everything visible, nothing moves ──────── */
@media (prefers-reduced-motion: reduce) {
  .js .hero__l, .js .hero__deck, .js .hero__cta, .js .hero__facts, .js [data-reveal], .js .aff__dot { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .js .phone--hero { opacity: 1 !important; transition: none !important; }
  .js .phone--behind { opacity: 0.9 !important; transition: none !important; }
  .caret { animation: none; }
  .marquee__track { animation: none !important; transform: none !important; }
  .card__phone, .tile__obj, .game img, .btn { transition: none; }
}
