:root {
  --bg: #f6f8fb; --surface: #ffffff; --ink: #0b1622; --muted: #5b6b7c; --line: #e2e8f0;
  --brand: #0f9d6b; --brand-ink: #ffffff; --accent: #0b5cff; --code-bg: #0b1622; --code-ink: #d7e3f1;
  --radius: 16px; --shadow: 0 10px 30px rgba(11, 22, 34, .08);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #071018; --surface: #0e1a26; --ink: #e8eef5; --muted: #93a4b6; --line: #1f2f3f;
    --brand: #16e38f; --brand-ink: #04140c; --accent: #6aa0ff; --code-bg: #050c13; --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 Urbanist, system-ui, sans-serif; }
a { color: var(--accent); }
code { font: .9em ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--line); padding: .1em .35em; border-radius: 6px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.08; margin: .5em 0 .4em; letter-spacing: -.02em; }
h1 em { font-style: normal; color: var(--brand); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 .6em; letter-spacing: -.01em; }
h3 { margin: 0 0 .4em; }
section { padding: 56px 0; }

.nav { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; gap: 12px; }
.nav nav { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.nav nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
.nav nav a.btn { color: var(--brand-ink); }
.brand { display: flex; align-items: center; gap: 8px; font-size: 1.2rem; color: var(--ink); text-decoration: none; font-weight: 600; }
.brand b { color: var(--brand); }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 25%, transparent); }

.btn { display: inline-block; background: var(--brand); color: var(--brand-ink); border: 0; border-radius: 999px; padding: 13px 24px; font: 700 1rem Urbanist, sans-serif; text-decoration: none; cursor: pointer; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn.sm { padding: 8px 16px; }
.pill { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: .9rem; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 36em; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-weight: 600; }
.ticks li::before { content: "✓ "; color: var(--brand); }
.ticks.col { flex-direction: column; gap: 8px; margin: 18px 0 24px; }

.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); padding: 24px; }
.card p { color: var(--muted); margin: 0; }
.hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; padding-top: 40px; }
.phone { max-width: 340px; justify-self: center; width: 100%; display: grid; gap: 12px; }
.step { display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; align-items: center; font-weight: 700; padding: 12px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.step span { grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--brand-ink); }
.step small, .result small { color: var(--muted); font-weight: 500; }
.result { display: grid; text-align: center; padding: 16px; border-radius: 12px; background: color-mix(in srgb, var(--brand) 14%, transparent); }
.result b { color: var(--brand); font-size: 1.3rem; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.code { background: var(--code-bg); color: var(--code-ink); border-radius: var(--radius); padding: 22px; overflow-x: auto; font: 14px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; margin: 0; }
.code .c { color: #6f8499; }
.try { max-width: 720px; margin: 0 auto; text-align: center; }
.try p { margin-bottom: 18px; }
.consent { display: flex; gap: 12px; text-align: left; align-items: flex-start; margin: 18px 0 22px; font-size: .95rem; color: var(--muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--brand); }
.msg { min-height: 1.6em; margin-top: 12px !important; font-weight: 600; }
.foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 40px; border-top: 1px solid var(--line); color: var(--muted); }
.foot nav { display: flex; gap: 18px; }
.foot a { color: var(--muted); }

.doc { max-width: 820px; padding-bottom: 60px; }
.doc h2 { margin-top: 1.6em; }
.doc p, .doc li { color: var(--muted); }
.doc table { border-collapse: collapse; width: 100%; margin: 12px 0; display: block; overflow-x: auto; }
.doc th, .doc td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.center { text-align: center; }
.big { font-size: 3.5rem; line-height: 1; margin-bottom: 8px; }

@media (max-width: 860px) {
  .hero, .split, .grid3 { grid-template-columns: 1fr; }
  .nav nav a:not(.btn) { display: none; }
  section { padding: 36px 0; }
}

/* precios */
.plans { margin-top: 28px; }
.plan .price { font-size: 2.2rem; font-weight: 800; margin: 6px 0 10px; letter-spacing: -.02em; }
.plan .price small { font-size: .95rem; font-weight: 600; color: var(--muted); }
.plan.featured { box-shadow: var(--shadow), inset 0 0 0 2px var(--brand); }
.doc.wide { max-width: 960px; padding-top: 0; }
.prices td:nth-child(2) { font-weight: 700; color: var(--ink); white-space: nowrap; }
.prices td:nth-child(3) { white-space: nowrap; }
.prices th { color: var(--ink); }

/* validaciones, cumplimiento, faq */
.features { margin-top: 28px; }
.features .ico { font-size: 1.8rem; line-height: 1; margin-bottom: 10px; }
.table-card { padding: 8px 8px; overflow-x: auto; }
.compliance { border-collapse: collapse; width: 100%; min-width: 520px; }
.compliance th, .compliance td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compliance tr:last-child td { border-bottom: 0; }
.compliance th { font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.compliance td:first-child { font-weight: 700; }
.compliance td:last-child { color: var(--muted); }
.ok { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); font-size: .8rem; font-weight: 800; margin-right: 8px; }
.faq { max-width: 820px; }
.faq details { background: var(--surface); border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); padding: 16px 20px; margin-bottom: 10px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { color: var(--muted); margin: 10px 0 0; }
