/* Misma paleta (modo claro) y tipografía de la app, para que web y app se sientan una sola marca. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
}

:root {
  color-scheme: light;
  --bg: #f4f6fa;
  --surface: #ffffff;
  --surface-2: #eef1f6;
  --line: #e3e8f0;
  --ink: #0d1117;
  --ink-2: #4a5362;
  --ink-3: #646e7d;
  --accent: #3b67e8;
  --accent-2: #2a52c9;
  --accent-ink: #2f5bdb;
  --accent-tint: #eaf0fe;
  --hero-a: #4272e4;
  --hero-b: #2a52c9;
  --gold-a: #ffd76a;
  --gold-b: #e8a100;
  --gold-ink: #7a5200;
  --green: #12804a;
  --green-tint: #e4f6ec;
  --bar-metal: #b4bdcc;
  --bar-metal-edge: #8d97aa;
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --pop: cubic-bezier(0.3, 1.6, 0.5, 1);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
a {
  color: var(--accent-ink);
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

.wrap {
  width: min(100% - 40px, 1080px);
  margin-inline: auto;
}

/* ───── barra superior ───── */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 246, 250, 0.78);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.top.is-scrolled {
  border-bottom-color: var(--line);
}
.top-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(100% - 40px, 1080px);
  margin: 0 auto;
  height: 64px;
}
.logo {
  display: grid;
  line-height: 0.9;
  text-decoration: none;
}
.logo-top {
  font-size: 9.5px;
  font-weight: 750;
  letter-spacing: 0.22em;
  color: var(--ink-3);
}
.logo-main {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--accent);
}
.top-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.top-links a:not(.btn) {
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 550;
  font-size: 15px;
  transition: color 0.2s;
}
.top-links a:not(.btn):hover {
  color: var(--ink);
}

/* ───── botones ───── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--pop), box-shadow 0.25s, background 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -12px rgba(13, 17, 23, 0.35);
}
.btn:active {
  transform: scale(0.96);
}
.btn.primary {
  background: linear-gradient(150deg, var(--hero-a), var(--hero-b));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 12px 28px -12px rgba(42, 82, 201, 0.75);
}
.btn.primary:hover {
  box-shadow: 0 16px 34px -12px rgba(42, 82, 201, 0.9);
}
.btn.light {
  background: #fff;
  color: var(--accent-2);
  border-color: transparent;
}
.btn.link {
  background: none;
  border-color: transparent;
  color: var(--accent-ink);
  padding-inline: 12px;
}
.btn.link:hover {
  box-shadow: none;
  transform: translateY(1px);
}
.btn.sm {
  min-height: 38px;
  padding: 0 18px;
  font-size: 14.5px;
}
.btn.lg {
  min-height: 54px;
  padding: 0 32px;
  font-size: 17px;
}
.btn.block {
  display: flex;
  width: 100%;
}

/* ───── tipografía de sección ───── */
.eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent-ink);
}
h1 {
  font-size: clamp(44px, 7.4vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  font-weight: 800;
  text-wrap: balance;
}
h2 {
  font-size: clamp(32px, 5.6vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  font-weight: 800;
  text-wrap: balance;
}
h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.lead {
  max-width: 58ch;
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.5;
  color: var(--ink-2);
}
.grad {
  background: linear-gradient(120deg, #4272e4, #2a52c9 55%, #6d8ff0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.note {
  font-size: 14px;
  color: var(--ink-3);
}
.head {
  display: grid;
  gap: 16px;
  margin-bottom: clamp(36px, 6vw, 64px);
}
.head.center {
  justify-items: center;
  text-align: center;
}
section {
  padding-block: clamp(72px, 11vw, 140px);
}

.chip {
  display: inline-flex;
  align-self: flex-start;
  width: fit-content;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}
.chip.inline {
  margin-left: 8px;
  vertical-align: 1px;
}

/* ───── HERO ───── */
.hero {
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
  padding-block: clamp(28px, 5vw, 56px) clamp(56px, 8vw, 100px);
  text-align: center;
  display: grid;
  gap: 22px;
  justify-items: center;
}
.hero .lead {
  max-width: 44ch;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  justify-content: center;
  margin-top: 6px;
}
.rise {
  opacity: 0;
  animation: rise 0.9s var(--ease) both;
  animation-delay: calc(var(--dl, 0) * 90ms + 80ms);
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ───── dispositivos ───── */
.stage {
  position: relative;
  width: min(1060px, 100%);
  margin-top: clamp(12px, 3vw, 32px);
  padding-bottom: clamp(18px, 4vw, 44px);
}
.laptop {
  width: 76%;
  margin-left: 0;
  /* sube un poco más lento que el scroll y flota suave, para que se sienta vivo */
  translate: 0 calc(var(--py, 0) * -0.1px);
  animation: lapfloat 8s ease-in-out infinite;
}
@keyframes lapfloat {
  50% {
    transform: translateY(-9px);
  }
}
.laptop-lid {
  background: #0f131a;
  border-radius: 18px 18px 6px 6px;
  padding: clamp(5px, 0.9vw, 11px);
  box-shadow: 0 50px 90px -40px rgba(13, 17, 23, 0.55), 0 0 0 1px rgba(13, 17, 23, 0.08);
}
.laptop-screen {
  border-radius: 8px;
  background: #e9edf4;
}
.laptop-base {
  height: clamp(8px, 1.4vw, 15px);
  width: 112%;
  margin-left: -6%;
  border-radius: 0 0 18px 18px;
  background: linear-gradient(#d9dee8, #b9c0cd);
  position: relative;
}
.laptop-base::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 16%;
  height: 40%;
  transform: translateX(-50%);
  border-radius: 0 0 10px 10px;
  background: #a5adbc;
}
.phone-wrap {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 24%;
  min-width: 96px;
  transform: translateY(calc(var(--py, 0) * -0.06px));
}
.phone {
  position: relative;
  background: #0f131a;
  border-radius: clamp(20px, 3.4vw, 44px);
  padding: clamp(4px, 0.7vw, 9px);
  box-shadow: 0 40px 70px -30px rgba(13, 17, 23, 0.6), 0 0 0 1px rgba(13, 17, 23, 0.1), inset 0 0 0 1.5px #2a303c;
}
.phone-hero {
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  50% {
    transform: translateY(-10px);
  }
}
.phone-screen {
  border-radius: clamp(16px, 2.8vw, 36px);
  background: var(--bg);
}
.phone-island {
  position: absolute;
  top: clamp(8px, 1.4vw, 17px);
  left: 50%;
  width: 27%;
  aspect-ratio: 3.6;
  transform: translateX(-50%);
  border-radius: 99px;
  background: #05070a;
}

/* Una pantalla de diseño fijo (W×H) escalada al ancho de su contenedor. */
.fit {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: var(--ar);
}
.fit-phone {
  --w: 390px;
  --h: 844px;
  --ar: 390 / 844;
}
.fit-laptop {
  --w: 1280px;
  --h: 800px;
  --ar: 1280 / 800;
}
.fit > .scaled {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--w);
  height: var(--h);
  transform: scale(var(--s, 0.6));
  transform-origin: 0 0;
}

/* destello diagonal, como el de la app (0,8 s de barrido, ~4 s de descanso) */
.sheen {
  position: relative;
}
.sheen::after {
  content: '';
  position: absolute;
  z-index: 30;
  top: -20%;
  left: -50%;
  width: 36%;
  height: 140%;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  animation: sweep 5s cubic-bezier(0.35, 0.1, 0.3, 1) infinite;
  animation-delay: var(--sd, 1.2s);
}
@keyframes sweep {
  0% {
    left: -50%;
    opacity: 1;
  }
  16% {
    left: 125%;
    opacity: 1;
  }
  16.1%,
  100% {
    left: 125%;
    opacity: 0;
  }
}
.phone-screen.sheen {
  --sd: 2.6s;
}
.finale-card.sheen {
  --sd: 0.8s;
}
.calc-hero.sheen {
  --sd: 1.8s;
}

/* aparecer al hacer scroll (JS agrega .pre y luego .in) */
.rv.pre {
  opacity: 0;
  transform: translateY(28px);
}
.rv {
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.rv.in {
  opacity: 1;
  transform: none;
}

/* ───── pantallas de la app dentro de los mockups ───── */
.ap {
  position: relative;
  text-align: left;
  width: 390px;
  height: 844px;
  overflow: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.3;
}
.ap.ap-col {
  height: 100%;
}
.ap-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 50px;
  padding: 6px 30px 0 34px;
  font-size: 15px;
  font-weight: 650;
}
.ap-bat {
  width: 26px;
  height: 12px;
  border-radius: 4px;
  border: 1.5px solid var(--ink);
  position: relative;
}
.ap-bat::after {
  content: '';
  position: absolute;
  inset: 1.5px 5px 1.5px 1.5px;
  border-radius: 2px;
  background: var(--ink);
}
.ap-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 20px 0;
}
.ap-logo {
  display: grid;
  line-height: 0.9;
}
.ap-logo i {
  font-style: normal;
  font-size: 9.5px;
  font-weight: 750;
  letter-spacing: 0.22em;
  color: var(--ink-3);
}
.ap-logo b {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--accent);
}
.ap-avatar {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--hero-a), var(--hero-b));
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px #b9cbf7;
  color: #fff;
  font-size: 19px;
  font-weight: 800;
}
.ap-title {
  padding: 10px 20px 0;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.ap-hero {
  position: relative;
  margin: 14px 16px 0;
  padding: 18px 20px 20px;
  border-radius: 26px;
  color: #fff;
  background: linear-gradient(150deg, var(--hero-a), var(--hero-b));
  box-shadow: 0 18px 34px -16px rgba(42, 82, 201, 0.75);
  overflow: hidden;
}
.ap-hero::after {
  content: '';
  position: absolute;
  top: -20%;
  left: -50%;
  width: 36%;
  height: 140%;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-20deg);
}
.ap-screen.is-active .ap-hero::after {
  animation: sweep 5s cubic-bezier(0.35, 0.1, 0.3, 1) infinite 0.9s;
}
.ap-lab {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
}
.ap-mov {
  margin-top: 4px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.ap-pr {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 14px;
  font-size: 58px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.ap-pr small {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0;
  opacity: 0.9;
}
.ap-pill {
  display: inline-flex;
  margin-top: 14px;
  padding: 7px 13px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 12.5px;
  font-weight: 650;
}
.ap-stats {
  display: flex;
  gap: 22px;
  margin-top: 14px;
}
.ap-stats b {
  display: block;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.ap-card {
  margin: 14px 16px 0;
  padding: 16px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
}
.ap-card h4 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.015em;
}
.ap-card h4 span {
  float: right;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
}
.ap-chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.ap-chips.row {
  display: flex;
  gap: 6px;
}
.ap-chips.row i {
  flex: 1;
}
.ap-chips i {
  display: grid;
  place-items: center;
  height: 42px;
  border-radius: 13px;
  background: var(--surface-2);
  font-style: normal;
  font-size: 14.5px;
  font-weight: 700;
}
.ap-chips i.on {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 16px -8px rgba(42, 82, 201, 0.8);
  transform: scale(1.05);
}
.ap-screen.is-active .ap-chips i.on {
  animation: pop 0.5s var(--pop) 0.25s both;
}
@keyframes pop {
  from {
    transform: scale(0.8);
  }
  to {
    transform: scale(1.05);
  }
}
.ap-chips .wide {
  grid-column: 1 / -1;
}
.ap-bar-card {
  padding: 8px 8px 10px;
}
.ap-bar-card .barbell-svg {
  max-height: 120px;
}
.ap-plates {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.ap-plates span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 99px;
  background: var(--surface-2);
  font-size: 13.5px;
  font-weight: 700;
}
.ap-chart {
  display: block;
  width: 100%;
  height: auto;
}
.ap-chart .ap-line {
  stroke-dasharray: 420;
  stroke-dashoffset: 0;
}
.ap-screen.is-active .ap-chart .ap-line {
  animation: draw 1.4s var(--ease) 0.2s both;
}
@keyframes draw {
  from {
    stroke-dashoffset: 420;
  }
}
.ap-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 11px;
  color: var(--ink-3);
}
.ap-const {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.ap-const b {
  display: block;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.ap-const span {
  font-size: 12.5px;
  color: var(--ink-3);
  font-weight: 550;
}
.ap-boxpill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px 0;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
.ap-boxpill span {
  padding: 9px 14px;
  border-radius: 99px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  letter-spacing: 0;
  font-weight: 700;
}
.ap-days {
  display: flex;
  gap: 8px;
  padding: 14px 16px 0;
}
.ap-days i {
  flex: 1;
  display: grid;
  place-items: center;
  height: 44px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  font-style: normal;
  font-size: 13.5px;
  font-weight: 700;
}
.ap-days i.on {
  background: var(--accent);
  border-color: transparent;
  color: #fff;
}
.ap-cls {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 10px 16px 0;
  padding: 14px 16px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
}
.ap-cls time {
  min-width: 52px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.ap-cls div {
  flex: 1;
  font-size: 15px;
  font-weight: 700;
}
.ap-cls div small {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  font-weight: 550;
  color: var(--ink-3);
}
.ap-btn {
  padding: 9px 15px;
  border-radius: 99px;
  background: var(--accent-tint);
  color: var(--accent-ink);
  font-size: 13.5px;
  font-weight: 750;
}
.ap-btn.ok {
  background: var(--green-tint);
  color: var(--green);
}
.ap-tabs {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 16px;
  display: flex;
  height: 68px;
  padding: 0 4px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px -14px rgba(13, 17, 23, 0.3);
}
.ap-tabs span {
  flex: 1;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 650;
  color: var(--ink-3);
}
.ap-tabs svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ap-tabs span.on {
  color: var(--ink);
}
.ap-tabs span.on::after {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.ap-splash {
  display: grid;
  place-content: center;
  justify-items: center;
  height: 100%;
  background: radial-gradient(circle at 50% 42%, #fff, #e6edfd 70%);
}
.ap-splash i {
  font-style: normal;
  font-size: 17px;
  font-weight: 750;
  letter-spacing: 0.34em;
  color: var(--ink-3);
  margin-right: -0.34em;
}
.ap-splash b {
  font-size: 118px;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.95;
  color: var(--accent);
}
.ap-splash small {
  margin-top: 22px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink-2);
}
.ap-browser {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 56px;
  padding: 0 24px;
  background: #dfe4ee;
}
.ap-browser i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #b9c1d0;
  margin-right: -6px;
}
.ap-browser span {
  flex: 0 1 460px;
  margin: 0 auto;
  padding: 8px 18px;
  border-radius: 99px;
  background: #f4f6fa;
  font-size: 15px;
  font-weight: 550;
  color: var(--ink-2);
  text-align: center;
}
.ap-view {
  display: flex;
  justify-content: center;
  height: calc(100% - 56px);
  background: #e9edf4;
}
.ap-view .ap {
  height: 100%;
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgba(13, 17, 23, 0.3);
}

/* pantallas intercambiables */
.screens {
  position: absolute;
  inset: 0;
}
.ap-screen {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  pointer-events: none;
}
.ap-screen.is-active {
  opacity: 1;
  transform: none;
}
.ap-screen .plate-g {
  animation: none;
}
.ap-screen.is-active .plate-g,
.calc-bar .plate-g {
  animation: plate 0.55s cubic-bezier(0.3, 1.5, 0.5, 1) calc(var(--i, 0) * 80ms + 120ms) both;
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes plate {
  from {
    opacity: 0;
    transform: translateY(-30px) scaleY(0.8);
  }
}

/* barra y discos (mismo dibujo que la app) */
.barbell-svg {
  display: block;
  width: 100%;
  height: auto;
}
.bar-rod {
  fill: var(--bar-metal);
}
.bar-sleeve {
  fill: var(--bar-metal);
  stroke: var(--bar-metal-edge);
  stroke-width: 1;
}
.bar-collar {
  fill: var(--bar-metal-edge);
}
.bar-label-bg {
  fill: #fff;
  stroke: var(--bar-metal-edge);
  stroke-width: 1.5;
}
.bar-label-text {
  fill: var(--ink);
  font-size: 13px;
  font-weight: 800;
  font-family: var(--font);
  letter-spacing: -0.01em;
}
.plate-text {
  font-weight: 800;
  font-family: var(--font);
}
.pdot {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #1b1e25;
  box-shadow: inset 0 0 0 3.5px var(--c);
}
.pdot.kg {
  background: var(--c);
  box-shadow: none;
}
.pc0 { --c: #1f8bff; }
.pc1 { --c: #ffd400; }
.pc2 { --c: #12d04a; }
.pc3 { --c: #ffffff; }
.pc4 { --c: #9aa4b2; }
.pc5 { --c: #e78d7e; }
.pc6 { --c: #81a9e7; }
.pc7 { --c: #e3c95f; }
.pc8 { --c: #75be88; }

/* ───── producto (scrollytelling) ───── */
.story {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: start;
  max-width: 1080px;
  margin-inline: auto;
}
.story-steps {
  min-width: 0;
}
.story-phone-col {
  position: sticky;
  top: 90px;
  display: grid;
  justify-items: center;
  padding-left: 64px;
}
.phone-story {
  position: relative;
  z-index: 1;
  width: min(330px, calc((100vh - 210px) * 0.47));
  min-width: 190px;
}
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 14px;
  min-height: 78vh;
  padding-right: 64px;
  text-align: right;
}
/* el texto se apaga cuando no es el paso actual; los círculos de la línea no */
.step > * {
  opacity: 0.25;
  transition: opacity 0.5s var(--ease);
}
.step.is-on > * {
  opacity: 1;
}
.step p {
  margin-left: auto;
}

/* línea de tiempo: línea negra al centro con un círculo por paso */
.tl-line {
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  margin-left: -1px;
  background: #cdd2db;
  border-radius: 2px;
}
.tl-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--fill, 0px);
  background: var(--ink);
  border-radius: 2px;
}
.step::before {
  content: '';
  position: absolute;
  z-index: 1;
  top: 50%;
  right: -7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid #aab1bd;
  transform: translateY(-50%);
  transition: background 0.35s, border-color 0.35s, box-shadow 0.35s, transform 0.35s var(--pop);
}
.step[data-hito]::before {
  right: -12px;
  width: 24px;
  height: 24px;
  border-width: 3px;
}
.step.reached::before {
  background: var(--ink);
  border-color: var(--ink);
}
.step[data-hito].is-on::before {
  box-shadow: 0 0 0 7px rgba(13, 17, 23, 0.12);
  transform: translateY(-50%) scale(1.08);
}
.step-n {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.step h3 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 800;
  text-wrap: balance;
}
.step p {
  max-width: 34ch;
  font-size: 19px;
  color: var(--ink-2);
}

/* ───── calculadora ───── */
.calc {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.calc-card {
  display: grid;
  gap: 18px;
  max-width: 880px;
  margin-inline: auto;
  padding: clamp(14px, 3vw, 28px);
  border-radius: 36px;
  background: var(--bg);
  border: 1px solid var(--line);
}
.calc-controls {
  display: grid;
  gap: 16px;
  padding: 6px 6px 0;
}
.pr-field {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}
.pr-box {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
}
.pr-box:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}
.pr-box input {
  width: 4.2ch;
  border: 0;
  outline: 0;
  background: none;
  font: inherit;
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  text-align: right;
  -moz-appearance: textfield;
}
.pr-box input::-webkit-outer-spin-button,
.pr-box input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.pr-box em {
  font-style: normal;
  font-weight: 700;
  color: var(--ink-3);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pc {
  min-width: 64px;
  height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.22s var(--pop), background 0.2s, color 0.2s, box-shadow 0.2s;
}
.pc:hover {
  transform: translateY(-2px);
}
.pc:active {
  transform: scale(0.94);
}
.pc[aria-pressed='true'] {
  background: var(--accent);
  border-color: transparent;
  color: #fff;
  transform: scale(1.06);
  box-shadow: 0 10px 20px -10px rgba(42, 82, 201, 0.85);
}
.calc-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(22px, 4vw, 36px);
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(150deg, var(--hero-a), var(--hero-b));
  box-shadow: 0 24px 44px -22px rgba(42, 82, 201, 0.8);
}
.calc-label {
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.88;
}
.calc-num {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 6px;
  font-size: clamp(64px, 13vw, 116px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.calc-num small {
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 700;
  letter-spacing: 0;
  opacity: 0.9;
}
.calc-sub {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 600;
  opacity: 0.92;
}
.calc-bar {
  padding: clamp(10px, 3vw, 28px) 4px 0;
}
.calc-bar .barbell-svg {
  max-height: 210px;
}
.plates-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
}
.plates-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 99px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 15px;
  font-weight: 700;
}
.calc-foot {
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-3);
}

/* ───── boxes ───── */
.flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2.4vw, 28px);
  counter-reset: none;
}
.flow-i {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 28px;
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.flow-i p {
  color: var(--ink-2);
  font-size: 16.5px;
}
.flow-n {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent-ink);
  font-weight: 800;
}
.callout {
  display: grid;
  gap: 8px;
  max-width: 760px;
  margin: clamp(20px, 3vw, 32px) auto 0;
  padding: 28px 30px;
  border-radius: 28px;
  background: var(--accent-tint);
  border: 1px solid #d3e0fb;
}
.callout p {
  color: var(--ink-2);
}

/* ───── planes ───── */
.plans {
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2.4vw, 28px);
  align-items: stretch;
}
.plan {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 32px 28px 28px;
  border-radius: 32px;
  background: var(--bg);
  border: 1px solid var(--line);
}
.plan.featured {
  background: linear-gradient(160deg, var(--hero-a), var(--hero-b));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 30px 60px -30px rgba(42, 82, 201, 0.8);
}
.plan-for {
  color: var(--ink-2);
  font-weight: 600;
}
.plan.featured .plan-for,
.plan.featured .plan-list {
  color: rgba(255, 255, 255, 0.92);
}
.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 10px 0 6px;
}
.price b {
  font-size: clamp(40px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
}
.price span {
  font-weight: 600;
  opacity: 0.75;
}
.plan-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 22px;
  color: var(--ink-2);
  font-size: 15.5px;
}
.plan-list li {
  position: relative;
  padding-left: 26px;
}
.plan-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.38em;
  width: 14px;
  height: 8px;
  border-left: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
  transform: rotate(-45deg);
  opacity: 0.8;
}
.plan .btn {
  align-self: end;
}
.plan.featured .btn.primary {
  background: #fff;
  color: var(--accent-2);
  box-shadow: none;
}
.plans-note {
  margin-top: 30px;
  text-align: center;
  font-size: 15px;
  color: var(--ink-3);
}

/* ───── cierre ───── */
.finale-card {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: clamp(44px, 8vw, 96px) 24px;
  border-radius: 40px;
  text-align: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(120% 140% at 20% 0%, #5a85f0 0%, var(--hero-a) 35%, var(--hero-b) 100%);
  box-shadow: 0 40px 80px -40px rgba(42, 82, 201, 0.85);
}
.finale-card p {
  max-width: 42ch;
  font-size: clamp(17px, 2.2vw, 21px);
  opacity: 0.94;
}

/* ───── pie ───── */
.foot {
  padding: 28px 0 40px;
  color: var(--ink-3);
  font-size: 14px;
}
.foot-in {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
}

/* ───── pantallas chicas ───── */
@media (max-width: 860px) {
  .hide-sm {
    display: none;
  }
  .flow,
  .plan-grid {
    grid-template-columns: 1fr;
  }
  .story {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .tl-line {
    left: 14px;
    margin-left: -1px;
  }
  .story-phone-col {
    order: -1;
    top: 64px;
    z-index: 5;
    padding: 10px 0 22px;
    background: linear-gradient(var(--bg) 78%, rgba(244, 246, 250, 0));
  }
  .phone-story {
    width: 150px;
    min-width: 0;
  }
  .step {
    min-height: 46vh;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 8px 0 0 44px;
    text-align: left;
  }
  .step p {
    margin-left: 0;
  }
  .step::before {
    top: 22px;
    right: auto;
    left: 8px;
  }
  .step[data-hito]::before {
    right: auto;
    left: 3px;
  }
  .step p {
    font-size: 17px;
  }
  .laptop {
    width: 100%;
  }
  .phone-wrap {
    width: 32%;
    right: 2%;
    bottom: -4%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .rise,
  .rv {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
  }
  .rv.pre {
    opacity: 1;
    transform: none;
  }
  .sheen::after,
  .ap-hero::after,
  .phone-hero,
  .laptop {
    animation: none !important;
  }
  .ap-screen,
  .step {
    transition: none;
  }
}

.rise[data-d='0'] { --dl: 0; }
.rise[data-d='1'] { --dl: 1; }
.rise[data-d='2'] { --dl: 2; }
.rise[data-d='3'] { --dl: 3; }
.rise[data-d='4'] { --dl: 4; }
.rise[data-d='5'] { --dl: 6; }
.plates-list li span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ───── línea de tiempo: antes · durante · después ───── */
.tl {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  padding: 5px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.tl li {
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-3);
  transition: background 0.35s var(--ease), color 0.35s, transform 0.35s var(--pop);
}
.tl li.on {
  background: var(--accent);
  color: #fff;
  transform: scale(1.04);
}
.step-n {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
}

/* notebook con pantallas intercambiables */
.ap-view {
  position: relative;
}
.ap-view .screens {
  display: flex;
  justify-content: center;
}
.ap-view .ap-screen {
  top: 0;
  bottom: 0;
  left: calc(50% - 195px);
  right: auto;
  width: 390px;
}
.ap-view .ap-screen .ap {
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgba(13, 17, 23, 0.3);
}

/* medallas y logros */
.ap-gold {
  background: linear-gradient(150deg, var(--gold-a), var(--gold-b));
  color: #4a3200;
  box-shadow: 0 18px 34px -16px rgba(232, 161, 0, 0.8);
}
.ap-gold .ap-pill {
  background: rgba(255, 255, 255, 0.45);
}
.ap-coins {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 8px;
}
.ap-coin {
  display: grid;
  justify-items: center;
  gap: 3px;
  text-align: center;
}
.ap-coin i {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 4px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-a), var(--gold-b));
  color: var(--gold-ink);
  font-style: normal;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.5), 0 10px 16px -8px rgba(232, 161, 0, 0.85);
}
.ap-coin i svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ap-coin b {
  font-size: 13px;
  font-weight: 750;
}
.ap-coin small {
  font-size: 11.5px;
  font-weight: 550;
  color: var(--ink-3);
}
.ap-coin.locked i {
  background: var(--surface-2);
  color: var(--ink-3);
  box-shadow: inset 0 0 0 2px var(--line);
}
.ap-screen.is-active .ap-coin i {
  animation: coin 0.6s var(--pop) both;
}
.ap-screen.is-active .ap-coin:nth-child(1) i { animation-delay: 0.15s; }
.ap-screen.is-active .ap-coin:nth-child(2) i { animation-delay: 0.25s; }
.ap-screen.is-active .ap-coin:nth-child(3) i { animation-delay: 0.35s; }
.ap-screen.is-active .ap-coin:nth-child(4) i { animation-delay: 0.45s; }
.ap-screen.is-active .ap-coin:nth-child(5) i { animation-delay: 0.55s; }
.ap-screen.is-active .ap-coin:nth-child(6) i { animation-delay: 0.65s; }
@keyframes coin {
  from {
    transform: scale(0.2) rotate(-25deg);
    opacity: 0;
  }
}

/* ───── pantallas de escritorio dentro del notebook ───── */
.ap-view .ap-screen.dk-screen {
  left: 0;
  right: 0;
  width: auto;
}
.dk {
  display: flex;
  text-align: left;
  height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.3;
}
.dk-side {
  position: relative;
  flex: 0 0 256px;
  padding: 112px 16px 24px;
  background: #fff;
  border-right: 1px solid var(--line);
}
.dk-logo {
  position: absolute;
  top: 26px;
  left: 30px;
  display: grid;
  line-height: 0.9;
}
.dk-logo i {
  font-style: normal;
  font-size: 9.5px;
  font-weight: 750;
  letter-spacing: 0.22em;
  color: var(--ink-3);
}
.dk-logo b {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--accent);
}
.dk-side nav {
  display: grid;
  gap: 4px;
}
.dk-side nav span {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 48px;
  padding: 0 16px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 650;
  color: var(--ink-3);
}
.dk-side nav span.on {
  background: var(--accent-tint);
  color: var(--accent-ink);
}
.dk-side nav svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dk-main {
  flex: 1;
  min-width: 0;
  padding: 30px 48px 0;
  overflow: hidden;
}
.dk-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  margin-bottom: 14px;
}
.dk-head h1 {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.dk .ap-avatar {
  width: 56px;
  height: 56px;
}
.dk-cols {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 20px;
  align-items: start;
}
.dk-cols.train {
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
}
.dk-col {
  display: grid;
  gap: 16px;
  align-content: start;
  min-width: 0;
}
.dk .ap-hero,
.dk .ap-card,
.dk .ap-cls {
  margin: 0;
}
.dk .ap-cls {
  margin-bottom: -6px;
}
.dk .ap-days {
  padding: 0 0 12px;
}
.dk .ap-days i {
  font-size: 13px;
}
.dk .ap-days i.red {
  color: #c4361f;
  background: #fdecea;
}
.dk .ap-btn.off {
  background: var(--surface-2);
  color: var(--ink-3);
}
.dk-box {
  padding: 0 2px;
}
.dk-plan {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.dk-plan small {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
}
.dk-bar {
  height: 7px;
  margin: 14px 0 12px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.28);
  overflow: hidden;
}
.dk-bar i {
  display: block;
  width: 44%;
  height: 100%;
  border-radius: 99px;
  background: #fff;
}
.dk-next {
  background: #fff;
  border-radius: 24px;
}
.dk-ico {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dk-filters {
  display: flex;
  gap: 8px;
}
.dk-filters span {
  padding: 8px 14px;
  border-radius: 99px;
  background: var(--surface-2);
  font-size: 13.5px;
  font-weight: 700;
}
.dk-filters span b {
  margin-left: 6px;
  color: var(--ink-3);
}
.dk-filters span.on {
  background: var(--accent);
  color: #fff;
}
.dk-filters span.on b {
  color: rgba(255, 255, 255, 0.8);
}
.dk-grow {
  min-height: 258px;
}
.dk .dk-pcts {
  grid-template-columns: repeat(4, 1fr);
}
.dk-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.dk-result-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 4px;
}
.dk-result-head b {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 800;
}
.dk-result-head b i {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent-ink);
  font-style: normal;
  font-size: 12px;
}
.dk-result-head small {
  color: var(--ink-3);
  font-size: 12.5px;
  font-weight: 600;
}
.dk-result-head strong {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.dk-result-head strong small {
  margin-left: 4px;
  font-size: 15px;
}
.dk .ap-coins {
  gap: 20px 8px;
}
.dk-hist {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
}
.dk-hist b {
  font-size: 17px;
  font-weight: 800;
}
.dk-hist em {
  padding: 3px 10px;
  border-radius: 99px;
  background: var(--accent-tint);
  color: var(--accent-ink);
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
}
.dk-hist em.soft {
  background: var(--surface-2);
  color: var(--ink-3);
}
.dk-hist span {
  margin-left: auto;
  color: var(--ink-3);
}

/* ───── primer bloque oscuro (negro y gris oscuro, como Apple) ───── */
.top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}
.top-in .logo-top,
.top-links a:not(.btn),
.top-in .logo-main {
  transition: color 0.35s;
}
.top.on-dark {
  background: rgba(0, 0, 0, 0.55);
}
.top.on-dark.is-scrolled {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}
.top.on-dark .logo-top {
  color: #a1a1a6;
}
.top.on-dark .logo-main {
  color: #6d94f5;
}
.top.on-dark .top-links a:not(.btn) {
  color: #d2d2d7;
}
.top.on-dark .top-links a:not(.btn):hover {
  color: #fff;
}

.hero-band {
  padding-top: 64px;
  color: #f5f5f7;
  background: radial-gradient(70% 52% at 50% 64%, rgba(66, 114, 228, 0.3), rgba(66, 114, 228, 0) 72%),
    linear-gradient(180deg, #000 0%, #0a0a0c 55%, #1d1d1f 100%);
}
.hero-band h1 {
  color: #f5f5f7;
}
.hero-band .grad {
  background: linear-gradient(120deg, #9bb8ff, #5f8bf7 55%, #b4c9ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-band .laptop-lid {
  box-shadow: 0 0 0 1.5px #3b4150, 0 40px 120px -30px rgba(66, 114, 228, 0.55);
}
.hero-band .phone {
  box-shadow: 0 40px 100px -30px rgba(66, 114, 228, 0.5), 0 0 0 1.5px #3b4150, inset 0 0 0 1.5px #2a303c;
}
.hero-band .laptop-base {
  background: linear-gradient(#e3e7ef, #aeb6c5);
}

.step-note {
  max-width: 34ch;
  margin-left: auto;
  padding-right: 14px;
  border-right: 3px solid var(--accent);
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink-2);
}
.step-note b {
  color: var(--ink);
}
@media (max-width: 860px) {
  .step-note {
    margin-left: 0;
    padding: 0 0 0 14px;
    border-right: 0;
    border-left: 3px solid var(--accent);
  }
}

/* jerarquía de cada paso: momento (grande) > título > texto */
.step .step-n {
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-transform: none;
  color: var(--accent);
  text-wrap: balance;
}
.step[data-hito] h3 {
  font-size: clamp(24px, 2.8vw, 34px);
  letter-spacing: -0.03em;
}
.step:not([data-hito]) h3 {
  font-size: clamp(28px, 3.4vw, 40px);
}
.step p {
  font-size: 16.5px;
}
.step .chip {
  align-self: center;
}
.chip-link {
  text-decoration: none;
  transition: background 0.2s, transform 0.25s var(--pop);
}
.chip-link:hover {
  background: #dbe6fd;
  transform: translateY(-1px);
}
@media (max-width: 860px) {
  .step .chip {
    align-self: flex-start;
  }
  .step p {
    font-size: 16px;
  }
}
