/* ============================================================
   Kenzo — landing
   Estructura simple y centrada (misma familia que BaliAIPage),
   con la paleta del tema "Structured Utility" de la app: negro,
   rampa grafito y oro reservado para lo que importa.
   ============================================================ */

@font-face { font-family: "Poppins"; src: url("../assets/fonts/poppins_regular.ttf") format("truetype");    font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../assets/fonts/poppins_medium.ttf") format("truetype");     font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../assets/fonts/poppins_semi_bold.ttf") format("truetype");  font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../assets/fonts/poppins_extra_bold.ttf") format("truetype"); font-weight: 800; font-display: swap; }

:root {
  --ink: #000000;
  --surface: #0F1113;
  --surface-2: #17191D;
  --surface-3: #212429;
  --hairline: rgba(255, 255, 255, .10);
  --hairline-strong: rgba(255, 255, 255, .18);

  --text: #F7F8FA;
  --text-2: #A7AEB9;
  --text-3: #767E8A;

  --gold: #F5B324;
  --gold-hi: #FFD264;
  --gold-deep: #C97E12;
  --orange: #FFA23A;
  --green: #3ED598;
  --blue: #4FA8F5;
  --purple: #A855F7;
  --cyan: #35D2D2;
  --red: #FF6B6B;

  --wrap: 1180px;
  --r: 18px;
  --r-lg: 26px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 16px/1.65 "Poppins", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
/* display:flex/grid gana a la regla [hidden] del navegador; hay que forzarla. */
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.02em; font-weight: 800; }
p { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 100;
  background: var(--gold); color: #000; padding: 10px 16px; border-radius: 999px;
  font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- utilidades de texto ---------- */
.overline {
  font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.micro { color: var(--text-3); font-size: 12.5px; }
.grad {
  background: linear-gradient(100deg, var(--gold-hi) 0%, var(--gold) 45%, var(--gold-deep) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tag {
  display: inline-block; padding: 6px 16px; border-radius: 999px; margin-bottom: 16px;
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); background: rgba(245, 179, 36, .1);
  box-shadow: inset 0 0 0 1px rgba(245, 179, 36, .25);
}
.tag--sm { font-size: 10px; padding: 4px 12px; margin-bottom: 8px; }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  border-radius: 999px; font-weight: 600; letter-spacing: -.01em; padding: 12px 22px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--lg { padding: 15px 30px; font-size: 16px; }
.btn--gold {
  color: #150F02;
  background: linear-gradient(160deg, var(--gold-hi), var(--gold) 55%, var(--gold-deep));
  box-shadow: 0 10px 30px -12px rgba(245, 179, 36, .65), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(245, 179, 36, .8), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn--ghost { border: 1px solid var(--hairline-strong); color: var(--text); background: rgba(255, 255, 255, .02); }
.btn--ghost:hover { background: rgba(255, 255, 255, .07); transform: translateY(-2px); }

/* ============================ NAV ============================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(6, 7, 8, .82);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--hairline);
}
.nav__progress {
  position: absolute; left: 0; bottom: -1px; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-hi));
  box-shadow: 0 0 12px rgba(245, 179, 36, .6);
  transition: width .1s linear;
}
.nav__inner { display: flex; align-items: center; gap: 22px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand__mark { width: 40px; height: 40px; border-radius: 12px; }
.brand__name { font-weight: 800; font-size: 19px; }
.nav__links { display: flex; gap: 26px; margin-left: auto; font-size: 14.5px; color: var(--text-2); }
.nav__links a { position: relative; padding: 4px 0; transition: color .2s; }
.nav__links a:hover, .nav__links a.is-current { color: var(--gold); }
.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 8px; margin-left: auto; }
.nav__burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================ HERO ============================ */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 120px 0 80px; overflow: hidden; isolation: isolate;
}
.hero__sun {
  position: absolute; z-index: -2; top: -32vmax; left: 50%; translate: -50% 0;
  width: 118vmax; height: 118vmax; pointer-events: none;
}
.rays {
  position: absolute; inset: 0;
  background: repeating-conic-gradient(from 0deg,
    rgba(245, 179, 36, .07) 0deg 4deg, rgba(245, 179, 36, 0) 4deg 13deg);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 4%, rgba(0, 0, 0, .35) 20%, transparent 44%);
  mask-image: radial-gradient(circle at 50% 50%, #000 4%, rgba(0, 0, 0, .35) 20%, transparent 44%);
  animation: spin 120s linear infinite;
}
.disc {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(245, 179, 36, .22) 0%, rgba(245, 179, 36, .07) 14%, transparent 38%);
}
.hero__grid-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--hairline) 1px, transparent 1px),
                    linear-gradient(90deg, var(--hairline) 1px, transparent 1px);
  background-size: 78px 78px; opacity: .28;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000, transparent 78%);
}
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero__title { font-size: clamp(38px, 6.4vw, 76px); letter-spacing: -.035em; margin-bottom: 22px; }
.hero__lead { color: var(--text-2); font-size: clamp(15px, 1.7vw, 18px); max-width: 52ch; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 32px 0 40px; }
.hero__stats { display: flex; gap: 34px; flex-wrap: wrap; }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong { font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.hero__stats span { font-size: 12.5px; color: var(--text-3); }

.hero__art { position: relative; display: grid; place-items: center; }
.hero__halo {
  position: absolute; width: 88%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 179, 36, .22), transparent 62%); filter: blur(18px);
}
.hero__kenzo {
  position: relative; width: min(100%, 560px);
  filter: drop-shadow(0 34px 60px rgba(0, 0, 0, .85)) drop-shadow(0 0 46px rgba(245, 179, 36, .22));
}
.float { animation: float 7s ease-in-out infinite; }

.chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 14px;
  background: linear-gradient(180deg, #191C21, #0E1013);
  border: 1px solid var(--hairline); box-shadow: 0 16px 34px -18px #000;
  animation: float 8s ease-in-out infinite;
}
.chip > div { display: flex; flex-direction: column; line-height: 1.25; }
.chip__k { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.chip__v { font-size: 13.5px; font-weight: 600; }
.chip img { width: 34px; height: 34px; }
.chip__ico { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.chip__ico--flame { background: rgba(255, 162, 58, .16); color: var(--orange); }
.chip__ico--pr { background: rgba(62, 213, 152, .14); color: var(--green); font-size: 11px; }
.chip--tl { top: 6%; left: -4%; animation-delay: -1.5s; }
.chip--br { bottom: 16%; right: -3%; animation-delay: -3.5s; }
.chip--bl { bottom: 2%; left: 2%; animation-delay: -5s; }

/* ============================ CIFRAS ============================ */
.statsbar { background: #0A0B0D; border-block: 1px solid var(--hairline); padding: 42px 0; }
.statsbar__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat strong {
  display: block; font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -.04em;
  background: linear-gradient(120deg, var(--gold-hi), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { font-size: 13px; color: var(--text-3); }

/* ============================ SECCIONES ============================ */
.section { position: relative; padding: clamp(70px, 8vw, 116px) 0; }
.section--tight { padding-block: clamp(46px, 6vw, 76px); }
.section--alt { background: linear-gradient(180deg, #050506, #0A0B0D 45%, #050506); border-block: 1px solid var(--hairline); }

.sec-head { text-align: center; max-width: 680px; margin: 0 auto clamp(40px, 5vw, 62px); }
.sec-head h2 { font-size: clamp(28px, 4vw, 44px); }
.sec-head h2 span { color: var(--gold); }
.sec-sub { color: var(--text-2); font-size: 15.5px; margin-top: 14px; }

/* ---------- conoce a Kenzo ---------- */
.meet {
  display: grid; grid-template-columns: 260px 1fr; gap: clamp(20px, 4vw, 48px); align-items: center;
  padding: clamp(26px, 4vw, 46px); border-radius: 32px;
  background: linear-gradient(140deg, #16181C, #0B0C0E);
  border: 1px solid var(--hairline); position: relative; overflow: hidden;
}
.meet::before {
  content: ""; position: absolute; top: -120px; left: -60px; width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(245, 179, 36, .16), transparent 65%);
}
.meet__img { position: relative; width: 100%; filter: drop-shadow(0 24px 44px rgba(0, 0, 0, .8)); }
.meet h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 14px; }
.meet h2 span { color: var(--gold); }
.meet p { color: var(--text-2); font-size: 15.5px; max-width: 62ch; }
.traits { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.trait {
  padding: 9px 16px; border-radius: 999px; font-size: 13px; color: var(--text-2);
  background: var(--surface-2); border: 1px solid var(--hairline);
}

/* ---------- gráfica ---------- */
.chart-card {
  position: relative; max-width: 900px; margin: 0 auto;
  padding: 26px 26px 22px; border-radius: var(--r-lg);
  background: linear-gradient(180deg, #141619, var(--surface)); border: 1px solid var(--hairline);
}
.chart-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22), transparent);
}
.chart-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; flex-wrap: wrap; margin-bottom: 20px; }
.chart-card__head h3 { font-size: 19px; }
.legend { display: flex; flex-direction: column; gap: 8px; }
.legend li { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--text-2); white-space: nowrap; }
.legend li::before { content: ""; width: 18px; height: 3px; border-radius: 2px; }
.legend--gold::before { background: linear-gradient(90deg, var(--gold-deep), var(--gold-hi)); }
.legend--grey::before { background: #4A5058; }

.chart { position: relative; }
.chart__svg { width: 100%; height: clamp(170px, 22vw, 240px); overflow: visible; }
.chart__grid line { stroke: rgba(255, 255, 255, .06); stroke-width: 1; }
.chart__line { fill: none; stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 900; stroke-dashoffset: 900; }
.chart__line--gold { stroke: var(--gold); filter: drop-shadow(0 6px 14px rgba(245, 179, 36, .45)); }
.chart__line--flat { stroke: #4A5058; }
.chart__dot { stroke: #0B0D0F; stroke-width: 3; opacity: 0; }
.chart__dot--gold { fill: var(--gold-hi); }
.chart__dot--flat { fill: #5A626C; }
.chart__area { opacity: 0; transition: opacity 1s .7s; }
.chart__x { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-3); margin-top: 10px; }
.chart__tag {
  position: absolute; padding: 5px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 600;
  border: 1px solid var(--hairline); opacity: 0; transform: translateY(6px);
}
.chart__tag--gold { top: -2%; right: 0; color: #180F00; background: linear-gradient(160deg, var(--gold-hi), var(--gold)); border-color: transparent; }
.chart__tag--flat { top: 66%; right: 0; color: var(--text-3); background: rgba(20, 22, 25, .9); }
.is-in .chart__line { animation: draw 1.6s var(--ease) forwards; }
.is-in .chart__line--flat { animation-delay: .15s; }
.is-in .chart__area { opacity: 1; }
.is-in .chart__dot { animation: fadeIn .5s 1.5s forwards; }
.is-in .chart__tag { animation: tagIn .5s 1.6s forwards; }

/* ---------- rejilla de funciones ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fcard {
  position: relative; padding: 28px 24px; border-radius: 22px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--hairline);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.fcard::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--gold); opacity: 0; transition: opacity .3s;
}
.fcard:hover { transform: translateY(-6px); border-color: rgba(245, 179, 36, .3); box-shadow: 0 18px 44px -20px rgba(0, 0, 0, .9); }
.fcard:hover::after { opacity: 1; }
.fico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; }
.fico--gold { background: rgba(245, 179, 36, .12); color: var(--gold); }
.fico--green { background: rgba(62, 213, 152, .1); color: var(--green); }
.fico--blue { background: rgba(79, 168, 245, .1); color: var(--blue); }
.fico--purple { background: rgba(168, 85, 247, .12); color: var(--purple); }
.fico--cyan { background: rgba(53, 210, 210, .1); color: var(--cyan); }
.fico--red { background: rgba(255, 107, 107, .1); color: var(--red); }
.fcard h4 { font-size: 17px; margin-bottom: 9px; }
.fcard p { font-size: 13.5px; color: var(--text-2); line-height: 1.6; }

/* ---------- cómo funciona ---------- */
.how { display: grid; grid-template-columns: 1fr .82fr; gap: clamp(26px, 5vw, 60px); align-items: center; }
.steps { display: grid; gap: 16px; align-content: center; }
.steps li {
  display: flex; gap: 18px; padding: 24px; border-radius: 22px;
  background: var(--surface); border: 1px solid var(--hairline);
  transition: transform .25s var(--ease), border-color .25s;
}
.steps li:hover { transform: translateX(5px); border-color: rgba(245, 179, 36, .3); }
.steps b {
  flex: 0 0 40px; height: 40px; border-radius: 13px; display: grid; place-items: center;
  font-size: 16px; font-weight: 800; color: #150F02;
  background: linear-gradient(160deg, var(--gold-hi), var(--gold));
}
.steps h4 { font-size: 17px; margin-bottom: 6px; }
.steps p { font-size: 13.5px; color: var(--text-2); line-height: 1.6; }

/* ---------- móvil (sesión + chat) ---------- */
.phone {
  position: relative; padding: 12px; border-radius: 42px; max-width: 350px; margin: 0 auto;
  background: linear-gradient(160deg, #24272C, #0B0C0E);
  border: 1px solid var(--hairline-strong);
  box-shadow: 0 50px 90px -40px #000, inset 0 1px 0 rgba(255, 255, 255, .12);
}
.phone__notch { position: absolute; top: 20px; left: 50%; translate: -50% 0; width: 84px; height: 5px; border-radius: 999px; background: #000; z-index: 2; }
.phone__screen {
  border-radius: 32px; background: #050607; padding: 34px 14px 14px;
  display: flex; flex-direction: column; gap: 12px; min-height: 500px;
  border: 1px solid rgba(255, 255, 255, .05);
}
.phone__screen--session { gap: 10px; }

.ses__head { display: flex; align-items: center; gap: 12px; }
.ses__head img { width: 78px; height: 56px; object-fit: contain; border-radius: 10px; background: var(--surface-2); padding: 4px; }
.ses__head strong { display: block; font-size: 15px; }
.ses__head span { font-size: 11.5px; color: var(--text-3); }

.ses__sets { display: grid; gap: 8px; }
.set {
  display: grid; grid-template-columns: 26px 1fr 1fr 24px; align-items: center; gap: 8px;
  padding: 11px 12px; border-radius: 14px; font-size: 13px;
  background: var(--surface); border: 1px solid var(--hairline);
  transition: background .3s, border-color .3s;
}
.set i {
  font-style: normal; font-size: 11px; font-weight: 600; color: var(--text-3);
  width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: var(--surface-3);
}
.set span { color: var(--text-2); }
.set span:nth-of-type(2) { text-align: right; }
.set__ok { width: 20px; height: 20px; border-radius: 50%; justify-self: end; box-shadow: inset 0 0 0 1.5px var(--surface-3); position: relative; transition: box-shadow .3s, background .3s; }
.set.is-done .set__ok { background: var(--green); box-shadow: none; }
.set.is-done .set__ok::after {
  content: ""; position: absolute; left: 6px; top: 5px; width: 6px; height: 10px;
  border-right: 2px solid #04120C; border-bottom: 2px solid #04120C; rotate: 45deg;
}
.set.is-done { background: rgba(62, 213, 152, .06); border-color: rgba(62, 213, 152, .22); }
.set.is-firing { animation: setPop .5s var(--ease); }

.ses__rest {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center;
  padding: 12px 14px; border-radius: 14px;
  background: rgba(255, 162, 58, .08); border: 1px solid rgba(255, 162, 58, .28);
  animation: msgIn .4s var(--ease);
}
.ses__rest span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.ses__rest strong { font-size: 20px; font-weight: 800; letter-spacing: -.03em; color: var(--orange); }
.ses__restbar { grid-column: 1 / -1; height: 4px; border-radius: 999px; background: rgba(255, 162, 58, .18); overflow: hidden; }
.ses__restbar i { display: block; height: 100%; width: 100%; background: var(--orange); border-radius: 999px; }

.ses__pr {
  display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px;
  background: linear-gradient(140deg, rgba(245, 179, 36, .18), rgba(245, 179, 36, .04));
  border: 1px solid rgba(245, 179, 36, .38); animation: msgIn .45s var(--ease);
}
.ses__pr img { width: 56px; height: 56px; object-fit: contain; flex: 0 0 auto; }
.ses__prk { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.ses__pr strong { display: block; font-size: 16px; letter-spacing: -.02em; }
.ses__pr p { font-size: 11.5px; color: var(--text-2); margin-top: 3px; }

/* Franja reservada de Kenzo: en la app tampoco tapa nunca las series. */
.ses__kenzo {
  margin-top: auto; display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 14px;
  background: linear-gradient(120deg, rgba(245, 179, 36, .07), transparent);
  border: 1px solid rgba(245, 179, 36, .16);
}
.ses__kenzo img { width: 34px; height: 34px; object-fit: contain; flex: 0 0 auto; }
.ses__kenzo p { font-size: 12px; color: var(--text-2); line-height: 1.4; transition: opacity .3s; }
.ses__kenzo p.is-fading { opacity: 0; }

.ses__next {
  padding: 12px 14px; border-radius: 14px; text-align: center;
  background: var(--surface-2); border: 1px dashed rgba(62, 213, 152, .4); animation: msgIn .45s var(--ease);
}
.ses__next span { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.ses__next strong { display: block; font-size: 15px; margin-top: 2px; }

.ses__cta {
  padding: 14px; border-radius: 16px; font-weight: 600; font-size: 14.5px; color: #150F02;
  background: linear-gradient(160deg, var(--gold-hi), var(--gold) 55%, var(--gold-deep));
  box-shadow: 0 10px 26px -14px rgba(245, 179, 36, .7);
  transition: transform .2s var(--ease);
}
.ses__cta:hover { transform: translateY(-2px); }
.ses__cta.is-reset { color: var(--text-2); background: var(--surface-2); box-shadow: none; border: 1px solid var(--hairline); }

/* ---------- rangos ---------- */
.ladder { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-bottom: 30px; }
.rank {
  position: relative; padding: 24px 14px 22px; border-radius: 22px; text-align: center;
  background: var(--surface); border: 1px solid var(--hairline);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.rank:hover {
  transform: translateY(-8px);
  border-color: color-mix(in srgb, var(--tier) 45%, transparent);
  box-shadow: 0 26px 50px -26px color-mix(in srgb, var(--tier) 55%, transparent);
}
.rank__badge { position: relative; display: grid; place-items: center; margin-bottom: 14px; }
.rank__badge::after {
  content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, color-mix(in srgb, var(--tier) 40%, transparent), transparent 68%);
  filter: blur(10px);
}
.rank__badge img { width: min(100%, 96px); filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .6)); transition: transform .35s var(--ease); }
.rank:hover .rank__badge img { transform: translateY(-4px) scale(1.07) rotate(-2deg); }
.rank h3 { font-size: 16px; margin-bottom: 6px; }
.rank__pts {
  display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .06em; color: var(--tier);
  padding: 3px 10px; border-radius: 999px;
  background: color-mix(in srgb, var(--tier) 12%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tier) 30%, transparent);
}

.groups { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.group {
  display: flex; align-items: center; gap: 9px; padding: 8px 16px 8px 8px; border-radius: 999px;
  font-size: 13px; color: var(--text-2); background: var(--surface-2); border: 1px solid var(--hairline);
}
.group img { width: 24px; height: 24px; object-fit: contain; filter: brightness(1.25) contrast(1.05); }
.ranks__note { text-align: center; max-width: 62ch; margin: 24px auto 0; color: var(--text-3); font-size: 14px; }
.ranks__note strong { color: var(--text-2); }

/* ---------- IA ---------- */
.ai { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(26px, 5vw, 56px); align-items: center; }
.ai__side h3 { font-size: clamp(20px, 2.4vw, 26px); }
.ai__side .sec-sub { margin-bottom: 6px; }
.chat__head { display: flex; align-items: center; gap: 11px; padding-bottom: 12px; border-bottom: 1px solid var(--hairline); }
.chat__head img {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: top center;
  background: radial-gradient(circle at 50% 30%, #2A2115, #0E0F11); border: 1px solid rgba(245, 179, 36, .3);
}
.chat__head div { display: flex; flex-direction: column; line-height: 1.3; }
.chat__head strong { font-size: 14.5px; }
.chat__head span { font-size: 11px; color: var(--green); }
.chat { display: flex; flex-direction: column; gap: 9px; flex: 1; }
.msg { max-width: 84%; padding: 10px 14px; font-size: 13.5px; line-height: 1.5; border-radius: 16px; animation: msgIn .4s var(--ease) both; }
.msg--me { align-self: flex-end; background: linear-gradient(160deg, #2A2E35, #1B1E22); border-bottom-right-radius: 5px; }
.msg--k { align-self: flex-start; border-bottom-left-radius: 5px; color: #1A1301; background: linear-gradient(160deg, var(--gold-hi), var(--gold)); font-weight: 500; }
.msg--typing { display: flex; gap: 5px; align-items: center; padding: 14px 16px; background: var(--surface-2); align-self: flex-start; border-bottom-left-radius: 5px; }
.msg--typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); animation: blink 1.2s infinite; }
.msg--typing i:nth-child(2) { animation-delay: .18s; }
.msg--typing i:nth-child(3) { animation-delay: .36s; }
.chat__input {
  display: flex; align-items: center; justify-content: space-between; padding: 11px 16px;
  border-radius: 999px; background: var(--surface-2); border: 1px solid var(--hairline);
  font-size: 12.5px; color: var(--text-3);
}
.chat__input i { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(160deg, var(--gold-hi), var(--gold)); }

.wizard { display: grid; gap: 12px; margin: 22px 0 14px; }
.wizard li { display: flex; gap: 14px; align-items: flex-start; }
.wizard b {
  flex: 0 0 28px; height: 28px; border-radius: 9px; display: grid; place-items: center;
  font-size: 12.5px; color: var(--gold);
  background: rgba(245, 179, 36, .1); box-shadow: inset 0 0 0 1px rgba(245, 179, 36, .3);
}
.wizard span { display: block; font-size: 13.5px; font-weight: 600; }
.wizard p { font-size: 13px; color: var(--text-3); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.qa { border-radius: var(--r); border: 1px solid var(--hairline); background: var(--surface); transition: border-color .25s, background .25s; }
.qa[open] { background: linear-gradient(180deg, #141619, var(--surface)); border-color: rgba(245, 179, 36, .28); }
.qa summary {
  list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 600; font-size: 15.5px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; flex: 0 0 12px; width: 12px; height: 12px; margin-right: 4px;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  rotate: 45deg; translate: 0 -3px; transition: rotate .3s var(--ease), translate .3s var(--ease);
}
.qa[open] summary::after { rotate: -135deg; translate: 0 3px; }
.qa p { padding: 0 22px 20px; color: var(--text-2); font-size: 14.5px; }
.qa[open] p { animation: msgIn .35s var(--ease); }

/* ---------- CTA final ---------- */
.ctaend { padding: clamp(60px, 8vw, 110px) 0; }
.ctaend__card {
  position: relative; overflow: hidden; text-align: center; border-radius: 34px;
  padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 56px);
  background: linear-gradient(140deg, var(--gold-hi) 0%, var(--gold) 45%, var(--gold-deep) 100%);
  color: #150F02;
  box-shadow: 0 40px 90px -40px rgba(245, 179, 36, .5);
}
.ctaend__card::before {
  content: ""; position: absolute; top: -80px; right: -60px; width: 320px; height: 320px;
  border-radius: 50%; background: rgba(255, 255, 255, .12);
}
.ctaend__card::after {
  content: ""; position: absolute; bottom: -90px; left: -50px; width: 260px; height: 260px;
  border-radius: 50%; background: rgba(0, 0, 0, .06);
}
.ctaend__mascot { position: relative; width: clamp(110px, 15vw, 150px); margin: 0 auto 20px; filter: drop-shadow(0 16px 30px rgba(0, 0, 0, .35)); }
.ctaend__card h2 { position: relative; font-size: clamp(26px, 4vw, 44px); max-width: 20ch; margin: 0 auto 14px; }
.ctaend__card p { position: relative; font-size: 16px; color: rgba(21, 15, 2, .78); max-width: 58ch; margin: 0 auto 28px; }
.ctaend__actions { position: relative; display: flex; justify-content: center; margin-bottom: 24px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 14px; padding: 14px 30px; border-radius: 18px;
  background: #0B0C0E; color: var(--text); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5);
}
.store-btn__t { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.store-btn__t small { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.store-btn__t b { font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.trust { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; }
.trust li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(21, 15, 2, .72); font-weight: 500; }
.trust li::before {
  content: ""; width: 7px; height: 12px; rotate: 45deg;
  border-right: 2px solid #150F02; border-bottom: 2px solid #150F02; border-radius: 1px; margin-top: -3px;
}

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--hairline); background: #030304; padding: 54px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__desc { color: var(--text-3); font-size: 13.5px; margin-top: 14px; max-width: 42ch; }
.footer__t { font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.footer__l { display: block; color: var(--text-3); font-size: 13.5px; padding: 4px 0; transition: color .2s; }
a.footer__l:hover { color: var(--gold); }
.footer__bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--hairline); color: #4E555F; font-size: 12px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- animaciones ---------- */
@keyframes spin { to { rotate: 360deg; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes blink { 0%, 100% { opacity: .25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes tagIn { to { opacity: 1; transform: none; } }
@keyframes setPop { 0% { transform: scale(1); } 40% { transform: scale(1.03); } 100% { transform: scale(1); } }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .ladder { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .nav__links {
    position: fixed; inset: 66px 12px auto 12px; flex-direction: column; gap: 4px; margin: 0;
    padding: 14px; border-radius: var(--r-lg); font-size: 16px;
    background: rgba(8, 9, 11, .96); backdrop-filter: blur(20px);
    border: 1px solid var(--hairline); box-shadow: 0 30px 60px -30px #000;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__links a { padding: 12px 10px; border-radius: 12px; }
  .nav__burger { display: flex; }
  .nav__cta { display: none; }

  .hero { min-height: auto; padding-top: 128px; text-align: center; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__copy { order: 2; }
  .hero__art { order: 1; max-width: 460px; margin: 0 auto 10px; }
  .hero__lead { margin-inline: auto; }
  .hero__actions, .hero__stats { justify-content: center; }
  .chip--tl { left: -2%; }
  .chip--br { right: -1%; }

  .statsbar__grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .meet { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .meet__img { max-width: 220px; }
  .meet p { margin-inline: auto; }
  .traits { justify-content: center; }
  .how, .ai { grid-template-columns: 1fr; }
  .how .phone, .ai .phone { order: -1; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .cards { grid-template-columns: 1fr; }
  .ladder { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hero__stats { gap: 22px; }
  .chart__tag--flat { top: 60%; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .qa summary { font-size: 14.5px; padding: 16px 18px; }
  .qa p { padding: 0 18px 18px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .chart__line { stroke-dashoffset: 0; }
  .chart__dot, .chart__tag, .chart__area { opacity: 1; transform: none; }
}

/* ============================================================
   PÁGINAS LEGALES (privacidad, términos, eliminar cuenta)
   ============================================================ */
.legal { padding: 140px 0 clamp(60px, 8vw, 100px); position: relative; }
.legal__head { text-align: center; max-width: 720px; margin: 0 auto clamp(30px, 4vw, 46px); }
.legal__head h1 { font-size: clamp(30px, 4.6vw, 48px); }
.legal__date { color: var(--text-3); font-size: 13px; margin-top: 14px; }
.legal__card {
  position: relative; max-width: 860px; margin: 0 auto;
  padding: clamp(26px, 4vw, 48px); border-radius: 28px;
  background: linear-gradient(180deg, #141619, var(--surface));
  border: 1px solid var(--hairline);
}
.legal__card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22), transparent);
}
.legal__card h2 {
  font-size: 19px; margin: 34px 0 12px;
  padding-top: 22px; border-top: 1px solid var(--hairline);
}
.legal__card h2:first-of-type { margin-top: 26px; padding-top: 0; border-top: 0; }
.legal__card h3 { font-size: 15.5px; margin: 20px 0 8px; color: var(--gold); }
.legal__card p, .legal__card li { color: var(--text-2); font-size: 14.5px; line-height: 1.7; }
.legal__card p + p { margin-top: 12px; }
.legal__card strong { color: var(--text); font-weight: 600; }
.legal__card a { color: var(--gold); font-weight: 500; }
.legal__card a:hover { text-decoration: underline; }
.legal__card ul, .legal__card ol { margin: 12px 0; display: grid; gap: 9px; }
.legal__card ul li { position: relative; padding-left: 22px; }
.legal__card ul li::before {
  content: ""; position: absolute; left: 4px; top: 10px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
}
.legal__card ol { counter-reset: legal; }
.legal__card ol li { position: relative; padding-left: 34px; counter-increment: legal; }
.legal__card ol li::before {
  content: counter(legal); position: absolute; left: 0; top: 2px;
  width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center;
  font-size: 11.5px; font-weight: 600; color: var(--gold);
  background: rgba(245, 179, 36, .1); box-shadow: inset 0 0 0 1px rgba(245, 179, 36, .3);
}
/* La tabla no se comprime: por debajo de su ancho mínimo scrollea dentro de .legal__scroll. */
.legal__table { width: 100%; min-width: 560px; border-collapse: collapse; margin: 16px 0; font-size: 13.5px; }
.legal__table th, .legal__table td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.legal__table th { color: var(--text); font-weight: 600; font-size: 12.5px; }
.legal__table td { color: var(--text-2); }
.legal__table tr:last-child td { border-bottom: 0; }
.legal__scroll {
  overflow-x: auto; border-radius: 14px;
  -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent);
  mask-image: linear-gradient(90deg, #000 92%, transparent);
}
@media (min-width: 700px) { .legal__scroll { -webkit-mask-image: none; mask-image: none; } }

.note {
  display: grid; gap: 8px; padding: 20px 22px; border-radius: 18px; margin: 22px 0;
  background: rgba(245, 179, 36, .07); border: 1px solid rgba(245, 179, 36, .28);
}
.note--danger { background: rgba(255, 107, 107, .07); border-color: rgba(255, 107, 107, .3); }
.note h4 { font-size: 15px; }
.note--danger h4 { color: var(--red); }
.note p, .note li { font-size: 13.5px; }

.legal__back { display: inline-flex; align-items: center; gap: 8px; margin-top: 30px; color: var(--text-3); font-size: 14px; }
.legal__back:hover { color: var(--gold); }

.mail-cta {
  display: inline-flex; align-items: center; gap: 12px; margin: 18px 0 4px;
  padding: 14px 26px; border-radius: 16px; font-weight: 600; color: #150F02 !important;
  background: linear-gradient(160deg, var(--gold-hi), var(--gold) 55%, var(--gold-deep));
  box-shadow: 0 12px 30px -14px rgba(245, 179, 36, .7); transition: transform .2s var(--ease);
}
.mail-cta:hover { transform: translateY(-2px); text-decoration: none !important; }
.legal__card code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .88em; padding: 2px 7px; border-radius: 6px;
  background: var(--surface-3); color: var(--text-2);
}
