/* Landing pública de Tasking */

body.landing { background: #fff; }
.lp-wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.lp-wrap.center { text-align: center; }

.btn-lg { padding: 11px 22px; font-size: 15.5px; border-radius: 9px; }

/* ------------------------------------------------------------------- nav */
.lp-nav {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); padding: 11px 0;
}
.lp-nav .lp-wrap { display: flex; align-items: center; gap: 14px; }
.lp-links { display: flex; gap: 4px; margin-left: 16px; }
.lp-links a {
  padding: 6px 11px; border-radius: 7px; font-size: 14px; font-weight: 550; color: var(--muted);
}
.lp-links a:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
@media (max-width: 780px) { .lp-links { display: none; } }

/* ------------------------------------------------------------------- hero */
.lp-hero {
  padding: 66px 0 40px; text-align: center;
  background:
    radial-gradient(1100px 420px at 50% -12%, rgba(37, 99, 235, .13), transparent 70%),
    radial-gradient(700px 340px at 82% 8%, rgba(124, 58, 237, .10), transparent 70%);
}
.lp-eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--primary);
  background: var(--primary-soft); border: 1px solid #cddffc;
  padding: 4px 12px; border-radius: 20px; margin-bottom: 18px;
}
.lp-hero h1 {
  font-size: clamp(31px, 5.4vw, 53px); line-height: 1.08; letter-spacing: -.032em;
  font-weight: 760; margin: 0 auto 18px; max-width: 880px;
}
.lp-grad {
  background: linear-gradient(100deg, var(--primary) 0%, #7c3aed 55%, #db2777 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lp-lead {
  font-size: clamp(16px, 2vw, 19px); color: var(--muted); max-width: 660px;
  margin: 0 auto 26px; line-height: 1.62;
}
.lp-cta { display: flex; gap: 11px; justify-content: center; flex-wrap: wrap; }
.lp-note { font-size: 13px; color: var(--faint); margin-top: 14px; }

/* maqueta del tablero */
.lp-mock {
  margin: 44px auto 0; max-width: 940px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 26px 60px rgba(16, 24, 40, .14); overflow: hidden; text-align: left;
}
.lp-mock-bar { display: flex; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.lp-mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: #d7dbe0; }
.lp-mock-body { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 16px; background: #f1f3f6; }
.lp-col { background: #e8ebef; border-radius: 9px; padding: 9px; }
.lp-col-h { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; padding: 2px 4px 9px; color: #475467; }
.lp-col-h i { width: 8px; height: 8px; border-radius: 3px; display: inline-block; }
.lp-col-h b { margin-left: auto; color: var(--faint); font-weight: 600; }
.lp-card { background: #fff; border: 1px solid var(--border); border-radius: 7px; padding: 9px 10px; margin-bottom: 7px; box-shadow: var(--shadow-sm); }
.lp-card-t { font-size: 13px; font-weight: 550; line-height: 1.35; margin-bottom: 6px; }
.lp-card-m { display: flex; align-items: center; gap: 6px; }
.lp-pill { font-size: 10.5px; font-weight: 700; padding: 1px 7px; border-radius: 20px; background: #eef1f4; color: #667085; }
.lp-red { background: #fdeceb; color: #b91c1c; }
.lp-amber { background: #fef4e6; color: #b45309; }
.lp-green { background: #e9f8ef; color: #15803d; }
.lp-blue { background: #eaf1fe; color: #1d4ed8; }
.lp-ref { margin-left: auto; font-size: 11px; font-family: ui-monospace, Menlo, Consolas, monospace; color: var(--faint); }
@media (max-width: 700px) { .lp-mock-body { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------- secciones */
.lp-section { padding: 66px 0; }
.lp-alt { background: var(--surface-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.lp-h2 {
  font-size: clamp(24px, 3.4vw, 34px); letter-spacing: -.028em; font-weight: 720;
  text-align: center; margin: 0 auto 10px; max-width: 720px;
}
.lp-h2.left { text-align: left; margin-left: 0; }
.lp-sub { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 40px; font-size: 16px; }
.lp-sub.left { text-align: left; margin-left: 0; }

.lp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.lp-feat {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 22px;
  transition: transform .15s, box-shadow .15s;
}
.lp-feat:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.lp-ico {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  font-size: 19px; background: var(--primary-soft); margin-bottom: 12px;
}
.lp-feat h3 { font-size: 16.5px; margin-bottom: 6px; }
.lp-feat p { color: var(--muted); font-size: 14.5px; margin: 0; line-height: 1.6; }

.lp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.lp-split.reverse > div:first-child { order: 0; }
@media (max-width: 860px) {
  .lp-split { grid-template-columns: 1fr; gap: 28px; }
  .lp-split.reverse > div:first-child { order: 1; }
}

.lp-list { list-style: none; padding: 0; margin: 0 0 24px; }
.lp-list li { position: relative; padding: 6px 0 6px 27px; font-size: 15px; color: var(--text); }
.lp-list li::before {
  content: "✓"; position: absolute; left: 0; top: 6px; color: var(--green);
  font-weight: 800; font-size: 13px;
}

/* maquetas correo / portal */
.lp-mail, .lp-portal {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 16px; box-shadow: var(--shadow);
}
.lp-mail-h, .lp-portal-h {
  font-weight: 700; font-size: 14px; padding-bottom: 11px; margin-bottom: 11px;
  border-bottom: 1px solid var(--border);
}
.lp-mail-row {
  border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; margin-bottom: 8px;
  display: flex; flex-direction: column; gap: 3px; font-size: 13.5px;
}
.lp-mail-row span { color: var(--muted); }
.lp-mail-row.out { background: var(--primary-soft); border-color: #cddffc; }
.lp-arrow { text-align: center; color: var(--primary); font-size: 12.5px; font-weight: 650; padding: 5px 0 9px; }
.lp-portal-row {
  display: flex; align-items: center; gap: 9px; padding: 10px 4px;
  border-bottom: 1px solid var(--border); font-size: 14px;
}
.lp-portal-row:last-child { border-bottom: none; }
.lp-portal-row .lp-ref { margin-left: 0; }
.lp-portal-row .lp-pill { margin-left: auto; }

/* ------------------------------------------------------------------- precios */
.lp-prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; align-items: start; }
.lp-price {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 24px 22px; position: relative;
}
.lp-price.featured { border-color: var(--primary); box-shadow: 0 12px 34px rgba(37, 99, 235, .16); }
.lp-badge {
  position: absolute; top: -11px; left: 22px; background: var(--primary); color: #fff;
  font-size: 11.5px; font-weight: 700; padding: 3px 11px; border-radius: 20px;
}
.lp-price h3 { font-size: 16px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-size: 12.5px; }
.lp-amount { font-size: 36px; font-weight: 760; letter-spacing: -.03em; line-height: 1.1; }
.lp-per { color: var(--faint); font-size: 13px; margin: 2px 0 18px; }
.lp-price ul { list-style: none; padding: 0; margin: 0 0 20px; }
.lp-price li { position: relative; padding: 5px 0 5px 22px; font-size: 14px; color: var(--muted); }
.lp-price li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; font-size: 12px; }

.lp-final {
  padding: 70px 0; text-align: center;
  background: radial-gradient(700px 300px at 50% 0%, rgba(37, 99, 235, .11), transparent 70%);
}

/* ------------------------------------------------------------------- pie */
.lp-foot { background: #101828; color: #fff; padding: 46px 0 22px; }
.lp-foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.lp-foot h4 { font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: #98a2b3; margin-bottom: 10px; }
.lp-foot a { display: block; color: #e4e7ec; font-size: 14px; padding: 3px 0; }
.lp-foot a:hover { color: #fff; }
.lp-foot .brand-mark { background: linear-gradient(135deg, #3b82f6, #a855f7); }
.lp-foot-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  border-top: 1px solid #2a3444; margin-top: 32px; padding-top: 18px;
  font-size: 13px; color: #98a2b3;
}
@media (max-width: 780px) { .lp-foot-grid { grid-template-columns: 1fr 1fr; } }

/* ------------------------------------------------------------------- legal */
.legal-page { max-width: 780px; margin: 0 auto; padding: 40px 22px 70px; }
.legal-page h1 { font-size: 30px; letter-spacing: -.028em; margin-bottom: 6px; }
.legal-page .updated { color: var(--faint); font-size: 13.5px; margin-bottom: 30px; }
.legal-page h2 { font-size: 18.5px; margin: 32px 0 8px; }
.legal-page h3 { font-size: 15.5px; margin: 22px 0 6px; }
.legal-page p, .legal-page li { color: #344054; line-height: 1.72; font-size: 15px; }
.legal-page ul { padding-left: 22px; }
.legal-page table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 14px 0; }
.legal-page th, .legal-page td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; vertical-align: top; }
.legal-page th { background: var(--surface-2); font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.legal-nav { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 26px; }
.legal-nav a {
  font-size: 13.5px; padding: 5px 12px; border-radius: 20px; border: 1px solid var(--border);
  color: var(--muted); background: var(--surface);
}
.legal-nav a.active { background: var(--primary-soft); border-color: #cddffc; color: var(--primary-dark); font-weight: 600; }
.legal-nav a:hover { text-decoration: none; background: var(--surface-2); }
