/* =========================================================
   Pagandola — Landing page
   Design system + layout. Tokens derived from the app and
   the official brand assets (#2D1B4E / #C45A3A / #FFFBF5).
   Fonts: Sora, Manrope, Space Grotesk.
   ========================================================= */
/* =========================================================
   Pagandola — Design system base
   Tokens derived from the app's real screenshots
   (cream background, near-black navy, lavender, terracotta)
   Fonts used by the app: Sora, Manrope, Space Grotesk
   ========================================================= */

:root {
  /* Brand palette */
  --cream: #fffbf5;
  --cream-2: #f4ece1;
  --surface: #ffffff;
  --ink: #2d1b4e;
  --ink-2: #3b2a5e;
  --text: #262033;
  --muted: #8b8a94;
  --line: rgba(45, 27, 78, 0.1);
  --line-strong: rgba(45, 27, 78, 0.18);

  --lav: #e6e0f7;
  --lav-2: #d6ccf0;
  --lav-3: #cfc7ec;
  --lav-ink: #4a4275;

  --terra: #c45a3a;
  --terra-soft: #f7e2d8;
  --gold: #b39a3d;
  --slate: #7183a8;
  --mint: #d8eee6;
  --mint-ink: #2e7d64;

  /* Type */
  --font-display: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Space Grotesk", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Radii */
  --r-xs: 12px;
  --r-sm: 16px;
  --r: 22px;
  --r-lg: 28px;
  --r-xl: 36px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(27, 26, 46, 0.05);
  --shadow-sm: 0 6px 18px -8px rgba(27, 26, 46, 0.18);
  --shadow: 0 18px 40px -22px rgba(27, 26, 46, 0.28);
  --shadow-lg: 0 40px 80px -40px rgba(27, 26, 46, 0.4);
  --shadow-phone: 0 30px 70px -30px rgba(27, 26, 46, 0.45);

  /* Layout */
  --container: 1160px;
  --gutter: 20px;
  --nav-h: 66px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}
ul,
ol {
  list-style: none;
}
:focus-visible {
  outline: 3px solid var(--lav-ink);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.3rem, 8vw, 4.2rem);
}
h2 {
  font-size: clamp(1.85rem, 5.6vw, 3rem);
}
h3 {
  font-size: clamp(1.2rem, 3.6vw, 1.5rem);
  letter-spacing: -0.01em;
}
p {
  text-wrap: pretty;
}
.lead {
  font-size: clamp(1.02rem, 2.6vw, 1.22rem);
  color: var(--muted);
  line-height: 1.6;
  max-width: 56ch;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow--terra {
  color: var(--terra);
}
.eyebrow--lav {
  color: var(--lav-ink);
}
.mono {
  font-family: var(--font-mono);
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  padding-block: clamp(64px, 12vw, 120px);
}
.section--tight {
  padding-block: clamp(48px, 9vw, 88px);
}
.center {
  text-align: center;
}
.center .lead {
  margin-inline: auto;
}
.stack > * + * {
  margin-top: var(--gap, 16px);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1;
  padding: 15px 22px;
  border-radius: var(--r-pill);
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}
.btn--primary {
  background: var(--ink);
  color: var(--cream);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: #3b2a5e;
  box-shadow: var(--shadow);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line-strong);
}
.btn--ghost:hover {
  border-color: var(--ink);
  background: rgba(255, 255, 255, 0.6);
}
.btn--lav {
  background: var(--lav);
  color: var(--lav-ink);
}
.btn--lav:hover {
  background: var(--lav-2);
}
.btn--block {
  width: 100%;
}
.btn--lg {
  padding: 18px 28px;
  font-size: 1.02rem;
}
.btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}

/* Google Play pill (store-style) */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 22px 12px 18px;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.store-btn .store-btn__icon {
  width: 26px;
  height: 26px;
  flex: none;
}
.store-btn .store-btn__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}
.store-btn .store-btn__small {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.65;
}
.store-btn .store-btn__big {
  font-size: 1.02rem;
  font-weight: 800;
  font-family: var(--font-display);
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  backdrop-filter: saturate(180%) blur(14px);
  background: color-mix(in srgb, var(--cream) 82%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.16rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  flex: none;
}
.brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--ink);
  display: grid;
  place-items: center;
  flex: none;
}
.brand__mark svg {
  width: 20px;
  height: 20px;
}
.brand__logo {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: block;
  flex: none;
}
.nav__links {
  display: none;
  align-items: center;
  gap: 4px;
}
.nav__links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: var(--r-pill);
  transition: color 0.15s ease, background-color 0.15s ease;
}
.nav__links a:hover {
  color: var(--ink);
  background: rgba(27, 26, 46, 0.05);
}
.nav__cta {
  display: none;
}
.nav__toggle {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
}
.nav__toggle svg {
  width: 22px;
  height: 22px;
}
.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  z-index: 55;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 18px var(--gutter) 26px;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  box-shadow: var(--shadow);
}
.mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu a {
  display: block;
  padding: 13px 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn {
  margin-top: 18px;
  padding: 15px 22px;
  font-size: 0.98rem;
  color: var(--cream);
  border-bottom: none;
  display: inline-flex;
  text-align: center;
}
body.menu-open {
  overflow: hidden;
}

/* ---------- Section heading ---------- */
.section-head {
  max-width: 640px;
}
.section-head .eyebrow {
  display: block;
  margin-bottom: 14px;
}

/* ---------- Phone frame ---------- */
.phone {
  position: relative;
  width: 100%;
  max-width: 300px;
  margin-inline: auto;
  border-radius: 42px;
  background: var(--ink);
  padding: 10px;
  box-shadow: var(--shadow-phone);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.phone::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 26%;
  height: 22px;
  background: var(--ink);
  border-radius: var(--r-pill);
  z-index: 3;
}
.phone__screen {
  border-radius: 33px;
  overflow: hidden;
  background: var(--cream);
  aspect-ratio: 9 / 19.5;
}
.phone__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.phone--sm {
  max-width: 240px;
  border-radius: 34px;
  padding: 8px;
}
.phone--sm .phone__screen {
  border-radius: 27px;
}
.phone--sm::before {
  height: 18px;
  top: 14px;
}

/* ---------- Chips / pills ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 9px 15px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  white-space: nowrap;
}
.chip__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lav-2);
  flex: none;
}
.chip--terra .chip__dot {
  background: var(--terra);
}
.chip--gold .chip__dot {
  background: var(--gold);
}
.chip--slate .chip__dot {
  background: var(--slate);
}
.chip--mint .chip__dot {
  background: var(--mint-ink);
}
.chip--active {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.chip--active .chip__dot {
  background: var(--terra);
}

/* ---------- Card ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
}

/* ---------- Icon bubble ---------- */
.bubble {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  flex: none;
  background: var(--lav);
  color: var(--lav-ink);
}
.bubble svg {
  width: 25px;
  height: 25px;
}
.bubble--terra {
  background: var(--terra-soft);
  color: var(--terra);
}
.bubble--ink {
  background: var(--ink);
  color: var(--cream);
}
.bubble--mint {
  background: var(--mint);
  color: var(--mint-ink);
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.reveal[data-delay="1"] {
  transition-delay: 0.08s;
}
.reveal[data-delay="2"] {
  transition-delay: 0.16s;
}
.reveal[data-delay="3"] {
  transition-delay: 0.24s;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn,
  .store-btn,
  .phone {
    transition: none;
  }
}

/* ---------- Footer ---------- */
.footer {
  background: #1f1236;
  color: rgba(255, 251, 245, 0.72);
  padding-block: 56px 34px;
}
.footer a {
  color: rgba(255, 251, 245, 0.72);
  transition: color 0.15s ease;
}
.footer a:hover {
  color: var(--cream);
}
.footer .brand {
  color: var(--cream);
}
.footer .brand__mark {
  background: rgba(255, 251, 245, 0.12);
}
.footer .brand__logo {
  box-shadow: 0 0 0 1px rgba(255, 251, 245, 0.24);
}
.footer__grid {
  display: grid;
  gap: 34px;
}
.footer__tagline {
  color: rgba(255, 251, 245, 0.6);
  margin-top: 12px;
  max-width: 30ch;
}
.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.footer__social a {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: rgba(255, 251, 245, 0.08);
  border: 1px solid rgba(255, 251, 245, 0.14);
  color: var(--cream);
  transition: transform 0.18s ease, background-color 0.18s ease,
    border-color 0.18s ease;
}
.footer__social a:hover {
  background: rgba(255, 251, 245, 0.16);
  border-color: rgba(255, 251, 245, 0.3);
  transform: translateY(-2px);
}
.footer__social svg {
  width: 20px;
  height: 20px;
}
.footer h4 {
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 14px;
}
.footer__list {
  display: grid;
  gap: 11px;
  font-size: 0.95rem;
}
.footer__bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 251, 245, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 251, 245, 0.5);
}

/* ---------- Utilities ---------- */
.grid {
  display: grid;
  gap: 18px;
}
.mt-0 {
  margin-top: 0 !important;
}
.text-terra {
  color: var(--terra);
}
.text-lav {
  color: var(--lav-ink);
}
.noise-none {
  background-image: none;
}

@media (min-width: 700px) {
  :root {
    --gutter: 28px;
  }
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
  }
}

@media (min-width: 980px) {
  :root {
    --nav-h: 78px;
  }
  .nav__links {
    display: flex;
  }
  .nav__cta {
    display: inline-flex;
  }
  .nav__toggle {
    display: none;
  }
  .mobile-menu {
    display: none;
  }
}

/* =========================================================
   MOCKUP 1 — "Claro" layout
   Warm cream page, centered hero, three-phone composition.
   ========================================================= */

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding-top: clamp(28px, 6vw, 56px);
  padding-bottom: clamp(40px, 8vw, 72px);
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.hero::before {
  width: 46vw;
  height: 46vw;
  max-width: 620px;
  max-height: 620px;
  top: -14%;
  right: -14%;
  background: radial-gradient(circle at 30% 30%, #ece5fb, rgba(236, 229, 251, 0));
  filter: blur(6px);
}
.hero::after {
  width: 40vw;
  height: 40vw;
  max-width: 520px;
  max-height: 520px;
  bottom: -22%;
  left: -18%;
  background: radial-gradient(circle at 60% 40%, #f7e3d8, rgba(247, 227, 216, 0));
}
.hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--lav-ink);
  background: var(--lav);
  padding: 8px 15px 8px 12px;
  border-radius: var(--r-pill);
  margin-bottom: 22px;
}
.hero__badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--terra);
  flex: none;
}
.hero h1 {
  max-width: 16ch;
  margin-inline: auto;
}
.hero h1 em {
  font-style: normal;
  color: var(--terra);
}
.hero__lead {
  margin: 20px auto 0;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 30px;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: center;
  margin-top: 26px;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}
.hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hero__trust svg {
  width: 15px;
  height: 15px;
  color: var(--lav-ink);
}
.hero__compat {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}
.hero__compat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}
.wallet-badge {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: -0.01em;
  padding: 8px 16px;
  border-radius: var(--r-pill);
}
.wallet-badge--yape {
  background: #e7e2f6;
  color: #443c7a;
}
.wallet-badge--plin {
  background: #d8eee6;
  color: #2e7d64;
}

/* Phone stage */
.hero__stage {
  position: relative;
  z-index: 1;
  margin-top: clamp(40px, 8vw, 68px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  perspective: 1400px;
}
.hero__stage .phone {
  flex: 0 0 auto;
}
.hero__stage .phone--side {
  display: none;
}
.hero__stage .phone--main {
  max-width: 320px;
  transform: translateZ(0);
}
.hero__glow {
  position: absolute;
  inset: auto 0 -6%;
  height: 44%;
  background: radial-gradient(
    ellipse at center,
    rgba(214, 204, 240, 0.75),
    rgba(214, 204, 240, 0) 70%
  );
  z-index: -1;
  filter: blur(10px);
}

/* ---------- TRUST STRIP ---------- */
.trustbar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 55%, transparent);
}
.trustbar__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  align-items: center;
  justify-content: center;
  padding-block: 20px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-align: center;
}
.trustbar__inner strong {
  color: var(--ink);
  font-weight: 600;
}
.trustbar__inner .sep {
  display: none;
  color: var(--line-strong);
}

/* ---------- HOW IT WORKS ---------- */
.steps {
  display: grid;
  gap: 16px;
  counter-reset: step;
  margin-top: clamp(34px, 6vw, 54px);
}
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 24px 28px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}
.step__num {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--terra);
}
.step__icon {
  margin: 16px 0 16px;
}
.step h3 {
  font-size: 1.22rem;
}
.step p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.96rem;
}

/* ---------- FEATURES GRID ---------- */
.section--paper {
  background: var(--cream-2);
}
.features {
  display: grid;
  gap: 16px;
  margin-top: clamp(30px, 5vw, 48px);
}
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.feature h3 {
  font-size: 1.06rem;
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.feature p {
  margin-top: 5px;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ---------- SPLIT (charts / export) ---------- */
.split {
  display: grid;
  gap: clamp(30px, 6vw, 60px);
  align-items: center;
}
.split__media {
  position: relative;
}
.split__copy .eyebrow {
  display: block;
  margin-bottom: 14px;
}
.split__copy h2 {
  max-width: 14ch;
}
.split__copy p {
  margin-top: 16px;
}
.split__list {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}
.split__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--ink-2);
}
.split__list svg {
  width: 20px;
  height: 20px;
  color: var(--terra);
  flex: none;
  margin-top: 2px;
}
.stat-float {
  position: absolute;
  z-index: 3;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px 15px;
  box-shadow: var(--shadow);
  font-family: var(--font-mono);
}
.stat-float__label {
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.stat-float__value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}
.stat-float--tl {
  top: 8%;
  left: -6%;
}
.stat-float--br {
  bottom: 12%;
  right: -4%;
}
.donut-legend {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 6px;
}
.donut-legend i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  display: inline-block;
}

/* ---------- PRIVACY (dark) ---------- */
.privacy {
  position: relative;
  background: var(--ink);
  color: rgba(255, 251, 245, 0.76);
  overflow: hidden;
}
.privacy::before {
  content: "";
  position: absolute;
  width: 60vw;
  height: 60vw;
  max-width: 720px;
  max-height: 720px;
  top: -30%;
  left: -10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120, 108, 190, 0.4), transparent 65%);
  pointer-events: none;
}
.privacy__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(34px, 6vw, 64px);
}
.privacy h2 {
  color: var(--cream);
}
.privacy .lead {
  color: rgba(255, 251, 245, 0.66);
}
.privacy .eyebrow {
  color: var(--lav-2);
}
.privacy__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.pill-dark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  background: rgba(255, 251, 245, 0.07);
  border: 1px solid rgba(255, 251, 245, 0.14);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 600;
}
.pill-dark svg {
  width: 17px;
  height: 17px;
  color: var(--lav-2);
}
.privacy__quote {
  margin-top: 28px;
  padding: 20px 22px;
  border-radius: var(--r);
  background: rgba(255, 251, 245, 0.06);
  border-left: 3px solid var(--terra);
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--cream);
  font-size: 1.08rem;
  line-height: 1.4;
}
.privacy__cards {
  display: grid;
  gap: 14px;
}
.pcard {
  background: rgba(255, 251, 245, 0.05);
  border: 1px solid rgba(255, 251, 245, 0.12);
  border-radius: var(--r);
  padding: 22px;
}
.pcard__top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pcard__top svg {
  width: 22px;
  height: 22px;
  color: var(--lav-2);
  flex: none;
}
.pcard h3 {
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.04rem;
  letter-spacing: -0.01em;
}
.pcard p {
  margin-top: 8px;
  font-size: 0.9rem;
  color: rgba(255, 251, 245, 0.6);
  line-height: 1.5;
}

/* ---------- SIMPLE STATEMENT ---------- */
.simple {
  text-align: center;
}
.simple h2 {
  max-width: 18ch;
  margin-inline: auto;
}
.simple .lead {
  margin: 18px auto 0;
}
.simple__phones {
  margin-top: clamp(34px, 6vw, 54px);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(10px, 2.5vw, 20px);
}
.simple__phones .phone {
  display: none;
}
.simple__phones .phone:nth-child(2) {
  display: block;
  max-width: 250px;
}
@media (min-width: 560px) {
  .simple__phones .phone {
    display: block;
    flex: 1 1 0;
    min-width: 0;
    max-width: 210px;
  }
  .simple__phones .phone:nth-child(2) {
    flex: 1.2 1 0;
    max-width: 250px;
    transform: translateY(-22px);
  }
}

/* ---------- CTA ---------- */
.cta {
  padding-bottom: clamp(70px, 12vw, 120px);
}
.cta__panel {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  border-radius: var(--r-xl);
  padding: clamp(36px, 8vw, 68px) clamp(24px, 6vw, 64px);
  text-align: center;
  color: var(--cream);
  box-shadow: var(--shadow-lg);
}
.cta__panel::before,
.cta__panel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.cta__panel::before {
  width: 380px;
  height: 380px;
  top: -160px;
  right: -120px;
  background: radial-gradient(circle, rgba(120, 108, 190, 0.5), transparent 68%);
}
.cta__panel::after {
  width: 320px;
  height: 320px;
  bottom: -180px;
  left: -100px;
  background: radial-gradient(circle, rgba(193, 91, 57, 0.42), transparent 68%);
}
.cta__inner {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin-inline: auto;
}
.cta h2 {
  color: var(--cream);
}
.cta p {
  color: rgba(255, 251, 245, 0.68);
  margin: 18px auto 0;
}
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 30px;
}
.cta .store-btn {
  background: var(--cream);
  color: var(--ink);
}
.cta .store-btn .store-btn__small {
  opacity: 0.6;
}
.cta__note {
  margin-top: 18px;
  font-size: 0.82rem;
  color: rgba(255, 251, 245, 0.5);
}

/* ---------- RESPONSIVE ---------- */
@media (min-width: 640px) {
  .features {
    grid-template-columns: 1fr 1fr;
  }
  .privacy__cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 760px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .hero__stage .phone--side {
    display: block;
  }
  .hero__stage .phone--side {
    max-width: 248px;
  }
  .hero__stage .phone--main {
    max-width: 330px;
    z-index: 2;
  }
  .hero__stage .phone--left {
    transform: translateX(26px) rotate(-7deg);
    opacity: 0.94;
  }
  .hero__stage .phone--right {
    transform: translateX(-26px) rotate(7deg);
    opacity: 0.94;
  }
  .trustbar__inner .sep {
    display: inline;
  }
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
  .split--reverse .split__media {
    order: 2;
  }
  .privacy__grid {
    grid-template-columns: 1.05fr 1fr;
    align-items: start;
  }
  .privacy__cards {
    grid-template-columns: 1fr 1fr;
  }
  .simple__phones .phone {
    max-width: 230px;
  }
}

@media (min-width: 1080px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* ---------- MARQUEE (from Editorial direction) ---------- */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  padding-block: 16px;
}
.marquee__track {
  display: flex;
  gap: 0;
  width: max-content;
  align-items: center;
  animation: marquee 32s linear infinite;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1rem, 2.6vw, 1.35rem);
  white-space: nowrap;
}
.marquee__track span {
  display: inline-flex;
  align-items: center;
  gap: 38px;
  padding-right: 38px;
}
.marquee__track i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--terra);
  flex: none;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* =========================================================
   Páginas legales (política y términos)
   ========================================================= */
.legal {
  padding-block: 48px 72px;
}
.legal__head {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}
.legal__head h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 12px 0 10px;
}
.legal__updated {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--muted);
}
.legal__body {
  max-width: 760px;
  margin: 0 auto;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.7;
}
.legal__body h2 {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 40px 0 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.legal__body h2:first-of-type {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}
.legal__body h3 {
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  margin: 22px 0 6px;
}
.legal__body p {
  margin: 0 0 14px;
}
.legal__body ul,
.legal__body ol {
  margin: 0 0 16px;
  padding-left: 22px;
}
.legal__body ul { list-style: disc; }
.legal__body ol { list-style: decimal; }
.legal__body li {
  margin: 0 0 8px;
}
.legal__body li::marker {
  color: var(--terra);
}
.legal__body a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--lav-2);
  text-underline-offset: 3px;
}
.legal__body a:hover {
  color: var(--terra);
}
.legal__body strong {
  color: var(--ink);
}
.legal__note {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--terra);
  border-radius: var(--r-sm);
  padding: 16px 18px;
  margin: 0 0 20px;
  font-size: 0.96rem;
  box-shadow: var(--shadow-xs);
}
.legal__note p:last-child {
  margin-bottom: 0;
}
.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 40px;
}
.legal__back svg {
  width: 18px;
  height: 18px;
}
