/* FOLDO — landing. Sitio estático, sin dependencias externas.
   CSP del alojamiento: nada de CDN, nada de <script> en línea.
   CSS en línea permitido. Fuentes de sistema (sin descargas). */

:root {
  color-scheme: light dark;

  --bg:        #fafafc;
  --bg-soft:   #ffffff;
  --bg-sunken: #f1f1f6;
  --text:      #15171c;
  --text-dim:  #565a66;
  --text-mut:  #868b98;
  --border:    #e5e6ec;
  --border-str:#d3d5df;

  --accent:    #5a5bd6;
  --accent-2:  #8a5cf6;
  --accent-ink:#ffffff;
  --accent-soft:#ececfb;

  --amber:  #f3a93c;
  --green:  #37b579;
  --red:    #e5695f;
  --blue:   #4a8ff0;
  --violet: #9a6cf0;

  --shadow-sm: 0 1px 2px rgba(20,23,28,.06), 0 1px 3px rgba(20,23,28,.05);
  --shadow-md: 0 8px 24px rgba(20,23,28,.08), 0 2px 6px rgba(20,23,28,.05);
  --shadow-lg: 0 24px 60px rgba(20,23,28,.14), 0 6px 18px rgba(20,23,28,.08);

  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1080px;
  --gutter: 16px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto,
          "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:        #0e0f13;
    --bg-soft:   #16181e;
    --bg-sunken: #1c1f27;
    --text:      #eceef3;
    --text-dim:  #aeb3c0;
    --text-mut:  #7b8090;
    --border:    #272a33;
    --border-str:#363a46;

    --accent:    #8d8df6;
    --accent-2:  #a98bff;
    --accent-ink:#13131c;
    --accent-soft:#1e1f36;

    --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
    --shadow-md: 0 10px 28px rgba(0,0,0,.45);
    --shadow-lg: 0 28px 64px rgba(0,0,0,.55);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; font-weight: 700; }
p { margin: 0; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; gap: 18px;
  height: 64px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 20px; letter-spacing: -0.03em;
  text-decoration: none; color: var(--text);
}
.brand .logo { width: 30px; height: 30px; flex: none; }
.nav-links {
  display: flex; align-items: center; gap: 22px;
  margin-left: auto;
}
.nav-links a {
  text-decoration: none; color: var(--text-dim); font-size: 15px; font-weight: 500;
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--text); }
.lang {
  display: inline-flex; align-items: center; gap: 2px;
  font-size: 13px; color: var(--text-mut);
  border: 1px solid var(--border); border-radius: 999px; padding: 3px 4px;
}
.lang a { padding: 2px 9px; border-radius: 999px; text-decoration: none; color: var(--text-dim); }
.lang a[aria-current="true"] { background: var(--accent-soft); color: var(--accent); font-weight: 700; }

.nav-cta { white-space: nowrap; }
@media (max-width: 760px) {
  .nav-links .nav-scroll { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; font-size: 15px;
  padding: 11px 20px; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--accent-ink); box-shadow: var(--shadow-sm);
}
.btn-primary:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn-ghost {
  background: var(--bg-soft); color: var(--text); border-color: var(--border-str);
}
.btn-ghost:hover { border-color: var(--text-mut); }
.btn-lg { padding: 15px 28px; font-size: 16.5px; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 40px; position: relative; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
  color: var(--accent); background: var(--accent-soft);
  padding: 6px 13px; border-radius: 999px; margin-bottom: 20px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.hero h1 { font-size: clamp(34px, 5.4vw, 56px); font-weight: 820; }
.hero h1 .grad {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lede {
  font-size: clamp(17px, 2.1vw, 20px); color: var(--text-dim);
  margin-top: 20px; max-width: 34ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 16px; font-size: 13.5px; color: var(--text-mut); }
.hero-note strong { color: var(--text-dim); font-weight: 600; }

.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; filter: drop-shadow(var(--shadow-lg)); }

@media (max-width: 860px) {
  .hero { padding: 48px 0 24px; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero .lede { max-width: none; }
  .hero-art { order: -1; max-width: 460px; margin-inline: auto; }
}

/* ---------- Sections ---------- */
section { scroll-margin-top: 80px; }
.section { padding: 72px 0; }
.section-head { max-width: 42ch; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker {
  text-transform: uppercase; letter-spacing: .14em; font-size: 12.5px;
  font-weight: 700; color: var(--accent); margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(26px, 3.6vw, 36px); }
.section-head p { color: var(--text-dim); margin-top: 14px; font-size: 18px; }

/* ---------- Feature cards ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm);
}
.card .ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  margin-bottom: 18px; background: var(--accent-soft);
}
.card .ico svg { width: 24px; height: 24px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--text-dim); font-size: 15.5px; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr; } }

/* reveal (progressive enhancement; sin JS se ve igual) */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 14px; }
.step .n {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  font-weight: 800; color: var(--accent-ink);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  margin-bottom: 16px; box-shadow: var(--shadow-sm);
}
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--text-dim); font-size: 15.5px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 22px; } }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: 1fr 1.12fr; gap: 22px; max-width: 820px; margin-inline: auto; }
.plan {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column;
}
.plan.pro { border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); box-shadow: var(--shadow-md); position: relative; }
.plan .tag {
  position: absolute; top: -12px; right: 24px; font-size: 12px; font-weight: 700;
  color: var(--accent-ink); background: linear-gradient(135deg, var(--accent), var(--accent-2));
  padding: 5px 12px; border-radius: 999px;
}
.plan h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-mut); }
.price { display: flex; align-items: baseline; gap: 6px; margin: 14px 0 4px; }
.price .amt { font-size: 46px; font-weight: 820; letter-spacing: -0.03em; }
.price .per { color: var(--text-mut); font-size: 15px; }
.plan .sub { color: var(--text-dim); font-size: 15px; margin-bottom: 20px; }
.feats { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 11px; }
.feats li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; color: var(--text-dim); }
.feats li svg { width: 19px; height: 19px; flex: none; margin-top: 2px; color: var(--green); }
.feats li.off { color: var(--text-mut); }
.feats li.off svg { color: var(--text-mut); }
.plan .btn { margin-top: auto; }
.plan .fineprint { margin-top: 12px; font-size: 12.5px; color: var(--text-mut); text-align: center; }
@media (max-width: 760px) { .pricing { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin-inline: auto; }
.faq details {
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--bg-soft); padding: 2px 20px; margin-bottom: 12px;
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 0; font-weight: 600; font-size: 16.5px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 22px; color: var(--text-mut); font-weight: 400; line-height: 1;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { color: var(--text-dim); font-size: 15.5px; padding: 0 0 18px; }

/* ---------- CTA band ---------- */
.cta-band {
  margin: 0 var(--gutter); border-radius: 26px; padding: 56px 32px; text-align: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; box-shadow: var(--shadow-lg);
}
.cta-band h2 { font-size: clamp(26px, 3.4vw, 36px); color: #fff; }
.cta-band p { color: rgba(255,255,255,.88); margin: 14px auto 0; max-width: 46ch; }
.cta-band .btn { margin-top: 28px; background: #fff; color: #2a2a4a; }
.cta-band .btn:hover { box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.cta-band .microcopy { margin-top: 14px; font-size: 13px; color: rgba(255,255,255,.8); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border); margin-top: 80px; padding: 36px 0;
  color: var(--text-mut); font-size: 14px;
}
.footer-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-row .brand { font-size: 17px; }
.footer-row .spacer { margin-left: auto; }
.site-footer a { color: var(--text-dim); text-decoration: none; }
.site-footer a:hover { color: var(--text); }

/* chips (folder colors) */
.chips { display: inline-flex; gap: 6px; vertical-align: middle; }
.chips i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
