/* Sellsight AI · web pública. Inter (OFL 1.1) servida desde /fonts. Sin estilos en línea (CSP). */
@font-face {
  font-family: "Inter";
  src: url("/fonts/interVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #f4f5f7;
  --text: #121317;
  --text-2: #3d414b;
  --muted: #6b7180;
  --border: #e4e6eb;
  --border-strong: #d4d7de;
  --brand-1: #0ea5c6;
  --brand-2: #2563eb;
  --brand-3: #7c4dff;
  --brand-grad: linear-gradient(100deg, var(--brand-1), var(--brand-2) 55%, var(--brand-3));
  --btn-bg: #121317;
  --btn-text: #ffffff;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 12px 32px -12px rgba(16, 24, 40, .18);
  --real: #15803d;      --real-bg: #e7f6ec;
  --est: #b45309;       --est-bg: #fdf1e1;
  --dir: #1d4ed8;       --dir-bg: #e6eeff;
  --none: #5b6170;      --none-bg: #eef0f3;
  --max: 1120px;
  --radius: 20px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0c10;
    --bg-soft: #111319;
    --surface: #14161d;
    --surface-2: #1a1d26;
    --text: #f2f3f6;
    --text-2: #c5c8d1;
    --muted: #8d93a1;
    --border: #252935;
    --border-strong: #323746;
    --brand-1: #22c3e3;
    --brand-2: #4f86ff;
    --brand-3: #9a7bff;
    --btn-bg: #f2f3f6;
    --btn-text: #0b0c10;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 16px 40px -16px rgba(0, 0, 0, .7);
    --real: #4ade80;      --real-bg: rgba(74, 222, 128, .12);
    --est: #fbbf24;       --est-bg: rgba(251, 191, 36, .12);
    --dir: #7aa2ff;       --dir-bg: rgba(122, 162, 255, .14);
    --none: #a3a8b6;      --none-bg: rgba(163, 168, 182, .12);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }

/* ---------- Cabecera ---------- */
header.site {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -.02em; text-decoration: none; color: var(--text); }
.brand-mark { width: 26px; height: 26px; border-radius: 8px; background: var(--brand-grad); display: grid; place-items: center; }
.brand-mark svg { width: 15px; height: 15px; }
.brand span { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
header.site nav { display: flex; align-items: center; gap: 22px; }
header.site nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; }
header.site nav a:hover { color: var(--text); }
header.site nav .nav-link { display: none; }
@media (min-width: 720px) { header.site nav .nav-link { display: inline; } }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--btn-bg); color: var(--btn-text); box-shadow: 0 8px 24px -10px rgba(37, 99, 235, .55); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
header.site nav a.btn-primary { color: var(--btn-text); }

/* ---------- Fondo decorativo ---------- */
.glow { position: relative; isolation: isolate; overflow: hidden; }
.glow::before, .glow::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none;
}
.glow::before { width: 520px; height: 520px; top: -220px; left: -120px; background: radial-gradient(circle, var(--brand-1), transparent 65%); }
.glow::after { width: 560px; height: 560px; top: -160px; right: -200px; background: radial-gradient(circle, var(--brand-3), transparent 65%); opacity: .4; }
.grid-bg {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 30%, transparent 75%);
  opacity: .55;
}

/* ---------- Hero ---------- */
.hero { padding: 72px 0 40px; text-align: center; }
@media (min-width: 900px) { .hero { padding: 104px 0 56px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); font-size: 13px; color: var(--text-2); font-weight: 500; box-shadow: var(--shadow); }
.eyebrow b { background: var(--brand-grad); color: #fff; border-radius: 999px; padding: 2px 9px; font-size: 12px; font-weight: 600; }
.hero h1 { font-size: clamp(38px, 7.2vw, 72px); line-height: 1.04; letter-spacing: -.035em; font-weight: 750; margin: 22px auto 18px; max-width: 920px; }
.grad-text { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--text-2); max-width: 680px; margin: 0 auto 30px; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Ventana de producto (maqueta) ---------- */
.window { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; text-align: left; }
.window-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--bg-soft); }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.window-bar span { margin-left: 10px; font-size: 12px; color: var(--muted); font-weight: 500; }
.window-body { padding: 20px; }
.preview { margin: 52px auto 0; max-width: 980px; }
.preview-note { margin: 12px 0 0; font-size: 12px; color: var(--muted); text-align: center; }

.niche-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.niche-head h3 { margin: 0; font-size: 20px; letter-spacing: -.02em; }
.niche-head p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.verified { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--real); background: var(--real-bg); padding: 5px 10px; border-radius: 999px; }
.dash { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .dash { grid-template-columns: 1.35fr 1fr; } }
.metrics { display: grid; gap: 10px; }
.metric { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.metric .k { font-size: 13px; color: var(--muted); }
.metric .v { font-size: 15px; font-weight: 650; letter-spacing: -.01em; }
.metric .right { display: flex; align-items: center; gap: 10px; }
.score { border: 1px solid var(--border); border-radius: 16px; padding: 16px; background: var(--bg-soft); display: flex; flex-direction: column; gap: 12px; }
.score .k { font-size: 13px; color: var(--muted); }
.score .big { font-size: 44px; font-weight: 750; letter-spacing: -.04em; line-height: 1; }
.score .big small { font-size: 15px; color: var(--muted); font-weight: 600; letter-spacing: 0; margin-left: 6px; }
.bar { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.bar > i { display: block; height: 100%; width: 42%; border-radius: 999px; background: var(--brand-grad); }
.factors { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13px; color: var(--text-2); }
.factors li { display: flex; justify-content: space-between; gap: 8px; }
.factors li span:last-child { color: var(--muted); }
.spark { width: 100%; height: 56px; }

/* ---------- Etiquetas de dato ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip-real { color: var(--real); background: var(--real-bg); }
.chip-est { color: var(--est); background: var(--est-bg); }
.chip-dir { color: var(--dir); background: var(--dir-bg); }
.chip-none { color: var(--none); background: var(--none-bg); }

/* ---------- Secciones ---------- */
section.block { padding: 72px 0; }
@media (min-width: 900px) { section.block { padding: 104px 0; } }
.section-head { max-width: 700px; margin: 0 auto 44px; text-align: center; }
.kicker { font-size: 13px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-head h2, .feature h2 { font-size: clamp(28px, 4.2vw, 44px); line-height: 1.1; letter-spacing: -.03em; font-weight: 720; margin: 10px 0 14px; }
.section-head p, .feature p.desc { color: var(--text-2); font-size: 17px; margin: 0; }
.soft { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.label-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .label-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .label-grid { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card h3 { margin: 14px 0 6px; font-size: 17px; letter-spacing: -.01em; }
.card p { margin: 0; font-size: 14.5px; color: var(--text-2); }

.steps { display: grid; gap: 14px; grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; }
.step .num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; font-weight: 700; font-size: 14px; color: #fff; background: var(--brand-grad); }
.step .sources { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.pill { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border); color: var(--text-2); background: var(--bg-soft); }

/* ---------- Bloques de funciones alternos ---------- */
.feature { display: grid; gap: 32px; align-items: center; grid-template-columns: 1fr; padding: 40px 0; }
@media (min-width: 900px) {
  .feature { grid-template-columns: 1fr 1.1fr; gap: 64px; padding: 56px 0; }
  .feature.flip .copy { order: 2; }
}
.feature ul.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.feature ul.ticks li { display: flex; gap: 10px; color: var(--text-2); font-size: 15px; }
.feature ul.ticks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 6px; background: var(--brand-grad); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M8.2 13.6 4.6 10l-1.4 1.4 5 5 9-9-1.4-1.4z'/%3E%3C/svg%3E") center/16px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M8.2 13.6 4.6 10l-1.4 1.4 5 5 9-9-1.4-1.4z'/%3E%3C/svg%3E") center/16px no-repeat; }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.check-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; border: 1px solid var(--border); border-radius: 12px; font-size: 14px; }
.check-list li .ok { color: var(--real); font-weight: 650; font-size: 13px; white-space: nowrap; }
.check-list li .warn { color: var(--est); font-weight: 650; font-size: 13px; white-space: nowrap; }

.seo-title { font-size: 15px; font-weight: 600; line-height: 1.45; padding: 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-soft); }
.counter { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin: 8px 2px 16px; }
.counter b { color: var(--real); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-size: 12.5px; padding: 5px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2); }

.orders { display: grid; gap: 10px; }
.order { border: 1px solid var(--border); border-radius: 14px; padding: 14px; display: grid; gap: 8px; }
.order-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.order-top b { color: var(--text); font-size: 14px; }
.order p { margin: 0; font-size: 14px; color: var(--text-2); }
.order .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.mini { font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); }
.mini.primary { background: var(--btn-bg); color: var(--btn-text); border-color: transparent; }
.status { font-size: 11.5px; font-weight: 650; padding: 3px 9px; border-radius: 999px; }
.status.ready { color: var(--real); background: var(--real-bg); }
.status.review { color: var(--est); background: var(--est-bg); }

.trio { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .trio { grid-template-columns: repeat(3, 1fr); } }
.icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-soft); border: 1px solid var(--border); }
.icon svg { width: 20px; height: 20px; stroke: var(--brand-2); }

/* ---------- Llamada final ---------- */
.final { text-align: center; padding: 88px 0 96px; }
.final .panel { position: relative; isolation: isolate; overflow: hidden; border-radius: 28px; padding: 56px 20px; border: 1px solid var(--border); background: var(--bg-soft); }
.final .panel::before { content: ""; position: absolute; inset: auto -20% -60% -20%; height: 120%; z-index: -1; background: radial-gradient(ellipse at 50% 100%, color-mix(in srgb, var(--brand-2) 35%, transparent), transparent 60%); }
.final h2 { font-size: clamp(30px, 5vw, 52px); letter-spacing: -.035em; line-height: 1.06; margin: 0 auto 14px; max-width: 760px; font-weight: 750; }
.final p { color: var(--text-2); font-size: 17px; margin: 0 auto 28px; max-width: 560px; }

/* ---------- Documentos legales ---------- */
main.doc { max-width: 760px; padding: 56px 16px 72px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); letter-spacing: -.03em; line-height: 1.1; margin: 0 0 6px; font-weight: 750; }
.doc .updated { color: var(--muted); font-size: 14px; margin: 0 0 36px; }
.doc h2 { font-size: 20px; letter-spacing: -.01em; margin: 40px 0 10px; }
.doc p, .doc li { color: var(--text-2); }
.doc li { margin: 6px 0; }
.doc a { color: var(--brand-2); }
.note { background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; font-size: 14px; }

/* ---------- Pie ---------- */
footer.site { border-top: 1px solid var(--border); padding: 36px 0 44px; color: var(--muted); font-size: 13px; }
footer.site .foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer.site nav a { text-decoration: none; color: var(--text-2); }
footer.site nav a:hover { color: var(--text); }
footer.site p { margin: 6px 0; max-width: 820px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* ---------- Coming soon ---------- */
.soon-badge { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 650; color: var(--text); background: var(--surface); border: 1px solid var(--border-strong); white-space: nowrap; }
.soon-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-grad); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-2) 18%, transparent); }
.soon-badge-lg { height: 42px; padding: 0 18px; font-size: 15px; margin-bottom: 20px; }
.final p a { color: var(--brand-2); }

/* ---------- Copiar email ---------- */
.email-row { display: inline-flex; align-items: center; gap: 8px; }
.copy-btn { font: inherit; font-size: 12px; font-weight: 600; line-height: 1; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text-2); cursor: pointer; vertical-align: middle; margin-left: 6px; }
.email-row .copy-btn { margin-left: 0; }
.copy-btn:hover { color: var(--text); background: var(--surface-2); }
.copy-btn.copied { color: var(--real); border-color: var(--real); }
.copy-helper { position: fixed; top: -1000px; left: -1000px; opacity: 0; }
