/* Landing de venta · Zona2 (el nombre se cambia en app.js → CONFIG.brand)
   Idea: el ritmo. La regla de ticks = un bloque de 3 semanas (21 días); un punto marca el paso.
   Tokens heredados del prototipo (app/style.css). */

:root {
  --bg: #f3f2ee; --surface: #fffefb; --sunken: #ecebe5; --ink: #1f201c; --muted: #585b53; --faint: #8b8d85;
  --line: #e2e1d9; --line-strong: #cfcec4; --accent: #e2562f; --accent-ink: #b23c19; --accent-soft: #fde9e1;
  --cta: #c4421d; --on-cta: #ffffff; --cta-hover: #a93515;
  --success: #2f7a3d; --success-soft: #e2f1e0; --warning: #8a5a00; --warning-soft: #fbedc9; --danger: #b3301f; --danger-soft: #fbe2dd;
  --focus: #1f6fd0; --hover: #f7f6f1; --veil-strong: #ffffffb3;
  --rest: #e7e6e1; --rest-ink: #5e5f59; --easy: #e0eed8; --easy-ink: #346a26; --long: #dbe6fa; --long-ink: #2a56ab;
  --quality: #ffe0ce; --quality-ink: #b04718; --strength: #e8def7; --strength-ink: #6240ab;
  --band: #1b1c18; --band-ink: #f1f0e9; --band-muted: #b4b6ac;
  --shadow: 0 1px 2px #1f201c0f, 0 14px 40px #1f201c1a;
  --shadow-lg: 0 2px 4px #1f201c10, 0 30px 70px #1f201c26;
  --display: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --r1: 6px; --r2: 8px; --r3: 12px; --r4: 18px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { color-scheme: dark;
    --bg: #151613; --surface: #1e201c; --sunken: #292b26; --ink: #f1f0e9; --muted: #a8aaa0; --faint: #7d7f76;
    --line: #2f312b; --line-strong: #474941; --accent: #f0683f; --accent-ink: #ff9a78; --accent-soft: #46271c;
    --cta: #f0683f; --on-cta: #151613; --cta-hover: #ff7d57;
    --success: #86d391; --success-soft: #1e3a25; --warning: #ecc566; --warning-soft: #3f3413; --danger: #ff9082; --danger-soft: #48221d;
    --focus: #6aa9ff; --hover: #262823; --veil-strong: #ffffff1f;
    --rest: #30312c; --rest-ink: #b7b8b0; --easy: #21371c; --easy-ink: #93d37f; --long: #1c2c49; --long-ink: #93b7f7;
    --quality: #4a2a1a; --quality-ink: #ffa67d; --strength: #32264d; --strength-ink: #bda1f4;
    --band: #0d0e0c; --shadow: 0 1px 2px #0006, 0 14px 40px #0008; --shadow-lg: 0 2px 4px #0006, 0 30px 70px #000a; }
}
:root[data-theme="dark"] { color-scheme: dark;
  --bg: #151613; --surface: #1e201c; --sunken: #292b26; --ink: #f1f0e9; --muted: #a8aaa0; --faint: #7d7f76;
  --line: #2f312b; --line-strong: #474941; --accent: #f0683f; --accent-ink: #ff9a78; --accent-soft: #46271c;
  --cta: #f0683f; --on-cta: #151613; --cta-hover: #ff7d57;
  --success: #86d391; --success-soft: #1e3a25; --warning: #ecc566; --warning-soft: #3f3413; --danger: #ff9082; --danger-soft: #48221d;
  --focus: #6aa9ff; --hover: #262823; --veil-strong: #ffffff1f;
  --rest: #30312c; --rest-ink: #b7b8b0; --easy: #21371c; --easy-ink: #93d37f; --long: #1c2c49; --long-ink: #93b7f7;
  --quality: #4a2a1a; --quality-ink: #ffa67d; --strength: #32264d; --strength-ink: #bda1f4;
  --band: #0d0e0c; --shadow: 0 1px 2px #0006, 0 14px 40px #0008; --shadow-lg: 0 2px 4px #0006, 0 30px 70px #000a; }

.tone-rest { --tone: var(--rest); --tone-ink: var(--rest-ink); }
.tone-easy { --tone: var(--easy); --tone-ink: var(--easy-ink); }
.tone-long { --tone: var(--long); --tone-ink: var(--long-ink); }
.tone-quality { --tone: var(--quality); --tone-ink: var(--quality-ink); }
.tone-strength { --tone: var(--strength); --tone-ink: var(--strength-ink); }
.tone-danger { --tone: var(--danger-soft); --tone-ink: var(--danger); }
.tone-accent { --tone: var(--accent-soft); --tone-ink: var(--accent-ink); }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; transition: background-color .25s, color .25s; overflow-x: hidden; }
h1, h2, h3, p, ul, ol, figure, blockquote, dl, dd { margin: 0; padding: 0; }
ul { list-style: none; }
p { color: var(--muted); }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; touch-action: manipulation; }
b, strong { font-weight: 600; color: var(--ink); }
code { font: 500 .9em var(--mono); background: var(--sunken); border: 1px solid var(--line); border-radius: 4px; padding: 1px 6px; color: var(--ink); white-space: nowrap; }
kbd { font: 500 12px var(--mono); background: var(--sunken); border: 1px solid var(--line-strong); border-radius: 5px; padding: 2px 6px; color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: var(--r1); }
.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: var(--r2); }
.skip:focus { top: 12px; }
.grow { flex: 1; min-width: 0; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-left: var(--gutter); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.wrap-narrow { max-width: 820px; }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.top-in { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 21px/1 var(--display); letter-spacing: -.03em; text-decoration: none; }
.brand .z2 { display: block; }
.top-nav { display: flex; gap: 4px; margin-left: auto; }
.top-nav a { padding: 8px 12px; border-radius: 999px; color: var(--muted); font-size: 14px; font-weight: 500; text-decoration: none; }
.top-nav a:hover { background: var(--sunken); color: var(--ink); }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--muted); }
.icon-btn:hover { background: var(--sunken); color: var(--ink); }
.icon-btn .i-sun { display: none; }
:root[data-theme="dark"] .icon-btn .i-sun { display: block; } :root[data-theme="dark"] .icon-btn .i-moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .icon-btn .i-sun { display: block; } :root:not([data-theme="light"]) .icon-btn .i-moon { display: none; } }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; transition: transform .15s, background-color .15s, box-shadow .15s, border-color .15s; }
.btn-cta { background: var(--cta); color: var(--on-cta); box-shadow: 0 6px 18px color-mix(in srgb, var(--cta) 32%, transparent); }
.btn-cta:hover { background: var(--cta-hover); transform: translateY(-1px); }
.btn-cta:active { transform: none; }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--faint); }
.btn-ghost:disabled { opacity: .45; cursor: not-allowed; }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 14px; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn .ic { transition: transform .2s; } .btn:hover .ic { transform: translateX(3px); }
.btn-ghost .ic, .btn-sm .ic { transform: none !important; }

/* ---------- Tipos ---------- */
.eyebrow { font: 600 12px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--accent-ink); }
.tag { font: 600 12px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 12px; }
h2 { font: 800 clamp(1.9rem, 4vw, 3rem)/1.08 var(--display); letter-spacing: -.035em; text-wrap: balance; }
h3 { font: 650 1.4rem/1.2 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.sub { font-size: 1.08rem; max-width: 62ch; }
.mini { font-size: 12px; color: var(--muted); }
.fine { font-size: 13px; color: var(--muted); }
.badge { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px; background: var(--sunken); color: var(--ink); font: 600 12px var(--mono); letter-spacing: .02em; }
.badge-ok { background: var(--success-soft); color: var(--success); }

.sec { padding-block: clamp(64px, 9vw, 120px); }
.sec-alt { background: var(--surface); border-block: 1px solid var(--line); }
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 780px; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(40px, 6vw, 84px); position: relative; overflow: clip; }
.hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 70%; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--line-strong) 45%, transparent) 0 1px, transparent 1px 56px);
  mask-image: linear-gradient(#000, transparent); -webkit-mask-image: linear-gradient(#000, transparent); }
.hero-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.hero-h1 { font: 800 clamp(2.4rem, 5.6vw, 4.8rem)/1.04 var(--display); letter-spacing: -.04em; text-wrap: balance; }
.rhythm { color: var(--accent-ink); position: relative; display: inline-block; padding-bottom: .1em; }
.rhythm::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: .11em; background: repeating-linear-gradient(90deg, currentColor 0 .06em, transparent .06em .18em); opacity: .55; }
.hero-side { display: grid; gap: 22px; padding-bottom: 6px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); line-height: 1.55; color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.stage { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 0; align-items: start; position: relative; }
.win { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r4); box-shadow: var(--shadow-lg); overflow: hidden; margin-right: -56px; position: relative; z-index: 1; }
.win-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.crumb { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .crumb b { color: var(--ink); }
.win-act { display: inline-flex; align-items: center; gap: 6px; }
.win-act .ic { width: 15px; height: 15px; }
.win-pub { background: var(--ink); color: var(--bg); border-radius: 999px; padding: 5px 12px; font-weight: 600; font-size: 12px; white-space: nowrap; }
.win-cap { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--line); background: var(--hover); font-size: 13px; color: var(--muted); min-height: 52px; }
.win-cap .ic { color: var(--accent-ink); }
.win-cap.flash span { animation: flash .9s; }
@keyframes flash { 0% { background: var(--accent-soft); } 100% { background: transparent; } }
.example-note { margin-top: 14px; font-size: 12px; color: var(--muted); text-align: right; }

.phone { position: relative; z-index: 2; width: 270px; padding: 9px; border-radius: 38px; background: var(--ink); box-shadow: var(--shadow-lg); margin-top: 44px; justify-self: end; }
.phone-in { background: var(--bg); border-radius: 30px; overflow: hidden; min-height: 520px; display: flex; flex-direction: column; }
.phone-sm, .phone-lg { margin: 0 auto; justify-self: center; }
.phone-lg { width: min(100%, 340px); }

/* ---------- Regla / ruler ---------- */
.ruler { --n: 21; position: relative; height: 34px; margin-top: clamp(40px, 6vw, 72px);
  background:
    repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px calc(100% / 7)) bottom / 100% 100% no-repeat,
    repeating-linear-gradient(90deg, var(--faint) 0 1px, transparent 1px calc(100% / 21)) bottom / 100% 40% no-repeat; }
.ruler::after { content: ""; position: absolute; right: 0; bottom: 0; width: 2px; height: 100%; background: var(--ink); }
.ruler-dot { position: absolute; left: 0; bottom: -1px; width: calc(100% / 21); height: 100%; }
.ruler-dot::before { content: ""; position: absolute; left: -5px; bottom: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--cta); box-shadow: 0 0 0 6px color-mix(in srgb, var(--cta) 22%, transparent); }
.ruler-dot { animation: beat 10.5s steps(21, jump-none) infinite; }
@keyframes beat { from { transform: translateX(0); } to { transform: translateX(2000%); } }
.ruler-labels { display: grid; grid-template-columns: repeat(3, 1fr); padding: 10px 0 0; font: 500 12px var(--mono); color: var(--muted); }
.ruler-band { margin-top: 56px; }
.ruler-band { background: repeating-linear-gradient(90deg, var(--band-muted) 0 2px, transparent 2px calc(100% / 7)) bottom / 100% 100% no-repeat, repeating-linear-gradient(90deg, #6f7168 0 1px, transparent 1px calc(100% / 21)) bottom / 100% 40% no-repeat; }
.ruler-band::after { background: var(--band-muted); }

/* ---------- Grilla de planificación ---------- */
.grid-scroll { overflow-x: auto; }
.plan { width: 100%; min-width: 700px; border-collapse: collapse; table-layout: fixed; }
.plan th, .plan td { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); padding: 0; vertical-align: top; }
.plan tr > :last-child { border-right: 0; } .plan tbody tr:last-child > * { border-bottom: 0; }
.plan thead th { padding: 8px 10px; text-align: left; font-size: 12px; font-weight: 500; color: var(--muted); background: var(--surface); }
.plan thead th.is-today { color: var(--ink); }
.plan thead th em { font-style: normal; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: var(--cta); color: var(--on-cta); font-size: 11px; font-weight: 600; }
.plan th:first-child { width: 124px; }
.plan tbody th { padding: 8px 10px; text-align: left; font-weight: 400; background: var(--surface); }
.plan tbody th b { display: block; font-size: 13px; line-height: 1.3; } .plan tbody th small { font-size: 11px; color: var(--muted); }
.cell { position: relative; display: grid; align-content: start; gap: 3px; width: 100%; height: 100%; min-height: 66px; padding: 8px 10px; background: transparent; }
.cell-type { display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; color: var(--tone-ink); }
.cell-type i { width: 7px; height: 7px; border-radius: 2px; background: var(--tone-ink); flex: none; }
.cell-main { font-size: 12px; line-height: 1.35; color: var(--ink); overflow-wrap: anywhere; }
.cell-main:empty::before { content: "—"; color: var(--faint); }
.plan td { transition: background-color .3s; }
.plan td.tone-easy, .plan td.tone-long, .plan td.tone-quality, .plan td.tone-strength, .plan td.tone-rest { background: color-mix(in srgb, var(--tone) 55%, transparent); }
.plan td.is-hot { box-shadow: inset 0 0 0 2px var(--cta); background: var(--surface); }
.plan td.is-just { animation: pop .7s; }
@keyframes pop { 0% { box-shadow: inset 0 0 0 3px var(--cta); } 100% { box-shadow: inset 0 0 0 0 transparent; } }
.caret::after { content: ""; display: inline-block; width: 1.5px; height: 1em; margin-left: 1px; vertical-align: -2px; background: var(--cta); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.plan-edit button.cell { cursor: text; text-align: left; }
.plan-edit button.cell:hover { background: color-mix(in srgb, var(--ink) 5%, transparent); }
.plan-edit td.is-sel { box-shadow: inset 0 0 0 2px var(--focus); }
.plan-edit input { width: 100%; height: 100%; min-height: 66px; padding: 8px 10px; font-size: 12px; background: var(--surface); border: 0; box-shadow: inset 0 0 0 2px var(--cta); border-radius: 0; outline: none; }

/* ---------- Teléfono / Hoy ---------- */
.today { display: grid; align-content: start; gap: 12px; padding: 18px 16px 14px; background: var(--tone, var(--easy)); flex: 1; transition: background-color .4s; }
.today-top { display: flex; align-items: center; justify-content: space-between; font: 600 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--tone-ink); }
.today-title { display: flex; align-items: center; gap: 10px; }
.today-title .type-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--veil-strong); color: var(--tone-ink); }
.today-title h4 { margin: 0; font: 650 17px/1.25 var(--display); letter-spacing: -.01em; color: var(--ink); }
.today-title small { display: block; font-size: 12px; color: var(--ink); opacity: .75; font-family: var(--font); font-weight: 400; }
.zchips { display: flex; flex-wrap: wrap; gap: 6px; }
.zchip { display: inline-flex; align-items: baseline; gap: 6px; padding: 4px 9px; border-radius: 999px; background: var(--veil-strong); font: 600 12px var(--mono); color: var(--ink); }
.zchip small { font-size: 11px; font-weight: 400; opacity: .75; }
.steps { display: grid; gap: 6px; }
.step { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: baseline; padding: 8px 10px; background: var(--surface); border-radius: 8px; border-left: 4px solid var(--c, var(--faint)); font-size: 12.5px; color: var(--ink); }
.step span { font-weight: 600; color: var(--c); }
.step b { font: 500 12px var(--mono); }
.step-rep { display: grid; grid-template-columns: 40px 1fr; gap: 6px; padding: 6px; border: 1.5px dashed color-mix(in srgb, var(--ink) 30%, transparent); border-radius: 10px; }
.step-rep > em { display: grid; place-items: center; border-radius: 7px; background: var(--ink); color: var(--bg); font: 700 13px var(--mono); font-style: normal; }
.step-rep > div { display: grid; gap: 6px; }
.rpe-ask { display: grid; gap: 8px; padding: 10px; background: var(--surface); border-radius: 10px; font-size: 12px; color: var(--muted); }
.rpe-ask b { font-size: 12.5px; }
.rpe-row { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; }
.rpe-row button { min-height: 30px; border-radius: 6px; background: var(--sunken); font: 600 11px var(--mono); text-align: center; color: var(--ink); }
.rpe-row button:hover { background: var(--line-strong); }
.rpe-row button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.rpe-done { color: var(--success); font-weight: 600; }
.tabbar { display: grid; grid-template-columns: repeat(5, 1fr); padding: 8px 4px 12px; border-top: 1px solid var(--line); background: var(--surface); }
.tabbar span { display: grid; justify-items: center; gap: 3px; font-size: 10px; color: var(--muted); }
.tabbar span.on { color: var(--accent-ink); font-weight: 600; }
.tabbar .ic { width: 18px; height: 18px; }
.swap { animation: swap .45s both; }
@keyframes swap { from { opacity: .2; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Problema ---------- */
.chaos { position: relative; min-height: clamp(460px, 56vw, 560px); border-radius: var(--r4); background: var(--sunken); border: 1px solid var(--line); overflow: hidden;
  background-image: radial-gradient(circle, var(--line-strong) 1px, transparent 1.5px); background-size: 22px 22px; }
.ci { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%) rotate(var(--r)); display: inline-flex; align-items: center; gap: 8px; max-width: 42%; padding: 10px 14px; border-radius: 10px; font-size: 14px; line-height: 1.3; color: var(--ink); box-shadow: var(--shadow); transition: left .9s cubic-bezier(.6, 0, .2, 1), top .9s cubic-bezier(.6, 0, .2, 1), transform .9s cubic-bezier(.6, 0, .2, 1), opacity .6s .15s; }
.ci-file { background: var(--surface); border: 1px solid var(--line-strong); font-family: var(--mono); font-size: 12.5px; }
.ci-file .ic { color: var(--success); }
.ci-msg { background: var(--success-soft); border-radius: 14px 14px 14px 2px; }
.ci-audio { gap: 10px; }
.wave { display: inline-flex; align-items: center; gap: 2px; height: 18px; } .wave i { width: 3px; border-radius: 2px; background: var(--success); } .wave i:nth-child(1) { height: 6px; } .wave i:nth-child(2) { height: 14px; } .wave i:nth-child(3) { height: 9px; } .wave i:nth-child(4) { height: 17px; } .wave i:nth-child(5) { height: 8px; } .wave i:nth-child(6) { height: 12px; }
.ci-note { background: var(--warning-soft); font-weight: 500; border-radius: 3px; padding: 14px 16px; font-family: var(--display); font-size: 16px; }
.ci-cell { background: var(--surface); border: 1.5px solid var(--cta); border-radius: 2px; font: 500 12.5px var(--mono); }
.order { position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; opacity: 0; pointer-events: none; transition: opacity .7s .35s, transform .7s .35s; transform: scale(.96); }
.order-card { width: min(100%, 560px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r4); box-shadow: var(--shadow-lg); padding: 20px; display: grid; gap: 14px; }
.order-head { display: flex; justify-content: space-between; align-items: center; }
.alerts { display: grid; gap: 8px; }
.al { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; font-size: 14px; color: var(--ink); background: var(--bg); border: 1px solid var(--line); }
.al small { display: block; color: var(--muted); font-size: 12.5px; }
.al-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; flex: none; }
.al-danger .al-ic { background: var(--danger-soft); color: var(--danger); } .al-warn .al-ic { background: var(--warning-soft); color: var(--warning); } .al-accent .al-ic { background: var(--accent-soft); color: var(--accent-ink); } .al-info .al-ic { background: var(--long); color: var(--long-ink); }
.chaos[data-state="orden"] .ci { left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.2) rotate(0deg); opacity: 0; }
.chaos[data-state="orden"] .order { opacity: 1; transform: none; pointer-events: auto; }
#chaos-btn { gap: .28em; }
.chaos-ctl { display: flex; align-items: center; gap: 18px; margin-top: 22px; flex-wrap: wrap; }
.chaos-ctl .sub { font-size: 1rem; }

/* ---------- Momentos ---------- */
.moment { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(28px, 4vw, 56px); }
.moment + .moment { border-top: 1px solid var(--line); }
.moment-flip .moment-txt { order: 2; }
.moment-txt { display: grid; gap: 14px; justify-items: start; }
.checks { display: grid; gap: 8px; margin-top: 6px; }
.checks li { position: relative; padding-left: 26px; font-size: 15px; color: var(--ink); }
.checks li::before { content: ""; position: absolute; left: 2px; top: .38em; width: 11px; height: 6px; border-left: 2.5px solid var(--success); border-bottom: 2.5px solid var(--success); transform: rotate(-45deg); }
.moment-viz { min-width: 0; }
.paste { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.15fr); gap: 12px; align-items: center; }
.sheet { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line-strong); border-radius: 10px; overflow: hidden; background: var(--bg); font: 400 11.5px/1.3 var(--mono); box-shadow: var(--shadow); }
.sheet span { padding: 12px 8px; border: 0 solid var(--line); border-width: 0 1px 1px 0; color: var(--ink); overflow-wrap: anywhere; }
.sheet span:nth-child(3n) { border-right: 0; } .sheet span:nth-last-child(-n+3) { border-bottom: 0; }
.sheet-live { font-family: var(--font); font-size: 12px; }
.sheet-live span { background: var(--tone); display: grid; gap: 4px; align-content: start; }
.sheet-live i { width: 7px; height: 7px; border-radius: 2px; background: var(--tone-ink); }
.paste-arrow { display: grid; justify-items: center; gap: 6px; color: var(--muted); }
.moment-phone { display: grid; place-items: center; background: var(--sunken); border-radius: var(--r4); padding: 32px 16px; background-image: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 40px); }
.follow { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r4); box-shadow: var(--shadow); padding: 18px; display: grid; gap: 12px; }
.follow-head { display: flex; justify-content: space-between; align-items: center; }
.follow li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14px; }
.follow li small { display: block; font-size: 12px; color: var(--muted); }
.avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sunken); color: var(--ink); font: 600 11px var(--font); flex: none; }
.bar { width: 70px; height: 6px; border-radius: 3px; background: var(--sunken); overflow: hidden; flex: none; }
.bar i { display: block; height: 100%; width: var(--w); background: var(--easy-ink); border-radius: 3px; }
.chip { font: 600 11px var(--mono); padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.chip-danger { background: var(--danger-soft); color: var(--danger); } .chip-warn { background: var(--warning-soft); color: var(--warning); } .chip-ok { background: var(--success-soft); color: var(--success); } .chip-late { background: var(--accent-soft); color: var(--accent-ink); }

/* ---------- Demo ---------- */
.demo { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r4); box-shadow: var(--shadow-lg); overflow: hidden; }
.demo-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.segmented { display: inline-grid; grid-auto-flow: column; padding: 3px; background: var(--sunken); border-radius: 999px; }
.segmented button { min-height: 38px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted); text-align: center; }
.segmented button[aria-pressed="true"] { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: 0 1px 3px #0003; }
.demo .win-cap { border-top: 1px solid var(--line); }
.demo-note { padding: 10px 16px 14px; border-top: 1px solid var(--line); }
#demo-run { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; padding: 24px; align-items: start; background: var(--sunken); }
#demo-run[hidden] { display: none; }
.run-pick { display: grid; gap: 18px; align-content: start; }
.run-who, .run-days { display: flex; flex-wrap: wrap; gap: 8px; }
.run-who button, .run-days button { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); font-size: 14px; font-weight: 500; }
.run-who button[aria-pressed="true"], .run-days button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.run-days button { min-width: 58px; padding: 0 10px; text-align: center; }
.run-who::before, .run-days::before { content: attr(data-l); flex: 0 0 100%; font: 600 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ---------- Funciones ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.card { display: grid; align-content: start; gap: 12px; padding: 26px; border-radius: var(--r4); background: color-mix(in srgb, var(--tone) 62%, var(--surface)); border: 1px solid color-mix(in srgb, var(--tone-ink) 18%, transparent); }
.card p { color: var(--ink); opacity: .82; }
.card h3 { font-size: 1.6rem; }
.card-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--surface); color: var(--tone-ink); }
.card .checks li::before { border-color: var(--tone-ink); }
.c-plan { grid-column: span 4; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 28px; grid-auto-flow: dense; }
.c-plan > * { grid-column: 1; } .c-plan .mini-steps { grid-column: 2; grid-row: 1 / span 5; align-self: center; }
.c-follow { grid-column: span 2; }
.c-injury, .c-str, .c-pay { grid-column: span 2; }
.mini-steps { display: grid; gap: 6px; }
.mstep { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; background: var(--surface); border-left: 4px solid var(--c); border-radius: 8px; font-size: 12.5px; color: var(--ink); }
.mstep span { font-weight: 600; } .mstep b { font: 500 12px var(--mono); }
.mrep { display: grid; grid-template-columns: 38px 1fr; gap: 6px; padding: 6px; border: 1.5px dashed color-mix(in srgb, var(--ink) 30%, transparent); background: transparent; border-radius: 10px; }
.mrep em { display: grid; place-items: center; font: 700 13px var(--mono); font-style: normal; background: var(--ink); color: var(--bg); border-radius: 7px; }
.mrep > div { display: grid; gap: 6px; }
.rpe { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; margin-top: 4px; }
.rpe span { display: grid; place-items: center; height: 28px; border-radius: 6px; background: var(--surface); font: 600 11px var(--mono); color: var(--ink); }
.rpe .on { background: var(--ink); color: var(--bg); }
.extras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.extras li { display: flex; gap: 14px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r3); background: var(--bg); font-size: 14px; color: var(--muted); }
.extras .ic { width: 22px; height: 22px; color: var(--accent-ink); margin-top: 2px; }
.extras b { display: block; }

/* ---------- Dos lados ---------- */
.duo { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; }
.duo-col { display: grid; gap: 14px; align-content: start; padding: clamp(24px, 3vw, 40px); border-radius: var(--r4); border: 1px solid var(--line); }
.duo-prof { background: var(--surface); }
.duo-run { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 25%, transparent); }
.duo-run p { color: var(--ink); opacity: .85; }
.tabs5 { display: grid; gap: 6px; }
.tabs5 li { display: flex; align-items: baseline; gap: 12px; padding: 10px 14px; background: var(--surface); border-radius: 10px; font-size: 14px; color: var(--muted); }
.tabs5 b { min-width: 76px; }
.slot { margin-top: 40px; padding: 28px; border: 2px dashed var(--line-strong); border-radius: var(--r4); display: grid; gap: 10px; justify-items: start; }
.slot-badge { font: 600 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: var(--warning-soft); color: var(--warning); }
.slot blockquote { font: 500 1.3rem/1.35 var(--display); color: var(--muted); }
.slot figcaption { font-size: 13px; color: var(--muted); }

/* ---------- Roadmap ---------- */
.road { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 20px; align-items: start; }
.road-now { display: grid; gap: 14px; justify-items: start; padding: 26px; background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--r4); }
.road-next { display: grid; gap: 10px; }
.road-next li { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1.5px dashed var(--line-strong); border-radius: var(--r3); }
.road-next h3 { font: 650 1.05rem var(--display); }
.road-next p { font-size: 14px; }
.road-next div { flex: 1; min-width: 0; }
.road-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--sunken); color: var(--muted); flex: none; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 14px 0; font: 600 1.12rem/1.3 var(--display); cursor: pointer; list-style: none; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong); font: 400 20px/1 var(--font); flex: none; transition: transform .25s, background-color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--sunken); }
.faq details p { padding: 0 48px 22px 0; max-width: 66ch; }

/* ---------- Cierre ---------- */
.final { background: var(--band); color: var(--band-ink); padding-block: clamp(64px, 9vw, 112px) 36px; }
.final-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.final-txt { display: grid; gap: 18px; }
.final h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.02; color: var(--band-ink); }
.final .eyebrow { color: #ff9a78; }
.final p { color: var(--band-muted); font-size: 1.08rem; max-width: 46ch; }
.final-form { background: var(--surface); color: var(--ink); border-radius: var(--r4); padding: clamp(22px, 3vw, 32px); box-shadow: 0 30px 80px #0008; }
.final-form form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select { width: 100%; min-height: 50px; padding: 0 14px; background: var(--bg); border: 1px solid var(--line-strong); border-radius: 12px; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.field select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field input:hover, .field select:hover { border-color: var(--faint); }
.field input:focus-visible, .field select:focus-visible { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 30%, transparent); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--danger); }
.err { min-height: 0; font-size: 13px; color: var(--danger); font-weight: 500; }
.done { display: grid; gap: 12px; justify-items: start; padding: 8px 0; }
.done[hidden] { display: none; }
.done:focus { outline: none; }
.done h3 { font-size: 1.7rem; }
.done-ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--success-soft); color: var(--success); }
.done-ic .ic { width: 28px; height: 28px; stroke-width: 2.6; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s .15s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.foot { padding-block: 36px; background: var(--band); color: var(--band-muted); border-top: 1px solid #ffffff14; }
.foot-in { display: flex; align-items: center; gap: 20px 32px; flex-wrap: wrap; }
.foot .brand { color: var(--band-ink); }
.foot p { color: var(--band-muted); font-size: 14px; flex: 1; min-width: 220px; }
.foot nav { display: flex; gap: 6px 18px; flex-wrap: wrap; }
.foot nav a { font-size: 14px; color: var(--band-muted); text-decoration: none; padding: 10px 0; }
.foot nav a:hover { color: var(--band-ink); text-decoration: underline; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .top-nav { display: none; } .top-in .icon-btn { margin-left: auto; }
  .hero-top { grid-template-columns: 1fr; align-items: start; }
  .stage { grid-template-columns: 1fr; }
  .win { margin-right: 0; }
  .phone { margin: 24px auto 0; justify-self: center; }
  .example-note { text-align: left; }
  .moment, .final-grid, .duo, .road { grid-template-columns: 1fr; }
  .moment-flip .moment-txt { order: 0; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .c-plan { grid-column: span 2; grid-template-columns: 1fr; } .c-plan .mini-steps { grid-column: 1; grid-row: auto; }
  .c-follow, .c-injury, .c-str, .c-pay { grid-column: span 1; }
  .c-pay { grid-column: span 2; }
  .extras { grid-template-columns: 1fr; }
  #demo-run { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; } .c-plan, .c-pay, .c-follow, .c-injury, .c-str { grid-column: auto; }
  .paste { grid-template-columns: 1fr; } .paste-arrow { grid-auto-flow: column; justify-content: center; } .paste-arrow .ic { transform: rotate(90deg); }
  .ci { max-width: 62%; font-size: 13px; padding: 8px 11px; }
  .chaos { min-height: 560px; }
  .cta-row .btn { width: 100%; }
  .top .btn-sm { padding: 0 12px; }
  .faq details p { padding-right: 0; }
  .follow li { flex-wrap: wrap; } .bar { width: 48px; }
  .btn { white-space: normal; text-align: center; }
  .win-act { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .ruler-dot { animation: none; transform: translateX(600%); }
}

/* ---------- Calculadora ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: stretch; }
.calc-in { display: grid; gap: 18px; align-content: start; padding: clamp(20px, 3vw, 32px); background: var(--bg); border: 1px solid var(--line); border-radius: var(--r4); }
.calc .field input[type="number"] { background: var(--surface); font: 600 1.2rem var(--mono); }
.calc input[type="range"] { accent-color: var(--cta); min-height: 44px; padding: 0; border: 0; background: none; }
.calc-out { display: grid; align-content: center; gap: 4px; padding: clamp(24px, 3vw, 40px); background: var(--band); color: var(--band-ink); border-radius: var(--r4); }
.calc-out p { color: var(--band-muted); }
.calc-k { font: 600 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; margin-top: 10px; }
.calc-big { font: 800 clamp(3rem, 7vw, 5rem)/1 var(--display); letter-spacing: -.03em; color: var(--band-ink) !important; font-variant-numeric: tabular-nums; }
.calc-big small { font: 500 1rem var(--font); letter-spacing: 0; color: var(--band-muted); }
.calc-win { color: #ff9a78 !important; }
.calc-yr { margin-top: 10px; font-size: 1.05rem; } .calc-yr b, .calc-yr span { color: var(--band-ink); font-weight: 600; }
.calc-out .mini { margin-top: 14px; color: var(--band-muted); }

/* ---------- Beneficios ---------- */
.ben { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ben-card { display: grid; align-content: start; gap: 10px; padding: 26px; border-radius: var(--r4); background: color-mix(in srgb, var(--tone) 62%, var(--surface)); border: 1px solid color-mix(in srgb, var(--tone-ink) 18%, transparent); }
.ben-card p { color: var(--ink); opacity: .85; font-size: 15px; }
.ben-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--surface); color: var(--tone-ink); margin-bottom: 4px; }
.soon { display: inline-block; margin-top: 4px; padding: 2px 9px; border-radius: 999px; background: var(--warning-soft); color: var(--warning); font: 600 11px/1.5 var(--mono); letter-spacing: .03em; }

/* ---------- Tus corredores ---------- */
.love { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.love .moment-phone { min-height: 0; }
.love-list { display: grid; gap: 12px; }
.love-list li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r3); background: var(--surface); }
.love-list li.is-soon { border-style: dashed; border-color: var(--line-strong); background: transparent; }
.love-list h3 { font: 650 1.1rem/1.3 var(--display); }
.love-list p { font-size: 14.5px; margin-top: 2px; }
.love-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); flex: none; }
.watch-spot { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 5vw, 64px); align-items: center; margin-top: clamp(40px, 6vw, 72px); padding: clamp(24px, 4vw, 48px); border: 2px dashed var(--line-strong); border-radius: var(--r4); }
.watch-txt { display: grid; gap: 12px; justify-items: start; }
.watch { display: grid; justify-items: center; gap: 20px; }
.watch-face { display: grid; place-content: center; justify-items: center; gap: 2px; width: 190px; height: 190px; border-radius: 52px; background: #0d0e0c; border: 10px solid #2a2c27; box-shadow: var(--shadow-lg), 0 0 0 3px var(--line-strong); color: #f1f0e9; text-align: center; position: relative; }
.watch-face small { font: 600 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #ffa67d; }
.watch-face b { font: 800 2rem/1.1 var(--display); letter-spacing: -.02em; }
.watch-face span { font: 600 1rem var(--mono); color: #93d37f; }
.watch-face i { position: absolute; inset: 8px; border-radius: 40px; border: 2px solid transparent; border-top-color: #ff9a78; border-right-color: #ff9a78; transform: rotate(-20deg); }
.watch-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--sunken); color: var(--muted); font-weight: 600; font-size: 15px; border: 1px dashed var(--line-strong); }
@media (max-width: 980px) { .calc, .love, .watch-spot { grid-template-columns: 1fr; } .ben { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ben { grid-template-columns: 1fr; } .love-list li { padding: 14px; } }

/* ---------- Header minimal + menú ---------- */
.burger { display: grid; gap: 5px; width: 20px; }
.burger i { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
#menu-btn { color: var(--ink); }
#menu-btn[aria-expanded="true"] .burger i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#menu-btn[aria-expanded="true"] .burger i:nth-child(2) { opacity: 0; }
#menu-btn[aria-expanded="true"] .burger i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menu-wrap { position: relative; height: 0; }
.menu { position: absolute; top: 6px; right: max(16px, env(safe-area-inset-right, 0px)); width: min(320px, calc(100% - 32px)); display: grid; gap: 4px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r4); box-shadow: var(--shadow-lg); animation: swap .2s both; }
.menu[hidden] { display: none; }
.menu nav { display: grid; }
.menu nav a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 14px; border-radius: var(--r3); font: 650 1.15rem var(--display); letter-spacing: -.01em; text-decoration: none; color: var(--ink); }
.menu nav a .ic { color: var(--muted); transition: transform .15s, color .15s; }
.menu nav a:hover { background: var(--sunken); } .menu nav a:hover .ic { transform: translateX(3px); color: var(--accent-ink); }
.menu-theme { display: flex; align-items: center; justify-content: space-between; min-height: 48px; margin-top: 4px; padding: 0 14px; border-top: 1px solid var(--line); border-radius: 0 0 var(--r3) var(--r3); font-size: 14px; font-weight: 500; color: var(--muted); }
.menu-theme:hover { color: var(--ink); }
.switch { position: relative; width: 38px; height: 22px; border-radius: 999px; background: var(--line-strong); transition: background-color .2s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); box-shadow: 0 1px 2px #0004; transition: transform .2s; }
.menu-theme[aria-pressed="true"] .switch { background: var(--cta); }
.menu-theme[aria-pressed="true"] .switch::after { transform: translateX(16px); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--ink); border-bottom: 2px solid var(--line-strong); padding-block: 0; align-self: center; transition: border-color .15s; }
.link-arrow:hover { border-color: var(--cta); }
.link-arrow .ic { transition: transform .2s; } .link-arrow:hover .ic { transform: translateX(3px); }
.link-light { color: var(--band-ink); border-color: #ffffff40; }
.cta-row { align-items: center; }

/* ---------- Landing corta ---------- */
.love-side { display: grid; gap: 20px; }
.soon-strip { display: grid; gap: 8px; padding: 18px 20px; border: 1.5px dashed var(--line-strong); border-radius: var(--r3); }
.soon-strip .soon { justify-self: start; margin: 0 0 4px; }
.soon-strip p { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink); }
.soon-strip .ic { color: var(--accent-ink); }
#chaos-msg { font-size: 15px; color: var(--muted); }
.final-in { display: grid; gap: 20px; justify-items: start; }
.final-in h2 { max-width: 14ch; }
.final-in p { max-width: 42ch; }
.final-in .ruler { justify-self: stretch; width: 100%; }

/* ---------- Página de funciones ---------- */
.page-top { padding-block: clamp(36px, 6vw, 72px) 0; }
.page-top .wrap { display: grid; gap: 14px; justify-items: start; }
.page-top h1 { font: 800 clamp(2.6rem, 6vw, 4.6rem)/1 var(--display); letter-spacing: -.04em; }
.back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; }
.back .ic { transform: rotate(180deg); } .back:hover { color: var(--ink); }
.page-top + .sec { padding-top: clamp(40px, 5vw, 64px); }
@media (max-width: 640px) { .menu { right: 16px; } }


/* ---------- Logo en el texto ---------- */
.z2-i { display: inline-block; height: .78em; width: calc(.78em * 808 / 168); vertical-align: -.1em; overflow: visible; }
.btn-cta, .btn-cta .z2-i { --z2-on: #fff; --z2-rest: rgba(255,255,255,.38); }
h2 .z2-i, .page-top .lead .z2-i { height: .72em; width: calc(.72em * 808 / 168); }
.faq summary .z2-i { height: .72em; width: calc(.72em * 808 / 168); }

/* ---------- Problema en 2 columnas ---------- */
.problem { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.problem-txt { display: grid; gap: 24px; align-content: center; }
.problem-txt .sec-head { margin-bottom: 0; }
.problem .chaos { min-height: clamp(400px, 36vw, 470px); }
.problem .chaos-ctl { margin-top: 0; flex-direction: column; align-items: flex-start; gap: 12px; }
.problem .ci { max-width: 48%; font-size: 13px; padding: 8px 12px; }
.problem .order-card { padding: 16px; }
@media (max-width: 980px) { .problem { grid-template-columns: 1fr; } .problem .chaos { min-height: 520px; } }
@media (max-width: 640px) { .problem .ci { max-width: 62%; } .problem .chaos { min-height: 560px; } .problem .chaos-ctl .btn { width: 100%; } }

/* ---------- Precios ---------- */
.pricing { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pricing .plan-price { font-size: clamp(1.9rem, 3vw, 2.4rem); }
.plan-card .soon { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 999px; background: var(--sunken); color: var(--muted); font: 600 11px var(--mono); vertical-align: 1px; }
.pricing-notes { display: grid; gap: 8px; margin-top: 24px; max-width: 760px; }
.pricing-notes p { color: var(--muted); }
.pricing-notes b { color: var(--ink); font-weight: 600; }
@media (max-width: 1100px) { .pricing { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.plan-card { display: grid; align-content: start; gap: 14px; padding: 28px; border-radius: var(--r4); background: var(--surface); border: 1px solid var(--line-strong); }
.plan-card.is-now { border: 2px solid var(--cta); box-shadow: var(--shadow); }
.plan-card h3 { font: 700 1.15rem var(--display); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.plan-price { font: 800 clamp(2.2rem, 4vw, 3rem)/1 var(--display); letter-spacing: -.04em; }
.plan-price small { font: 500 1rem var(--font); letter-spacing: 0; color: var(--muted); }
.plan-card .btn { justify-self: start; }
.plan-card p { color: var(--muted); }
@media (max-width: 640px) { .pricing { grid-template-columns: 1fr; } .plan-card .btn { width: 100%; } }

/* ---------- Funciones: el dolor ---------- */
.pain { font-size: 14px; color: var(--muted); padding-left: 12px; border-left: 3px solid color-mix(in srgb, var(--tone-ink) 45%, transparent); }
.pain b { color: var(--ink); font-weight: 600; }
.card h3 { font-size: 1.45rem; }
.plan-card p.plan-price { color: var(--ink); }
