:root {
  --bg: #ffffff; --bg-soft: #f4f7f6; --ink: #0f1b2d; --muted: #5b6b82; --line: #e3e8ef;
  --primary: #0e9f6e; --primary-dark: #057a55; --primary-soft: #e3f6ee; --warn-bg: #fff8e6; --warn-ink: #7a5300;
  --radius: 16px; --shadow: 0 10px 30px rgba(15, 27, 45, .08);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a1220; --bg-soft: #0f1a2b; --ink: #e8eef7; --muted: #9aabc2; --line: #22314a;
    --primary-soft: #0f2f25; --warn-bg: #2a2210; --warn-ink: #f2c46b; --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: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; overflow-x: hidden; }
a { color: var(--primary); }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
header.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
.logo .mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--primary); color: #fff; font-size: .85rem; font-weight: 800; }
nav.links { display: flex; align-items: center; gap: 18px; }
nav.links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; }
nav.links a.btn { color: #fff; }
@media (max-width: 720px) { nav.links .hide-sm { display: none; } }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 12px; border: 2px solid transparent; font-weight: 700;
  text-decoration: none; cursor: pointer; font-size: 1rem; line-height: 1.2; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-sm { padding: 8px 14px; font-size: .9rem; }
.hero { padding: 64px 0 40px; background: radial-gradient(1200px 400px at 50% -10%, var(--primary-soft), transparent); }
.hero .grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .hero .grid { grid-template-columns: 1fr; } }
.eyebrow { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-weight: 700; font-size: .85rem; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.12; margin: 16px 0; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); line-height: 1.2; margin: 0 0 12px; letter-spacing: -.01em; }
h3 { margin: 0 0 6px; font-size: 1.1rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40em; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 10px; }
.small { font-size: .875rem; color: var(--muted); }
.mock { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 20px; display: grid; gap: 12px; }
.mock .row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--bg-soft); }
.mock .num { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--primary); color: #fff; font-weight: 800; font-size: .8rem; flex: none; }
.mock .num.todo { background: var(--line); color: var(--muted); }
.mock .bar { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.mock .bar span { display: block; height: 100%; width: 57%; background: var(--primary); }
.score { margin-left: auto; font-weight: 800; color: var(--primary); }
section.block { padding: 64px 0; }
section.alt { background: var(--bg-soft); }
.center { text-align: center; }
.center .lead { margin: 0 auto; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 28px; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card p { margin: 0; color: var(--muted); }
.card .tag { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); font-weight: 800; margin-bottom: 10px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 28px; counter-reset: s; }
.steps .card::before { counter-increment: s; content: counter(s); display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; margin-bottom: 10px; }
.toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); margin: 18px 0 8px; }
.toggle button { border: 0; background: transparent; padding: 8px 18px; border-radius: 999px; font-weight: 700; color: var(--muted); cursor: pointer; font-size: .95rem; }
.toggle button[aria-pressed="true"] { background: var(--primary); color: #fff; }
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin-top: 20px; text-align: left; }
.price { display: flex; flex-direction: column; gap: 10px; }
.price.featured { border: 2px solid var(--primary); position: relative; }
.price.featured::after { content: "Más completo"; position: absolute; top: -12px; right: 16px; background: var(--primary); color: #fff; font-size: .78rem; font-weight: 800; padding: 3px 10px; border-radius: 99px; }
.amount { font-size: 2.4rem; font-weight: 800; letter-spacing: -.02em; }
.amount small { font-size: 1rem; font-weight: 600; color: var(--muted); }
.price ul { margin: 0; padding-left: 20px; color: var(--muted); display: grid; gap: 4px; }
.price .btn { margin-top: auto; }
.yearly { display: none; } .is-yearly .yearly { display: inline; } .is-yearly .monthly { display: none; }
.note { background: var(--warn-bg); color: var(--warn-ink); border-radius: 12px; padding: 14px 16px; font-size: .95rem; }
details { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-top: 10px; }
details summary { cursor: pointer; font-weight: 700; }
details p { color: var(--muted); margin: 10px 0 0; }
footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: .9rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer a { color: var(--muted); }
.legal { max-width: 760px; padding: 40px 16px 64px; margin: 0 auto; }
.legal h1 { font-size: 2rem; }
.legal h2 { font-size: 1.25rem; margin-top: 28px; }
.legal p, .legal li { color: var(--ink); }
