/* MyDebt Fighter — marketing site v2 (mobile-first).
   One ground, one ink, one accent. Flat surfaces separated by tone, no gradients, no glows. */

@font-face {
  font-family: 'Literata';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url('/assets/fonts/literata-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Literata';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url('/assets/fonts/literata-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Literata';
  font-style: italic;
  font-display: swap;
  font-weight: 200 900;
  src: url('/assets/fonts/literata-latin-wght-italic.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122;
}

:root {
  --bg: #0b1118;
  --surface: #121b25;
  --surface-2: #192532;
  --field: #0f2f30;
  --ink: #eef1f3;
  --muted: #a7b2bd;
  --accent: #27e1c1;
  --on-accent: #032019;
  --paid: #4ade80;
  --interest: #f59e7b;
  --danger: #fb7185;
  --line-soft: rgba(238, 241, 243, 0.09);

  --font: 'Literata', Georgia, 'Times New Roman', serif;
  --s-small: 0.875rem;
  --s-body: 1.0625rem;
  --s-lead: clamp(1.1875rem, 1.1rem + 0.4vw, 1.375rem);
  --s-head: clamp(1.75rem, 1.25rem + 2.2vw, 2.625rem);
  --s-display: clamp(2.75rem, 1.7rem + 5vw, 5.25rem);

  --m: 20px;
  --col: 34rem;
  --wide: 72rem;
  --radius: 18px;
  --gap-section: clamp(96px, 7rem + 4vw, 200px);
  --nav-h: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body.v2 {
  --mdf-sticky-bar-height: 0px;
  --mdf-fab-sticky-offset: 0px;
  --mdf-fab-inset: 16px;
  --mdf-fab-bottom: calc(var(--mdf-fab-inset) + env(safe-area-inset-bottom, 0px) + var(--mdf-fab-sticky-offset));
}

@media (min-width: 768px) {
  :root { --m: 32px; --s-body: 1.125rem; }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }

body.v2 {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--s-body);
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.modal-open { overflow: hidden; }

.v2 img { max-width: 100%; height: auto; display: block; }
.v2 h1, .v2 h2, .v2 h3, .v2 h4, .v2 p, .v2 ul, .v2 ol, .v2 figure { margin: 0; }
.v2 ul, .v2 ol { padding: 0; list-style: none; }
:where(.v2) a { color: inherit; }
:where(.v2) button { font: inherit; color: inherit; }

.v2 h1, .v2 h2, .v2 h3 {
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-wrap: balance;
}
.v2 h2 { font-size: var(--s-head); }
.v2 h3 { font-size: var(--s-lead); line-height: 1.25; letter-spacing: -0.01em; }
.v2 p { text-wrap: pretty; }
.v2 strong { font-weight: 600; }
.v2 .muted { color: var(--muted); }
.v2 .num { font-variant-numeric: tabular-nums lining-nums; }

.v2 :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.v2 ::selection { background: var(--accent); color: var(--on-accent); }

.hidden { display: none !important; }
.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;
}

/* ---------- Frame ---------- */
.wrap { width: min(100% - 2 * var(--m), var(--wide)); margin-inline: auto; }
.col { width: min(100% - 2 * var(--m), var(--col)); margin-inline: auto; }
.section { padding-block: calc(var(--gap-section) / 2); }
.section__head { margin-bottom: 40px; }
.section__head p { margin-top: 16px; color: var(--muted); max-width: 40ch; }
.lead { font-size: var(--s-lead); line-height: 1.5; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 0;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms var(--ease), background-color 160ms ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: #5beed6; }
.btn:active { transform: scale(0.97); }
.btn--quiet { background: var(--surface-2); color: var(--ink); }
.btn--quiet:hover { background: #22303f; }
.btn--block { width: 100%; }
.btn svg, .btn .store-cta-icon__svg { width: 20px; height: 20px; flex-shrink: 0; }

.link {
  color: var(--ink);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--accent) 70%, transparent);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  transition: text-decoration-color 160ms ease, color 160ms ease;
}
.link:hover { color: var(--accent); text-decoration-color: var(--accent); }

.store-cta-icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.store-cta-icon__svg { width: 20px; height: 20px; display: block; }
.store-cta-icon--sm .store-cta-icon__svg { width: 16px; height: 16px; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11, 17, 24, 0.55);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  transition: background-color 200ms ease;
}
.nav.scrolled { background: rgba(11, 17, 24, 0.82); }
.nav__bar {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--nav-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: var(--s-body);
  letter-spacing: -0.01em;
  margin-right: auto;
  white-space: nowrap;
}
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav__links { display: none; gap: 28px; font-size: 1rem; }
.nav__links a { text-decoration: none; color: var(--muted); transition: color 160ms ease; }
.nav__links a:hover, .nav__links a.nav-link--active { color: var(--ink); }
.nav__lang {
  background: none; border: 0; padding: 8px 4px; cursor: pointer;
  color: var(--muted); font-size: 1rem; font-weight: 500;
}
.nav__lang:hover { color: var(--ink); }
.nav__cta { min-height: 40px; padding: 0 16px; white-space: nowrap; font-size: 1rem; }
.nav__menu-btn {
  background: none; border: 0; cursor: pointer; padding: 8px 0 8px 4px;
  font-size: 1rem; font-weight: 500; color: var(--ink);
}
.nav__mobile { background: var(--bg); padding: 8px var(--m) 24px; }
.nav__mobile a, .nav__mobile button {
  display: block; width: 100%; text-align: left;
  padding: 14px 0; font-size: var(--s-body); text-decoration: none;
  background: none; border: 0; cursor: pointer; color: var(--ink);
}
.nav__mobile .btn { margin-top: 16px; text-align: center; display: flex; }

@media (max-width: 899px) {
  .nav__cta--desk, .nav__lang--desk { display: none; }
}
@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__menu-btn, .nav__mobile { display: none !important; }
}

/* ---------- Hero ---------- */
.hero { display: grid; }
.hero__tool { background: var(--surface); padding: 28px var(--m) 32px; }
/* Teléfono: el video de la app arriba, luego la promesa y el botón, luego la calculadora en vivo */
.hero__copy { order: -1; padding: 8px var(--m) 28px; }
.hero__reel { order: -2; position: relative; margin-top: 4px; aspect-ratio: 4 / 3; max-width: 100%; overflow: hidden; }
.hero__video {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; background: var(--bg);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 6%, #000 84%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 6%, #000 84%, transparent 100%);
}
.reel-chip {
  position: absolute; display: flex; flex-direction: column; gap: 1px; padding: 9px 12px; border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 86%, transparent); border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 18px 36px -16px rgba(0, 0, 0, 0.9); /* taste-skill-ignore: tarjeta flotando sobre el video */
  font-size: 13px; line-height: 1.25; color: var(--ink); white-space: nowrap;
  opacity: 0; animation: reel-chip-in 700ms cubic-bezier(0.22, 1, 0.36, 1) forwards, reel-float 5s ease-in-out infinite alternate;
}
.reel-chip small { font-size: 11px; color: var(--muted); }
.reel-chip b { color: var(--accent); font-weight: 600; font-size: 15px; }
.reel-chip--date { right: 4%; top: 13%; animation-delay: 900ms, 1600ms; }
.reel-chip--leila { left: 4%; bottom: 14%; flex-direction: row; align-items: center; gap: 8px; animation-delay: 1700ms, 2400ms; }
.reel-chip--leila i { width: 8px; height: 8px; border-radius: 50%; background: var(--paid); box-shadow: 0 0 0 4px color-mix(in srgb, var(--paid) 25%, transparent); }
@keyframes reel-chip-in { from { opacity: 0; translate: 0 12px; scale: 0.96; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes reel-float { from { transform: translateY(0); } to { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .reel-chip { animation: none; opacity: 1; } }
.hero__copy h1 { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.5rem); max-width: 17ch; }
.hero__copy p { margin-top: 16px; color: var(--muted); max-width: 44ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 24px; }

@media (max-width: 559px) {
  .hero__actions .btn { width: 100%; }
}
@media (min-width: 960px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    min-height: calc(100svh - var(--nav-h));
    max-height: 920px;
  }
  /* Columna izquierda: el video de la app arriba y el texto con los botones debajo; derecha: la calculadora */
  .hero { grid-template-rows: minmax(0, 1fr) auto; }
  .hero__reel {
    grid-column: 1; grid-row: 1; align-self: end;
    width: min(calc(100% - max(var(--m), calc((100vw - var(--wide)) / 2)) - var(--m)), 600px);
    margin: 32px 0 0 max(var(--m), calc((100vw - var(--wide)) / 2));
  }
  .hero__video {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 8%, #000 82%, transparent 100%), linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to bottom, transparent 0, #000 8%, #000 82%, transparent 100%), linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%);
    mask-composite: intersect;
  }
  .reel-chip { font-size: 14px; padding: 10px 14px; }
  .reel-chip b { font-size: 17px; }
  .hero__copy {
    grid-column: 1; grid-row: 2;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 8px var(--m) 56px max(var(--m), calc((100vw - var(--wide)) / 2));
  }
  .hero__tool {
    grid-column: 2; grid-row: 1 / span 2;
    display: flex; align-items: center; justify-content: center;
    padding: 48px var(--m);
  }
}

/* The instrument: a live payoff estimate */
.tool { width: min(100%, 460px); margin-inline: auto; container-type: inline-size; }
.tool__label { font-size: var(--s-small); color: var(--muted); }
.tool__date {
  display: block;
  font-size: var(--s-display);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin-top: 2px;
  min-height: 1em;
  transition: opacity 220ms ease;
}
.tool__date.is-changing { opacity: 0.35; }
.tool__date--never { font-size: var(--s-head); line-height: 1.15; }
.tool__meta { margin-top: 18px; color: var(--muted); font-size: 1rem; }
.tool__meta strong { color: var(--ink); font-weight: 600; }
.tool__bar {
  display: flex; height: 10px; border-radius: 999px; overflow: hidden;
  background: var(--surface-2); margin-top: 20px;
}
.tool__bar span { display: block; height: 100%; transition: width 320ms var(--ease); }
.tool__bar .p { background: var(--paid); }
.tool__bar .i { background: var(--interest); }
.tool__legend { display: flex; gap: 20px; margin-top: 10px; font-size: var(--s-small); color: var(--muted); }
.tool__legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: 0; }
.tool__field { margin-top: 26px; }
.tool__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.tool__row label { font-size: 1rem; }
.tool__row output { font-size: var(--s-lead); font-weight: 600; }
.tool__foot { margin-top: 24px; font-size: var(--s-small); color: var(--muted); }
.tool__foot a { color: var(--ink); }

.range {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 44px; margin: 4px 0 0; background: transparent; cursor: pointer;
  --pct: 50%;
}
.range::-webkit-slider-runnable-track {
  height: 6px; border-radius: 999px;
  background: linear-gradient(to right, var(--accent) var(--pct), var(--surface-2) var(--pct)); /* taste-skill-ignore */
}
.range::-moz-range-track { height: 6px; border-radius: 999px; background: var(--surface-2); }
.range::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--accent); }
.range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 28px; height: 28px; border-radius: 50%; margin-top: -11px;
  background: var(--ink); border: 0;
  transition: transform 160ms var(--ease);
}
.range::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); border: 0; }
.range:active::-webkit-slider-thumb { transform: scale(1.15); }
.range:focus-visible { outline: none; }
.range:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--accent); outline-offset: 2px; }
.range:focus-visible::-moz-range-thumb { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------- Showcase: one lit screen in a row ---------- */
.shots { background: transparent; }
.shots__row {
  perspective: 1100px;
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px calc(50% - 130px) 8px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.shots__row::-webkit-scrollbar { display: none; }
.shots__item {
  flex: 0 0 260px;
  scroll-snap-align: center;
  opacity: 0.5;
  transition: opacity 420ms ease;
  position: relative;
}
.shots__item.is-active { opacity: 1; }
.shots__item img {
  width: 100%; border-radius: 26px; background: var(--surface);
  transform-origin: 50% 50%;
  transition: transform 160ms linear;
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.shots__caption { margin-top: 28px; min-height: 7.5rem; }
.shots__caption h3 { transition: opacity 260ms ease; }
.shots__caption p { margin-top: 8px; color: var(--muted); max-width: 40ch; transition: opacity 260ms ease; }
.shots__caption.is-changing h3, .shots__caption.is-changing p { opacity: 0; }
.shots__nav { display: flex; gap: 12px; margin-top: 8px; }
.shots__nav button {
  background: var(--surface-2); border: 0; border-radius: 999px; cursor: pointer;
  min-height: 44px; padding: 0 18px; font-size: 1rem;
  transition: background-color 160ms ease, transform 160ms var(--ease);
}
.shots__nav button:hover { background: #22303f; }
.shots__nav button:active { transform: scale(0.97); }
.shots__foot, .shots .section__head { text-align: center; }
.shots .section__head p { margin-inline: auto; }
.shots__caption p { margin-inline: auto; }
.shots__nav { justify-content: center; }
@media (min-width: 900px) {
  .shots__row { padding-inline: calc(50% - 150px); gap: 40px; }
  .shots__item { flex-basis: 300px; }
}

/* ---------- Swipe demo ---------- */
.swipe__grid { display: grid; gap: 40px; }
.swipe__copy p { margin-top: 16px; color: var(--muted); max-width: 44ch; }
.swipe__copy .swipe__try { color: var(--ink); }
.swipe__actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.swipe__actions .btn { min-height: 44px; font-size: 1rem; }
.v2 .psw-log { margin-top: 12px; min-height: 1.6em; font-size: var(--s-small); color: var(--muted); border: 0; padding: 0; }
.v2 .psw-phone {
  margin: 0 auto;
  width: min(100%, 380px);
  background: var(--surface);
  border: 0;
  box-shadow: none; /* taste-skill-ignore */
}
.v2 .psw-screen { min-height: 600px; }
.v2 .psw-card::before { background: none; }
.v2 .psw-card--behind .psw-card-body, .v2 .psw-card--behind .psw-donut { visibility: hidden; }
.v2 .psw-donut-label { text-shadow: none; } /* taste-skill-ignore */
.v2 .psw-tile-icon svg, .v2 .psw-donut-icon svg, .v2 .psw-icon-btn svg { display: block; margin: auto; }
@media (min-width: 960px) {
  .swipe__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); align-items: center; gap: 64px; }
}

/* ---------- Panel with notes (home screen, sliced) ---------- */
.panel__rows { display: grid; gap: 56px; }
.panel__slice {
  width: 100%;
  margin-inline: auto;
  overflow: hidden;
  aspect-ratio: 600 / var(--h);
  background: var(--surface);
}
.panel__slice img { width: 100%; transform: translateY(calc(var(--y) / 1224 * -100%)); }
.panel__slice--top { border-radius: 26px 26px 0 0; }
.panel__slice--bottom { border-radius: 0 0 26px 26px; }
.panel__notes { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 24px; }
/* Teléfono: notas en una columna, alineadas al borde de la captura, con una marca de acento */
.panel__notes .note { padding-left: 14px; border-left: 2px solid color-mix(in srgb, var(--accent) 55%, transparent); }
.note h3 { font-size: var(--s-body); font-weight: 600; letter-spacing: 0; }
.note p { margin-top: 4px; color: var(--muted); font-size: 1rem; line-height: 1.5; }
@media (min-width: 600px) and (max-width: 899px) {
  .panel__slice { width: min(100%, 420px); }
  .panel__notes { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (min-width: 900px) {
  .panel__rows { gap: 0; }
  .panel__row {
    display: grid;
    grid-template-columns: 1fr 340px 1fr;
    gap: 56px;
    align-items: center;
  }
  .panel__notes { display: contents; }
  .panel__notes .note { padding-left: 0; border-left: 0; }
  .panel__slice { width: 340px; }
  .panel__row .note:first-child { grid-column: 1; grid-row: 1; text-align: right; justify-self: end; max-width: 26ch; }
  .panel__row .note:last-child { grid-column: 3; grid-row: 1; max-width: 26ch; }
  .panel__slice { grid-column: 2; grid-row: 1; }
  .panel .section__head { text-align: center; }
  .panel .section__head p { margin-inline: auto; }
}

/* ---------- How it works: run-in paragraphs with evidence ---------- */
.steps { display: grid; gap: 72px; }
.step p { font-size: var(--s-body); color: var(--muted); max-width: 40ch; }
.step p strong { color: var(--ink); }
.crop {
  margin-top: 20px;
  width: min(100%, 380px);
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 600 / var(--h);
  background: var(--surface);
}
.crop img { width: 100%; transform: translateY(calc(var(--y) / 1224 * -100%)); }
@media (min-width: 700px) {
  .step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 48px; align-items: center; }
  .step .crop { margin-top: 0; }
}

/* ---------- Leila ---------- */
.leila__grid { display: grid; gap: 40px; }
.leila__copy > p { margin-top: 16px; color: var(--muted); max-width: 44ch; }
.leila__asks { margin-top: 24px; }
.leila__asks h3 { font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.leila__asks ul { margin-top: 10px; display: grid; gap: 8px; }
.leila__asks li {
  background: var(--surface); border-radius: 12px; padding: 12px 16px; font-size: 1rem;
}
.leila__note { margin-top: 20px; font-size: var(--s-small); color: var(--muted); max-width: 52ch; }
.leila__shot { width: min(100%, 300px); margin-inline: auto; }
.leila__shot img { border-radius: 26px; }
@media (min-width: 900px) {
  .leila__grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 80px; align-items: center; }
}

/* ---------- Couple: a field of colour ---------- */
.field { background: var(--field); padding-block: clamp(72px, 10vw, 140px); }
.field h2 { max-width: 16ch; }
.field p { margin-top: 20px; font-size: var(--s-lead); line-height: 1.5; max-width: 38ch; }
.field .field__small { font-size: 1rem; color: #b9d6d1; margin-top: 16px; }
@media (min-width: 900px) {
  .field__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; }
  .field__grid p:first-child { margin-top: 0; }
}

/* ---------- Pricing as a menu ---------- */
.menu__grid { display: grid; gap: 40px; }
.menu__group + .menu__group { margin-top: 48px; }
.menu__group h3 {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  font-size: var(--s-lead); padding-bottom: 12px;
}
.menu__group h3 .num { font-size: var(--s-lead); }
.menu__group h3 small { font-size: 1rem; color: var(--muted); font-weight: 400; }
.menu__item { padding: 11px 0; }
.menu__item b { display: block; font-weight: 600; font-size: var(--s-body); }
.menu__item span { display: block; color: var(--muted); font-size: 1rem; max-width: 40ch; line-height: 1.5; }
.menu__note { margin-top: 28px; font-size: var(--s-small); color: var(--muted); }
.menu__more { margin-top: 20px; }
@media (min-width: 900px) {
  .menu__grid { grid-template-columns: 1fr 2fr; gap: 64px; }
  .menu__lists { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
  .menu__group + .menu__group { margin-top: 0; }
}

/* ---------- Calculator ---------- */
.calc-shell { background: var(--surface); border-radius: var(--radius); padding: 28px var(--m) 32px; }
.calc-header { margin-bottom: 28px; }
.calc-title { font-size: var(--s-head); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
.calc-subtitle { margin-top: 12px; color: var(--muted); }
.calc-layout { display: grid; gap: 32px; }
.calc-form { display: grid; gap: 24px; }
.calc-label { display: block; font-weight: 600; font-size: var(--s-body); }
.calc-hint { margin-top: 2px; color: var(--muted); font-size: 1rem; }
.calc-input-wrap {
  margin-top: 10px; display: flex; align-items: center;
  background: var(--bg); border: 1px solid #2a3846; border-radius: 12px; /* taste-skill-ignore */
  padding: 0 16px; transition: border-color 160ms ease;
}
.calc-input-wrap:focus-within { border-color: var(--accent); }
.calc-prefix { color: var(--muted); font-size: var(--s-lead); margin-right: 6px; }
.calc-input, .calc-select {
  width: 100%; min-height: 52px; background: transparent; border: 0; outline: 0;
  color: var(--ink); font-family: var(--font); font-size: var(--s-lead);
  font-variant-numeric: tabular-nums;
}
.calc-input::placeholder { color: #5e6b78; }
.calc-input--error, .calc-input-wrap:has(.calc-input--error) { border-color: var(--danger); }
.calc-select-wrap { position: relative; margin-top: 10px; }
.calc-select {
  -webkit-appearance: none; appearance: none; cursor: pointer;
  background: var(--bg); border: 1px solid #2a3846; border-radius: 12px; padding: 0 44px 0 16px; /* taste-skill-ignore */
  font-size: var(--s-body);
}
.calc-select:focus { border-color: var(--accent); }
.calc-select-wrap::after {
  content: ''; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.calc-select option { background: var(--surface); color: var(--ink); }
.calc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.calc-chip {
  background: var(--surface-2); border: 0; border-radius: 999px; cursor: pointer;
  min-height: 40px; padding: 0 16px; font-size: 1rem;
  transition: background-color 160ms ease, transform 160ms var(--ease);
}
.calc-chip:hover { background: #22303f; }
.calc-chip:active { transform: scale(0.96); }
.calc-error { display: block; margin-top: 6px; color: var(--danger); font-size: 1rem; }
.calc-submit { width: 100%; margin-top: 4px; }
.calc-empty { padding: 8px 0; }
.calc-empty-icon { display: none; }
.calc-empty-title { font-weight: 600; }
.calc-empty-desc { margin-top: 6px; color: var(--muted); font-size: 1rem; }
.calc-shell--has-result .calc-empty { display: none; }
.calc-result { display: grid; gap: 22px; }
.calc-result.hidden { display: none !important; }
.calc-result-kicker { font-size: var(--s-small); color: var(--muted); }
.calc-result-date { font-size: var(--s-head); font-weight: 500; letter-spacing: -0.025em; line-height: 1.05; margin-top: 4px; }
.calc-result-meta { margin-top: 8px; color: var(--muted); font-size: 1rem; }
.calc-result-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc-stat { background: var(--bg); border-radius: 12px; padding: 14px 16px; display: grid; gap: 2px; }
.calc-stat-label { font-size: var(--s-small); color: var(--muted); }
.calc-stat-value { font-size: var(--s-lead); font-weight: 600; font-variant-numeric: tabular-nums; }
.calc-stat-value--warn { color: var(--interest); }
.calc-stat-value--accent { color: var(--ink); }
.calc-breakdown-head { font-size: var(--s-small); color: var(--muted); }
.calc-breakdown-bar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: var(--surface-2); margin-top: 8px; }
.calc-breakdown-bar__principal { background: var(--paid); }
.calc-breakdown-bar__interest { background: var(--interest); }
.calc-breakdown-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 10px; font-size: 1rem; color: var(--muted); }
.calc-breakdown-legend strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.calc-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 4px; }
.calc-dot--principal { background: var(--paid); }
.calc-dot--interest { background: var(--interest); }
.calc-boost { display: flex; gap: 12px; align-items: flex-start; background: var(--field); border-radius: 12px; padding: 14px 16px; }
.calc-boost.hidden { display: none !important; }
.calc-boost-icon { font-weight: 700; color: var(--accent); }
.calc-boost p { font-size: 1rem; }
.calc-note { font-size: var(--s-small); color: var(--muted); }
.calc-download-row { display: grid; gap: 10px; }
.calc-leila-cta__logo { width: 22px; height: 22px; border-radius: 6px; }
.calc-reset {
  background: none; border: 0; cursor: pointer; min-height: 44px;
  color: var(--ink); text-decoration: underline; text-underline-offset: 4px; font-size: 1rem;
}
@media (min-width: 900px) {
  .calc-shell { padding: 48px; }
  .calc-layout { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
}

.calc-modal { position: fixed; inset: 0; z-index: 90; display: flex; align-items: flex-end; }
.calc-modal__backdrop, .feature-modal__backdrop { position: absolute; inset: 0; background: rgba(3, 7, 12, 0.72); }
.calc-modal__sheet {
  position: relative; width: 100%; max-height: 92svh; overflow-y: auto;
  background: var(--surface); border-radius: 20px 20px 0 0;
  padding: 20px var(--m) calc(24px + env(safe-area-inset-bottom, 0px));
  animation: v2-sheet-in 320ms var(--ease);
}
.calc-modal__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.calc-modal__header h3 { font-size: var(--s-lead); }
.calc-modal__close {
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--surface-2); font-size: 1.5rem; line-height: 1;
}
@keyframes v2-sheet-in { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- FAQ as reading text ---------- */
.qa { display: grid; gap: 22px; }
.qa p { font-size: var(--s-body); line-height: 1.6; color: var(--muted); }
.qa p > strong:first-child, .qa p > b:first-child { color: var(--ink); font-weight: 600; margin-right: 0.3em; }
.qa a { color: var(--ink); text-underline-offset: 3px; }
.qa__more { margin-top: 32px; }
.qa-group + .qa-group { margin-top: 64px; }
.qa-group > h2 { font-size: var(--s-lead); margin-bottom: 20px; }
@media (min-width: 900px) {
  .qa-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; }
  .qa--cols { display: block; columns: 2; column-gap: 56px; }
  .qa--cols p { break-inside: avoid; margin-bottom: 22px; }
}

/* ---------- FAQ accordion (home) ---------- */
.qa-list { border-top: 1px solid var(--line-soft); }
.qa-item { border-bottom: 1px solid var(--line-soft); }
.qa-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding-block: 16px; cursor: pointer; list-style: none;
  font-size: var(--s-body); font-weight: 600; color: var(--ink); line-height: 1.4;
  -webkit-tap-highlight-color: transparent;
}
.qa-item summary::-webkit-details-marker { display: none; }
.qa-item summary i { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--surface-2); transition: background 200ms ease, transform 300ms cubic-bezier(.2,.8,.2,1); }
.qa-item summary i::before, .qa-item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--ink); transition: transform 300ms cubic-bezier(.2,.8,.2,1); }
.qa-item summary i::after { transform: rotate(90deg); }
.qa-item[open] summary i { background: var(--accent); transform: rotate(180deg); }
.qa-item[open] summary i::before, .qa-item[open] summary i::after { background: var(--on-accent); }
.qa-item[open] summary i::after { transform: rotate(0deg); }
.qa-item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 8px; }
.v2 .qa-item p { padding: 0 44px 20px 0; color: var(--muted); line-height: 1.6; }
.qa-item p a { color: var(--ink); text-underline-offset: 3px; }
.qa-item[open] p { animation: qa-open 260ms cubic-bezier(.2,.8,.2,1); }
@keyframes qa-open { from { opacity: 0; transform: translateY(-6px); } }
#preguntas .qa__more { margin-top: 16px; }
@media (min-width: 900px) { #preguntas .qa__more { margin-top: 24px; } }

/* ---------- Closing ---------- */
.close { padding-block: 72px 56px; }
.close__card {
  position: relative; overflow: hidden; display: grid; gap: 28px;
  padding: 32px 24px 0; border-radius: 28px;
  background: radial-gradient(120% 90% at 100% 100%, rgba(39, 225, 193, 0.16), transparent 60%), var(--field); /* taste-skill-ignore */
}
.close__copy { display: grid; gap: 14px; justify-items: start; }
.v2 .close h2 { max-width: 14ch; }
.v2 .close__copy > p { color: var(--muted); max-width: 34ch; line-height: 1.55; }
.v2 .close__trust { font-size: var(--s-small); letter-spacing: 0.01em; }
.close__shot { margin-inline: auto; width: min(260px, 72%); aspect-ratio: 600 / 520; overflow: hidden; border-radius: 26px 26px 0 0; box-shadow: 0 -10px 50px -20px rgba(0, 0, 0, 0.7); } /* taste-skill-ignore */
.close__shot img { width: 100%; display: block; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.v2 .store {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 18px 8px 14px;
  border-radius: 14px; background: var(--ink); color: var(--bg); text-decoration: none;
  transition: transform 160ms ease, box-shadow 200ms ease;
}
.store svg { width: 22px; height: 22px; flex: none; }
.store span { display: grid; font-weight: 600; font-size: 1.0625rem; line-height: 1.1; }
.store small { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.02em; opacity: 0.75; }
.store:active { transform: scale(0.97); }
@media (hover: hover) { .store:hover { box-shadow: 0 12px 30px -14px rgba(238, 241, 243, 0.55); } } /* taste-skill-ignore */
@media (min-width: 900px) {
  .close { padding-block: 120px 80px; }
  .close__card { grid-template-columns: 1.2fr 1fr; align-items: end; padding: 56px 56px 0; gap: 48px; }
  .close__copy { padding-bottom: 56px; }
  .close__shot { width: 300px; margin: 0 0 0 auto; }
}

/* ---------- Footer ---------- */
.legal-line { font-size: var(--s-small); color: var(--muted); max-width: 72ch; line-height: 1.6; }
.foot { padding: 48px 0 calc(28px + var(--mdf-sticky-bar-height)); font-size: 1rem; color: var(--muted); border-top: 1px solid var(--line-soft); }
.foot__top { display: grid; gap: 36px; }
.foot__brand { display: grid; gap: 10px; justify-items: start; }
.v2 .foot__brand p { max-width: 30ch; }
.v2 .foot__mail { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-soft); padding-block: 4px; }
.foot__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
.foot__cols > div:last-child { grid-column: 1 / -1; }
.v2 .foot__cols h3 { font-family: var(--font); font-size: var(--s-small); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.foot__cols ul { list-style: none; padding: 0; margin: 0; display: grid; }
.foot__cols > div:last-child ul { grid-template-columns: 1fr 1fr; column-gap: 20px; }
.v2 .foot__cols a { display: inline-flex; align-items: center; min-height: 40px; color: var(--ink); text-decoration: none; }
.foot__cols a:hover, .foot__mail:hover { text-decoration: underline; text-underline-offset: 4px; }
.v2 .foot__news p { color: var(--ink); font-weight: 600; }
.foot__news form { display: flex; gap: 8px; margin-top: 10px; max-width: 420px; }
.foot__news input {
  flex: 1; min-width: 0; min-height: 48px; padding: 0 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid #2a3846; color: var(--ink); font-family: var(--font); font-size: 1rem;
}
.foot__news input:focus { outline: none; border-color: var(--accent); }
.foot__news button { min-height: 48px; padding: 0 18px; font-size: 1rem; }
.foot__news small { display: block; margin-top: 8px; font-size: var(--s-small); }
.mdf-newsletter-note.is-success { color: var(--paid); }
.mdf-newsletter-note.is-error { color: var(--danger); }
.foot__bottom { display: grid; gap: 14px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-soft); }
.v2 .foot__copy { font-size: var(--s-small); }
@media (min-width: 900px) {
  .foot__top { grid-template-columns: 1.1fr 2fr; column-gap: 64px; }
  .foot__cols { grid-template-columns: repeat(3, 1fr); }
  .foot__cols > div:last-child { grid-column: auto; }
  .foot__cols > div:last-child ul { grid-template-columns: 1fr; }
  .foot__news { grid-column: 2; }
  .foot__bottom { grid-template-columns: 1fr auto; align-items: end; column-gap: 48px; }
}

/* ---------- Sticky download bar (phones) ---------- */
.sticky-download-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  padding: 0 12px calc(12px + env(safe-area-inset-bottom, 0px));
  pointer-events: none; visibility: hidden;
}
.sticky-download-bar.is-eligible { visibility: visible; }
.sticky-download-bar__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  max-width: 520px; margin: 0 auto; padding: 10px 10px 10px 16px;
  border-radius: 999px; background: var(--surface-2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); /* taste-skill-ignore */
  transform: translate3d(0, calc(100% + 24px), 0); opacity: 0;
  transition: transform 340ms var(--ease), opacity 260ms ease;
}
.sticky-download-bar.is-eligible.is-open { pointer-events: auto; }
.sticky-download-bar.is-eligible.is-open .sticky-download-bar__inner { transform: none; opacity: 1; }
.sticky-download-bar__copy { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.sticky-download-bar__copy strong { font-size: 1rem; }
.sticky-download-bar__copy span { font-size: var(--s-small); color: var(--muted); }
.sticky-download-bar__btn {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
  min-height: 44px; padding: 0 18px; border-radius: 999px;
  background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: 1rem; text-decoration: none;
}
@media (min-width: 768px) { .sticky-download-bar { display: none !important; } }

/* ---------- Help widget ---------- */
.chat-widget { position: fixed; bottom: var(--mdf-fab-bottom); right: var(--mdf-fab-inset); z-index: 80; transition: bottom 350ms ease; }
.chat-toggle {
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--surface-2); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); /* taste-skill-ignore */
  transition: transform 160ms var(--ease);
}
.chat-toggle:hover { background: #22303f; }
.chat-toggle:active { transform: scale(0.94); }
.chat-toggle svg { width: 24px; height: 24px; }
.chat-panel {
  position: absolute; bottom: calc(52px + 12px); right: 0; width: min(300px, calc(100vw - 32px));
  background: var(--surface); border-radius: 18px; box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5); /* taste-skill-ignore */
  display: none; flex-direction: column; overflow: hidden;
}
.chat-panel.open { display: flex; }
.chat-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: var(--surface-2); }
.chat-header-content { display: flex; align-items: center; gap: 10px; }
.chat-avatar { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--bg); }
.chat-title { font-weight: 600; }
.chat-status { font-size: var(--s-small); color: var(--muted); }
.chat-close { width: 36px; height: 36px; border: 0; background: none; cursor: pointer; font-size: 1.5rem; color: var(--muted); }
.chat-messages { padding: 16px; }
.chat-message.bot .message-content { background: var(--bg); border-radius: 12px; padding: 12px 14px; font-size: 1rem; }
.chat-quick-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 16px; }
.quick-action {
  min-height: 40px; padding: 0 16px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--surface-2); font-size: 1rem;
}
.quick-action:hover { background: #22303f; }

/* ---------- Platform picker ---------- */
.v2 .platform-modal { position: fixed; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(3, 7, 12, 0.72); }
.v2 .platform-modal.hidden { display: none; }
.platform-modal__card { width: min(100%, 420px); background: var(--surface); border-radius: var(--radius); padding: 24px; }
.platform-modal__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.platform-modal__head h3 { font-size: var(--s-lead); }
.platform-modal__head button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--surface-2); cursor: pointer; font-size: 1.4rem; }
.platform-modal__list { display: grid; gap: 10px; }
.platform-modal__note { margin-top: 14px; font-size: var(--s-small); color: var(--muted); text-align: center; }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 100; transform: translate(-50%, 20px); opacity: 0;
  background: var(--surface-2); color: var(--ink); padding: 12px 18px; border-radius: 999px; font-size: 1rem;
  transition: opacity 220ms ease, transform 220ms var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Secondary pages ---------- */
.page-head { padding-top: clamp(48px, 8vw, 112px); padding-bottom: 48px; }
.page-head h1 { font-size: var(--s-head); max-width: 18ch; }
.page-head p { margin-top: 16px; color: var(--muted); max-width: 46ch; }
.prose { display: grid; gap: 18px; }
.prose p, .prose li { color: var(--muted); }
.prose h2 { font-size: var(--s-lead); margin-top: 40px; color: var(--ink); }
.prose h3 { font-size: var(--s-body); margin-top: 12px; color: var(--ink); }
.prose ul { display: grid; gap: 8px; }
.prose li { padding-left: 18px; position: relative; }
.prose li::before { content: ''; position: absolute; left: 0; top: 0.72em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.table-wrap { overflow-x: auto; margin-top: 16px; }
.table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.table th, .table td { padding: 14px 8px; text-align: left; border-bottom: 1px solid #22303f; }
.table th { font-weight: 600; color: var(--muted); font-size: var(--s-small); }
.table td:not(:first-child), .table th:not(:first-child) { text-align: center; width: 22%; }
.table .yes { color: var(--paid); font-weight: 600; }
.table .no { color: var(--muted); }

/* ---------- Motion: entrances ---------- */
.js .rv { opacity: 0; transform: perspective(1000px) translateY(40px) rotateX(14deg); transform-origin: 50% 100%; }
.js .rv.in { opacity: 1; transform: none; transition: opacity 800ms ease, transform 1000ms var(--ease); transition-delay: var(--d, 0ms); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; }
  .shots__item { transition: none; transform: none; }
  .tool__date, .tool__bar span, .sticky-download-bar__inner, .calc-modal__sheet { transition: none; animation: none; }
}

.page-figure { margin: 8px 0; width: min(100%, 300px); }
.page-figure img { border-radius: 26px; }
@media (max-width: 359px) { .brand span { display: none; } }

/* ---------- Depth layer (2026 refresh) ---------- */
body.v2::before {
  content: '';
  position: fixed;
  inset: -25%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(38% 32% at 18% 14%, rgba(39, 225, 193, 0.17), transparent 70%),
    radial-gradient(34% 30% at 86% 28%, rgba(64, 120, 255, 0.13), transparent 70%),
    radial-gradient(46% 40% at 50% 96%, rgba(39, 225, 193, 0.09), transparent 70%); /* taste-skill-ignore */
  animation: v2-ambient 26s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes v2-ambient {
  0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  50% { transform: translate3d(4%, 3%, 0) rotate(6deg) scale(1.06); }
  100% { transform: translate3d(-3%, 5%, 0) rotate(-4deg) scale(1.02); }
}
.hero__tool {
  background: rgba(18, 27, 37, 0.62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.tool__scene { display: block; width: 100%; height: 190px; margin: -8px 0 8px; touch-action: pan-y; }
@media (min-width: 960px) { .tool__scene { height: 250px; } }
.calc-shell { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 40px 80px -40px rgba(0, 0, 0, 0.7); } /* taste-skill-ignore */

/* press: ripple from the touch point + spring release */
.fx-host { position: relative; overflow: hidden; isolation: isolate; }
.fx-ripple {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: -1;
  background: currentColor; opacity: 0.22; transform: scale(0);
  animation: fx-ripple 620ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.btn .fx-ripple, .sticky-download-bar__btn .fx-ripple { background: #ffffff; opacity: 0.5; }
@keyframes fx-ripple { to { transform: scale(1); opacity: 0; } }
.btn, .calc-chip, .shots__nav button, .quick-action, .chat-toggle, .sticky-download-bar__btn, .nav__menu-btn {
  transition: transform 520ms cubic-bezier(0.34, 1.56, 0.64, 1), background-color 160ms ease, box-shadow 220ms ease;
}
.v2 .fx-pressed { transform: scale(0.93) !important; transition-duration: 110ms; }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn:not(.btn--quiet):hover { box-shadow: 0 14px 34px -12px rgba(39, 225, 193, 0.65); } /* taste-skill-ignore */
}
.range:active::-webkit-slider-thumb { box-shadow: 0 0 0 12px rgba(39, 225, 193, 0.2); } /* taste-skill-ignore */
.range:active::-moz-range-thumb { box-shadow: 0 0 0 12px rgba(39, 225, 193, 0.2); } /* taste-skill-ignore */
.tool__row output { display: inline-block; }

/* tilt: product shots lean toward the finger with a soft glare */
[data-tilt] {
  position: relative;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 700ms cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
}
[data-tilt].is-tilting { transition: transform 90ms linear; }
[data-tilt]::after {
  content: '';
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(60% 50% at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, 0.16), transparent 70%); /* taste-skill-ignore */
  opacity: 0; transition: opacity 300ms ease;
}
[data-tilt].is-tilting::after { opacity: 1; }
.leila__shot[data-tilt], .page-figure[data-tilt] { border-radius: 26px; }
.crop, .leila__shot img, .page-figure img { box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.8); } /* taste-skill-ignore */

@media (prefers-reduced-motion: reduce) {
  body.v2::before { animation: none; }
  [data-tilt] { transform: none !important; }
  .fx-ripple { display: none; }
}

/* ---------- Hero instrument: odometer digits, reactive date, delta chip, thumb bubble ---------- */
.odo { display: inline-flex; align-items: baseline; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.odo__d { display: inline-block; height: 1.15em; line-height: 1.15em; overflow: hidden; vertical-align: bottom; }
.odo__s { display: flex; flex-direction: column; transition: transform 720ms cubic-bezier(0.2, 1.25, 0.32, 1); will-change: transform; }
.odo__s > span { display: block; height: 1.15em; line-height: 1.15em; text-align: center; }
.odo__c { display: inline-block; line-height: 1.15em; }
.tool__date { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 0.25em; line-height: 1.15 !important; }
.tool__month, .tool__year { display: inline-flex; }
.tool__date--never .tool__month { display: inline; }
.tool__date.is-better { animation: v2-better 900ms ease-out; }
.tool__date.is-worse { animation: v2-worse 900ms ease-out; }
@keyframes v2-better {
  0% { color: var(--ink); text-shadow: none; }
  25% { color: #9ff3c8; text-shadow: 0 0 28px rgba(74, 222, 128, 0.55); } /* taste-skill-ignore */
  100% { color: var(--ink); text-shadow: none; }
}
@keyframes v2-worse {
  0% { color: var(--ink); text-shadow: none; }
  25% { color: #ffc2ad; text-shadow: 0 0 28px rgba(245, 158, 123, 0.5); } /* taste-skill-ignore */
  100% { color: var(--ink); text-shadow: none; }
}
.tool__meta .odo { font-weight: 600; color: var(--ink); }
.tool__meta.is-never { min-height: 1.6em; }
.tool__delta {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 6px 12px 6px 10px; min-height: 30px;
  border-radius: 999px; font-size: 0.875rem; font-weight: 600; line-height: 1.25;
  opacity: 0; transform: translateY(-6px) scale(0.96); transform-origin: left center; pointer-events: none;
  transition: opacity 220ms ease, transform 420ms cubic-bezier(0.34, 1.56, 0.64, 1), background-color 200ms ease, color 200ms ease;
}
.tool__delta.is-on { opacity: 1; transform: none; }
.tool__delta.is-better { color: #b8f5d2; background: rgba(74, 222, 128, 0.14); box-shadow: inset 0 0 0 1px rgba(74, 222, 128, 0.35); }
.tool__delta.is-worse { color: #ffcdbd; background: rgba(245, 158, 123, 0.14); box-shadow: inset 0 0 0 1px rgba(245, 158, 123, 0.35); }
.tool__delta-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; flex: none; } /* taste-skill-ignore */
.tool__field { position: relative; }
.tool__bubble {
  position: absolute; bottom: 40px; left: calc(14px + (100% - 28px) * var(--p, 0.5)); transform: translate(-50%, 8px) scale(0.85);
  padding: 5px 10px; border-radius: 10px; background: var(--ink); color: #0b1118; font-size: 0.875rem; font-weight: 700;
  font-variant-numeric: tabular-nums; white-space: nowrap; pointer-events: none; opacity: 0;
  transition: opacity 160ms ease, transform 260ms cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.6); /* taste-skill-ignore */
}
.tool__bubble::after { content: ''; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: inherit; transform: translateX(-50%) rotate(45deg); border-radius: 2px; }
.tool__field.is-dragging .tool__bubble { opacity: 1; transform: translate(-50%, 0) scale(1); }
.tool__row output.odo { font-weight: 600; }
@media (prefers-reduced-motion: reduce) {
  .odo__s { transition: none; }
  .tool__date.is-better, .tool__date.is-worse { animation: none; }
  .tool__delta, .tool__bubble { transition: none; }
}

/* stable layout while dragging: the date row keeps one height, the chip floats over the 3D scene */
.tool { position: relative; }
.tool__date { font-size: min(clamp(2.25rem, 0.9rem + 6.2vw, 5.25rem), 12.5cqi) !important; /* "Septiembre 2028" cabe en la calculadora */ height: 1.15em; flex-wrap: nowrap !important; white-space: nowrap; overflow: visible; }
.tool__date--never { font-size: clamp(2.25rem, 0.9rem + 6.2vw, 5.25rem) !important; }
.tool__date--never .tool__month { font-size: 0.47em; line-height: 1.22; white-space: normal; align-self: center; letter-spacing: -0.015em; }
.tool__meta { min-height: 1.6em; }
.tool__hint { display: none; }
.tool__meta.is-never .tool__hint { display: inline; }
.tool__meta.is-never .tool__m { display: none; }
.tool__delta { position: absolute; top: 4px; left: 0; margin: 0; max-width: 100%; z-index: 2; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
@media (min-width: 960px) { .tool__delta { top: 12px; } }
/* every odometer cell is the same box, so digits, "$" and "," share one line */
.odo { align-items: flex-start !important; vertical-align: top; height: 1.15em; line-height: 1.15em; }
.odo__d, .odo__c { height: 1.15em; line-height: 1.15em; vertical-align: top; }
.tool__row { align-items: center; }
.tool__meta .odo { vertical-align: -0.1em; }

/* ---------- Pricing (mirrors the app's plans screen: monthly / annual, free vs premium) ---------- */
.price__head { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 36px; }
.price__head p { color: var(--muted); max-width: 40ch; }
.bill { display: inline-flex; padding: 4px; gap: 4px; border-radius: 999px; background: var(--surface-2); }
.bill button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; cursor: pointer;
  background: none; color: var(--muted); font: 600 1rem/1 var(--font); transition: background-color 220ms ease, color 220ms ease;
}
.bill button[aria-pressed="true"] { background: var(--ink); color: #0b1118; }
.bill__save { padding: 3px 8px; border-radius: 999px; font-size: 0.8125rem; font-weight: 700; background: rgba(74, 222, 128, 0.18); color: #86efac; }
.bill button[aria-pressed="true"] .bill__save { background: #0f5132; color: #bbf7d0; }

.price__grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .price__grid { grid-template-columns: 1fr 1.15fr; align-items: stretch; gap: 28px; } }
.plan { position: relative; display: flex; flex-direction: column; border-radius: 26px; padding: 28px 24px 26px; background: var(--surface); }
.plan__name { font-size: var(--s-lead); font-weight: 600; letter-spacing: -0.01em; }
.plan .plan__price { display: flex; align-items: baseline; gap: 6px; margin-top: 10px; }
.plan__amount { font-size: clamp(3rem, 2.2rem + 3vw, 4.25rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1.15; }
.plan__per { color: var(--muted); font-size: 1rem; }
.plan .plan__sub { margin-top: 6px; min-height: 1.6em; color: var(--muted); font-size: 0.9375rem; transition: opacity 200ms ease; }
.plan .plan__sub strong { color: #86efac; font-weight: 600; }
.plan .btn { margin-top: 22px; width: 100%; }
.plan .plan__trial { margin-top: 12px; text-align: center; font-size: var(--s-small); color: var(--muted); }
.plan .plan__list { margin-top: 24px; display: grid; gap: 12px; }
.plan .plan__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; line-height: 1.45; }
.plan .plan__list svg { width: 20px; height: 20px; flex: none; margin-top: 2px; fill: var(--muted); }
.plan .plan__plus { margin-top: 24px; font-size: var(--s-small); color: var(--muted); }
.plan .plan__plus + .plan__list { margin-top: 12px; }
.plan__trust { margin-top: auto; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: var(--s-small); color: var(--muted); }
.plan__trust span { display: inline-flex; align-items: center; gap: 6px; }
.plan__trust svg { width: 16px; height: 16px; fill: var(--accent); }

/* premium: a slowly turning light around the card */
.plan--pro { background: #0f1c24; isolation: isolate; }
.plan--pro::before {
  content: ''; position: absolute; inset: -1px; z-index: -2; border-radius: 27px;
  background: conic-gradient(from var(--spin, 0deg), rgba(39, 225, 193, 0.9), rgba(39, 225, 193, 0.05) 25%, rgba(74, 222, 128, 0.7) 50%, rgba(39, 225, 193, 0.05) 75%, rgba(39, 225, 193, 0.9)); /* taste-skill-ignore */
  animation: v2-spin 9s linear infinite;
}
.plan--pro::after { content: ''; position: absolute; inset: 1px; z-index: -1; border-radius: 25px; background: radial-gradient(120% 70% at 50% 0%, #133a3a, #0f1c24 60%); } /* taste-skill-ignore */
@property --spin { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes v2-spin { to { --spin: 360deg; } }
.plan--pro .plan__list svg { fill: var(--accent); }
.plan__badge {
  position: absolute; top: 22px; right: 22px; padding: 6px 12px; border-radius: 999px;
  background: var(--accent); color: var(--on-accent); font-size: 0.8125rem; font-weight: 700;
}
.v2 .price__note { margin-top: 18px; font-size: var(--s-small); color: var(--muted); }
.price__more { margin-top: 10px; }
@media (prefers-reduced-motion: reduce) { .plan--pro::before { animation: none; } }
@media (max-width: 899px) { .plan--pro { order: -1; } .plan--pro .plan__name { padding-right: 120px; } }
.plan--free .plan__list { margin-top: 28px; }

/* Footer/closing refinements */
.foot__top > *, .foot__cols > div { min-width: 0; }
.v2 .foot__cols a { overflow-wrap: anywhere; }
.v2 .foot .brand { color: var(--ink); }
.close { padding-top: 8px; }
.stores { display: grid; width: max-content; max-width: 100%; }
.v2 .store { width: 100%; }
@media (max-width: 899px) { #preguntas .qa__more { margin: 10px 0 24px; } }
@media (min-width: 900px) {
  .close { padding-top: 24px; }
  .stores { display: flex; width: auto; }
  .v2 .store { width: auto; }
}
.foot__brand { align-content: start; }

/* Sections marked data-hide-sticky push the download bar and help button away */
body.sticky-off .sticky-download-bar__inner { transform: translate3d(0, calc(100% + 24px), 0) !important; opacity: 0 !important; }
body.sticky-off .chat-widget { opacity: 0; pointer-events: none; transition: opacity 200ms ease; }
#calculator { scroll-margin-top: 84px; }
