/* Propmind · Landing: estilos.
   Consume EXCLUSIVAMENTE los tokens de marca generados (var(--sm-*)).
   Sin Tailwind (regla de marca). Mobile-first. */
@import url("dist/tokens.css");

:root {
  /* Aliases de conveniencia locales -> tokens de marca */
  --brand: var(--sm-semantic-color-brand-primary);
  --brand-deep: var(--sm-semantic-color-brand-secondary);
  --accent: var(--sm-semantic-color-brand-accent);
  --interactive: var(--sm-semantic-color-interactive-default);
  --interactive-hover: var(--sm-semantic-color-interactive-hover);
  --ink: var(--sm-semantic-color-text-primary);
  --muted: var(--sm-semantic-color-text-secondary);
  --faint: var(--sm-semantic-color-text-tertiary);
  --surface: var(--sm-semantic-color-surface-primary);
  --surface-2: var(--sm-semantic-color-surface-secondary);
  --surface-3: var(--sm-semantic-color-surface-tertiary);
  --highlight: var(--sm-semantic-color-surface-highlight);
  --inverse: var(--sm-semantic-color-surface-inverse);
  --line: var(--sm-semantic-color-border-subtle);

  --maxw: 1440px;
  --radius: 16px;
  --radius-sm: 10px;
  /* Tinte de sombra = cobalt.900 (#172554 -> rgb(23,37,84)) para coherencia con la marca */
  --shadow: 0 1px 2px rgba(23, 37, 84, .04), 0 12px 32px rgba(23, 37, 84, .08);
  --shadow-sm: 0 1px 2px rgba(23, 37, 84, .05), 0 6px 16px rgba(23, 37, 84, .06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Material Symbols */
.ms {
  font-family: "Material Symbols Outlined"; font-weight: normal; font-style: normal;
  font-size: 1.25em; line-height: 1; letter-spacing: normal; text-transform: none;
  display: inline-block; white-space: nowrap; direction: ltr;
  -webkit-font-smoothing: antialiased; font-feature-settings: "liga";
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  vertical-align: middle;
}
.section { padding: 64px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--brand); background: var(--highlight);
  padding: 6px 12px; border-radius: 999px;
}
.section-head { max-width: 680px; margin: 0 auto 40px; text-align: center; }
.section-head h2 { font-size: clamp(26px, 4vw, 38px); margin: 14px 0 12px; }
.section-head p { color: var(--muted); font-size: 17px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 15px; padding: 13px 22px; border-radius: var(--sm-component-button-radius, var(--sm-primitive-radius-md));
  border: 1px solid transparent; cursor: pointer; transition: transform .12s ease, background .12s ease, box-shadow .12s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--interactive); color: var(--sm-semantic-color-text-on-brand); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--interactive-hover); }
.btn-ghost { background: transparent; color: var(--brand); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(1.1) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand-logo { display: flex; align-items: center; }
.brand-logo img { height: 30px; width: auto; }
.brand-logo--sm img { height: 24px; }
.nav-links { display: none; gap: 28px; font-size: 15px; color: var(--muted); font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 56px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 85% -10%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%),
    radial-gradient(50% 45% at 0% 0%, var(--highlight), transparent 70%);
}
.hero h1 { font-size: clamp(34px, 6vw, 58px); font-weight: 800; }
.hero h1 .hl { color: var(--brand); }
.hero-sub { color: var(--muted); font-size: clamp(17px, 2.4vw, 20px); margin: 20px 0 28px; max-width: 620px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust { margin-top: 40px; }
.hero-trust .label { font-size: 13px; color: var(--faint); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 14px; }
.logo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.logo-img { height: 26px; width: auto; }
.logo-more { font-size: 13px; font-weight: 600; color: var(--muted); }

/* Stats */
.stats { background: var(--inverse); color: var(--sm-semantic-color-text-inverse); }
.stats .grid { display: grid; grid-template-columns: 1fr; gap: 28px; text-align: center; }
.stat .num { font-size: clamp(36px, 6vw, 52px); font-weight: 800; color: var(--accent); letter-spacing: -.03em; }
.stat .desc { color: color-mix(in srgb, #fff 78%, transparent); font-size: 15px; margin-top: 6px; }

/* Pain cards */
.pain { background: var(--surface-2); }
.cards-3 { display: grid; grid-template-columns: 1fr; gap: 18px; }
.pain-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.pain-card .x { font-size: 22px; color: var(--brand); }
.pain-card p { margin-top: 12px; font-size: 17px; font-weight: 500; color: var(--ink); }

/* Features */
.features .grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.feature {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  background: var(--surface); transition: box-shadow .15s ease, transform .15s ease;
}
.feature:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.feature .ic {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--highlight); color: var(--brand); font-size: 24px; margin-bottom: 16px;
}
.feature h3 { font-size: 20px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; }

/* Comparison table */
.yes { color: var(--brand); font-weight: 700; }
.no { color: var(--faint); }

/* Plans */
.plans { background: var(--surface-2); }
.launch {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--inverse); color: #fff; border-radius: var(--radius);
  padding: 22px 26px; margin-bottom: 36px;
}
.launch strong { display: block; font-size: 18px; }
.launch span { display: block; font-size: 14px; color: color-mix(in srgb, #fff 78%, transparent); margin-top: 4px; }
.launch-off { font-size: 34px; font-weight: 800; color: var(--accent); letter-spacing: -.03em; flex-shrink: 0; }
.plans-grid { display: grid; grid-template-columns: 1fr; gap: 28px 20px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm);
}
.plan h3 { font-size: 24px; }
.plan-for { color: var(--muted); font-size: 15px; margin-top: 6px; }
.plan-price { font-size: 38px; font-weight: 800; color: var(--brand); letter-spacing: -.03em; margin: 20px 0 6px; }
.plan-price span { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan-launch { font-size: 15px; font-weight: 700; color: var(--ink); }
.plan-ref { font-size: 13px; color: var(--faint); margin-top: 4px; }
.plan-users { background: var(--surface-2); border-radius: var(--radius-sm); padding: 12px 14px; font-size: 14px; color: var(--muted); margin: 18px 0 20px; }
.plan-users strong { color: var(--ink); }
.plan-head { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--faint); margin-bottom: 12px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; flex: 1; align-content: start; }
.plan li { font-size: 15px; color: var(--ink); padding-left: 24px; position: relative; }
.plan li::before {
  content: "check"; position: absolute; left: 0; top: 1px; color: var(--interactive);
  font-family: "Material Symbols Outlined"; font-size: 18px; line-height: 1; font-feature-settings: "liga";
}
.tag {
  display: inline-block; vertical-align: middle; font-size: 11px; font-weight: 700;
  padding: 2px 8px; border-radius: 999px; background: var(--surface-3); color: var(--muted); margin-left: 4px;
}
.tag--beta { background: var(--highlight); color: var(--brand); }
.plan--featured { border: 2px solid var(--interactive); box-shadow: var(--shadow); }
.plan-badge {
  position: absolute; top: -13px; left: 30px; background: var(--interactive); color: #fff;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  padding: 4px 12px; border-radius: 999px;
}
.plans-extra { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 28px; }
.extra-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; }
.extra-card h3 { font-size: 20px; margin-bottom: 8px; }
.extra-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.extra-row:last-of-type { border-bottom: none; }
.extra-row p { color: var(--muted); }
.extra-row p strong { color: var(--ink); }
.extra-val { font-weight: 700; color: var(--ink); text-align: right; flex-shrink: 0; }
.extra-val small { display: block; font-size: 12px; font-weight: 500; color: var(--faint); }
.extra-hl { color: var(--brand); }
.extra-fine { font-size: 13px; color: var(--faint); margin-top: 4px; }
.plans-note { text-align: center; font-size: 13px; color: var(--faint); margin: 24px auto 0; max-width: 720px; }

/* FAQ */
.faq .list { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface);
  padding: 0 20px; overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 0; font-weight: 600; font-size: 17px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { transition: transform .2s ease; color: var(--brand); font-size: 24px; flex: none; }
.faq details[open] summary .chev { transform: rotate(45deg); }
.faq .answer { padding: 0 0 20px; color: var(--muted); font-size: 15px; }

/* Final CTA */
.final { text-align: center; }
.final-card {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff; border-radius: 24px; padding: clamp(36px, 6vw, 64px) 24px;
}
.final-card h2 { font-size: clamp(26px, 4.5vw, 42px); max-width: 720px; margin: 0 auto 24px; }
.contact-form { max-width: 520px; margin: 0 auto; display: grid; gap: 12px; }
.contact-form input {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid transparent;
  font-size: 15px; font-family: inherit;
}
.contact-form input:focus { outline: 3px solid var(--sm-semantic-color-border-focus); outline-offset: 1px; }
.final-card .fine { font-size: 13px; color: color-mix(in srgb, #fff 80%, transparent); margin-top: 14px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 32px 0; color: var(--faint); font-size: 14px; }
.footer .row { display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; }

/* Responsive */
@media (min-width: 720px) {
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .features .grid { grid-template-columns: repeat(2, 1fr); }
  .stats .grid { grid-template-columns: repeat(3, 1fr); }
  .footer .row { flex-direction: row; justify-content: space-between; }
  .contact-form { grid-template-columns: 1fr 1fr; }
  .contact-form .btn, .contact-form input.full { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
  .section { padding: 88px 0; }
  .nav-links { display: flex; }
  .hero { padding: 96px 0 72px; }
  .plans-grid { grid-template-columns: repeat(3, 1fr); }
  .plans-extra { grid-template-columns: 1fr 1fr; }
  .features .grid { grid-template-columns: repeat(2, 1fr); }
}
