/* Fonts are self-hosted so no visitor data goes to Google. */
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/media/fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/media/fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url(/media/fonts/inter-tight-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url(/media/fonts/inter-tight-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #140b0c;
  --bg-2: #1d1013;
  --text: #fff4e8;
  --soft: rgba(255, 244, 232, 0.66);
  --faint: rgba(255, 244, 232, 0.14);
  --accent: #e2553f;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --tight: 'Inter Tight', 'Inter', -apple-system, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
:root[data-pueblo="apricidad"] { --accent: #e0a23a; }
:root[data-pueblo="odonata"] { --accent: #3fb47a; }
:root[data-pueblo="interbellum"] { --accent: #4b9be0; }

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--tight); font-weight: 800; letter-spacing: -0.035em; line-height: 0.98; margin: 0; }
p { margin: 0; }
.eyebrow { font: 600 12px/1 var(--sans); letter-spacing: 0.32em; text-transform: uppercase; color: var(--soft); }
.wrap { width: min(1240px, 100%); margin: 0 auto; padding: 0 var(--gutter); }
.grad {
  background: linear-gradient(180deg, var(--text) 0%, rgba(255, 244, 232, 0.46) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* Film grain over everything: the art is digital, the page should feel printed. */
.grain {
  position: fixed; inset: 0; z-index: 80; pointer-events: none; opacity: 0.06; mix-blend-mode: overlay;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23n)"/></svg>');
}

/* ------------------------------------------------------------ NAV ---- */
.nav {
  position: fixed; z-index: 60; top: clamp(12px, 2.6vh, 24px); left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: clamp(14px, 2.4vw, 28px);
  padding: 10px clamp(16px, 2.4vw, 24px);
  border-radius: 999px;
  background: rgba(255, 244, 232, 0.07);
  border: 1px solid rgba(255, 244, 232, 0.14);
  backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
  white-space: nowrap;
}
.nav a { font: 600 13px/1 var(--sans); color: rgba(255, 244, 232, 0.8); text-decoration: none; transition: color 0.2s; }
.nav a:hover { color: var(--text); }
.nav .nav__brand { font: 900 13px/1 var(--tight); letter-spacing: 0.24em; color: var(--text); }
.nav .nav__cta { color: var(--bg); background: var(--text); padding: 8px 14px; border-radius: 999px; margin: -2px -8px -2px 0; }
@media (max-width: 560px) { .nav .nav__opt { display: none; } }

/* ------------------------------------------------------- 1 · RIDE ---- */
.ride .sc-stage { background: #2a1214; }
.ride canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.ride__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ride__veil { position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(180deg, rgba(20,11,12,0.45), rgba(20,11,12,0) 28%, rgba(20,11,12,0.1) 70%, rgba(20,11,12,0.62)); }
.ride__title { position: absolute; inset: 0; z-index: 4; display: grid; place-content: center; text-align: center; padding: 0 6%; gap: 18px; pointer-events: none; opacity: 0; will-change: opacity, transform, filter; }
.ride__title h2 { font-size: clamp(34px, 6.4vw, 92px); text-shadow: 0 6px 40px rgba(0,0,0,0.45); }
.ride__title p { color: var(--text); opacity: 0.85; font-size: clamp(15px, 1.5vw, 19px); }
/* Brand mark sits between the frames and the fortress cutout, so the towers stand in front of it. */
.ride__brand { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; padding-bottom: 46vh; pointer-events: none; will-change: opacity, transform, filter, letter-spacing; }
.ride__brand span { font: 900 clamp(64px, 19vw, 330px)/0.9 var(--tight); letter-spacing: -0.02em; color: var(--text); text-shadow: 0 10px 70px rgba(0,0,0,0.35); }
.ride canvas.ride__cut { z-index: 2; opacity: 0; }
/* Tall screens crop the frame much tighter, so the towers sit lower and wider:
   lift the mark into the sky and let only the flag poles cross it. */
@media (max-aspect-ratio: 4/5) {
  .ride__brand { padding-bottom: 50vh; }
  .ride__brand span { font-size: 22vw; }
}
@keyframes bob { 0%, 100% { transform: translateY(0); opacity: 0.5; } 50% { transform: translateY(5px); opacity: 1; } }
.ride__bar { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255,244,232,0.12); }
.ride__bar i { display: block; height: 100%; background: linear-gradient(90deg, rgba(255,244,232,0.5), var(--text)); transform: scaleX(0); transform-origin: left; }
/* First screen copy, under the mark. */
.hero { position: absolute; inset: auto 0 0 0; z-index: 5; padding: 0 var(--gutter) clamp(28px, 6vh, 64px);
  background: linear-gradient(180deg, rgba(20,11,12,0) 0%, rgba(20,11,12,0.78) 34%, rgba(20,11,12,0.94) 100%); padding-top: 14vh; }
.hero__in { width: min(1240px, 100%); margin: 0 auto; display: grid; gap: 16px; }
.hero h1 { font-size: clamp(32px, 3.6vw, 60px); line-height: 1.02; }
/* two sentences per line on wide screens, one per line on narrow ones */
.hero h1 br.m { display: none; }
@media (max-width: 900px) { .hero h1 br.m { display: inline; } .hero h1 { font-size: clamp(32px, 6vw, 52px); } }
.hero h1 em, .beat h3 em { font-style: italic; color: var(--accent); padding-right: 0.08em; }
.hero h1 span { color: var(--accent); }
.hero__sub { color: rgba(255,244,232,0.78); font-size: clamp(15px, 1.35vw, 19px); max-width: 40em; }
.hero__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 8px; }
@media (max-width: 640px) {
  .hero { padding-top: 10vh; }
  .hero__in { gap: 12px; }
  .hero .store { padding: 11px 16px; border-radius: 16px; }
  .hero .store b { font-size: 16px; }
}
/* Beats during the descent. */
.beats { position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: radial-gradient(120% 70% at 0% 100%, rgba(20,11,12,0.72), rgba(20,11,12,0) 60%); }
.beat { position: absolute; left: var(--gutter); bottom: clamp(48px, 11vh, 110px); width: min(560px, calc(100% - 2 * var(--gutter))); display: grid; gap: 12px; opacity: 0; will-change: opacity, transform, filter; }
.beat h3 { font-size: clamp(34px, 4.6vw, 70px); text-shadow: 0 6px 40px rgba(0,0,0,0.5); }
.beat p:last-child { color: rgba(255,244,232,0.86); font-size: clamp(15px, 1.3vw, 18px); max-width: 30em; text-shadow: 0 2px 16px rgba(0,0,0,0.6); }
.beat .eyebrow { color: rgba(255,244,232,0.8); }

/* Two phones per beat show what the line says, as a looping demo. */
.demo { position: absolute; right: var(--gutter); top: 50%; opacity: 0; will-change: opacity, transform; }
.demo__in { display: flex; gap: 22px; align-items: flex-start; transform: translateY(-50%); }
.demo .mini:nth-child(2) { margin-top: 56px; }
.mini { position: relative; width: 200px; height: 414px; border-radius: 36px; background: #111; flex: none;
  box-shadow: inset 0 0 0 2px #4a4a52, inset 0 0 0 6px #000, 0 40px 70px -15px rgba(0,0,0,0.85); }
.mini__island { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 64px; height: 18px; border-radius: 99px; background: #000; z-index: 2; }
.mini__screen { position: absolute; inset: 6px; border-radius: 30px; overflow: hidden; background: #160b0d; display: flex; flex-direction: column; gap: 10px; padding: 38px 12px 14px; }
.mini__top small { display: block; font: 600 8px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,244,232,0.5); margin-bottom: 4px; }
.mini__top b { font: 800 16px/1 var(--tight); letter-spacing: -0.02em; }
.mini .m-live { display: flex; align-items: baseline; gap: 6px; }
.m-live b { font: 900 46px/1 var(--tight); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.m-live span { font: 600 14px/1 var(--sans); color: rgba(255,244,232,0.6); }
.m-trace { flex: 1; min-height: 0; width: 100%; border-radius: 14px; background: radial-gradient(circle at 50% 45%, rgba(255,255,255,0.05), rgba(255,255,255,0.01)); }
.m-trace path { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.m-pill { display: flex; align-items: center; gap: 7px; padding: 9px 11px; border-radius: 12px; background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015)); }
.m-pill b { font: 800 16px/1 var(--tight); font-variant-numeric: tabular-nums; }
.m-pill span { font: 500 10px/1.2 var(--sans); color: rgba(255,244,232,0.55); }
.m-sum { display: grid; gap: 8px; padding: 12px; border-radius: 14px; background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015)); }
.m-sum b { display: block; font: 800 20px/1 var(--tight); font-variant-numeric: tabular-nums; }
.m-sum span { font: 500 10px/1.3 var(--sans); color: rgba(255,244,232,0.55); }
.m-eq { display: flex; align-items: center; gap: 6px; font: 700 14px/1 var(--sans); color: rgba(255,244,232,0.6); }
.m-eq b { display: inline; color: #f2c14e; font-size: 22px; }
.m-bank { margin-top: auto; display: grid; justify-items: center; gap: 6px; padding: 16px 10px; border-radius: 16px; background: radial-gradient(circle at 50% 30%, rgba(242,193,78,0.18), rgba(242,193,78,0.02) 70%); box-shadow: inset 0 0 0 1px rgba(242,193,78,0.25); }
.m-bank b { font: 900 34px/1 var(--tight); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.m-bank span { font: 500 10px/1 var(--sans); color: rgba(255,244,232,0.55); }
.m-bank.pop img { animation: coinpop 0.35s ease-out; }
@keyframes coinpop { 50% { transform: scale(1.35) translateY(-3px); } }
.m-map { position: relative; flex: none; border-radius: 14px; overflow: hidden; }
.ride .m-map canvas { position: static; display: block; width: 100%; height: auto; }
.m-toast { position: absolute; left: 8px; right: 8px; top: 8px; padding: 8px 10px; border-radius: 12px; font: 600 11px/1.2 var(--sans); text-align: center;
  background: color-mix(in srgb, var(--accent) 85%, #000); box-shadow: 0 10px 20px -6px rgba(0,0,0,0.7); opacity: 0; transform: translateY(-8px); transition: opacity 0.3s, transform 0.3s; }
.m-toast.on { opacity: 1; transform: none; }
.m-note { margin-top: auto; font: 500 11px/1.4 var(--sans); color: rgba(255,244,232,0.7); }
/* beat 2 runs as two steps: the phone whose turn it is lights up */
.m-step { transition: transform 0.4s, filter 0.4s; }
.m-step.idle { filter: brightness(0.42) saturate(0.5); transform: scale(0.96); }
.m-fort { position: relative; flex: 1; min-height: 0; border-radius: 14px; overflow: hidden; background: #2a1a1c; }
.m-fort img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.35s; }
.m-fort img.on { opacity: 1; }
.m-btn { padding: 11px 8px; border-radius: 12px; text-align: center; font: 700 11px/1 var(--sans); color: #140b0c; background: var(--text); display: flex; align-items: center; justify-content: center; gap: 5px; transition: transform 0.12s, background 0.12s; }
.m-btn.press { transform: scale(0.95); background: #e8d9c8; }
.m-crest { display: grid; place-items: center; padding: 14px 0 6px; }
.m-crest img { filter: drop-shadow(0 6px 14px rgba(0,0,0,0.6)); }
.m-crest.pop img { animation: coinpop 0.4s ease-out; }
.m-stats { display: grid; gap: 12px; padding: 12px; border-radius: 14px; background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015)); }
.m-stats div { display: grid; grid-template-columns: 1fr auto; gap: 6px 8px; align-items: baseline; }
.m-stats span { font: 500 11px/1 var(--sans); color: rgba(255,244,232,0.65); }
.m-stats b { font: 800 14px/1 var(--tight); font-variant-numeric: tabular-nums; }
.m-stats i { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: rgba(255,255,255,0.08); overflow: hidden; }
.m-stats u { display: block; height: 100%; width: 30%; background: var(--accent); border-radius: 3px; }
@media (max-width: 1100px) and (min-width: 861px) { .demo__in { transform: translateY(-50%) scale(0.82); transform-origin: right center; } }
@media (max-width: 860px) {
  /* phones sit in the sky above the line */
  .demo { left: 0; right: 0; top: calc(72px + 2vh); display: flex; justify-content: center; }
  .demo__in { transform: scale(0.74); transform-origin: top center; gap: 16px; }
}
@media (max-width: 860px) and (max-height: 700px) { .demo__in { transform: scale(0.6); } }

/* -------------------------------------------------------- 2 · CARD ---- */
.card-act .sc-stage { background: var(--bg); perspective: 1500px; }
.card-shell { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.card {
  position: relative; overflow: hidden; pointer-events: auto;
  width: 88vw; height: 86vh; border-radius: 40px;
  background:
    radial-gradient(1200px 700px at 80% 0%, color-mix(in srgb, var(--accent) 34%, transparent), transparent 60%),
    linear-gradient(150deg, #2a1418 0%, #0f0809 100%);
  box-shadow: 0 40px 100px -20px rgba(0,0,0,0.9), inset 0 1px 1px rgba(255,255,255,0.12), inset 0 -2px 4px rgba(0,0,0,0.7);
  border: 1px solid rgba(255,255,255,0.05);
  will-change: transform, width, height, border-radius;
}
.card__sheen { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(800px circle at var(--mx, 50%) var(--my, 30%), rgba(255,255,255,0.06), transparent 40%); }
.card__grid { position: relative; height: 100%; width: min(1280px, 100%); margin: 0 auto; padding: 0 clamp(20px, 4vw, 56px);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(20px, 3vw, 48px); }
.card__left { display: grid; gap: 18px; }
.card__left h3 { font-size: clamp(30px, 3.4vw, 52px); }
.card__left p { color: var(--soft); max-width: 26em; }
.card__right { justify-self: end; text-align: right; }
.card__right span { font: 900 clamp(44px, 7.5vw, 128px)/0.85 var(--tight); letter-spacing: -0.05em; text-transform: uppercase; display: block; }
.card__right small { display: block; margin-top: 14px; color: var(--soft); font-size: 14px; }
.badge { opacity: 0; will-change: transform, opacity; }

.phone-wrap { position: relative; perspective: 1000px; }
.phone {
  position: relative; width: 300px; height: 620px; border-radius: 50px; background: #111;
  box-shadow: inset 0 0 0 2px #4a4a52, inset 0 0 0 8px #000, 0 50px 90px -15px rgba(0,0,0,0.9), 0 15px 25px -5px rgba(0,0,0,0.7);
  transform-style: preserve-3d; will-change: transform;
}
.phone__screen { position: absolute; inset: 8px; border-radius: 42px; overflow: hidden; background: #160b0d; display: flex; flex-direction: column; }
.phone__island { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 96px; height: 28px; border-radius: 99px; background: #000; z-index: 3; }
.phone__glare { position: absolute; inset: 0; z-index: 4; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,0.08), rgba(255,255,255,0) 45%); }
.app__top { padding: 52px 20px 12px; display: flex; justify-content: space-between; align-items: end; }
.app__top small { display: block; font: 600 10px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,244,232,0.5); margin-bottom: 6px; }
.app__top b { font: 800 22px/1 var(--tight); letter-spacing: -0.02em; }
.app__crest { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(255,244,232,0.15); }
.app__map { position: relative; margin: 6px 14px 0; border-radius: 18px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); }
.app__map canvas { display: block; width: 100%; height: auto; }
.app__osm { position: absolute; right: 6px; bottom: 4px; font: 500 7px/1 var(--sans); color: rgba(255,244,232,0.55); text-shadow: 0 1px 1px rgba(0,0,0,0.6); }
.app__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px; }
.app__stats div { border-radius: 14px; padding: 10px 10px 9px; background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01)); box-shadow: inset 0 1px 1px rgba(255,255,255,0.05); }
.app__stats b { display: block; font: 800 19px/1 var(--tight); font-variant-numeric: tabular-nums; }
.app__stats span { font: 500 10px/1.4 var(--sans); color: rgba(255,244,232,0.5); }
.app__btn { margin: 4px 14px 0; border-radius: 16px; padding: 14px; text-align: center; font: 700 14px/1 var(--sans); color: #140b0c; background: var(--text); }
.badge {
  position: absolute; z-index: 5; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,0.09), rgba(255,255,255,0.015));
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 25px 50px -12px rgba(0,0,0,0.8), inset 0 1px 1px rgba(255,255,255,0.2);
}
.badge i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font: 800 14px var(--tight); background: color-mix(in srgb, var(--accent) 30%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 60%, transparent); }
.badge b { display: block; font: 700 14px/1.2 var(--sans); }
.badge i img { filter: drop-shadow(0 2px 3px rgba(0,0,0,0.5)); }
.badge span { font: 500 12px/1.2 var(--sans); color: rgba(255,244,232,0.55); }
.badge--a { top: -22px; left: -110px; } /* above the screen: clear of the app title and the map */
.badge--b { bottom: 120px; right: -120px; }
@media (max-width: 1020px) {
  .card__grid { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; justify-items: center; text-align: center; padding: 84px 18px 26px; gap: 6px; }
  .card__right { display: none; }
  .card__left p { display: none; }
  .phone-wrap { transform-origin: center; align-self: center; }
  .phone { transform: scale(0.7); margin: -90px -45px; }
  .badge--a { left: -30px; top: -34px; } .badge--b { right: -30px; bottom: -6px; }
}
@media (max-height: 720px) and (min-width: 1021px) { .phone { transform: scale(0.82); margin: -55px -27px; } }

/* ---------------------------------------------------- 4 · FORTALEZA ---- */
.build .sc-stage { background: var(--bg); display: grid; align-items: center; }
.build__in { width: min(1320px, 100%); margin: 0 auto; padding: 80px var(--gutter) 40px; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.build__copy { display: grid; gap: 20px; }
.build__copy h2 { font-size: clamp(36px, 4.4vw, 68px); }
.build__copy h2 em { font-style: italic; color: var(--accent); padding-right: 0.08em; }
.build__lede { color: var(--soft); max-width: 30em; }
.steps { list-style: none; margin: 6px 0 0; padding: 0; display: grid; border-top: 1px solid var(--faint); counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--faint); color: rgba(255,244,232,0.38); transition: color 0.35s; }
.steps li::before { content: '0' counter(s); grid-row: span 2; font: 800 14px/1.5 var(--tight); }
.steps b { font: 800 19px/1.3 var(--tight); letter-spacing: -0.02em; }
.steps span { font-size: 14px; }
.steps li.on { color: var(--text); }
.steps li.on::before { color: var(--accent); }
.build__art { position: relative; margin: 0; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; box-shadow: 0 40px 90px -30px rgba(0,0,0,0.9), 0 0 0 1px rgba(255,255,255,0.06); }
.build__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.5s var(--ease); }
.build__art img.on { opacity: 1; }
@media (max-width: 960px) {
  .build__in { grid-template-columns: 1fr; padding-top: 76px; gap: 18px; }
  .build__art { order: -1; border-radius: 16px; }
  .build__lede { display: none; }
  .build__copy { gap: 12px; }
  .steps li { padding: 9px 0; }
  .steps span { font-size: 13px; }
}

/* ------------------------------------------------------ 5 · BATALLA ---- */
.batalla { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.batalla__art { position: absolute; inset: 0; }
.batalla__art img { width: 100%; height: 100%; object-fit: cover; }
.batalla__art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,11,12,0.15) 0%, rgba(20,11,12,0.25) 35%, rgba(20,11,12,0.92) 68%, var(--bg) 100%); }
.batalla__in { position: relative; display: grid; gap: 40px; padding-top: 42vh; padding-bottom: clamp(60px, 10vh, 110px); }
.batalla__head { display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 40px; align-items: end; }
.batalla__head h2 { font-size: clamp(40px, 5.6vw, 88px); }
.batalla__head h2 em { font-style: italic; color: var(--accent); padding-right: 0.08em; }
.batalla__lede { color: rgba(255,244,232,0.8); max-width: 34em; margin-top: 16px; }
.versus { display: flex; align-items: center; gap: 14px; }
.versus figure { margin: 0; width: clamp(110px, 11vw, 150px); border-radius: 16px; overflow: hidden; position: relative; box-shadow: 0 20px 50px -15px rgba(0,0,0,0.9), 0 0 0 1px rgba(255,255,255,0.1); }
.versus img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 20%; }
.versus figcaption { position: absolute; inset: auto 0 0 0; padding: 26px 10px 9px; background: linear-gradient(180deg, transparent, rgba(10,6,8,0.92)); }
.versus small { display: block; font: 600 10px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,244,232,0.6); margin-bottom: 4px; }
.versus b { font: 800 15px/1 var(--tight); }
.versus__vs { font: 900 italic clamp(26px, 2.6vw, 38px)/1 var(--tight); color: var(--accent); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 28px; border-top: 1px solid var(--faint); }
.facts div { display: grid; gap: 6px; padding: 20px 0 0; align-content: start; }
.facts b { font: 700 17px/1.3 var(--tight); letter-spacing: -0.01em; }
.facts p { color: var(--soft); font-size: 14px; }
@media (max-width: 960px) {
  .batalla { display: block; }
  .batalla__in { padding-top: 46vh; gap: 28px; }
  .batalla__head { grid-template-columns: 1fr; gap: 24px; }
  .facts { grid-template-columns: 1fr 1fr; gap: 0 18px; }
  .facts div { padding: 16px 0 6px; }
}

/* --------------------------------------------------- 6 · CLASIFICACIÓN ---- */
.ranks { padding: clamp(100px, 14vh, 160px) 0 clamp(80px, 10vh, 120px); background: radial-gradient(900px 500px at 80% 20%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%), var(--bg); overflow: hidden; }
.ranks__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.ranks__copy { display: grid; gap: 20px; }
.ranks__copy h2 { font-size: clamp(42px, 5.6vw, 88px); }
.ranks__copy h2 em { font-style: italic; color: var(--accent); padding-right: 0.08em; }
.ranks__lede { color: rgba(255,244,232,0.8); font-size: clamp(17px, 1.6vw, 22px); max-width: 24em; }
.board-card { border-radius: 24px; padding: 20px; background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015)); box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 40px 80px -30px rgba(0,0,0,0.9); }
.board-card__head { display: flex; justify-content: space-between; align-items: center; padding: 2px 6px 14px; }
.board-card__head b { font: 700 15px/1 var(--tight); }
.board-card__head span { font: 600 10px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,244,232,0.45); }
.board-card ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.board-card li { display: grid; grid-template-columns: 22px 36px 1fr auto auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,0.03); }
.board-card li.me { background: color-mix(in srgb, var(--accent) 22%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 55%, transparent); }
.board-card li i { font: 800 15px/1 var(--tight); font-style: normal; color: rgba(255,244,232,0.5); }
.board-card li img { width: 36px; height: 36px; object-fit: contain; }
.board-card li span { font: 600 15px/1.2 var(--sans); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board-card li em { font: 600 12px/1 var(--sans); font-style: normal; color: var(--c); }
.board-card li b { font: 800 15px/1 var(--tight); font-variant-numeric: tabular-nums; }
.tiers { margin-top: clamp(56px, 8vh, 90px); overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.tiers::-webkit-scrollbar { display: none; }
.tiers__track { display: flex; gap: 18px; width: max-content; margin: 0 auto; padding: 0 var(--gutter); }
.tiers figure { margin: 0; width: 150px; padding: 22px 12px 16px; border-radius: 22px; display: grid; justify-items: center; gap: 12px; background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.01)); box-shadow: 0 0 0 1px rgba(255,255,255,0.07); }
.tiers figure.top { box-shadow: 0 0 0 1px rgba(226,85,63,0.6), 0 20px 50px -20px rgba(226,85,63,0.7); }
.tiers img { width: 96px; height: 96px; object-fit: contain; }
.tiers figcaption { font: 800 13px/1 var(--tight); letter-spacing: 0.14em; text-transform: uppercase; }
@media (max-width: 900px) {
  .ranks__in { grid-template-columns: 1fr; }
  .board-card li { grid-template-columns: 18px 30px 1fr auto; }
  .board-card li em { display: none; }
  .tiers__track { margin: 0; }
  .tiers figure { width: 120px; }
  .tiers img { width: 76px; height: 76px; }
}

/* -------------------------------------------------------- 7 · CIERRE ---- */
.close { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; overflow: hidden; }
.close__art { position: absolute; inset: 0; }
.close__art img { width: 100%; height: 100%; object-fit: cover; }
.close__art::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 45%, rgba(20,11,12,0.35), rgba(20,11,12,0.88) 75%); }
.close .wrap { position: relative; display: grid; justify-items: center; gap: 22px; padding-top: 80px; padding-bottom: 80px; }
.close h2 { font-size: clamp(46px, 8vw, 128px); }
.close p { color: var(--soft); max-width: 30em; }
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 14px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; padding: 14px 24px; border-radius: 20px; text-decoration: none;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.store small { display: block; font: 700 10px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.6; margin-bottom: 4px; }
.store b { font: 800 19px/1 var(--tight); letter-spacing: -0.02em; }
.store--light { color: #140b0c; background: linear-gradient(180deg, #fff, #f0e6da); box-shadow: 0 2px 4px rgba(0,0,0,0.1), 0 14px 28px -6px rgba(0,0,0,0.45), inset 0 -3px 6px rgba(0,0,0,0.06); }
.store--dark { color: var(--text); background: linear-gradient(180deg, #2c2224, #1a1214); box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 14px 28px -6px rgba(0,0,0,0.9), inset 0 1px 1px rgba(255,255,255,0.12); }
.store:hover { transform: translateY(-3px); }
.foot { padding: 28px 0 36px; color: rgba(255,244,232,0.45); font-size: 13px; }
.foot .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) {
}

/* --------------------------------------------------------- STEPPER ---- */
.stepper { position: fixed; z-index: 60; right: clamp(12px, 2vw, 28px); top: auto; bottom: 24px; display: grid; gap: 8px; }
.stepper button {
  all: unset; cursor: pointer; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: var(--text);
  background: rgba(255, 244, 232, 0.08); border: 1px solid rgba(255, 244, 232, 0.16);
  backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
  transition: background 0.2s, opacity 0.3s, transform 0.2s;
}
.stepper button:hover { background: rgba(255, 244, 232, 0.16); }
.stepper button:active { transform: scale(0.94); }
.stepper button:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.stepper [data-step="down"] { background: var(--text); color: var(--bg); border-color: transparent; }
.stepper [data-step="down"] svg { animation: bob 1.6s ease-in-out infinite; }
.stepper.at-top [data-step="up"], .stepper.at-end [data-step="down"] { opacity: 0; pointer-events: none; }
@media (max-width: 560px) { .stepper { top: auto; bottom: 22px; right: 12px; } .stepper button { width: 42px; height: 42px; } }
@media (prefers-reduced-motion: reduce) { .stepper [data-step="down"] svg { animation: none; } }

/* language switch inside the nav */
.nav .nav__lang { font: 700 12px/1 var(--sans); letter-spacing: 0.1em; color: rgba(255, 244, 232, 0.6); }
.nav .nav__lang:hover { color: var(--text); }

/* ------------------------------------------------------- HERO TAG ---- */
.hero__tag { justify-self: start; display: inline-flex; align-items: center; gap: 14px; padding: 13px 22px 13px 18px; border-radius: 999px;
  font: 800 clamp(16px, 1.7vw, 24px)/1 var(--tight); letter-spacing: 0.01em; color: var(--text);
  background: color-mix(in srgb, var(--accent) 22%, rgba(20, 11, 12, 0.6)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 70%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hero__tag svg { color: var(--accent); flex: none; width: 1.35em; height: auto; }
.hero__tag i { font-style: normal; color: var(--accent); margin: 0 2px; }

/* ----------------------------------------------- HOW THE GAME WORKS ---- */
.how { padding: clamp(90px, 13vh, 150px) 0; background: var(--bg); }
.how h2 { font-size: clamp(40px, 5.4vw, 84px); margin-top: 14px; }
.how h2 em, .faq h2 em { font-style: italic; color: var(--accent); padding-right: 0.08em; }
.how__lede { color: var(--soft); font-size: clamp(16px, 1.4vw, 20px); max-width: 34em; margin-top: 14px; }
.how__loop { margin-top: 28px; font: 800 clamp(18px, 1.7vw, 24px)/1.2 var(--tight); letter-spacing: -0.01em; color: var(--accent); }
.how__grid { list-style: none; margin: clamp(40px, 6vh, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.how__grid li { position: relative; display: grid; gap: 10px; align-content: start; padding: 26px 22px 28px; border-radius: 22px;
  background: linear-gradient(170deg, rgba(255,255,255,0.06), rgba(255,255,255,0.012)); box-shadow: 0 0 0 1px rgba(255,255,255,0.07); }
.how__n { font: 900 64px/0.9 var(--tight); letter-spacing: -0.05em; color: var(--accent); }
.how__grid b { font: 700 12px/1 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: var(--soft); margin-top: 6px; }
.how__grid h3 { font-size: clamp(22px, 1.9vw, 28px); line-height: 1.08; }
.how__grid p { color: var(--soft); font-size: 15px; }
@media (max-width: 1020px) { .how__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .how__grid { grid-template-columns: 1fr; } .how__n { font-size: 48px; } }

/* -------------------------------------------------------------- FAQ ---- */
.faq { padding: clamp(90px, 13vh, 150px) 0; background: var(--bg); }
.faq__in { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq h2 { font-size: clamp(38px, 4.6vw, 72px); margin-top: 14px; }
.faq__list { border-top: 1px solid var(--faint); }
.faq details { border-bottom: 1px solid var(--faint); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font: 700 clamp(17px, 1.5vw, 21px)/1.3 var(--tight); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 500 20px/1 var(--sans); background: rgba(255,244,232,0.08); transition: transform 0.3s var(--ease), background 0.3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--accent); }
.faq summary:focus-visible { outline: 2px solid var(--text); outline-offset: 4px; }
.faq details p { color: var(--soft); padding: 0 48px 22px 0; max-width: 40em; }
@media (max-width: 860px) { .faq__in { grid-template-columns: 1fr; } .faq details p { padding-right: 0; } }

/* ----------------------------------------------------- LANGS + MENU ---- */
.nav__langs { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255, 244, 232, 0.06); }
.nav__langs a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 999px; font: 700 12px/1 var(--sans); letter-spacing: 0.08em; color: rgba(255, 244, 232, 0.6); text-decoration: none; }
.nav__langs a[aria-current="page"] { background: rgba(255, 244, 232, 0.14); color: var(--text); }
.nav__langs a:hover { color: var(--text); }
.flag { width: 20px; height: 13px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25); flex: none; }
.nav__burger { all: unset; cursor: pointer; display: none; width: 38px; height: 38px; margin: -4px -6px -4px -4px; border-radius: 50%; place-content: center; gap: 4px; }
.nav__burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text); transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav__burger:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.menu { position: fixed; inset: 0; z-index: 55; display: grid; align-content: center; padding: 100px var(--gutter) 60px;
  background: rgba(20, 11, 12, 0.95); backdrop-filter: blur(22px) saturate(140%); -webkit-backdrop-filter: blur(22px) saturate(140%);
  opacity: 0; transition: opacity 0.3s var(--ease); }
.menu.open { opacity: 1; }
.menu[hidden] { display: none; }
.menu nav { display: grid; gap: 4px; }
.menu nav a { font: 800 clamp(34px, 9vw, 56px)/1.15 var(--tight); letter-spacing: -0.03em; color: var(--text); text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--faint); }
.menu nav a:hover { color: var(--accent); }
@media (max-width: 1080px) {
  .nav .nav__opt { display: none; }
  .nav__burger { display: grid; }
}
@media (max-width: 560px) {
  .nav { gap: 10px; padding: 8px 10px 8px 16px; }
  .nav__langs a span { display: none; }
  .nav__langs a { padding: 6px; }
  .nav .nav__cta { padding: 8px 12px; font-size: 12px; margin: -2px 0; }
  .nav .nav__brand { letter-spacing: 0.18em; }
}

/* ------------------------------------------------------ STORE BADGES ---- */
/* Own "coming soon" badges: Apple and Google only allow their marks inside
   the official badges, which may be used once the app is actually listed. */
.store, .store--light, .store--dark {
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 16px; border-radius: 13px; text-decoration: none;
  color: #fff; background: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.32), 0 14px 28px -10px rgba(0, 0, 0, 0.8);
}
.store:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6), 0 14px 28px -10px rgba(0, 0, 0, 0.8); }
.store__icon { flex: none; opacity: 0.9; }
.store small { display: block; font: 600 10px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.75; margin-bottom: 4px; }
.store b { font: 700 20px/1 var(--sans); letter-spacing: -0.01em; }
@media (max-width: 560px) {
  .hero__row .store { padding: 8px 12px 8px 10px; gap: 8px; border-radius: 11px; }
  .hero__row .store b { font-size: 15px; }
  .hero__row .store small { font-size: 8px; letter-spacing: 0.04em; }
  .hero__row .store__icon { width: 14px; height: 20px; }
}

/* ------------------------------------------------------ ATTACK CLIP ---- */
.batalla__head { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.attack { position: relative; margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 9; background: #120a0c;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 40px 90px -30px rgba(0, 0, 0, 0.95); }
.attack__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.attack__hud { position: absolute; inset: 0 0 auto 0; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px;
  background: linear-gradient(180deg, rgba(10, 6, 8, 0.85), transparent); }
.attack__side { display: flex; align-items: center; gap: 8px; }
.attack__side img { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; object-position: 50% 18%; box-shadow: 0 0 0 2px rgba(255, 244, 232, 0.6); }
.attack__side--r { text-align: right; }
.attack__side small { display: block; font: 600 9px/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 244, 232, 0.65); margin-bottom: 3px; }
.attack__side b { font: 800 14px/1 var(--tight); }
.attack__vs { font: 900 italic 22px/1 var(--tight); color: var(--accent); text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7); }
.attack__bar { position: absolute; inset: auto 0 0 0; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px 14px;
  font: 700 12px/1 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; background: linear-gradient(0deg, rgba(10, 6, 8, 0.9), transparent); }
.attack__bar b { font: 800 14px/1 var(--tight); color: var(--text); font-variant-numeric: tabular-nums; }
.attack__bar i { height: 6px; border-radius: 3px; background: rgba(255, 244, 232, 0.16); overflow: hidden; }
.attack__bar s { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); text-decoration: none; }
@media (max-width: 960px) { .batalla__head { grid-template-columns: 1fr; } }

/* ------------------------------------------------- LANGUAGE PICKER ---- */
.lang { position: relative; }
.lang__btn { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 999px;
  font: 700 12px/1 var(--sans); letter-spacing: 0.08em; color: var(--text); background: rgba(255, 244, 232, 0.08); }
.lang__btn:hover { background: rgba(255, 244, 232, 0.14); }
.lang__btn:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.lang__caret { opacity: 0.7; transition: transform 0.25s var(--ease); }
.lang__btn[aria-expanded="true"] .lang__caret { transform: rotate(180deg); }
.lang__menu { position: absolute; top: calc(100% + 10px); right: 0; padding: 6px; border-radius: 14px; white-space: nowrap;
  background: rgba(28, 16, 18, 0.96); box-shadow: 0 0 0 1px rgba(255, 244, 232, 0.14), 0 20px 40px -12px rgba(0, 0, 0, 0.8); }
.lang__menu[hidden] { display: none; }
.lang__menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; font: 600 14px/1 var(--sans); color: var(--text); text-decoration: none; }
.lang__menu a:hover { background: rgba(255, 244, 232, 0.1); }
@media (max-width: 560px) { .lang__btn span { display: none; } .lang__btn { padding: 7px 8px; } }

/* ------------------------------------------- CTA AT THE END OF THE RIDE ---- */
.ride__cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin-top: 10px; pointer-events: auto; }
.btn-how { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; text-decoration: none;
  font: 700 15px/1 var(--sans); color: var(--bg); background: var(--text); box-shadow: 0 14px 28px -10px rgba(0, 0, 0, 0.8); transition: transform 0.3s var(--ease); }
.btn-how:hover { transform: translateY(-2px); }
.btn-how svg { animation: bob 1.6s ease-in-out infinite; }
.ride__title { text-shadow: 0 4px 30px rgba(0, 0, 0, 0.55); }
.ride__title::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(70% 45% at 50% 52%, rgba(20, 11, 12, 0.55), rgba(20, 11, 12, 0) 100%); }
@media (max-width: 560px) {
  .ride__cta .store { padding: 8px 12px 8px 10px; gap: 8px; border-radius: 11px; }
  .ride__cta .store b { font-size: 15px; }
  .ride__cta .store small { font-size: 8px; letter-spacing: 0.04em; }
  .ride__cta .store__icon { width: 14px; height: 20px; }
  .btn-how { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .btn-how svg { animation: none; } }
.foot__legal { margin-top: 10px; font-size: 11px; line-height: 1.5; color: rgba(255, 244, 232, 0.32); }
@media (max-width: 560px) { .hero__row .store__icon, .ride__cta .store__icon { width: 16px; height: 18px; } }

/* --------------------------------------------------- FACTION CAROUSEL ---- */
/* Adapted from the Elemental Sidekick faction picker: an endless, slowly
   drifting row of plates; the plate nearest the centre is the active faction
   and its art fills the section behind a heavy blur. */
.factions { position: relative; overflow: hidden; min-height: 100svh; padding: clamp(74px, 9vh, 100px) 0 clamp(32px, 5vh, 60px); background: var(--bg-2); isolation: isolate; }
.factions__bg { position: absolute; inset: -40px; z-index: -1; }
.factions__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(36px) saturate(1.2); opacity: 0; transform: scale(1.1); transition: opacity 0.9s var(--ease); }
.factions__bg img.on { opacity: 0.55; }
.factions__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(20, 11, 12, 0.35) 30%, rgba(20, 11, 12, 0.45) 70%, var(--bg) 100%); }
.factions__head { display: grid; justify-items: center; text-align: center; gap: 8px; }
.factions__head h2 { font-size: clamp(38px, 5.2vw, 80px); }
.factions__head p:last-child { color: rgba(255, 244, 232, 0.8); font-size: clamp(17px, 1.5vw, 21px); }
.carousel { position: relative; height: calc(var(--card-w) * 16 / 9 + 34px); margin-top: clamp(14px, 3vh, 32px); touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none;
  /* card height tracks the viewport so the name and motto stay on screen with the plates */
  --card-w: clamp(170px, min(62vw, calc((100svh - 430px) * 0.5625)), 290px); }
.carousel.dragging { cursor: grabbing; }
.carousel__track { position: absolute; inset: 0; }
.fcard { all: unset; position: absolute; top: 8px; left: 0; width: var(--card-w); aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; cursor: pointer;
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.08); transform-origin: 50% 100%; will-change: transform; }
.fcard img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.fcard span { position: absolute; inset: auto 0 0 0; padding: 40px 16px 16px; font: 800 20px/1 var(--tight); letter-spacing: -0.02em;
  background: linear-gradient(180deg, transparent, rgba(10, 6, 8, 0.9)); }
.fcard.active { box-shadow: 0 0 0 3px var(--c), 0 30px 70px -20px rgba(0, 0, 0, 0.95); }
.fcard:focus-visible { outline: 3px solid var(--text); outline-offset: 4px; }
.factions__info { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; margin-top: 6px; }
.factions__text { display: grid; justify-items: center; text-align: center; gap: 6px; min-height: 130px; }
.factions__epithet { font: 700 12px/1 var(--sans); letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent); }
.factions__name { font-size: clamp(36px, 4.4vw, 64px); transition: color 0.4s; }
.factions__motto { color: rgba(255, 244, 232, 0.8); font-size: clamp(16px, 1.4vw, 19px); }
.factions__dots { display: flex; gap: 10px; margin-top: 8px; }
.factions__dots button { all: unset; cursor: pointer; width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 244, 232, 0.25); transition: transform 0.3s, background 0.3s; }
.factions__dots button[aria-current="true"] { background: var(--c); transform: scale(1.4); }
.factions__dots button:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.factions__nav { all: unset; cursor: pointer; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: var(--text);
  background: rgba(255, 244, 232, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 244, 232, 0.18); transition: background 0.2s; }
.factions__nav:hover { background: rgba(255, 244, 232, 0.16); }
.factions__nav:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
/* phones swipe; the dots stay as the tap target, the arrows would collide with the page stepper */
@media (max-width: 560px) { .factions__nav { display: none; } .factions__info { grid-template-columns: 1fr; } }

/* ------------------------------------------------------- GAME BUTTON ---- */
/* Adapted from the Elemental Sidekick PrimaryButton: square, accent-filled,
   tracked uppercase label, and a blade of light that sweeps across on hover,
   on press and once when it first comes into view. */
.btn-game { all: unset; box-sizing: border-box; position: relative; overflow: hidden; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 28px; background: var(--accent); color: #fff; text-decoration: none;
  font: 800 13px/1 var(--tight); letter-spacing: 0.22em; text-transform: uppercase;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: background 0.15s, transform 0.15s; }
.btn-game::after { content: ''; position: absolute; top: -20px; bottom: -20px; left: 0; width: 70px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), rgba(255,255,255,0.55), rgba(255,255,255,0.18), transparent);
  transform: translateX(-140px) rotate(18deg); }
.btn-game.shine::after { animation: blade 0.7s ease-in-out; }
.btn-game:hover::after { animation: blade 0.7s ease-in-out; }
.btn-game:active { background: color-mix(in srgb, var(--accent) 80%, #000); transform: translateY(1px); }
.btn-game:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.btn-game[disabled] { opacity: 0.5; cursor: progress; }
.btn-game span { position: relative; }
.btn-game--wide { width: 100%; }
@keyframes blade { from { transform: translateX(-140px) rotate(18deg); } to { transform: translateX(calc(100vw)) rotate(18deg); } }
@media (prefers-reduced-motion: reduce) { .btn-game::after { display: none; } }

/* ---------------------------------------------------------- WAITLIST ---- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.join { display: grid; gap: 12px; width: 100%; max-width: 460px; text-align: left; }
.join__field input { box-sizing: border-box; width: 100%; height: 56px; padding: 0 18px; border-radius: 0; border: 1px solid rgba(255,244,232,0.25);
  background: rgba(10, 6, 8, 0.55); color: var(--text); font: 500 16px/1 var(--sans); }
.join__field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent); }
.join__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.join__consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: rgba(255,244,232,0.75); cursor: pointer; }
.join__consent input { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--accent); flex: none; }
.join__consent a { color: var(--text); }
.join__msg { min-height: 1.4em; font-size: 14px; color: rgba(255,244,232,0.85); }
.join__msg.err { color: #ff9a8a; }
.join.done .join__field, .join.done .join__consent, .join.done .btn-game { display: none; }
.join.done .join__msg { font: 700 17px/1.4 var(--tight); color: var(--text); }
.close__form { display: grid; justify-items: center; width: 100%; margin-top: 8px; }

/* ------------------------------------------------------------- MODAL ---- */
.modal { width: min(520px, calc(100vw - 32px)); padding: 30px 28px 26px; border: 0; color: var(--text); background: #1c1013;
  box-shadow: 0 0 0 1px rgba(255,244,232,0.12), 0 40px 90px -20px rgba(0,0,0,0.9); }
.modal::backdrop { background: rgba(10, 6, 8, 0.72); backdrop-filter: blur(6px); }
.modal h2 { font-size: clamp(30px, 4vw, 40px); margin: 10px 0 8px; }
.modal__text { color: rgba(255,244,232,0.75); margin-bottom: 18px; }
.modal .join { max-width: none; }
.modal__x { all: unset; cursor: pointer; position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; display: grid; place-items: center; font-size: 26px; color: rgba(255,244,232,0.7); }
.modal__x:hover { color: var(--text); }
.modal__x:focus-visible { outline: 2px solid var(--text); }

/* thank-you after the Stripe purchase: badge, what happens next, share */
.modal--thanks { text-align: center; padding-top: 34px; }
.thanks__shield { display: block; margin: 0 auto 6px; filter: drop-shadow(0 8px 22px color-mix(in srgb, var(--accent) 45%, transparent)); }
.modal--thanks .modal__text { margin-bottom: 16px; }
.thanks__steps { list-style: none; counter-reset: s; margin: 0 0 20px; padding: 0; display: grid; gap: 8px; text-align: left; }
.thanks__steps li { counter-increment: s; position: relative; padding: 10px 12px 10px 44px; border-radius: 12px; background: rgba(255,244,232,0.05); color: rgba(255,244,232,0.75); font-size: 14px; line-height: 1.4; }
.thanks__steps li::before { content: counter(s); position: absolute; left: 12px; top: 10px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 800 12px/1 var(--tight); color: var(--bg); background: var(--accent); }
.thanks__steps b { color: var(--text); }
.thanks__shield--pioneer { filter: drop-shadow(0 8px 22px rgba(224, 96, 63, 0.45)); }
.thanks__up { display: grid; gap: 4px; margin: 0 0 14px; padding: 14px 16px; border-radius: 14px; text-align: left; background: color-mix(in srgb, var(--accent) 14%, transparent); }
.thanks__up b { font: 700 15px/1.3 var(--tight); }
.thanks__up span { color: rgba(255,244,232,0.75); font-size: 14px; line-height: 1.4; }
.thanks__share { all: unset; cursor: pointer; display: inline-block; margin-top: 14px; font-size: 14px; color: rgba(255,244,232,0.75); text-decoration: underline; text-underline-offset: 3px; }
.thanks__share:hover { color: var(--text); }
.thanks__share:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.thanks__done { margin: 10px 0 0; font-size: 13px; color: rgba(255,244,232,0.7); }

/* early access pop-up: credit banner + one tier card, like the Elemental Sidekick pricing modal */
.modal--early { width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 30px 26px 24px; }
.modal--early h2 { margin: 0 44px 18px 0; text-transform: uppercase; letter-spacing: 0.02em; }
.early__credit { display: flex; align-items: center; gap: 10px; margin: 0 0 26px; padding: 12px 14px; color: #34d399; background: rgba(16,185,129,0.1);
  box-shadow: inset 0 0 0 1px rgba(16,185,129,0.25); font: 600 15px/1.4 var(--sans); text-align: center; }
.early__credit > span:nth-child(2) { flex: 1; }
.early__chev { flex: none; display: grid; }
.early__chev--l { transform: scaleX(-1); }
.early__card { position: relative; display: grid; gap: 18px; padding: 26px 22px 20px; background: linear-gradient(160deg, rgba(255,255,255,0.07), rgba(255,255,255,0.015));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 60%, transparent), 0 20px 50px -20px color-mix(in srgb, var(--accent) 40%, transparent); }
.early__badge { position: absolute; top: -12px; right: 16px; padding: 5px 12px; background: var(--accent); color: #fff; font: 800 11px/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; }
.early__head { display: flex; align-items: center; gap: 12px; }
.early__head img { }
.early__head h3 { margin: 0; font: 800 clamp(22px, 3vw, 28px)/1.1 var(--tight); letter-spacing: -0.01em; }
.early__card .founder__price b { font-size: clamp(40px, 5vw, 52px); }
@media (max-width: 520px) { .early__chev { display: none; } .modal--early { padding: 26px 18px 20px; } }

/* ---------------------------------------------------------- FOUNDER ---- */
.founder { padding: clamp(90px, 13vh, 150px) 0; background: radial-gradient(800px 500px at 75% 50%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%), var(--bg); }
.founder__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.founder__copy { display: grid; gap: 18px; }
.founder__copy h2 { font-size: clamp(42px, 5.6vw, 88px); }
.founder__copy h2 em { font-style: italic; color: var(--accent); padding-right: 0.08em; }
.founder__lede { color: rgba(255,244,232,0.8); font-size: clamp(17px, 1.5vw, 21px); max-width: 26em; }
.founder__card { display: grid; gap: 20px; padding: 30px 28px; background: linear-gradient(160deg, rgba(255,255,255,0.07), rgba(255,255,255,0.015));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent), 0 40px 80px -30px rgba(0,0,0,0.9);
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px); }
.founder__price { display: flex; align-items: baseline; gap: 10px; }
.founder__price b { font: 900 clamp(48px, 5vw, 64px)/1 var(--tight); letter-spacing: -0.04em; }
.founder__price span { font: 600 13px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,244,232,0.6); }
.founder__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.founder__list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font: 600 16px/1.35 var(--sans); }
.founder__list svg { color: var(--accent); margin-top: 2px; }
.founder__small { font-size: 13px; color: rgba(255,244,232,0.55); text-align: center; }
@media (max-width: 860px) { .founder__in { grid-template-columns: 1fr; } }
/* the ride's end button keeps its arrow but takes the game-button skin */
.btn-game.btn-how { border-radius: 0; box-shadow: none; gap: 10px; }

/* ------------------------------------------------------- HERO: CTAS ---- */
/* the tag says straight away that this is a game for cyclists; compact so the button column still fits */
.hero__tag { padding: 8px 16px 8px 13px; gap: 10px; font-size: 14px; }
/* one narrow column of buttons, like the Elemental Sidekick hero */
.hero__cta { display: grid; gap: 10px; width: 320px; max-width: 100%; margin-top: 6px; }
.hero__cta > a { width: 100%; min-height: 52px; padding: 0 18px; }
.hero__or { display: flex; align-items: center; gap: 12px; margin: 0; font: 700 10px/1 var(--tight); letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255,244,232,0.5); }
.hero__or::before, .hero__or::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,244,232,0.35), transparent); }
.btn-outline { display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; font: 600 14px/1 var(--sans); color: rgba(255,244,232,0.85);
  box-shadow: inset 0 0 0 1px rgba(255,244,232,0.28); transition: background 0.2s, color 0.2s; }
.btn-outline:hover { background: rgba(255,244,232,0.06); color: var(--text); }
.btn-outline:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.btn-outline svg { animation: bob 1.6s ease-in-out infinite; }
.btn-game--glow { box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 60%, #fff 0%), 0 0 30px color-mix(in srgb, var(--accent) 55%, transparent); }
.btn-ghost { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px; text-decoration: none;
  font: 800 13px/1 var(--tight); letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--accent) 60%, #fff);
  background: rgba(10, 6, 8, 0.6); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 55%, transparent), 0 0 24px color-mix(in srgb, var(--accent) 22%, transparent);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); transition: background 0.2s; }
.btn-ghost:hover { background: color-mix(in srgb, var(--accent) 18%, rgba(10, 6, 8, 0.6)); }
.btn-ghost:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.hero__note { max-width: 320px; margin: 10px 0 12px; font: 500 14px/1.45 var(--sans); color: rgba(255,244,232,0.72); }
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.store-mini { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: rgba(255, 244, 232, 0.75); font: 500 13px/1 var(--sans); }
.store-mini b { color: var(--text); font-weight: 700; }
.store-mini .store__icon { width: 16px; height: 18px; }
.store-mini:hover { color: var(--text); }
@media (max-width: 560px) {
  .hero__cta { width: min(100%, 300px); }
  .hero__cta > a { min-height: 48px; }
  .hero__cta .btn-game, .hero__cta .btn-ghost { letter-spacing: 0.14em; }
  .hero__meta { padding-right: 56px; } /* clear of the up/down buttons */
  .hero__sub { font-size: 14px; }
  .hero__cta { gap: 8px; }
  /* the cyclist tag must sit below the mark, not on it */
  .hero { padding-bottom: 14px; }
  .hero__in { gap: 10px; }
}
/* short desktop screens: the CTA stack needs the room, keep the headline clear of the mark */
@media (min-width: 861px) and (max-height: 920px) {
  .hero h1 { font-size: clamp(28px, 5.4vh, 50px); }
  .hero__in { gap: 10px; }
  .hero { padding-bottom: 22px; }
  .hero__cta { gap: 8px; }
  .hero__cta > a { min-height: 46px; }
}

/* ------------------------------------------------------ LEGAL PAGES ---- */
body.legal { background: var(--bg); }
.legal__top { display: flex; justify-content: space-between; align-items: center; padding: 22px var(--gutter); }
.legal__top a { color: rgba(255,244,232,0.75); text-decoration: none; font: 600 14px/1 var(--sans); }
.legal__top .legal__brand { font: 800 15px/1 var(--tight); letter-spacing: 0.24em; color: var(--text); }
.legal__main { width: min(720px, 100% - 2 * var(--gutter)); margin: 0 auto; padding: 40px 0 80px; }
.legal__main .eyebrow a { color: inherit; text-decoration: none; }
.legal__main h1 { font-size: clamp(36px, 5vw, 60px); margin: 14px 0 28px; }
.legal__main h2 { font-size: 20px; margin: 34px 0 10px; }
.legal__main p, .legal__main li { color: rgba(255,244,232,0.82); font-size: 16px; line-height: 1.6; }
.legal__main ul { padding-left: 1.2em; margin: 8px 0; }
.legal__main a { color: var(--text); }
.legal__foot { padding: 28px var(--gutter) 40px; border-top: 1px solid rgba(255,244,232,0.1); font-size: 14px; color: rgba(255,244,232,0.5); text-align: center; }
.legal__foot a { color: rgba(255,244,232,0.75); text-decoration: none; }
.legal__foot a[aria-current] { color: var(--text); }
.foot__links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot__links a { color: rgba(255,244,232,0.75); text-decoration: none; }
.foot__links a:hover { color: var(--text); }
.founder__small a { color: rgba(255,244,232,0.8); }
.founder__list li.is-key { padding: 10px 12px; margin: 0 -12px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 16%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent); }
.founder__list li.is-key b { display: block; font-weight: 800; color: var(--text); }
.founder__list li.is-key span { font-weight: 500; color: rgba(255,244,232,0.8); }

/* deep links (#founder from the emails) land below the floating nav */
.founder { scroll-margin-top: 84px; }
/* the same green credit banner as in the pop-up, on top of the early access card */
.founder__credit { margin: 4px -12px 12px; padding: 10px 12px; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(16,185,129,0.45); font-size: 14px; }
/* WhatsApp direct chat with Emilio, in the success pop-ups */
.btn-wa { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 52px; margin-top: 10px; border-radius: 12px; text-decoration: none; font: 700 15px/1 var(--sans); color: #fff; background: #1da851; transition: filter .15s; }
.btn-wa:hover { filter: brightness(1.08); }
.btn-wa:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

/* ===================================================================
   v4 · the app's low-poly look (KayKit, rendered in Unity)
   Everything below overrides the pixel-art rules above for the new
   renders; the old .pix class is no longer used on the page.
   =================================================================== */
.ride .sc-stage { background: var(--bg); }
.ride canvas, .thanks__shield, .early__head img, .badge i img { image-rendering: auto; }
/* the mark stands in the dark sky above the island, like a title over a diorama */
.ride__brand { place-items: start center; padding: calc(clamp(12px, 2.6vh, 24px) + 64px) 0 0; z-index: 2; }
.ride__brand span { font-size: min(15vw, 23vh); letter-spacing: 0.02em; color: var(--text);
  text-shadow: 0 2px 0 rgba(0,0,0,0.35), 0 14px 60px rgba(0,0,0,0.6); }
@media (max-aspect-ratio: 4/5) {
  .ride__brand { padding-bottom: 0; padding-top: calc(clamp(12px, 2.6vh, 24px) + 70px); }
  .ride__brand span { font-size: 21vw; }
}
.ride__veil { background: linear-gradient(180deg, rgba(20,11,12,0.35), rgba(20,11,12,0) 22%, rgba(20,11,12,0) 70%, rgba(20,11,12,0.5)); }
/* the closing line sits over the soft castle at the top of the last frame, clear of the troops */
.ride__title { place-content: start center; padding-top: calc(clamp(12px, 2.6vh, 24px) + 92px); }
.ride__title::before { background: radial-gradient(80% 42% at 50% 18%, rgba(20,11,12,0.62), rgba(20,11,12,0) 100%); }
/* wide screens: copy in a left column over a side shade, the island stays visible */
@media (min-width: 861px) {
  /* one shade from the lower left corner; it fades out before the box edge, so no seam */
  .hero { padding-top: 34vh; background: radial-gradient(100% 125% at 0% 100%, rgba(20,11,12,0.93) 0%, rgba(20,11,12,0.84) 38%, rgba(20,11,12,0.55) 64%, rgba(20,11,12,0) 100%); }
  .hero h1 br.m { display: inline; }
  .hero__sub { max-width: 27em; }
}
.hero h1, .hero__sub { text-shadow: 0 2px 18px rgba(0,0,0,0.55); }

/* demo phones with real app screens */
.mini__screen.m-full { padding: 0; gap: 0; }
.m-full > img { width: 100%; height: 100%; object-fit: cover; }
.m-img { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 0 0 1px rgba(255,255,255,0.06); }
.m-chip { width: 100%; height: auto; }
.m-pill svg { flex: none; color: var(--accent); }
.m-cycle { position: relative; flex: 1; min-height: 0; border-radius: 14px; background: radial-gradient(70% 55% at 50% 60%, color-mix(in srgb, var(--accent) 26%, transparent), rgba(255,255,255,0.02) 75%); }
.m-cycle img { position: absolute; left: 50%; top: 50%; width: 128px; height: 128px; margin: -70px 0 0 -64px; opacity: 0; transform: scale(0.86); transition: opacity 0.35s, transform 0.45s var(--ease); filter: drop-shadow(0 10px 14px rgba(0,0,0,0.55)); }
.m-cycle img.on { opacity: 1; transform: none; }
.m-cap { text-align: center; font: 800 18px/1 var(--tight); letter-spacing: -0.01em; }
.m-attrib { font: 500 8px/1.2 var(--sans); color: rgba(255,244,232,0.45); }

/* card act: a real map screen from the app */
.phone__screen > img.phone__shot { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.attrib { font: 500 11px/1.3 var(--sans); color: rgba(255,244,232,0.55); }
.phone-wrap .attrib { position: absolute; left: 0; right: 0; bottom: -26px; text-align: center; }
@media (max-width: 1020px) { .phone-wrap .attrib { bottom: -88px; } }

/* how: the camp ladder, flag to castle */
.ladder { margin: clamp(36px, 5vh, 56px) 0 0; padding: 22px 22px 18px; border-radius: 22px; background: linear-gradient(170deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01)); box-shadow: 0 0 0 1px rgba(255,255,255,0.07); }
.ladder figcaption { color: var(--soft); font-size: 15px; margin-bottom: 10px; }
.ladder ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; align-items: end; }
.ladder li { display: grid; justify-items: center; gap: 6px; font: 700 13px/1.2 var(--tight); text-align: center; color: rgba(255,244,232,0.85); }
.ladder img { width: clamp(64px, 8vw, 112px); height: auto; filter: drop-shadow(0 10px 14px rgba(0,0,0,0.55)); }
.ladder li::after { content: none; }
@media (max-width: 560px) { .ladder ol { grid-template-columns: repeat(3, 1fr); row-gap: 14px; } .ladder { padding: 18px 12px 16px; } }

/* fortaleza: four renders of the same island, same camera */
.build__art { aspect-ratio: 16 / 10; background: #1d1013; }
@media (max-width: 960px) { .build__art { aspect-ratio: 1 / 1; width: min(100%, 32svh); justify-self: center; } }

/* factions: one hero per faction on its hex plate, lit in the faction colour */
.carousel { --card-w: clamp(170px, min(62vw, calc((100svh - 430px) * 0.8)), 300px); height: calc(var(--card-w) * 5 / 4 + 34px); }
.fcard { aspect-ratio: 4 / 5; background: radial-gradient(95% 75% at 50% 78%, color-mix(in srgb, var(--c) 42%, #1d1013), #170d0f 78%); }
.fcard img { object-fit: contain; object-position: 50% 30%; padding: 4% 4% 14%; }
.factions__bg img { filter: blur(60px) saturate(1.3); }
.factions__bg img.on { opacity: 0.4; }

/* battle: a still from the game world, copy below it */
.batalla__head { grid-template-columns: 1fr; }
.batalla__art img { object-position: 50% 30%; }

/* ranks: rendered emblems and the title the app gives you */
.tiers figure.top { box-shadow: 0 0 0 1px rgba(200,42,34,0.7), 0 20px 50px -20px rgba(200,42,34,0.8); }
.title-chip { margin: 6px 0 0; display: grid; gap: 10px; justify-items: start; }
.title-chip img { width: min(100%, 420px); height: auto; filter: drop-shadow(0 14px 24px rgba(0,0,0,0.6)); }
.title-chip figcaption { color: var(--soft); font-size: 15px; max-width: 26em; }

/* close: the troop leaves the castle at golden hour. The render is pinned to the
   bottom at full width; its top fades into the page colour, so the copy sits in
   the dark above it and the section grows by the visible part of the scene. */
.close { --art-h: 56.25vw; min-height: 0; place-items: start center; }
@media (max-aspect-ratio: 4/5) { .close { --art-h: 144.4vw; } }
.close .wrap { padding-top: clamp(96px, 13vh, 150px); padding-bottom: calc(var(--art-h) * 0.6); }
.close__art img { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: auto; }
.close__art::after { background: linear-gradient(180deg, var(--bg) 0%, rgba(20,11,12,0) 35%, rgba(20,11,12,0) 85%, rgba(20,11,12,0.55) 100%); }
.close p { color: rgba(255,244,232,0.82); }

/* phones: the island shows between the mark and the copy; the shade only sits behind the buttons */
@media (max-width: 860px) {
  .hero { background: linear-gradient(180deg, rgba(20,11,12,0) 0%, rgba(20,11,12,0.55) 22%, rgba(20,11,12,0.86) 48%, rgba(20,11,12,0.95) 100%); }
}
@media (max-width: 560px) {
  .hero__sub { display: none; }
  .beat { padding-right: 52px; } /* clear of the up/down buttons */
}
@media (max-width: 1020px) {
  .badge { max-width: 220px; }
  .badge--a { top: 34%; left: -70px; }
  .badge--b { top: auto; bottom: 20%; right: -70px; }
}
/* badges sit over the bright map screen: give them a solid dark plate so the small line reads */
.badge { text-align: left; background: linear-gradient(135deg, rgba(40,22,25,0.94), rgba(20,11,12,0.9)); }
.badge span { color: rgba(255,244,232,0.72); }
@media (max-width: 560px) { .steps { padding-right: 50px; } }
.m-cycle { background: radial-gradient(60% 40% at 50% 62%, color-mix(in srgb, var(--accent) 38%, transparent), transparent 70%), linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01)); }
.m-cycle img { width: 150px; height: 150px; margin: -82px 0 0 -75px; }

/* ---------------------------------------------------- fix pass, 7 Nov ---- */
/* the up button keeps one colour over every section */
.stepper [data-step="up"] { background: #221719; border-color: rgba(255,244,232,0.18); }
.stepper [data-step="up"]:hover { background: #2e2023; }
/* beat 1's right phone stays clear of the page buttons */
@media (min-width: 861px) { .ride .demo { right: calc(var(--gutter) + 72px); } }

/* text over the renders gets a real shade, soft at every edge */
.beat::before { content: ''; position: absolute; z-index: -1; pointer-events: none;
  left: calc(-1 * var(--gutter)); bottom: calc(-1 * clamp(48px, 11vh, 110px)); width: min(100vw, 1100px); height: calc(100% + 40vh);
  background: radial-gradient(100% 100% at 0% 100%, rgba(14,8,9,0.9), rgba(14,8,9,0.74) 45%, rgba(14,8,9,0.3) 72%, rgba(14,8,9,0) 92%); }
.ride__title::before { background: radial-gradient(80% 46% at 50% 18%, rgba(14,8,9,0.75), rgba(14,8,9,0) 100%); }
@media (max-width: 860px) {
  .beat::before { right: calc(-1 * var(--gutter)); width: auto; height: calc(100% + 30vh);
    background: linear-gradient(0deg, rgba(14,8,9,0.88) 0%, rgba(14,8,9,0.7) 45%, rgba(14,8,9,0) 100%); }
}

/* phones: one way in on the first screen */
@media (max-width: 560px) {
  /* «Descubre más» shows on phones too (Emilio 2 Dec). */
  .hero__cta .hero__or { margin: -2px 0; }
  .hero__note { font-size: 13px; }
}

/* the map badges stay off the phone screen: beside it on tablets, gone on phones (the card text says the same) */
@media (max-width: 1020px) and (min-width: 761px) {
  .badge { max-width: 200px; }
  .badge--a { top: 14%; left: auto; right: calc(100% + 14px); bottom: auto; }
  .badge--b { top: auto; bottom: 18%; right: auto; left: calc(100% + 14px); }
}
@media (max-width: 760px) { .badge { display: none; } }

/* ranking: the km of the "you" row stays clear of the page buttons */
@media (max-width: 560px) { #ranking li { padding-right: 56px; } }

/* fortress act on short phones: only the lit step shows its line, so step 04 fits */
@media (max-width: 960px) and (max-height: 900px) {
  .steps li span { display: none; }
  .steps li.on:not(:has(+ li.on)) span { display: block; } /* steps stay lit as you go: only the newest one shows its line */
}

/* the emperor on his bike-horse: a background figure behind the copy */
.hero__in { position: relative; z-index: 2; }
.hero__rider { display: block; position: absolute; z-index: 1; aspect-ratio: 688 / 1040; pointer-events: none; }
.hero__rider img { display: block; width: 100%; height: 100%; object-fit: contain; }
@media (min-width: 861px) {
  .hero__rider { right: clamp(84px, 7.5vw, 120px); bottom: clamp(12px, 2.5vh, 30px); height: min(42vh, 380px); }
  .hero__rider img { position: relative; z-index: 1; filter: drop-shadow(0 18px 24px rgba(0,0,0,0.35)); }
  .hero__rider::after { content: ''; position: absolute; left: 6%; right: 4%; bottom: -1.5%; height: 7%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,0.5), rgba(0,0,0,0)); }
}
@media (min-width: 1100px) { .hero__rider { height: min(56vh, 520px); } }
/* phones: the same rider, dimmed, behind the right end of the headline; anchored to the h1 so it follows its height in every language */
.hero__rider-m { display: none; }
@media (max-width: 860px) {
  .hero__rider { display: none; }
  .hero h1 { position: relative; }
  .hero__rider-m { display: block; position: absolute; z-index: -1; right: calc(-1 * var(--gutter)); top: 50%; height: clamp(300px, 92vw, 380px); aspect-ratio: 688 / 1040; transform: translate(36%, -52%); pointer-events: none; }
  .hero__rider-m img { display: block; width: 100%; height: 100%; object-fit: contain; filter: brightness(0.55) saturate(0.9); }
}

/* desktop composition: nothing overlaps. The mark stays centred at the top; site.js shrinks it only when the copy below needs the room. */
@media (min-width: 861px) and (min-aspect-ratio: 4/5) {
  /* the two ways in side by side, "or" between them; discover more under both */
  .hero__cta { grid-template-columns: auto auto auto; justify-content: start; align-items: center; width: auto; max-width: 100%; column-gap: 12px; }
  .hero__cta > a:not(.btn-outline) { width: auto; padding: 0 22px; white-space: nowrap; letter-spacing: 0.12em; }
  .hero__cta .btn-outline { grid-column: 1 / -1; }
  .hero__cta .hero__or::before, .hero__cta .hero__or::after { display: none; }
  .hero__note { max-width: 560px; }
}
/* between phone and wide layout the copy column leaves no room on the meadow: no rider there */
@media (min-width: 861px) and (max-width: 1099px) { .hero__rider { display: none; } }
/* low laptop windows: the copy takes fewer lines so the centred mark keeps more of its size */
@media (min-width: 1100px) and (min-aspect-ratio: 4/5) {
  .hero__sub { max-width: 36em; }
  .hero__note { max-width: 640px; }
}
@media (min-width: 861px) and (max-height: 800px) and (min-aspect-ratio: 4/5) {
  .hero { padding-bottom: 18px; }
  .hero__in { gap: 12px; }
}

/* Official Google Play badge (live since 2 Dec 2026). Google asks for clear space around it and no changes to the art. */
.store-play { display: inline-flex; align-items: center; transition: transform 0.4s var(--ease); }
.store-play img { display: block; height: 56px; width: auto; }
.store-play:hover { transform: translateY(-3px); }
.store-play--mini img { height: 34px; }
.hero .store-play img { height: 50px; }
.hero .store-play--mini img { height: 40px; }
/* Hero, 2 Dec 2026: Google Play badge first, «Pronto en App Store» to its right, waitlist button gone (Emilio). */
.hero__stores { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; flex-basis: 100%; }
.hero__stores .store-play--mini img { height: 50px; }
.hero__stores { flex-wrap: nowrap; gap: 14px; width: max-content; max-width: calc(100vw - 32px); }
.hero__stores .store-play--mini img { height: 46px; }
.hero__stores .store-mini { white-space: nowrap; }
/* Phones: Play badge and App Store stacked, badge at a thumb-friendly size (Emilio 2 Dec). */
@media (max-width: 560px) {
  .hero__stores { flex-direction: column; align-items: flex-start; gap: 12px; width: auto; }
  .hero__stores .store-play--mini img { height: 60px; }
  .hero__stores .store-mini { font-size: 15px; }
  .hero__stores .store-mini .store__icon { width: 18px; height: 21px; }
}

/* 5 Dec 2026: PEDALIA is in both stores. Official badges side by side, same height, Apple first; Apple asks for no changes to the art either. */
.hero__stores { flex-wrap: nowrap; }
@media (max-width: 560px) {
  .hero__stores { flex-direction: row; align-items: center; gap: 10px; width: auto; }
  .hero__stores .store-play--mini img { height: 46px; }
}
@media (max-width: 360px) { .hero__stores .store-play--mini img { height: 40px; } }
.stores .store-play img, .ride__cta .store-play img { height: 52px; }
@media (max-width: 560px) { .stores .store-play img, .ride__cta .store-play img { height: 44px; } }
.thanks__stores { margin: 18px 0 6px; }
.thanks__stores .store-play img { height: 46px; }

/* The App Store screenshots: one swipeable strip (replaces the old camp ladder, 5 Dec 2026). */
.shots { margin: clamp(36px, 5vh, 56px) 0 0; }
.shots__title { color: var(--soft); font-size: 15px; margin: 0 0 14px; }
.shots__track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 18px; margin: 0 -4px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.25) transparent; -webkit-overflow-scrolling: touch; }
.shots figure { flex: 0 0 clamp(168px, 19vw, 236px); margin: 0; scroll-snap-align: start; }
.shots img { display: block; width: 100%; height: auto; border-radius: 18px; box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 18px 30px -12px rgba(0,0,0,0.7); }
.shots figcaption { margin-top: 10px; font-size: 14px; line-height: 1.35; color: rgba(255,244,232,0.78); }
.shots figcaption b { display: block; font: 800 15px/1.2 var(--tight); color: var(--text); margin-bottom: 2px; }
@media (max-width: 560px) { .shots figure { flex-basis: 62vw; } }
/* Leaderboard rows without the old rank icons (no such ranks in the app, 5 Dec 2026). */
.board-card li { grid-template-columns: 22px minmax(0, 1fr) auto auto; }
/* Store previews beside the app (5 Dec 2026): the store art already shows a phone, so no second bezel. */
.mini.mini--store { background: none; box-shadow: 0 30px 60px -20px rgba(0,0,0,0.85); border-radius: 22px; overflow: hidden; height: auto; aspect-ratio: 360 / 782; }
.mini--store img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ===== v8: app landing after the manifesto (5 Dec 2026) =====
   Feature blocks on the warm paper of the store art: one real app screen,
   one floating detail, the store diorama as the ground it stands on. */
.feat { --ink: #22160f; --ink-soft: rgba(34, 22, 15, 0.68); position: relative; overflow: hidden; color: var(--ink);
  padding: clamp(84px, 12vh, 140px) 0 0; }
.feat--paper { background: #f3ece0; }
.feat--cream { background: #fbf8f3; }
.feat .eyebrow { color: var(--ink-soft); }
.feat h2 { font-size: clamp(38px, 4.6vw, 72px); margin-top: 14px; color: var(--ink); }
.feat h2 em, .tras h2 em, .plus h2 em { font-style: italic; color: var(--accent); padding-right: 0.08em; }
.feat__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: center; }
.feat--flip .feat__copy { order: 2; }
.feat__copy { padding-bottom: clamp(60px, 9vh, 110px); }
.feat__lede { color: var(--ink-soft); font-size: clamp(17px, 1.4vw, 21px); max-width: 30em; margin-top: 16px; }
.feat__list { list-style: none; margin: clamp(26px, 4vh, 40px) 0 0; padding: 0; display: grid; gap: 16px; max-width: 32em; }
.feat__list li { display: grid; gap: 2px; padding-left: 20px; border-left: 3px solid var(--accent); }
.feat__list b { font: 800 18px/1.25 var(--tight); letter-spacing: -0.01em; }
.feat__list span { color: var(--ink-soft); font-size: 15.5px; }
.feat__stage { position: relative; align-self: end; display: grid; justify-items: center; min-height: 640px; }
.feat__ground { position: absolute; left: 50%; bottom: 0; width: 132%; max-width: none; transform: translateX(-50%); height: auto;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 30%); mask-image: linear-gradient(to bottom, transparent 0, #000 30%); }
.fphone { position: relative; width: 290px; aspect-ratio: 390 / 847; border-radius: 46px; background: #111; padding: 9px;
  box-shadow: 0 0 0 2px #3a2a22, 0 40px 80px -30px rgba(60, 30, 10, 0.55); }
.fphone img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 38px; }
.fphone__island { position: absolute; z-index: 2; top: 20px; left: 50%; width: 30%; height: 22px; border-radius: 12px; background: #050505; transform: translateX(-50%); }
.feat__stage .fphone { z-index: 1; margin-bottom: clamp(70px, 9vw, 120px); transform: rotate(-2deg); }
.feat--flip .feat__stage .fphone { transform: rotate(2deg); }
.feat__float { position: absolute; z-index: 2; width: 168px; height: auto; right: 4%; top: 26%; border-radius: 16px; transform: rotate(7deg);
  box-shadow: 0 30px 50px -20px rgba(60, 30, 10, 0.6); }
.feat--flip .feat__float { right: auto; left: 4%; transform: rotate(-7deg); }
.feat__chip { position: absolute; z-index: 2; left: 2%; top: 30%; margin: 0; display: grid; gap: 2px; padding: 14px 18px; border-radius: 18px;
  background: #fff; color: var(--ink); box-shadow: 0 24px 40px -18px rgba(60, 30, 10, 0.5); transform: rotate(-4deg); }
.feat__chip b { font: 900 26px/1 var(--tight); color: var(--accent); }
.feat__chip span { font-size: 13px; color: var(--ink-soft); }

/* After the ride: the four story screens, staggered like cards on a table. */
.tras { padding: clamp(90px, 13vh, 150px) 0; background: radial-gradient(900px 500px at 50% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%), var(--bg); }
.tras__head { text-align: center; max-width: 760px; margin: 0 auto; }
.tras h2 { font-size: clamp(38px, 4.6vw, 72px); margin-top: 14px; }
.tras__lede { color: var(--soft); font-size: clamp(17px, 1.4vw, 21px); margin-top: 14px; }
.tras__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 28px); margin-top: clamp(44px, 7vh, 72px); align-items: start; }
.tras__s { margin: 0; display: grid; justify-items: center; gap: 14px; }
.tras__s:nth-child(even) { margin-top: 56px; }
.tras__s .fphone { width: 100%; max-width: 250px; box-shadow: 0 0 0 2px #3a2a22, 0 40px 70px -30px rgba(0, 0, 0, 0.9); }
.tras__s figcaption { font: 700 13px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--soft); }

/* Plus: fair and plain. */
.plus { --ink: #22160f; --ink-soft: rgba(34, 22, 15, 0.68); background: #f3ece0; color: var(--ink); padding: clamp(90px, 13vh, 150px) 0; }
.plus .eyebrow { color: var(--ink-soft); }
.plus h2 { font-size: clamp(38px, 4.6vw, 72px); margin-top: 14px; color: var(--ink); }
.plus__in { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(24px, 5vw, 80px); align-items: center; }
.plus__lede { color: var(--ink-soft); font-size: clamp(17px, 1.4vw, 21px); margin-top: 14px; }
.plus__fair { margin-top: 28px; font: 800 clamp(18px, 1.6vw, 22px)/1.25 var(--tight); color: var(--accent); max-width: 26em; }
.plus__small { margin-top: 8px; color: var(--ink-soft); font-size: 14px; }
.plus__shot { margin: 0; justify-self: center; width: min(320px, 100%); }
.plus__shot img { display: block; width: 100%; height: auto; border-radius: 26px; box-shadow: 0 40px 80px -30px rgba(60, 30, 10, 0.55); transform: rotate(2deg); }

@media (max-width: 900px) {
  .feat__in, .plus__in { grid-template-columns: 1fr; }
  .feat--flip .feat__copy { order: 0; }
  .feat__copy { padding-bottom: 8px; }
  .feat__stage { min-height: 0; padding-top: 24px; }
  .feat__stage .fphone { width: 236px; margin-bottom: 84px; }
  .feat__float { width: 120px; right: 2%; top: 18%; }
  .feat--flip .feat__float { left: 2%; }
  .feat__chip { top: 16%; padding: 10px 14px; }
  .feat__chip b { font-size: 20px; }
  .feat__ground { width: 170%; }
  .tras__row { grid-template-columns: repeat(2, 1fr); }
  .tras__s:nth-child(even) { margin-top: 40px; }
  .plus__shot { width: 240px; }
}
/* The nav floats over light blocks now too: give it its own dark glass. */
.nav { background: rgba(20, 11, 12, 0.72); }
/* The diorama fades out on every side, so no edge of the crop shows. */
.feat__ground { width: 150%; bottom: -4%;
  -webkit-mask-image: radial-gradient(ellipse 50% 62% at 50% 64%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 62% at 50% 64%, #000 55%, transparent 100%); }
@media (max-width: 900px) { .feat__ground { width: 190%; } }
.plus__stage { position: relative; display: grid; place-items: center; min-height: 520px; }
.plus__card { position: relative; z-index: 1; width: min(380px, 92%); height: auto; border-radius: 26px; margin-bottom: 90px;
  box-shadow: 0 0 0 1px rgba(34, 22, 15, 0.08), 0 40px 80px -30px rgba(60, 30, 10, 0.55); transform: rotate(-2deg); }
.plus__chip { left: auto; right: 0; top: 8%; transform: rotate(4deg); }
@media (max-width: 900px) { .plus__stage { min-height: 380px; } .plus__card { margin-bottom: 70px; } }
/* Fade the ground out at the bottom too, so blocks meet without a hard line. */
.feat__ground { bottom: 0;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 52%, #000 50%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 52%, #000 50%, transparent 100%); }
@media (max-width: 900px) { .feat__float { top: 46%; } .feat__chip { top: 6%; } }
.plus { overflow: hidden; }

/* ===== v9: dark, the map pattern of the logo, three pillars (5 Dec 2026) ===== */
:root { --bg: #0d0f22; --bg-2: #12152d; }
.feat, .plus, .tras, .arch { --ink: var(--text); --ink-soft: var(--soft); color: var(--text); position: relative; isolation: isolate; overflow: hidden; }
.feat, .plus { background: var(--bg); }
.feat::before, .plus::before, .arch::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url(/media/v8/mapa-logo.webp) center / cover no-repeat; opacity: 0.55; }
.feat::after, .plus::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(700px 520px at 72% 55%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
              linear-gradient(90deg, rgba(13, 15, 34, 0.92) 0%, rgba(13, 15, 34, 0.55) 55%, rgba(13, 15, 34, 0.35) 100%); }
.feat--flip::after { background: radial-gradient(700px 520px at 28% 55%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
              linear-gradient(270deg, rgba(13, 15, 34, 0.92) 0%, rgba(13, 15, 34, 0.55) 55%, rgba(13, 15, 34, 0.35) 100%); }
.feat .eyebrow, .plus .eyebrow { color: var(--soft); }
.feat h2, .plus h2 { color: var(--text); }
.feat { padding: clamp(90px, 13vh, 150px) 0; }
.feat__copy { padding-bottom: 0; }
.feat__stage { min-height: 0; align-self: center; padding: 30px 0; }
.feat__stage .fphone { margin-bottom: 0; box-shadow: 0 0 0 2px #2a2d4a, 0 50px 90px -30px rgba(0, 0, 0, 0.9); }
.feat__float, .feat__chip { box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.85); }
.feat__chip { background: #f7f1e8; }
.tras { background: radial-gradient(900px 500px at 50% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%), var(--bg-2); }

/* The card arch: a wide ring of cards, centre far below the band, drifting. */
.arch { background: var(--bg); padding: 0 0 clamp(60px, 9vh, 100px); }
.arch::before { opacity: 0.35; }
.arch__stage { position: relative; height: clamp(360px, 46vw, 620px); perspective: 1400px; perspective-origin: 50% 30%;
  cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.arch__stage.is-drag { cursor: grabbing; }
.arch__ring { position: absolute; left: 50%; top: 100%; width: 0; height: 0; transform-style: preserve-3d; }
.arch__card { position: absolute; left: 0; top: 0; width: var(--cw, 150px); height: auto; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: 12px; box-shadow: 0 0 0 1px rgba(255, 244, 232, 0.12), 0 20px 40px -14px rgba(0, 0, 0, 0.9);
  backface-visibility: hidden; will-change: transform, opacity; opacity: 0; }
.arch__cap { position: relative; text-align: center; margin-top: -40px; }
.arch__num { margin: 0; color: var(--soft); font-size: clamp(16px, 1.4vw, 20px); }
.arch__num b { display: block; font: 900 clamp(56px, 7vw, 104px)/1 var(--tight); letter-spacing: -0.04em; color: var(--text); }

/* Plus on the same three pillars. */
.plus { padding: clamp(90px, 13vh, 150px) 0; }
.plus::after { background: radial-gradient(800px 500px at 70% 30%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 70%),
                linear-gradient(180deg, rgba(13, 15, 34, 0.6), rgba(13, 15, 34, 0.92)); }
.plus__in { grid-template-columns: 1.1fr 0.9fr; }
.plus__stage { min-height: 0; padding: 20px 0; }
.plus__card { margin: 0; box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.9); }
.plus__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(36px, 6vh, 56px); }
.plus__col { padding: 24px 22px 26px; border-radius: 22px; background: rgba(255, 244, 232, 0.05); border: 1px solid rgba(255, 244, 232, 0.1);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.plus__col h3 { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.1; color: var(--text); }
.plus__col ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.plus__col li { position: relative; padding-left: 22px; color: var(--soft); font-size: 15.5px; }
.plus__col li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 10px; height: 10px; border-radius: 3px; background: var(--accent); transform: rotate(45deg); }
.plus__fair { margin-top: 30px; }
.plus__small { color: var(--soft); }
@media (max-width: 900px) {
  .plus__cols { grid-template-columns: 1fr; }
  .feat::after, .feat--flip::after { background: linear-gradient(180deg, rgba(13, 15, 34, 0.9), rgba(13, 15, 34, 0.6) 60%, rgba(13, 15, 34, 0.85)); }
  .feat__stage { padding-top: 34px; }
  .feat__stage .fphone { margin-bottom: 0; }
}
.arch__card { max-width: none; }
.arch__num b { font-size: clamp(44px, 6vw, 92px); margin-bottom: 10px; }
.arch__num { max-width: 640px; margin: 0 auto; }
.arch__num { max-width: 900px; } .arch__num b { text-wrap: balance; }

/* v9 · the emperador in 3D (Blender voxel relief), turning with pointer and scroll */
.hero__emp { aspect-ratio: 555 / 619; }
.hero__emp img { filter: drop-shadow(0 22px 34px rgba(0,0,0,0.55)) drop-shadow(0 0 40px rgba(230,40,70,0.18)); will-change: contents; }
.hero__rider.hero__emp::after { left: 14%; right: 14%; bottom: -3%; }
@media (min-width: 1100px) { .hero__rider.hero__emp { height: min(58vh, 540px); } }
@media (max-width: 860px) { .hero__rider-m.hero__emp { aspect-ratio: 555 / 619; height: clamp(260px, 78vw, 340px); } .hero__rider-m.hero__emp img { filter: brightness(0.6) saturate(0.95); } }

/* v9 · holo cards: a foil sheen and a glare that travel as the card turns on the
   arch, a slab edge and a tilt towards the centre, so each card has depth. */
.arch__ring { transform-style: preserve-3d; }
.arch__card { overflow: hidden; transform-style: preserve-3d; isolation: isolate; --hx: 50%; --hy: 40%; --ho: 0.5;
  box-shadow: 0 0 0 1px rgba(255, 244, 232, 0.22), 1px 2px 0 0 #3a2a1c, 2px 4px 0 0 #2a1d13, 3px 6px 0 0 #1c130c,
              0 30px 50px -16px rgba(0, 0, 0, 0.95); }
.arch__card img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.arch__card .holo, .arch__card .glare { position: absolute; inset: 0; pointer-events: none; border-radius: inherit; }
.arch__card .holo { mix-blend-mode: color-dodge; opacity: calc(0.18 + var(--ho) * 0.42);
  background:
    repeating-linear-gradient(115deg, #ff3b6b 0%, #ffcf4a 6%, #4bffb0 12%, #3fb6ff 18%, #b25bff 24%, #ff3b6b 30%),
    repeating-linear-gradient(25deg, rgba(255,255,255,0.0) 0 3px, rgba(255,255,255,0.22) 3px 4px);
  background-size: 260% 260%, 100% 100%; background-position: var(--hx) var(--hy), 0 0;
  -webkit-mask-image: radial-gradient(120% 90% at var(--hx) var(--hy), #000 10%, rgba(0,0,0,0.25) 70%);
          mask-image: radial-gradient(120% 90% at var(--hx) var(--hy), #000 10%, rgba(0,0,0,0.25) 70%); filter: saturate(1.3); }
.arch__card .glare { mix-blend-mode: overlay;
  background: radial-gradient(60% 45% at var(--hx) var(--hy), rgba(255,255,255,0.75), rgba(255,255,255,0) 70%),
              linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0) 40%, rgba(0,0,0,0.25)); }
.arch__card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 2px rgba(255, 236, 200, 0.35), inset 0 0 18px rgba(255, 200, 120, 0.25); }
@media (prefers-reduced-motion: reduce) { .arch__card .holo { opacity: 0.2; } }
.arch__card .holo { opacity: calc(0.1 + var(--ho) * 0.32);
  -webkit-mask-image: linear-gradient(115deg, transparent calc(var(--hx) - 34%), #000 calc(var(--hx) - 6%), #000 calc(var(--hx) + 6%), transparent calc(var(--hx) + 34%));
          mask-image: linear-gradient(115deg, transparent calc(var(--hx) - 34%), #000 calc(var(--hx) - 6%), #000 calc(var(--hx) + 6%), transparent calc(var(--hx) + 34%)); }
.arch__card .glare { opacity: 0.7; }

/* v9 · the first screen: the Emperador in four layers (empire, bike, throne, knight).
   --sc-p (0..1, from scrollcraft) pulls the layers apart in depth; --mx/--my (-1..1)
   is the pointer; each layer moves by its own depth, so the logo opens into a room. */
.emp { position: relative; background: var(--bg); }
.emp__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate; --mx: 0; --my: 0;
  background:
    radial-gradient(60% 70% at 72% 46%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 70%),
    var(--bg); }
.emp__stage::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.5;
  background: url(/media/v8/mapa-logo.webp) center / cover; transform: scale(calc(1 + var(--sc-p, 0) * 0.08)); }
.emp__stage::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: var(--bg); opacity: calc(max(0, var(--sc-p, 0) - 0.7) * 3.3); }
.emp__scene { position: absolute; right: max(2vw, calc(50vw - 700px)); bottom: -2vh; height: 100vh; height: 100svh;
  aspect-ratio: 1200 / 1689; transform-style: preserve-3d; }
.emp__l { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none;
  image-rendering: pixelated; will-change: transform, opacity; --d: 0; --sx: 0px; --sy: 0px; --ss: 0;
  transform: translate3d(calc(var(--mx) * var(--d) * 1px + var(--sx) * var(--sc-p, 0)), calc(var(--my) * var(--d) * 0.6px + var(--sy) * var(--sc-p, 0)), 0)
             scale(calc(1 + var(--ss) * var(--sc-p, 0))) rotate(calc(var(--sr, 0deg) * var(--sc-p, 0)));
  animation: emp-in 1.1s cubic-bezier(.2,.8,.2,1) both; }
.emp__l--1 { --d: -10; --sy: -6vh; --ss: 0.1; filter: saturate(1.05) brightness(0.9);
  -webkit-mask-image: radial-gradient(64% 58% at 50% 46%, #000 52%, transparent 100%);
          mask-image: radial-gradient(64% 58% at 50% 46%, #000 52%, transparent 100%); animation-name: emp-in-back; }
.emp__l--2 { --d: 14; --sx: 9vw; --sy: -14vh; --sr: 8deg; --ss: 0.05; animation-delay: .25s; animation-name: emp-in-bike; }
.emp__l--3 { --d: 22; --sy: 3vh; --ss: 0.05; animation-delay: .45s; }
.emp__l--4 { --d: 34; --sy: 8vh; --ss: 0.2; animation-delay: .6s; filter: drop-shadow(0 30px 40px rgba(0,0,0,0.55)); }
@keyframes emp-in { from { opacity: 0; translate: 0 6vh; } to { opacity: 1; translate: 0 0; } }
@keyframes emp-in-back { from { opacity: 0; scale: 1.08; } to { opacity: 1; scale: 1; } }
@keyframes emp-in-bike { from { opacity: 0; translate: 18vw 0; } to { opacity: 1; translate: 0 0; } }
.emp__copy { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 0 var(--gutter) clamp(36px, 9vh, 96px);
  opacity: calc(1 - max(0, var(--sc-p, 0) - 0.35) * 2.6); transform: translateY(calc(var(--sc-p, 0) * -6vh)); }
.emp__in { width: min(1240px, 100%); margin: 0 auto; display: grid; gap: 16px; }
.emp__in > * { max-width: 560px; }
.emp h1 { font-size: clamp(40px, 5.2vw, 84px); line-height: 0.98; letter-spacing: -0.035em; text-shadow: 0 6px 40px rgba(0,0,0,0.5); }
.emp h1 span { color: var(--accent); }
.emp .store-play--mini img { height: 46px; }
.emp__hint { position: absolute; left: 50%; bottom: 18px; z-index: 2; margin: 0; translate: -50% 0; display: grid; justify-items: center; gap: 6px;
  font: 600 12px/1 var(--sans); letter-spacing: 0.08em; color: var(--soft); opacity: calc(0.8 - var(--sc-p, 0) * 3); }
.emp__hint i { width: 2px; height: 26px; border-radius: 2px; background: linear-gradient(var(--accent), transparent); animation: emp-hint 1.6s ease-in-out infinite; }
@keyframes emp-hint { 0%, 100% { transform: translateY(-4px); opacity: .4; } 50% { transform: translateY(4px); opacity: 1; } }
@media (max-width: 860px) {
  .emp__scene { right: 50%; translate: 50% 0; bottom: auto; top: 4vh; height: 64svh; }
  .emp__copy { padding-bottom: 28px; background: linear-gradient(180deg, transparent, rgba(13,15,34,0.85) 30%, var(--bg)); padding-top: 70px; }
  .emp h1 { font-size: clamp(36px, 10vw, 52px); }
  .emp__hint { display: none; }
}
@media (prefers-reduced-motion: reduce) { .emp__l { animation: none; } .emp__hint i { animation: none; } }
.emp__l--1 { --ss: 0.22; --sy: -4vh; }
.emp__l--2 { --sx: 14vw; --sy: -22vh; --sr: 12deg; --ss: 0.12; }
.emp__l--3 { --sy: 8vh; --ss: 0.16; }
.emp__l--4 { --sy: 22vh; --ss: 0.55; }
.emp__stage::after { opacity: calc(max(0, var(--sc-p, 0) - 0.82) * 5.6); }
.emp__stage::after { display: none; }

/* v9 · «Tus salidas»: before and after, then the loop in four words. Little text, one picture. */
.how h2 { max-width: 14em; }
.vs { display: grid; grid-template-columns: 0.85fr auto 1.15fr; align-items: center; gap: clamp(16px, 3vw, 44px); margin-top: clamp(36px, 6vh, 64px); }
.vs__tag { margin: 0 0 14px; font: 700 12px/1 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: var(--soft); }
.vs__old { padding: 24px; border-radius: 22px; background: rgba(255,244,232,0.03); border: 1px dashed rgba(255,244,232,0.14); filter: grayscale(1); }
.vs__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.vs__row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255,244,232,0.05); color: var(--soft); }
.vs__row.is-dim { opacity: 0.5; } .vs__row.is-dim + .is-dim { opacity: 0.28; }
.vs__row b { display: block; font: 600 14px/1.2 var(--sans); color: var(--text); opacity: 0.7; }
.vs__row small { font: 500 13px/1.3 var(--sans); }
.vs__ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(255,244,232,0.07); flex: none; }
.vs__cap { margin: 16px 0 0; font: 700 clamp(18px, 1.6vw, 22px)/1.2 var(--tight); color: var(--soft); }
.vs__arrow { color: var(--accent); }
.vs__new { position: relative; padding: 24px; border-radius: 26px; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%), #141836;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); box-shadow: 0 40px 80px -30px rgba(0,0,0,0.9), 0 0 60px -20px var(--accent); }
.vs__new .vs__tag { color: var(--accent); }
.vs__map { display: block; width: 100%; height: auto; border-radius: 16px; }
.vs__km { margin: 16px 0 12px; font: 900 clamp(28px, 3vw, 44px)/1 var(--tight); letter-spacing: -0.03em; color: var(--soft); }
.vs__km b { color: var(--text); }
.vs__loot { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.vs__loot li { padding: 9px 14px; border-radius: 999px; background: rgba(255,244,232,0.08); border: 1px solid rgba(255,244,232,0.14);
  font: 600 15px/1 var(--sans); color: var(--text); }
.vs__loot li b { color: var(--accent); font-weight: 800; }
.loop { list-style: none; margin: clamp(40px, 7vh, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: lp; }
.loop li { position: relative; display: grid; gap: 6px; padding: 0 18px 0 0; }
.loop li:not(:last-child)::after { content: ""; position: absolute; right: 18px; top: 0.62em; width: 26px; height: 2px; background: var(--accent); opacity: 0.6; }
.loop b { font: 900 clamp(24px, 2.6vw, 40px)/1 var(--tight); letter-spacing: -0.03em; color: var(--text); }
.loop span { color: var(--soft); font-size: 15px; }
.loop__again b { color: var(--accent); }
@media (max-width: 900px) {
  .vs { grid-template-columns: 1fr; }
  .vs__arrow { justify-self: center; transform: rotate(90deg); }
  .loop { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
  .loop li::after { display: none; }
}
/* held card: stronger foil, a glare that follows the pointer, a little lift in brightness */
.arch__card { --hh: 0; filter: brightness(calc(1 + var(--hh) * 0.12)) contrast(calc(1 + var(--hh) * 0.06));
  box-shadow: 0 0 0 1px rgba(255, 244, 232, 0.22), 1px 2px 0 0 #3a2a1c, 2px 4px 0 0 #2a1d13, 3px 6px 0 0 #1c130c,
              0 calc(30px + var(--hh) * 40px) calc(50px + var(--hh) * 50px) -16px rgba(0, 0, 0, 0.95),
              0 0 calc(var(--hh) * 60px) calc(var(--hh) * -6px) color-mix(in srgb, var(--accent) 70%, transparent); }
.arch__card .holo { opacity: min(0.85, calc(0.1 + var(--ho) * 0.34)); }
.arch__card .glare { opacity: calc(0.6 + var(--hh) * 0.4);
  background: radial-gradient(farthest-corner circle at var(--hx) var(--hy), rgba(255,255,255,0.8) 8%, rgba(255,255,255,0.25) 22%, rgba(0,0,0,0.45) 90%); }
.loop li:not(:last-child)::after { display: none; }
.loop li:not(:last-child) b::after { content: "→"; margin-left: 0.35em; color: var(--accent); font-weight: 400; opacity: 0.8; }
.loop { grid-template-columns: repeat(4, auto) 1fr; gap: 0 clamp(18px, 3vw, 44px); }
@media (max-width: 900px) { .loop { grid-template-columns: 1fr 1fr; gap: 22px 12px; } }
.loop span { white-space: nowrap; }

/* ------------------------------------------------ v10 · flight beats (5 Dec) ----
   One lead line «Sal en bici. Vive aventuras:» holds over the whole flight; under it four
   beats swap in one place, each with one store mockup (set v12, its store headline cut off). */
.beats { background: none; }
.beats__col { position: absolute; left: var(--gutter); bottom: clamp(48px, 10vh, 100px); width: min(640px, calc(100% - 2 * var(--gutter)));
  display: grid; gap: 10px; opacity: 0; will-change: opacity; }
.beats__col::before { content: ''; position: absolute; z-index: -1; pointer-events: none;
  left: calc(-1 * var(--gutter)); bottom: calc(-1 * clamp(48px, 10vh, 100px)); width: min(100vw, 1200px); height: calc(100% + 42vh);
  background: radial-gradient(100% 100% at 0% 100%, rgba(14,8,9,0.92), rgba(14,8,9,0.76) 45%, rgba(14,8,9,0.3) 72%, rgba(14,8,9,0) 92%); }
.beats__lead { font: 800 clamp(19px, 1.8vw, 26px)/1.1 var(--tight); letter-spacing: -0.01em; color: var(--text); text-shadow: 0 2px 18px rgba(0,0,0,0.6); }
.beats__lead em { font-style: normal; color: var(--accent); }
.beats__stack { display: grid; }
.beats__stack .beat { position: relative; left: auto; bottom: auto; width: auto; grid-area: 1 / 1; align-self: start; gap: 12px; }
.beats__stack .beat::before { display: none; }
.beats__stack .beat h3 { font-size: clamp(40px, 5.2vw, 82px); line-height: 0.98; text-wrap: balance; }
.beats__stack .beat p:last-child { font-size: clamp(15px, 1.35vw, 19px); max-width: 27em; }
@media (max-width: 1100px) and (min-width: 861px) { .beats__col { width: min(520px, 52vw); } }
@media (max-width: 860px) {
  /* phones: the two phones sit lower, in the sky between the mark and the copy (Emilio 5 Dec) */
  .ride .demo { top: calc(92px + 5svh); }
  .beats__col { bottom: clamp(36px, 6svh, 60px); }
  .beats__col::before { right: calc(-1 * var(--gutter)); width: auto; height: calc(100% + 26vh);
    background: linear-gradient(0deg, rgba(14,8,9,0.92) 0%, rgba(14,8,9,0.78) 50%, rgba(14,8,9,0) 100%); }
  .beats__stack .beat h3 { font-size: clamp(36px, 10vw, 48px); }
  .beats__stack .beat p:last-child { font-size: 15px; }
}
@media (max-width: 560px) { .beats__col { padding-right: 52px; } .beats__stack .beat { padding-right: 0; } }
@media (max-width: 860px) and (max-height: 740px) { .ride .demo { top: calc(80px + 3svh); } }
/* beat 0 shares the screen with the big mark: its phones sit lower, clear of the letters */
@media (min-width: 861px) { .ride .demo--first { top: 60%; } }
@media (max-width: 860px) {
  .ride .demo--first { top: calc(150px + 4svh); }
  .ride .demo--first .demo__in { transform: scale(0.62); }
}
@media (max-width: 860px) and (max-height: 740px) { .ride .demo--first { top: calc(128px + 2svh); } .ride .demo--first .demo__in { transform: scale(0.5); } }
/* the old first-screen copy box in the ride is empty since v9; its shade sat over beat 0 */
.ride .hero { display: none; }
/* the right of each beat: the store mockup itself (phone and scene), as tall as the phone beside it */
.mini.mini--card { width: 250px; height: auto; aspect-ratio: 720 / 1194; background: none; border-radius: 24px; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.85), 0 0 0 1px rgba(255,244,232,0.12); }
.mini--card img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Plus as the app's own sales page (Emilio 5 Dec 2026: «so schöne Vorlage unserer Verkaufsseite in der app»):
   a light sheet with the app's hero (land, Emperador card, surprise card) and the app's benefit cards. */
.plus__sheet { --sheet: #efe8dc; --card: #faf6ef; --line: rgba(60, 35, 20, 0.12); --ink: #1f1511; --ink-soft: rgba(31, 21, 17, 0.66); --red: #c2123f;
  background: var(--sheet); color: var(--ink); border-radius: 32px; overflow: hidden; display: grid;
  grid-template-columns: 1.15fr 0.85fr; grid-template-areas: "hero copy" "cards cards" "extra extra";
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.9); }
.plus__hero { grid-area: hero; }
.plus__hero img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.plus__sheet .plus__copy { grid-area: copy; align-self: center; padding: 32px clamp(24px, 4vw, 56px); }
.plus__sheet h2 { color: var(--ink); margin: 0; }
.plus__sheet h2 em { color: var(--red); }
.plus__sheet .plus__lede { color: var(--ink-soft); }
.plus__cards { grid-area: cards; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: clamp(20px, 3vw, 36px) clamp(20px, 3vw, 36px) 0; }
.pcard { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: 0 10px 24px -16px rgba(60, 30, 10, 0.35); }
.pcard img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; }
.pcard figcaption { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px 16px; font: 600 16px/1.3 var(--tight, inherit); color: var(--ink); }
.pcard svg { flex: none; width: 20px; height: 20px; margin-top: 1px; fill: none; stroke: var(--red); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.plus__extra { grid-area: extra; margin: 0; padding: 18px clamp(20px, 3vw, 36px) clamp(22px, 3vw, 34px); color: var(--ink-soft); font-size: 15px; }
@media (max-width: 900px) {
  .plus__sheet { grid-template-columns: 1fr; grid-template-areas: "hero" "copy" "cards" "extra"; border-radius: 26px; }
  .plus__sheet .plus__copy { padding: 22px 20px 0; }
  .plus__cards { grid-template-columns: 1fr 1fr; gap: 10px; padding: 18px 14px 0; }
  .pcard { border-radius: 16px; }
  .pcard figcaption { font-size: 14px; padding: 10px 11px 12px; gap: 7px; }
  .pcard svg { width: 16px; height: 16px; }
  .plus__extra { padding: 14px 18px 20px; font-size: 14px; }
}

/* Beats, one shape for all six (Emilio 5 Dec 2026: «mal haben wir Überpunkte, mal nicht», «zu viel space»):
   each beat is kicker «Así se juega n/6», short title, one line of copy; sizes cut so the block sits low and tight. */
.beat__k { margin: 0; font: 800 clamp(13px, 1.05vw, 15px)/1 var(--tight); letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255, 244, 232, 0.78); text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6); }
.beat__k b { color: var(--accent); font-weight: 800; margin-left: 0.35em; }
.beats__stack .beat { gap: 10px; }
.beats__stack .beat h3 { font-size: clamp(36px, 4.2vw, 64px); line-height: 1; }
.beats__stack .beat p:last-child { font-size: clamp(15px, 1.25vw, 18px); max-width: 25em; }
@media (max-width: 860px) {
  .beats__stack .beat { gap: 8px; }
  .beats__stack .beat h3 { font-size: clamp(32px, 9vw, 42px); }
  .beat__k { font-size: 12px; }
}

/* ===== One street net behind the whole page (Emilio 5 Dec 2026: «ein schönes Straßennetz … organisch … glowed ein bisschen»;
   then «too much … es soll organisch mitfließen», «Footer und Texte nur sehr leicht durchschimmern», «Header war davor besser»).
   Real Madrid streets from our own tiles (tools/art/landing_calles.py) as a seamless tile repeated down the whole document,
   so it scrolls with the content. Quiet by default; text sections and the footer lay a veil over it; the hero keeps its own look. */
body { background: transparent; position: relative; }
.streets { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url(/media/v10/calles.webp) 50% 0 / max(100vw, 1100px) auto repeat-y; opacity: 0.42; }
.feat, .plus, .arch, .faq { background: transparent; }
.tras { background: radial-gradient(900px 500px at 50% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%); }
.feat::before, .plus::before, .arch::before { background: none; }
/* reading veil: the net only shimmers through behind running text, fading in and out so no section shows an edge */
.feat, .faq, .close { --veil: color-mix(in srgb, var(--bg) 72%, transparent); }
.feat, .faq { background: linear-gradient(180deg, transparent, var(--veil) 14%, var(--veil) 86%, transparent); }
.close { background: linear-gradient(180deg, transparent, var(--veil) 18%, var(--veil) 60%, transparent 80%); }
.foot { position: relative; background: color-mix(in srgb, var(--bg) 93%, transparent); }

/* ===== Closing section, set clean: one centred column, stores, then a quiet mail line; the castle art rises out of the net. */
.close { text-align: center; }
.close .wrap { gap: 0; padding-top: clamp(110px, 16vh, 170px); }
.close .eyebrow { margin: 0; }
.close h2 { margin-top: 16px; font-size: clamp(48px, 7.4vw, 112px); line-height: 0.95; text-wrap: balance; }
.close h2 em { font-style: italic; color: var(--accent); padding-right: 0.06em; }
.close .close__sub { margin-top: 18px; font-size: clamp(17px, 1.5vw, 21px); color: rgba(255, 244, 232, 0.82); }
.close .stores { margin-top: 30px; }
.close__form { margin-top: clamp(40px, 6vh, 64px); width: min(520px, 100%); justify-items: stretch; padding-top: 28px;
  border-top: 1px solid rgba(255, 244, 232, 0.14); }
.close__mail { margin: 0 0 14px; font-size: 15px; color: rgba(255, 244, 232, 0.7); }
.close .join { max-width: none; grid-template-columns: 1fr auto; column-gap: 10px; row-gap: 12px; }
.close .join__field input { height: 52px; border-radius: 14px; background: rgba(13, 15, 34, 0.7); backdrop-filter: blur(6px); }
.close .join .btn-game { height: 52px; padding: 0 22px; font-size: 14px; }
.close .join__consent, .close .join__msg { grid-column: 1 / -1; }
.close .join__consent { font-size: 12.5px; color: rgba(255, 244, 232, 0.6); }
.close__art img { -webkit-mask-image: linear-gradient(180deg, transparent 0%, transparent 30%, #000 52%);
  mask-image: linear-gradient(180deg, transparent 0%, transparent 30%, #000 52%); }
@media (max-aspect-ratio: 4/5) {
  .close__art img { -webkit-mask-image: linear-gradient(180deg, transparent 0%, transparent 36%, #000 56%);
    mask-image: linear-gradient(180deg, transparent 0%, transparent 36%, #000 56%); }
}
@media (max-width: 560px) {
  .close .join { grid-template-columns: 1fr; }
  .close .join .btn-game { width: 100%; }
}

/* phones show the one-line promise under the title too (Emilio 5 Dec 2026: «da ist ja noch Platz») */
@media (max-width: 560px) {
  .emp .hero__sub { display: block; font-size: 15px; line-height: 1.45; }
}
