:root {
  --white: #fff;
  --black: #111;
  --muted: #686868;
  --line: #e5e5e5;
  --soft: #f5f5f3;
  --cream: #f4f1e8;
  --orange: #ff6b45;
  --lime: #b9f54a;
  --green: #75b967;
  --deep: #4f8b48;
  --font: "Inter Tight", "Arial Narrow", "Helvetica Neue", sans-serif;
  --story-progress: 0;
  --hero-progress: 0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--black);
  font-family: var(--font);
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--lime); color: var(--black); }
button, a, summary { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img, canvas { display: block; max-width: 100%; }
.shell { width: min(1280px, calc(100% - 72px)); margin-inline: auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--black);
  color: white;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.page-grain {
  position: fixed;
  z-index: 90;
  inset: 0;
  opacity: .025;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 92px;
  padding-top: 14px;
  pointer-events: none;
}
.nav {
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 9px 8px 20px;
  border: 1px solid rgba(17, 17, 17, .08);
  border-radius: 20px;
  background: rgba(250, 251, 247, .90);
  box-shadow: 0 18px 50px rgba(17, 17, 17, .10);
  backdrop-filter: blur(18px) saturate(160%);
  pointer-events: auto;
}
.nav.shell { width: min(calc(100% - 48px), 980px); max-width: none; gap: 28px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -.02em;
}
.brand img { border-radius: 8px; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.brand:hover img { transform: rotate(-9deg) scale(1.08); }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 15px; }
.nav-links a { color: #333; transition: opacity .25s ease; }
.nav-links a:hover { opacity: .55; }

.pill {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 30px;
  border: 1px solid var(--black);
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), background .25s ease, color .25s ease, box-shadow .35s ease;
}
.pill:hover { transform: translateY(-3px); }
.pill .button-label { color: inherit; -webkit-text-fill-color: currentColor; }
.pill-dark { background: var(--black); color: white; }
.pill-dark:hover { background: #242424; box-shadow: 0 14px 30px rgba(17, 17, 17, .17); }
.pill-ghost { background: transparent; color: var(--black); }
.pill-ghost:hover { background: var(--soft); }
.pill-small { min-height: 48px; padding-inline: 23px; font-size: 14px; }

.hero {
  position: relative;
  min-height: calc(100svh - 92px);
  padding: clamp(76px, 9vh, 120px) 0 62px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.kicker {
  margin: 0 0 24px;
  color: #555;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.kicker::before { content: "◆"; margin-right: 10px; color: var(--lime); font-size: .78em; }
.demo-index::before { content: "◆"; margin-right: 8px; font-size: .82em; }
.hero-eyebrow,
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.hero-eyebrow .kicker,
.section-head .kicker { margin: 0; }
.hero-edition,
.section-head > span {
  margin: 0;
  color: #777;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.hero-edition { display: flex; align-items: center; gap: 9px; }
.hero-edition span { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); animation: live-pulse 2.4s ease-out infinite; }
@keyframes live-pulse { 60% { box-shadow: 0 0 0 0 rgba(255, 107, 69, .4); } 100% { box-shadow: 0 0 0 9px transparent; } }
.hero h1,
.demo-intro h2,
.statement h2,
.privacy-section h2,
.pricing h2,
.faq h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(72px, 11.2vw, 164px);
  font-weight: 500;
  letter-spacing: -.06em;
  line-height: .86;
}
.hero h1 {
  max-width: 1420px;
  margin-top: clamp(44px, 7vh, 76px);
  transform: translateY(calc(var(--hero-progress) * -28px));
  will-change: transform;
}
.hero-line { display: block; }
.hero-line-shift { padding-left: clamp(0px, 8vw, 120px); }
.hero-bottom {
  margin-top: clamp(50px, 7vh, 78px);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
}
.hero-bottom > p,
.support {
  max-width: 550px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.5;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-foot {
  margin-top: auto;
  padding-top: clamp(46px, 7vh, 82px);
  display: grid;
  grid-template-columns: auto minmax(80px, 240px) auto auto;
  align-items: center;
  justify-content: end;
  gap: 14px;
  color: #858585;
  font-size: 10px;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.hero-foot > div { height: 1px; overflow: hidden; background: var(--line); }
.hero-foot i { width: 100%; height: 100%; display: block; background: var(--black); transform: scaleX(var(--hero-progress)); transform-origin: left; }
.hero-foot p { margin: 0 16px 0 0; line-height: 1.3; }

.marquee {
  width: 100%;
  overflow: hidden;
  padding: clamp(24px, 3vw, 42px) 0;
  background: var(--black);
  color: white;
}
.marquee-track {
  width: max-content;
  display: flex;
  align-items: center;
  animation: marquee 32s linear infinite paused;
  font-size: clamp(30px, 3.6vw, 54px);
  font-weight: 500;
  letter-spacing: -.02em;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  backface-visibility: hidden;
}
.marquee.is-active .marquee-track { animation-play-state: running; }
.marquee-group { display: flex; align-items: center; gap: clamp(38px, 4.5vw, 70px); padding-right: clamp(38px, 4.5vw, 70px); }
.marquee-track i { font-size: clamp(12px, 1.2vw, 17px); font-style: normal; color: var(--lime); }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

.demo-intro {
  min-height: 92vh;
  padding-block: clamp(150px, 18vw, 240px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 380px);
  align-items: end;
  gap: 50px;
}
.demo-intro > .kicker { grid-column: 1 / -1; align-self: start; }
.demo-intro h2 { font-size: clamp(68px, 10vw, 148px); }
.demo-intro h2 span,
.statement h2 span,
.privacy-section h2 span,
.pricing h2 span,
.faq h2 span,
.final-cta h2 span {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--black);
}
.demo-intro-note { padding-top: 20px; border-top: 1px solid var(--black); }
.demo-intro-note span { font-size: 11px; font-weight: 600; letter-spacing: .13em; }
.demo-intro-note p { margin: 24px 0 0; color: var(--muted); font-size: 18px; line-height: 1.5; }

.story { position: relative; height: 520vh; --story-progress: 0; }
.story-sticky {
  position: sticky;
  z-index: 1;
  top: 0;
  height: 100svh;
  padding: 0;
  display: grid;
  place-items: center;
  background: #182017;
}
.valley-card {
  position: relative;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #182017;
  box-shadow: none;
}
.valley-copy {
  position: absolute;
  z-index: 8;
  top: 0;
  bottom: 0;
  margin-block: auto;
  left: 32px;
  width: min(400px, 34%);
  height: min(560px, calc(100svh - 190px));
  padding: 34px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 24px;
  background: rgba(18, 23, 17, .86);
  color: white;
  backdrop-filter: blur(18px);
}
.demo-index {
  margin: 0;
  color: var(--lime);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
}
.stage-copy {
  position: absolute;
  top: 94px;
  right: 30px;
  left: 30px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .45s ease, transform .55s cubic-bezier(.2, .8, .2, 1);
  pointer-events: none;
}
.stage-copy.is-active { opacity: 1; transform: translateY(0); }
.stage-copy h3 {
  max-width: 350px;
  margin: 0;
  font-size: clamp(36px, 3.6vw, 58px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: .94;
}
.stage-copy p { max-width: 285px; margin: 20px 0 0; color: #b5bdb1; font-size: 16px; line-height: 1.45; }
.demo-metric { margin-top: auto; }
.demo-metric span { display: block; color: #9da696; font-size: 11px; letter-spacing: .11em; text-transform: uppercase; }
.demo-metric strong { display: block; margin-top: 8px; font-size: clamp(30px, 3vw, 48px); font-weight: 500; letter-spacing: -.04em; }
.demo-progress { height: 6px; overflow: hidden; margin-top: 18px; border-radius: 10px; background: rgba(255, 255, 255, .14); }
.demo-progress i { width: 6%; height: 100%; display: block; border-radius: inherit; background: var(--lime); transition: width .7s cubic-bezier(.2, .8, .2, 1); }
.demo-status { margin: 14px 0 0; display: flex; align-items: center; gap: 9px; color: #d8ddd5; font-size: 12px; }
.demo-status span { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.demo-status b { font-weight: 500; }
.hero-beta {
  min-height: 48px;
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 19px;
  border-radius: 999px;
  background: var(--lime);
  color: #172015;
  font-size: 14px;
  font-weight: 600;
  transition: transform .3s ease, background .3s ease;
}
.hero-beta:hover { background: white; transform: translateY(-2px); }
.canvas-wrap { position: absolute; inset: 0; overflow: hidden; background: #bcdde2; }
/* pan-y deja pasar el scroll vertical; el arrastre horizontal orbita. */
#valley-canvas { width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
#valley-canvas:active { cursor: grabbing; }
.canvas-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: #bcdde2;
  transition: opacity .5s ease;
}
.canvas-loading.is-hidden { opacity: 0; pointer-events: none; }
.web-valley-bubble {
  position: absolute;
  z-index: 7;
  width: 230px;
  padding: 10px 13px;
  border: 1px solid rgba(17, 17, 17, .1);
  border-radius: 14px;
  background: rgba(255, 255, 255, .94);
  color: #172015;
  text-align: center;
  box-shadow: 0 14px 34px rgba(17, 17, 17, .16);
  opacity: 0;
  transform: translate(-50%, calc(-100% + 12px)) scale(.72) rotate(-5deg);
  transform-origin: 50% 100%;
  transition: opacity .22s ease, transform .5s cubic-bezier(.18, .9, .24, 1.18);
  pointer-events: none;
}
.web-valley-bubble.is-visible { opacity: 1; transform: translate(-50%, calc(-100% - 8px)) scale(1) rotate(0); }
.web-valley-bubble b,
.web-valley-bubble span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.web-valley-bubble b { color: #66705f; font-size: 11px; font-weight: 600; }
.web-valley-bubble span { margin-top: 3px; font-size: 13px; font-weight: 600; letter-spacing: -.02em; }
.web-valley-bubble > i { position: absolute; bottom: -6px; left: calc(50% - 6px); width: 12px; height: 12px; border-right: 1px solid rgba(17, 17, 17, .1); border-bottom: 1px solid rgba(17, 17, 17, .1); background: rgba(255, 255, 255, .94); transform: rotate(45deg); }
.canvas-badge {
  position: absolute;
  top: 108px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: #30372d;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}
.canvas-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); animation: live-pulse 2.4s ease-out infinite; }
.canvas-controls {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: flex;
  gap: 6px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px);
}
.canvas-controls button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #20251e;
  cursor: pointer;
}
.canvas-controls button:hover { background: white; }
.canvas-hint {
  position: absolute;
  right: 18px;
  bottom: 22px;
  margin: 0;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  color: #30372d;
  font-size: 11px;
  backdrop-filter: blur(14px);
}
.story-beats { position: absolute; z-index: 2; inset: 0; pointer-events: none; }
.story-beat { height: 100vh; }

.wealth-story { position: relative; height: 420vh; background: white; }
.wealth-sticky {
  position: sticky;
  z-index: 1;
  top: 0;
  height: 100svh;
  padding: 110px 0 28px;
  display: grid;
  align-items: center;
  overflow: hidden;
}
#wealth-birds { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.wealth-shell {
  position: relative;
  z-index: 1;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(330px, .82fr) minmax(560px, 1.18fr);
  align-items: center;
  gap: clamp(46px, 7vw, 110px);
}
.wealth-copy .section-head { margin-bottom: 55px; }
.wealth-copy h2,
.learn-heading h2 {
  margin: 0;
  font-size: clamp(60px, 6.6vw, 96px);
  font-weight: 500;
  letter-spacing: -.06em;
  line-height: .88;
}
.wealth-copy h2 span,
.learn-heading h2 span { color: transparent; }
.wealth-copy h2 span { -webkit-text-stroke: 1.5px var(--black); }
.learn-heading h2 span { -webkit-text-stroke: 1.5px white; }
.wealth-copy-stack { position: relative; height: 95px; margin-top: 54px; }
.wealth-copy-step {
  position: absolute;
  inset: 0;
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .45s ease, transform .55s cubic-bezier(.2, .8, .2, 1);
}
.wealth-copy-step.is-active { opacity: 1; transform: none; }
.wealth-card {
  position: relative;
  height: auto;
  min-height: min(590px, calc(100svh - 160px));
  padding: clamp(34px, 4vw, 56px);
  overflow: hidden;
  border-radius: 32px;
  background:
    radial-gradient(circle at 86% 6%, rgba(185, 245, 74, .18), transparent 28%),
    #172015;
  color: white;
  box-shadow: 0 42px 110px rgba(28, 40, 25, .14);
}
.wealth-total {
  margin-top: 30px;
  font-size: clamp(56px, 6vw, 94px);
  font-weight: 500;
  letter-spacing: -.065em;
  line-height: .9;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.money-flow {
  position: relative;
  width: max-content;
  margin: 18px 0 0 auto;
  padding: 11px 15px;
  border-radius: 999px;
  background: var(--lime);
  color: #172015;
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(16px) scale(.92);
}
.money-flow.is-active { animation: money-in .75s cubic-bezier(.2, .9, .2, 1) both; }
.money-flow span { font-weight: 500; opacity: .65; }
@keyframes money-in { 45% { opacity: 1; transform: translateY(-5px) scale(1.04); } 100% { opacity: 1; transform: none; } }
.wealth-bar { margin-top: 36px; }
.wealth-bar i { transform: scaleX(0); transition: transform .75s cubic-bezier(.2, .8, .2, 1); }
.wealth-bar i:nth-child(1) { width: 10.3%; background: #c99a73; }
.wealth-bar i:nth-child(2) { width: 23.1%; background: #b9df8c; }
.wealth-bar i:nth-child(3) { width: 9.4%; background: #75b967; }
.wealth-bar i:nth-child(4) { width: 57.2%; background: #4f8b48; }
.wealth-card[data-stage="0"] .wealth-bar i:nth-child(-n+1),
.wealth-card[data-stage="1"] .wealth-bar i:nth-child(-n+2),
.wealth-card[data-stage="2"] .wealth-bar i:nth-child(-n+3),
.wealth-card[data-stage="3"] .wealth-bar i { transform: scaleX(1); }
.wealth-list { margin-top: 38px; gap: 8px; }
.wealth-list > div {
  grid-template-columns: 44px 1fr auto;
  padding: 12px;
  opacity: .2;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .55s cubic-bezier(.2, .8, .2, 1), background .4s ease;
}
.wealth-list > div.is-active { opacity: 1; transform: none; background: rgba(255, 255, 255, .07); }
.account-mark { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: rgba(185, 245, 74, .12); color: var(--lime); font-size: 10px; letter-spacing: .08em; }
.account-mark img { width: 34px; height: auto; }
.wealth-note { position: static; margin: 30px 0 0; display: flex; align-items: center; justify-content: center; gap: 8px; color: #8f9a8b; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.wealth-note i { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.wealth-beats,
.learn-beats { position: absolute; inset: 0; pointer-events: none; }
.wealth-beats i,
.learn-beats i { display: block; height: 100vh; }

.learn-story { position: relative; height: 420vh; background: #11150f; color: white; }
.learn-sticky {
  position: sticky;
  z-index: 1;
  top: 0;
  height: 100svh;
  padding: 96px 0 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.learn-shell { height: auto; width: min(1280px, calc(100% - 72px)); margin-inline: auto; }
.learn-shell .section-head { margin-bottom: 26px; }
.learn-shell .section-head .kicker,
.learn-shell .section-head > span { color: #9da398; }
.learn-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.learn-heading h2 { font-size: clamp(58px, 6vw, 88px); }
.learn-heading p { max-width: 340px; margin: 0 0 8px; color: #9ca397; line-height: 1.5; }
.learn-layout {
  height: min(470px, calc(100svh - 340px));
  min-height: 360px;
  margin-top: 34px;
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 14px;
}
.lesson-menu { display: flex; flex-direction: column; border-radius: 26px; background: #1b2118; overflow: hidden; }
.lesson-menu button {
  flex: 1;
  min-height: 0;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: transparent;
  color: #8f978b;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
  transition: color .3s ease, background .3s ease;
}
.lesson-menu button:last-child { border-bottom: 0; }
.lesson-menu button span { color: #626a5f; font-size: 10px; letter-spacing: .1em; }
.lesson-menu button.is-active { background: var(--lime); color: #172015; }
.lesson-menu button.is-active span { color: #526b26; }
.lesson-menu button:focus-visible { position: relative; z-index: 2; outline: 2px solid white; outline-offset: -3px; }
.lesson-stage { position: relative; overflow: hidden; border-radius: 28px; background: #dcefc4; color: #182017; }
.lesson-stage-top { position: absolute; z-index: 4; top: 24px; right: 28px; left: 28px; display: flex; justify-content: space-between; color: #66775e; font-size: 10px; font-weight: 600; letter-spacing: .13em; }
.lesson-orbit { position: absolute; top: 50%; right: 6%; width: min(34vw, 390px); aspect-ratio: 1; transform: translateY(-50%); }
.lesson-orbit i { position: absolute; inset: 0; border: 1px solid rgba(53, 94, 48, .25); border-radius: 50%; animation: orbit 12s linear infinite; }
.lesson-orbit i:nth-child(2) { inset: 14%; border-style: dashed; animation-direction: reverse; animation-duration: 8s; }
.lesson-orbit i::after { content: ""; position: absolute; top: 8%; left: 17%; width: 11px; height: 11px; border-radius: 50%; background: var(--deep); }
.lesson-orbit b { position: absolute; inset: 26%; display: grid; place-items: center; border-radius: 50%; background: var(--deep); color: white; font-size: clamp(54px, 7vw, 102px); font-weight: 500; letter-spacing: -.06em; transition: transform .55s cubic-bezier(.2, .8, .2, 1); }
.lesson-panels { position: absolute; z-index: 3; top: 76px; bottom: 42px; left: clamp(28px, 4vw, 58px); width: min(48%, 570px); }
.lesson-panel { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; visibility: hidden; opacity: 0; transform: translateY(25px); transition: opacity .38s ease, transform .48s cubic-bezier(.2, .8, .2, 1); }
.lesson-panel.is-active { visibility: visible; opacity: 1; transform: none; }
.lesson-panel p { margin: 0 0 18px; color: #4f6b48; font-size: 10px; font-weight: 600; letter-spacing: .14em; }
.lesson-panel h3 { margin: 0; font-size: clamp(36px, 4.2vw, 62px); font-weight: 500; letter-spacing: -.055em; line-height: .92; }
.lesson-panel > span { max-width: 500px; margin-top: 20px; color: #4f614a; font-size: 16px; line-height: 1.45; }
.lesson-progress { position: absolute; z-index: 5; right: 28px; bottom: 22px; left: 28px; height: 3px; overflow: hidden; border-radius: 8px; background: rgba(35, 62, 31, .16); }
.lesson-progress i { width: 25%; height: 100%; display: block; background: var(--deep); transition: width .6s cubic-bezier(.2, .8, .2, 1); }

/* Aprender es una escena editorial 3D, no otra pantalla de producto. */
.learn-story { background: #f2f0e8; color: var(--black); }
.learn-shell .section-head .kicker,
.learn-shell .section-head > span { color: #6e7069; }
.learn-heading h2 span { -webkit-text-stroke-color: var(--black); }
.learn-heading p { color: var(--muted); }
.learn-layout {
  position: relative;
  height: min(600px, calc(100svh - 360px));
  min-height: 390px;
  display: block;
}
/* Escena a sangre: el prado ES el módulo (mismo criterio que el pricing). */
.lesson-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 0;
  border-radius: 32px;
  background: linear-gradient(168deg, #eef6e6 0%, #dceccd 42%, #c6e4b4 100%);
  box-shadow: none;
}
#learn-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.lesson-stage-top { top: 26px; right: 30px; left: auto; gap: 24px; color: #686b64; }
.lesson-panels {
  top: calc(50% - 42px);
  bottom: auto;
  left: 40px;
  width: min(430px, 42%);
  height: min(330px, calc(100% - 180px));
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, .09);
  border-radius: 24px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 22px 60px rgba(41, 68, 35, .13);
  backdrop-filter: blur(18px);
  transform: translateY(-50%);
}
.lesson-panel { padding: 8px 34px; justify-content: center; }
.lesson-panel p { color: #587151; margin-bottom: 14px; }
.lesson-panel h3 { font-size: clamp(32px, 3.1vw, 46px); }
.lesson-panel > span { max-width: 100%; margin-top: 16px; color: #596256; }
.lesson-menu {
  position: absolute;
  z-index: 7;
  right: 22px;
  bottom: 20px;
  left: 22px;
  height: 62px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(17, 17, 17, .09);
  border-radius: 999px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 14px 40px rgba(41, 68, 35, .11);
  backdrop-filter: blur(18px);
}
.lesson-menu button {
  min-height: 0;
  padding: 0 20px;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  color: #596256;
  transition: color .3s ease, background .3s ease;
}
.lesson-menu button.is-active { background: var(--black); color: white; }
.lesson-menu button.is-active span { color: var(--lime); }
.lesson-menu button:focus-visible { outline-color: var(--black); }
.lesson-progress { top: 56px; right: 30px; bottom: auto; left: auto; width: 210px; background: rgba(35, 62, 31, .13); }

.statement,
.privacy-section .shell,
.pricing .shell,
.faq { padding-block: clamp(150px, 17vw, 220px); }
.statement,
.faq { text-align: center; }
.split-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 44px;
}
.split-intro h2 { font-size: clamp(56px, 6.6vw, 96px); }
.split-intro .support { max-width: 400px; margin: 0 0 12px; }
.section-head { margin-bottom: clamp(54px, 7vw, 92px); }
.statement h2,
.faq h2 { font-size: clamp(58px, 8.5vw, 116px); }
.privacy-section h2,
.pricing h2 { font-size: clamp(56px, 6.6vw, 96px); line-height: .88; }
.statement .support { margin-top: 48px; margin-left: auto; }
.media-card {
  position: relative;
  min-height: 680px;
  margin-top: clamp(70px, 9vw, 120px);
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, .12);
  border-radius: 32px;
  transition: transform .55s cubic-bezier(.2, .8, .2, 1), box-shadow .55s ease;
}
.media-card:hover { transform: scale(1.008); box-shadow: 0 40px 110px rgba(17, 17, 17, .11); }

.accounts-motion {
  padding: clamp(28px, 6vw, 76px);
  background:
    radial-gradient(circle at 84% 8%, rgba(185, 245, 74, .16), transparent 24%),
    #192017;
  color: white;
}
.accounts-motion::before {
  content: "PATRIMONIO · EN VIVO";
  position: absolute;
  right: 34px;
  bottom: 28px;
  color: rgba(255, 255, 255, .35);
  font-size: 10px;
  letter-spacing: .15em;
}
.mock-topline { display: flex; justify-content: space-between; color: #b4beb0; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.mock-balance { margin-top: 36px; font-size: clamp(54px, 8vw, 112px); font-weight: 500; letter-spacing: -.055em; }
.mock-bar { height: 14px; display: flex; overflow: hidden; margin-top: 45px; border-radius: 999px; background: rgba(255, 255, 255, .15); }
.mock-bar i { display: block; transform-origin: left; animation: bar-grow 1.4s both cubic-bezier(.2, .8, .2, 1); }
.mock-bar i:nth-child(1) { width: 10%; background: #c9966f; }
.mock-bar i:nth-child(2) { width: 16%; background: #b9df8c; animation-delay: .12s; }
.mock-bar i:nth-child(3) { width: 35%; background: #75b967; animation-delay: .2s; }
.mock-bar i:nth-child(4) { width: 18%; background: #4f8b48; animation-delay: .28s; }
.mock-bar i:nth-child(5) { width: 3%; background: #ff6b45; animation-delay: .36s; }
@keyframes bar-grow { from { transform: scaleX(0); } }
.js .reveal:not(.is-visible) .mock-bar i { animation-play-state: paused; }
.mock-list { max-width: 800px; margin: 56px 0 0 auto; display: grid; gap: 10px; }
.mock-list > div {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  background: rgba(255, 255, 255, .06);
}
.mock-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: rgba(185, 245, 74, .12); color: var(--lime); font-size: 24px; }
.mock-list p { margin: 0; display: grid; gap: 4px; }
.mock-list b { font-size: 16px; font-weight: 500; }
.mock-list small { color: #a9b2a5; font-size: 12px; }
.mock-list strong { font-size: 18px; font-weight: 500; }

.lesson-motion {
  min-height: 720px;
  background:
    linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px),
    #dcefc4;
  background-size: 64px 64px;
}
.lesson-landscape { position: absolute; inset: auto 0 0; height: 60%; overflow: hidden; }
.lesson-landscape i { position: absolute; bottom: -28%; width: 70%; height: 90%; border-radius: 50%; background: #91c27a; }
.lesson-landscape i:nth-child(1) { left: -20%; transform: rotate(8deg); }
.lesson-landscape i:nth-child(2) { right: -20%; background: #72ae66; transform: rotate(-8deg); }
.lesson-landscape i:nth-child(3) { left: 31%; bottom: -45%; background: #4f8b48; }
.lesson-card {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: min(410px, calc(100% - 48px));
  padding: 32px;
  border: 1px solid rgba(17, 17, 17, .08);
  border-radius: 24px;
  background: rgba(255, 255, 255, .94);
  text-align: center;
  box-shadow: 0 28px 70px rgba(62, 94, 55, .18);
  transform: translate(-50%, -50%) rotate(-2deg);
  animation: lesson-float 4.8s ease-in-out infinite;
}
@keyframes lesson-float { 50% { transform: translate(-50%, calc(-50% - 10px)) rotate(1deg); } }
.lesson-card > span { color: #64745d; font-size: 10px; font-weight: 600; letter-spacing: .15em; }
.lesson-icon { width: 92px; height: 92px; display: grid; place-items: center; margin: 25px auto; border-radius: 26px; background: #e8f3dd; color: var(--deep); font-size: 58px; }
.lesson-card h3 { margin: 0; font-size: 37px; font-weight: 500; letter-spacing: -.04em; }
.lesson-card p { margin: 10px 0 0; color: var(--muted); font-size: 16px; }
.lesson-caption { position: absolute; right: 30px; bottom: 24px; left: 30px; margin: 0; color: #244320; font-size: 13px; text-align: center; }

@keyframes orbit { to { transform: rotate(360deg); } }
.privacy-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 24%, rgba(185, 245, 74, .1), transparent 38%),
    #151a14;
  color: #f4f1e8;
}
.privacy-section .shell { position: relative; }
.privacy-section .section-head > span { color: #7d877a; }
.privacy-section .kicker { color: var(--lime); }
.privacy-section h2 span { -webkit-text-stroke-color: rgba(244, 241, 232, .85); }
.privacy-section .support { margin-top: 30px; max-width: 470px; color: #b6c0b0; }
.privacy-grid {
  display: grid;
  grid-template-columns: minmax(340px, 1fr) minmax(320px, auto);
  align-items: center;
  gap: clamp(50px, 8vw, 130px);
}
.local-list { max-width: 460px; margin-top: clamp(40px, 5vw, 64px); }
.local-list > div {
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 14px;
  transition: padding .35s ease;
}
.local-list > div:last-child { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.local-list > div:hover { padding-inline: 8px; }
.local-list span { color: #9aa494; }
.local-list b { color: var(--lime); font-weight: 500; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; align-self: center; }
.privacy-zero { text-align: right; }
.privacy-visual { position: relative; min-width: min(48vw, 620px); min-height: 440px; display: grid; align-items: center; }
/* Las abejas patrullan la sección entera; el puntero se escucha en la sección. */
#privacy-bees { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.privacy-visual .privacy-zero { position: relative; z-index: 2; pointer-events: none; }
.privacy-zero b {
  display: block;
  color: var(--lime);
  font-size: clamp(220px, 26vw, 430px);
  font-weight: 500;
  letter-spacing: -.06em;
  line-height: .76;
  font-variant-numeric: tabular-nums;
}
.privacy-zero span { display: block; max-width: 400px; margin: 30px 0 0 auto; color: #d4dbd1; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.2; letter-spacing: -.03em; }
.privacy-footnote { max-width: 420px; margin: clamp(50px, 7vw, 90px) 0 0; color: #788074; font-size: 11px; line-height: 1.5; }
.js .reveal:not(.is-visible) .local-device { transform: translateY(28px) rotate(-2deg); opacity: 0; }
.js .reveal.is-visible .local-device { transform: none; opacity: 1; transition: transform .9s cubic-bezier(.2, .8, .2, 1) .15s, opacity .7s ease .15s; }
.js .reveal:not(.is-visible) .privacy-zero { transform: translateY(30px); opacity: 0; }
.js .reveal.is-visible .privacy-zero { transform: none; opacity: 1; transition: transform .9s cubic-bezier(.2, .8, .2, 1) .32s, opacity .7s ease .32s; }

.price-card {
  position: relative;
  margin-top: clamp(50px, 6vw, 84px);
  padding: 0;
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(280px, .95fr);
  align-items: center;
  gap: 0;
  overflow: hidden;
  border-radius: 32px;
  /* Tarjeta entera cielo → mar: el velero navega integrado, no en un parche.
     El padding lo llevan los hijos para que la escena ocupe todo el módulo. */
  background: linear-gradient(168deg, #edf8f3 0%, #d2ecea 36%, #aedbe1 68%, #8fc5cf 100%);
  color: #14282b;
}
/* El texto no captura el puntero: así el velero sigue siendo clicable
   cuando pasa por detrás de la columna. Solo el botón vuelve a hacerlo. */
.price-copy { position: relative; z-index: 2; padding: clamp(34px, 5vw, 68px); padding-right: 0; pointer-events: none; }
.price-copy .pill { pointer-events: auto; }
.price-list { margin: 0; padding: 0; display: grid; gap: 0; list-style: none; max-width: 520px; }
.price-list li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(20, 40, 43, .16);
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 500;
  letter-spacing: -.01em;
}
.price-list li:last-child { border-bottom: 0; }
.price-list i { font-style: normal; font-size: 9px; opacity: .55; }
.price-tag { margin-top: clamp(26px, 3vw, 44px); }
.price-tag span { display: block; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .6; }
.price-tag strong {
  display: block;
  margin: 6px 0 30px;
  font-size: clamp(70px, 7.5vw, 112px);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .9;
  font-variant-numeric: tabular-nums;
}
/* La escena cubre TODA la tarjeta; el texto flota encima en su columna. */
.price-art {
  position: absolute;
  inset: 0;
  min-height: 460px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}
.price-art-top { position: absolute; z-index: 2; top: 20px; right: 22px; left: 22px; display: flex; justify-content: space-between; gap: 20px; color: rgba(20, 40, 43, .62); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.price-art-top b { color: #14282b; font-weight: 600; }
#pricing-canvas { position: absolute; inset: 0; width: 100%; height: 100%; outline: 0; }
#pricing-canvas:focus-visible { box-shadow: inset 0 0 0 3px #14282b; }
.price-art > p { position: absolute; z-index: 2; right: 22px; bottom: 19px; left: 22px; margin: 0; display: flex; justify-content: space-between; color: rgba(20, 40, 43, .62); font-size: 11px; letter-spacing: .04em; }
.price-art > p span { color: #14282b; font-size: 16px; }

.faq-list { width: min(100%, 900px); margin: 90px auto 0; text-align: left; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { padding: 30px 4px; display: flex; justify-content: space-between; gap: 30px; list-style: none; cursor: pointer; font-size: 23px; font-weight: 500; transition: padding .3s ease, color .3s ease; }
summary::-webkit-details-marker { display: none; }
summary span { color: var(--lime); font-size: 15px; font-weight: 400; align-self: center; transition: transform .25s ease; }
details[open] summary span { transform: rotate(135deg); }
details p { max-width: 650px; margin: -8px 4px 30px; color: var(--muted); line-height: 1.55; }
details[open] summary { color: #3c6234; }

.final-cta {
  padding-block: clamp(150px, 17vw, 230px);
  text-align: center;
  background:
    radial-gradient(circle at 50% 16%, rgba(185, 245, 74, .1), transparent 42%),
    #151a14;
  color: #f4f1e8;
}
.final-cta .kicker { color: var(--lime); }
.final-cta h2 span {
  display: inline-block;
  padding: 0 .045em .10em;
  line-height: .92;
  overflow: visible;
  -webkit-text-stroke: 1.8px rgba(244, 241, 232, .96);
}
.pill-lime { background: var(--lime); color: #172015; border-color: transparent; }
.pill-lime:hover { background: white; box-shadow: 0 14px 30px rgba(0, 0, 0, .3); }
#cta-canvas {
  display: block;
  width: min(960px, 100%);
  height: clamp(220px, 30vw, 330px);
  margin: 0 auto clamp(28px, 4vw, 48px);
}
.final-cta .kicker { margin-bottom: 54px; }
.final-cta h2 { overflow: visible; font-size: clamp(70px, 10.5vw, 148px); line-height: .92; }
.final-cta p { max-width: 520px; margin: 40px auto 30px; color: #b6c0b0; line-height: 1.5; }
.footer {
  background: #151a14;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: #8f9a8b;
  font-size: 13px;
}
.footer .shell {
  min-height: 120px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
}
.footer .brand { color: #f4f1e8; }
.footer p { margin: 0; text-align: center; }
.footer .footer-links { display: flex; justify-content: flex-end; gap: 20px; }
.footer a:hover { color: var(--lime); }
.noscript { margin: 0; padding: 14px; background: var(--black); color: white; text-align: center; }

.legal { width: min(100% - 36px, 920px); padding-block: clamp(130px, 15vw, 190px); text-align: center; }
.legal h1 {
  margin: 52px 0 0;
  font-size: clamp(66px, 10vw, 136px);
  font-weight: 500;
  letter-spacing: -.06em;
  line-height: .88;
}
.legal h1 span { color: transparent; -webkit-text-stroke: 1.5px var(--black); }
.legal-date { margin: 60px 0 0; color: var(--muted); font-size: 14px; }
/* Título y texto comparten el mismo eje centrado que el hero de la página. */
.legal-content { max-width: 720px; margin: clamp(90px, 12vw, 150px) auto 0; text-align: center; }
.legal-content section { padding: 40px 0; border-top: 1px solid var(--line); }
.legal-content section:last-child { border-bottom: 1px solid var(--line); }
.legal-content h2 { margin: 0; font-size: clamp(25px, 3vw, 36px); font-weight: 500; letter-spacing: -.035em; }
.legal-content p { max-width: 600px; margin: 18px auto 0; color: var(--muted); line-height: 1.65; }
.legal-content a { color: var(--black); text-decoration: underline; text-underline-offset: 4px; }

.js .reveal { opacity: 0; transform: translateY(48px); transition: opacity .9s ease, transform 1.05s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (hover: hover) and (pointer: fine) {
  .nav-links a { position: relative; }
  .nav-links a::after { content: ""; position: absolute; right: 0; bottom: -6px; left: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s ease; }
  .nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
}

@media (max-width: 900px) {
  .shell { width: min(100% - 36px, 1280px); }
  .nav-links { display: none; }
  .hero { min-height: calc(100svh - 92px); padding: 76px 0 42px; }
  .hero-line-shift { padding-left: 0; }
  .hero-bottom { align-items: start; flex-direction: column; }
  .split-intro { align-items: start; flex-direction: column; gap: 26px; }
  .split-intro .support { margin: 0; }
  .price-card { grid-template-columns: 1fr; }
  .price-copy { padding: clamp(28px, 6vw, 44px); }
  .price-art { position: relative; inset: auto; }
  .demo-intro { min-height: 82vh; grid-template-columns: 1fr; align-content: center; }
  .demo-intro > .kicker { align-self: auto; }
  .demo-intro-note { max-width: 450px; margin-left: auto; }
  .story-sticky { padding: 0; }
  .valley-card { height: 100svh; border-radius: 0; }
  .valley-copy {
    top: 92px;
    right: 18px;
    bottom: auto;
    left: 18px;
    width: auto;
    height: 225px;
    min-height: 225px;
    padding: 20px;
    background: rgba(18, 23, 17, .86);
  }
  .stage-copy { top: 58px; right: 20px; left: 20px; }
  .stage-copy h3 { font-size: 36px; }
  .stage-copy p { display: none; }
  .demo-metric { position: absolute; right: 20px; bottom: 37px; text-align: right; }
  .demo-metric strong { font-size: 27px; }
  .demo-progress { position: absolute; right: 20px; bottom: 22px; left: 20px; }
  .demo-status { position: absolute; left: 20px; bottom: 40px; }
  .hero-beta { display: none; }
  .canvas-wrap { inset: 0; }
  .canvas-badge { top: auto; right: auto; bottom: 16px; left: 16px; }
  .canvas-hint { display: none; }
  .wealth-sticky { padding: 96px 0 18px; }
  .wealth-shell { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); gap: 20px; }
  .wealth-copy .section-head { margin-bottom: 20px; }
  .wealth-copy h2 { font-size: clamp(46px, 8vw, 64px); }
  .wealth-copy-stack { height: 58px; margin-top: 20px; }
  .wealth-copy-step { max-width: 620px; font-size: 16px; }
  .wealth-card { width: 100%; height: auto; min-height: 0; padding: 30px; border-radius: 26px; }
  .wealth-total { margin-top: 20px; font-size: clamp(58px, 10vw, 82px); }
  .money-flow { position: relative; top: auto; right: auto; margin: 14px 0 0 auto; }
  .wealth-bar { margin-top: 24px; }
  .wealth-list { margin-top: 24px; }
  .wealth-note { right: 30px; bottom: 18px; }
  .learn-sticky { padding: 96px 0 18px; }
  .learn-heading h2 { font-size: clamp(48px, 8vw, 66px); }
  .learn-layout { height: min(470px, calc(100svh - 305px)); min-height: 350px; }
  .privacy-grid { grid-template-columns: 1fr; gap: 44px; }
  .privacy-zero { text-align: left; }
  .privacy-zero span { margin: 24px 0 0; }
  .privacy-visual { min-width: 0; min-height: 350px; }
  .price-art { min-height: 420px; }
  .media-card { min-height: 580px; }
  .footer .shell { padding: 30px 0; grid-template-columns: 1fr; justify-items: center; }
  .footer .footer-links { justify-content: center; }
  .legal { padding-top: 90px; }
}

@media (min-width: 561px) and (max-width: 900px) {
  .wealth-sticky { padding: 84px 0 12px; }
  .wealth-shell { gap: 12px; }
  .wealth-copy {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(280px, 1.1fr);
    align-items: end;
    column-gap: 24px;
  }
  .wealth-copy .section-head { grid-column: 1 / -1; margin-bottom: 8px; }
  .wealth-copy h2 { font-size: 48px; line-height: .84; }
  .wealth-copy-stack { height: 52px; margin-top: 0; }
  .wealth-copy-step { font-size: 14px; line-height: 1.35; }
  .wealth-card { padding: 22px 24px; border-radius: 24px; }
  .wealth-total { margin-top: 14px; font-size: 64px; }
  .money-flow { position: absolute; top: 64px; right: 24px; margin: 0; padding: 9px 12px; font-size: 12px; }
  .wealth-bar { margin-top: 20px; }
  .wealth-list { margin-top: 18px; gap: 6px; }
  .wealth-list > div { gap: 12px; padding: 8px 10px; border-radius: 15px; }
  .account-mark { width: 34px; height: 34px; border-radius: 10px; }
  .wealth-list b { font-size: 15px; }
  .wealth-list small { font-size: 10px; }
  .wealth-list strong { font-size: 15px; }
  .wealth-note { display: none; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .site-header { height: 76px; padding-top: 9px; }
  .nav { height: 58px; padding-left: 12px; }
  .nav .pill { min-height: 42px; padding-inline: 16px; font-size: 13px; }
  .brand span { font-size: 15px; }
  .brand img { width: 26px; height: 26px; }
  .hero { min-height: calc(100svh - 76px); padding-top: 54px; }
  .hero-eyebrow { align-items: start; }
  .hero-edition { display: none; }
  .hero h1 { margin-top: 36px; font-size: clamp(58px, 19vw, 86px); line-height: .88; }
  .hero-bottom { margin-top: 42px; }
  .hero-actions { width: 100%; }
  .hero-actions .pill { width: 100%; }
  .hero-foot { padding-top: 46px; grid-template-columns: auto 1fr auto; }
  .hero-foot p { display: none; }
  .demo-intro { min-height: auto; padding-block: 120px; }
  .demo-intro h2 { font-size: clamp(60px, 18vw, 82px); }
  .demo-intro-note { margin-top: 26px; }
  .story { height: 520vh; }
  .story-sticky { top: 0; }
  .valley-card { border-radius: 0; }
  .valley-copy { top: 82px; right: 12px; left: 12px; height: 232px; min-height: 232px; border-radius: 20px; }
  .stage-copy h3 { font-size: 32px; }
  .canvas-controls { right: 12px; bottom: 12px; }
  .canvas-controls button { width: 34px; height: 34px; }
  .statement, .privacy-section .shell, .pricing, .faq { padding-block: 120px; }
  .statement h2, .privacy-section h2, .pricing h2, .faq h2 { font-size: clamp(54px, 16vw, 76px); }
  .statement .support, .privacy-section .support { margin-top: 30px; }
  .media-card { min-height: 520px; margin-top: 50px; border-radius: 20px; }
  .accounts-motion { padding: 26px 20px; }
  .mock-balance { font-size: 58px; }
  .mock-list { margin-top: 45px; }
  .mock-list > div { grid-template-columns: 44px 1fr; }
  .mock-icon { width: 40px; height: 40px; }
  .mock-list strong { grid-column: 2; color: #c8d0c4; font-size: 14px; }
  .lesson-card { padding: 25px 20px; }
  .lesson-card h3 { font-size: 30px; }
  .wealth-story { height: 400vh; }
  .wealth-sticky { padding: 82px 0 10px; }
  .wealth-shell { width: calc(100% - 24px); gap: 12px; }
  .wealth-copy .section-head { margin-bottom: 12px; }
  .wealth-copy h2 { font-size: 43px; line-height: .9; }
  .wealth-copy-stack { height: 54px; margin-top: 14px; }
  .wealth-copy-step { font-size: 14px; line-height: 1.35; }
  .wealth-card { padding: 22px 18px; border-radius: 22px; }
  .wealth-total { margin-top: 14px; font-size: 51px; }
  .money-flow { position: absolute; top: 63px; right: 18px; margin: 0; padding: 8px 10px; font-size: 11px; }
  .money-flow span { display: none; }
  .wealth-bar { margin-top: 19px; }
  .wealth-list { margin-top: 18px; gap: 6px; }
  .wealth-list > div { padding: 8px; grid-template-columns: 38px 1fr; }
  .wealth-list strong { grid-column: 2; font-size: 13px; }
  .wealth-list b { font-size: 14px; }
  .wealth-list small { font-size: 10px; }
  .wealth-note { display: none; }
  .learn-story { height: 400vh; }
  .learn-sticky { padding: 82px 0 10px; }
  .learn-shell { width: calc(100% - 24px); }
  .learn-shell .section-head { margin-bottom: 12px; }
  .learn-heading h2 { font-size: 48px; }
  .learn-heading > p { display: none; }
  .learn-layout { height: calc(100svh - 230px); min-height: 520px; margin-top: 18px; display: block; }
  .lesson-menu { right: 12px; bottom: 12px; left: 12px; height: 52px; grid-template-columns: repeat(4, 1fr); border-radius: 999px; }
  .lesson-menu button { min-height: 52px; padding: 0; justify-content: center; border-right: 1px solid rgba(17, 17, 17, .08); border-bottom: 0; font-size: 0; }
  .lesson-menu button.is-active { padding-left: 0; }
  .lesson-menu button span { font-size: 10px; }
  .lesson-stage { border-radius: 20px; }
  .lesson-stage-top { top: 16px; right: 18px; left: auto; }
  .lesson-panels { top: auto; right: 12px; bottom: 76px; left: 12px; width: auto; height: 224px; padding: 20px; border-radius: 18px; transform: none; }
  .lesson-panel { justify-content: center; padding: 0 20px; }
  .lesson-panel h3 { max-width: 330px; font-size: 35px; }
  .lesson-panel > span { max-width: 330px; margin-top: 12px; font-size: 13px; }
  .lesson-progress { top: 42px; right: 18px; bottom: auto; left: auto; width: 150px; }
  .privacy-zero b { font-size: 140px; }
  .privacy-zero span { font-size: 20px; }
  .price-card { padding: 26px 20px; border-radius: 24px; }
  .price-tag strong { font-size: 64px; }
  .price-art { min-height: 350px; border-radius: 20px; }
  .price-art-top { top: 16px; right: 16px; left: 16px; }
  .price-art > p { right: 16px; bottom: 15px; left: 16px; }
  .final-cta { padding-block: 140px; }
  .section-head > span { display: none; }
  .section-head { margin-bottom: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero h1, .valley-card { transform: none; }
}

/* Selector de idioma: un enlace más de la navegación, sin caja. */
.language-switcher {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
}
.language-switcher::after {
  position: absolute;
  right: 0;
  content: "⌄";
  color: #333;
  font-size: 11px;
  pointer-events: none;
  transform: translateY(-2px);
}
.language-switcher select {
  padding: 0 14px 0 0;
  border: 0;
  background: transparent;
  color: #333;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  appearance: none;
  transition: opacity .25s ease;
}
.language-switcher select:hover { opacity: .55; }
.language-switcher:has(select:focus-visible) { outline: 2px solid var(--black); outline-offset: 4px; border-radius: 4px; }

@media (max-width: 900px) {
  /* Sin nav-links visibles, el selector vuelve junto al botón principal. */
  .nav-links:has(.language-switcher) { display: flex; }
  .nav-links:has(.language-switcher) > a { display: none; }
}
