/* Made of talent · landing. Sin fuentes ni recursos externos: tipografía del sistema, iconos SVG propios. */

:root {
  color-scheme: light dark;

  /* Paleta (modo claro). Cada par de texto/fondo se comprueba en landing/tests. */
  --paper: #faf7f2;
  --paper-2: #f1ebe0;
  --card: #ffffff;
  --ink: #1b1738;
  --ink-soft: #4a4668;
  --line: #ded6c7;
  --accent: #c43a20;
  --accent-strong: #a62f18;
  --on-accent: #ffffff;
  --teal: #0b6b6a;
  --teal-soft: #d4ecea;
  --sun: #f4b942;
  --sun-soft: #fbe7b8;
  --a-soft: #f8d9cf;
  --t-soft: #d4ecea;
  --focus: #1b1738;
  --ok: #0b6b6a;
  --warn: #8a5300;
  --band-bg: #1b1738;
  --band-ink: #f3efe8;
  --band-soft: #c9c5e3;
  --band-card: #26214d;
  --band-line: #3b3573;
  --band-accent: #ffb59f;
  --band-focus: #f4b942;
  --hero-glow-a: rgba(196, 58, 32, 0.14);
  --hero-glow-t: rgba(11, 107, 106, 0.16);
  --hero-glow-s: rgba(244, 185, 66, 0.28);
  --shadow: 0 1px 2px rgba(27, 23, 56, 0.06), 0 12px 32px -12px rgba(27, 23, 56, 0.2);

  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;

  --radius: 20px;
  --gutter: clamp(16px, 4vw, 32px);
  --max: 1180px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #12102a;
    --paper-2: #1a1740;
    --card: #211d4a;
    --ink: #f3efe8;
    --ink-soft: #bdb9d8;
    --line: #38336b;
    --accent: #ff7a5c;
    --accent-strong: #ff9078;
    --on-accent: #12102a;
    --teal: #5ed1cc;
    --teal-soft: #17433f;
    --sun: #f4b942;
    --sun-soft: #4d3a10;
    --a-soft: #4a2a2a;
    --t-soft: #17433f;
    --focus: #f4b942;
    --ok: #5ed1cc;
    --warn: #f4b942;
    --band-bg: #0b0a1e;
    --band-card: #17143a;
    --band-line: #2f2a66;
    --hero-glow-a: rgba(255, 122, 92, 0.16);
    --hero-glow-t: rgba(94, 209, 204, 0.12);
    --hero-glow-s: rgba(244, 185, 66, 0.12);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 16px 36px -14px rgba(0, 0, 0, 0.6);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: 0.18em; }
strong { font-weight: 650; }
em { font-style: italic; }
.short { display: none; }
@media (max-width: 480px) { .long { display: none; } .short { display: inline; } }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.band :focus-visible, .final :focus-visible { outline-color: var(--band-focus); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }

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

/* Iconos */
.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.2em; }
.ico-lg { width: 2rem; height: 2rem; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 48px; padding: 0.7em 1.4em; border-radius: 999px;
  font: inherit; font-weight: 650; text-decoration: none; border: 2px solid transparent;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-strong); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-sm { min-height: 42px; padding: 0.45em 1.05em; font-size: 0.95rem; }
.btn-light { background: #fff; color: #1b1738; }
.btn-light:hover { background: #f1ebe0; }
@media (prefers-reduced-motion: no-preference) { .btn:hover { transform: translateY(-2px); } }

/* Cabecera */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding-block: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.mark { width: 34px; height: 34px; }
.m1 { fill: var(--sun); } .m2 { fill: var(--accent); } .m3 { fill: var(--teal); } .m4 { fill: var(--ink); }
.wm { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: -0.01em; }
.wm strong { font-style: italic; font-weight: 700; }
.nav { display: flex; gap: 4px 22px; order: 3; width: 100%; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { text-decoration: none; font-size: 0.95rem; font-weight: 550; padding: 6px 2px; white-space: nowrap; color: var(--ink-soft); border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="true"] { color: var(--ink); border-bottom-color: var(--accent); }
@media (min-width: 900px) { .nav { order: 0; width: auto; overflow: visible; padding: 0; } }

/* Héroe */
.hero {
  padding-block: clamp(40px, 7vw, 96px);
  background:
    radial-gradient(60% 50% at 88% 8%, var(--hero-glow-s), transparent 70%),
    radial-gradient(50% 50% at 4% 30%, var(--hero-glow-t), transparent 70%),
    radial-gradient(45% 40% at 70% 100%, var(--hero-glow-a), transparent 70%);
}
.hero-grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1fr 1fr; } }
.eyebrow { display: inline-flex; align-items: center; gap: 0.5em; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); margin: 0 0 1.1em; }
.hero h1 { font-size: clamp(2.3rem, 5.6vw, 4rem); font-weight: 700; margin-bottom: 0.5em; }
.hero h1 em { color: var(--accent); display: inline; }
.lead { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: var(--ink-soft); max-width: 40em; }
.lead strong { color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 1.8em 1.4em; }
.cta-row.center { justify-content: center; }
.status { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; color: var(--ink-soft); max-width: 36em; margin: 0; }
.pilot-badge { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 1.2em; padding: 7px 16px; border-radius: 999px; background: var(--sun-soft); color: var(--ink); font-size: 0.92rem; font-weight: 650; line-height: 1.3; }
.pilot-badge .dot { margin-top: 0; width: 9px; height: 9px; background: var(--accent); box-shadow: none; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--sun); margin-top: 0.5em; flex: none; box-shadow: 0 0 0 4px var(--sun-soft); }

.hero-art { margin: 0; }
.art { width: 100%; height: auto; display: block; font-family: var(--font-body); }
.fig-note { text-align: center; font-size: 0.82rem; color: var(--ink-soft); margin-top: 8px; }
.art-bg { fill: var(--paper-2); }
.art-sun { fill: var(--sun); opacity: 0.9; }
.art-card { fill: var(--card); stroke: var(--line); stroke-width: 1.5; }
.art-avatar { fill: var(--teal); }
.art-line { fill: var(--line); }
.art-line-strong { fill: var(--ink); opacity: 0.85; }
.art-label { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; fill: var(--ink-soft); }
.art-small { font-size: 13px; fill: var(--ink-soft); }
.art-strong { font-size: 16px; font-weight: 700; fill: var(--ink); }
.art-tag { font-size: 13px; font-weight: 650; fill: var(--ink-soft); }
.chip-t rect { fill: var(--teal-soft); }
.chip-t text { font-size: 13px; font-weight: 600; fill: var(--ink); }
.chip-ok circle { fill: var(--teal); }
.chip-ok path { fill: none; stroke: var(--paper); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.th { stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 2 7; }
.th1 { stroke: var(--accent); } .th2 { stroke: var(--teal); } .th3 { stroke: var(--sun); }
.bar-a { fill: var(--accent); } .bar-t { fill: var(--teal); } .bar-s { fill: var(--sun); }
.hl-a { fill: var(--accent); opacity: 0.45; } .hl-t { fill: var(--teal); opacity: 0.45; } .hl-s { fill: var(--sun); opacity: 0.85; }
.art-send { fill: var(--teal); }
.art-send-check { fill: none; stroke: var(--paper); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.art-pill { fill: var(--sun-soft); }
.art-pill-t { font-size: 13px; font-weight: 700; fill: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .th { animation: flow 2.4s linear infinite; }
  .sheet { animation: float 6s ease-in-out infinite; }
  .s2 { animation-delay: -2s; } .s3 { animation-delay: -4s; }
}
@keyframes flow { to { stroke-dashoffset: -18; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

/* Principios */
.principles { background: var(--paper-2); border-block: 1px solid var(--line); padding-block: clamp(28px, 4vw, 48px); }
.p-grid { display: grid; gap: 24px 32px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.p-grid li { display: grid; gap: 4px; align-content: start; }
.p-grid .ico { color: var(--accent); margin-bottom: 4px; }
.p-h { font-size: 1.2rem; }
.p-grid p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }

/* Secciones */
.section { padding-block: clamp(56px, 9vw, 120px); scroll-margin-top: 90px; }
.section.alt { background: var(--paper-2); }
.sec-head { max-width: 46rem; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head.left { margin-bottom: 0; }
.sec-head h2, .final h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 700; }
.sec-lead { font-size: 1.15rem; color: var(--ink-soft); margin-top: 1em; margin-bottom: 0; }

/* Pasos */
.steps { display: grid; gap: clamp(40px, 6vw, 80px); counter-reset: none; }
.step { display: grid; gap: 24px; align-items: center; }
@media (min-width: 860px) {
  .step { grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); }
  .step:nth-child(even) .step-vis { order: -1; }
}
.step-n { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--ink); color: var(--paper); font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; margin-bottom: 14px; }
.step:nth-child(3n+1) .step-n { background: var(--accent); color: var(--on-accent); }
.step:nth-child(3n+2) .step-n { background: var(--teal); color: var(--paper); }
.step h3 { font-size: clamp(1.5rem, 3vw, 2rem); display: flex; align-items: center; gap: 0.45em; margin-bottom: 0.6em; }
.step h3 .ico { color: var(--accent); width: 1.1em; height: 1.1em; }
.step-text p { color: var(--ink-soft); }
.step-text strong { color: var(--ink); }

/* Maquetas ilustrativas */
.mock { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(16px, 3vw, 28px); box-shadow: var(--shadow); }
.mock-t { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 14px; }
.facts li, .offers li, .inbox li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 0.98rem; line-height: 1.4; }
.facts li:first-of-type, .offers li:first-of-type, .inbox li:first-of-type { border-top: 0; }
.facts em { margin-left: auto; font-size: 0.78rem; font-style: normal; font-weight: 650; color: var(--ok); text-align: right; }
.fact-ok { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--teal); color: var(--paper); flex: none; }
.fact-ok .ico { width: 16px; height: 16px; stroke-width: 2.4; }
.fact-q { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--sun); color: #1b1738; font-weight: 800; flex: none; }
.facts li:last-child em { color: var(--warn); }
.offers li { justify-content: space-between; }
.offers span { display: grid; }
.offers small, .inbox small { color: var(--ink-soft); font-size: 0.84rem; }
.tag { font-style: normal; font-size: 0.76rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.tag-ok { background: var(--teal-soft); color: var(--ink); }
.tag-warn { background: var(--sun-soft); color: var(--ink); }
.inbox li { align-items: flex-start; }
.inbox .ico { color: var(--accent); margin-top: 2px; }
.inbox span { display: grid; }
.ladder li { display: flex; align-items: center; gap: 12px; padding: 10px 0; color: var(--ink-soft); font-size: 0.98rem; }
.ladder .ico { padding: 5px; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line); }
.ladder .done { color: var(--ink); } .ladder .done .ico { background: var(--teal); border-color: var(--teal); color: var(--paper); }
.ladder .now { color: var(--ink); font-weight: 650; } .ladder .now .ico { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.cv { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 18px; display: grid; gap: 8px; }
.cv-h { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.cv-h > span:last-child { display: grid; gap: 6px; flex: 1; }
.cv-av { width: 40px; height: 40px; border-radius: 50%; background: var(--teal); flex: none; }
.cv b { display: block; height: 8px; border-radius: 4px; background: var(--line); }
.cv b.hl { background: var(--sun); }
.l1 { width: 55%; background: var(--ink) !important; opacity: 0.85; } .l2 { width: 35%; } .l3 { width: 92%; } .l4 { width: 78%; } .l5 { width: 64%; }
.cv-s { margin: 8px 0 0; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }

/* Banda de control */
.band { background: var(--band-bg); color: var(--band-ink); }
.band .eyebrow { color: var(--band-accent); }
.band .sec-lead { color: var(--band-soft); }
.ctrl-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.ctrl-card { background: var(--band-card); border: 1px solid var(--band-line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
.ctrl-card .ico-lg { color: var(--band-accent); margin-bottom: 12px; }
.ctrl-card h3 { font-size: 1.5rem; margin-bottom: 0.6em; }
.ctrl-card p { color: var(--band-soft); }
.ctrl-card strong { color: var(--band-ink); }
.ctrl-card .muted { font-size: 0.93rem; margin: 1em 0 0; padding-top: 1em; border-top: 1px solid var(--band-line); }
.activity { margin-top: clamp(32px, 5vw, 56px); border: 1px dashed var(--band-line); border-radius: var(--radius); padding: clamp(18px, 3vw, 30px); }
.activity .mock-t { color: var(--band-soft); }
.activity ol { display: grid; gap: 0; counter-reset: a; }
.activity li { display: grid; grid-template-columns: 78px 1fr; gap: 12px; padding: 10px 0 10px 18px; position: relative; border-left: 2px solid var(--band-line); color: var(--band-ink); font-size: 0.98rem; }
.activity li::before { content: ""; position: absolute; left: -7px; top: 18px; width: 12px; height: 12px; border-radius: 50%; background: var(--band-accent); }
.activity time { color: var(--band-soft); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding-top: 2px; }

/* Privacidad */
.priv-grid { display: grid; gap: clamp(24px, 4vw, 48px); }
@media (min-width: 900px) { .priv-grid { grid-template-columns: 0.9fr 1.1fr; align-items: start; } .priv-note { grid-column: 2; } }
.priv-list, .nolist { display: grid; gap: 16px; }
.priv-list li, .nolist li { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.priv-list .ico { color: var(--teal); margin-top: 0.15em; }
.nolist .ico { color: var(--accent); margin-top: 0.15em; }
.priv-note { color: var(--ink-soft); font-size: 0.98rem; margin: 0; }
.no-grid { display: grid; gap: clamp(24px, 4vw, 48px); }
@media (min-width: 900px) { .no-grid { grid-template-columns: 0.8fr 1.2fr; align-items: start; } .nolist { grid-template-columns: 1fr 1fr; } }

/* Para quién */
.who { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.who li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.who .ico-lg { color: var(--teal); margin-bottom: 10px; }
.who li:nth-child(2) .ico-lg { color: var(--accent); }
.who h3 { font-size: 1.3rem; margin-bottom: 0.5em; }
.who p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }
.scope { margin: 28px 0 0; color: var(--ink-soft); font-size: 0.98rem; }

/* Preguntas */
.faq-wrap { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none; padding: 20px 4px; font-weight: 650; font-size: 1.1rem; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { transition: transform 0.2s ease; color: var(--accent); }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq details p { color: var(--ink-soft); padding: 0 4px 22px; margin: 0; max-width: 40em; }

/* Final */
.final { background: var(--band-bg); color: var(--band-ink); padding-block: clamp(64px, 10vw, 128px); text-align: center; position: relative; overflow: hidden; }
.final::before, .final::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.final::before { width: 360px; height: 360px; background: var(--accent); opacity: 0.18; right: -120px; top: -140px; }
.final::after { width: 280px; height: 280px; background: var(--teal); opacity: 0.22; left: -100px; bottom: -120px; }
.final-in { position: relative; z-index: 1; max-width: 46rem; }
.final h2 { margin-bottom: 0.5em; }
.final p { color: var(--band-soft); font-size: 1.15rem; }

/* Pie */
.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding-top: clamp(36px, 5vw, 56px); }
.foot-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding-bottom: 32px; }
.foot-brand p { color: var(--ink-soft); font-size: 0.98rem; margin-top: 14px; max-width: 26em; }
.foot-h { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 12px; }
.site-footer li { margin-bottom: 8px; }
.site-footer li a { color: var(--ink); }
.foot-soon { color: var(--ink-soft); font-size: 0.9rem; }
.foot-legal { padding-bottom: 28px; color: var(--ink-soft); font-size: 0.9rem; }
.foot-legal p { margin: 0; padding-top: 20px; border-top: 1px solid var(--line); }

/* Revelado suave, sólo si hay JS y sin preferencia de reducir movimiento */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}

@media (forced-colors: active) {
  .btn-primary, .btn-ghost { border-color: ButtonText; }
  .mark { forced-color-adjust: none; }
}
@media print { .site-header, .skip, .final { display: none; } body { background: #fff; color: #000; } }

/* Página 404 */
.nf { padding-block: clamp(64px, 14vw, 160px); }
.nf h1 { font-size: clamp(2rem, 6vw, 3.4rem); margin-bottom: 0.5em; }
