/* ▼ tokens — generado por arbby-hub/scripts/sync_brand.py desde brand/tokens.css. NO EDITAR ▼ */
/* Arbby — tokens de marca v2.1 · FUENTE ÚNICA del código.
   Se edita ACÁ y se corre `python scripts/sync_brand.py` (desde arbby-hub/): copia
   este bloque entre marcadores en frontend/theme.css y marketing/css/style.css, y
   frontend/theme.css entero a ../arbby-ads/ y ../arbby-orders/.
   Valores y nombres: docs/BRAND-GUIDE-ARBBY.md (madre, v2.1).
   Cambiar un token = cambiar la guía en el mismo cambio (guía §12). */
:root {
  /* §2.1 Superficies oscuras — cuatro niveles de elevación (§4) */
  --color-bg-base: #0B0A10;
  --color-bg-surface: #131220;
  --color-bg-elevated: #1C1A2C;
  --color-bg-float: #242138;
  --color-bg-hover: rgba(237, 236, 245, 0.06);

  /* §2.2 Texto sobre oscuro (no cambia entre niveles) */
  --color-text-primary: #EDECF5;
  --color-text-secondary: #8E8CA3;
  --color-text-muted: #7E7C94;   /* solo metadata, nunca dato. 4,58:1 sobre surface (v2.1 D2) */

  /* §2.3 Superficies claras */
  --color-bg-light: #FFFFFF;
  --color-bg-light-tint: #EDE9F5;
  --color-text-on-light: #0B0A10;
  --color-text-secondary-on-light: #5A5870;
  --color-text-muted-on-light: #7B7990;
  --color-accent-on-light: #6535E8;

  /* §2.4 Acento */
  --color-accent: #9B7CFF;
  --color-accent-lift: #C3B0FF;   /* hover, anillo de focus */
  --color-accent-deep: #5B3FD6;   /* decorativo */

  /* §2.5 Semánticos — los ÚNICOS colores que significan algo */
  --color-positive: #34D399;
  --color-negative: #FF5A5A;
  --color-warning: #FFB020;

  /* §2.6 Familia análoga — decorativa, NUNCA para datos */
  --brand-lift: #C3B0FF;
  --brand-accent: #9B7CFF;
  --brand-rosa: #FF3DA8;
  --brand-magenta: #8B008B;
  --brand-abyss: #2A0A38;
  --brand-ramp: linear-gradient(100deg, #C3B0FF, #9B7CFF 38%, #FF3DA8 74%, #8B008B);

  /* §2.7 Venues — identifican una fila, no significan nada. MEXC no lleva texto */
  --venue-bybit: #FF7A00;
  --venue-okx: #E9E9EE;
  --venue-bingx: #4AA3FF;
  --venue-mexc: #1F5BFF;
  --venue-bitget: #00E5FF;
  --venue-binance: #FFD45C;

  /* §2.8 Bordes (0,5 px en pantalla) */
  --color-border: rgba(237, 236, 245, 0.09);
  --color-border-strong: rgba(237, 236, 245, 0.15);
  --color-border-on-light: rgba(11, 10, 16, 0.12);

  /* §3 Tipografía — Outfit 500 (display) · Inter 400/500 (UI). Nunca 600 */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --text-hero: clamp(40px, 5.4vw, 70px);
  --text-display: 29px;
  --text-heading: 19px;
  --text-body: 14px;
  --text-data: 13px;
  --text-label: 12px;
  --text-caption: 11px;
  --text-data-large: 21px;
  --tracking-hero: -0.042em;
  --tracking-display: -0.028em;
  --tracking-heading: -0.02em;
  --tracking-wordmark: -0.05em;   /* §1.2 */

  /* §4 Radios y la única sombra (nivel flotante) */
  --radius-tag: 4px;   /* tags y etiquetas chicas (v2.1 D6) */
  --radius-item: 7px;
  --radius-card-sm: 10px;
  --radius-card: 15px;
  --radius-pill: 99px;
  --shadow-float: 0 24px 60px -30px rgba(139, 0, 139, 0.55);
}
/* ▲ tokens ▲ */

/* ══════════════════════════════════════════════════════════════════════════
   Arbby — Sitio marketing (arbby.app) · CSS self-contained
   Estático, servido por Caddy. NO depende del theme.css del Hub (que vive en
   el runtime de suite.arbby.app). Los tokens de marca llegan inyectados arriba
   por scripts/sync_brand.py desde brand/tokens.css; el :root de abajo es la
   capa de alias con los nombres cortos del sitio (--bg, --text, --accent…).
   Contexto: DARK desde el rebrand v2.0; la demo se separa por elevación.
   ════════════════════════════════════════════════════════════════════════ */

:root {
  /* Capa de alias: los nombres cortos del sitio sobre los tokens v2.0 de arriba.
     El sitio es OSCURO (Lucas, 24/09). La demo ya no se distingue por ser la única
     sección oscura: se separa por elevación (bordes + luz superior, guía §2.6). */
  --bg:            var(--color-bg-base);
  --bg-card:       var(--color-bg-surface);
  --bg-muted:      var(--color-bg-surface);    /* .band */
  --bg-dark:       var(--color-bg-base);       /* .demo */
  --bg-dark-surf:  var(--color-bg-surface);    /* mock del dashboard */

  --text:          var(--color-text-primary);
  --text-2:        var(--color-text-secondary);
  --text-3:        var(--color-text-secondary);   /* muted da 3,7-3,9:1: no llega al 4,5 de la guía §12 */
  --text-on-dark:  var(--color-text-primary);
  --text-on-dark-2:var(--color-text-secondary);

  --accent:        var(--color-accent);
  --accent-soft:   color-mix(in srgb, var(--color-accent) 12%, transparent);
  --negative:      var(--color-negative);
  --warning:       var(--color-warning);

  --border:        var(--color-border-strong);
  --border-soft:   var(--color-border);
  --border-dark:   var(--color-border);

  /* Layout */
  --wrap: 1120px;
  --nav-h: 64px;

  color-scheme: dark;
}

/* ── Reset ── */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul { margin: 0; }
ul { list-style: none; padding: 0; }

/* ── Utilidades ── */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 6vw, 72px); }
.eyebrow {
  font-size: 12px; letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--accent); font-weight: 500; margin-bottom: 14px;
}
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--text-2); line-height: 1.55; max-width: 56ch; }
.accent-dot { color: var(--accent); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ══ NAV ══════════════════════════════════════════════════════════════════ */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: color-mix(in srgb, var(--color-bg-base) 82%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 0.5px solid var(--border-soft);
}
.nav-inner { max-width: var(--wrap); margin: 0 auto; height: 100%;
  padding: 0 clamp(20px, 6vw, 72px); display: flex; align-items: center; gap: 28px; }
.wordmark { font-size: 22px; color: var(--text); }
.nav-links { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav-links a:not(.btn) { font-size: 14px; color: var(--text-2); transition: color 0.15s; }
.nav-links a:not(.btn):hover, .nav-links a.current { color: var(--text); }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-ui); font-size: 14px; font-weight: 500; line-height: 1;
  padding: 11px 20px; border-radius: var(--radius-pill); cursor: pointer; border: 0.5px solid transparent;
  transition: filter 0.15s, background 0.15s, border-color 0.15s, transform 0.05s;
  white-space: nowrap;
}
.btn:active { transform: translateY(0.5px); }
.btn-primary {
  background: var(--brand-ramp); color: var(--color-text-on-light);
  box-shadow: 0 8px 26px -10px color-mix(in srgb, var(--brand-rosa) 70%, transparent);   /* 5.ª excepción de la rampa: solo el CTA del sitio */
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border); }
.btn-secondary:hover { background: var(--color-bg-hover); }
.btn-accent { background: var(--accent); color: var(--color-text-on-light); }
.btn-accent:hover { filter: brightness(1.12); }
.btn-lg { padding: 14px 26px; font-size: 15px; }

/* Sobre fondo oscuro */
.on-dark .btn-primary { background: var(--brand-ramp); }
.on-dark .btn-secondary { color: var(--text-on-dark); border-color: var(--border-dark); }
.on-dark .btn-secondary:hover { background: var(--color-bg-hover); }

/* Menú mobile (checkbox hack, sin JS) */
.nav-toggle { display: none; }
/* El checkbox se oculta con visually-hidden (NO display:none): algunos motores
   no propagan :checked a los hermanos si el input está en display:none. */
.nav-check { position: absolute; width: 1px; height: 1px; opacity: 0; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); pointer-events: none; }

/* ── Logo (guía §1) ── Lockup = isotipo + wordmark `arbby` en Outfit 500, minúscula,
   tracking −0,05 em, en el color de texto del contexto. Sitio oscuro: isotipo con degradado (sobre claro
   iría el de una tinta #6535E8, guía §1.7).
   Isotipo = caja de 1,36 em (la del lockup V5: 30 px con wordmark de 22 px) y aire
   de 0,36 × esa altura. Va por CSS (::before + data URI): cero HTML tocado y los
   bots no sirven un archivo nuevo. REGLA: el wordmark nunca va solo. */
.wordmark {
  display: inline-flex; align-items: center; gap: 0.49em;
  font-family: var(--font-display); font-weight: 500; line-height: 1;
  letter-spacing: var(--tracking-wordmark); text-transform: lowercase;
}
.wordmark::before {
  content: ""; flex-shrink: 0; width: 1.36em; height: 1.36em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' width='64' height='64'%3E%3Cdefs%3E%3ClinearGradient id='g' gradientUnits='userSpaceOnUse' x1='10' y1='10' x2='54' y2='54'%3E%3Cstop offset='0' stop-color='%23C3B0FF'/%3E%3Cstop offset='.62' stop-color='%239B7CFF'/%3E%3Cstop offset='1' stop-color='%23C558D8'/%3E%3C/linearGradient%3E%3ClinearGradient id='h' gradientUnits='userSpaceOnUse' x1='32' y1='34.75' x2='32' y2='58'%3E%3Cstop offset='0' stop-color='%239B7CFF'/%3E%3Cstop offset='1' stop-color='%235B3FD6'/%3E%3C/linearGradient%3E%3CclipPath id='t'%3E%3Crect x='-4' y='-4' width='72' height='33.25'/%3E%3C/clipPath%3E%3CclipPath id='b'%3E%3Crect x='-4' y='34.75' width='72' height='33.25'/%3E%3C/clipPath%3E%3Cpath id='a' d='M30.7 57Q24.2 57 18.95 53.7Q13.7 50.4 10.65 44.75Q7.6 39.1 7.6 32.1Q7.6 25 10.65 19.35Q13.7 13.7 18.95 10.35Q24.2 7 30.7 7Q36.2 7 40.45 9.35Q44.7 11.7 47.2 15.8Q49.7 19.9 49.7 25.1V38.9Q49.7 44.1 47.25 48.2Q44.8 52.3 40.5 54.65Q36.2 57 30.7 57ZM32.5 46.6Q38.6 46.6 42.35 42.5Q46.1 38.4 46.1 32Q46.1 27.7 44.4 24.4Q42.7 21.1 39.65 19.25Q36.6 17.4 32.5 17.4Q28.5 17.4 25.45 19.25Q22.4 21.1 20.65 24.4Q18.9 27.7 18.9 32Q18.9 36.3 20.65 39.6Q22.4 42.9 25.45 44.75Q28.5 46.6 32.5 46.6ZM45.4 56V43.1L47.3 31.4L45.4 19.8V8H56.4V56Z'/%3E%3C/defs%3E%3Cuse href='%23a' clip-path='url(%23t)' fill='url(%23g)'/%3E%3Cuse href='%23a' clip-path='url(%23b)' fill='url(%23h)'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ══ HERO ═════════════════════════════════════════════════════════════════ */
.hero { padding: clamp(56px, 10vw, 116px) 0 clamp(44px, 7vw, 84px); }
.hero-inner { max-width: 820px; }
.hero h1 {
  font-family: var(--font-display); font-weight: 500;
  font-size: var(--text-hero); line-height: 1.06; letter-spacing: var(--tracking-hero);
  margin-bottom: 22px;
}
.hero .sub { font-size: clamp(17px, 2.1vw, 21px); color: var(--text-2); line-height: 1.5; max-width: 60ch; margin-bottom: 34px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 13px; color: var(--text-3); }

/* ══ SECCIONES ════════════════════════════════════════════════════════════ */
.section { padding: clamp(52px, 8vw, 92px) 0; }
.section-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head.center { margin-left: auto; margin-right: auto; }
.section h2 {
  font-size: clamp(26px, 3.6vw, 38px); font-weight: 500; line-height: 1.15;
  letter-spacing: -0.01em; margin-bottom: 14px;
}
.section h2.display { font-family: var(--font-display); font-weight: 500; letter-spacing: var(--tracking-display); }
.section-divider { border-top: 0.5px solid var(--border-soft); }

/* Grid de features */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.feature-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.feature {
  background: var(--bg-card); border: 0.5px solid var(--border-soft);
  border-radius: 12px; padding: 24px;
}
.feature .f-icon {
  width: 26px; height: 26px; stroke: var(--accent); fill: none; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px;
}
.feature h3 { font-size: 17px; font-weight: 500; margin-bottom: 8px; }
.feature p { font-size: 14.5px; color: var(--text-2); line-height: 1.55; }

/* Bloque destacado (fondo muted) */
.band { background: var(--bg-muted); }

/* Lista de puntos con check */
.checklist li { display: flex; gap: 11px; align-items: flex-start; padding: 9px 0; font-size: 15px; color: var(--text); border-bottom: 0.5px solid var(--border-soft); }
.checklist li:last-child { border-bottom: none; }
.checklist .ck { color: var(--accent); flex-shrink: 0; margin-top: 3px; width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; }
.checklist li.off { color: var(--text-3); }
.checklist li.off .ck { color: var(--text-3); }

/* ══ PRICING / PLANES ═════════════════════════════════════════════════════ */
.plans-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 760px; margin: 0 auto; }
.plan-card {
  background: var(--bg-card); border: 0.5px solid var(--border);
  border-radius: 14px; padding: 30px 28px; display: flex; flex-direction: column;
}
.plan-card.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent-soft); }
.plan-badge { align-self: flex-start; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent); border: 0.5px solid var(--accent); border-radius: 5px; padding: 3px 8px; margin-bottom: 14px; }
.plan-name { font-size: 15px; color: var(--text-2); margin-bottom: 6px; }
.plan-price { font-family: var(--font-display); font-size: 42px; line-height: 1; margin-bottom: 4px; }
.plan-price small { font-family: var(--font-ui); font-size: 15px; color: var(--text-2); }
.plan-sub { font-size: 13px; color: var(--text-3); margin-bottom: 22px; }
.plan-card .checklist { flex: 1; margin-bottom: 24px; }
.plan-card .btn { width: 100%; }

/* Tabla comparativa */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 0.5px solid var(--border); border-radius: 12px; }
table.compare { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
table.compare th, table.compare td { padding: 14px 18px; text-align: left; border-bottom: 0.5px solid var(--border-soft); }
table.compare thead th { font-weight: 500; color: var(--text); background: var(--bg-muted); }
table.compare thead th.hi { color: var(--accent); }
table.compare tbody tr:last-child td { border-bottom: none; }
table.compare td.val { color: var(--text-2); }
table.compare .yes { color: var(--accent); font-weight: 500; }
table.compare .no { color: var(--text-3); }
table.compare td:first-child, table.compare th:first-child { font-weight: 500; }

/* ══ CONTEXTO DARK (demo del producto) ════════════════════════════════════ */
.demo {
  background: var(--bg-dark); color: var(--text-on-dark);
  border-top: 0.5px solid var(--color-border-strong); border-bottom: 0.5px solid var(--color-border-strong);
  position: relative; overflow: hidden;
}
.demo::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}
.demo::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  /* Luz superior (guía §2.6, uso 1): halo desde fuera de cuadro sobre el borde de arriba */
  background: radial-gradient(ellipse 70% 55% at 50% -12%, color-mix(in srgb, var(--brand-accent) 22%, transparent) 0%, color-mix(in srgb, var(--brand-rosa) 6%, transparent) 45%, transparent 75%);
}
.demo .wrap { position: relative; z-index: 1; }
.demo h2 { color: var(--text-on-dark); }
.demo .lead, .demo p { color: var(--text-on-dark-2); }
.demo .eyebrow { color: var(--accent); }

/* Mock del dashboard */
.mock {
  background: var(--bg-dark-surf); border: 0.5px solid var(--border-dark);
  border-radius: 14px; padding: 18px; margin-top: 36px;
}
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 4px 6px 14px; border-bottom: 0.5px solid var(--border-dark); margin-bottom: 16px; }
.mock-dot { width: 9px; height: 9px; border-radius: 50%; background: color-mix(in srgb, var(--color-text-primary) 18%, transparent); }
.mock-title { margin-left: 10px; font-size: 12px; color: var(--text-on-dark-2); }
.mock-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.mock-card {
  background: var(--color-bg-elevated); border: 0.5px solid var(--border-dark);
  border-radius: 10px; padding: 15px 16px;
}
.mock-card .mc-name { font-size: 13px; font-weight: 500; color: var(--text-on-dark); }
.mock-card .mc-pair { font-size: 11px; color: var(--text-on-dark-2); margin-top: 2px; }
.mock-card .mc-val { font-size: 22px; margin-top: 12px; color: var(--color-positive); }   /* spread positivo: completo (guía §6) */
.mock-card .mc-val .mc-sign { margin-right: 3px; }
.mock-card .mc-val.neg { color: var(--negative); }
.mock-card .mc-meta { font-size: 11px; color: var(--text-on-dark-2); margin-top: 6px; }

/* Tabla mock de mercado */
.mock-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.mock-table th { text-align: left; color: var(--text-on-dark-2); font-weight: 400; padding: 6px 10px; border-bottom: 0.5px solid var(--border-dark); font-size: 11px; letter-spacing: 0.03em; text-transform: uppercase; }
.mock-table td { padding: 9px 10px; border-bottom: 0.5px solid var(--border-dark); color: var(--text-on-dark); }
.mock-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
.mock-table tr:last-child td { border-bottom: none; }
.mock-table .ex { color: var(--text-on-dark-2); }

/* ══ CTA FINAL ════════════════════════════════════════════════════════════ */
.cta-final { text-align: center; }
.cta-final h2 { font-family: var(--font-display); font-weight: 500; letter-spacing: var(--tracking-display); font-size: clamp(28px, 4.4vw, 46px); line-height: 1.1; margin-bottom: 16px; }
.cta-final .lead { margin: 0 auto 30px; }

/* ══ PÁGINAS DE CONTENIDO (seguridad, faq, contacto, herramientas) ════════ */
.page-hero { padding: clamp(56px, 8vw, 92px) 0 clamp(24px, 4vw, 40px); }
.page-hero h1 { font-family: var(--font-display); font-weight: 500; letter-spacing: var(--tracking-display); font-size: clamp(34px, 5vw, 52px); line-height: 1.08; margin-bottom: 18px; }
.page-hero .sub { font-size: clamp(16px, 2vw, 19px); color: var(--text-2); max-width: 62ch; }

.prose { max-width: 720px; }
.prose h2 { font-size: clamp(21px, 2.6vw, 26px); font-weight: 500; margin: 40px 0 12px; letter-spacing: -0.005em; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--text-2); font-size: 16px; line-height: 1.65; margin-bottom: 14px; }
.prose strong { color: var(--text); font-weight: 500; }
.prose a.inline { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* Bloque de seguridad (icono + texto) */
.sec-block { display: flex; gap: 18px; padding: 22px 0; border-bottom: 0.5px solid var(--border-soft); }
.sec-block:last-child { border-bottom: none; }
.sec-block .s-icon { width: 24px; height: 24px; flex-shrink: 0; stroke: var(--accent); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-top: 3px; }
.sec-block h3 { font-size: 18px; font-weight: 500; margin-bottom: 6px; }
.sec-block p { color: var(--text-2); font-size: 15px; line-height: 1.6; }
.sec-block p + p, .faq-body p + p { margin-top: 10px; }

/* FAQ (details/summary, sin JS) */
.faq-list { max-width: 760px; }
.faq-item { border-bottom: 0.5px solid var(--border); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 22px 0; font-size: 17px; font-weight: 500;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { width: 18px; height: 18px; flex-shrink: 0; stroke: var(--text-2); fill: none; stroke-width: 1.8; transition: transform 0.2s; }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item .faq-body { padding: 0 0 22px; color: var(--text-2); font-size: 15.5px; line-height: 1.65; max-width: 62ch; }
.faq-item .faq-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* Contacto */
.contact-card {
  background: var(--bg-card); border: 0.5px solid var(--border);
  border-radius: 14px; padding: 34px; max-width: 480px;
}
.contact-card .c-label { font-size: 13px; color: var(--text-3); margin-bottom: 6px; }
.contact-card .c-email { font-family: var(--font-display); font-size: clamp(22px, 3vw, 30px); color: var(--text); }
.contact-card .c-email:hover { color: var(--accent); }
.contact-card .c-note { margin-top: 18px; font-size: 14px; color: var(--text-2); }

/* Tarjetas de herramienta (overview) */
.tool-card {
  background: var(--bg-card); border: 0.5px solid var(--border-soft); border-radius: 14px;
  padding: 28px; display: flex; flex-direction: column; height: 100%;
  transition: border-color 0.15s, transform 0.12s;
}
a.tool-card:hover { border-color: var(--border); transform: translateY(-2px); }
.tool-card .t-icon { width: 28px; height: 28px; stroke: var(--accent); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.tool-card h3 { font-size: 19px; font-weight: 500; margin-bottom: 8px; }
.tool-card p { color: var(--text-2); font-size: 15px; line-height: 1.55; flex: 1; }
.tool-card .t-more { margin-top: 16px; font-size: 14px; color: var(--accent); font-weight: 500; display: flex; align-items: center; gap: 6px; }

/* Pill (Premium / Free / próximamente) */
.pill { display: inline-flex; align-items: center; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px; font-weight: 500; }
.pill-premium { color: var(--accent); background: var(--accent-soft); }
.pill-soon { color: var(--text-3); background: var(--color-bg-hover); }

/* ══ FOOTER ═══════════════════════════════════════════════════════════════ */
.footer { border-top: 0.5px solid var(--border-soft); padding: 48px 0 40px; margin-top: 0; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
/* `.footer .f-col a` (display:block, 14 px, gris) le ganaba al wordmark por
   especificidad: sin display flex el isotipo del ::before no tiene caja. */
.footer .f-brand .wordmark { display: inline-flex; font-size: 20px; color: var(--text); padding: 0; margin-bottom: 12px; }
.footer .f-tag { font-size: 14px; color: var(--text-2); max-width: 34ch; line-height: 1.55; }
.footer .f-col h4 { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; font-weight: 500; }
.footer .f-col a { display: block; font-size: 14px; color: var(--text-2); padding: 5px 0; transition: color 0.15s; }
.footer .f-col a:hover { color: var(--text); }
.footer-bottom { display: flex; align-items: center; gap: 16px; margin-top: 40px; padding-top: 22px; border-top: 0.5px solid var(--border-soft); font-size: 13px; color: var(--text-3); flex-wrap: wrap; }
.footer-bottom a { color: var(--text-3); }
.footer-bottom a:hover { color: var(--text-2); }
.footer-bottom .sep { margin-left: auto; }

/* ══ 404 ══════════════════════════════════════════════════════════════════ */
.notfound { min-height: calc(100vh - var(--nav-h)); display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px 20px; }
.notfound .code { font-family: var(--font-display); font-size: clamp(70px, 16vw, 140px); line-height: 1; color: var(--text); }
.notfound .code .accent-dot { color: var(--accent); }
.notfound h1 { font-size: clamp(22px, 3vw, 28px); font-weight: 500; margin: 12px 0 10px; }
.notfound p { color: var(--text-2); margin-bottom: 26px; }

/* ══ RESPONSIVE ═══════════════════════════════════════════════════════════ */
@media (max-width: 860px) {
  .feature-grid, .feature-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer .f-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  /* Nav → hamburger */
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 0.5px solid var(--border);
    padding: 8px clamp(20px, 6vw, 72px) 20px; margin: 0;
    transform: translateY(-120%); transition: transform 0.22s ease; box-shadow: var(--shadow-float);
  }
  .nav-links a:not(.btn) { padding: 13px 0; border-bottom: 0.5px solid var(--border-soft); }
  .nav-links .btn { margin-top: 12px; }
  .nav-check:checked ~ .nav-links { transform: translateY(0); }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 5px; margin-left: auto;
    background: none; border: none; cursor: pointer; padding: 8px 4px;
  }
  .nav-toggle span { width: 22px; height: 1.6px; background: var(--text); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
  .nav-check:checked ~ .nav-toggle span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
  .nav-check:checked ~ .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-check:checked ~ .nav-toggle span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }
}
@media (max-width: 560px) {
  .feature-grid, .feature-grid.cols-3, .feature-grid.cols-2, .plans-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom .sep { margin-left: 0; width: 100%; }
}
