/*
 * Cuadra: estilos de las páginas estáticas (landing, legal, eliminar cuenta, 404).
 * Colores, radios y fuentes salen solo de tokens.css.
 */

:root {
  --gutter: 16px;
  --maxw: 1120px;
  --header-h: 64px;
  /* Botón principal: el menta claro no da contraste AA con texto blanco en tema claro. */
  --cta-bg: var(--accent);
  --cta-bg-hover: var(--accent-strong);
}
@media (prefers-color-scheme: light) {
  :root:not(.dark) { --cta-bg: var(--accent-strong); --cta-bg-hover: var(--accent-strong); }
}
:root.light { --cta-bg: var(--accent-strong); --cta-bg-hover: var(--accent-strong); }
@media (min-width: 600px) { :root { --gutter: 24px; } }
@media (min-width: 900px) { :root { --gutter: 32px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: rgba(var(--accent-rgb), 0.28); color: var(--text); }
.num { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--font-mono); font-weight: 500; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  padding: 12px 18px; border-radius: var(--radius-pill);
  background: var(--cta-bg); color: var(--on-accent); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 10px; }
.container {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Iconos de línea */
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.mark { flex: none; }
.mark path { fill: none; stroke-width: 6.5; stroke-linecap: round; stroke-linejoin: round; }
.mark .m-a { stroke: var(--accent); }
.mark .m-b { stroke: var(--text); }

/* Marcadores de datos pendientes en los textos legales */
.fill {
  padding: 0 3px;
  border-radius: 4px;
  background: var(--warning-soft);
  text-decoration: underline dashed var(--warning);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border: 1px solid transparent; border-radius: var(--radius-pill);
  font: 600 1rem/1.1 var(--font); letter-spacing: -0.01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn .i { width: 18px; height: 18px; }
.btn-primary { background: var(--cta-bg); color: var(--on-accent); }
.btn-primary:hover { background: var(--cta-bg-hover); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--bg-elev); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 0.9375rem; }
.link-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0;
  background: none; border: 0; cursor: pointer; font-weight: 600; color: var(--text);
  text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: 4px;
}

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; gap: 8px; height: var(--header-h); }
.brand {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-right: auto;
  font-size: 1.125rem; font-weight: 600; letter-spacing: -0.025em; text-decoration: none;
}
.brand .mark { width: 28px; height: 28px; }
.site-nav { display: none; }
.site-nav a {
  padding: 8px 12px; border-radius: var(--radius-pill);
  color: var(--text-2); font-size: 0.9375rem; font-weight: 500; text-decoration: none;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.site-nav a:hover { color: var(--text); background: var(--bg-elev); }
@media (min-width: 960px) {
  .site-nav { display: flex; gap: 2px; margin-right: 8px; }
}
.lang-switch {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 44px; padding: 0 10px;
  border: 1px solid var(--border); border-radius: var(--radius-pill);
  color: var(--text-2); font: 500 0.8125rem/1 var(--font-mono); letter-spacing: 0.06em; text-decoration: none;
}
.lang-switch:hover { color: var(--text); border-color: var(--border-strong); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow-x: clip; padding-block: 44px 72px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
  opacity: 0.55;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 20%, transparent 72%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 20%, transparent 72%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(48% 42% at 12% 4%, rgba(var(--accent-rgb), 0.12), transparent 70%);
}
.hero-grid { display: grid; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--border); border-radius: var(--radius-pill);
  background: var(--bg-elev);
  color: var(--text-2); font-size: 0.8125rem; font-weight: 500;
}
.live-dot {
  width: 8px; height: 8px; flex: none; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.18);
}
.display {
  margin-top: 22px;
  font-size: clamp(2.25rem, 1.3rem + 4.4vw, 4.75rem);
  line-height: 1.02; letter-spacing: -0.045em; font-weight: 600;
  text-wrap: balance;
}
.display .muted { display: block; color: var(--text-2); }
.lead {
  margin-top: 22px; max-width: 40ch;
  color: var(--text-2); font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.55;
  text-wrap: pretty;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-actions .btn { flex: 1 1 auto; }
@media (min-width: 480px) { .hero-actions .btn { flex: 0 0 auto; } }
.hero-notes {
  display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; padding: 0; list-style: none;
  color: var(--text-2); font-size: 0.875rem;
}
.hero-notes li { display: inline-flex; align-items: center; gap: 8px; }
.hero-notes .i { width: 16px; height: 16px; color: var(--accent); stroke-width: 2.2; }
@media (min-width: 900px) {
  .hero { padding-block: 80px 104px; }
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 40px; }
}

/* ---------- Mock de teléfono ---------- */
.device-wrap { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative; width: min(100%, 340px);
  padding: 9px; border-radius: 48px;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-2);
}
.screen {
  position: relative; overflow: hidden;
  padding: 12px 14px 86px;
  border-radius: 39px; border: 1px solid var(--border);
  background: var(--bg);
  font-size: 14px; line-height: 1.35;
}
.screen::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 96px; pointer-events: none;
  background: linear-gradient(to top, var(--bg) 45%, transparent);
}
.sb { display: flex; justify-content: space-between; align-items: center; padding: 4px 12px 8px; font-size: 12.5px; font-weight: 600; }
.sb-icons { display: inline-flex; align-items: center; gap: 6px; }
.sig { display: inline-flex; align-items: flex-end; gap: 2px; height: 10px; }
.sig i { width: 3px; border-radius: 1px; background: var(--text); }
.sig i:nth-child(1) { height: 4px; } .sig i:nth-child(2) { height: 6px; } .sig i:nth-child(3) { height: 8px; } .sig i:nth-child(4) { height: 10px; }
.bat { position: relative; width: 22px; height: 11px; border: 1.5px solid var(--text-2); border-radius: 3.5px; padding: 1.5px; }
.bat::before { content: ""; display: block; width: 72%; height: 100%; border-radius: 1.5px; background: var(--text); }
.app-bar { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.ib {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--bg-elev); color: var(--text-2);
}
.ib .i { width: 16px; height: 16px; stroke-width: 2; }
.g-head { display: flex; align-items: center; gap: 12px; margin: 12px 2px 14px; }
.tile {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--bg-elev); border: 1px solid var(--border);
  font-size: 19px; line-height: 1;
}
.g-head .tile { width: 46px; height: 46px; border-radius: 14px; font-size: 23px; }
.g-name { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.g-meta { margin-top: 1px; color: var(--text-2); font-size: 12px; }
.bal { padding: 14px 14px 6px; border-radius: 22px; background: var(--bg-elev); border: 1px solid var(--border); }
.bal-label { color: var(--text-2); font-size: 12.5px; font-weight: 500; }
.bal-amt { margin-top: 2px; color: var(--positive); font-size: 34px; font-weight: 600; letter-spacing: -0.035em; line-height: 1.1; }
.bal-bs { margin-top: 2px; color: var(--text-2); font: 500 12px/1.4 var(--font-mono); }
.rate-pill {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 10px;
  padding: 5px 10px 5px 9px; border-radius: var(--radius-pill);
  background: var(--bg-sunken); border: 1px solid var(--border);
  color: var(--text-2); font-size: 11.5px; font-weight: 500; white-space: nowrap;
}
.rate-pill b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.rate-pill .live-dot { width: 6px; height: 6px; box-shadow: 0 0 0 2px rgba(var(--accent-rgb), 0.2); }
.bal-rows { margin-top: 12px; padding: 0; list-style: none; border-top: 1px solid var(--border); }
.bal-rows li { display: flex; align-items: center; gap: 9px; padding: 8px 0; font-size: 13px; color: var(--text-2); }
.bal-rows li + li { border-top: 1px solid var(--border); }
.bal-rows b { margin-left: auto; color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.av {
  display: inline-grid; place-items: center; flex: none;
  width: 24px; height: 24px; border-radius: 50%;
  color: var(--text); font-size: 11px; font-weight: 600; line-height: 1;
}
.av-a { background: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.35); }
.av-l { background: color-mix(in srgb, var(--info) 18%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--info) 40%, transparent); }
.av-m { background: var(--warning-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--warning) 40%, transparent); }
.av-t { background: var(--bg-elev-2); box-shadow: inset 0 0 0 1px var(--border-strong); }
.tabs { display: flex; gap: 4px; margin: 14px 0 6px; padding: 4px; border-radius: var(--radius-pill); background: var(--bg-sunken); }
.tabs span { flex: 1; padding: 6px 0; border-radius: var(--radius-pill); text-align: center; color: var(--text-2); font-size: 12.5px; font-weight: 500; }
.tabs .on { background: var(--bg-elev); color: var(--text); box-shadow: var(--shadow-1); }
.x-day { margin: 10px 2px 2px; color: var(--text-2); font-size: 11.5px; font-weight: 500; }
.x-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 2px; }
.x-row + .x-row { border-top: 1px solid var(--border); }
.x-main, .x-right { display: flex; flex-direction: column; min-width: 0; }
.x-right { align-items: flex-end; }
.x-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; font-weight: 500; }
.x-meta { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-2); font-size: 11.5px; }
.x-amt { font-size: 13.5px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.x-sub { color: var(--text-2); font: 500 10.5px/1.5 var(--font-mono); white-space: nowrap; }
.fab {
  position: absolute; right: 16px; bottom: 18px; z-index: 1;
  display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 18px;
  border-radius: var(--radius-pill); background: var(--cta-bg); color: var(--on-accent);
  font-size: 14px; font-weight: 600;
  box-shadow: 0 10px 24px rgba(var(--accent-rgb), 0.28);
}
.fab .i { width: 16px; height: 16px; stroke-width: 2.4; }
.float-note { display: none; }
@media (min-width: 1180px) {
  .float-note {
    position: absolute; right: -24px; top: 6%; z-index: 2;
    display: flex; align-items: flex-start; gap: 10px; width: 236px; padding: 12px 14px;
    border-radius: 18px; border: 1px solid var(--border-strong);
    background: var(--header-bg);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    box-shadow: var(--shadow-2);
    font-size: 12.5px; line-height: 1.4; color: var(--text-2);
  }
  .float-note .mark { width: 22px; height: 22px; margin-top: 1px; }
  .float-note strong { color: var(--text); font-weight: 600; }
  .float-note .fn-top { display: flex; justify-content: space-between; gap: 8px; color: var(--text-2); font-size: 11.5px; }
  .float-note .fn-top strong { font-size: 12px; }
}

/* ---------- Secciones ---------- */
.section { padding-block: clamp(72px, 6rem + 2vw, 128px); border-top: 1px solid var(--border); }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text-2); font: 500 0.75rem/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase;
}
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.h2 {
  margin-top: 18px; max-width: 20ch;
  font-size: clamp(2rem, 1.35rem + 2.7vw, 3.25rem);
  line-height: 1.05; letter-spacing: -0.04em; font-weight: 600;
  text-wrap: balance;
}
.section-lead {
  margin-top: 18px; max-width: 54ch;
  color: var(--text-2); font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); line-height: 1.6;
  text-wrap: pretty;
}
.split { display: grid; gap: 44px; align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; }
  .split.reverse > :first-child { order: 2; }
}

/* Pasos */
.steps { display: grid; margin-top: 48px; padding: 0; list-style: none; border-top: 1px solid var(--border); }
.step { padding: 28px 0 32px; border-bottom: 1px solid var(--border); }
.step-num { display: block; color: var(--text-2); font: 500 0.8125rem/1 var(--font-mono); letter-spacing: 0.06em; }
.step h3 { margin-top: 18px; font-size: 1.375rem; font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; }
.step p { margin-top: 10px; color: var(--text-2); max-width: 40ch; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; padding: 0; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px;
  border-radius: var(--radius-pill); border: 1px solid var(--border); background: var(--bg-elev);
  color: var(--text); font-size: 0.8125rem; font-weight: 500; line-height: 1.2; white-space: nowrap;
}
.chip.on { border-color: rgba(var(--accent-rgb), 0.55); background: var(--accent-soft); }
.transfers { margin-top: 20px; padding: 0; list-style: none; display: grid; gap: 6px; }
.transfers li {
  display: flex; align-items: center; gap: 8px; padding: 8px 12px;
  border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--bg-elev);
  font-size: 0.875rem;
}
.transfers .i { width: 16px; height: 16px; color: var(--text-2); }
.transfers b { margin-left: auto; font-weight: 600; font-variant-numeric: tabular-nums; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .step { padding: 32px 32px 8px 0; border-bottom: 0; }
  .step + .step { padding-left: 32px; border-left: 1px solid var(--border); }
}
.callout {
  display: flex; gap: 14px; align-items: flex-start; margin-top: 40px; padding: 18px 20px;
  border-radius: var(--radius-md); border: 1px solid var(--border); background: var(--bg-elev);
  color: var(--text-2);
}
.callout .i { margin-top: 2px; color: var(--accent); }
.callout strong { color: var(--text); font-weight: 600; }

/* Lista con marcas */
.ticks { display: grid; gap: 18px; margin-top: 32px; padding: 0; list-style: none; }
.ticks li { position: relative; padding-left: 34px; color: var(--text-2); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.35);
}
.ticks li::after {
  content: ""; position: absolute; left: 7px; top: 7px; width: 8px; height: 5px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}
.ticks strong { display: block; color: var(--text); font-weight: 600; }

/* Tarjetas de UI */
.stack { display: grid; gap: 16px; }
.card { border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--bg-elev); }
.card-pad { padding: 20px; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 0.9375rem; font-weight: 600; }
.card-head small { color: var(--text-2); font-size: 0.8125rem; font-weight: 500; }
.seg { display: flex; gap: 4px; margin-top: 14px; padding: 4px; border-radius: var(--radius-pill); border: 1px solid var(--border); background: var(--bg-sunken); }
.seg span { flex: 1; padding: 8px 6px; border-radius: var(--radius-pill); text-align: center; white-space: nowrap; color: var(--text-2); font-size: 0.8125rem; font-weight: 500; }
.seg .on { background: var(--bg-elev-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--border-strong); }
.rate-list { margin-top: 10px; padding: 0; list-style: none; }
.rate-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; }
.rate-row + .rate-row { border-top: 1px solid var(--border); }
.cur {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--bg-elev-2);
  font: 500 0.8125rem/1 var(--font-mono);
}
.rate-name { font-size: 0.9375rem; font-weight: 500; line-height: 1.3; }
.rate-name small { display: block; color: var(--text-2); font-size: 0.8125rem; font-weight: 400; }
.rate-val { font: 500 0.9375rem/1.2 var(--font-mono); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.rate-val small { display: block; color: var(--text-2); font: 400 0.75rem var(--font); }
.card-foot { display: flex; align-items: center; gap: 8px; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--border); color: var(--text-2); font-size: 0.8125rem; }
.pay-line { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 1rem; font-weight: 500; }
.pay-line .i { width: 16px; height: 16px; color: var(--text-2); }
.pay-line b { margin-left: auto; font-size: 1.125rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.locked {
  display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; padding: 12px 14px;
  border-radius: var(--radius-md); background: var(--accent-soft); border: 1px solid rgba(var(--accent-rgb), 0.3);
  font-size: 0.875rem; color: var(--text);
}
.locked .i { width: 18px; height: 18px; margin-top: 1px; color: var(--accent); }
.locked span span { color: var(--text-2); }
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px;
  border-radius: var(--radius-pill); background: var(--bg-elev-2); border: 1px solid var(--border);
  color: var(--text-2); font-size: 0.75rem; font-weight: 500; white-space: nowrap;
}

/* Recibo por ítems */
.receipt { position: relative; padding: 20px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--bg-elev); font-variant-numeric: tabular-nums; }
.receipt-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; }
.receipt-head .tile { background: var(--bg-elev-2); }
.receipt-head div { flex: 1; min-width: 0; }
.receipt-title { font-weight: 600; letter-spacing: -0.015em; }
.receipt-sub { color: var(--text-2); font-size: 0.8125rem; }
.r-items { margin: 0; padding: 0; list-style: none; }
.r-item { display: grid; grid-template-columns: minmax(0, 1fr) auto 64px; gap: 10px; align-items: center; padding: 11px 0; border-top: 1px dashed var(--border-strong); font-size: 0.9375rem; }
.r-amt { text-align: right; font-family: var(--font-mono); font-weight: 500; font-size: 0.875rem; }
.avs { display: inline-flex; }
.avs .av { width: 26px; height: 26px; border: 2px solid var(--bg-elev); box-sizing: content-box; }
.avs .av + .av { margin-left: -8px; }
.r-totals { margin: 0; padding: 12px 0 0; border-top: 1px dashed var(--border-strong); display: grid; gap: 6px; font-size: 0.875rem; }
.r-totals div { display: flex; justify-content: space-between; color: var(--text-2); }
.r-totals dd { margin: 0; font-family: var(--font-mono); font-weight: 500; color: var(--text); }
.r-totals .r-grand { margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--border); color: var(--text); font-size: 1rem; font-weight: 600; }
.r-totals .r-grand dd { font-size: 1rem; }
.r-people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.r-people li { display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: var(--radius-sm); background: var(--bg-sunken); border: 1px solid var(--border); font-size: 0.8125rem; color: var(--text-2); }
.r-people .who { display: flex; align-items: center; gap: 6px; }
.r-people .av { width: 20px; height: 20px; font-size: 10px; }
.r-people b { color: var(--text); font: 600 0.9375rem var(--font); font-variant-numeric: tabular-nums; }
.modes { margin-top: 28px; }
.modes p { color: var(--text-2); font-size: 0.9375rem; }
.modes .chips { margin-top: 12px; }

/* Colaboración */
.points { display: grid; gap: 24px; margin-top: 36px; padding: 0; list-style: none; }
.points li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; }
.points .ico {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--bg-elev); color: var(--accent);
}
.points h3 { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; }
.points p { margin-top: 4px; color: var(--text-2); font-size: 0.9375rem; }
@media (min-width: 600px) { .points { grid-template-columns: 1fr 1fr; gap: 28px 24px; } }
.code-box {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 12px 12px 12px 16px;
  border-radius: var(--radius-md); border: 1px dashed var(--border-strong); background: var(--bg-sunken);
}
.code-box .code { font: 500 1.375rem/1 var(--font-mono); letter-spacing: 0.12em; }
.code-box small { display: block; margin-bottom: 6px; color: var(--text-2); font-size: 0.75rem; }
.fake-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 14px;
  border-radius: var(--radius-pill); border: 1px solid var(--border-strong); background: var(--bg-elev);
  font-size: 0.875rem; font-weight: 600; white-space: nowrap;
}
.fake-btn .i { width: 16px; height: 16px; }
.fake-btn.primary { background: var(--cta-bg); border-color: transparent; color: var(--on-accent); }
.fake-btn.wide { width: 100%; margin-top: 10px; min-height: 44px; }
.req { display: flex; gap: 12px; align-items: center; margin-top: 14px; }
.req .av { width: 40px; height: 40px; font-size: 14px; }
.req-name { font-weight: 600; }
.req-sub { color: var(--text-2); font-size: 0.875rem; }
.req-sub strong { color: var(--text); font-weight: 600; }
.req-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }

/* Funciones */
.features {
  display: grid; gap: 1px; margin-top: 48px; padding: 0; list-style: none;
  border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--border);
}
.feature { padding: 22px 20px; background: var(--bg); }
.feature .i { width: 22px; height: 22px; color: var(--accent); }
.feature h3 { margin-top: 14px; font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.015em; }
.feature p { margin-top: 6px; color: var(--text-2); font-size: 0.9375rem; line-height: 1.55; }
@media (min-width: 600px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } .feature { padding: 28px 24px; } }
@media (min-width: 1024px) { .features { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Preguntas frecuentes */
.faq-layout { display: grid; gap: 36px; }
@media (min-width: 900px) { .faq-layout { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; } }
.faq-aside p { margin-top: 18px; color: var(--text-2); max-width: 36ch; }
.faq details { border-bottom: 1px solid var(--border); }
.faq details:first-child { border-top: 1px solid var(--border); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  min-height: 44px; padding: 20px 0; cursor: pointer; list-style: none;
  font-size: 1.0625rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--border-strong);
  background:
    linear-gradient(var(--text-2), var(--text-2)) center / 10px 1.5px no-repeat,
    linear-gradient(var(--text-2), var(--text-2)) center / 1.5px 10px no-repeat;
  transition: transform var(--dur) var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover::after { border-color: var(--text-2); }
.faq .answer { padding: 0 44px 24px 0; color: var(--text-2); }
.faq .answer p + p { margin-top: 10px; }
.faq .answer a, .text-link { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }

/* Llamada final */
.cta-band {
  position: relative; overflow: hidden; padding: clamp(48px, 7vw, 88px) 20px;
  border-radius: var(--radius-xl); border: 1px solid var(--border);
  background: radial-gradient(70% 90% at 50% 0%, rgba(var(--accent-rgb), 0.12), transparent 70%), var(--bg-elev);
  text-align: center;
}
.cta-band .mark { width: 48px; height: 48px; margin: 0 auto; }
.cta-band .h2 { margin-inline: auto; }
.cta-band .section-lead { margin-inline: auto; }
.cta-band .hero-actions { justify-content: center; }
.cta-band .install-note { margin: 24px auto 0; max-width: 56ch; color: var(--text-2); font-size: 0.875rem; }

/* ---------- Pie ---------- */
.site-footer { padding-block: 56px 28px; border-top: 1px solid var(--border); color: var(--text-2); font-size: 0.9375rem; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand .brand { color: var(--text); }
.footer-brand p { margin-top: 10px; max-width: 34ch; }
.footer-h { margin: 0 0 6px; color: var(--text); font: 500 0.75rem/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links a, .footer-links button {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0;
  background: none; border: 0; cursor: pointer; text-align: left;
  color: var(--text-2); font-size: 0.9375rem; text-decoration: none;
}
.footer-links a:hover, .footer-links button:hover { color: var(--text); }
.footer-links .fill { color: var(--text-2); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px;
  margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 0.875rem;
}
.footer-bottom a { color: var(--text-2); }
.footer-bottom a:hover { color: var(--text); }
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: auto; }
}

/* ---------- Páginas de contenido (legal, eliminar cuenta, 404) ---------- */
.page-hero { padding-block: 48px 32px; border-bottom: 1px solid var(--border); }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--text-2); font-size: 0.875rem; }
.crumbs a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.crumbs .i { width: 16px; height: 16px; }
.page-title {
  margin-top: 12px;
  font-size: clamp(2.25rem, 1.6rem + 2.8vw, 3.5rem);
  line-height: 1.05; letter-spacing: -0.04em; font-weight: 600; text-wrap: balance;
}
.page-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; color: var(--text-2); font-size: 0.9375rem; }
.page-hero .section-lead { max-width: 60ch; }

.legal-layout { display: grid; gap: 28px; padding-block: 28px 96px; }
@media (min-width: 960px) {
  .legal-layout { grid-template-columns: 250px minmax(0, 1fr); gap: 64px; padding-top: 48px; }
}
.toc { border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-elev); }
.toc summary {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  min-height: 52px; padding: 0 16px; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 0.9375rem;
}
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after {
  content: ""; width: 8px; height: 8px; margin-right: 4px;
  border-right: 1.75px solid var(--text-2); border-bottom: 1.75px solid var(--text-2);
  transform: rotate(45deg) translateY(-2px); transition: transform var(--dur) var(--ease);
}
.toc[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.toc nav { padding: 0 8px 12px; }
.toc ol { margin: 0; padding: 0; list-style: none; }
.toc a {
  display: block; padding: 10px 10px; border-radius: 8px;
  color: var(--text-2); font-size: 0.9375rem; line-height: 1.35; text-decoration: none;
}
.toc a:hover { color: var(--text); background: var(--bg-elev-2); }
.toc a[aria-current="true"] { color: var(--text); background: var(--bg-elev-2); box-shadow: inset 2px 0 0 var(--accent); }
.toc > nav > ol > li > a { font-weight: 600; color: var(--text); }
.toc ol ol a { padding-left: 22px; font-size: 0.875rem; }
@media (min-width: 960px) {
  .toc {
    position: sticky; top: calc(var(--header-h) + 24px); align-self: start;
    max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto;
    border: 0; background: none; scrollbar-width: thin;
  }
  .toc summary { min-height: 0; padding: 0 10px 10px; cursor: default; pointer-events: none; color: var(--text-2); font: 500 0.75rem/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
  .toc summary::after { display: none; }
  .toc::details-content { content-visibility: visible; display: block; }
  .toc nav { padding: 0; }
  .toc a { padding: 5px 10px; font-size: 0.875rem; }
  .toc ol ol a { padding-left: 20px; font-size: 0.8125rem; }
}

.prose { min-width: 0; max-width: 70ch; font-size: 1.0625rem; line-height: 1.7; }
.prose > * + * { margin-top: 16px; }
.prose h2 {
  margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--border);
  font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.125rem); line-height: 1.15; letter-spacing: -0.03em; font-weight: 600;
}
.prose > h2:first-child, .prose > .summary + h2 { margin-top: 0; }
.prose > .summary + h2 { margin-top: 56px; }
.prose h3 { margin-top: 40px; font-size: 1.1875rem; line-height: 1.35; letter-spacing: -0.015em; font-weight: 600; }
.prose h4 { margin-top: 24px; font-size: 1rem; font-weight: 600; }
.prose h2 + p, .prose h3 + p, .prose h4 + p, .prose h3 + ul, .prose h4 + ul { margin-top: 10px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--text-2); }
.prose strong { font-weight: 600; }
.prose a:not(.h-anchor):not(.btn) { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose a:not(.h-anchor):not(.btn):hover { text-decoration-thickness: 2.5px; }
.prose .muted { color: var(--text-2); }
.prose code { padding: 1px 6px; border-radius: 6px; border: 1px solid var(--border); background: var(--bg-elev); font: 500 0.85em var(--font-mono); word-break: break-word; }
.h-anchor { color: inherit; text-decoration: none; }
.h-anchor::after { content: "#"; margin-left: 0.35em; color: var(--text-3); opacity: 0; transition: opacity var(--dur) var(--ease); }
h2:hover > .h-anchor::after, h3:hover > .h-anchor::after, .h-anchor:focus-visible::after { opacity: 1; }
.summary { padding: 22px 24px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--bg-elev); }
.summary h2 { margin: 0; padding: 0; border: 0; font-size: 1.0625rem; letter-spacing: -0.01em; }
.summary ul { margin-top: 12px; padding: 0; list-style: none; display: grid; gap: 10px; }
.summary li, .summary li + li { position: relative; margin: 0; padding-left: 20px; color: var(--text-2); font-size: 0.9875rem; line-height: 1.55; }
.summary li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); }
.note { padding: 14px 16px; border-left: 3px solid var(--accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--bg-elev); color: var(--text-2); font-size: 0.9875rem; }
.note strong { color: var(--text); }

/* Tablas legales: tabla en escritorio, tarjetas en móvil */
.data-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.5; }
.data-table th, .data-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.data-table thead th { background: var(--bg-elev); color: var(--text); font-weight: 600; font-size: 0.875rem; }
.data-table tbody th { font-weight: 500; }
.table-wrap { border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.data-table tr:last-child > * { border-bottom: 0; }
.data-table td, .data-table tbody th { color: var(--text-2); }
.data-table tbody th { color: var(--text); }
.data-table .group-row th { background: var(--bg-sunken); color: var(--text); font: 500 0.75rem/1.2 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; }
@media (max-width: 719px) {
  .table-wrap { border: 0; border-radius: 0; overflow: visible; }
  .data-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .data-table, .data-table tbody, .data-table tr, .data-table th, .data-table td { display: block; width: 100%; }
  .data-table tr { margin-bottom: 12px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-elev); }
  .data-table tr.group-row { margin: 24px 0 10px; border: 0; background: none; }
  .data-table .group-row th { padding: 0; background: none; border: 0; }
  .data-table tbody th { padding: 14px 16px 6px; border: 0; font-weight: 600; }
  .data-table td { padding: 4px 16px; border: 0; }
  .data-table td:last-child { padding-bottom: 14px; }
  .data-table td::before { content: attr(data-label) ": "; color: var(--text); font-weight: 500; }
}

/* Eliminar cuenta */
.narrow { max-width: calc(760px + 2 * var(--gutter)); }
.page-body { padding-bottom: 96px; }
.content-block .note { margin-top: 20px; max-width: none; }
.content-block > p:last-child { margin-bottom: 0; }
.content-block { padding-block: 40px 0; }
.content-block + .content-block { margin-top: 8px; }
.content-block h2 { font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem); letter-spacing: -0.03em; line-height: 1.2; font-weight: 600; }
.content-block > p { margin-top: 12px; color: var(--text-2); max-width: 62ch; }
.numbered { counter-reset: n; display: grid; gap: 14px; margin-top: 20px; padding: 0; list-style: none; }
.numbered li {
  counter-increment: n; position: relative; min-height: 36px; padding: 6px 0 0 52px; color: var(--text-2);
}
.numbered li::before {
  content: counter(n); position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border-strong); background: var(--bg-elev);
  color: var(--text); font: 500 0.875rem/1 var(--font-mono);
}
.numbered strong { color: var(--text); font-weight: 600; }
.path { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.kbd {
  display: inline-block; padding: 1px 8px; border-radius: 6px; border: 1px solid var(--border-strong); background: var(--bg-elev);
  color: var(--text); font-size: 0.9em; font-weight: 500;
}
.mail-box { margin-top: 20px; padding: 18px 20px; border-radius: var(--radius-md); border: 1px solid var(--border); background: var(--bg-elev); display: grid; gap: 10px; }
.mail-box div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; font-size: 0.9375rem; }
.mail-box dt { color: var(--text-2); }
.mail-box dd { margin: 0; color: var(--text); font-weight: 500; overflow-wrap: anywhere; }
.compare { display: grid; gap: 16px; margin-top: 20px; }
@media (min-width: 700px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare .card { padding: 20px; }
.compare h3 { display: flex; align-items: center; gap: 10px; font-size: 1rem; font-weight: 600; }
.compare h3 .i { width: 20px; height: 20px; }
.compare .gone h3 .i { color: var(--negative); }
.compare .kept h3 .i { color: var(--text-2); }
.compare ul { margin-top: 12px; padding-left: 1.2em; color: var(--text-2); font-size: 0.9375rem; display: grid; gap: 8px; }
.timing { display: grid; gap: 1px; margin-top: 20px; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; background: var(--border); }
.timing div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: 14px 18px; background: var(--bg); }
.timing dt { color: var(--text-2); }
.timing dd { margin: 0; color: var(--text); font-weight: 600; text-align: right; }

/* 404 */
.nf { display: grid; place-items: center; min-height: calc(100vh - var(--header-h) - 160px); padding-block: 64px; text-align: center; }
.nf-code { color: var(--text-2); font: 500 0.875rem/1 var(--font-mono); letter-spacing: 0.12em; }
.nf h1 { margin-top: 18px; font-size: clamp(2rem, 1.5rem + 2.4vw, 3rem); letter-spacing: -0.04em; line-height: 1.1; font-weight: 600; }
.nf h1 span, .nf p span { display: block; color: var(--text-2); }
.nf p { margin-top: 16px; color: var(--text); }
.nf .hero-actions { justify-content: center; }
.nf .mark { width: 56px; height: 56px; margin: 0 auto 28px; }

/* ---------- Movimiento ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise 0.7s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: 60ms; }
  .hero-copy > :nth-child(3) { animation-delay: 120ms; }
  .hero-copy > :nth-child(4) { animation-delay: 180ms; }
  .hero-copy > :nth-child(5) { animation-delay: 240ms; }
  .device-wrap { animation: rise 0.9s 0.15s var(--ease) both; }
  .float-note { animation: rise 0.8s 0.6s var(--ease) both; }
  .live-dot { animation: pulse 2.4s ease-out infinite; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.45); }
  70%, 100% { box-shadow: 0 0 0 7px rgba(var(--accent-rgb), 0); }
}
.footer-links .footer-text { padding-block: 10px; }
.site-footer.slim { padding-block: 24px; }
.site-footer.slim .footer-bottom { margin-top: 0; padding-top: 0; border-top: 0; }
.nf .nf-app { margin-top: 24px; color: var(--text-2); font-size: 0.9375rem; }
