/* factur{arte} — web del producto. Solo HTML y CSS.
   Diseño claro tipo SaaS: fondo blanco y papel, tinta #101010, lima #CAFF3D solo como acento. Inter. */

@font-face {
  font-family: 'Inter';
  src: url('fonts/InterVariable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #101010;
  --ink-2: #3d3d38;        /* texto secundario (AA sobre blanco y papel) */
  --soft: #5c5c55;         /* notas */
  --line: #e4e4dc;
  --paper: #f6f6f1;
  --white: #ffffff;
  --lime: #caff3d;
  --lime-soft: #f1ffc9;
  --wrap: 1200px;
  --pad: clamp(20px, 4vw, 40px);
  --r: 14px;
  --r-s: 10px;
  --shadow: 0 1px 2px rgba(16, 16, 16, .06), 0 12px 32px -12px rgba(16, 16, 16, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font: 400 17px/1.6 'Inter', system-ui, sans-serif;
  font-feature-settings: 'cv11' 1;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--lime); color: var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.num { font-variant-numeric: tabular-nums; }

/* Marca */
.wordmark { font-weight: 800; font-size: 22px; letter-spacing: -0.03em; text-decoration: none; white-space: nowrap; }
.wordmark b { font-weight: 800; padding: 0 .14em; margin-left: .03em; background: var(--ink); color: var(--lime); border-radius: 4px; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 700 16px/1 'Inter', sans-serif; text-decoration: none; white-space: nowrap; cursor: pointer;
  border: 1.5px solid transparent; transition: background-color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--lime); color: var(--ink); border-color: var(--ink); }
.btn.primary:hover { background: #b9f01f; }
.btn.dark { background: var(--ink); color: var(--white); }
.btn.dark:hover { background: #2b2b27; }
.btn.ghost { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); }
.btn.block { width: 100%; }

/* Etiquetas y títulos */
.eyebrow { display: inline-block; font-size: 14px; font-weight: 700; color: var(--ink-2); margin-bottom: 14px; }
.eyebrow::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); border: 1.5px solid var(--ink); margin-right: 8px; vertical-align: 1px; }
.h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; }
.lead { margin-top: 16px; font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-2); max-width: 62ch; }
.mark { background: linear-gradient(transparent 62%, var(--lime) 62%, var(--lime) 92%, transparent 92%); padding: 0 .06em; }
section { padding: clamp(72px, 9vw, 120px) 0; }
.band { background: var(--paper); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Cabecera */
.top { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.top nav { display: flex; gap: 24px; margin-left: 12px; }
.top nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.top nav a:hover { color: var(--ink); }
.top .acts { margin-left: auto; display: flex; gap: 10px; }
.top .acts .btn { min-height: 42px; padding: 0 18px; font-size: 15px; }

/* Primera pantalla */
.hero { padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 7vw, 96px); background: linear-gradient(180deg, var(--white) 0%, var(--paper) 100%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); gap: clamp(32px, 4vw, 56px); align-items: center; }
.hero h1 { font-size: clamp(38px, 4.2vw, 58px); font-weight: 800; line-height: 1.04; letter-spacing: -0.04em; }
.hero p.sub { margin-top: 20px; font-size: clamp(17px, 1.45vw, 20px); color: var(--ink-2); max-width: 34em; }
.hero .cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero .note { margin-top: 16px; font-size: 14px; color: var(--soft); }
.shot { border-radius: var(--r); overflow: hidden; background: var(--white); box-shadow: var(--shadow); border: 1px solid var(--line); }
.shot .chrome { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; background: #f0f0ea; border-bottom: 1px solid var(--line); }
.shot .chrome i { width: 10px; height: 10px; border-radius: 50%; background: #d7d7cf; }
.shot .chrome span { margin-left: 10px; font-size: 12px; color: var(--soft); background: var(--white); padding: 2px 10px; border-radius: 6px; }

/* Franja de confianza */
.trust { padding: 22px 0; border-bottom: 1px solid var(--line); background: var(--white); }
.trust ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.trust li, .ticks li { position: relative; padding-left: 28px; }
.trust li::before, .ticks li::before { content: ''; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.5L12 5.4' fill='none' stroke='%23101010' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.ticks li::before { top: .3em; }

/* Funciones */
.sec-head { margin-bottom: clamp(48px, 6vw, 80px); }
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.feature + .feature { margin-top: clamp(64px, 8vw, 112px); }
.feature.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature.flip .txt { order: 2; }
.feature h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.15; }
.feature p { margin-top: 14px; color: var(--ink-2); }
.feature .ticks { margin-top: 18px; display: grid; gap: 10px; }

/* Tarjetas */
.more { margin-top: clamp(64px, 8vw, 112px); }
.more > h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 24px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.card h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.015em; line-height: 1.25; }
.card p { margin-top: 8px; color: var(--ink-2); font-size: 16px; }
.card .ic { width: 42px; height: 42px; border-radius: 10px; background: var(--lime-soft); border: 1px solid #dff59a; display: grid; place-items: center; margin-bottom: 18px; }
.card .ic svg { width: 22px; height: 22px; stroke: var(--ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card .mini { margin-top: 18px; border-radius: var(--r-s); border: 1px solid var(--line); overflow: hidden; }
.tag { display: inline-block; margin-left: 4px; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; vertical-align: 3px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); white-space: nowrap; }

/* Pasos */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.steps li { counter-increment: s; padding: 24px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--lime); font-weight: 800; margin-bottom: 16px; }
.steps b { display: block; font-size: 14px; color: var(--soft); font-weight: 700; }
.steps span { display: block; margin-top: 4px; font-weight: 600; }

/* Veri*factu */
.vf .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.vf .doc-shot { max-height: 620px; overflow: hidden; border-radius: var(--r); border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--white); }
.vf .doc-shot img { width: 100%; }
.status { margin-top: 22px; display: grid; gap: 10px; }
.status li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-s); background: var(--white); border: 1px solid var(--line); font-size: 16px; }
.status li b { flex: none; font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 999px; margin-top: 2px; }
.status .ok b { background: var(--lime); color: var(--ink); }
.status .wait b { background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); }
.fine { margin-top: 18px; font-size: 14px; color: var(--soft); }

/* Confianza y quién */
.who { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: center; margin-top: 40px; padding: clamp(28px, 4vw, 44px); border-radius: var(--r); background: var(--white); border: 1px solid var(--line); }
.who h3 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.2; }
.who p { margin-top: 12px; color: var(--ink-2); }
.who .sig { font-weight: 700; color: var(--ink); }
.who dl { display: grid; gap: 14px; padding: 22px; border-radius: var(--r-s); background: var(--paper); }
.who dt { font-size: 13px; color: var(--soft); font-weight: 600; }
.who dd { font-weight: 700; font-size: 17px; }

/* Lo próximo */
.roadmap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.roadmap li { padding: 20px 22px; border-radius: var(--r); border: 1px solid var(--line); background: var(--white); }
.roadmap strong { display: block; font-size: 17px; }
.roadmap span { display: block; margin-top: 6px; font-size: 15px; color: var(--ink-2); }
.roadmap em { display: inline-block; margin-top: 12px; font-style: normal; font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); }
.roadmap em.go { background: var(--lime); border-color: var(--lime); color: var(--ink); }

/* Planes */
.period-in { position: absolute; opacity: 0; width: 1px; height: 1px; }
.period { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); margin-top: 28px; }
.period label { padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 15px; cursor: pointer; color: var(--ink-2); }
.period label small { font-size: 12px; font-weight: 800; background: var(--lime); color: var(--ink); padding: 2px 7px; border-radius: 999px; margin-left: 6px; }
#mensual:checked ~ .period label[for="mensual"], #anual:checked ~ .period label[for="anual"] { background: var(--ink); color: var(--white); }
#mensual:focus-visible ~ .period label[for="mensual"], #anual:focus-visible ~ .period label[for="anual"] { outline: 3px solid var(--ink); outline-offset: 2px; }
#mensual:checked ~ .tiers .y, #anual:checked ~ .tiers .m { display: none !important; }
.tiers { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; text-align: left; }
.tier { position: relative; display: flex; flex-direction: column; padding: 30px 28px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); }
.tier.best { border: 2px solid var(--ink); box-shadow: var(--shadow); }
.tier .flag { position: absolute; top: -13px; left: 28px; background: var(--lime); border: 1.5px solid var(--ink); font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.tier h3 { font-size: 20px; font-weight: 800; }
.tier .for { margin-top: 4px; font-size: 15px; color: var(--ink-2); min-height: 3.2em; }
.tier .price { margin-top: 18px; font-size: 46px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.tier .price small { font-size: 16px; font-weight: 600; letter-spacing: 0; color: var(--ink-2); }
.tier .iva { margin-top: 8px; font-size: 14px; color: var(--soft); min-height: 2.6em; }
.tier .btn { margin-top: 22px; }
.tier .trial { margin-top: 10px; font-size: 13px; color: var(--soft); text-align: center; }
.tier ul { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 15px; }
.plans-note { margin: 28px auto 0; font-size: 15px; color: var(--ink-2); max-width: 70ch; }

/* Preguntas */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-s); background: var(--white); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 22px; font-weight: 700; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); font-weight: 700; }
.faq details[open] summary::after { content: '–'; background: var(--lime); }
.faq .a { padding: 0 22px 20px; color: var(--ink-2); }
.faq .a p + p { margin-top: 10px; }

/* Demo */
.demo-box { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: 20px; background: var(--lime-soft); border: 1px solid #dff59a; }
.demo-box .h2 { font-size: clamp(28px, 3vw, 40px); }
.demo-box p { margin-top: 12px; color: var(--ink-2); }
.cred { background: var(--white); border-radius: var(--r); border: 1px solid #dff59a; padding: 24px; }
.cred dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 16px; }
.cred dt { color: var(--soft); font-weight: 600; }
.cred dd { font-weight: 800; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.cred .btn { margin-top: 18px; }
.cred .alt { display: block; margin-top: 14px; text-align: center; font-size: 15px; font-weight: 600; }

/* Pie */
.foot { background: var(--paper); border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 15px; }
.foot .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.foot h2 { font-size: 13px; font-weight: 800; letter-spacing: .02em; color: var(--soft); margin-bottom: 12px; }
.foot ul { display: grid; gap: 8px; }
.foot a { text-decoration: none; color: var(--ink-2); }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot .about p { margin-top: 12px; color: var(--ink-2); max-width: 36ch; }
.foot .legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--soft); font-size: 14px; }
.foot .legal a { color: var(--soft); text-decoration: underline; text-underline-offset: 2px; }
.linkish { font: inherit; color: inherit; background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }

/* Aviso de cookies (lo crea consent.js) */
#fa-cookies {
  position: fixed; z-index: 50; left: 16px; right: 16px; bottom: 16px; max-width: 620px; margin-left: auto;
  background: var(--white); color: var(--ink); padding: 18px 20px; border-radius: var(--r);
  border: 1px solid var(--line); box-shadow: 0 20px 40px -12px rgba(16,16,16,.3);
  display: flex; gap: 14px 18px; align-items: center; flex-wrap: wrap;
}
#fa-cookies p { margin: 0; flex: 1 1 280px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
#fa-cookies a { color: var(--ink); text-underline-offset: 2px; font-weight: 600; }
#fa-cookies div { display: flex; gap: 8px; }
#fa-cookies button { font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; border-radius: 999px; padding: 10px 18px; background: var(--white); color: var(--ink); border: 1.5px solid var(--line); }
#fa-cookies button[data-v="si"] { background: var(--lime); border-color: var(--ink); }
#fa-cookies button:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

/* Páginas legales */
.legal-top { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; height: 68px; padding: 0 var(--pad); background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); }
.legal-top a.back { font-weight: 600; font-size: 15px; text-decoration: none; padding: 9px 16px; border: 1.5px solid var(--line); border-radius: 999px; }
.legal-top a.back:hover { border-color: var(--ink); }
.doc { max-width: var(--wrap); margin: 0 auto; padding: 64px var(--pad) 110px; display: grid; grid-template-columns: 220px minmax(0, 1fr); column-gap: 56px; }
.doc > header { grid-column: 1 / -1; margin-bottom: 48px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.doc > header h1 { font-size: clamp(34px, 4vw, 52px); font-weight: 800; line-height: 1.05; letter-spacing: -0.035em; }
.doc > header p { margin-top: 12px; font-size: 15px; color: var(--soft); }
.doc .aside { align-self: start; position: sticky; top: 96px; display: grid; gap: 6px; }
.doc .aside a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 8px; color: var(--ink-2); }
.doc .aside a:hover { background: var(--paper); }
.doc .aside a[aria-current] { background: var(--lime-soft); color: var(--ink); box-shadow: inset 3px 0 0 var(--ink); }
.doc .body { max-width: 760px; }
.doc .body h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin: 44px 0 12px; }
.doc .body h2:first-child { margin-top: 0; }
.doc .body p, .doc .body li { font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.doc .body p + p, .doc .body p + ul, .doc .body ul + p, .doc .body table + p, .doc .body p + table, .doc .body p + dl { margin-top: 14px; }
.doc .body ul { display: grid; gap: 8px; }
.doc .body ul li { padding-left: 1.3em; position: relative; }
.doc .body ul li::before { content: ''; position: absolute; left: 0; top: .66em; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.doc .body b, .doc .body strong { color: var(--ink); }
.doc .body dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 28px; font-size: 17px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--paper); }
.doc .body dt { font-weight: 700; }
.doc .body dd { color: var(--ink-2); }
.doc .body table { width: 100%; border-collapse: collapse; font-size: 15px; }
.doc .body th, .doc .body td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc .body th { font-weight: 700; background: var(--paper); }
.doc .body a { text-underline-offset: 2px; }
.legal-foot { border-top: 1px solid var(--line); background: var(--paper); padding: 28px var(--pad); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 14px; color: var(--soft); }
.legal-foot a { color: var(--ink-2); }

/* Tableta */
@media (max-width: 1000px) {
  .top nav { display: none; }
  .hero .wrap, .feature, .vf .wrap, .who, .demo-box { grid-template-columns: minmax(0, 1fr); }
  .feature.flip { grid-template-columns: minmax(0, 1fr); }
  .feature.flip .txt { order: 0; }
  .cards, .roadmap, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiers { grid-template-columns: minmax(0, 1fr); max-width: 540px; margin-left: auto; margin-right: auto; }
  .tier .for, .tier .iva { min-height: 0; }
  .foot .cols { grid-template-columns: 1fr 1fr; }
  .doc { grid-template-columns: minmax(0, 1fr); }
  .doc .aside { position: static; display: flex; flex-wrap: wrap; margin-bottom: 32px; }
}

/* Móvil */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .top .wrap { gap: 12px; height: 60px; }
  .top .acts .ghost { display: none; }
  .top .acts .btn { min-height: 40px; padding: 0 14px; font-size: 14px; }
  .wordmark { font-size: 20px; }
  .hero .cta .btn { width: 100%; }
  .cards, .roadmap, .steps { grid-template-columns: minmax(0, 1fr); }
  .period { display: flex; }
  .period label { flex: 1; text-align: center; padding: 10px 8px; font-size: 14px; }
  .period label small { display: block; width: fit-content; margin: 4px auto 0; }
  .foot .cols { grid-template-columns: minmax(0, 1fr); }
  .doc .body dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .doc .body dd { margin-bottom: 10px; }
  .doc .body table { display: block; overflow-x: auto; }
  .legal-top a.back { padding: 7px 12px; font-size: 14px; }
  .trust ul { justify-content: flex-start; flex-direction: column; gap: 10px; }
}

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


/* Lista de espera */
.waitlist { padding: clamp(64px, 8vw, 110px) 0; }
.wl-box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: clamp(32px, 5vw, 72px); align-items: center;
  background: var(--lime-soft); border: 1.5px solid var(--ink); border-radius: var(--r); padding: clamp(28px, 4vw, 56px); }
.wl-form { display: grid; gap: 8px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow); }
.wl-form label { font-weight: 700; font-size: 15px; margin-top: 8px; }
.wl-form label span { font-weight: 400; color: var(--soft); }
.wl-form input[type=email], .wl-form select { font: inherit; width: 100%; min-height: 50px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: var(--r-s); background: var(--white); color: var(--ink); }
.wl-form input[type=email]:focus, .wl-form select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--lime); }
.wl-form .wl-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 15px; color: var(--ink-2); margin: 10px 0 6px; }
.wl-form .wl-check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--ink); }
.wl-form .btn { margin-top: 6px; }
.wl-note { font-size: 13px; color: var(--soft); margin-top: 6px; }
.wl-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 860px) { .wl-box { grid-template-columns: 1fr; } .wl-form { padding: 22px; } }

/* Respuesta de la lista de espera (lista-espera.html): el mensaje se elige con el ancla, sin JavaScript */
.wl-result { max-width: 640px; margin: 0 auto; padding: clamp(64px, 10vw, 120px) var(--pad); text-align: center; }
.wl-result .msg { display: none; }
.wl-result .msg:target, .wl-result:not(:has(.msg:target)) .msg.default { display: block; }
.wl-result h1 { font-size: clamp(32px, 4vw, 48px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.wl-result p { margin-top: 16px; color: var(--ink-2); font-size: 18px; }
.wl-result .btn { margin-top: 28px; }

/* Aviso destacado en páginas legales */
.doc .notice { background: var(--lime-soft); border: 1.5px solid var(--ink); border-radius: var(--r-s); padding: 16px 18px; margin-bottom: 28px; }

/* Guías (guias/): mismo esqueleto que las páginas legales, con índice lateral, llamada final y calculadora */
.doc .body h3 { font-size: 19px; font-weight: 800; margin: 28px 0 8px; }
.doc .body ol { display: grid; gap: 8px; padding-left: 1.4em; }
.doc .body ol li { padding-left: .2em; }
.doc .body .lead { font-size: 19px; color: var(--ink); }
.doc .body .src { font-size: 14px; color: var(--soft); }
.doc .body .cta { margin-top: 40px; padding: 26px; border-radius: var(--r); background: var(--ink); color: var(--white); }
.doc .body .cta h2 { color: var(--white); margin-top: 0; }
.doc .body .cta p { color: #d8d8d0; }
.doc .body .cta .btn { margin-top: 16px; }
.guide-list { display: grid; gap: 14px; }
.guide-list a { display: block; padding: 20px 22px; border: 1.5px solid var(--line); border-radius: var(--r); text-decoration: none; background: var(--white); }
.guide-list a:hover { border-color: var(--ink); }
.guide-list strong { display: block; font-size: 19px; color: var(--ink); }
.guide-list span { display: block; margin-top: 6px; color: var(--ink-2); font-size: 16px; }
.calc { margin: 24px 0 8px; padding: 24px; border: 1.5px solid var(--ink); border-radius: var(--r); background: var(--paper); }
.calc .fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.calc label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; color: var(--ink); }
.calc label small { font-weight: 400; color: var(--soft); }
.calc input, .calc select { font: inherit; font-size: 17px; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: var(--r-s); background: var(--white); color: var(--ink); width: 100%; }
.calc input:focus, .calc select:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.calc .check { grid-column: 1 / -1; display: flex; gap: 10px; align-items: center; font-weight: 500; }
.calc .check input { width: auto; }
.calc .out { margin-top: 22px; padding: 22px; border-radius: var(--r-s); background: var(--white); border: 1px solid var(--line); }
.calc .big { font-size: clamp(30px, 5vw, 44px); font-weight: 800; letter-spacing: -0.03em; color: var(--ink); line-height: 1.1; }
.calc .big small { display: block; font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--soft); margin-top: 6px; }
.calc table { margin-top: 16px; }
.calc td.n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc .tot td { font-weight: 800; color: var(--ink); }
.calc .note { margin-top: 12px; font-size: 14px; color: var(--soft); }
@media (max-width: 600px) { .calc .fields { grid-template-columns: minmax(0, 1fr); } .calc { padding: 18px; } }
