/* Ilaro — página de presentación (ilaro.tools). Sin dependencias externas. */
:root {
    --primary: #0b6e8a;
    --primary-dark: #095a71;
    --primary-soft: #e3f2f6;
    --accent: #5bc2dd;
    --ink: #13212c;
    --text: #1b2733;
    --text-2: #4c5a67;
    --text-3: #7b8794;
    --bg: #f4f6f8;
    --line: #dfe4e8;
    --ok: #1a8f5a;
    --warn: #b7791f;
    --info: #2b6cb0;
    --radius: 14px;
    --shadow: 0 1px 2px rgba(16, 32, 45, .06), 0 8px 24px rgba(16, 32, 45, .08);
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--primary); }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 .6rem; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1rem; }
.mono { font-family: var(--mono); font-size: .92em; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--primary); margin-bottom: .7rem; }
.eyebrow.light { color: var(--accent); }
.section-lead { color: var(--text-2); font-size: 1.08rem; max-width: 680px; }
.small { font-size: .9rem; }
section { padding: clamp(56px, 8vw, 96px) 0; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .7rem 1.2rem; border-radius: 10px; border: 1px solid var(--primary);
    background: var(--primary); color: #fff; font: 600 .95rem/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s; }
.btn:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(11, 110, 138, .25); }
.btn-sm { padding: .5rem .9rem; font-size: .88rem; }
.btn-lg { padding: .9rem 1.5rem; font-size: 1rem; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); box-shadow: none; }
.btn-light { background: #fff; color: var(--primary); border-color: #fff; }
.btn-light:hover { background: #eaf7fb; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); }
.btn-outline { background: #fff; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary-soft); color: var(--primary-dark); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.6rem 0 1rem; }
.actions.center { justify-content: center; }

/* Encabezado */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.6) blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 1.5rem; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }
.brand img { border-radius: 8px; object-fit: contain; }
.menu { display: flex; gap: 1.4rem; margin-left: 1rem; }
.menu a { color: var(--text-2); text-decoration: none; font-size: .95rem; white-space: nowrap; }
.top-cta .btn { white-space: nowrap; }
.menu a:hover { color: var(--primary); }
.top-cta { margin-left: auto; display: flex; align-items: center; gap: 1rem; }
.top-cta .link { color: var(--text-2); text-decoration: none; font-size: .92rem; white-space: nowrap; }
.top-cta .link:hover { color: var(--primary); }

/* ES · EN: idioma a un clic, siempre visible (también en el celular) */
.lang { display: inline-flex; padding: 2px; border: 1px solid var(--line); border-radius: 999px; background: #fff; flex: none; }
.lang a { min-width: 2.1rem; padding: .22rem .5rem; border-radius: 999px; text-align: center; text-decoration: none; color: var(--text-2); font-size: .78rem; font-weight: 700; letter-spacing: .04em; line-height: 1.4; }
.lang a:hover { color: var(--primary); }
.lang a[aria-current] { background: var(--primary); color: #fff; }
.lang a:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* Hero */
.hero { position: relative; overflow: hidden; color: #d9edf3;
    background: radial-gradient(1000px 520px at 85% -10%, rgba(91, 194, 221, .35), transparent 60%),
                radial-gradient(700px 400px at -10% 110%, rgba(91, 194, 221, .18), transparent 60%),
                linear-gradient(160deg, #0b4f63 0%, #083747 55%, #062a37 100%); }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.5rem); letter-spacing: -.025em; }
.hero h1 span { background: linear-gradient(90deg, #8fe0f2, #5bc2dd); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .eyebrow { color: var(--accent); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: #cfe6ee; max-width: 560px; }
.note { font-size: .88rem; color: #9cc3d1; }

/* Maqueta de la aplicación */
.mock { position: relative; background: #fff; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); overflow: visible; transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #eef2f5; border-radius: 14px 14px 0 0; border-bottom: 1px solid var(--line); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cfd6dc; }
.mock-bar i:nth-child(1) { background: #f17b6b; } .mock-bar i:nth-child(2) { background: #f4c150; } .mock-bar i:nth-child(3) { background: #5fc77a; }
.mock-bar span { margin-left: 10px; font: 12px var(--mono); color: var(--text-3); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 2px 10px; }
.mock-body { display: grid; grid-template-columns: 54px 1fr; min-height: 300px; }
.mock-side { background: #0f2531; padding: 14px 12px; display: flex; flex-direction: column; gap: 12px; border-radius: 0 0 0 14px; }
.mock-side b { width: 30px; height: 30px; border-radius: 8px; background: var(--primary); }
.mock-side s { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .18); text-decoration: none; }
.mock-side s.on { background: var(--accent); }
.mock-main { padding: 16px; display: grid; gap: 14px; align-content: start; color: var(--text); }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-kpis div { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.mock-kpis small { display: block; font-size: 11px; color: var(--text-3); }
.mock-kpis strong { font-size: 24px; color: var(--ink); }
.mock-kpis strong.warn { color: var(--warn); } .mock-kpis strong.ok { color: var(--ok); }
.mock-list { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.mock-list div { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 12px; font-size: 12.5px; border-top: 1px solid var(--line); }
.mock-list div:first-child { border-top: 0; }
.mock-list .mono { color: var(--primary); font-size: 12px; }
.mock-list span:not(.mono) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-list em { font-style: normal; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.b-ok { background: #e3f5ec; color: var(--ok); } .b-info { background: #e6effa; color: var(--info); }
.b-warn { background: #fbf0dc; color: var(--warn); } .b-muted { background: #eceff2; color: var(--text-2); }
.mock-chip { position: absolute; left: -22px; bottom: -18px; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--ink);
    border-radius: 999px; padding: 10px 16px 10px 10px; font-size: 13px; font-weight: 600; box-shadow: 0 12px 30px rgba(0, 0, 0, .25); }
.mock-chip svg, .ticks svg, .verify-badge svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.mock-chip svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--ok); color: #fff; }

/* Para quién */
.who { padding: 28px 0; background: var(--bg); border-bottom: 1px solid var(--line); text-align: center; }
.who p { margin: 0; color: var(--text-2); }
.who strong { color: var(--ink); }
.modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 980px; margin: 22px auto 0; text-align: left; }
.mode { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.mode-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); }
.mode-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.who .mode-title { text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; font-weight: 700; color: var(--primary); }
.mode h3 { margin: .15rem 0 .4rem; font-size: 1.12rem; color: var(--ink); }
.who .mode p:last-child { font-size: .95rem; }
.who .modes-note { margin-top: 16px; font-size: .95rem; }

/* Problema */
.pain h2 { text-align: center; }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 2rem 0; }
.pain-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.pain-card span { font: 700 .85rem var(--mono); color: var(--primary); }
.pain-card p { margin: .5rem 0 0; font-size: 1.05rem; color: var(--ink); }
.pain-answer { text-align: center; font-size: clamp(1.1rem, 2vw, 1.3rem); max-width: 820px; margin: 0 auto; color: var(--text-2); }
.pain-answer strong { color: var(--primary); }

/* Funciones */
.features { background: var(--bg); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 2.2rem; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c4dfe7; }
.feature p { color: var(--text-2); font-size: .95rem; margin: 0; }
.ficon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); margin-bottom: 14px; }
.ficon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Documentos */
.docs { background: linear-gradient(160deg, #0b4f63, #062a37); color: #cfe6ee; }
.docs h2 { color: #fff; }
.docs strong { color: #fff; }
.docs-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.ticks { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .6rem; }
.ticks li { display: flex; gap: .6rem; align-items: center; color: #e6f4f8; }
.ticks svg { color: var(--accent); flex: none; }
.verify { background: #fff; color: var(--text); border-radius: var(--radius); padding: 22px; box-shadow: 0 30px 70px rgba(0, 0, 0, .3); display: grid; gap: 14px; }
.verify-file { display: flex; gap: 12px; align-items: center; padding: 12px; border: 1px dashed #b8c4cc; border-radius: 10px; }
.verify-file svg { width: 30px; height: 30px; flex: none; fill: none; stroke: var(--primary); stroke-width: 1.6; }
.verify-file strong, .verify-ok strong { display: block; font-size: .95rem; color: var(--ink); }
.verify-file small, .verify-ok small { color: var(--text-3); font-size: .82rem; }
.verify-ok { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 10px; background: #e8f6ef; border: 1px solid #bfe5d1; }
.verify-badge { width: 36px; height: 36px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; flex: none; }
.verify code { font: 12px var(--mono); color: var(--text-3); overflow-wrap: anywhere; }

/* Términos y condiciones (/terminos, /terms) */
.legal-page h1 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
.legal-note { padding: 12px 16px; border-radius: 10px; background: var(--primary-soft); color: var(--ink); font-size: .95rem; }
.legal { color: var(--text-2); }
.legal h2 { font-size: 1.1rem; margin: 1.8rem 0 .5rem; }
.legal p { margin: 0 0 .8rem; }
.legal-meta { color: var(--text-3); font-size: .88rem; }
.legal mark { background: #fff4dc; color: #9a6200; padding: 0 .25rem; border-radius: 3px; font-weight: 600; }

/* Página de planes (/planes, /pricing) */
.menu a[aria-current] { color: var(--primary); font-weight: 600; }
.pricing { background: var(--bg); }
.pricing-head { text-align: center; max-width: 760px; margin: 0 auto 2.6rem; }
.pricing-head h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.pricing-head .section-lead { margin-inline: auto; }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.plan { position: relative; display: flex; flex-direction: column; gap: .9rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); }
.plan.is-recommended { border: 2px solid var(--primary); box-shadow: 0 24px 60px rgba(11, 110, 138, .18); }
.plan-flag { position: absolute; top: -13px; left: 24px; padding: 3px 12px; border-radius: 999px; background: var(--primary); color: #fff; font-size: .76rem; font-weight: 700; letter-spacing: .03em; }
.plan h2 { font-size: 1.35rem; margin: 0; }
.plan-tagline { color: var(--text-2); font-size: .95rem; margin: 0; min-height: 3em; }
.plan-price { margin: 0; display: flex; align-items: baseline; gap: 4px; color: var(--ink); }
.plan-price strong { font-size: 2.2rem; letter-spacing: -.02em; line-height: 1.1; }
.plan-price strong.plan-custom { font-size: 1.6rem; }
.plan-price span { color: var(--text-3); }
.plan .btn { justify-content: center; }
.plan-features { list-style: none; margin: .4rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--line); display: grid; gap: .6rem; font-size: .95rem; }
.plan-features li { display: flex; gap: .55rem; align-items: flex-start; color: var(--ink); }
.plan-features svg { width: 18px; height: 18px; margin-top: 3px; flex: none; fill: none; stroke: var(--ok); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.plan-features .is-no { color: var(--text-3); }
.plan-features .is-no svg { stroke: #b4bec6; stroke-width: 2.5; }
.plan-features .is-soon svg { stroke: var(--info); stroke-width: 2; }
.plan-features em { display: inline-block; margin-left: 4px; padding: 0 7px; border-radius: 999px; background: #e7eefb; color: var(--info); font-style: normal; font-size: .72rem; font-weight: 700; vertical-align: 1px; white-space: nowrap; }
.plan-all { margin: 2.8rem auto 0; max-width: 760px; padding: 26px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.plan-all h2 { font-size: 1.2rem; }
.plan-all .ticks li { color: var(--ink); }
.plan-all .ticks svg { color: var(--ok); }
.plan-footnote { text-align: center; margin: 1.6rem 0 0; font-size: .88rem; color: var(--text-3); }

/* Asistente con IA (planes Profesional y Empresa) */
.ai { background: var(--bg); }
.ai-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.ai p { color: var(--text-2); }
.ai strong { color: var(--ink); }
.ai .ticks li { color: var(--ink); }
.ai .ticks svg { color: var(--ok); }
.ai-note { margin: 1.2rem 0 0; font-size: .86rem; color: var(--text-3) !important; }
.chat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow), 0 24px 60px rgba(16, 32, 45, .12); overflow: hidden; }
.chat svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.chat-head { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-weight: 700; color: var(--ink); font-size: .95rem; }
.chat-head svg { color: var(--primary); }
.chat-head span { margin-left: auto; font-size: .72rem; font-weight: 700; letter-spacing: .04em; padding: 2px 9px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); }
.chat-body { padding: 18px 16px 6px; display: grid; gap: 12px; }
.chat-q { justify-self: end; max-width: 85%; margin: 0; padding: 9px 13px; border-radius: 14px 14px 4px 14px; background: var(--primary); color: #fff !important; font-size: .92rem; }
.chat-a { max-width: 94%; padding: 12px 14px; border-radius: 14px 14px 14px 4px; background: var(--bg); border: 1px solid var(--line); font-size: .92rem; }
.chat-a p { margin: 0; color: var(--text); }
.chat-a sup { color: var(--primary); font-weight: 700; font-size: .7em; }
.chat-a ol { margin: 10px 0 0; padding: 8px 0 0 20px; border-top: 1px dashed #c7ced5; font-size: .8rem; color: var(--primary); }
.chat-input { display: flex; align-items: center; justify-content: space-between; margin: 10px 16px 16px; padding: 9px 9px 9px 14px; border: 1px solid var(--line); border-radius: 10px; color: var(--text-3); font-size: .88rem; }
.chat-input b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--primary); color: #fff; }

/* Seguridad */
.secure-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 2rem; }
.secure-grid div { border-top: 3px solid var(--primary); padding-top: 16px; }
.secure-grid p { color: var(--text-2); font-size: .95rem; margin: 0; }

/* Pasos */
.steps { background: var(--bg); }
.steps h2 { text-align: center; }
.step-list { list-style: none; padding: 0; margin: 2.2rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step-list li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.step-list li > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; margin-bottom: 14px; }
.step-list p { color: var(--text-2); margin: 0; font-size: .95rem; }

/* Preguntas */
.faq h2 { text-align: center; margin-bottom: 1.6rem; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 32px 16px 0; font-weight: 600; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.4rem; color: var(--primary); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-2); padding-right: 32px; }

/* CTA */
.cta { background: radial-gradient(800px 400px at 50% -20%, rgba(91, 194, 221, .35), transparent 60%), linear-gradient(160deg, #0b6e8a, #0a4a5d); color: #dff1f6; text-align: center; }
.cta h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.cta p { max-width: 620px; margin-inline: auto; }
.cta p a { color: #fff; }

/* Ir a mi cuenta */
.go { text-align: center; padding: 56px 0; }
.go p { color: var(--text-2); }
.go-form { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; margin-top: 1rem; }
.go-field { display: flex; align-items: center; border: 1px solid #c7ced5; border-radius: 10px; background: #fff; overflow: hidden; }
.go-field:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(11, 110, 138, .15); }
.go-field.has-error { border-color: #c53030; }
.go-field input { border: 0; outline: 0; padding: .7rem .9rem; font: 1rem var(--font); width: 200px; text-align: right; }
.go-field span { padding-right: .9rem; color: var(--text-3); font-family: var(--mono); font-size: .92rem; }
.go-error { color: #c53030; margin-top: .8rem; }

/* Pie */
.foot { border-top: 1px solid var(--line); padding: 28px 0; color: var(--text-3); font-size: .9rem; }
.foot-in { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.foot p { margin: 0; }
.foot p:last-child { margin-left: auto; }

/* Ventana «Pedí una demo» */
html.modal-open { overflow: hidden; }
.modal { width: min(560px, 100% - 32px); max-height: calc(100% - 32px); padding: 0; border: 0; border-radius: 18px; background: #fff; color: var(--text);
    box-shadow: 0 24px 64px rgba(10, 30, 45, .35); overflow: auto; }
.modal::backdrop { background: rgba(10, 28, 40, .55); backdrop-filter: blur(3px); }
.modal[open] { animation: modal-in .2s ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-box { position: relative; padding: 28px 28px 22px; border-top: 5px solid var(--primary); }
.modal h2 { font-size: 1.6rem; margin-right: 2rem; }
.modal-lead { color: var(--text-2); }
.modal-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%;
    background: transparent; color: var(--text-3); cursor: pointer; }
.modal-close:hover { background: var(--bg); color: var(--ink); }
.modal-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.mf { display: flex; flex-direction: column; gap: .3rem; margin-bottom: .9rem; min-width: 0; }
.mf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .9rem; }
.mf label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.mf label span { color: #c53030; }
.mf input, .mf textarea { width: 100%; padding: .65rem .8rem; border: 1px solid #c7ced5; border-radius: 10px; background: #fff; color: var(--text);
    font: 1rem/1.4 var(--font); transition: border-color .15s, box-shadow .15s; }
.mf textarea { resize: vertical; min-height: 96px; }
.mf input:focus, .mf textarea:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(11, 110, 138, .15); }
.mf.has-error input, .mf.has-error textarea { border-color: #c53030; }
.mf-error { color: #c53030; font-size: .82rem; min-height: 0; }
.mf-error:empty { display: none; }
.captcha { margin-bottom: .9rem; min-height: 65px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.modal-alert { background: #fff5f5; border: 1px solid #f3c4c4; color: #9b2c2c; border-radius: 10px; padding: .6rem .8rem; font-size: .92rem; }
.modal-actions { display: flex; justify-content: flex-end; gap: .6rem; flex-wrap: wrap; margin-top: .4rem; }
.modal-actions.center { justify-content: center; }
.btn-quiet { background: transparent; color: var(--text-2); border-color: var(--line); }
.btn-quiet:hover { background: var(--bg); box-shadow: none; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.modal-note { margin: .9rem 0 0; font-size: .8rem; color: var(--text-3); text-align: right; }
.modal-done { text-align: center; padding: 12px 0 6px; }
.modal-done h2 { margin-right: 0; }
.done-badge { width: 64px; height: 64px; margin: 0 auto 1rem; display: grid; place-items: center; border-radius: 50%; background: #e6f6ee; color: var(--ok); }
.done-badge svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* Responsive */
@media (max-width: 1024px) {
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .secure-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1180px) {
    .top-in { gap: 1rem; }
    .menu { gap: 1rem; margin-left: .25rem; }
}
@media (max-width: 1040px) {
    .menu { display: none; }
}
@media (max-width: 860px) {
    .hero-in, .docs-in, .ai-in { grid-template-columns: minmax(0, 1fr); }
    .plan-grid { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; gap: 28px; }
    .plan-tagline { min-height: 0; }
    .ai-in .chat { order: 2; }
    .mock { transform: none; }
    .mock-chip { left: 12px; }
    .pain-grid, .step-list { grid-template-columns: 1fr; }
    .modes { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
    .top-cta .link { display: none; }
    .feature-grid, .secure-grid { grid-template-columns: 1fr; }
    .mock-list div { grid-template-columns: 1fr auto; }
    .mock-list .mono { display: none; }
    .mock-kpis strong { font-size: 20px; }
    .go-field input { width: 140px; }
    .foot p:last-child { margin-left: 0; }
    .mf-row { grid-template-columns: 1fr; }
    .modal-box { padding: 24px 18px 18px; }
    .modal-actions .btn { flex: 1; }
    .modal-note { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn, .feature { transition: none; }
    .modal[open] { animation: none; }
}
