/* ---------- Tokens ---------- */
:root {
  --blue: #1D5FBF;
  --blue-deep: #164A99;
  --blue-wash: #E8EFFA;
  --ink: #0B1530;
  --ink-soft: #2E3A55;
  --muted: #5E6880;
  --paper: #F6F4EF;
  --white: #FFFFFF;
  --line: #E2DED4;
  --line-cool: #E3E7EF;
  --ok: #136C35;
  --ok-wash: #DCF2E3;
  --warn: #8F4C04;
  --warn-wash: #FCEFD9;
  --danger: #B42318;
  --danger-wash: #FDE4E1;

  --font-display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.45vw, 1.4rem);
  --step-2: clamp(1.5rem, 1.25rem + 1.1vw, 2.1rem);
  --step-3: clamp(2rem, 1.5rem + 2.4vw, 3.2rem);
  --step-4: clamp(2.6rem, 1.6rem + 5vw, 5.4rem);

  --section-pad: clamp(64px, 6vw + 32px, 128px);
  --gutter: clamp(16px, 4vw, 40px);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; min-width: 0; }

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

body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink-soft);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  font-variation-settings: 'wdth' 88;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h2 { font-size: var(--step-3); line-height: 1.02; }
h3 { font-size: var(--step-1); line-height: 1.2; letter-spacing: -0.01em; }
p { text-wrap: pretty; }
strong { color: var(--ink); font-weight: 600; }

a { color: var(--blue); text-decoration: none; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.num { font-variant-numeric: tabular-nums; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }

.section { padding: var(--section-pad) 0; }
.section--paper { background: var(--paper); }
section[id] { scroll-margin-top: 76px; }

.section-intro { max-width: 640px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-intro p { margin-top: 16px; font-size: var(--step-1); line-height: 1.5; color: var(--muted); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  padding: 10px 16px; border-radius: 10px;
  background: var(--ink); color: var(--white); font-weight: 600;
}
.skip-link:focus { top: 12px; }
main:focus { outline: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  font: 600 var(--step-0)/1 var(--font-body);
  border: 1.5px solid transparent; border-radius: 12px;
  cursor: pointer; white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease-out), box-shadow 0.2s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue); color: var(--white); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 6px 16px -6px rgba(29, 95, 191, 0.6); }
.btn--primary:hover { background: var(--blue-deep); color: var(--white); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--light { background: var(--white); color: var(--blue); }
.btn--light:hover { background: var(--blue-wash); color: var(--blue-deep); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.5); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.1); color: var(--white); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 0.95rem; border-radius: 10px; }

.link-underline {
  color: var(--blue); font-weight: 600;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size 0.3s var(--ease-out);
  padding-bottom: 2px;
}
.link-underline:hover { background-size: 100% 1.5px; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 600; line-height: 1.5; white-space: nowrap;
}
.badge--ok { background: var(--ok-wash); color: var(--ok); }
.badge--warn { background: var(--warn-wash); color: var(--warn); }
.badge--danger { background: var(--danger-wash); color: var(--danger); }

/* ---------- Header ---------- */
#header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246, 244, 239, 0.86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background-color 0.3s;
}
#header.scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, 0.9); }

#header nav {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 68px; position: relative;
}

.logo { display: inline-flex; flex-direction: column; line-height: 1; color: var(--ink); }
.logo-main {
  font-family: var(--font-display); font-weight: 800; font-size: 1.6rem;
  letter-spacing: -0.04em; font-variation-settings: 'wdth' 80;
  color: var(--blue);
}
.logo-sub { font-size: 0.72rem; font-weight: 600; color: var(--muted); letter-spacing: 0.02em; margin-top: 2px; }
.logo:hover { color: var(--ink); }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 11px;
  background: transparent; border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
}
.nav-toggle-bar { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-panel {
  display: none;
  position: absolute; top: calc(100% + 1px); left: calc(var(--gutter) * -1); right: calc(var(--gutter) * -1);
  background: var(--white); border-bottom: 1px solid var(--line);
  padding: 12px var(--gutter) 20px;
  box-shadow: 0 24px 40px -24px rgba(11, 21, 48, 0.25);
}
.nav-panel.open { display: block; }

.nav-menu { list-style: none; display: flex; flex-direction: column; }
.nav-menu a {
  display: flex; align-items: center; min-height: 48px;
  color: var(--ink-soft); font-weight: 500; border-bottom: 1px solid var(--line-cool);
}
.nav-menu a:hover { color: var(--blue); }
.nav-buttons { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav-panel {
    display: flex !important; align-items: center; gap: 36px;
    position: static; padding: 0; background: none; border: 0; box-shadow: none;
  }
  .nav-menu { flex-direction: row; gap: 28px; }
  .nav-menu a {
    min-height: 0; border: 0; font-size: 0.95rem;
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
    transition: background-size 0.3s var(--ease-out), color 0.2s;
    padding: 4px 0;
  }
  .nav-menu a:hover { background-size: 100% 1.5px; }
  .nav-buttons { flex-direction: row; margin-top: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--paper);
  padding: clamp(40px, 6vw, 96px) 0 clamp(64px, 8vw, 120px);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(11, 21, 48, 0.14) 1px, transparent 1.2px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 70% 70% at 75% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 75% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}

.hero-grid { position: relative; display: grid; gap: clamp(40px, 5vw, 64px); align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.05fr 1fr; } }

.hero h1 {
  font-size: var(--step-4);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.025em;
  word-spacing: 0.06em;
  font-variation-settings: 'wdth' 84, 'opsz' 96;
}
.hero h1 .line { display: block; }

.hero-lead { margin-top: 24px; max-width: 34rem; font-size: var(--step-1); line-height: 1.5; color: var(--ink-soft); }
.hero-lead strong { font-weight: 600; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 479px) { .hero-actions .btn { flex: 1 1 100%; } }

.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; color: var(--muted); font-size: var(--step--1); }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 16px; height: 16px; color: var(--ok); flex-shrink: 0; }

/* Live console */
.console {
  position: relative;
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: 20px;
  box-shadow: 10px 10px 0 var(--blue);
  overflow: hidden;
}
.console-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px; border-bottom: 1px solid var(--line-cool); background: #FAFBFD;
}
.console-dot { width: 10px; height: 10px; border-radius: 50%; background: #D7DCE6; }
.console-url {
  margin-left: 10px; padding: 3px 12px; border-radius: 6px;
  background: var(--white); border: 1px solid var(--line-cool);
  font-size: 0.78rem; color: var(--muted);
}
.console-body { padding: clamp(16px, 2.5vw, 24px); }
.console-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.console-title { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--muted); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(21, 128, 61, 0.5); }
.js .is-running .live-dot { animation: live 2s ease-out infinite; }
@keyframes live { 70%, 100% { box-shadow: 0 0 0 8px rgba(21, 128, 61, 0); } }

.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 18px; }
@media (min-width: 560px) { .kpis { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
@media (min-width: 1024px) and (max-width: 1279px) { .kpis { grid-template-columns: 1fr 1fr; } }
.kpi { padding: 12px 14px; border-radius: 12px; background: var(--paper); }
.kpi dt { font-size: 0.75rem; color: var(--muted); }
.kpi dd { white-space: nowrap; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.05rem, 0.85rem + 0.7vw, 1.35rem); color: var(--ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.kpi--accent { background: var(--blue); }
.kpi--accent dt { color: rgba(255, 255, 255, 0.9); }
.kpi--accent dd { color: var(--white); }

.ledger { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
.ledger th { text-align: left; font-weight: 500; font-size: 0.75rem; color: var(--muted); padding: 0 8px 8px; border-bottom: 1px solid var(--line-cool); }
.ledger td { padding: 11px 8px; border-bottom: 1px solid var(--line-cool); color: var(--ink-soft); white-space: nowrap; }
.ledger tr:last-child td { border-bottom: 0; }
.ledger td:nth-child(3) { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.ledger .is-new td { animation: row-in 0.9s var(--ease-out); }
@keyframes row-in {
  from { background: var(--blue-wash); opacity: 0; transform: translateY(-6px); }
  40% { background: var(--blue-wash); opacity: 1; transform: none; }
  to { background: transparent; }
}
@media (max-width: 479px) { .ledger th:nth-child(2), .ledger td:nth-child(2) { display: none; } }

.toast {
  position: absolute; right: 16px; bottom: 16px; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  max-width: calc(100% - 32px);
  padding: 10px 14px; border-radius: 12px;
  background: var(--ink); color: var(--white); font-size: 0.84rem;
  box-shadow: 0 16px 32px -12px rgba(11, 21, 48, 0.5);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.toast.show { opacity: 1; transform: none; }
.toast .badge { flex-shrink: 0; }

/* Hero load sequence */
.js .hero .line, .js .hero-lead, .js .hero-actions, .js .hero-facts, .js .console {
  animation: rise 0.9s var(--ease-out) both;
}
.js .hero .line:nth-child(2) { animation-delay: 0.08s; }
.js .hero-lead { animation-delay: 0.18s; }
.js .hero-actions { animation-delay: 0.26s; }
.js .hero-facts { animation-delay: 0.32s; }
.js .console { animation-delay: 0.3s; animation-duration: 1.1s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Problem: before / with Zeep ---------- */
.compare { display: grid; gap: 16px; }
@media (min-width: 860px) { .compare { grid-template-columns: 1fr 1fr; gap: 0; } }

.compare-col { padding: clamp(28px, 4vw, 48px); border-radius: 20px; }
.compare-col h3 { font-size: var(--step-2); margin-bottom: 24px; }
.compare-col ul { list-style: none; display: grid; gap: 20px; }
.compare-col li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; }
.compare-col li svg { width: 22px; height: 22px; margin-top: 2px; }
.compare-col li strong { display: block; font-size: 1.05rem; }
.compare-col li span { display: block; font-size: 0.95rem; }

.compare-before { background: var(--white); border: 1.5px dashed #C9C3B5; color: var(--muted); }
.compare-before li svg { color: #A39C8C; }
.compare-before li strong { color: var(--ink-soft); }

.compare-after { background: var(--ink); color: rgba(255, 255, 255, 0.72); }
.compare-after h3, .compare-after li strong { color: var(--white); }
.compare-after li svg { color: #7FB0F5; }

@media (min-width: 860px) {
  .compare-before { border-radius: 20px 0 0 20px; border-right: 0; }
  .compare-after { border-radius: 0 20px 20px 0; transform: translateY(-16px); padding-bottom: calc(clamp(28px, 4vw, 48px) + 16px); box-shadow: 0 30px 60px -30px rgba(11, 21, 48, 0.55); }
}

/* ---------- Features: bento ---------- */
.bento { list-style: none; display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(12, 1fr); }
  .tile--ventas { grid-column: span 7; }
  .tile--stock { grid-column: span 5; }
  .tile--clientes, .tile--proveedores, .tile--compras { grid-column: span 4; }
  .tile--notif { grid-column: span 5; }
  .tile--equipo { grid-column: span 3; }
  .tile--reportes { grid-column: span 4; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .tile--ventas, .tile--notif { grid-column: span 2; }
}

.tile {
  display: flex; flex-direction: column; gap: 8px;
  padding: clamp(20px, 2.4vw, 28px);
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
}
.tile p { color: var(--muted); font-size: 0.97rem; max-width: 42ch; }
.tile-visual { margin-top: auto; padding-top: 20px; }

.tile--notif { background: var(--blue); border-color: var(--blue); }
.tile--notif h3 { color: var(--white); }
.tile--notif p { color: rgba(255, 255, 255, 0.8); }

/* Ventas sparkline */
.spark { width: 100%; height: 96px; }
.spark-line { fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.spark-area { fill: url(#sparkFill); }
.spark-meta { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; font-size: 0.85rem; color: var(--muted); }
.spark-meta b { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

/* Stock bars */
.stock-list { list-style: none; display: grid; gap: 14px; }
.stock-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; font-size: 0.88rem; color: var(--ink-soft); }
.stock-bar { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: var(--line-cool); overflow: hidden; }
.stock-bar span { display: block; height: 100%; border-radius: inherit; background: var(--ok); }
.stock-row--low .stock-bar span { background: var(--warn); }

/* Clientes mini list */
.mini-list { list-style: none; display: grid; gap: 8px; font-size: 0.88rem; }
.mini-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; background: var(--paper); }
.mini-list b { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }

/* WhatsApp bubble */
.bubble {
  position: relative; max-width: 300px; padding: 12px 14px 22px;
  background: #DCF8C6; color: #1F2A1C; border-radius: 14px 14px 14px 4px;
  font-size: 0.9rem; line-height: 1.45;
  box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.35);
}
.bubble time { position: absolute; right: 12px; bottom: 6px; font-size: 0.7rem; color: #5D6B57; }
.channels { display: flex; gap: 8px; margin-top: 12px; }
.channel { padding: 4px 10px; border-radius: 999px; background: rgba(11, 21, 48, 0.3); color: var(--white); font-size: 0.78rem; font-weight: 600; }

/* Equipo */
.avatars { display: flex; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700; font-size: 0.85rem; color: var(--white);
  border: 2px solid var(--white); margin-left: -8px;
}
.avatar:first-child { margin-left: 0; }
.roles { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.role { padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); font-size: 0.78rem; color: var(--ink-soft); }

/* Reportes bars */
.bars { display: flex; align-items: flex-end; gap: 8px; height: 88px; }
.bars span { flex: 1; border-radius: 6px 6px 2px 2px; background: var(--blue-wash); }
.bars span:last-child { background: var(--blue); }

/* ---------- Screens (tabs) ---------- */
.screens { max-width: 880px; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); margin-bottom: 20px; }
.tab {
  min-height: 40px; padding: 0 18px; border: 0; border-radius: 9px; background: transparent;
  font: 600 0.95rem var(--font-body); color: var(--muted); cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 3px rgba(11, 21, 48, 0.12); }

.screen-window { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--white); }
.screen-window .console-bar { background: var(--paper); border-color: var(--line); }
.screen-panel { padding: clamp(16px, 3vw, 28px); }
.screen-panel[hidden] { display: none; }
.js .screen-panel:not([hidden]) { animation: fade 0.35s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.screen-panel h3 { margin-bottom: 14px; }

/* ---------- Steps ---------- */
.steps { list-style: none; position: relative; display: grid; gap: 28px; counter-reset: step; }
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .steps::before {
    content: ''; position: absolute; top: 22px; left: 22px; right: calc((100% - 72px) / 4 - 22px); height: 2px;
    background: var(--line);
  }
  .steps::after {
    content: ''; position: absolute; top: 22px; left: 22px; right: calc((100% - 72px) / 4 - 22px); height: 2px;
    background: var(--blue); transform-origin: left; transform: scaleX(1);
  }
  .js .steps::after { transform: scaleX(0); transition: transform 1.4s var(--ease-out); }
  .js .steps.is-visible::after { transform: scaleX(1); }
}
.step { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-content: start; }
@media (min-width: 860px) { .step { grid-template-columns: 1fr; } }
.step::before {
  counter-increment: step; content: counter(step);
  position: relative; z-index: 1;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white); border: 2px solid var(--blue); color: var(--blue);
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 0.97rem; }

/* ---------- Pricing ---------- */
.plans { display: grid; gap: 16px; align-items: stretch; }
@media (min-width: 700px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .plans { grid-template-columns: repeat(4, 1fr); } }

.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 28px 24px; border-radius: 18px;
  background: var(--white); border: 1px solid var(--line);
}
.plan-name { font-size: 1.25rem; }
.plan-desc { margin-top: 6px; color: var(--muted); font-size: 0.95rem; min-height: 3em; }
.plan-amount {
  margin: 20px 0 22px;
  font-family: var(--font-display); font-weight: 800; color: var(--ink);
  font-size: clamp(2rem, 1.6rem + 1.2vw, 2.5rem); letter-spacing: -0.03em; line-height: 1;
  font-variation-settings: 'wdth' 82; font-variant-numeric: tabular-nums;
}
.plan-period { font-family: var(--font-body); font-size: 0.95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan-amount--custom { font-size: clamp(1.6rem, 1.4rem + 0.8vw, 2rem); }
.plan .btn { width: 100%; }
.plan-limits { list-style: none; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-cool); display: grid; gap: 10px; font-size: 0.94rem; }
.plan-limits li { display: flex; gap: 10px; align-items: baseline; }
.plan-limits li::before { content: ''; flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); transform: translateY(-2px); }

.plan--featured { background: var(--ink); border-color: var(--ink); color: rgba(255, 255, 255, 0.75); box-shadow: 0 30px 60px -30px rgba(11, 21, 48, 0.6); }
.plan--featured .plan-name, .plan--featured .plan-amount { color: var(--white); }
.plan--featured .plan-desc, .plan--featured .plan-period { color: rgba(255, 255, 255, 0.7); }
.plan--featured .plan-limits { border-color: rgba(255, 255, 255, 0.14); }
.plan--featured .plan-limits li::before { background: #7FB0F5; }
.plan-flag {
  position: absolute; top: -12px; left: 24px;
  padding: 4px 12px; border-radius: 999px;
  background: var(--blue); color: var(--white); font-size: 0.8rem; font-weight: 600;
}
@media (min-width: 1100px) { .plan--featured { transform: translateY(-12px); } }

.pricing-trial { margin-top: 12px !important; font-size: var(--step-0) !important; font-weight: 600; color: var(--blue) !important; }
.pricing-note { margin-top: 28px; font-size: 0.9rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; gap: 32px; }
@media (min-width: 960px) {
  .faq-layout { grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
  .faq-aside { position: sticky; top: 100px; }
}
.faq-aside p { margin-top: 16px; color: var(--muted); }
.faq-aside .link-underline { display: inline-block; margin-top: 8px; }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; min-height: 44px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--ink);
  font-variation-settings: 'wdth' 92;
  transition: color 0.2s;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question:hover { color: var(--blue); }
.faq-icon { position: relative; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid currentColor; transition: transform 0.3s var(--ease-out), background-color 0.2s; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; top: 50%; left: 50%; width: 11px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 48px 24px 0; color: var(--muted); max-width: 62ch; }
.js .faq-item[open] .faq-answer { animation: fade 0.3s ease; }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden;
  background: var(--blue); color: var(--white);
  padding: clamp(72px, 8vw, 128px) 0;
}
.cta::before, .cta::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.cta::before {
  top: -140px; right: -120px; width: 440px; height: 440px;
  border: 1.5px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.06);
  animation: orbit 16s ease-in-out infinite;
}
.cta::after {
  bottom: -160px; left: -100px; width: 320px; height: 320px;
  background: rgba(11, 21, 48, 0.18);
  animation: orbit 20s ease-in-out infinite reverse;
}
@keyframes orbit {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-60px, 50px) scale(1.08); }
  66% { transform: translate(30px, 90px) scale(0.94); }
}
.cta-inner { position: relative; z-index: 1; max-width: 760px; }
.cta h2 { color: var(--white); font-size: var(--step-3); }
.cta p { margin-top: 16px; font-size: var(--step-1); color: rgba(255, 255, 255, 0.85); max-width: 40rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 479px) { .cta-actions .btn { flex: 1 1 100%; } }

/* ---------- Footer ---------- */
footer { background: var(--ink); color: rgba(255, 255, 255, 0.7); padding: clamp(48px, 5vw, 72px) 0 28px; }
.footer-grid { display: grid; gap: 36px; margin-bottom: 48px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 48px; } }
footer .logo-main { color: var(--white); }
footer .logo-sub { color: rgba(255, 255, 255, 0.55); }
.footer-about { margin-top: 16px; max-width: 340px; font-size: 0.95rem; }
.footer-heading { font-family: var(--font-body); font-size: 0.9rem; font-weight: 600; color: var(--white); letter-spacing: 0; margin-bottom: 12px; }
.footer-links { list-style: none; display: grid; gap: 4px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 36px; color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.85rem; }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s var(--ease-out);
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; fill: var(--white); }
@media (max-width: 480px) { .whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; } }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
  

/* ---------- Multi-page additions ---------- */
.nav-menu a[aria-current="page"] { color: var(--blue); }
@media (min-width: 900px) { .nav-menu a[aria-current="page"] { background-size: 100% 1.5px; } }

.page-hero { background: var(--paper); padding: clamp(36px, 5vw, 80px) 0 clamp(40px, 5vw, 72px); }
.page-hero h1 {
  font-size: clamp(2.3rem, 1.5rem + 3.6vw, 4.2rem);
  line-height: 0.98; font-weight: 800; letter-spacing: -0.03em;
  font-variation-settings: 'wdth' 84, 'opsz' 96;
  max-width: 18ch;
}
.page-hero .lead { margin-top: 20px; max-width: 40rem; font-size: var(--step-1); line-height: 1.5; color: var(--ink-soft); }
.page-hero .hero-actions { margin-top: 28px; }

.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; font-size: var(--step--1); color: var(--muted); }
.breadcrumb li + li::before { content: '/'; margin-right: 8px; color: #B5AE9F; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue); }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chips a {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--white);
  color: var(--ink-soft); font-size: 0.9rem; font-weight: 500;
  transition: border-color 0.2s, color 0.2s;
}
.chips a:hover { border-color: var(--blue); color: var(--blue); }

.module { display: grid; gap: 20px 48px; padding: clamp(32px, 4vw, 48px) 0; border-top: 1px solid var(--line); scroll-margin-top: 84px; }
.module:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 900px) { .module { grid-template-columns: 1fr 1.3fr; } }
.module h2 { font-size: var(--step-2); line-height: 1.05; }
.module-intro p { margin-top: 12px; color: var(--muted); max-width: 34rem; }
.module h3 { font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; color: var(--ink); letter-spacing: 0; margin: 0 0 10px; }
.module h3:not(:first-child) { margin-top: 24px; }
.checklist { list-style: none; display: grid; gap: 10px; }
.checklist li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; color: var(--ink-soft); }
.checklist li::before {
  content: ''; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%;
  background: var(--blue-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%231D5FBF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
@media (min-width: 640px) { .checklist--2 { grid-template-columns: 1fr 1fr; gap: 12px 32px; } }

.more-link { display: inline-block; margin-top: 32px; }

.teaser {
  display: grid; gap: 24px; align-items: center;
  padding: clamp(28px, 4vw, 44px); border-radius: 20px;
  background: var(--ink); color: rgba(255, 255, 255, 0.75);
}
@media (min-width: 860px) { .teaser { grid-template-columns: 1fr auto; } }
.teaser h2 { color: var(--white); font-size: var(--step-2); }
.teaser p { margin-top: 10px; max-width: 40rem; }
.teaser .btn { justify-self: start; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.compare-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.95rem; }
.compare-table th, .compare-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line-cool); }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table thead th { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); background: var(--paper); }
.compare-table tbody th { font-weight: 500; color: var(--muted); }
.compare-table td { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.compare-table .is-featured { background: var(--blue-wash); }

.split { display: grid; gap: 32px; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: 48px; } }
.panel-box { padding: clamp(24px, 3vw, 36px); border-radius: 18px; background: var(--white); border: 1px solid var(--line); }
.panel-box h2 { font-size: var(--step-2); margin-bottom: 12px; }
.panel-box p { color: var(--muted); margin-bottom: 18px; }

.steps--detail .step p { max-width: 30ch; }

.not-found { min-height: 60vh; display: grid; align-content: center; }
.not-found h1 { font-size: clamp(2.3rem, 1.5rem + 3.6vw, 4.2rem); line-height: 0.98; font-weight: 800; letter-spacing: -0.03em; }
.not-found .lead { margin-top: 16px; font-size: var(--step-1); color: var(--ink-soft); }
.h3 { font-size: var(--step-1); line-height: 1.2; letter-spacing: -0.01em; }
.step .h3 { margin-bottom: 6px; }
