:root {
  --bg: #fbfaf7;
  --fg: #1d1d1b;
  --muted: #5f5e58;
  --accent: #0f6b4f;
  --line: #e4e1d8;
  --card: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141412;
    --fg: #ecebe6;
    --muted: #a9a79f;
    --accent: #5fc79f;
    --line: #2c2b27;
    --card: #1c1c19;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
header { border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 700; font-size: 20px; color: var(--fg); text-decoration: none; letter-spacing: -0.01em; }
.logo span { color: var(--accent); }
nav a { color: var(--muted); text-decoration: none; margin-left: 18px; font-size: 15px; }
nav a:hover { color: var(--fg); }
main { padding: 56px 0 72px; }
h1 { font-size: clamp(30px, 6vw, 44px); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 18px; }
h2 { font-size: 22px; margin: 40px 0 10px; }
h3 { font-size: 18px; margin: 24px 0 6px; }
p, li { color: var(--fg); }
.lead { font-size: 20px; color: var(--muted); max-width: 620px; }
a { color: var(--accent); }
.cta { display: inline-block; margin-top: 18px; padding: 12px 20px; border-radius: 8px; background: var(--accent); color: var(--bg); font-weight: 600; text-decoration: none; }
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin-top: 36px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 18px; }
.card h3 { margin-top: 0; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.legal h2 { border-top: 1px solid var(--line); padding-top: 26px; }
.meta { color: var(--muted); font-size: 15px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
footer { border-top: 1px solid var(--line); padding: 24px 0; color: var(--muted); font-size: 14px; }
footer a { color: var(--muted); }

/* ── Página principal ───────────────────────────────────────────
   Dirección: «cuaderno de mostrador». Serif de sistema para titulares, monoespaciada para
   horas y rótulos, papel cálido, verde + mostaza de las ilustraciones y timbres de «Ejemplo».
   Todo lo ficticio lleva timbre. Sin webfonts (la CSP no tiene font-src). */
:root {
  --soft: #f2f0e9; --bubble-in: #ffffff; --bubble-out: #d9f2e5;
  --accent-2: #19a37a; --ink: #0c1f19; --deep: #0f6b4f; --mint: #7fe0b8;
  --sun: #f0c552; --mark: #f7dd8f; --stamp: #a8481f; --tick: #1c8fc4; --faint: #8a8880;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, ui-serif, Georgia, "Noto Serif", serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, "Cascadia Mono", Consolas, "Roboto Mono", monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --soft: #1b1b17; --bubble-in: #26261f; --bubble-out: #1d3a2e; --ink: #0a1712; --deep: #0d5a43;
    --mark: rgba(240, 197, 82, .34); --stamp: #e59c74; --tick: #6cc5ee; --faint: #7f7d75;
  }
}
html { scroll-behavior: smooth; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.logo { font-family: var(--serif); font-size: 24px; letter-spacing: -0.02em; }
.wrap.wide { max-width: 1160px; }
header nav { display: flex; align-items: center; }

.home main { padding: 0; overflow-x: clip; }
.home section { position: relative; padding: 120px 0; }
.home section.soft { background: var(--soft); }
:where(.home) p, :where(.home) li { color: inherit; }
.home h1, .home h2, .home h3 { font-family: var(--serif); text-wrap: balance; }
.home h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.06; letter-spacing: -0.02em; margin: 0 0 18px; }
.home h2.display { max-width: 19ch; font-size: clamp(36px, 5.6vw, 72px); line-height: 1; letter-spacing: -0.028em; }
.home h1 em, .home h2 em { font-weight: 400; color: var(--accent); }
.home h3 { letter-spacing: -0.012em; }
.home .lead { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.5; color: var(--muted); max-width: 34em; }
.home .lead strong { color: var(--fg); font-weight: 650; }

/* Rótulo de sección: monoespaciada con una raya, en vez del «eyebrow» en mayúsculas */
.kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; color: var(--muted); font: 500 13px/1.4 var(--mono); letter-spacing: .01em; }
.kicker::before { content: ""; flex: none; width: 32px; height: 1px; background: currentColor; }

/* Timbre de «Ejemplo»: todo lo ficticio lo lleva */
.eg { display: inline-block; padding: 2px 7px 1px; border: 1.5px solid currentColor; border-radius: 4px; color: var(--stamp); font: 700 11px/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; rotate: -2.5deg; }

/* Enlace para saltar al contenido */
.skip { position: absolute; left: 16px; top: -80px; z-index: 30; padding: 10px 16px; border-radius: 8px; background: var(--fg); color: var(--bg); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* Cabecera fija con desenfoque; gana sombra al hacer scroll (scroll timeline) */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); }
.nav-cta { padding: 8px 16px; border-radius: 999px; background: var(--fg); color: var(--bg) !important; font-weight: 600; }

/* Botones */
.cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 0; padding: 15px 24px; border-radius: 14px; background: var(--accent); color: #fff; font-weight: 650; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.cta:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--sun); }
.cta span { transition: transform .2s ease; }
.cta:hover span { transform: translateX(4px); }
.cta.ghost { padding: 15px 6px; border-radius: 0; background: none; color: var(--fg); text-decoration: underline; text-decoration-color: var(--line); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.cta.ghost:hover { transform: none; box-shadow: none; text-decoration-color: var(--accent); }
.cta.light { background: #fbfaf7; color: #0c1f19; }
@media (prefers-color-scheme: dark) { .cta { color: var(--ink); } .cta.ghost { color: var(--fg); } }

/* ── Hero ── */
.home .hero { padding: 64px 0 112px; isolation: isolate; }
.hero-grid { display: grid; gap: 80px; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; }
.status { display: inline-flex; align-items: center; gap: 10px; margin: 0; color: var(--muted); font: 500 13px/1.4 var(--mono); }
.dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); animation: ping 2s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(25, 163, 122, .45); } 70%, 100% { box-shadow: 0 0 0 10px transparent; } }
.hero h1 { margin: 22px 0 26px; font-size: clamp(44px, 7.4vw, 92px); line-height: .96; letter-spacing: -0.035em; }
.hero h1 em { white-space: nowrap; background: linear-gradient(var(--mark), var(--mark)) no-repeat 0 90% / 100% .15em; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 32px; }
.specs { display: flex; flex-wrap: wrap; gap: 14px 36px; margin: 44px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.specs dt { color: var(--muted); font: 500 11px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.specs dd { margin: 2px 0 0; font-size: 15px; font-weight: 600; }

.hero-visual { position: relative; }
.hero-visual::before { content: ""; position: absolute; inset: 22px -20px -20px 22px; z-index: -1; border-radius: 26px; background: var(--sun); rotate: 3deg; }
.chat { position: relative; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--card); box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .35); }
.chat-head { display: flex; gap: 10px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.chat-head strong { display: block; font-size: 15px; }
.chat-head small { color: var(--accent); font: 12px var(--mono); }
.avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--deep); color: #fff; font: 700 18px var(--serif); }
.chat-body { display: flex; flex-direction: column; gap: 8px; min-height: 400px; padding: 18px; background: var(--soft); }
.msg { max-width: 84%; margin: 0; padding: 9px 12px 8px; border-radius: 14px; font-size: 15px; line-height: 1.45; box-shadow: 0 1px 1px rgba(0, 0, 0, .05); }
.msg.in { align-self: flex-start; background: var(--bubble-in); border-top-left-radius: 4px; }
.msg.out { align-self: flex-end; background: var(--bubble-out); border-top-right-radius: 4px; }
.at { float: right; margin: 7px 0 0 12px; color: var(--muted); font: 10.5px/1.4 var(--mono); }
.ticks { color: var(--tick); letter-spacing: -.32em; margin-right: .32em; }
.stamp, .sys { align-self: center; margin: 6px 0; padding: 3px 12px; border-radius: 999px; background: var(--card); color: var(--muted); font: 11.5px/1.5 var(--mono); text-align: center; }
.typing { align-self: flex-end; display: flex; gap: 4px; margin: 0; padding: 12px 14px; border-radius: 14px; background: var(--bubble-out); }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); opacity: .5; animation: blink 1s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; } .typing span:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: 1; transform: translateY(-2px); } }
.chat figcaption { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

/* Notas al margen de la conversación */
.note { position: absolute; display: flex; align-items: center; gap: 9px; margin: 0; padding: 8px 13px 8px 9px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .4); font: 500 12.5px/1.3 var(--mono); white-space: nowrap; }
.note b { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--bg); font: 700 13px var(--serif); }
.n1 { top: 132px; left: -76px; rotate: -3deg; }
.n2 { top: 53.5%; left: -84px; rotate: 2deg; }
.n3 { bottom: 84px; right: -30px; rotate: -2deg; }

/* La conversación se escribe sola al cargar */
@media (prefers-reduced-motion: no-preference) {
  .chat-body > * { opacity: 0; animation: pop .5s cubic-bezier(.2, .8, .2, 1) forwards; }
  .m1 { animation-delay: .4s !important; } .m2 { animation-delay: 1.4s !important; } .m3 { animation-delay: 2.6s !important; }
  .m4 { animation-delay: 3.6s !important; }
  .m5 { animation: pop .3s forwards 4.2s, vanish .3s forwards 5.6s !important; }
  .m6 { animation-delay: 5.9s !important; } .m7 { animation-delay: 7.2s !important; }
  .note { opacity: 0; animation: pop .6s cubic-bezier(.2, .8, .2, 1) forwards; }
  .n1 { animation-delay: 1.9s; } .n2 { animation-delay: 6.4s; } .n3 { animation-delay: 7.8s; }
  .hero-copy > * { animation: rise .8s cubic-bezier(.2, .8, .2, 1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; } .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(4) { animation-delay: .24s; } .hero-copy > :nth-child(5) { animation-delay: .32s; }
  .hero h1 em { animation: mark .7s cubic-bezier(.2, .8, .2, 1) .7s both; }
}
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes vanish { to { opacity: 0; height: 0; padding: 0; margin: -8px 0 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes mark { from { background-size: 0 .15em; } }

/* ── Problema: cinta de frases + escenas ── */
.home .problem { padding-top: 0; padding-bottom: 104px; }
.problem .kicker { margin-bottom: 8px; }
.ticker { overflow: hidden; padding: 6px 0 10px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker ul { display: flex; width: max-content; margin: 0; padding: 0; list-style: none; animation: slide 70s linear infinite; }
.ticker li { display: flex; align-items: center; color: var(--faint); font: italic 400 clamp(28px, 4.6vw, 56px)/1.25 var(--serif); letter-spacing: -0.02em; white-space: nowrap; }
.ticker li:nth-child(3n + 1) { color: var(--fg); }
.ticker li::after { content: "✓✓"; margin: 0 .9em 0 .8em; color: var(--tick); font: 400 .42em var(--mono); letter-spacing: -.32em; }
.ticker:hover ul { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }

.problem-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; align-items: start; margin-top: 96px; }
.problem-head { position: sticky; top: 112px; }
.problem-head h2 { margin-bottom: 20px; font-size: clamp(52px, 8vw, 104px); line-height: .92; letter-spacing: -0.04em; }
.problem-head p { margin: 0 0 12px; color: var(--muted); }
.scenes { margin: 0; padding: 0; list-style: none; }
.scene { display: grid; grid-template-columns: minmax(0, 210px) minmax(0, 1fr) 104px; gap: 28px; align-items: center; padding: 34px 0; border-top: 1px solid var(--line); }
.scene:last-child { border-bottom: 1px solid var(--line); }
.when { margin: 0; color: var(--accent); font: 700 clamp(44px, 5.2vw, 68px)/1 var(--serif); letter-spacing: -0.04em; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.scene h3 { margin: 0 0 8px; font-size: 24px; line-height: 1.15; }
.scene-body p { margin: 0; color: var(--muted); }
.ico { display: block; width: 104px; height: 104px; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .14)); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.scene:hover .ico, .feat:hover .ico { transform: translateY(-4px) rotate(-5deg) scale(1.06); }

/* ── Qué hacemos: cuatro funciones, tres composiciones distintas ── */
.feat h3 { margin: 0 0 12px; font-size: clamp(26px, 3vw, 36px); line-height: 1.08; }
.feat p { margin: 0; max-width: 30em; color: var(--muted); font-size: 18px; }
.feat .ico { width: 120px; height: 120px; margin: 0 0 10px -18px; }
.feat-a { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 72px; align-items: center; margin-top: 72px; }

.shot { position: relative; margin: 0; padding: 22px; border: 1px solid var(--line); border-radius: 22px; background: var(--soft); rotate: 1.4deg; }
.shot.tilt-l { rotate: -1.2deg; }
.shot figcaption, .rules figcaption { position: absolute; top: -12px; right: 18px; }
.shot .eg, .rules .eg { background: var(--bg); }
.mini-chat { display: flex; flex-direction: column; gap: 8px; }
.mini-chat .msg { max-width: 88%; }
.feat .mini-chat p { max-width: 88%; color: var(--fg); font-size: 15px; }
.feat .mini-chat .sys, .feat .mini-chat .who { color: var(--muted); font-size: 11.5px; }
.who { align-self: flex-end; margin: 0; font: 11.5px/1.5 var(--mono); }

.feat-b { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: center; margin-top: 96px; padding: 56px; border-radius: 28px; background: var(--soft); }
.flowline { margin: 0; }
.flowline ol { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none; }
.flowline ol::before { content: ""; position: absolute; top: 6px; left: 0; right: calc(100% / 3 - 7px); height: 2px; background: repeating-linear-gradient(90deg, var(--accent-2) 0 8px, transparent 8px 14px); transform-origin: left; }
.flowline li { position: relative; padding: 32px 22px 0 0; }
.flowline li::before { content: ""; position: absolute; top: 0; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 5px var(--soft); }
.flowline li:last-child::before { background: var(--soft); box-shadow: 0 0 0 5px var(--soft), inset 0 0 0 3px var(--accent-2); }
.flowline b { display: block; font: 700 clamp(30px, 3.4vw, 44px)/1 var(--serif); letter-spacing: -0.03em; font-variant-numeric: lining-nums; }
.flowline li span { display: block; margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.flowline figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 30px; color: var(--muted); font-size: 14px; }

.feat-pair { display: grid; grid-template-columns: 1fr 1fr; margin-top: 96px; border-top: 1px solid var(--line); }
.feat-pair .feat { padding: 44px 56px 0 0; }
.feat-pair .feat + .feat { padding: 44px 0 0 56px; border-left: 1px solid var(--line); }
.feat-pair .shot, .rules { margin-top: 32px; }
.rules { position: relative; margin-left: 0; margin-right: 0; margin-bottom: 0; }
.rules ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--fg); font: 14px/1.4 var(--mono); }
.rules li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px dashed var(--line); }
.rules li span { color: var(--muted); }
.rules b { text-align: right; font-weight: 600; }
.rules b::before { content: "✓"; margin-right: 8px; color: var(--accent-2); }
.rules figcaption { top: -13px; right: 0; }

/* ── Cómo funciona: sección oscura con pasos y riel que se llena al hacer scroll ── */
.home section.dark { background: var(--ink); color: #e9f3ee; }
.dark :focus-visible, .final :focus-visible { outline-color: #fff; }
.dark .kicker { color: var(--mint); }
.dark h2 em { color: var(--mint); }
.dark p, .dark li { color: #a9c2b8; }
.dark .eg { color: #f0b08c; }
.steps-wrap { position: relative; margin-top: 64px; view-timeline-name: --steps; }
.rail { position: absolute; left: 27px; top: 8px; bottom: 8px; width: 2px; background: rgba(255, 255, 255, .12); border-radius: 2px; }
.fill { position: absolute; inset: 0 0 auto 0; height: 100%; border-radius: 2px; background: var(--mint); transform-origin: top; }
.steps { display: grid; gap: 56px; margin: 0; padding: 0; list-style: none; }
.steps > li { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 400px); gap: 20px 32px; align-items: start; }
.num { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border: 1.5px solid var(--mint); border-radius: 50%; background: var(--ink); color: var(--mint); font: 700 26px/1 var(--serif); font-variant-numeric: lining-nums; box-shadow: 0 0 0 8px var(--ink); }
.steps h3 { margin: 8px 0 10px; color: #fff; font-size: clamp(26px, 2.8vw, 34px); line-height: 1.1; }
.step-copy p { margin: 0; max-width: 30em; font-size: 18px; }
.step-art { position: relative; margin: 6px 0 0; padding: 20px 22px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; background: rgba(255, 255, 255, .04); }
.step-art figcaption { display: flex; align-items: center; gap: 10px; margin-top: 14px; color: #a9c2b8; font-size: 13px; }
.channels { list-style: none; font: 14px/1.4 var(--mono); }
.channels li { display: flex; flex-wrap: wrap; gap: 4px 0; padding: 10px 0; border-bottom: 1px dashed rgba(255, 255, 255, .16); color: #e9f3ee; }
.channels li:first-child { padding-top: 0; } .channels li:last-child { padding-bottom: 0; border-bottom: 0; }
.channels li::before { content: "✓"; margin-right: 10px; color: var(--mint); }
.channels li span { margin-left: auto; color: var(--mint); }
.brief blockquote { margin: 0; }
.brief blockquote p { margin: 0; color: #e9f3ee; font: italic 400 19px/1.45 var(--serif); }
.notice p { margin: 0; color: #e9f3ee; font-size: 15px; line-height: 1.5; }
.notice .notice-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; color: var(--mint); font: 500 12px/1.4 var(--mono); letter-spacing: .04em; }
.notice .dot { background: var(--mint); }

/* ── Para quién ── */
.who-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: center; }
.illus { position: relative; isolation: isolate; rotate: 2deg; }
.illus::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 24px; background: var(--sun); rotate: -6deg; }
.illus-video { overflow: hidden; border-radius: 24px; background: #f0eee8; box-shadow: 0 30px 50px -32px rgba(0, 0, 0, .4); }
.illus-video video, .illus-video img { display: block; width: 100%; height: auto; }
.illus-still { display: none !important; }
@media (prefers-reduced-motion: reduce) { .illus-video video { display: none; } .illus-still { display: block !important; } }
.trades-label { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 96px 0 16px; font: 700 clamp(20px, 2vw, 24px)/1.2 var(--serif); }
.trades { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--fg); }
.trades li { padding: 26px 28px 28px 0; border-bottom: 1px solid var(--line); }
.trades li:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.trades h3 { margin: 0 0 10px; font-size: 22px; }
.trades .q { margin: 0 0 16px; font: italic 400 18px/1.42 var(--serif); }
.trades .tag { margin: 0; color: var(--muted); font: 500 11px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; }

/* ── Quiénes somos: una carta firmada ── */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.about-head { position: sticky; top: 112px; }
.letter { position: relative; padding: 52px 56px 44px; border: 1px solid var(--line); border-radius: 6px; background: var(--card); box-shadow: 0 34px 50px -40px rgba(0, 0, 0, .45); rotate: -.7deg; }
.letter p { margin: 0 0 18px; font-size: 18px; line-height: 1.65; }
.letter .hello { max-width: 16em; margin-bottom: 24px; padding-right: 96px; font: italic 400 clamp(23px, 2.5vw, 30px)/1.25 var(--serif); letter-spacing: -0.01em; }
.letter .sign { margin: 28px 0 6px; color: var(--accent); font: italic 700 38px/1 var(--serif); letter-spacing: -0.02em; }
.letter .sign::before { content: "— "; font-weight: 400; }
.letter .ps { margin: 0; color: var(--muted); font: 13px/1.6 var(--mono); }
.letter .seal { position: absolute; top: -34px; right: 28px; display: grid; place-items: center; width: 124px; height: 124px; margin: 0; padding: 14px; border: 2px solid currentColor; border-radius: 50%; outline: 1px solid currentColor; outline-offset: -8px; background: var(--card); color: var(--stamp); font: 700 11px/1.45 var(--mono); letter-spacing: .12em; text-align: center; text-transform: uppercase; rotate: 9deg; }

/* ── Preguntas: se leen como un chat ── */
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.faq-head { position: sticky; top: 112px; }
.faq-head p:last-child { margin: 22px 0 0; color: var(--muted); }
.faq { display: grid; gap: 14px; }
.faq summary { position: relative; display: block; width: fit-content; max-width: 88%; padding: 13px 50px 13px 17px; border: 1px solid var(--line); border-radius: 18px; border-top-left-radius: 5px; background: var(--bubble-in); font-weight: 600; line-height: 1.4; cursor: pointer; transition: border-color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover, .faq details[open] summary { border-color: var(--accent); }
.faq summary:focus-visible { border-radius: 18px; border-top-left-radius: 5px; }
.faq summary::after { content: "+"; position: absolute; right: 14px; top: 50%; display: grid; place-items: center; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%; background: var(--soft); color: var(--accent); font: 400 18px/1 var(--mono); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { width: fit-content; max-width: 88%; margin: 10px 0 8px auto; padding: 13px 17px; border-radius: 18px; border-top-right-radius: 5px; background: var(--bubble-out); line-height: 1.55; }
.faq details[open] p { animation: pop .35s cubic-bezier(.2, .8, .2, 1); }

/* ── Llamada final ── */
.home .final { padding: 112px 0; background: var(--deep); color: #fff; }
.final-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 72px; align-items: end; }
.final .typing { display: inline-flex; margin-bottom: 26px; background: rgba(255, 255, 255, .14); }
.final .typing span { background: #fff; }
.final h2 { margin-bottom: 22px; font-size: clamp(44px, 7.4vw, 96px); line-height: .96; letter-spacing: -0.035em; }
.final h2 em { color: var(--sun); white-space: nowrap; }
.final .lead { margin: 0 0 34px; color: rgba(255, 255, 255, .86); }
.final .cta:hover { box-shadow: 4px 4px 0 #0c1f19; }
.ask { padding: 24px 26px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 18px; rotate: 1.5deg; }
.ask p { margin: 0 0 10px; color: rgba(255, 255, 255, .8); font: 500 12px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.ask ol { margin: 0; padding: 0; list-style: none; counter-reset: ask; }
.ask li { display: flex; gap: 12px; padding: 11px 0; border-top: 1px dashed rgba(255, 255, 255, .3); font: 400 20px/1.3 var(--serif); counter-increment: ask; }
.ask li::before { content: counter(ask); color: #ffe39a; font: 700 13px/1.9 var(--mono); }
.home footer { border-top: 0; padding: 28px 0; }

/* Animaciones ligadas al scroll: solo si el navegador las soporta y la persona no pidió menos movimiento */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 5% cover 26%; }
    .fill { animation: fill linear both; animation-timeline: --steps; animation-range: entry 60% exit 60%; }
    .flowline ol::before { animation: draw linear both; animation-timeline: view(); animation-range: entry 30% cover 50%; }
    .letter .seal { animation: thunk linear both; animation-timeline: view(); animation-range: entry 80% cover 42%; }
    .site-header { animation: lift linear both; animation-timeline: scroll(root); animation-range: 0 120px; }
  }
}
@keyframes reveal { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }
@keyframes fill { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes thunk { from { opacity: 0; transform: scale(1.5); } 60% { opacity: 0; transform: scale(1.5); } to { opacity: 1; transform: none; } }
@keyframes lift { to { box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(0, 0, 0, .25); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .typing { display: none; }
  .ticker { mask-image: none; -webkit-mask-image: none; }
  .ticker ul { flex-wrap: wrap; width: auto; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
  .ticker li { white-space: normal; }
  .ticker li[aria-hidden] { display: none; }
}

@media (max-width: 1100px) {
  .n1 { left: -28px; } .n2 { left: -32px; } .n3 { right: -10px; }
  .hero-grid { gap: 56px; }
}
@media (max-width: 960px) {
  .home section { padding: 96px 0; }
  .hero-grid, .problem-grid, .feat-a, .feat-b, .who-grid, .about, .faq-grid, .final-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .problem-head, .about-head, .faq-head { position: static; }
  .problem-grid { margin-top: 72px; }
  .hero-visual, .illus { max-width: 520px; }
  .note { display: none; }
  .steps > li { grid-template-columns: 56px minmax(0, 1fr); }
  .step-art { grid-column: 2; }
  .trades { grid-template-columns: 1fr 1fr; }
  .trades li:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .trades li:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
  .ask { max-width: 420px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .home section { padding: 72px 0; }
  .home .hero { padding: 36px 0 80px; }
  .home .problem { padding-top: 0; padding-bottom: 72px; }
  .nav-hide { display: none; }
  .actions .cta:not(.ghost) { width: 100%; justify-content: center; }
  .specs { display: grid; gap: 0; }
  .specs div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
  .specs dd { margin: 0; text-align: right; }
  .hero-visual::before { inset: 16px -8px -14px 12px; }
  .chat-body { min-height: 0; }
  .scene { grid-template-columns: minmax(0, 1fr) 76px; gap: 6px 16px; padding: 26px 0; }
  .scene .ico { grid-column: 2; grid-row: 1; width: 76px; height: 76px; }
  .scene-body { grid-column: 1 / -1; }
  .feat-a { margin-top: 48px; }
  .feat-b { margin-top: 72px; padding: 32px 22px; }
  .flowline ol { grid-template-columns: 1fr; gap: 22px; }
  .flowline ol::before { top: 0; bottom: 0; left: 6px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--accent-2) 0 8px, transparent 8px 14px); transform-origin: top; }
  .flowline li { padding: 0 0 0 34px; }
  .flowline li::before { top: 8px; }
  .feat-pair { grid-template-columns: 1fr; margin-top: 72px; }
  .feat-pair .feat, .feat-pair .feat + .feat { padding: 36px 0 0; border-left: 0; }
  .feat-pair .feat + .feat { margin-top: 56px; border-top: 1px solid var(--line); }
  .steps-wrap { margin-top: 48px; }
  .steps > li { grid-template-columns: 44px minmax(0, 1fr); gap: 16px 18px; }
  .num { width: 44px; height: 44px; font-size: 21px; }
  .rail { left: 21px; }
  .steps h3 { margin-top: 4px; }
  .trades-label { margin-top: 72px; }
  .trades { grid-template-columns: 1fr; }
  .trades li, .trades li:nth-child(even) { padding: 22px 0 24px; border-left: 0; }
  .letter { padding: 68px 24px 30px; }
  .letter .hello { padding-right: 0; }
  .letter .seal { top: -44px; right: 16px; width: 104px; height: 104px; font-size: 9.5px; }
  .faq summary, .faq details p { max-width: 94%; }
  .home .final { padding: 80px 0; }
}
