/* ===========================================================================
   Nparla — sitio · sistema de diseño (tema t-native: vibrancy macOS, azul #0a84ff)
   Tokens claros en :root · oscuros en [data-theme="dark"].
   Reusa el shell de la app (.mock/.tb/.sb/.convo/.msg) para que el sitio
   respire la app. Una sola hoja, sin dependencias.
   =========================================================================== */

/* ---------- tokens · claro (t-native-light) ---------- */
:root {
  color-scheme: light;
  --font: "Manrope", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;
  --font-app: -apple-system, "SF Pro Display", "SF Pro Text", system-ui, sans-serif;

  --wall: linear-gradient(155deg, #e3ebf8, #eef2f8 55%, #e7edf7);
  --glow-a: radial-gradient(900px 520px at 84% -10%, rgba(10,132,255,.16), transparent 70%);
  --glow-b: radial-gradient(760px 520px at -6% 108%, rgba(10,132,255,.10), transparent 70%);

  --text: #171a21;
  --text2: #535a67;
  --text3: #838a98;

  --card: rgba(255,255,255,.72);
  --card-solid: #ffffff;
  --card-on: rgba(10,132,255,.10);
  --chip: rgba(15,23,42,.06);
  --chip2: rgba(255,255,255,.70);
  --bd: rgba(15,23,42,.12);
  --bd2: rgba(15,23,42,.07);

  --accent: #0a84ff;
  --accent-soft: rgba(10,132,255,.13);
  --accent-ink: #0a6fe0;
  --on-accent: #ffffff;
  --live: #34d399;

  --mock-bg: #eef2f8;
  --tbbg: rgba(255,255,255,.70);
  --panel: rgba(255,255,255,.60);
  --header-bg: rgba(244,247,252,.72);

  --shadow-win: 0 42px 84px -34px rgba(20,40,80,.38);
  --shadow-card: 0 20px 44px -26px rgba(20,40,80,.30);
  --cta-shadow: 0 12px 28px -10px rgba(10,132,255,.50);

  --radius: 18px;
  --radius-sm: 11px;
  --radius-win: 14px;
  --blur: 22px;

  --maxw: 1140px;
}

/* ---------- tokens · oscuro (t-native) ---------- */
[data-theme="dark"] {
  color-scheme: dark;
  --wall: linear-gradient(160deg, #242d42, #141925 58%, #1c2436);
  --glow-a: radial-gradient(960px 540px at 84% -8%, rgba(10,132,255,.24), transparent 70%);
  --glow-b: radial-gradient(820px 560px at -6% 108%, rgba(58,160,255,.14), transparent 70%);

  --text: #f2f4f8;
  --text2: #c0c6d2;
  --text3: #8b93a3;

  --card: rgba(255,255,255,.055);
  --card-solid: #1c2330;
  --card-on: rgba(10,132,255,.16);
  --chip: rgba(255,255,255,.10);
  --chip2: rgba(255,255,255,.05);
  --bd: rgba(255,255,255,.13);
  --bd2: rgba(255,255,255,.07);

  --accent: #0a84ff;
  --accent-soft: rgba(10,132,255,.20);
  --accent-ink: #7fbcff;
  --on-accent: #ffffff;

  --mock-bg: #1b2130;
  --tbbg: rgba(40,46,62,.60);
  --panel: rgba(36,42,58,.50);
  --header-bg: rgba(18,23,33,.66);

  --shadow-win: 0 48px 92px -32px rgba(0,0,0,.62);
  --shadow-card: 0 26px 54px -30px rgba(0,0,0,.55);
  --cta-shadow: 0 12px 30px -10px rgba(10,132,255,.50);
}

/* ---------- reset / base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--wall) fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: var(--glow-a), var(--glow-b);
}
img, svg { max-width: 100%; display: block; }
/* Iconos inline (sin atributo width): tamaño predecible = 1em. Los contenedores
   con tamaño propio (.ic, .trust-row, etc.) lo sobrescriben por especificidad.
   Evita que flexbox los estire o los comprima de forma impredecible. */
svg:not([width]) { width: 1em; height: 1em; flex: none; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -.02em; margin: 0; font-weight: 800; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.kicker {
  font-family: var(--mono); font-size: 12px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--accent-ink); font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--accent); color: #fff; padding: 10px 16px;
  border-radius: 10px; font-weight: 700; transition: top .15s ease;
}
.skip-link:focus { top: 12px; text-decoration: none; }
.eyebrow { color: var(--text2); }
.section { padding: 84px 0; }
.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); margin: 12px 0 14px; }
.section-head p { color: var(--text2); font-size: 17px; }

/* ===========================================================================
   HEADER
   =========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(var(--blur));
  -webkit-backdrop-filter: saturate(180%) blur(var(--blur));
  border-bottom: 1px solid var(--bd2);
}
.site-header .container {
  display: flex; align-items: center; gap: 18px; height: 64px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand .logo {
  width: 30px; height: 30px; border-radius: 9px; display: block;
  box-shadow: 0 8px 20px -8px rgba(10,132,255,.6);
}
.nav-main { display: flex; align-items: center; gap: 4px; margin-left: 8px; flex-shrink: 0; }
.nav-main a, .nav-main .dropdown > button {
  font: inherit; font-size: 14.5px; font-weight: 600; color: var(--text2);
  background: none; border: 0; cursor: pointer; padding: 8px 12px; border-radius: 9px;
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
}
.nav-main .dropdown > button svg { flex: 0 0 auto; }
.nav-main a:hover, .nav-main .dropdown > button:hover { color: var(--text); background: var(--chip); text-decoration: none; }
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 280px;
  background: var(--card-solid); border: 1px solid var(--bd); border-radius: 14px;
  box-shadow: var(--shadow-card); padding: 8px; display: none; flex-direction: column; gap: 2px;
}
.dropdown[data-open="true"] .dropdown-menu, .dropdown:hover .dropdown-menu { display: flex; }
/* puente invisible sobre el hueco botón↔menú: evita que el :hover se pierda al
   bajar el mouse hacia el menú (zona muerta clásica de los dropdowns). */
.dropdown-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.dropdown-menu a {
  display: flex; flex-direction: column; gap: 2px; padding: 9px 12px; border-radius: 10px;
  color: var(--text); font-weight: 700; font-size: 14px;
}
.dropdown-menu a small { font-weight: 500; color: var(--text3); font-size: 12.5px; }
.dropdown-menu a:hover { background: var(--accent-soft); text-decoration: none; }
.header-spacer { flex: 1; }
.header-actions { display: flex; align-items: center; gap: 8px; }

/* language switcher */
.lang-switch { position: relative; }
.lang-switch > button {
  font: inherit; font-weight: 600; font-size: 14px; color: var(--text2);
  background: var(--chip2); border: 1px solid var(--bd); border-radius: 10px;
  padding: 8px 11px; cursor: pointer; display: inline-flex; align-items: center; gap: 7px;
}
.lang-switch > button:hover { color: var(--text); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 170px;
  background: var(--card-solid); border: 1px solid var(--bd); border-radius: 12px;
  box-shadow: var(--shadow-card); padding: 6px; display: none; flex-direction: column; gap: 2px;
}
.lang-switch[data-open="true"] .lang-menu { display: flex; }
.lang-menu a { padding: 8px 11px; border-radius: 8px; color: var(--text); font-weight: 600; font-size: 14px; display: flex; justify-content: space-between; gap: 12px; }
.lang-menu a[aria-current="true"] { color: var(--accent-ink); background: var(--accent-soft); }
.lang-menu a:hover { background: var(--chip); text-decoration: none; }
.lang-menu a small { font-family: var(--mono); color: var(--text3); font-size: 11px; text-transform: uppercase; }

/* theme toggle */
.theme-toggle {
  width: 40px; height: 40px; border-radius: 10px; cursor: pointer;
  background: var(--chip2); border: 1px solid var(--bd); color: var(--text2);
  display: grid; place-items: center;
}
.theme-toggle:hover { color: var(--text); }
.theme-toggle .sun { display: none; }
.theme-toggle .moon { display: block; }
[data-theme="dark"] .theme-toggle .sun { display: block; }
[data-theme="dark"] .theme-toggle .moon { display: none; }

/* hamburger (mobile) */
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 10px; background: var(--chip2); border: 1px solid var(--bd); color: var(--text); cursor: pointer; }

/* ===========================================================================
   BOTONES / BADGES
   =========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: inherit; font-weight: 700; font-size: 15px; cursor: pointer;
  padding: 13px 22px; border-radius: 12px; border: 1px solid transparent; transition: transform .12s ease, box-shadow .2s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--cta-shadow); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-ghost { background: var(--chip2); color: var(--text); border-color: var(--bd); }
.btn-ghost:hover { background: var(--chip); }
.btn-lg { padding: 15px 26px; font-size: 16px; }

/* Badge oficial de Apple "Download on the Mac App Store" (imagen localizada).
   blk (negro) en tema claro, wht (blanco) en oscuro — toggle por CSS. */
.appstore { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.appstore:hover { text-decoration: none; }
.appstore img { height: 44px; width: auto; display: block; }
.appstore .as-wht { display: none; }
.appstore .as-blk { display: block; }
[data-theme="dark"] .appstore .as-wht { display: block; }
[data-theme="dark"] .appstore .as-blk { display: none; }
.appstore.is-soon { cursor: default; }
.appstore .as-soon {
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  background: var(--accent); color: #fff; padding: 3px 8px; border-radius: 20px;
}

/* ── Guía de instalación (tutorial) ─────────────────────────────────────── */
.guide { padding: 52px 0 80px; }
.guide-head { max-width: 720px; margin: 0 auto 32px; text-align: center; }
.guide-head h1 { font-size: clamp(28px, 4vw, 40px); margin: 10px 0 12px; }
.guide-head .intro { color: var(--text2); font-size: 17px; line-height: 1.6; }
.guide-video {
  max-width: 860px; margin: 0 auto 48px; aspect-ratio: 16 / 9;
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--bd); background: var(--card);
}
.guide-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.guide-video.is-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: linear-gradient(160deg, var(--accent-soft), transparent);
}
.guide-video .vp-play {
  width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: #fff; box-shadow: var(--cta-shadow);
}
.guide-video .vp-play svg { width: 26px; height: 26px; margin-left: 3px; }
.guide-video .vp-label { font-weight: 700; font-size: 18px; color: var(--text); }
.guide-video .vp-soon { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--text3); }
.guide-steps { list-style: none; padding: 0; margin: 0 auto; max-width: 980px; display: flex; flex-direction: column; gap: 26px; }
.guide-step {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center;
  background: var(--card); border: 1px solid var(--bd); border-radius: var(--radius); padding: 24px;
}
.guide-step:nth-child(even) .step-text { order: 2; }
.step-text { display: flex; gap: 16px; }
.step-num {
  flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 800; display: grid; place-items: center;
}
.step-text h2 { font-size: 20px; margin: 3px 0 8px; }
.step-text p { color: var(--text2); line-height: 1.6; }
.step-actions { margin-top: 14px; }
.btn.is-disabled { opacity: .6; cursor: default; pointer-events: none; }
.step-shot { margin: 0; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--bd); background: var(--chip2); }
.step-shot img { display: block; width: 100%; height: auto; }
@media (max-width: 760px) {
  .guide-step { grid-template-columns: 1fr; }
  .guide-step:nth-child(even) .step-text { order: 0; }
}

/* ===========================================================================
   HERO
   =========================================================================== */
.hero { padding: 64px 0 40px; }
.hero .container { display: grid; grid-template-columns: 1.02fr .98fr; gap: 52px; align-items: center; }
.hero-copy h1 { font-size: clamp(34px, 5.2vw, 56px); margin: 16px 0 18px; }
.hero-copy h1 .accent { color: var(--accent-ink); }
.hero-copy .lede { font-size: clamp(17px, 2.2vw, 20px); color: var(--text2); max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 28px 0 22px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 8px; }
.trust-row li { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text2); font-weight: 600; }
.trust-row svg { width: 16px; height: 16px; color: var(--accent); }

/* ===========================================================================
   APP-WINDOW MOCK (reusa el shell t-native de la app)
   =========================================================================== */
.mock {
  border-radius: var(--radius-win); overflow: hidden;
  background: var(--mock-bg); border: 1px solid var(--bd);
  box-shadow: var(--shadow-win); color: var(--text); font-family: var(--font-app);
  position: relative;
}
.mock .tb {
  height: 42px; display: flex; align-items: center; gap: 11px; padding: 0 14px;
  border-bottom: 1px solid var(--bd2); background: var(--tbbg);
  backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
}
.mock .lights { display: flex; gap: 8px; }
.mock .lights i { width: 12px; height: 12px; border-radius: 50%; display: block; }
.mock .lights i:nth-child(1) { background: #ff5f57; }
.mock .lights i:nth-child(2) { background: #febc2e; }
.mock .lights i:nth-child(3) { background: #28c840; }
.mock .tbt { font-size: 12px; color: var(--text3); font-weight: 600; font-family: var(--mono); }
.mock .topbar { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid var(--bd2); flex-wrap: wrap; }
.mock .pill {
  display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono);
  font-size: 11px; color: var(--text2); background: var(--chip2);
  border: 1px solid var(--bd); border-radius: 8px; padding: 6px 9px;
}
.mock .pill .ar { color: var(--accent); }
.mock .chipc { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--text); background: var(--chip2); border: 1px solid var(--bd); border-radius: 8px; padding: 6px 9px; }
.mock .chipc .ca { color: var(--text3); }
.mock .grow { flex: 1; }
.mock .segm { display: inline-flex; border: 1px solid var(--bd); border-radius: 9px; overflow: hidden; background: var(--chip); }
.mock .segm span { font-size: 11.5px; font-weight: 600; padding: 6px 12px; color: var(--text2); }
.mock .segm span.on { background: var(--accent); color: #fff; }

.mock .convo { display: grid; grid-template-columns: 1fr 1fr; }
.mock .cvcol { padding: 15px 15px 8px; min-height: 250px; }
.mock .cvcol + .cvcol { border-left: 1px solid var(--bd2); }
.mock .colhead { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10.5px; color: var(--text2); margin-bottom: 13px; }
.mock .colhead .dot { width: 8px; height: 8px; border-radius: 50%; }
.mock .colhead .dot.you { background: var(--accent); }
.mock .colhead .dot.them { background: var(--live); }
.mock .colhead .dirn { color: var(--accent); }
.mock .msg { border: 1px solid var(--bd2); border-radius: 12px; padding: 10px 12px; margin-bottom: 10px; background: var(--chip2); opacity: 1; }
.mock .msg .mt { font-family: var(--mono); font-size: 9px; color: var(--text3); margin-bottom: 6px; letter-spacing: .06em; }
.mock .msg p { margin: 0; font-size: 13px; line-height: 1.45; color: var(--text); min-height: 1.1em; }
.mock .msg.tr { border-color: var(--accent); background: var(--accent-soft); }
.mock .dockbar { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-top: 1px solid var(--bd2); }
.mock .dstatus { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11.5px; color: var(--text2); }
.mock .dstatus .ld { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 3px color-mix(in srgb, var(--live) 30%, transparent); }
.mock .recm { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; box-shadow: var(--cta-shadow); margin-left: auto; }
.mock .recm .sq { width: 13px; height: 13px; border-radius: 4px; background: #fff; }

/* equalizer / onda */
.eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 16px; }
.eq i { width: 3px; height: 5px; background: var(--accent); border-radius: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .mock.is-live .eq i { animation: eq 1s ease-in-out infinite; }
  .mock.is-live .eq i:nth-child(2){animation-delay:.15s}
  .mock.is-live .eq i:nth-child(3){animation-delay:.30s}
  .mock.is-live .eq i:nth-child(4){animation-delay:.45s}
  .mock.is-live .eq i:nth-child(5){animation-delay:.6s}
}
@keyframes eq { 0%,100%{height:5px} 50%{height:15px} }

/* ===========================================================================
   "CÓMO FUNCIONA" (stepper)
   =========================================================================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step-card {
  background: var(--card); border: 1px solid var(--bd); border-radius: var(--radius);
  padding: 24px 22px; backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
  box-shadow: var(--shadow-card);
}
.step-card .num { font-family: var(--mono); font-size: 13px; color: var(--accent-ink); font-weight: 600; }
.step-card .ic { width: 46px; height: 46px; border-radius: 13px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin: 14px 0 14px; }
.step-card .ic svg { width: 24px; height: 24px; }
.step-card h3 { font-size: 18px; margin-bottom: 8px; }
.step-card p { color: var(--text2); font-size: 14.5px; }
.flow-strip {
  margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--mono); font-size: 12.5px; color: var(--text2);
}
.flow-strip .node { background: var(--chip2); border: 1px solid var(--bd); border-radius: 9px; padding: 8px 13px; }
.flow-strip .node.hl { color: var(--accent-ink); border-color: var(--accent); background: var(--accent-soft); font-weight: 700; }
.flow-strip .arr { color: var(--accent); font-weight: 700; }

/* ===========================================================================
   "FUNCIONA CON" (apps)
   =========================================================================== */
.apps-band { text-align: center; }
.apps-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 26px; margin-top: 26px; }
.apps-logos .app {
  display: inline-flex; align-items: center; gap: 9px; color: var(--text2);
  font-weight: 700; font-size: 15px; opacity: .82;
}
.apps-logos .app svg { width: 26px; height: 26px; }
.apps-note { margin-top: 22px; font-size: 14px; color: var(--text3); }
.apps-note b { color: var(--text); }

/* ===========================================================================
   FEATURES (grid de tarjetas estilo OptionCard)
   =========================================================================== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  position: relative; background: var(--card); border: 1px solid var(--bd);
  border-radius: var(--radius); padding: 24px 22px; overflow: hidden;
  backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
}
.feature .ic { width: 48px; height: 48px; border-radius: 13px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 16px; }
.feature .ic svg { width: 25px; height: 25px; }
.feature h3 { font-size: 17.5px; margin-bottom: 8px; }
.feature p { color: var(--text2); font-size: 14.5px; }

/* ===========================================================================
   DEMO
   =========================================================================== */
.demo .demo-grid { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: center; }
.demo-aside .kicker { margin-bottom: 12px; }
.demo-aside h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 14px; }
.demo-aside p { color: var(--text2); font-size: 16px; margin-bottom: 22px; }
.demo-controls { display: flex; gap: 12px; flex-wrap: wrap; }
.demo-steps { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.demo-steps li { display: flex; gap: 12px; align-items: flex-start; color: var(--text2); font-size: 14px; }
.demo-steps .n { flex: 0 0 24px; height: 24px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); font-family: var(--mono); font-size: 11px; font-weight: 700; display: grid; place-items: center; }

/* ===========================================================================
   PRICING
   =========================================================================== */
.price-card {
  max-width: 460px; margin: 0 auto; text-align: center;
  background: var(--card); border: 1px solid var(--bd); border-radius: var(--radius);
  padding: 40px 34px; box-shadow: var(--shadow-card);
  backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
}
.price-card .tag { display: inline-block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent-soft); border-radius: 20px; padding: 5px 13px; }
.price-amount { display: flex; align-items: baseline; justify-content: center; gap: 6px; margin: 22px 0 6px; }
.price-amount .cur { font-size: 26px; font-weight: 700; color: var(--text2); }
.price-amount .num { font-size: 68px; font-weight: 800; letter-spacing: -.03em; }
.price-amount .per { font-size: 16px; color: var(--text2); font-weight: 600; }
.price-card .once { color: var(--text2); font-size: 15px; margin-bottom: 22px; }
.price-bullets { text-align: left; max-width: 320px; margin: 24px auto 26px; display: flex; flex-direction: column; gap: 11px; }
.price-bullets li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--text); }
.price-bullets svg { width: 19px; height: 19px; color: var(--accent); flex: 0 0 19px; margin-top: 1px; }

/* ===========================================================================
   ROADMAP (línea de tiempo minimalista)
   =========================================================================== */
.roadmap-timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 10px; }
.roadmap-timeline::before { content: ""; position: absolute; top: 12px; left: 12px; right: 12px; height: 2px; background: var(--bd2); border-radius: 2px; }
.rm-item { position: relative; padding-top: 40px; }
.rm-item .dot {
  position: absolute; top: 0; left: 0; width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid var(--bd); background: var(--card-solid); display: grid; place-items: center; z-index: 1;
}
.rm-item .dot svg { width: 13px; height: 13px; }
.rm-item.shipped .dot { border-color: var(--accent); background: var(--accent); color: #fff; }
.rm-item.next .dot { border-color: var(--accent); }
.rm-item.next .dot::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.rm-item.planned .dot { border-style: dashed; border-color: var(--text3); }
.rm-when { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.rm-item.planned .rm-when { color: var(--text3); }
.rm-item h3 { font-size: 16.5px; margin: 8px 0 7px; }
.rm-item p { font-size: 14px; color: var(--text2); }
.roadmap-note { margin-top: 30px; text-align: center; font-family: var(--mono); font-size: 12.5px; color: var(--text3); }

/* ===========================================================================
   PERSONAS GRID
   =========================================================================== */
.persona-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.persona-card {
  display: block; background: var(--card); border: 1px solid var(--bd);
  border-radius: var(--radius); padding: 26px 24px; color: var(--text);
  backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.persona-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: var(--accent); }
.persona-card .ic { width: 50px; height: 50px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 16px; }
.persona-card .ic svg { width: 26px; height: 26px; }
.persona-card h3 { font-size: 19px; margin-bottom: 8px; }
.persona-card p { color: var(--text2); font-size: 14.5px; margin-bottom: 14px; }
.persona-card .more { color: var(--accent-ink); font-weight: 700; font-size: 14px; display: inline-flex; gap: 6px; align-items: center; }

/* ===========================================================================
   FAQ
   =========================================================================== */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--bd); border-radius: var(--radius-sm); overflow: hidden; }
.faq-item summary, .faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; cursor: pointer; font-weight: 700; font-size: 16px; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q .chev { color: var(--accent); transition: transform .2s ease; flex: 0 0 auto; }
.faq-item[open] .chev { transform: rotate(180deg); }
.faq-a { padding: 0 20px 18px; color: var(--text2); font-size: 15px; }

/* ===========================================================================
   CTA BAND
   =========================================================================== */
.cta-band { text-align: center; }
.cta-inner {
  background: linear-gradient(140deg, rgba(10,132,255,.14), rgba(10,132,255,.04));
  border: 1px solid var(--bd); border-radius: 26px; padding: 56px 32px;
  box-shadow: var(--shadow-card);
}
.cta-inner h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
.cta-inner p { color: var(--text2); font-size: 17px; max-width: 520px; margin: 0 auto 28px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: center; }

/* ===========================================================================
   FOOTER
   =========================================================================== */
.site-footer { border-top: 1px solid var(--bd2); padding: 56px 0 40px; margin-top: 30px; background: color-mix(in srgb, var(--card) 60%, transparent); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand .brand { margin-bottom: 12px; }
.footer-brand p { color: var(--text2); font-size: 14px; max-width: 300px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--text3); margin-bottom: 14px; font-weight: 700; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--text2); font-size: 14.5px; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 20px; justify-content: space-between; align-items: center; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--bd2); color: var(--text3); font-size: 13px; }
.footer-bottom .made { display: inline-flex; align-items: center; gap: 7px; }

/* ===========================================================================
   LEGAL
   =========================================================================== */
.legal { padding: 56px 0 40px; }
.legal .container { max-width: 920px; }
.legal-head { margin-bottom: 38px; }
.legal-head h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 12px; }
.legal-head .updated { font-family: var(--mono); font-size: 12.5px; color: var(--text3); }
.legal-layout { display: grid; grid-template-columns: 220px 1fr; gap: 44px; align-items: start; }
.legal-toc { position: sticky; top: 84px; }
.legal-toc h2 { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--text3); margin-bottom: 14px; }
.legal-toc ol { list-style: none; counter-reset: toc; display: flex; flex-direction: column; gap: 8px; }
.legal-toc a { color: var(--text2); font-size: 14px; }
.legal-toc a:hover { color: var(--accent-ink); }
.legal-body { font-size: 16px; color: var(--text); line-height: 1.7; }
.legal-body .intro { color: var(--text2); font-size: 17px; margin-bottom: 30px; padding: 18px 20px; background: var(--accent-soft); border: 1px solid var(--bd); border-left: 3px solid var(--accent); border-radius: 12px; }
.legal-body section { margin-bottom: 34px; scroll-margin-top: 84px; }
.legal-body h2 { font-size: 22px; margin-bottom: 12px; display: flex; gap: 10px; align-items: baseline; }
.legal-body h2 .n { font-family: var(--mono); font-size: 15px; color: var(--accent-ink); }
.legal-body p { color: var(--text2); margin-bottom: 12px; }
.legal-body ul { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 14px; }
.legal-body ul li { color: var(--text2); padding-left: 20px; position: relative; }
.legal-body ul li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.legal-body .callout { background: var(--card); border: 1px solid var(--bd); border-radius: 12px; padding: 16px 18px; color: var(--text); font-weight: 600; }

/* ===========================================================================
   RESPONSIVE
   =========================================================================== */
@media (max-width: 1040px) {
  /* el badge del header es el elemento más ancho: lo ocultamos para que el menú
     no se comprima (sigue disponible en el hero, el precio y la banda CTA). */
  .header-actions .appstore { display: none; }
}
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { order: -1; }
  .demo .demo-grid { grid-template-columns: 1fr; gap: 30px; }
  .steps, .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
}
@media (max-width: 860px) {
  /* timeline vertical: línea a la izquierda, hitos apilados */
  .roadmap-timeline { grid-template-columns: 1fr; gap: 0; }
  .roadmap-timeline::before { top: 4px; bottom: 4px; left: 12px; right: auto; width: 2px; height: auto; }
  .rm-item { padding: 0 0 26px 44px; }
  .rm-item:last-child { padding-bottom: 0; }
}
@media (max-width: 760px) {
  .nav-main, .header-actions .appstore, .header-actions .btn { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .site-header.open .nav-main {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: 64px; left: 0; right: 0; padding: 14px 22px 20px;
    background: var(--card-solid); border-bottom: 1px solid var(--bd); box-shadow: var(--shadow-card);
  }
  .site-header.open .nav-main .dropdown-menu { position: static; display: flex; box-shadow: none; border: 0; padding: 4px 0 4px 12px; }
  .section { padding: 60px 0; }
  .steps, .features-grid, .persona-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .price-amount .num { font-size: 56px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn, .hero-cta .appstore { justify-content: center; }
}

/* reduce motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
