:root {
  --indigo: #4f49e6;
  --indigo-2: #3f37c9;
  --indigo-soft: #6d6af8;
  --gold: #ffc531;
  --gold-ink: #7a5600;
  --bg: #fbfaf7;
  --bg-alt: #f2f0ea;
  --surface: #ffffff;
  --ink: #16151f;
  --ink-2: #4a4858;
  --muted: #7b7988;
  --line: #e4e1d8;
  --shadow: 0 1px 2px rgb(22 21 31 / .06), 0 12px 32px -12px rgb(22 21 31 / .18);
  --radius: 16px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --indigo: #8784ff;
    --indigo-2: #6d6af8;
    --indigo-soft: #9d9bff;
    --gold-ink: #ffd666;
    --bg: #0f0e15;
    --bg-alt: #16151f;
    --surface: #1c1b27;
    --ink: #f1f0f6;
    --ink-2: #bdbbcb;
    --muted: #8a889a;
    --line: #2c2a3a;
    --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 16px 40px -16px rgb(0 0 0 / .7);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -.02em; line-height: 1.1; }
h2 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 600; max-width: 22ch; }
h3 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0; }
em { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; }
.center { text-align: center; margin-inline: auto; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

/* marca */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { border-radius: 8px; }
.wordmark { font-weight: 600; font-size: 19px; letter-spacing: -.02em; }
.wordmark i {
  display: inline-block; width: 6px; height: 6px; margin: 0 1px;
  border-radius: 50%; background: var(--gold); transform: translateY(-1px);
}

/* botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; border: 0;
  background: linear-gradient(135deg, var(--indigo-soft), var(--indigo-2));
  color: #fff; font-family: inherit; font-size: 16px; font-weight: 600; line-height: 1; text-decoration: none; cursor: pointer;
  box-shadow: 0 6px 20px -6px rgb(63 55 201 / .55);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 26px -8px rgb(63 55 201 / .6); }
.btn:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink-2); }
.btn-gold { background: var(--gold); color: #2a1e00; box-shadow: 0 6px 20px -6px rgb(255 197 49 / .6); }
.btn-block { width: 100%; }

.chip {
  display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600; background: color-mix(in srgb, var(--indigo) 12%, transparent); color: var(--indigo);
}
.chip-gold { background: color-mix(in srgb, var(--gold) 22%, transparent); color: var(--gold-ink); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--indigo); margin-bottom: 14px; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.nav-links { display: none; gap: 28px; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
@media (min-width: 860px) { .nav-links { display: flex; } }

/* hero */
.hero { padding: 56px 0 72px; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: -120px 0 auto; height: 620px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px 300px at 80% 20%, color-mix(in srgb, var(--indigo-soft) 22%, transparent), transparent 70%),
    radial-gradient(380px 220px at 92% 70%, color-mix(in srgb, var(--gold) 16%, transparent), transparent 70%);
}
.hero-in { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero { padding: 96px 0 110px; } .hero-in { grid-template-columns: 1.05fr 1fr; gap: 64px; } }
h1 { font-size: clamp(46px, 8vw, 84px); font-weight: 600; letter-spacing: -.035em; line-height: 1; }
h1 em { color: var(--indigo); font-size: 1.08em; }
.lede { font-size: clamp(18px, 2vw, 20px); color: var(--ink-2); margin-top: 24px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.os { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; padding: 0; margin: 28px 0 0; color: var(--muted); font-size: 14px; }
.os li { display: inline-flex; align-items: center; gap: 7px; }
.os svg { width: 16px; height: 16px; fill: currentColor; }

/* mock de la app */
.mock {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow), 0 40px 80px -40px rgb(63 55 201 / .35);
  overflow: hidden; max-width: 540px; width: 100%; justify-self: center;
  transform: rotate(.6deg);
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock-bar b { margin-left: 10px; font-size: 13px; font-weight: 500; color: var(--muted); }
.mock-body { padding: 18px; display: grid; gap: 14px; }
.mock-src { display: grid; gap: 8px; justify-items: start; }
.mock-src-t { font-size: 14px; color: var(--ink-2); }
.post { border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: grid; gap: 10px; }
.post-h { display: flex; align-items: center; gap: 10px; }
.post-h div { display: grid; line-height: 1.25; flex: 1; min-width: 0; }
.post-h b { font-size: 15px; }
.post-h small { font-size: 12.5px; color: var(--muted); }
.avatar {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: linear-gradient(135deg, var(--indigo-soft), var(--indigo-2)); color: #fff; font-size: 12px; font-weight: 600;
}
.post p { font-size: 15px; line-height: 1.5; }
.post-muted { color: var(--muted); }
.mock-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.act { font-size: 13px; font-weight: 500; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); color: var(--ink-2); }
.act-pri { background: var(--indigo-2); border-color: transparent; color: #fff; }

/* franja */
.strip { border-block: 1px solid var(--line); background: var(--bg-alt); }
.strip-in { padding-block: 22px; text-align: center; color: var(--ink-2); font-size: 16px; }
.strip b { color: var(--ink); }

/* secciones */
.section { padding: 80px 0; }
@media (min-width: 960px) { .section { padding: 112px 0; } }
.section-alt { background: var(--bg-alt); }

.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; align-content: start; }
.steps p { color: var(--ink-2); font-size: 15.5px; }
.n {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 6px;
  background: color-mix(in srgb, var(--indigo) 12%, transparent); color: var(--indigo); font-weight: 700;
}

.grid { display: grid; gap: 16px; margin-top: 48px; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 10px; align-content: start; }
.card p { color: var(--ink-2); font-size: 15.5px; }
.card-wide {
  background: linear-gradient(135deg, var(--indigo-soft), var(--indigo-2)); border: 0; color: #fff;
}
.card-wide p { color: rgb(255 255 255 / .86); font-size: 16.5px; }
.card-wide h3 { font-size: 22px; }
@media (min-width: 720px) { .card-wide { grid-column: 1 / -1; padding: 34px; } }
@media (min-width: 1040px) { .card-wide { grid-column: span 2; grid-row: span 1; } }

.sov { display: grid; gap: 40px; }
@media (min-width: 960px) { .sov { grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; } }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.checks li { position: relative; padding-left: 34px; color: var(--ink-2); }
.checks li b { color: var(--ink); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a1e00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.checks-tight { gap: 12px; }

/* precio */
.price-card {
  max-width: 440px; margin: 44px auto 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: 22px; padding: 32px; display: grid; gap: 28px; box-shadow: var(--shadow);
}
.price-top { display: grid; gap: 14px; justify-items: start; }
.price-top p { color: var(--muted); font-size: 15px; }
.price { display: flex; align-items: flex-start; gap: 8px; }
.cur { font-weight: 600; color: var(--muted); margin-top: 12px; }
.amt { font-size: 76px; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.per { color: var(--ink-2); font-size: 15px; line-height: 1.3; margin-top: 16px; }

/* faq */
.faq { display: grid; gap: 40px; }
@media (min-width: 960px) { .faq { grid-template-columns: 1fr 1.4fr; gap: 64px; } }
.faq-list { display: grid; gap: 10px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 600; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 22px; font-weight: 400; color: var(--muted); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding-bottom: 18px; color: var(--ink-2); font-size: 15.5px; }

/* cta final */
.cta-final { background: linear-gradient(140deg, #5b57ee, #2f28a8); color: #fff; position: relative; overflow: hidden; }
.cta-final::after {
  content: ""; position: absolute; right: -70px; top: -90px; width: 150px; height: 150px; border-radius: 50%;
  background: var(--gold); opacity: .85;
}
@media (min-width: 960px) { .cta-final::after { top: auto; right: -80px; bottom: -80px; width: 280px; height: 280px; } }
.cta-in { position: relative; z-index: 1; display: grid; gap: 16px; justify-items: center; text-align: center; }
.cta-in > p { color: rgb(255 255 255 / .85); max-width: 32em; }
.wl { display: grid; gap: 10px; width: 100%; max-width: 620px; margin-top: 16px; }
@media (min-width: 720px) { .wl { grid-template-columns: 1.4fr 1fr auto; } }
.wl input, .wl select {
  width: 100%; padding: 13px 16px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .3);
  background: rgb(255 255 255 / .12); color: #fff; font: inherit; font-size: 16px;
}
.wl input::placeholder { color: rgb(255 255 255 / .65); }
.wl select { appearance: none; color: rgb(255 255 255 / .9); }
.wl select option { color: #16151f; }
.wl .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wl-msg { min-height: 1.6em; font-weight: 500; }
.wl-msg.err { color: #ffd6d6; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 32px 0; font-size: 14px; color: var(--ink-2); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.foot .wordmark { font-size: 16px; }

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