/* ============================================================
   Fábrica 100 · 100 landing pages
   Un motor de conversión, ocho sistemas visuales.
   ============================================================ */

:root {
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", "Iowan Old Style", serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --accent: #0d9488;
  --paper: #ffffff;
  --surface: #ffffff;
  --soft: #f6f7f9;
  --ink: #0f172a;
  --muted: #5b6577;
  --line: #e6e8ee;
  --display: var(--sans);
  --radius: 16px;
  --btn-radius: 10px;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.06);
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, blockquote { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 760; letter-spacing: -0.04em; line-height: 1.04; }
::selection { background: var(--accent); color: #fff; }

.skip {
  position: fixed; top: 8px; left: 8px; z-index: 100;
  background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px;
  transform: translateY(-160%); transition: transform 150ms;
}
.skip:focus { transform: none; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 26px;
  height: 72px; padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  background: color-mix(in srgb, var(--paper) 84%, transparent);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mark {
  width: 36px; height: 36px; flex: none; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--accent); color: #fff;
  font-weight: 800; font-size: 12px; letter-spacing: 0.02em;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--accent) 35%, transparent);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-text b { font-size: 14px; letter-spacing: -0.02em; }
.brand-text small { font-size: 9.5px; color: var(--muted); letter-spacing: 0.02em; }
.nav-links { display: flex; align-items: center; gap: 22px; margin-left: auto; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.nav-links > a:not(.nav-cta):hover { color: var(--ink); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  height: 36px; padding: 0 13px; border-radius: var(--btn-radius);
  background: var(--ink); color: #fff; font-weight: 650;
}
.nav-cta svg { width: 14px; height: 14px; }
.nav-cta:hover { background: var(--accent); }
.nav-toggle { display: none; width: 38px; height: 38px; margin-left: auto; border: 1px solid var(--line); background: transparent; border-radius: 9px; padding: 10px 9px; }
.nav-toggle span { display: block; height: 1.5px; background: var(--ink); margin: 4px 0; transition: 150ms; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: var(--btn-radius);
  border: 1px solid transparent; font-size: 13.5px; font-weight: 680; letter-spacing: -0.01em;
  transition: transform 120ms, background 120ms, border-color 120ms;
}
.btn svg { width: 15px; height: 15px; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 28%, transparent); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { color: var(--ink); border-color: var(--line); background: transparent; }
.btn-ghost:hover { background: var(--soft); }
.btn-outline { color: var(--ink); border-color: var(--line); background: transparent; }
.btn-outline:hover { border-color: var(--ink); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10.5px; font-weight: 750; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow i { width: 6px; height: 6px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent); }
.kicker { display: block; font-size: 10.5px; font-weight: 750; letter-spacing: 0.13em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }

/* ---------- hero ---------- */
.hero {
  max-width: var(--max); margin: 0 auto;
  padding: 76px 24px 44px;
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 46px; align-items: center;
}
.hero-copy { max-width: 610px; min-width: 0; }
.hero h1 { font-size: clamp(40px, 5.1vw, 66px); margin-top: 18px; text-wrap: balance; }
.hero-sub { margin-top: 20px; font-size: 15.5px; line-height: 1.65; color: var(--muted); max-width: 560px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 24px; }
.hero-chips span { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 620; color: var(--muted); }
.hero-chips svg { width: 12px; height: 12px; color: var(--accent); }
.hero-note { display: flex; align-items: center; gap: 9px; margin-top: 28px; font-size: 10.5px; color: var(--muted); }
.avatar-stack { display: flex; }
.avatar-stack i {
  width: 26px; height: 26px; border-radius: 999px; display: grid; place-items: center;
  font-style: normal; font-size: 8.5px; font-weight: 700;
  background: color-mix(in srgb, var(--accent) 16%, var(--surface));
  color: var(--accent); border: 2px solid var(--paper); margin-left: -6px;
}
.avatar-stack i:first-child { margin-left: 0; }

.hero-art { position: relative; min-height: 480px; min-width: 0; display: flex; align-items: center; justify-content: center; }
.art-glow {
  position: absolute; width: 470px; height: 470px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 36%, transparent), transparent 66%);
  filter: blur(22px); opacity: 0.7;
}
.art-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(color-mix(in srgb, var(--ink) 6%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--ink) 6%, transparent) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 72%);
}
.art-ring {
  position: absolute; width: 380px; height: 380px; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
}
.app-mock {
  max-width: 100%;
  --mock-bg: #ffffff; --mock-ink: #0f172a; --mock-muted: #64748b;
  --mock-line: #e6e9f0; --mock-soft: #f8fafc; --mock-accent: var(--accent);
  position: relative; z-index: 2; width: min(540px, 100%);
  background: var(--mock-bg); border: 1px solid var(--mock-line); border-radius: 14px;
  box-shadow: var(--shadow); overflow: hidden; transform: rotate(-1.2deg);
  font-family: var(--sans);
}
.mock-top { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 12px; border-bottom: 1px solid var(--mock-line); background: var(--mock-soft); }
.mock-dots { display: flex; gap: 4px; }
.mock-dots i { width: 6px; height: 6px; border-radius: 999px; background: #f87171; }
.mock-dots i:nth-child(2) { background: #fbbf24; }
.mock-dots i:nth-child(3) { background: #34d399; }
.mock-url { font-family: var(--mono); font-size: 8px; color: var(--mock-muted); }
.mock-live { margin-left: auto; font-size: 7.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--mock-accent); background: color-mix(in srgb, var(--mock-accent) 10%, var(--mock-bg)); padding: 2px 6px; border-radius: 999px; }
.mock-body { display: flex; min-height: 315px; }
.mock-side { width: 42px; border-right: 1px solid var(--mock-line); padding: 10px 0; display: flex; flex-direction: column; align-items: center; gap: 9px; background: var(--mock-soft); }
.mock-logo { width: 20px; height: 20px; border-radius: 6px; background: var(--mock-accent); color: #fff; font-size: 6.5px; font-weight: 800; display: grid; place-items: center; margin-bottom: 6px; }
.mock-nav { width: 16px; height: 4px; border-radius: 3px; background: var(--mock-line); }
.mock-nav.on { background: var(--mock-accent); opacity: 0.75; }
.mock-main { flex: 1; padding: 13px; min-width: 0; }
.mock-table, .mock-kpi, .mock-row, .mock-row-main { min-width: 0; }
.mock-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.mock-head b { display: block; font-size: 13px; letter-spacing: -0.03em; color: var(--mock-ink); }
.mock-head small { display: block; font-size: 7.5px; color: var(--mock-muted); margin-top: 1px; }
.mock-new { font-size: 7.5px; font-weight: 700; color: #fff; background: var(--mock-accent); padding: 4px 7px; border-radius: 5px; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.mock-kpi { border: 1px solid var(--mock-line); border-radius: 7px; padding: 7px 8px; background: var(--mock-bg); }
.mock-kpi small { display: block; font-size: 6.5px; color: var(--mock-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-kpi b { display: block; font-size: 13px; letter-spacing: -0.03em; margin-top: 2px; color: var(--mock-ink); }
.mock-kpi.hot { border-color: color-mix(in srgb, var(--mock-accent) 40%, var(--mock-line)); background: color-mix(in srgb, var(--mock-accent) 5%, var(--mock-bg)); }
.mock-spark { display: flex; align-items: flex-end; gap: 2px; height: 11px; margin-top: 4px; }
.mock-spark i { flex: 1; background: color-mix(in srgb, var(--mock-accent) 30%, var(--mock-line)); border-radius: 1px; height: 40%; }
.mock-spark i:nth-child(2) { height: 65%; }
.mock-spark i:nth-child(3) { height: 50%; }
.mock-spark i:nth-child(4) { height: 85%; }
.mock-spark i:nth-child(5) { height: 100%; background: var(--mock-accent); }
.mock-table { margin-top: 12px; border: 1px solid var(--mock-line); border-radius: 7px; overflow: hidden; }
.mock-thead { display: grid; grid-template-columns: 18px 1.2fr 0.8fr 0.55fr; gap: 6px; padding: 5px 8px; background: var(--mock-soft); font-size: 6px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--mock-muted); }
.mock-thead span:last-child { text-align: right; }
.mock-row { display: grid; grid-template-columns: 18px 1.2fr 0.8fr 0.55fr; gap: 6px; align-items: center; padding: 7px 8px; border-top: 1px solid var(--mock-line); }
.mock-avatar { width: 18px; height: 18px; border-radius: 999px; background: color-mix(in srgb, var(--mock-accent) 14%, var(--mock-bg)); color: var(--mock-accent); font-size: 6px; font-weight: 800; display: grid; place-items: center; }
.mock-row-main b { display: block; font-size: 7.5px; color: var(--mock-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-row-main small { display: block; font-size: 6.5px; color: var(--mock-muted); }
.mock-status { justify-self: start; font-size: 6px; font-weight: 700; padding: 2px 5px; border-radius: 999px; background: var(--mock-soft); color: var(--mock-muted); white-space: nowrap; }
.mock-status.s0 { background: color-mix(in srgb, var(--mock-accent) 12%, var(--mock-bg)); color: var(--mock-accent); }
.mock-status.s1 { background: #fff7ed; color: #c2410c; }
.mock-amount { text-align: right; font-size: 7.5px; font-weight: 700; color: var(--mock-ink); white-space: nowrap; }

.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 11px;
  padding: 9px 11px; box-shadow: var(--shadow-sm); font-size: 9px;
}
.float-card svg { width: 15px; height: 15px; color: var(--accent); flex: none; }
.float-card b { display: block; font-size: 10px; color: var(--ink); line-height: 1.2; }
.float-card small { display: block; font-size: 8px; color: var(--muted); }
.float-a { top: 19%; left: -8%; }
.float-b { bottom: 6%; right: -3%; }
.float-b b { color: var(--accent); }

/* ---------- proof ---------- */
.proof {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--soft);
  padding: 16px max(24px, calc((100vw - var(--max)) / 2));
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  font-size: 10.5px; color: var(--muted);
}
.proof > span { font-weight: 750; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.proof-items { display: flex; gap: 22px; flex-wrap: wrap; }
.proof-items span { display: inline-flex; align-items: center; gap: 6px; }
.proof-items svg { width: 13px; height: 13px; color: var(--accent); }

/* ---------- sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: 86px 24px 20px; }
.section-head { max-width: 730px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(30px, 3.7vw, 46px); margin-top: 8px; text-wrap: balance; }
.section-head > p { margin-top: 14px; font-size: 14px; color: var(--muted); max-width: 600px; }

/* problem */
.problem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.problem-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px;
  background: var(--surface); display: flex; flex-direction: column; gap: 18px;
}
.problem-card .num { font-family: var(--mono); font-size: 10px; font-weight: 700; color: var(--muted); letter-spacing: 0.08em; }
.problem-card p { font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.problem-card.accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.problem-card.accent .num { color: #fff; }
.problem-card.accent p { color: rgba(255,255,255,0.92); font-weight: 550; }
.problem-card.accent svg { width: 18px; height: 18px; }

/* features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.feature-card {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px 20px; background: var(--surface); min-height: 178px;
  display: flex; flex-direction: column; gap: 10px;
}
.feature-card.featured { background: color-mix(in srgb, var(--accent) 6%, var(--surface)); border-color: color-mix(in srgb, var(--accent) 30%, var(--line)); }
.feature-icon {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 12%, var(--surface)); color: var(--accent);
}
.feature-icon svg { width: 19px; height: 19px; }
.feature-card h3 { font-size: 14.5px; letter-spacing: -0.03em; }
.feature-card p { font-size: 11.5px; line-height: 1.55; color: var(--muted); }
.feature-tag { margin-top: auto; font-size: 8.5px; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.feature-card.featured .feature-tag { color: var(--accent); }

/* how */
.how { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 46px; align-items: start; }
.how-copy h2 { font-size: clamp(30px, 3.6vw, 44px); margin-top: 8px; }
.how-copy p { margin-top: 14px; font-size: 13.5px; color: var(--muted); max-width: 420px; }
.how-copy .btn { margin-top: 22px; }
.steps { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.step { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.step > span { font-family: var(--mono); font-size: 10px; font-weight: 700; color: var(--accent); padding-top: 3px; }
.step h3 { font-size: 15px; }
.step p { font-size: 11.5px; color: var(--muted); margin-top: 5px; line-height: 1.55; }

/* outcomes */
.outcome-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.outcome-card { border-top: 2px solid var(--accent); padding: 20px 4px 12px; }
.outcome-num { font-family: var(--mono); font-size: 10px; color: var(--accent); }
.outcome-card h3 { font-size: 17px; margin-top: 8px; }
.outcome-card p { font-size: 11.5px; color: var(--muted); margin-top: 6px; line-height: 1.55; }
.before-after {
  margin-top: 34px; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 22px; display: flex; align-items: center; gap: 18px; background: var(--soft);
}
.before-after > div { flex: 1; }
.before-after small { font-size: 9px; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.before-after p { font-size: 12px; font-weight: 600; margin-top: 3px; }
.ba-arrow { color: var(--accent); flex: none; }
.ba-arrow svg { width: 16px; height: 16px; }

/* quote */
.quote-section { padding-top: 70px; }
.quote-card {
  position: relative; border-radius: calc(var(--radius) + 6px);
  background: var(--ink); color: #fff; padding: 52px 56px 40px;
  overflow: hidden;
}
.quote-card::after {
  content: ''; position: absolute; width: 360px; height: 360px; right: -140px; top: -140px;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 50%, transparent), transparent 65%);
  border-radius: 50%;
}
.quote-mark { font-family: var(--serif); font-size: 58px; line-height: 0.6; color: var(--accent); display: block; }
.quote-card blockquote { position: relative; z-index: 1; font-family: var(--display); font-size: clamp(20px, 2.4vw, 29px); line-height: 1.35; letter-spacing: -0.03em; max-width: 850px; margin-top: 18px; }
.quote-person { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; margin-top: 28px; }
.quote-avatar { width: 34px; height: 34px; border-radius: 999px; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 10px; font-weight: 800; }
.quote-person b { display: block; font-size: 11.5px; }
.quote-person small { display: block; font-size: 9.5px; color: rgba(255,255,255,0.55); }
.quote-tag { margin-left: auto; font-size: 8.5px; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.45); border: 1px solid rgba(255,255,255,0.18); padding: 3px 7px; border-radius: 999px; }

/* pricing */
.pricing-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.pricing-copy { max-width: 680px; }
.pricing-copy h2 { font-size: clamp(30px, 3.7vw, 46px); margin-top: 8px; text-wrap: balance; }
.billing-toggle { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.billing-toggle button { border: 0; background: transparent; padding: 7px 13px; border-radius: 999px; font-size: 11px; font-weight: 650; color: var(--muted); }
.billing-toggle button.active { background: var(--ink); color: #fff; }
.billing-toggle span { color: var(--accent); font-size: 9px; font-weight: 750; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: stretch; }
.plan-card {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; background: var(--surface); display: flex; flex-direction: column;
}
.plan-card.popular { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 10%, transparent); }
.plan-badge {
  position: absolute; top: -10px; left: 22px; background: var(--accent); color: #fff;
  font-size: 8.5px; font-weight: 750; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 4px 8px; border-radius: 999px;
}
.plan-card h3 { font-size: 15px; }
.plan-desc { font-size: 10.5px; color: var(--muted); margin-top: 3px; }
.plan-price { display: flex; align-items: baseline; gap: 3px; margin-top: 18px; }
.price-value { font-family: var(--display); font-size: 38px; font-weight: 780; letter-spacing: -0.05em; }
.price-period { font-size: 11px; color: var(--muted); }
.plan-tax { font-size: 9px; color: var(--muted); margin-top: 2px; }
.plan-card .btn { margin-top: 18px; width: 100%; }
.plan-card ul { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 7px; }
.plan-card li { display: flex; gap: 7px; align-items: flex-start; font-size: 10.5px; color: var(--muted); }
.plan-card li svg { width: 12px; height: 12px; color: var(--accent); flex: none; margin-top: 2px; }
.pricing-note { display: flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 10px; color: var(--muted); }
.pricing-note svg { width: 13px; height: 13px; color: var(--accent); }

/* faq */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 46px; align-items: start; }
.faq-copy h2 { font-size: clamp(30px, 3.5vw, 42px); margin-top: 8px; }
.faq-copy p { font-size: 13px; color: var(--muted); margin-top: 14px; max-width: 340px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px;
  padding: 17px 0; font-size: 13px; font-weight: 650; letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary span { margin-left: auto; font-size: 18px; font-weight: 300; color: var(--accent); transition: transform 150ms; }
.faq-item[open] summary span { transform: rotate(45deg); }
.faq-item p { font-size: 11.5px; color: var(--muted); line-height: 1.65; padding: 0 26px 18px 0; }

/* final cta */
.final-cta { max-width: var(--max); margin: 0 auto; padding: 60px 24px 90px; }
.cta-card {
  position: relative; overflow: hidden; border-radius: calc(var(--radius) + 8px);
  padding: 54px 48px; background: var(--accent); color: #fff;
  display: flex; flex-direction: column; align-items: flex-start;
}
.cta-card::before {
  content: ''; position: absolute; inset: auto -10% -60% auto; width: 520px; height: 520px;
  border-radius: 50%; background: rgba(255,255,255,0.14);
}
.cta-card::after {
  content: ''; position: absolute; inset: -40% auto auto 55%; width: 360px; height: 360px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,0.25);
}
.cta-card .kicker { color: rgba(255,255,255,0.75); }
.cta-card h2 { font-size: clamp(32px, 4.4vw, 54px); max-width: 620px; }
.cta-card p { font-size: 13.5px; max-width: 520px; margin-top: 14px; color: rgba(255,255,255,0.82); position: relative; z-index: 1; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; position: relative; z-index: 1; }
.cta-card .btn-primary { background: #fff; color: var(--ink); box-shadow: none; }
.cta-card .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.35); }
.cta-card small { position: relative; z-index: 1; margin-top: 18px; font-size: 9px; color: rgba(255,255,255,0.6); }

/* footer */
.footer {
  border-top: 1px solid var(--line); background: var(--soft);
  padding: 46px max(24px, calc((100vw - var(--max)) / 2)) 26px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px;
}
.footer-brand p { font-size: 11px; color: var(--muted); margin-top: 12px; max-width: 330px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.footer-cols > div { display: flex; flex-direction: column; gap: 7px; }
.footer-cols b { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 3px; }
.footer-cols a { font-size: 11px; color: var(--muted); }
.footer-cols a:hover { color: var(--ink); }
.footer-bottom {
  grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 18px;
  display: flex; gap: 14px; justify-content: space-between; flex-wrap: wrap;
  font-size: 9.5px; color: var(--muted);
}

/* ============================================================
   SISTEMAS VISUALES
   ============================================================ */

/* 1 · split: base limpia + glow */
.theme-split { --soft: #f6f7f9; }

/* 2 · centered */
.theme-centered .hero { grid-template-columns: 1fr; text-align: center; padding-top: 78px; gap: 26px; }
.theme-centered .hero-copy { max-width: 860px; margin: 0 auto; }
.theme-centered .hero h1 { font-size: clamp(42px, 5.7vw, 76px); }
.theme-centered .hero-sub { margin-left: auto; margin-right: auto; }
.theme-centered .hero-actions, .theme-centered .hero-chips, .theme-centered .hero-note { justify-content: center; }
.theme-centered .hero-art { min-height: 500px; margin-top: 4px; }
.theme-centered .app-mock { transform: rotate(0); width: min(620px, 100%); }
.theme-centered .art-grid { mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 68%); }
.theme-centered .proof { justify-content: center; }
.theme-centered .section-head { margin-left: auto; margin-right: auto; text-align: center; }
.theme-centered .section-head > p { margin-left: auto; margin-right: auto; }
.theme-centered .problem-grid { grid-template-columns: repeat(2, 1fr); }
.theme-centered .quote-card { text-align: center; }
.theme-centered .quote-person { justify-content: center; }
.theme-centered .quote-tag { margin-left: 0; }
.theme-centered .pricing-head { justify-content: center; text-align: center; }
.theme-centered .pricing-head { flex-direction: column; align-items: center; }

/* 3 · editorial */
.theme-editorial {
  --paper: #f7f3ea; --surface: #fbf8f1; --soft: #efe9dc; --ink: #16130e; --muted: #6b6357;
  --line: #d9d0c0; --display: var(--serif); --radius: 3px; --btn-radius: 2px;
  --shadow: 0 18px 40px rgba(60, 48, 30, 0.14);
}
.theme-editorial h1, .theme-editorial h2, .theme-editorial h3 { font-weight: 600; letter-spacing: -0.03em; }
.theme-editorial .hero h1 { font-size: clamp(44px, 5.4vw, 72px); }
.theme-editorial .brand-mark { border-radius: 2px; }
.theme-editorial .app-mock { transform: rotate(0.8deg); border-width: 1px; box-shadow: 8px 8px 0 var(--ink); }
.theme-editorial .float-card { border-radius: 2px; }
.theme-editorial .nav { border-bottom-color: var(--ink); }
.theme-editorial .btn { text-transform: uppercase; font-size: 10.5px; letter-spacing: 0.12em; }
.theme-editorial .kicker, .theme-editorial .eyebrow { letter-spacing: 0.18em; }
.theme-editorial .problem-card, .theme-editorial .feature-card, .theme-editorial .plan-card { border-color: var(--line); }
.theme-editorial .quote-card { background: #16130e; color: #f7f3ea; border-radius: 2px; }
.theme-editorial .final-cta .cta-card { border-radius: 2px; }
.theme-editorial .footer { background: #efe9dc; }

/* 4 · dark */
.theme-dark {
  --paper: #080c14; --surface: #0e1420; --soft: #0b111b; --ink: #f4f7fb; --muted: #98a4b7;
  --line: #1e2838; --shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
}
.theme-dark .nav { background: color-mix(in srgb, #080c14 84%, transparent); }
.theme-dark .btn-primary { color: #06110f; }
.theme-dark .btn-ghost { border-color: var(--line); }
.theme-dark .proof { background: #0a1019; }
.theme-dark .app-mock {
  max-width: 100%;
  --mock-bg: #0e1420; --mock-ink: #f4f7fb; --mock-muted: #8592a6; --mock-line: #222d3f; --mock-soft: #111827;
}
.theme-dark .mock-status.s1 { background: #2a1a0a; color: #fdba74; }
.theme-dark .float-card { background: #0e1420; }
.theme-dark .problem-card.accent { color: #06110f; }
.theme-dark .problem-card.accent p { color: #06110f; }
.theme-dark .quote-card { background: #0e1420; border: 1px solid var(--line); }
.theme-dark .before-after { background: #0b111b; }
.theme-dark .billing-toggle button.active { background: var(--accent); color: #06110f; }
.theme-dark .cta-card { color: #06110f; }
.theme-dark .cta-card p, .theme-dark .cta-card .kicker, .theme-dark .cta-card small { color: rgba(6,17,15,0.72); }
.theme-dark .cta-card .btn-primary { background: #06110f; color: #fff; }
.theme-dark .cta-card .btn-ghost { color: #06110f; border-color: rgba(6,17,15,0.3); }
.theme-dark .footer { background: #0a1019; }
.theme-dark .brand-mark { color: #06110f; }
.theme-dark .nav-cta { background: var(--accent); color: #06110f; }
.theme-dark .nav-cta:hover { background: #fff; }

/* 5 · bold */
.theme-bold { --paper: #fffef8; --soft: #f4f1e6; --ink: #0a0a0a; --line: #d9d5c6; --radius: 0px; --btn-radius: 0px; }
.theme-bold .hero h1 {
  text-transform: uppercase; font-weight: 900; letter-spacing: -0.055em;
  font-size: clamp(46px, 6.4vw, 86px); line-height: 0.92;
}
.theme-bold .hero h1::after {
  content: ''; display: block; width: 96px; height: 9px; background: var(--accent); margin-top: 20px;
}
.theme-bold .brand-mark { border-radius: 0; }
.theme-bold .btn { text-transform: uppercase; letter-spacing: 0.06em; font-size: 11px; }
.theme-bold .app-mock { transform: rotate(1.5deg); border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--accent); }
.theme-bold .float-card { border: 2px solid var(--ink); border-radius: 0; box-shadow: 4px 4px 0 var(--ink); }
.theme-bold .problem-card, .theme-bold .feature-card, .theme-bold .plan-card { border: 2px solid var(--ink); }
.theme-bold .problem-card.accent { border-color: var(--ink); }
.theme-bold .section-head h2 { text-transform: uppercase; font-weight: 900; letter-spacing: -0.045em; }
.theme-bold .kicker { background: var(--ink); color: #fff; display: inline-block; padding: 4px 8px; }
.theme-bold .quote-card { border: 2px solid var(--ink); }
.theme-bold .cta-card { border: 2px solid var(--ink); }
.theme-bold .footer { border-top: 2px solid var(--ink); }
.theme-bold .float-a, .theme-grid .float-a { display: none; }

/* 6 · soft */
.theme-soft {
  --paper: #fbf8ff; --surface: #ffffff; --soft: #f4effc; --ink: #241a33; --muted: #6f6480;
  --line: #e9e1f4; --radius: 26px; --btn-radius: 999px;
  --shadow: 0 26px 60px rgba(80, 60, 120, 0.14);
  background: radial-gradient(900px 500px at 8% 0%, color-mix(in srgb, var(--accent) 16%, #fff), transparent 60%),
    radial-gradient(900px 600px at 100% 20%, #f3e8ff, transparent 55%), var(--paper);
}
.theme-soft .nav { border-bottom-color: transparent; background: color-mix(in srgb, #fbf8ff 78%, transparent); }
.theme-soft .brand-mark { border-radius: 999px; }
.theme-soft .app-mock { border-radius: 22px; transform: rotate(-1deg); }
.theme-soft .float-card { border-radius: 16px; }
.theme-soft .problem-card, .theme-soft .feature-card, .theme-soft .plan-card { border-radius: 22px; }
.theme-soft .quote-card { border-radius: 30px; background: #2b1b3d; }
.theme-soft .cta-card { border-radius: 32px; }
.theme-soft .btn { padding: 0 22px; }
.theme-soft .problem-card.accent { background: linear-gradient(145deg, var(--accent), #7c3aed); }

/* 7 · grid */
.theme-grid {
  --paper: #f2f3f5; --surface: #ffffff; --soft: #e9ebee; --ink: #111418; --muted: #5b6472;
  --line: #cfd4da; --radius: 0px; --btn-radius: 2px; --display: var(--sans);
}
.theme-grid {
  background-image: linear-gradient(color-mix(in srgb, #111418 5%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, #111418 5%, transparent) 1px, transparent 1px);
  background-size: 32px 32px;
}
.theme-grid .nav, .theme-grid .proof, .theme-grid .footer { background: #f2f3f5; }
.theme-grid .eyebrow, .theme-grid .kicker, .theme-grid .feature-tag { font-family: var(--mono); letter-spacing: 0.08em; }
.theme-grid h1, .theme-grid h2, .theme-grid h3 { letter-spacing: -0.035em; }
.theme-grid .hero h1 { font-size: clamp(38px, 4.8vw, 62px); }
.theme-grid .app-mock { border: 1px solid var(--ink); box-shadow: 6px 6px 0 color-mix(in srgb, var(--ink) 14%, transparent); transform: rotate(0); }
.theme-grid .float-card { border-radius: 0; border-color: var(--ink); }
.theme-grid .problem-card, .theme-grid .feature-card, .theme-grid .plan-card { border-color: var(--line); border-width: 1px; }
.theme-grid .problem-card.accent { border-color: var(--ink); }
.theme-grid .btn { text-transform: uppercase; font-size: 10.5px; letter-spacing: 0.08em; }
.theme-grid .quote-card { border-radius: 0; }
.theme-grid .cta-card { border-radius: 0; }
.theme-grid .section { border-top: 1px solid var(--line); }
.theme-grid .section:first-of-type { border-top: 0; }

/* 8 · minimal */
.theme-minimal { --paper: #ffffff; --soft: #fafafa; --ink: #111111; --muted: #737373; --line: #e8e8e8; --radius: 2px; --btn-radius: 2px; --shadow: 0 10px 30px rgba(0,0,0,0.06); }
.theme-minimal h1, .theme-minimal h2, .theme-minimal h3 { font-weight: 420; letter-spacing: -0.03em; }
.theme-minimal .hero h1 { font-size: clamp(40px, 5vw, 66px); line-height: 1.06; }
.theme-minimal .brand-mark { border-radius: 999px; background: var(--ink); box-shadow: none; }
.theme-minimal .hero { padding-top: 94px; }
.theme-minimal .art-glow, .theme-minimal .art-ring { display: none; }
.theme-minimal .app-mock { transform: rotate(0); box-shadow: none; border-color: var(--line); }
.theme-minimal .float-card { box-shadow: none; border-color: var(--line); border-radius: 2px; }
.theme-minimal .problem-card, .theme-minimal .feature-card, .theme-minimal .plan-card { border: 0; border-top: 1px solid var(--ink); border-radius: 0; padding-left: 0; padding-right: 0; background: transparent; }
.theme-minimal .feature-card.featured { background: transparent; border-color: var(--ink); }
.theme-minimal .problem-card.accent { background: transparent; color: var(--ink); border-top-color: var(--accent); }
.theme-minimal .problem-card.accent p { color: var(--ink); }
.theme-minimal .problem-card.accent .num { color: var(--accent); }
.theme-minimal .quote-card { background: transparent; color: var(--ink); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); border-radius: 0; }
.theme-minimal .quote-person small, .theme-minimal .quote-tag { color: var(--muted); }
.theme-minimal .quote-tag { border-color: var(--line); }
.theme-minimal .cta-card { background: var(--soft); color: var(--ink); border: 1px solid var(--line); }
.theme-minimal .cta-card p, .theme-minimal .cta-card .kicker, .theme-minimal .cta-card small { color: var(--muted); }
.theme-minimal .cta-card .btn-primary { background: var(--ink); color: #fff; }
.theme-minimal .cta-card .btn-ghost { color: var(--ink); border-color: var(--line); }
.theme-minimal .footer { background: #fff; }

/* ============================================================
   ÍNDICE
   ============================================================ */
.theme-index { --paper: #f5f6f8; --soft: #eceef2; }
.index-nav { background: #0b1220; border-bottom-color: rgba(255,255,255,0.08); color: #fff; }
.index-nav .brand-mark { background: #0f172a; border: 1px solid rgba(255,255,255,0.18); box-shadow: none; color: #5eead4; }
.index-nav .brand-text small { color: rgba(255,255,255,0.5); }
.index-nav .nav-links { color: rgba(255,255,255,0.62); }
.index-nav .nav-links > a:not(.nav-cta):hover { color: #fff; }
.index-nav .nav-cta { background: #14b8a6; color: #042f2e; }
.index-hero {
  position: relative; overflow: hidden; color: #fff; background: #0b1220;
  padding: 84px max(24px, calc((100vw - var(--max)) / 2)) 64px;
}
.index-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 30% 0%, #000 20%, transparent 75%);
}
.index-hero::after {
  content: ''; position: absolute; width: 680px; height: 680px; right: -180px; top: -260px;
  border-radius: 50%; background: radial-gradient(circle, rgba(20,184,166,0.36), transparent 62%);
}
.index-hero > * { position: relative; z-index: 1; }
.index-hero h1 { font-size: clamp(44px, 6.4vw, 82px); letter-spacing: -0.055em; margin-top: 18px; max-width: 900px; }
.index-hero h1 em { font-style: normal; color: #5eead4; }
.index-hero p { max-width: 650px; margin-top: 20px; font-size: 14.5px; line-height: 1.65; color: rgba(255,255,255,0.68); }
.index-hero .btn-primary { background: #14b8a6; color: #042f2e; box-shadow: none; }
.index-hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.18); }
.index-stats { display: flex; gap: 46px; flex-wrap: wrap; margin-top: 52px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.12); }
.index-stats b { display: block; font-size: 26px; letter-spacing: -0.04em; line-height: 1.1; }
.index-stats span { font-size: 10px; color: rgba(255,255,255,0.5); }

.index-systems { max-width: var(--max); margin: 0 auto; padding: 64px 24px 0; }
.index-systems h2 { font-size: clamp(28px, 3.4vw, 40px); margin-top: 4px; }
.system-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 24px; }
.system-card { border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: var(--surface); display: flex; flex-direction: column; gap: 5px; position: relative; overflow: hidden; }
.system-card::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--accent); }
.system-card > span { font-family: var(--mono); font-size: 9px; color: var(--muted); }
.system-card b { font-size: 13px; }
.system-card small { font-size: 10px; color: var(--muted); }
.system-card.theme-dark { color: #f4f7fb; }
.system-card.theme-dark small, .system-card.theme-dark > span { color: #98a4b7; }

.index-grid-wrap { max-width: var(--max); margin: 0 auto; padding: 64px 24px 0; }
.index-grid-head { display: flex; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.index-grid-head h2 { font-size: clamp(28px, 3.4vw, 40px); margin-top: 4px; }
.index-filters { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.index-filters input, .index-filters select {
  height: 38px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface);
  padding: 0 11px; font-size: 11.5px; outline: 0;
}
.index-filters input { width: 250px; }
.index-filters input:focus, .index-filters select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 12%, transparent); }
.index-chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 18px 0 18px; }
.index-chips button {
  border: 1px solid var(--line); background: var(--surface); border-radius: 999px;
  font-size: 10.5px; padding: 5px 10px; color: var(--muted);
}
.index-chips button.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.landing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.landing-card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 13px;
  padding: 16px; display: flex; flex-direction: column; gap: 8px; overflow: hidden;
  transition: transform 140ms, box-shadow 140ms, border-color 140ms;
}
.landing-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent); }
.landing-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: color-mix(in srgb, var(--accent) 32%, var(--line)); }
.lc-top { display: flex; align-items: center; gap: 8px; }
.lc-mark { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 12%, var(--surface)); color: var(--accent); font-size: 9.5px; font-weight: 800; }
.lc-num { font-family: var(--mono); font-size: 9px; color: var(--muted); }
.lc-theme { margin-left: auto; font-size: 8px; font-weight: 750; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); border: 1px solid var(--line); padding: 2px 6px; border-radius: 999px; }
.landing-card h3 { font-size: 14.5px; letter-spacing: -0.02em; }
.landing-card p { font-size: 10.5px; line-height: 1.5; color: var(--muted); min-height: 31px; }
.lc-foot { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--line); font-size: 9px; color: var(--muted); }
.lc-foot span:last-child { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; color: var(--accent); font-weight: 700; }
.lc-foot svg { width: 12px; height: 12px; }
.index-empty { padding: 40px; text-align: center; font-size: 12px; color: var(--muted); }
.index-note { max-width: var(--max); margin: 56px auto 0; padding: 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.index-note > div { border-top: 1px solid var(--ink); padding-top: 14px; }
.index-note b { font-size: 12px; }
.index-note p { font-size: 11px; color: var(--muted); margin-top: 5px; line-height: 1.6; }
.index-note code { font-family: var(--mono); font-size: 10px; background: var(--soft); padding: 1px 4px; border-radius: 3px; }
.index-footer { margin-top: 60px; grid-template-columns: 1fr; }
.index-footer .footer-cols { display: none; }

/* ---------- anchors ---------- */
section[id] { scroll-margin-top: 84px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; gap: 30px; }
  .hero-copy { max-width: 760px; }
  .hero-art { min-height: 440px; }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .how, .faq { grid-template-columns: 1fr; gap: 28px; }
  .system-grid { grid-template-columns: repeat(2, 1fr); }
  .landing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .nav { height: 64px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: 64px; left: 0; right: 0; z-index: 49;
    display: none; flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 10px 22px 18px;
  }
  .nav-links > a { padding: 11px 0; width: 100%; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink); }
  .nav-links .nav-cta { margin-top: 12px; justify-content: center; border-bottom: 0; }
  body.nav-open .nav-links { display: flex; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
  .hero { padding-top: 54px; }
  .hero h1 { font-size: clamp(36px, 8vw, 52px); }
  .float-a { left: 0; top: 2%; }
  .float-b { right: 0; bottom: 1%; }
  .section { padding-top: 64px; }
  .outcome-grid { grid-template-columns: 1fr; gap: 18px; }
  .before-after { flex-direction: column; align-items: flex-start; gap: 10px; }
  .ba-arrow { transform: rotate(90deg); }
  .pricing-grid { grid-template-columns: 1fr; }
  .quote-card { padding: 36px 26px 30px; }
  .cta-card { padding: 38px 26px; }
  .footer { grid-template-columns: 1fr; gap: 28px; }
  .index-stats { gap: 26px; }
  .index-filters { margin-left: 0; width: 100%; }
  .index-filters input { flex: 1; width: auto; }
  .index-note { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .nav { padding: 0 16px; gap: 12px; }
  .hero { padding-left: 18px; padding-right: 18px; }
  .hero-art { min-height: 0; margin-top: 12px; }
  .app-mock { width: 100%; transform: none; }
  .mock-body { min-height: 0; }
  .mock-side { width: 34px; }
  .mock-kpis { grid-template-columns: 1fr 1fr; }
  .mock-kpi:nth-child(3) { display: none; }
  .mock-table { display: none; }
  .float-card { display: none; }
  .problem-grid, .feature-grid, .landing-grid, .system-grid { grid-template-columns: 1fr; }
  .proof { flex-direction: column; align-items: flex-start; gap: 10px; }
  .proof-items { gap: 10px 18px; }
  .hero-chips { gap: 7px 12px; }
  .hero-actions .btn { width: 100%; }
  .quote-tag { display: none; }
  .nav-cta svg { width: 13px; }
  .brand-text small { display: none; }
  .section-head h2 { font-size: 30px; }
  .index-hero { padding-top: 58px; }
  .index-hero h1 { font-size: 42px; }
  .index-stats { gap: 22px; }
}

/* Logo real de la app (logos-100) en lugar de las iniciales */
.brand-mark.has-logo { width: 40px; height: 40px; background: none; box-shadow: none; border-radius: 0; padding: 0; }
.brand-mark.has-logo img { width: 100%; height: 100%; display: block; object-fit: contain; }
.theme-editorial .brand-mark.has-logo { border-radius: 0; }

/* =====================================================================
   Capturas reales: hero flotante + recorrido en secuencia
   ===================================================================== */
.frame-top { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 14px; background: #f3f4f6; border-bottom: 1px solid #e5e7eb; }
.frame-dots { display: flex; gap: 5px; }
.frame-dots i { width: 9px; height: 9px; border-radius: 999px; background: #f87171; }
.frame-dots i:nth-child(2) { background: #fbbf24; }
.frame-dots i:nth-child(3) { background: #34d399; }
.frame-url { font-family: var(--mono, ui-monospace, monospace); font-size: 11px; color: #6b7280; background: #fff; border: 1px solid #e5e7eb; border-radius: 999px; padding: 2px 12px; }
.frame-live { margin-left: auto; font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, #fff); padding: 3px 9px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; }
.frame-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; transform: scale(.7); } }

.shot-frame { position: relative; z-index: 1; width: min(640px, 100%); border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 40px 80px -36px rgba(15,23,42,.55), 0 0 0 1px rgba(255,255,255,.04);
  transform: perspective(1400px) rotateY(-9deg) rotateX(4deg); animation: floaty 7s ease-in-out infinite; }
.shot-frame img { display: block; width: 100%; height: auto; }
@keyframes floaty { 0%,100% { transform: perspective(1400px) rotateY(-9deg) rotateX(4deg) translateY(0); } 50% { transform: perspective(1400px) rotateY(-6deg) rotateX(2deg) translateY(-12px); } }
.theme-centered .shot-frame { transform: none; animation-name: floaty-flat; width: min(860px, 100%); }
@keyframes floaty-flat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.tour { position: relative; }
.tour-head { text-align: center; max-width: 720px; margin: 0 auto 34px; }
.tour-head h2 { margin: 8px 0 8px; }
.tour-head p { color: var(--muted); }
.tour-body { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 34px; align-items: center; }
.tour-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.tour-step { position: relative; width: 100%; display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; text-align: left; font: inherit; color: inherit;
  background: transparent; border: 1px solid transparent; border-radius: 16px; padding: 14px 16px 18px; cursor: pointer; overflow: hidden; transition: background .25s, border-color .25s, transform .25s; }
.tour-step:hover { background: color-mix(in srgb, var(--accent) 6%, transparent); }
.tour-step.active { background: var(--card, #fff); border-color: color-mix(in srgb, var(--accent) 35%, transparent); box-shadow: 0 18px 40px -26px color-mix(in srgb, var(--accent) 70%, #000); transform: translateX(6px); }
.tour-num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-weight: 800; font-size: 14px; color: var(--muted); background: color-mix(in srgb, var(--muted) 12%, transparent); transition: background .25s, color .25s; }
.tour-step.active .tour-num { background: var(--accent); color: #fff; }
.tour-txt b { display: block; font-size: 16px; margin-bottom: 2px; }
.tour-txt small { display: block; font-size: 13px; line-height: 1.45; color: var(--muted); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .35s ease, opacity .35s ease; }
.tour-step.active .tour-txt small { max-height: 80px; opacity: 1; }
.tour-bar { position: absolute; left: 16px; right: 16px; bottom: 7px; height: 3px; border-radius: 3px; background: color-mix(in srgb, var(--muted) 15%, transparent); overflow: hidden; opacity: 0; }
.tour-step.active .tour-bar { opacity: 1; }
.tour-bar i { display: block; height: 100%; width: 0; background: var(--accent); }
.tour-step.active .tour-bar i { animation: tourfill var(--tour-ms, 5000ms) linear forwards; }
[data-tour].paused .tour-step.active .tour-bar i { animation-play-state: paused; }
@keyframes tourfill { to { width: 100%; } }

.tour-frame { position: relative; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 50px 90px -40px rgba(15,23,42,.55), 0 0 0 8px color-mix(in srgb, var(--accent) 8%, transparent); }
.tour-screens { position: relative; aspect-ratio: 1440 / 900; overflow: hidden; background: #f8fafc; }
.tour-screens img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left;
  opacity: 0; transform: scale(1.06) translateY(14px); transition: opacity .7s ease, transform 5.5s ease; }
.tour-screens img.on { opacity: 1; transform: scale(1) translateY(0); }

@media (max-width: 900px) {
  .tour-body { grid-template-columns: 1fr; }
  .tour-steps { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
  .tour-steps li { flex: 0 0 78%; scroll-snap-align: start; }
  .tour-step.active { transform: none; }
  .shot-frame, .theme-centered .shot-frame { transform: none; animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  .shot-frame { animation: none; }
  .tour-screens img { transition: opacity .2s; transform: none !important; }
  .tour-step.active .tour-bar i { animation: none; width: 100%; }
}
.theme-dark .tour-step.active, .theme-grid .tour-step.active { background: rgba(255,255,255,.04); }
.theme-dark .shot-frame, .theme-dark .tour-frame { border-color: rgba(255,255,255,.08); }
