/* =========================================================
   MOTHERS — inner pages
   Loaded after styles.css (reuses its tokens, header, glass,
   buttons, reveal and footer). Page-specific blocks are
   grouped by page further down.
   ========================================================= */

:root {
  --violet-1: #7a5cff;
  --violet-2: #b04bff;
  --cyan-edge: rgba(95, 211, 255, .6);
}

/* ---------- type ---------- */
.kicker {
  font-size: 13px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #cdd3e6;
}
.display {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  letter-spacing: -.02em; line-height: .95; font-size: clamp(40px, 5.3vw, 82px);
}
.h2 {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  letter-spacing: -.015em; line-height: 1; font-size: clamp(30px, 3.8vw, 52px);
}
.h2--sm { font-size: clamp(26px, 3vw, 40px); }
.grad {
  background: var(--mother-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 180% 100%; animation: gradFlow 7s ease-in-out infinite alternate;
}
@keyframes gradFlow { from { background-position: 0% 0; } to { background-position: 100% 0; } }
.lead { color: #c7cde0; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.65; max-width: 50ch; }
.lead strong { color: #fff; }
.muted { color: var(--muted); }
.stack > * + * { margin-top: 16px; }
.stack--lg > * + * { margin-top: 22px; }

/* masked line reveal for hero headlines */
.line { display: block; overflow: hidden; padding-bottom: .06em; }
.line > span { display: inline-block; transform: translateY(105%); animation: lineUp 1s var(--ease) forwards; }
.line:nth-child(2) > span { animation-delay: .12s; }
.line:nth-child(3) > span { animation-delay: .24s; }
@keyframes lineUp { to { transform: none; } }

/* ---------- buttons ---------- */
.btn--outline {
  border: 1px solid var(--cyan-edge); color: #eaf7ff;
  background: linear-gradient(180deg, rgba(95,211,255,.12), rgba(95,211,255,.03));
  box-shadow: 0 0 26px -8px rgba(95,211,255,.8), inset 0 0 14px -8px rgba(95,211,255,.9);
}
.btn--outline:hover { transform: translateY(-2px); box-shadow: 0 0 40px -6px rgba(95,211,255,.95), inset 0 0 18px -6px rgba(95,211,255,1); }
.btn--violet {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, var(--violet-1), var(--violet-2));
  box-shadow: 0 12px 40px -12px rgba(150, 90, 255, .9), inset 0 1px 0 rgba(255,255,255,.3);
}
.btn--violet::after, .btn--outline::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); animation: btnSheen 4.5s 1.5s infinite;
}
.btn--outline { position: relative; overflow: hidden; }
@keyframes btnSheen { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.btn--violet:hover { transform: translateY(-2px); box-shadow: 0 18px 50px -10px rgba(150, 90, 255, 1), inset 0 1px 0 rgba(255,255,255,.35); }
.btn .arr { font-size: 17px; transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.btn-acc {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 48px; border-radius: 999px;
  font-family: var(--f-display); font-weight: 600; font-size: 14.5px; color: #fff;
  border: 1px solid color-mix(in srgb, var(--c) 75%, transparent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 16%, transparent), color-mix(in srgb, var(--c) 4%, transparent));
  box-shadow: 0 0 22px -8px var(--c), inset 0 0 16px -10px var(--c);
  transition: background .35s, box-shadow .35s, transform .35s var(--ease);
}
.btn-acc svg { font-size: 16px; transition: transform .35s var(--ease); }
.btn-acc:hover { background: linear-gradient(180deg, color-mix(in srgb, var(--c) 34%, transparent), color-mix(in srgb, var(--c) 12%, transparent)); box-shadow: 0 0 36px -6px var(--c), inset 0 0 18px -8px var(--c); }
.btn-acc:hover svg { transform: translateX(4px); }

/* header CTA for inner pages */
.site-header:not(.is-scrolled) { background: linear-gradient(180deg, rgba(3,6,13,.75), rgba(3,6,13,0)); }
.btn-app svg { color: #fff; }

/* ---------- containers ---------- */
.page-section { padding-top: clamp(20px, 2.4vw, 28px); }
.shell {
  position: relative; border-radius: 24px; padding: clamp(22px, 3vw, 40px); overflow: hidden;
  background: linear-gradient(180deg, rgba(14, 20, 40, .72), rgba(6, 9, 20, .82));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 40px 80px -50px rgba(0,0,0,.9);
}
.shell__head { margin-bottom: clamp(22px, 3vw, 34px); }
.shell__head .kicker { margin-bottom: 10px; }
.shell__head .lead { margin-top: 12px; max-width: 70ch; }
.shell__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* ---------- page hero ---------- */
.phero {
  position: relative; isolation: isolate; overflow: hidden;
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  min-height: max(520px, calc(var(--header-h) + min(72vw, 1300px) / 2.05));
  display: flex; align-items: center;
}
.phero__atmos {
  position: absolute; inset: 0; z-index: -4;
  background: var(--img) 70% 40% / cover no-repeat;
  filter: blur(56px) saturate(150%); opacity: .42; transform: scale(1.25);
}
.phero__scene {
  position: absolute; z-index: -3; top: calc(var(--header-h) * .35); right: 0; width: min(72vw, 1300px); aspect-ratio: 2.05;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%), linear-gradient(180deg, #000 80%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%), linear-gradient(180deg, #000 80%, transparent 100%);
  mask-composite: intersect;
}
.phero__scene img {
  width: 100%; height: 100%; object-fit: cover; object-position: 55% 60%;
  transform: translate3d(var(--px, 0), var(--py, 0), 0) scale(1.06);
  animation: sceneReveal 1.8s var(--ease) both;
  transition: transform .8s var(--ease);
  will-change: transform;
}
@keyframes sceneReveal { from { opacity: 0; filter: brightness(.3) blur(6px); } to { opacity: 1; filter: none; } }
.phero::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: linear-gradient(90deg, rgba(3,6,13,.88) 0%, rgba(3,6,13,.5) 24%, rgba(3,6,13,0) 38%), linear-gradient(180deg, rgba(3,6,13,.55) 0%, transparent 18%);
}
.phero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 200px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, transparent, var(--void) 90%);
}
.phero__content { position: relative; padding-block: 56px 72px; }
.phero__content > * { max-width: min(440px, 34vw); }
.phero__content .kicker { animation: rise .8s var(--ease) both; }
.phero__content .display { margin-top: 14px; max-width: none; text-shadow: 0 6px 40px rgba(0,0,0,.55); }
.display .grad { filter: drop-shadow(0 3px 14px rgba(3,6,13,.75)); }
.phero__content .lead { margin-top: 22px; animation: rise .9s .3s var(--ease) both; }
.phero__content .btn-row { max-width: none; margin-top: 30px; animation: rise .9s .42s var(--ease) both; }
.phero__sub { margin-top: 18px; font-family: var(--f-display); font-weight: 700; font-size: 20px; animation: rise .9s .24s var(--ease) both; }
.phero__sub + .lead { margin-top: 6px; }

/* canvas particles */
.sparks { position: absolute; inset: 0; z-index: -1; pointer-events: none; width: 100%; height: 100%; }

/* ---------- tilt + glare ---------- */
.tilt { transform-style: preserve-3d; will-change: transform; }
.tilt.is-in {
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px));
  transition: opacity .9s var(--ease), transform .7s var(--ease), box-shadow .5s, border-color .5s;
}
.tilt.is-hover { --ty: -6px; transition: opacity .9s, transform .15s linear, box-shadow .5s, border-color .5s; }
.glare { position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.14), transparent 45%); }
.tilt.is-hover .glare { opacity: 1; }

/* ---------- accent card (shared by mothers / about / evolution) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.acard {
  position: relative; display: flex; flex-direction: column; border-radius: 20px; overflow: hidden;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 10%, #0a0f1f) 0%, #070a15 55%);
  border: 1px solid color-mix(in srgb, var(--c) 34%, transparent);
  box-shadow: 0 30px 60px -40px var(--c), inset 0 1px 0 rgba(255,255,255,.06);
}
.acard.is-hover { border-color: color-mix(in srgb, var(--c) 75%, transparent); box-shadow: 0 40px 80px -30px var(--c), 0 0 0 1px color-mix(in srgb, var(--c) 30%, transparent); }
.acard__art { position: relative; aspect-ratio: 1 / .8; overflow: hidden; }
.acard__art img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .8s; }
.acard.is-hover .acard__art img, .acard:hover .acard__art img { transform: scale(1.08); filter: brightness(1.12) saturate(1.12); }
.acard__art::after { content: ""; position: absolute; inset: auto 0 0; height: 55%; background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--c) 6%, #080c18)); }
.acard__body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; padding: 0 20px 22px; margin-top: -30px; flex: 1; }
.acard__name {
  font-family: var(--f-display); font-weight: 800; font-size: clamp(20px, 1.7vw, 25px); text-transform: uppercase; letter-spacing: .005em;
  color: color-mix(in srgb, var(--c) 85%, #fff); text-shadow: 0 0 22px color-mix(in srgb, var(--c) 60%, transparent);
}
.acard__desc { font-size: 14.5px; line-height: 1.55; color: #bcc3d9; }
.acard .btn-acc { margin-top: auto; }

.pills { display: flex; flex-wrap: wrap; gap: 5px; }
.pills li {
  padding: 3px 9px; border-radius: 99px; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: color-mix(in srgb, var(--pc, var(--c)) 70%, #fff);
  border: 1px solid color-mix(in srgb, var(--pc, var(--c)) 60%, transparent);
  background: color-mix(in srgb, var(--pc, var(--c)) 8%, transparent);
}
.pills li.gold { --pc: #f7c95a; }

.feats { display: grid; gap: 2px; }
.feats li { display: flex; align-items: center; gap: 12px; padding: 7px 0; font-size: 14.5px; color: #dfe4f3; }
.feats li + li { border-top: 1px solid rgba(255,255,255,.05); }
.feats svg { font-size: 18px; color: var(--c); filter: drop-shadow(0 0 6px var(--c)); }

/* ---------- CTA scene banner ---------- */
.cta-scene {
  position: relative; isolation: isolate; overflow: hidden; border-radius: 26px;
  min-height: clamp(260px, 24vw, 340px); display: flex; align-items: center;
  border: 1px solid var(--line-2);
}
.cta-scene { background: radial-gradient(60% 120% at 100% 50%, rgba(150,110,255,.22), transparent 60%), radial-gradient(40% 90% at 0% 100%, rgba(95,211,255,.12), transparent 70%), #070b18; }
.cta-scene__img { position: absolute; inset: 0 0 0 auto; width: 64%; z-index: -2;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 32%); mask-image: linear-gradient(90deg, transparent 0%, #000 32%); }
.cta-scene__img img { width: 100%; height: 100%; object-fit: cover; object-position: 65% 60%; animation: kenburns 22s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
.cta-scene::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3,6,13,.6) 0%, rgba(3,6,13,.2) 40%, transparent 60%); }
.cta-scene__body { padding: clamp(28px, 4vw, 52px); max-width: 640px; }
.cta-scene__body .kicker { margin-bottom: 10px; }
.cta-scene__body .lead { margin-top: 12px; }
.cta-scene__body .btn { margin-top: 24px; }
.cta-scene--split .cta-scene__body { max-width: none; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* ---------- modal ---------- */
.modal {
  width: min(760px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border-radius: 24px; color: var(--text);
  background: linear-gradient(180deg, #0e1428, #070a15); border: 1px solid color-mix(in srgb, var(--c, #5fd3ff) 45%, transparent);
  box-shadow: 0 40px 120px -20px color-mix(in srgb, var(--c, #5fd3ff) 40%, transparent);
}
.modal::backdrop { background: rgba(2, 4, 10, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.modal[open] { animation: modalIn .5s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.96); } }
.modal__art { position: relative; aspect-ratio: 16 / 7; overflow: hidden; background: #050810; }
.modal__art img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 18s ease-in-out infinite alternate; }
.modal__art--contain { aspect-ratio: 16 / 5.2; }
.modal__art--contain img { object-fit: contain; animation: none; padding: 14px; }
.modal__art::after { content: ""; position: absolute; inset: auto 0 0; height: 50%; background: linear-gradient(180deg, transparent, #0b1022); }
.modal__body { padding: 8px 28px 28px; }
.modal__body .acard__name { font-size: 28px; margin-bottom: 12px; }
.modal__body .pills { margin-bottom: 16px; }
.modal__body p { color: #c3c9dd; }
.modal__close {
  position: absolute; top: 14px; right: 14px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(3,6,13,.7); border: 1px solid var(--line-2); backdrop-filter: blur(6px);
}
.modal__close svg { font-size: 18px; }
.modal__stages { display: flex; justify-content: space-between; gap: 6px; margin-top: 18px; }
.modal__stages li { flex: 1; text-align: center; padding: 8px 4px; border-radius: 10px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: rgba(255,255,255,.04); border: 1px solid var(--line); color: #cfd5ea; }
.modal__stages li:last-child { color: var(--gold); border-color: rgba(247,201,90,.4); }

/* =========================================================
   THE MOTHERS
   ========================================================= */
.worlds-band { display: grid; grid-template-columns: minmax(320px, 1fr) minmax(0, 2.2fr); padding: 0; }
.worlds-band__text { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; justify-content: center; }
.worlds-band__text .h2 { font-size: clamp(28px, 2.6vw, 40px); }
.worlds-band__text .lead { font-size: 15.5px; margin-top: 14px; }
.worlds-band__text .btn { margin-top: 24px; align-self: flex-start; }
.wtiles { display: flex; min-height: 300px; }
.wtile { position: relative; flex: 1; overflow: hidden; isolation: isolate; transition: flex .8s var(--ease); display: flex; align-items: flex-end; justify-content: center; text-align: center; padding: 20px 14px; }
.wtile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(1.1) brightness(.85); }
.wtile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(3,6,13,.92)); }
.wtile + .wtile { border-left: 1px solid rgba(255,255,255,.06); }
.wtile:hover { flex: 1.5; }
.wtile:hover img { transform: scale(1.08); filter: saturate(1.25) brightness(1); }
.crown-badge { display: grid; place-items: center; width: 42px; height: 42px; margin: 0 auto 10px; border-radius: 50%; color: var(--c); background: rgba(3,6,13,.6); border: 1.5px solid var(--c); box-shadow: 0 0 20px -2px var(--c), inset 0 0 10px -4px var(--c); }
.crown-badge svg { font-size: 20px; }
.wtile h3 { font-family: var(--f-display); font-weight: 800; font-size: 16px; text-transform: uppercase; color: var(--c); text-shadow: 0 0 16px var(--c); }
.wtile p { margin-top: 6px; font-size: 13px; line-height: 1.45; color: #d7dcee; }

.energy { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.energy .lead { margin-top: 18px; font-size: 16px; }
.energy .btn { margin-top: 24px; }
.energy-panel { border-radius: 20px; padding: 24px; background: rgba(4,8,18,.7); border: 1px solid rgba(95,211,255,.2); box-shadow: 0 0 60px -30px rgba(95,211,255,.6); }
.energy-panel__top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 20px; align-items: center; }
.energy-panel__top h3 { font-family: var(--f-display); font-size: 17px; font-weight: 800; text-transform: uppercase; }
.energy-panel__pct { grid-row: span 2; font-family: var(--f-display); font-size: clamp(30px, 3vw, 40px); font-weight: 800; }
.energy-panel .bar { height: 12px; }
.energy-panel__sub { margin-top: 10px; font-size: 14px; color: var(--muted); }
.energy-panel__sub b { color: #fff; }
.mstats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.mstat { padding: 0 14px; }
.mstat + .mstat { border-left: 1px solid var(--line); }
.mstat__top { display: flex; align-items: center; gap: 10px; }
.mstat__av { width: 44px; height: 44px; flex: none; }
.mstat__av img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 8px color-mix(in srgb, var(--c) 60%, transparent)); }
.mstat b { display: block; font-family: var(--f-display); font-weight: 800; font-size: 15px; color: var(--c); text-transform: uppercase; }
.mstat span { font-size: 14px; color: #dfe4f3; font-variant-numeric: tabular-nums; }
.mstat .bar { height: 7px; margin-top: 12px; }
.mstat .bar span { background: var(--c); box-shadow: 0 0 12px var(--c); }

/* =========================================================
   ABOUT
   ========================================================= */
.origin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 3vw, 44px); align-items: center; }
.origin__text p + p { margin-top: 16px; }
.origin__text .h2 { margin: 10px 0 20px; }
.origin__art { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 524 / 284; }
.origin__art img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 20s ease-in-out infinite alternate; }
.origin__art::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 60px 20px rgba(3,6,13,.8); }
.origin__glow { position: absolute; inset: 20% 10% auto; height: 60%; z-index: -1; background: radial-gradient(closest-side, rgba(150,110,255,.5), transparent); filter: blur(30px); }

.pillars-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 32px; align-items: center; }
.pillars-wrap .h2 { margin: 10px 0 16px; }
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pillar { padding: 8px 16px; text-align: center; }
.pillar + .pillar { border-left: 1px solid var(--line); }
.pillar__ico { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 14px; border-radius: 18px; color: var(--c); background: color-mix(in srgb, var(--c) 8%, transparent); border: 1px solid color-mix(in srgb, var(--c) 30%, transparent); transition: transform .5s var(--ease), box-shadow .5s; }
.pillar__ico svg { font-size: 30px; filter: drop-shadow(0 0 8px var(--c)); }
.pillar:hover .pillar__ico { transform: translateY(-4px) rotate(-6deg); box-shadow: 0 0 30px -6px var(--c); }
.pillar h3 { font-family: var(--f-display); font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.pillar p { margin-top: 6px; font-size: 13px; line-height: 1.45; color: var(--muted); }

/* =========================================================
   HOW IT WORKS
   ========================================================= */
.steps-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.jstep {
  position: relative; display: flex; flex-direction: column; border-radius: 20px; overflow: visible;
  background: linear-gradient(180deg, rgba(16,22,44,.85), rgba(6,9,20,.9)); border: 1px solid var(--line);
}
.jstep__inner { position: relative; display: flex; flex-direction: column; height: 100%; border-radius: inherit; overflow: hidden; }
.jstep.is-hover { border-color: color-mix(in srgb, var(--c) 55%, transparent); box-shadow: 0 30px 70px -30px var(--c); }
.jstep__head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; padding: 20px 20px 14px; }
.jstep__n {
  grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  font-family: var(--f-display); font-weight: 800; font-size: 15px;
  background: color-mix(in srgb, var(--c) 18%, #0b1020); border: 1.5px solid var(--c); color: #fff;
  box-shadow: 0 0 18px -2px var(--c);
}
.jstep h3 { font-family: var(--f-display); font-weight: 700; font-size: 17px; align-self: center; }
.jstep p { font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.jstep__art { position: relative; margin-top: auto; aspect-ratio: 4 / 3; overflow: hidden; }
.jstep__art img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.jstep:hover .jstep__art img { transform: scale(1.07); }
.jstep__art::before { content: ""; position: absolute; inset: 0 0 auto; height: 30%; z-index: 1; background: linear-gradient(180deg, #0b1020, transparent); }
.jstep__meter { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 2; padding: 10px 12px; border-radius: 12px; background: rgba(3,6,13,.75); border: 1px solid var(--line); backdrop-filter: blur(8px); font-size: 12px; color: var(--muted); }
.jstep__meter b { color: #fff; }
.jstep__meter .bar { height: 7px; margin-bottom: 8px; }
/* flow arrows between steps */
.jstep:not(:nth-child(4n))::after {
  content: ""; position: absolute; z-index: 4; top: 52%; right: -19px; width: 16px; height: 16px;
  border-top: 2.5px solid var(--axo); border-right: 2.5px solid var(--axo); transform: rotate(45deg);
  filter: drop-shadow(0 0 6px var(--axo)); animation: nudge 1.6s ease-in-out infinite;
}
@keyframes nudge { 50% { transform: translateX(4px) rotate(45deg); opacity: .6; } }
.steps-wide .jstep:last-child::after { display: none; }
.steps-wide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; margin-top: 22px; }
.jstep--wide .jstep__art { aspect-ratio: 485 / 120; }
.jstep--wide .stage-pills { display: flex; justify-content: space-between; gap: 8px; padding: 14px 20px 20px; }
.stage-pills li { flex: 1; text-align: center; padding: 6px 4px; border-radius: 99px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--sc); border: 1px solid color-mix(in srgb, var(--sc) 60%, transparent); background: color-mix(in srgb, var(--sc) 8%, transparent); }
.jstep--scene { min-height: 300px; }
.jstep--scene .jstep__inner { justify-content: flex-start; }
.jstep--scene .jstep__bgimg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 80%; animation: kenburns 20s ease-in-out infinite alternate; }
.jstep--scene .jstep__inner::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8,12,26,.95) 0%, rgba(8,12,26,.6) 40%, rgba(8,12,26,0) 75%); }
.jstep--scene .jstep__head { position: relative; z-index: 2; max-width: 460px; }

/* =========================================================
   EVOLUTION
   ========================================================= */
.stages { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.stage { position: relative; text-align: center; }
.stage__art {
  position: relative; aspect-ratio: 147 / 168; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line); transition: transform .6s var(--ease), box-shadow .6s, border-color .6s;
}
.stage__art img { width: 100%; height: 100%; object-fit: cover; }
.stage__art::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(180deg, transparent, rgba(3,6,13,.85)); }
.stage h3 { margin-top: 12px; font-family: var(--f-display); font-weight: 800; font-size: 17px; text-transform: uppercase; color: var(--sc); text-shadow: 0 0 16px color-mix(in srgb, var(--sc) 60%, transparent); }
.stage p { margin-top: 6px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.stage:not(:last-child)::after {
  content: ""; position: absolute; top: 42%; right: -13px; z-index: 2; width: 10px; height: 10px;
  border-top: 2.5px solid var(--axo); border-right: 2.5px solid var(--axo); transform: rotate(45deg);
  filter: drop-shadow(0 0 5px var(--axo)); opacity: .5; transition: opacity .4s;
}
.stage.is-active .stage__art { transform: translateY(-8px) scale(1.03); border-color: var(--sc); box-shadow: 0 0 0 1px var(--sc), 0 20px 50px -14px var(--sc); }
.stage.is-active::after { opacity: 1; animation: nudge 1.2s ease-in-out infinite; }
.stage-track { position: relative; height: 4px; margin-top: 26px; border-radius: 4px; background: rgba(255,255,255,.06); overflow: hidden; }
.stage-track span { position: absolute; inset: 0 auto 0 0; width: var(--p, 16.6%); border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--pepe), var(--axo), var(--violet), #ffcf6a); transition: width .8s var(--ease); box-shadow: 0 0 14px rgba(255,220,120,.6); }

.lineup { margin: 4px 0 2px; border-radius: 12px; overflow: hidden; background: rgba(3,6,13,.5); border: 1px solid rgba(255,255,255,.06); }
.lineup img { width: 100%; height: auto; }

.rarity-wrap { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.rarities { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.rarity {
  position: relative; border-radius: 16px; padding: 12px 10px 14px; text-align: center; isolation: isolate;
  background: linear-gradient(180deg, color-mix(in srgb, var(--rc) 14%, #0a0f1f), #070a15);
  border: 1px solid color-mix(in srgb, var(--rc) 45%, transparent);
  transition: transform .5s var(--ease), box-shadow .5s;
}
.rarity:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -20px var(--rc); }
.rarity__tag { font-family: var(--f-display); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: color-mix(in srgb, var(--rc) 70%, #fff); }
.rarity__art { margin: 10px 0; aspect-ratio: 110 / 72; border-radius: 10px; overflow: hidden; }
.rarity__art img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.rarity:hover .rarity__art img { transform: scale(1.1); }
.rarity b { display: block; font-family: var(--f-display); font-size: 13px; font-weight: 700; color: #fff; }
.rarity small { display: block; margin-top: 4px; font-size: 12px; line-height: 1.4; color: var(--muted); }
.rarity--legendary { border-color: transparent; }
.rarity--legendary::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: 17px; padding: 1.5px;
  background: conic-gradient(from var(--ang, 0deg), #ffcf6a, #ff8a3d, #fff1b8, #ffcf6a);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: spinBorder 4s linear infinite;
}
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spinBorder { to { --ang: 360deg; } }
.rarity--legendary { box-shadow: 0 0 40px -12px rgba(255,200,90,.7); }

.traits-panel { border-radius: 20px; padding: 24px; }
.traits-panel .kicker { margin-bottom: 16px; }
.tlist { display: grid; gap: 14px; }
.tlist li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 14px; align-items: center; }
.tlist__ico { grid-row: span 2; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: var(--c); background: color-mix(in srgb, var(--c) 10%, transparent); border: 1px solid color-mix(in srgb, var(--c) 28%, transparent); }
.tlist__ico svg { font-size: 20px; filter: drop-shadow(0 0 6px var(--c)); }
.tlist b { font-family: var(--f-display); font-size: 14px; font-weight: 700; }
.tlist span { font-size: 12.5px; color: var(--muted); }

/* =========================================================
   UNIVERSE
   ========================================================= */
.map-wrap { position: relative; }
.map {
  position: relative; isolation: isolate; overflow: hidden; border-radius: 28px; aspect-ratio: 1024 / 593;
  border: 1px solid var(--line);
  box-shadow: 0 60px 120px -60px rgba(150, 110, 255, .6);
}
.map__img { position: absolute; inset: -2%; width: 104%; height: 104%; max-width: none; object-fit: cover; transform: translate3d(var(--px, 0), var(--py, 0), 0); transition: transform .9s var(--ease); }
.map__clouds { position: absolute; inset: -20%; z-index: 1; pointer-events: none; opacity: .55;
  background:
    radial-gradient(28% 18% at 20% 80%, rgba(255,255,255,.22), transparent 70%),
    radial-gradient(24% 14% at 70% 90%, rgba(255,255,255,.18), transparent 70%),
    radial-gradient(30% 16% at 50% 20%, rgba(210,200,255,.14), transparent 70%);
  animation: clouds 40s linear infinite alternate; }
@keyframes clouds { to { transform: translate3d(8%, -3%, 0); } }
.map::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; box-shadow: inset 0 0 120px 30px rgba(3,6,13,.8); border-radius: inherit; }
.hotspot { position: absolute; z-index: 3; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 18px 4px var(--c); }
.hotspot::before, .hotspot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--c); animation: ring 2.4s ease-out infinite; }
.hotspot::after { animation-delay: 1.2s; }
@keyframes ring { from { transform: scale(.6); opacity: 1; } to { transform: scale(3.2); opacity: 0; } }
.hotspot--core { width: 26px; height: 26px; margin: -13px 0 0 -13px; background: #f3e9ff; --c: #c9a8ff; }

.map-cards { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.mcard-float {
  position: absolute; width: 20%; pointer-events: auto; padding: 16px; border-radius: 18px;
  background: rgba(6, 10, 22, .82); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 0 40px -16px var(--c);
  animation: floaty 7s ease-in-out infinite;
  min-height: 34%; display: flex; flex-direction: column;
}
.mcard-float .btn-acc { margin-top: auto; }
.mcard-float:nth-child(2) { animation-delay: -2s; }
.mcard-float:nth-child(3) { animation-delay: -4s; }
.mcard-float:nth-child(4) { animation-delay: -5.5s; }
@keyframes floaty { 50% { transform: translateY(-8px); } }
.mcard-float--pepe { left: .8%; top: 11%; }
.mcard-float--cat { right: .8%; top: 11%; }
.mcard-float--axo { left: .8%; top: 59%; }
.mcard-float--dino { right: .8%; top: 60%; }
.mcard-float__head { display: flex; align-items: center; gap: 10px; }
.icon-ring { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; color: var(--c); border: 1.5px solid var(--c); box-shadow: 0 0 14px -2px var(--c); background: rgba(3,6,13,.5); }
.icon-ring svg { font-size: 18px; }
.mcard-float h3 { font-family: var(--f-display); font-weight: 800; font-size: clamp(14px, 1.3vw, 18px); text-transform: uppercase; color: var(--c); }
.mcard-float p { margin: 10px 0 12px; font-size: 12.5px; line-height: 1.45; color: #cdd3e6; }
.mcard-float .btn-acc { height: 36px; font-size: 12.5px; }

.ustats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 26px 20px; }
.ustat { display: flex; align-items: center; gap: 16px; padding: 4px 22px; }
.ustat + .ustat { border-left: 1px solid var(--line); }
.ustat__ico { position: relative; display: grid; place-items: center; flex: none; width: 60px; height: 60px; border-radius: 50%; color: var(--c); }
.ustat__ico::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--c) 70%, transparent); animation: spin 14s linear infinite; }
.ustat__ico::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: color-mix(in srgb, var(--c) 10%, transparent); box-shadow: 0 0 22px -6px var(--c); }
.ustat__ico svg { position: relative; z-index: 1; font-size: 26px; filter: drop-shadow(0 0 6px var(--c)); }
@keyframes spin { to { transform: rotate(360deg); } }
.ustat b { font-family: var(--f-display); font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.ustat p { font-size: 13px; line-height: 1.4; color: var(--muted); margin-top: 3px; }

.wcard { cursor: pointer; }
.wcard .acard__name, .evo-card .acard__name { font-size: clamp(17px, 1.45vw, 21px); }
.wcard .acard__art { aspect-ratio: 236 / 168; }
.wcard__foot { display: flex; align-items: center; gap: 10px; }
.wcard__foot .pills { flex: 1; }
.wcard__go { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; color: var(--c); border: 1.5px solid var(--c); transition: background .3s, color .3s, transform .4s var(--ease); }
.wcard__go svg { font-size: 15px; }
.wcard.is-hover .wcard__go { background: var(--c); color: #05070e; transform: rotate(-45deg); }
.wcard__title { display: flex; align-items: center; gap: 10px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .card-grid, .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jstep:nth-child(2n)::after { display: none; }
  .jstep:not(:nth-child(4n)):not(:nth-child(2n))::after { display: block; }
  .stages { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .stage:nth-child(3n)::after { display: none; }
  .worlds-band { grid-template-columns: minmax(0, 1fr); }
  .wtiles { min-height: 280px; }
  .energy { grid-template-columns: minmax(0, 1fr); }
  .pillars-wrap { grid-template-columns: minmax(0, 1fr); }
  .rarity-wrap { grid-template-columns: minmax(0, 1fr); }
  .mcard-float { width: 23%; padding: 12px; }
  .mcard-float p { display: none; }
  .ustats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .ustat:nth-child(3) { border-left: 0; }
}

@media (max-width: 860px) {
  .phero { min-height: 0; flex-direction: column; align-items: stretch; }
  .phero__scene {
    position: relative; width: 125%; margin-left: -12.5%; aspect-ratio: 2.05; top: auto;
    -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%); mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
  }
  .phero::before { background: linear-gradient(180deg, rgba(3,6,13,.6) 0%, transparent 14%); }
  .phero__content { margin-top: -4%; padding-block: 0 48px; }
  .phero__content > * { max-width: 560px; }
  .origin { grid-template-columns: minmax(0, 1fr); }
  .origin__art { order: -1; }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .pillar:nth-child(3) { border-left: 0; }
  .mstats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  .mstat:nth-child(3) { border-left: 0; }
  .wtiles { flex-wrap: wrap; }
  .wtile { flex: 1 1 50%; min-height: 220px; }
  .wtile:hover { flex: 1 1 50%; }
  .wtile:nth-child(3) { border-left: 0; }
  .steps-wide { grid-template-columns: minmax(0, 1fr); }

  /* universe map: zoom to centre, cards below */
  .map { aspect-ratio: 1 / 1; }
  .map__img { width: 190%; left: -45%; right: auto; }
  .map-cards { position: static; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-top: 12px; }
  .mcard-float { position: relative; inset: auto; width: auto; animation: none; min-height: 0; }
  .mcard-float p { display: block; }
  .hotspot--edge { display: none; }
}

@media (max-width: 640px) {
  .card-grid, .steps-grid { grid-template-columns: minmax(0, 1fr); }
  .jstep::after { display: none !important; }
  .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; row-gap: 22px; }
  .stage::after { display: none !important; }
  .rarities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rarity--legendary { grid-column: span 2; }
  .map-cards, .ustats { grid-template-columns: minmax(0, 1fr); }
  .ustat { border-left: 0 !important; padding: 4px 6px; }
  .phero__content .btn-row { flex-wrap: nowrap; gap: 10px; }
  .phero__content .btn-row .btn { flex: 1; padding: 0 12px; font-size: 14.5px; }
  .phero__content .btn-row .arr { display: none; }
  .jstep__art { aspect-ratio: 4 / 3; }
  .cta-scene { min-height: 380px; align-items: flex-end; }
  .cta-scene::before { background: linear-gradient(180deg, rgba(3,6,13,.05) 20%, rgba(3,6,13,.95) 70%); }
  .jstep--wide .stage-pills { flex-wrap: wrap; }
  .modal__stages { flex-wrap: wrap; }
  .modal__stages li { flex: 1 1 30%; }
}

@media (prefers-reduced-motion: reduce) {
  .line > span { transform: none; }
  .tilt.is-in { transform: none !important; }
}
.modal__stages[hidden] { display: none; }

/* =========================================================
   SHARED: tabs / chips / search
   ========================================================= */
.tabs { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 8px; margin: 0 -2px; scroll-snap-type: x proximity; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: 1 0 auto; scroll-snap-align: start;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 20px; border-radius: 16px;
  font-family: var(--f-display); font-weight: 600; font-size: 14px; color: #cfd5ea; white-space: nowrap;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); border: 1px solid var(--line);
  transition: color .3s, border-color .3s, background .3s, box-shadow .3s, transform .3s var(--ease);
}
.tab svg { font-size: 19px; color: var(--c, #b48cff); transition: transform .4s var(--ease); }
.tab:hover { color: #fff; border-color: var(--line-2); transform: translateY(-2px); }
.tab:hover svg { transform: scale(1.15) rotate(-6deg); }
.tab.is-active {
  color: #fff; border-color: rgba(160, 120, 255, .9);
  background: linear-gradient(135deg, rgba(122,92,255,.45), rgba(176,75,255,.3));
  box-shadow: 0 0 30px -8px rgba(150,90,255,.9), inset 0 1px 0 rgba(255,255,255,.2);
}
.tab.is-active svg { color: #fff; }

.search {
  position: relative; display: flex; align-items: center; height: 56px; border-radius: 999px; max-width: 440px;
  background: rgba(8, 12, 26, .65); border: 1px solid var(--line-2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: border-color .3s, box-shadow .3s;
}
.search:focus-within { border-color: var(--cyan-edge); box-shadow: 0 0 30px -8px rgba(95,211,255,.8); }
.search svg { position: absolute; left: 20px; font-size: 20px; color: #cfd5ea; pointer-events: none; }
.search input {
  width: 100%; height: 100%; padding: 0 20px 0 54px; border: 0; background: none; outline: none;
  font: 500 15.5px var(--f-body); color: #fff;
}
.search input::placeholder { color: #8d95ae; }
.search--sm { height: 46px; max-width: none; border-radius: 14px; }
.search--sm svg { left: 14px; font-size: 17px; }
.search--sm input { padding-left: 42px; font-size: 14.5px; }

.chip-tag { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 8px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: color-mix(in srgb, var(--tc) 55%, #fff); background: color-mix(in srgb, var(--tc) 22%, transparent); border: 1px solid color-mix(in srgb, var(--tc) 45%, transparent); }
.meta-row { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 700; font-size: 14.5px; color: var(--lc, #ff6fc0); }
.link-arrow svg { font-size: 17px; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

.empty { display: none; padding: 40px 20px; text-align: center; color: var(--muted); }
.empty b { display: block; color: #fff; font-family: var(--f-display); font-size: 18px; margin-bottom: 6px; }
.empty.is-shown { display: block; animation: rise .5s var(--ease); }

/* =========================================================
   FAQ
   ========================================================= */
.phero .search { margin-top: 28px; animation: rise .9s .42s var(--ease) both; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: start; margin-top: 18px; }
.qa {
  position: relative; border-radius: 18px; overflow: hidden;
  background: linear-gradient(180deg, rgba(16,22,44,.8), rgba(7,10,22,.85)); border: 1px solid var(--line);
  transition: border-color .4s, box-shadow .4s, opacity .4s, transform .5s var(--ease);
}
.qa:hover { border-color: color-mix(in srgb, var(--c) 40%, transparent); }
.qa.is-open { border-color: color-mix(in srgb, var(--c) 60%, transparent); box-shadow: 0 20px 60px -30px var(--c); }
.qa[hidden] { display: none; }
.qa__q {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; width: 100%; padding: 14px 18px 14px 14px; text-align: left;
}
.qa__ico {
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 14px; color: var(--c);
  background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--c) 30%, transparent), rgba(3,6,13,.6) 70%);
  border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
  transition: transform .5s var(--ease), box-shadow .5s;
}
.qa__ico svg { font-size: 28px; filter: drop-shadow(0 0 8px var(--c)); }
.qa:hover .qa__ico, .qa.is-open .qa__ico { transform: rotate(-6deg) scale(1.05); box-shadow: 0 0 26px -6px var(--c); }
.qa__q b { font-family: var(--f-display); font-weight: 700; font-size: 16px; line-height: 1.35; }
.qa__chev { font-size: 18px; color: var(--muted); transform: rotate(90deg); transition: transform .45s var(--ease), color .3s; }
.qa.is-open .qa__chev { transform: rotate(-90deg); color: #fff; }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.qa.is-open .qa__a { grid-template-rows: 1fr; }
.qa__a > div { overflow: hidden; }
.qa__a p { padding: 0 22px 20px 90px; color: #bcc3d9; font-size: 14.5px; line-height: 1.6; }
mark { background: color-mix(in srgb, var(--c, #5fd3ff) 35%, transparent); color: #fff; border-radius: 4px; padding: 0 2px; }
.faq-count { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.cta-scene__tg { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; flex: none; margin-bottom: 18px; color: #fff; background: radial-gradient(circle at 40% 35%, #5fd3ff, #1c6fd6); box-shadow: 0 0 0 6px rgba(95,211,255,.15), 0 0 40px -4px rgba(95,211,255,.9); animation: pulse 2.6s ease-in-out infinite; }
.cta-scene__tg svg { font-size: 38px; margin-left: -4px; }

/* =========================================================
   LITEPAPER
   ========================================================= */
.read-progress { position: fixed; left: 0; right: 0; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); z-index: 49; height: 3px; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(var(--p, 0)); background: var(--mother-grad); box-shadow: 0 0 12px rgba(200,140,255,.8); }
.chapters { position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 12px); z-index: 20; }
.chapters .tabs { padding: 8px; border-radius: 20px; background: rgba(6,10,22,.78); border: 1px solid var(--line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.chapters .tab { height: 44px; flex: 1 0 auto; border-color: transparent; background: none; }
.chapters .tab.is-active { background: linear-gradient(135deg, rgba(122,92,255,.4), rgba(176,75,255,.25)); border-color: rgba(160,120,255,.7); }

.lp { position: relative; padding-left: 48px; }
.lp__rail { position: absolute; left: 12px; top: 10px; bottom: 10px; width: 2px; background: rgba(255,255,255,.07); border-radius: 2px; }
.lp__rail span { position: absolute; inset: 0 0 auto; height: calc(var(--p, 0) * 100%); background: linear-gradient(180deg, var(--axo), var(--violet), var(--cat)); box-shadow: 0 0 12px rgba(95,211,255,.8); border-radius: inherit; }
.chapter.shell { overflow: visible; }
.chapter { position: relative; margin-top: 22px; scroll-margin-top: calc(var(--header-h) + 90px); }
.chapter__node { position: absolute; left: -44px; top: 30px; width: 18px; height: 18px; border-radius: 50%; background: var(--void); border: 2px solid rgba(255,255,255,.2); transition: border-color .4s, box-shadow .4s, background .4s; }
.chapter.is-active .chapter__node, .chapter.is-past .chapter__node { border-color: var(--axo); background: #0b1a2b; box-shadow: 0 0 0 5px rgba(95,211,255,.12), 0 0 18px rgba(95,211,255,.8); }
.chapter__num { display: flex; align-items: center; gap: 14px; font-family: var(--f-display); font-weight: 800; font-size: 15px; color: var(--axo); }
.chapter__num::after { content: ""; width: 70px; height: 1px; background: linear-gradient(90deg, var(--axo), transparent); }
.chapter .h2 { margin-top: 10px; }
.chapter__sub { margin-top: 12px; font-size: 13px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #cdd3e6; }
.chapter .lead { margin-top: 16px; font-size: 16px; }
.chapter .btn { margin-top: 24px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(22px, 3vw, 40px); align-items: center; }
.split--rev { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.split__art { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 7; border: 1px solid var(--line); box-shadow: 0 30px 70px -40px rgba(150,110,255,.9); }
.split__art img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 22s ease-in-out infinite alternate; }
.split__art::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 50px 10px rgba(3,6,13,.6); border-radius: inherit; }
.topics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.topic { position: relative; display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, rgba(16,22,44,.85), rgba(7,10,22,.9)); border: 1px solid var(--line); }
.topic.is-hover { border-color: rgba(95,211,255,.5); box-shadow: 0 30px 60px -30px rgba(95,211,255,.7); }
.topic__art { aspect-ratio: 180 / 96; overflow: hidden; }
.topic__art img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.topic:hover .topic__art img { transform: scale(1.1); }
.topic__body { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; padding: 14px 16px 18px; }
.topic__body b { font-family: var(--f-display); font-size: 16px; }
.topic__body span:not(.topic__go) { grid-column: 1; font-size: 13px; line-height: 1.4; color: var(--muted); }
.topic__body .topic__go { grid-row: 1 / span 2; grid-column: 2; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--axo); border: 1.5px solid var(--axo); transition: background .3s, color .3s, transform .4s var(--ease); }
.topic__go svg { font-size: 15px; }
.topic.is-hover .topic__go, .topic:hover .topic__go { background: var(--axo); color: #05070e; transform: rotate(-45deg); }

/* =========================================================
   UPDATES
   ========================================================= */
.news-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.news {
  position: relative; isolation: isolate; overflow: hidden; border-radius: 20px; min-height: 250px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: #080c1a; border: 1px solid var(--line);
  transition: border-color .4s, box-shadow .4s, opacity .45s, transform .6s var(--ease);
}
.news.is-hover { border-color: color-mix(in srgb, var(--tc) 55%, transparent); box-shadow: 0 30px 70px -30px var(--tc); }
.news:not(.news--top)::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, #080c1a 0%, rgba(8,12,26,.88) 32%, rgba(8,12,26,.35) 55%, transparent 75%); }
.news__art { position: absolute; inset: 0 0 0 auto; width: 64%; z-index: -2; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); mask-image: linear-gradient(90deg, transparent, #000 40%); }
.news__art img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter .8s; }
.news:hover .news__art img { transform: scale(1.07); filter: brightness(1.12) saturate(1.1); }
.news__body { position: relative; padding: 24px; max-width: 360px; }
.news h3 { margin: 12px 0 10px; font-family: var(--f-display); font-weight: 700; font-size: 20px; line-height: 1.2; }
.news p { font-size: 14px; line-height: 1.55; color: #bcc3d9; margin-bottom: 16px; }
.news--feature { grid-column: span 8; min-height: 300px; }
.news--feature .news__art { width: 70%; }
.news--feature h3 { font-size: clamp(26px, 2.6vw, 34px); }
.news--feature .news__body { max-width: 380px; }
.news--top { grid-column: span 4; justify-content: flex-start; }
.news--top .news__art { position: relative; inset: auto; width: 100%; aspect-ratio: 2.2; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
.news--top .news__body { padding-top: 0; margin-top: -24px; }
.span-7 { grid-column: span 7; } .span-5 { grid-column: span 5; } .span-6 { grid-column: span 6; }
.news-grid.is-filtered .news { grid-column: span 6; }
.news[hidden] { display: none; }
.news.is-entering { animation: newsIn .6s var(--ease) both; }
@keyframes newsIn { from { opacity: 0; transform: translateY(20px) scale(.98); } }

/* =========================================================
   ROADMAP
   ========================================================= */
.track { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); padding: 30px 18px 26px; }
.track__line { position: absolute; left: calc(100% / 12 + 18px); right: calc(100% / 12 + 18px); top: 50px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.08); }
.track__line span { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--pepe), var(--violet), var(--axo)); box-shadow: 0 0 16px rgba(95,211,255,.7); transition: width 2s var(--ease) .3s; }
.is-in .track__line span { width: var(--fill, 40%); }
.tnode { position: relative; z-index: 1; text-align: center; }
.tnode__dot { display: grid; place-items: center; width: 42px; height: 42px; margin: 0 auto 14px; border-radius: 50%; background: #0b1020; border: 2px solid rgba(255,255,255,.2); color: #8d95ae; transition: transform .4s var(--ease); }
.tnode__dot svg { font-size: 18px; }
.tnode small { display: block; font-size: 13px; font-weight: 700; color: #8d95ae; }
.tnode b { display: block; margin-top: 2px; font-family: var(--f-display); font-size: 14.5px; font-weight: 700; line-height: 1.25; color: #aab2c9; }
.tnode em { display: block; margin-top: 6px; font-style: normal; font-size: 12.5px; color: var(--dim); }
.tnode.is-done .tnode__dot { background: var(--sc); border-color: transparent; color: #06110a; box-shadow: 0 0 20px -2px var(--sc); }
.tnode.is-done small, .tnode.is-done em { color: var(--sc); }
.tnode.is-done b { color: #fff; }
.tnode.is-now .tnode__dot { width: 50px; height: 50px; margin-top: -4px; margin-bottom: 10px; border-color: var(--axo); color: #fff; background: #0b1a2b; box-shadow: 0 0 0 6px rgba(95,211,255,.14), 0 0 30px rgba(95,211,255,.9); animation: pulse 2.4s ease-in-out infinite; }
.tnode.is-now small, .tnode.is-now em { color: var(--axo); }
.tnode.is-now b { color: #fff; }
.tnode.is-lit .tnode__dot { transform: scale(1.18); }

.phase-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.phase {
  position: relative; display: flex; flex-direction: column; border-radius: 18px; overflow: hidden;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 16%, #0a0f1f) 0%, #070a15 60%);
  border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
}
.phase.is-hover { border-color: color-mix(in srgb, var(--c) 70%, transparent); box-shadow: 0 30px 70px -30px var(--c); }
.phase--now { border: 1.5px solid var(--axo); box-shadow: 0 0 40px -10px rgba(95,211,255,.8); }
.phase--locked { --c: #6c7a9c; }
.phase__head { padding: 18px 16px 10px; }
.phase__head small { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: color-mix(in srgb, var(--c) 80%, #fff); }
.phase__head h3 { margin-top: 6px; font-family: var(--f-display); font-weight: 800; font-size: 19px; line-height: 1.12; }
.phase__head p { margin-top: 10px; font-size: 12.5px; line-height: 1.45; color: #bcc3d9; }
.phase__art { position: relative; aspect-ratio: 155 / 146; overflow: hidden; }
.phase__art img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.phase:hover .phase__art img { transform: scale(1.08); }
.phase__art::before, .phase__art::after { content: ""; position: absolute; inset: 0 0 auto; height: 30%; z-index: 1; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 10%, #0a0f1f), transparent); }
.phase__art::after { inset: auto 0 0; background: linear-gradient(0deg, #080b17, transparent); }
.phase--locked .phase__art img { filter: saturate(.75) brightness(.8); }
.checks { display: grid; gap: 9px; padding: 12px 14px 16px; }
.checks li { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: #cfd5ea; }
.checks li svg { font-size: 14px; flex: none; }
.checks .ok svg { color: #06110a; background: var(--c); border-radius: 50%; padding: 2px; width: 18px; height: 18px; }
.checks .half svg { color: var(--axo); width: 18px; height: 18px; }
.checks .todo svg { color: #5d6784; width: 18px; height: 18px; }
.checks .lock { color: #8d95ae; }
.checks .lock svg { color: #8d95ae; width: 16px; height: 16px; }
.phase__foot { margin-top: auto; padding: 0 14px 14px; text-align: center; }
.status { display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border-radius: 999px; font-family: var(--f-display); font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; border: 1.5px solid color-mix(in srgb, var(--c) 70%, transparent); color: #fff; background: color-mix(in srgb, var(--c) 10%, transparent); }
.status svg { font-size: 16px; }
.status--done { box-shadow: 0 0 22px -6px var(--c); }
.status--progress svg { animation: spin 1.8s linear infinite; }
.phase__foot em { display: block; margin-top: 10px; font-style: normal; font-size: 12.5px; color: var(--muted); }

.banner { position: relative; isolation: isolate; overflow: hidden; border-radius: 26px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; min-height: 320px; border: 1px solid var(--line-2); background: #070b18; }
.banner__img { position: absolute; inset: 0 0 0 16%; z-index: -2; -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%); mask-image: linear-gradient(90deg, transparent, #000 35%); }
.banner__img img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 24s ease-in-out infinite alternate; }
.banner__body { padding: clamp(26px, 4vw, 48px); max-width: 520px; }
.banner__body .lead { margin-top: 14px; font-size: 15.5px; }
.banner__body .btn { margin-top: 22px; }
.banner__list { margin: 20px; padding: 18px 20px; border-radius: 18px; display: grid; gap: 14px; background: rgba(6,10,22,.78); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.banner__list li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: #e3e7f5; }
.banner__list svg { font-size: 22px; color: var(--gold); filter: drop-shadow(0 0 6px rgba(247,201,90,.7)); }

.miles { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.mile { position: relative; padding: 14px 10px 14px; border-radius: 16px; text-align: center; background: linear-gradient(180deg, rgba(16,22,44,.8), rgba(7,10,22,.9)); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s; }
.mile:hover { transform: translateY(-6px); }
.mile__top { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: #dfe4f3; min-height: 34px; }
.mile__top svg { font-size: 16px; flex: none; }
.mile__ico { display: grid; place-items: center; height: 70px; font-size: 44px; color: var(--mc, #8d95ae); }
.mile__ico svg { filter: drop-shadow(0 0 10px var(--mc, transparent)); }
.mile em { display: inline-block; margin-top: 4px; padding: 4px 12px; border-radius: 99px; font-style: normal; font-size: 12px; color: var(--muted); background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.mile.is-done .mile__top svg { color: #06110a; background: var(--pepe); border-radius: 50%; padding: 2px; width: 18px; height: 18px; }
.mile.is-done { --mc: #f7c95a; }
.mile.is-now { --mc: #f7c95a; border-color: rgba(122,92,255,.8); box-shadow: 0 0 30px -10px rgba(150,90,255,.9); }
.mile.is-now .mile__top svg { color: var(--violet); }
.mile.is-lock .mile__top svg { color: #8d95ae; }
.mile.is-lock { --mc: #b48cff; }
.mile.is-lock .mile__ico { opacity: .75; }
.miles-head { display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.miles-head p { color: var(--muted); font-size: 14px; }

/* =========================================================
   LEADERBOARD
   ========================================================= */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.kpi { display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: 18px; }
.kpi__ico { display: grid; place-items: center; width: 56px; height: 56px; flex: none; border-radius: 50%; color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); box-shadow: 0 0 26px -8px var(--c); }
.kpi__ico svg { font-size: 28px; filter: drop-shadow(0 0 6px var(--c)); }
.kpi b { display: block; font-family: var(--f-display); font-size: clamp(22px, 2vw, 28px); font-weight: 800; font-variant-numeric: tabular-nums; }
.kpi span { font-size: 14px; color: var(--muted); }

.lb-controls { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 20px 0 18px; }
.seg { position: relative; display: inline-flex; padding: 5px; border-radius: 999px; background: rgba(8,12,26,.7); border: 1px solid var(--line); }
.seg button { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 20px; border-radius: 999px; font-family: var(--f-display); font-weight: 600; font-size: 14px; color: #bfc6dc; transition: color .3s; white-space: nowrap; }
.seg button svg { font-size: 18px; color: var(--c); }
.seg button.is-active { color: #fff; }
.seg__pill { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px; background: linear-gradient(180deg, rgba(95,211,255,.25), rgba(95,211,255,.08)); border: 1px solid var(--cyan-edge); box-shadow: 0 0 22px -6px rgba(95,211,255,.9); transition: transform .5s var(--ease), width .5s var(--ease); }
.seg--mother .seg__pill { background: linear-gradient(180deg, color-mix(in srgb, var(--pc, #f7c95a) 30%, transparent), color-mix(in srgb, var(--pc, #f7c95a) 8%, transparent)); border-color: var(--pc, #f7c95a); box-shadow: 0 0 22px -6px var(--pc, #f7c95a); }

.podium { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 1fr); gap: 14px; align-items: end; }
.pod {
  position: relative; border-radius: 20px; overflow: hidden; text-align: center;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 18%, #0a0f1f), #070a15 70%);
  border: 1px solid color-mix(in srgb, var(--c) 40%, transparent);
}
.pod.is-hover { box-shadow: 0 30px 70px -30px var(--c); border-color: var(--c); }
.pod--1 { border: 1.5px solid #f7c95a; box-shadow: 0 0 60px -18px rgba(247,201,90,.8); }
.pod__art { position: relative; aspect-ratio: 311 / 147; overflow: hidden; }
.pod--1 .pod__art { aspect-ratio: 326 / 160; }
.pod__art img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pod:hover .pod__art img { transform: scale(1.06); }
.pod__art::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(0deg, color-mix(in srgb, var(--c) 8%, #0a0f1f), transparent); }
.pod__shine { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(255,240,200,.25) 50%, transparent 65%); transform: translateX(-120%); animation: btnSheen 5s 1s infinite; }
.pod__body { position: relative; padding: 0 16px 18px; margin-top: -10px; }
.pod__name { font-family: var(--f-display); font-weight: 800; font-size: 20px; }
.mchip { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; margin-top: 6px; padding: 3px 10px; border-radius: 8px; font-size: 12px; font-weight: 700; color: #fff; background: color-mix(in srgb, var(--c) 55%, transparent); border: 1px solid color-mix(in srgb, var(--c) 80%, transparent); }
.mchip svg { font-size: 13px; }
.pod__energy { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-family: var(--f-display); font-weight: 800; font-size: clamp(22px, 2.2vw, 30px); font-variant-numeric: tabular-nums; }
.pod__energy svg { font-size: 26px; color: #ffcf4a; filter: drop-shadow(0 0 8px rgba(255,200,60,.8)); }
.pod__label { font-size: 13px; color: var(--muted); }
.pod__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.pod__stats div { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 8px; align-items: center; text-align: left; padding: 0 8px; }
.pod__stats div + div { border-left: 1px solid var(--line); }
.pod__stats svg { grid-row: span 2; font-size: 22px; color: var(--c); }
.pod__stats b { font-family: var(--f-display); font-size: 14px; }
.pod__stats span { font-size: 11.5px; color: var(--muted); }

.lb-main { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; margin-top: 16px; align-items: start; }
.lb-table-wrap { border-radius: 20px; padding: 8px 8px 12px; overflow-x: auto; }
.lb-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 620px; }
.lb-table th { padding: 14px 12px; text-align: left; font-size: 12.5px; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line); }
.lb-table td { padding: 9px 12px; color: #dfe4f3; font-variant-numeric: tabular-nums; }
.lb-table tr { transition: background .3s; }
.lb-table tbody tr:hover { background: rgba(255,255,255,.035); }
.lb-table tbody tr.is-entering { animation: rowIn .5s var(--ease) both; }
@keyframes rowIn { from { opacity: 0; transform: translateX(-10px); } }
.lb-table tbody tr.is-me { background: rgba(95,211,255,.08); }
.lb-rank { font-family: var(--f-display); font-weight: 700; color: #aab2c9; width: 44px; }
.lb-user { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.lb-av { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; flex: none; font-family: var(--f-display); font-weight: 800; font-size: 12px; color: #05070e; background: radial-gradient(circle at 35% 30%, #fff, var(--c) 60%); box-shadow: 0 0 12px -3px var(--c); }
.lb-mom { display: inline-flex; align-items: center; gap: 8px; color: #cfd5ea; }
.lb-mom svg { color: var(--c); font-size: 16px; }
.lb-en { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.lb-en svg { color: #ffcf4a; font-size: 15px; }

.side { display: grid; gap: 16px; }
.side__card { border-radius: 20px; padding: 18px; }
.side__card .kicker { font-size: 12px; margin-bottom: 12px; }
.me { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; }
.me__av { grid-row: span 2; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; color: #05070e; background: radial-gradient(circle at 35% 30%, #fff, var(--dino) 60%); border: 2px solid #f7c95a; }
.me b { font-family: var(--f-display); font-size: 16px; }
.me__rank { grid-row: span 2; padding: 4px 12px; border-radius: 99px; border: 1px solid var(--line-2); font-family: var(--f-display); font-weight: 700; font-size: 14px; }
.me__stats { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; margin: 16px 0; }
.me__stats b { display: block; font-family: var(--f-display); font-size: 17px; }
.me__stats span { font-size: 11.5px; color: var(--muted); }
.me__stats div:first-child b::before { content: "⚡"; font-size: 14px; margin-right: 2px; }
.side__card .btn { width: 100%; height: 44px; font-size: 14px; }
.countries { display: grid; gap: 10px; }
.countries li { display: grid; grid-template-columns: 18px 22px minmax(0, 1fr) auto; gap: 8px; align-items: center; font-size: 13.5px; color: #dfe4f3; }
.countries li > span:first-child { color: var(--muted); font-weight: 700; font-size: 12.5px; }
.countries em { font-style: normal; color: var(--muted); font-variant-numeric: tabular-nums; }
.countries .bar { grid-column: 3 / -1; height: 4px; margin-top: -4px; }
.countries .bar span { background: linear-gradient(90deg, var(--axo), var(--violet)); }

.mlb { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.mlb-card { position: relative; border-radius: 18px; padding: 16px; overflow: hidden; background: linear-gradient(135deg, color-mix(in srgb, var(--c) 16%, #0a0f1f), #070a15 70%); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); }
.mlb-card.is-hover { box-shadow: 0 30px 60px -30px var(--c); border-color: var(--c); }
.mlb-card__top { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: center; }
.mlb-card__img { aspect-ratio: 1; border-radius: 14px; display: grid; place-items: end center; overflow: hidden; background: radial-gradient(circle at 50% 70%, color-mix(in srgb, var(--c) 45%, transparent), transparent 70%), rgba(3,6,13,.5); border: 1px solid color-mix(in srgb, var(--c) 30%, transparent); }
.mlb-card__img img { width: 112%; max-width: none; transition: transform .8s var(--ease); }
.mlb-card:hover .mlb-card__img img { transform: scale(1.08) translateY(-3px); }
.mlb-card h3 { font-family: var(--f-display); font-weight: 800; font-size: 16px; text-transform: uppercase; color: var(--c); margin-bottom: 8px; }
.mlb-card ol { display: grid; gap: 6px; }
.mlb-card li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #e3e7f5; }
.mlb-card li i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-style: normal; font-size: 11px; font-weight: 800; color: #05070e; background: #c9ced9; }
.mlb-card li:first-child i { background: #f7c95a; }
.mlb-card li:nth-child(3) i { background: #e39b6a; }
.mlb-card .btn-acc { margin-top: 14px; height: 42px; font-size: 13px; }

/* ---------- responsive for new pages ---------- */
@media (max-width: 1200px) {
  .phase-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .miles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .topics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lb-main { grid-template-columns: minmax(0, 1fr); }
  .side { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mlb { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .split, .split--rev { grid-template-columns: minmax(0, 1fr); }
  .split--rev .split__art { order: -1; }
  .news--feature, .news--top, .span-7, .span-5, .span-6 { grid-column: span 12; }
  .news-grid.is-filtered .news { grid-column: span 12; }
  .banner { grid-template-columns: minmax(0, 1fr); }
  .banner__list { margin-top: 0; }
  .side { grid-template-columns: minmax(0, 1fr); }
  .podium { grid-template-columns: minmax(0, 1fr); }
  .pod--1 { order: -1; }
  .track { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 26px; }
  .track__line { display: none; }
}
@media (max-width: 640px) {
  .phase-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .miles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topics { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .mlb, .kpis { grid-template-columns: minmax(0, 1fr); }
  .lp { padding-left: 30px; }
  .lp__rail { left: 6px; }
  .chapter__node { left: -32px; }
  .qa__ico { width: 48px; height: 48px; }
  .qa__ico svg { font-size: 22px; }
  .qa__a p { padding-left: 18px; }
  .news__art { width: 100%; -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.25) 0%, #000 70%); mask-image: linear-gradient(180deg, rgba(0,0,0,.25) 0%, #000 70%); opacity: .55; }
  .news { min-height: 260px; }
  .news--top .news__art { opacity: 1; }
  .seg { width: 100%; overflow-x: auto; scrollbar-width: none; }
  .seg button { padding: 0 14px; flex: 1 0 auto; }
  .lb-controls { flex-direction: column; }
  .track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phase__head h3 { font-size: 17px; }
}

/* ---------- evolution variants ---------- */
.variants { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.variant { border-radius: 16px; overflow: hidden; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 12%, #0a0f1f), #070a15); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); transition: transform .5s var(--ease), box-shadow .5s, border-color .5s; }
.variant:hover { transform: translateY(-6px); border-color: var(--c); box-shadow: 0 24px 50px -20px var(--c); }
.variant__art { aspect-ratio: 1.4; overflow: hidden; }
.variant__art img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .6s; }
.variant:hover .variant__art img { transform: scale(1.1); filter: brightness(1.15) saturate(1.15); }
.variant__body { display: flex; align-items: center; gap: 10px; padding: 12px; }
.variant__ico { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); }
.variant__ico svg { font-size: 16px; filter: drop-shadow(0 0 5px var(--c)); }
.variant b { display: block; font-family: var(--f-display); font-size: 13px; font-weight: 800; text-transform: uppercase; color: var(--c); }
.variant span:not(.variant__ico) { font-size: 12px; color: var(--muted); line-height: 1.35; }
@media (max-width: 1200px) { .variants { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) { .variants { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- evolution: mother switch, modal grid, full-bleed CTA ---------- */
.stage-switch { margin-top: 22px; }
.stage__art img { transition: opacity .35s var(--ease), transform .6s var(--ease); }
.stages.is-swapping .stage__art img { opacity: 0; transform: scale(.94); }
.modal__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.modal__grid figure { margin: 0; position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: .92; border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); animation: rise .5s var(--ease) both; }
.modal__grid img { width: 100%; height: 100%; object-fit: cover; }
.modal__grid figcaption { position: absolute; inset: auto 0 0; padding: 18px 8px 8px; text-align: center; font-family: var(--f-display); font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; background: linear-gradient(180deg, transparent, rgba(3,6,13,.9)); }
.modal__grid figure:last-child { border-color: #f7c95a; box-shadow: 0 0 24px -6px rgba(247,201,90,.8); }
.modal__grid figure:last-child figcaption { color: #f7c95a; }
.modal:has(.modal__grid:not([hidden])) .modal__art { display: none; }
.modal:has(.modal__grid:not([hidden])) .modal__body { padding-top: 28px; }
.cta-scene--full .cta-scene__img { width: 80%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%); mask-image: linear-gradient(90deg, transparent 0%, #000 22%); }
@media (max-width: 640px) { .cta-scene--full .cta-scene__img { width: 100%; -webkit-mask-image: none; mask-image: none; } }
.cta-scene--full::before { background: linear-gradient(90deg, rgba(3,6,13,.85) 0%, rgba(3,6,13,.35) 30%, rgba(3,6,13,0) 48%); }
.cta-scene--full { min-height: clamp(340px, 34vw, 480px); }
@media (max-width: 640px) {
  .modal__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-scene--full::before { background: linear-gradient(180deg, rgba(3,6,13,0) 25%, rgba(3,6,13,.95) 72%); }
}

/* Safari: stop grid children growing to their image's intrinsic width */
.card-grid > *, .steps-grid > *, .steps-wide > *, .stages > *, .variants > *, .rarities > *, .phase-grid > *, .miles > *,
.news-grid > *, .topics > *, .faq-grid > *, .podium > *, .lb-main > *, .side > *, .mlb > *, .kpis > *, .split > *, .origin > *,
.energy > *, .pillars-wrap > *, .rarity-wrap > *, .worlds-band > *, .map-cards > *, .ustats > *, .track > * { min-width: 0; }

/* podium rank badge */
.pod__rank { position: absolute; z-index: 3; top: 26px; left: 16px; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: radial-gradient(circle at 40% 30%, #2a2f45, #0b0f1e); border: 2px solid var(--c); box-shadow: 0 0 24px -4px var(--c), inset 0 1px 0 rgba(255,255,255,.2); }
.pod__rank svg { position: absolute; top: -17px; font-size: 24px; color: var(--c); filter: drop-shadow(0 0 6px var(--c)); }
.pod__rank b { font-family: var(--f-display); font-size: 24px; font-weight: 800; color: #fff; }
.pod--1 .pod__rank { width: 62px; height: 62px; animation: floaty 4s ease-in-out infinite; }
.pod--1 .pod__rank b { font-size: 28px; color: #ffe08a; }
.pod__art { overflow: visible; }
.pod__art > img { border-radius: 20px 20px 0 0; }
.pod { overflow: hidden; }
.pod__art { padding-top: 0; }
.variant__body > div { min-width: 0; }
.variant b { overflow-wrap: anywhere; }
.cta-scene__body { min-width: 0; }
@media (max-width: 640px) {
  .variant b { font-size: 12px; letter-spacing: 0; }
  .variant__body { padding: 10px; gap: 8px; }
  .cta-scene__body { padding: 26px 22px; }
  .cta-scene__body .btn { max-width: 100%; white-space: normal; height: auto; min-height: 52px; padding: 12px 22px; text-align: center; }
  .lp .cta-scene__body { padding: 24px 18px; }
}

/* ---------- mobile polish: banners show the art on top, text below ---------- */
@media (max-width: 640px) {
  .cta-scene { min-height: 0; flex-direction: column; align-items: stretch; }
  .cta-scene::before { display: none; }
  .cta-scene__img, .cta-scene--full .cta-scene__img {
    position: relative; inset: auto; width: 100%; aspect-ratio: 16 / 10; z-index: 0;
    -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%); mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
  }
  .cta-scene__body { position: relative; z-index: 1; margin-top: -36px; padding-top: 0; }
  .cta-scene__tg { width: 64px; height: 64px; margin-bottom: 14px; }
  .cta-scene__tg svg { font-size: 28px; }

  .banner { min-height: 0; }
  .banner__img { position: relative; inset: auto; grid-row: 1; aspect-ratio: 16 / 10;
    -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%); mask-image: linear-gradient(180deg, #000 62%, transparent 100%); }
  .banner__body { margin-top: -36px; position: relative; padding-top: 0; }
  .banner__list { margin: 0 16px 16px; }

  .seg button { padding: 0 10px; font-size: 13px; gap: 5px; height: 40px; }
  .seg button svg { font-size: 15px; }

  .topic__body { grid-template-columns: minmax(0, 1fr); padding: 12px; }
  .topic__body .topic__go { display: none; }
}
