/* ==========================================================================
   FuturePOS · sistema visual
   Tipografía: escala de Tailwind. Espaciado: 0 2 4 8 12 16 24 32 40 48 64 80 96.
   Radios: escala de Tailwind (2 4 6 8 12 16 24 full).
   ========================================================================== */

:root {
  /* Fondos: misma paleta que la app de escritorio */
  --bg: #0B0E13;
  --surface: #12161D;
  --surface-2: #191E27;
  --surface-3: #232A36;
  --surface-4: #2C3442;

  /* Texto */
  --text: #E9EDF5;
  --text-muted: #8A93A5;
  --text-subtle: #6E7789;

  /* Marca y estados */
  --accent: #4F46E5;
  --accent-hover: #5B54F0;
  --accent-text: #A5B4FC;
  --green: #34D399;
  --amber: #F59E0B;
  --red: #F87171;

  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);

  /* Movimiento */
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --dur: 700ms;
  --dur-fast: 400ms;

  /* Espaciado */
  --s-25: 2px;
  --s-50: 4px;
  --s-75: 8px;
  --s-100: 12px;
  --s-200: 16px;
  --s-300: 24px;
  --s-400: 32px;
  --s-500: 40px;
  --s-600: 48px;
  --s-700: 64px;
  --s-800: 80px;
  --s-900: 96px;

  --font: "Geist", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;

  interpolate-size: allow-keywords;
  color-scheme: dark;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; font-weight: 600; }
p, li, dd, blockquote { text-wrap: pretty; }
em, i { font-style: normal; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 2px;
  border-radius: 4px;
}

section[id] { scroll-margin-top: var(--s-900); }

/* ===== Escala tipográfica (Tailwind) ===== */
.text-xs   { font-size: 0.75rem;  line-height: 1rem; }
.text-sm   { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem;     line-height: 1.5rem; }
.text-lg   { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl   { font-size: 1.25rem;  line-height: 1.75rem; }
.text-2xl  { font-size: 1.5rem;   line-height: 2rem; }
.text-3xl  { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl  { font-size: 2.25rem;  line-height: 2.5rem; }
.text-5xl  { font-size: 3rem;     line-height: 1; }
.text-6xl  { font-size: 3.75rem;  line-height: 1; }

.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--text-muted); }
.subtle { color: var(--text-subtle); }
.medium { font-weight: 500; }
.semibold { font-weight: 600; }

/* ===== Utilidades de estructura ===== */
.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--s-300);
}

.section { padding: var(--s-900) 0; }

.stack-8  { display: flex; flex-direction: column; gap: var(--s-75); }
.stack-12 { display: flex; flex-direction: column; gap: var(--s-100); }
.stack-16 { display: flex; flex-direction: column; gap: var(--s-200); }
.stack-24 { display: flex; flex-direction: column; gap: var(--s-300); }
.stack-32 { display: flex; flex-direction: column; gap: var(--s-400); }
.stack-48 { display: flex; flex-direction: column; gap: var(--s-600); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  top: var(--s-75);
  left: var(--s-75);
  z-index: 200;
  padding: var(--s-75) var(--s-100);
  border-radius: 8px;
  background: var(--accent);
  color: #FFFFFF;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform var(--dur-fast) var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.icon { width: 24px; height: 24px; flex: none; fill: currentColor; }
.icon-sm { width: 16px; height: 16px; flex: none; fill: currentColor; }
.icon-md { width: 20px; height: 20px; flex: none; fill: currentColor; }

/* ===== Etiquetas de sección ===== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-75);
  align-self: flex-start;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: var(--accent-text);
}

.section-head { max-width: 680px; }
.section-head h2 { letter-spacing: -0.02em; }
.section-head.center { margin: 0 auto; text-align: center; align-items: center; }
.section-head.center .eyebrow { align-self: center; }

/* ===== Botones ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-75);
  padding: var(--s-75) var(--s-100);
  border-radius: 9999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease),
    color var(--dur-fast) var(--ease),
    transform var(--dur-fast) var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(0.98); }
.btn:focus-visible { outline-offset: 3px; border-radius: 9999px; }

.btn-sm { font-size: 0.875rem; line-height: 1.25rem; }

.btn-primary { background: var(--accent); color: #FFFFFF; }
.btn-primary:hover { background: var(--accent-hover); }

.btn-secondary { background: var(--surface-2); border-color: var(--line-strong); color: var(--text); }
.btn-secondary:hover { background: var(--surface-3); }

.btn-lg { padding: var(--s-100) var(--s-300); }

/* ===== Nav isla ===== */
.nav-shell {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 var(--s-200);
  pointer-events: none;
}

.nav {
  pointer-events: auto;
  margin-top: var(--s-300);
  margin-left: auto;
  margin-right: auto;
  width: max-content;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: var(--s-300);
  padding: var(--s-75) var(--s-75) var(--s-75) var(--s-300);
  border-radius: 9999px;
  border: 1px solid var(--line-strong);
  background: rgba(18, 22, 29, 0.72);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  backdrop-filter: blur(24px) saturate(140%);
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.nav-logo { display: flex; align-items: center; flex: none; border-radius: 4px; }
.nav-logo img { height: 24px; width: auto; }

.nav-links { display: flex; align-items: center; gap: var(--s-25); }
.nav-links a {
  padding: var(--s-75) var(--s-100);
  border-radius: 9999px;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.nav-links a[aria-current="true"] { color: var(--text); background: rgba(255, 255, 255, 0.1); }

.burger {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 9999px;
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.burger:hover { background: var(--surface-3); }
.burger:active { transform: scale(0.98); }
.burger span {
  position: absolute;
  left: 12px;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform var(--dur) var(--ease), top var(--dur) var(--ease);
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 23px; }
.menu-open .burger span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 19px; transform: rotate(-45deg); }

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--s-900) var(--s-300) var(--s-600);
  background: rgba(11, 14, 19, 0.8);
  -webkit-backdrop-filter: blur(64px);
  backdrop-filter: blur(64px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility 0s linear var(--dur);
}
.menu-open .menu-overlay {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--dur) var(--ease), visibility 0s linear 0s;
}
.menu-overlay ul { display: flex; flex-direction: column; gap: var(--s-75); }
.menu-overlay li { overflow: hidden; }
.menu-overlay li > * {
  display: inline-flex;
  transform: translateY(48px);
  opacity: 0;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.menu-overlay a.menu-link {
  padding: var(--s-75) 0;
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-muted);
}
.menu-overlay a.menu-link:hover,
.menu-overlay a.menu-link[aria-current="true"] { color: var(--text); }
.menu-overlay .btn { margin-top: var(--s-300); }
.menu-open .menu-overlay li > * { transform: translateY(0); opacity: 1; }
.menu-open .menu-overlay li:nth-child(1) > * { transition-delay: 100ms; }
.menu-open .menu-overlay li:nth-child(2) > * { transition-delay: 150ms; }
.menu-open .menu-overlay li:nth-child(3) > * { transition-delay: 200ms; }
.menu-open .menu-overlay li:nth-child(4) > * { transition-delay: 250ms; }
.menu-open .menu-overlay li:nth-child(5) > * { transition-delay: 300ms; }
.menu-open .menu-overlay li:nth-child(6) > * { transition-delay: 350ms; }
.menu-open .menu-overlay li:nth-child(7) > * { transition-delay: 400ms; }
.menu-open { overflow: hidden; }

/* ===== Hero ===== */
.hero {
  padding: var(--s-900) 0;
  text-align: center;
}
.hero-copy { display: flex; flex-direction: column; align-items: center; gap: var(--s-300); margin-top: var(--s-700); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-75);
  padding: var(--s-50) var(--s-100);
  border-radius: 9999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: var(--text-muted);
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: var(--green);
  flex: none;
}

.hero h1 {
  max-width: 680px;
  font-size: 3.75rem;
  line-height: 1;
  letter-spacing: -0.035em;
  padding-bottom: var(--s-50);
  background: linear-gradient(90deg, #FFFFFF 0%, #9B9B9B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub { max-width: 680px; color: var(--text-muted); }

.hero-cta { display: flex; flex-direction: column; align-items: center; gap: var(--s-100); }

.rate-card {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-100) var(--s-300);
  padding: var(--s-100) var(--s-300);
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.rate-label { display: inline-flex; align-items: center; gap: var(--s-75); color: var(--text-muted); }
.rate-item { display: inline-flex; align-items: baseline; gap: var(--s-50); }
.rate-value { color: var(--text); font-weight: 500; min-width: 9ch; text-align: right; }
.rate-unit { color: var(--text-subtle); }
.rate-error { color: var(--text-muted); }

.skeleton {
  display: inline-block;
  width: 9ch;
  height: 1rem;
  border-radius: 4px;
  background: var(--surface-3);
  vertical-align: middle;
  animation: skeleton 1600ms var(--ease) infinite;
}
@keyframes skeleton { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }

.hero-visual { position: relative; margin-top: var(--s-700); }
.frame {
  padding: var(--s-75);
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
}
.frame img { width: 100%; height: auto; border-radius: 8px; }

.float-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: var(--s-50);
  padding: var(--s-200);
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: rgba(25, 30, 39, 0.86);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  text-align: left;
}
.float-card.one { left: var(--s-200); bottom: calc(var(--s-300) * -1); }
.float-card.two { right: var(--s-200); top: calc(var(--s-300) * -1); }
@media (min-width: 1320px) {
  .float-card.one { left: calc(var(--s-600) * -1); bottom: var(--s-900); }
  .float-card.two { right: calc(var(--s-600) * -1); top: var(--s-900); }
}
.float-card .row { display: flex; align-items: center; gap: var(--s-75); }

/* ===== Problema y solución ===== */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-200); }
.compare-card {
  padding: var(--s-400);
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.compare-card.after { background: var(--surface-2); border-color: rgba(165, 180, 252, 0.28); }
.compare-list { display: flex; flex-direction: column; gap: var(--s-200); }
.compare-list li { display: flex; gap: var(--s-100); align-items: flex-start; }
.compare-list .icon-md { margin-top: var(--s-25); }
.compare-card.before .icon-md { color: var(--text-subtle); }
.compare-card.after .icon-md { color: var(--green); }

/* ===== Beneficios en dos columnas ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-700); align-items: center; }
.split + .split { margin-top: var(--s-900); }
.split.flip > :first-child { order: 2; }

.checks { display: flex; flex-direction: column; gap: var(--s-100); }
.checks li { display: flex; gap: var(--s-100); align-items: flex-start; color: var(--text); }
.checks .icon-md { margin-top: var(--s-25); color: var(--green); }

.debt-card {
  padding: var(--s-300);
  border-radius: 24px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
}
.debt-amount {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  color: var(--amber);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--s-50);
  padding: var(--s-50) var(--s-100);
  border-radius: 9999px;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
}
.chip-indigo { background: rgba(165, 180, 252, 0.12); color: var(--accent-text); }
.chip-green { background: rgba(52, 211, 153, 0.12); color: var(--green); }
.chip-neutral { background: var(--surface-3); color: var(--text); }
.ledger { display: flex; flex-direction: column; gap: var(--s-75); padding: var(--s-200); border-radius: 12px; background: var(--surface-2); }
.ledger-row { display: flex; justify-content: space-between; gap: var(--s-200); }

/* ===== Funciones ===== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-200); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-200); }

.card {
  display: flex;
  flex-direction: column;
  gap: var(--s-100);
  padding: var(--s-300);
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition:
    transform var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    background-color var(--dur) var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); background: var(--surface-2); }
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: var(--s-75);
  border-radius: 12px;
  background: var(--surface-3);
  color: var(--accent-text);
}

/* ===== Tagline con revelado por palabra ===== */
.tagline { padding: var(--s-900) 0; }
.tagline-text {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  font-size: 3rem;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.tagline-text .line { display: block; text-wrap: balance; }
.tagline-text .w {
  color: rgba(233, 237, 245, 0.28);
  transition: color var(--dur) var(--ease);
}
.tagline-text .w.on { color: var(--text); }

/* ===== Pasos ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-200); counter-reset: paso; }
.step { position: relative; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  border: 1px solid var(--line-strong);
  background: var(--surface-3);
  font-family: var(--mono);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: var(--text);
}

/* ===== Testimonios ===== */
.quote { justify-content: space-between; gap: var(--s-300); }
.quote blockquote { margin: 0; }
.person { display: flex; align-items: center; gap: var(--s-100); }
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 9999px;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  color: #FFFFFF;
}
.avatar.a1 { background: #B45309; }
.avatar.a2 { background: #0F766E; }
.seals { display: flex; flex-wrap: wrap; gap: var(--s-75); }

/* ===== FAQ ===== */
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--s-700); align-items: start; }
.faq-aside { position: sticky; top: var(--s-900); }
.faq-list { display: flex; flex-direction: column; gap: var(--s-75); }

.faq {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.faq[open] { border-color: var(--line-strong); background: var(--surface-2); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-200);
  padding: var(--s-200) var(--s-300);
  cursor: pointer;
  list-style: none;
  border-radius: 16px;
  font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover .faq-icon { background: var(--surface-4); }
.faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 9999px;
  background: var(--surface-3);
  color: var(--text-muted);
  transition: transform var(--dur) var(--ease), background-color var(--dur-fast) var(--ease);
}
.faq[open] .faq-icon { transform: rotate(45deg); color: var(--text); }
.faq-body { padding: 0 var(--s-300) var(--s-300); color: var(--text-muted); }
.faq-body a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 4px; }

.faq::details-content {
  height: 0;
  overflow: clip;
  transition: height var(--dur) var(--ease), content-visibility var(--dur) var(--ease) allow-discrete;
}
.faq[open]::details-content { height: auto; }

.guarantee {
  display: flex;
  gap: var(--s-200);
  align-items: flex-start;
  padding: var(--s-300);
  border-radius: 24px;
  border: 1px solid rgba(52, 211, 153, 0.28);
  background: var(--surface);
}
.guarantee .icon { color: var(--green); }

/* ===== CTA final ===== */
.cta-final {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-300);
  padding: var(--s-800) var(--s-300);
  border-radius: 24px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  text-align: center;
}
.cta-final h2 { max-width: 680px; letter-spacing: -0.03em; }
.cta-final p { max-width: 560px; }
.cta-final img { border-radius: 16px; }
.cta-links { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-100); }

/* ===== Footer ===== */
.footer { padding: var(--s-700) 0 var(--s-600); background: var(--surface); }
.footer-top { display: flex; justify-content: space-between; gap: var(--s-600); flex-wrap: wrap; }
.footer-brand { max-width: 320px; }
.footer-brand img { height: 40px; width: auto; align-self: flex-start; }
.footer-cols { display: flex; gap: var(--s-700); flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: var(--s-100); }
.footer-col h3 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; color: var(--text-subtle); }
.footer-col a {
  display: inline-flex;
  align-items: center;
  gap: var(--s-75);
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--text-muted);
  transition: color var(--dur-fast) var(--ease);
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: var(--s-200);
  flex-wrap: wrap;
  margin-top: var(--s-600);
  padding-top: var(--s-300);
  color: var(--text-subtle);
}
.footer-legal { display: flex; gap: var(--s-300); }
.footer-legal a { transition: color var(--dur-fast) var(--ease); }
.footer-legal a:hover { color: var(--text); }

/* ===== Barra móvil ===== */
.mobile-cta {
  position: fixed;
  left: var(--s-200);
  right: var(--s-200);
  bottom: max(var(--s-200), env(safe-area-inset-bottom));
  z-index: 80;
  display: none;
  padding: var(--s-75);
  border-radius: 9999px;
  border: 1px solid var(--line-strong);
  background: rgba(18, 22, 29, 0.8);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  transform: translateY(160%);
  transition: transform var(--dur) var(--ease);
}
.mobile-cta .btn { width: 100%; }
.mobile-cta.show { transform: translateY(0); }

/* ===== Páginas legales y 404 ===== */
.page { padding: var(--s-900) 0; }
.page > .wrap { padding-top: var(--s-700); }
.prose { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--s-300); }
.prose h1 { font-size: 2.25rem; line-height: 2.5rem; letter-spacing: -0.02em; }
.prose h2 { font-size: 1.25rem; line-height: 1.75rem; margin-top: var(--s-200); }
.prose p, .prose li { color: var(--text-muted); }
.prose ul { display: flex; flex-direction: column; gap: var(--s-75); padding-left: var(--s-300); list-style: disc; }
.prose a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 4px; }

.not-found { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: var(--s-900) var(--s-300); }
.not-found .code {
  font-size: 8rem;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, #FFFFFF 0%, #9B9B9B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===== Animación de entrada ===== */
@media (scripting: enabled) {
  .reveal {
    opacity: 0;
    transform: translateY(64px);
    filter: blur(12px);
    transition:
      opacity 1000ms var(--ease),
      transform 1000ms var(--ease),
      filter 1000ms var(--ease);
    transition-delay: var(--d, 0ms);
  }
  .reveal.in { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .nav-links, .nav .nav-cta { display: none; }
  .burger { display: inline-flex; }
  .nav { gap: var(--s-400); }
}

@media (max-width: 900px) {
  .section { padding: var(--s-700) 0; }
  .split, .faq-grid { grid-template-columns: 1fr; gap: var(--s-500); }
  .split.flip > :first-child { order: 0; }
  .split + .split { margin-top: var(--s-700); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .faq-aside { position: static; }
  h2.text-4xl { font-size: 1.875rem; line-height: 2.25rem; }
  .mobile-cta { display: block; }
  .footer { padding-bottom: var(--s-900); }
}

@media (max-width: 640px) {
  .wrap { padding: 0 var(--s-200); }
  .hero-copy { margin-top: var(--s-400); }
  .hero h1 { font-size: 2.25rem; line-height: 2.5rem; letter-spacing: -0.03em; }
  .hero-sub { font-size: 1rem; line-height: 1.5rem; }
  .hero-visual { margin-top: var(--s-600); }
  .float-card { display: none; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .compare-card { padding: var(--s-300); }
  .tagline-text { font-size: 2.25rem; line-height: 2.5rem; }
  .cta-final { padding: var(--s-600) var(--s-200); }
  .cta-final h2 { font-size: 1.875rem; line-height: 2.25rem; }
  .cta-links .btn { width: 100%; }
  .footer-cols { flex-direction: column; gap: var(--s-400); }
  .not-found .code { font-size: 6rem; }
  .faq summary { padding: var(--s-200); }
  .faq-body { padding: 0 var(--s-200) var(--s-200); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0ms !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .tagline-text .w { color: var(--text); }
}
