/* Web pública de tiip.es. Tema claro por defecto y oscuro según el sistema. */
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('/assets/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url('/assets/inter-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url('/assets/inter-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 700; font-display: swap; src: url('/assets/inter-700.woff2') format('woff2'); }

:root {
  --bg: #fbfbf9;
  --bg-alt: #f2f2ee;
  --surface: #ffffff;
  --ink: #13171b;
  --ink-2: #3d434b;
  --mute: #6a707a;
  --line: #e3e3dd;
  --line-2: #d2d2ca;
  --teal: #17796d;
  --teal-soft: #e3f1ee;
  --amber: #c7780f;
  --amber-soft: #fbefdc;
  --red: #b4432f;
  --ok: #23855a;
  --btn: #13171b;
  --btn-ink: #ffffff;
  --shadow: 0 1px 0 rgba(19, 23, 27, 0.04), 0 18px 40px -18px rgba(19, 23, 27, 0.18);
  --mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1114;
    --bg-alt: #13171b;
    --surface: #171b20;
    --ink: #eceeef;
    --ink-2: #c3c7cc;
    --mute: #8d939b;
    --line: #262b31;
    --line-2: #333940;
    --teal: #5cc2b4;
    --teal-soft: #15302c;
    --amber: #e8a13e;
    --amber-soft: #33270f;
    --red: #e07a64;
    --ok: #5cc28c;
    --btn: #eceeef;
    --btn-ink: #0e1114;
    --shadow: 0 1px 0 rgba(0, 0, 0, 0.3), 0 24px 48px -20px rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--font);
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.022em; line-height: 1.1; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.1rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); letter-spacing: -0.03em; }
h3 { font-size: 1.12rem; letter-spacing: -0.012em; line-height: 1.3; }
.mute { color: var(--mute); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--btn); color: var(--btn-ink); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 16px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

/* Botones y enlaces */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 20px; border-radius: 8px;
  background: var(--btn); color: var(--btn-ink);
  font: 600 15px/1 var(--font); text-decoration: none; border: 1px solid var(--btn);
  transition: opacity 0.15s;
}
.btn:hover { opacity: 0.86; }
.btn-sm { padding: 9px 14px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { opacity: 1; border-color: var(--ink); }
.link { color: var(--teal); font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.link::after { content: ' →'; }

/* Cabecera */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 30px; height: 30px; }
.brand-mark rect:first-child { fill: #13171b; }
.brand-mark .wave rect { fill: #6fd6c8; }
.brand-mark .dot { fill: #e8a13e; }
.brand-name { margin: 0; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.brand-name span { font-weight: 500; color: var(--mute); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { padding: 8px 11px; border-radius: 6px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.nav a:not(.btn):hover, .nav a[aria-current] { color: var(--ink); background: var(--bg-alt); }
.nav .btn { margin-left: 10px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line-2); border-radius: 8px; width: 42px; height: 42px; color: var(--ink); cursor: pointer; }
.menu-btn svg { width: 22px; margin: auto; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; fill: none; }
@media (max-width: 1020px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 8px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 12px 8px; font-size: 16px; }
  .nav .btn { margin: 10px 0 0; justify-content: center; }
}

/* Secciones */
section { padding: 104px 0; }
section.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 760px) { section { padding: 72px 0; } }
.kicker { display: block; margin-bottom: 18px; font: 500 13px/1 var(--mono); letter-spacing: 0.02em; color: var(--teal); text-transform: uppercase; }
.lead { font-size: 1.2rem; line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.head { max-width: 760px; margin-bottom: 56px; }
.head h2 { margin-bottom: 18px; }
.head p { color: var(--ink-2); font-size: 1.1rem; margin: 0; max-width: 40em; }

/* Portada */
.hero { padding: 72px 0 96px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.hero h1 { margin-bottom: 26px; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero .lead { margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0; padding: 22px 0 0; list-style: none; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } .hero { padding-top: 48px; } }

/* Ficha de llamada entrante (recreación de la pantalla del agente) */
.call { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; font-size: 14.5px; }
.call-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.ringing { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; }
.ringing i { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 50%, transparent); animation: ring 1.6s infinite; }
@keyframes ring { 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.tag { display: inline-block; padding: 4px 9px; border-radius: 5px; background: var(--teal-soft); color: var(--teal); font: 600 12.5px/1.2 var(--font); white-space: nowrap; }
.tag.amber { background: var(--amber-soft); color: var(--amber); }
.call-body { padding: 20px 18px 6px; }
.caller { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.caller strong { font-size: 19px; letter-spacing: -0.01em; }
.caller span { font: 13px var(--mono); color: var(--mute); }
.field { padding: 13px 0; border-top: 1px solid var(--line); }
.field dt { margin-bottom: 4px; font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.03em; color: var(--mute); }
.field dd { margin: 0; color: var(--ink-2); }
.field dd b { color: var(--ink); font-weight: 600; }
.kv { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 4px 28px; }
.kv span { color: var(--mute); font-size: 12.5px; }
.call-actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 14px 18px 18px; }
.call-actions span { display: flex; align-items: center; justify-content: center; height: 42px; border-radius: 8px; font-weight: 600; }
.call-actions .answer { background: var(--ok); color: #fff; }
.call-actions .other { padding: 0 16px; border: 1px solid var(--line-2); color: var(--ink-2); font-weight: 500; }
.note { margin: 14px 2px 0; font-size: 13px; color: var(--mute); }

/* Una llamada en el tiempo */
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 92px minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 28px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.timeline time { font: 500 15px/1.5 var(--mono); color: var(--teal); }
.timeline h3 { margin-top: 2px; }
.timeline p { margin: 0; color: var(--ink-2); }
.timeline q { quotes: '«' '»'; color: var(--ink); }
@media (max-width: 760px) { .timeline li { grid-template-columns: 64px 1fr; gap: 6px 16px; } .timeline p { grid-column: 2; } }

/* Ejemplos de enrutado */
.routes { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.route { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 20px 0; border-top: 1px solid var(--line); }
.route q { quotes: '«' '»'; font-size: 1.05rem; color: var(--ink); }
.route small { display: block; margin-top: 4px; font-size: 13.5px; color: var(--mute); }
@media (max-width: 860px) { .routes { grid-template-columns: 1fr; } }

/* Índice de producto */
.index { border-top: 1px solid var(--line); }
.index a { display: grid; grid-template-columns: 56px minmax(0, 0.9fr) minmax(0, 1.4fr) 24px; gap: 24px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: background 0.15s; }
.index a:hover h3 { color: var(--teal); }
.index a:hover .arrow { transform: translateX(4px); color: var(--teal); }
.index .n { font: 500 14px var(--mono); color: var(--mute); }
.index h3 { font-size: 1.35rem; transition: color 0.15s; }
.index p { margin: 0; color: var(--ink-2); }
.index .arrow { color: var(--mute); transition: transform 0.15s; }
@media (max-width: 760px) { .index a { grid-template-columns: 36px 1fr 20px; gap: 6px 14px; } .index p { grid-column: 2; grid-row: 2; } .index .arrow { grid-column: 3; grid-row: 1; } }

/* Bloque a dos columnas */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.split h2 { margin-bottom: 20px; }
.split .lead { margin-bottom: 28px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 44px; } }
.checks { list-style: none; margin: 0 0 32px; padding: 0; }
.checks li { position: relative; padding: 10px 0 10px 30px; border-top: 1px solid var(--line); color: var(--ink-2); }
.checks li::before { content: ''; position: absolute; left: 2px; top: 17px; width: 12px; height: 7px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }

/* Móvil con la cámara del cliente (videoasistencia) */
.phone { width: 300px; max-width: 100%; margin: 0 auto; padding: 12px; border-radius: 42px; background: #15191d; box-shadow: var(--shadow); }
.phone-screen { position: relative; aspect-ratio: 9 / 18.5; border-radius: 31px; overflow: hidden; background: #22272b; }
.phone-screen svg { width: 100%; height: 100%; }
.phone-cap { position: absolute; left: 12px; right: 12px; bottom: 14px; padding: 10px 12px; border-radius: 12px; background: rgba(14, 17, 20, 0.78); color: #eceeef; font-size: 13px; line-height: 1.4; backdrop-filter: blur(6px); }
.phone-cap b { display: block; margin-bottom: 2px; color: #6fd6c8; font: 600 11px/1.3 var(--mono); text-transform: uppercase; letter-spacing: 0.04em; }
.phone-top { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; color: #eceeef; font: 500 11.5px var(--mono); }
.phone-top i { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #e05a47; }

/* Puestos */
.seats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.seat { padding: 28px 24px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.seat h3 { margin-bottom: 10px; }
.seat p { margin: 0; font-size: 15.5px; color: var(--ink-2); }
.seat .kicker { margin-bottom: 30px; color: var(--mute); }
@media (max-width: 900px) { .seats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .seats { grid-template-columns: 1fr; } }

/* Panel de supervisión */
.board { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); font-size: 14px; overflow: hidden; }
.board-head { display: flex; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); font-weight: 600; }
.board-head span { font: 400 12.5px var(--mono); color: var(--mute); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.stats div { padding: 16px 18px; border-right: 1px solid var(--line); }
.stats div:last-child { border-right: 0; }
.stats b { display: block; font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.stats span { font-size: 12.5px; color: var(--mute); }
.agents { list-style: none; margin: 0; padding: 6px 0; }
.agents li { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 9px 18px; }
.agents .st { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ink-2); }
.agents .st::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.agents .st.busy::before { background: var(--red); }
.agents .st.pause::before { background: var(--amber); }
.agents time { font: 12.5px var(--mono); color: var(--mute); min-width: 44px; text-align: right; }

/* Código */
.code { margin: 0; padding: 22px 24px; border-radius: 12px; background: #13171b; color: #d7dbdf; font: 13.5px/1.7 var(--mono); overflow-x: auto; border: 1px solid #262b31; }
.code .k { color: #6fd6c8; }
.code .s { color: #f0c27a; }
.code .c { color: #7c838c; }

/* Llamada a la acción final */
.cta { text-align: left; }
.cta-box { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 40px; align-items: end; padding: 56px; border-radius: 18px; background: #13171b; color: #eceeef; }
.cta-box h2 { margin-bottom: 14px; }
.cta-box p { margin: 0; color: #b6bcc3; font-size: 1.1rem; max-width: 34em; }
.cta-box .btn { background: #eceeef; color: #13171b; border-color: #eceeef; }
@media (max-width: 760px) { .cta-box { grid-template-columns: 1fr; padding: 36px 24px; } }
@media (prefers-color-scheme: dark) { .cta-box { background: var(--surface); border: 1px solid var(--line); } }

/* Pie */
.foot { padding: 64px 0 28px; border-top: 1px solid var(--line); font-size: 15px; }
.foot-in { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-brand .brand-name { margin-bottom: 8px; }
.foot-brand p.mute { max-width: 22em; }
.foot-cols { display: flex; gap: 72px; flex-wrap: wrap; }
.foot-cols div { display: flex; flex-direction: column; gap: 9px; }
.foot-cols a { color: var(--ink-2); text-decoration: none; }
.foot-cols a:hover { color: var(--ink); }
.foot-h { margin: 0 0 4px; font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: 0.04em; color: var(--mute); }
.foot-base { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13.5px; }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Que nada ensanche la página en móvil */
.split > *, .hero-grid > * { min-width: 0; }
@media (max-width: 520px) {
  .route { grid-template-columns: 1fr; gap: 10px; }
  .route .tag { justify-self: start; }
  .cta-box .btn { justify-content: center; }
}

/* Páginas interiores */
.page-hero { padding: 80px 0 72px; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 15em; margin-bottom: 24px; font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
.page-hero .lead { margin: 0; }
.crumbs { margin-bottom: 26px; font: 500 13px var(--mono); color: var(--mute); }
.crumbs a { color: var(--mute); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs span { margin: 0 8px; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.features.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature { padding: 26px 0 30px; border-top: 1px solid var(--line); }
.feature h3 { margin-bottom: 10px; }
.feature p { margin: 0; color: var(--ink-2); font-size: 16px; }
.feature ul { margin: 12px 0 0; padding-left: 18px; color: var(--ink-2); font-size: 15.5px; }
.feature ul li { margin: 4px 0; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features, .features.two { grid-template-columns: 1fr; } }
.block + .block { margin-top: 96px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { padding: 8px 13px; border: 1px solid var(--line-2); border-radius: 7px; background: var(--surface); font-size: 14.5px; color: var(--ink-2); }
.chips li b { margin-right: 6px; font: 500 12px var(--mono); color: var(--teal); }
.prose { max-width: 720px; }
.prose h2 { margin: 48px 0 14px; font-size: 1.5rem; }
.prose h3 { margin: 28px 0 8px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 20px; }
.prose a { color: var(--teal); }
.next { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.next a { display: block; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); text-decoration: none; transition: border-color 0.15s; }
.next a:hover { border-color: var(--ink); }
.next span { display: block; margin-bottom: 6px; font: 500 12.5px var(--mono); color: var(--mute); }
.next strong { font-size: 1.15rem; letter-spacing: -0.01em; }
.next a:last-child { text-align: right; }
@media (max-width: 600px) { .next { grid-template-columns: 1fr; } .next a:last-child { text-align: left; } }

/* Flujo de una centralita */
.flow { list-style: none; margin: 0; padding: 0; counter-reset: paso; }
.flow li { position: relative; display: grid; grid-template-columns: 36px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; margin-bottom: 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-size: 15px; }
.flow li::before { counter-increment: paso; content: counter(paso); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; background: var(--bg-alt); font: 600 13px var(--mono); color: var(--ink-2); }
.flow li small { color: var(--mute); font: 12.5px var(--mono); }
.flow li.fall { margin-left: 50px; border-style: dashed; color: var(--ink-2); }
.flow-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; font-weight: 600; }
.flow-head span { font: 400 12.5px var(--mono); color: var(--mute); }

/* Transcripción */
.chat { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 8px 0; font-size: 15px; }
.chat p { display: grid; grid-template-columns: 74px 1fr; gap: 12px; margin: 0; padding: 10px 20px; color: var(--ink-2); }
.chat p b { font: 500 12px/1.9 var(--mono); text-transform: uppercase; color: var(--mute); }
.chat p.ia b { color: var(--teal); }
.chat p.tool { color: var(--mute); font: 13px/1.6 var(--mono); }
.chat p.tool b { color: var(--amber); }

/* Contacto */
.contact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: 40px; } }

/* Acceso a las demos privadas (/demos/) */
.demos-gate { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 72px; align-items: end; }
.demos-gate .lead { margin: 0; }
.demos-gate .form label { margin-bottom: 14px; }
@media (max-width: 900px) { .demos-gate { grid-template-columns: 1fr; gap: 40px; } }
.form { padding: 32px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); }
@media (max-width: 520px) { .form { padding: 22px 18px; } }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: block; margin-bottom: 18px; font-size: 14px; font-weight: 500; }
.form label small { font-weight: 400; color: var(--mute); }
.form input, .form select, .form textarea { display: block; width: 100%; margin-top: 7px; padding: 11px 13px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--bg); color: var(--ink); font: 400 16px/1.4 var(--font); }
.form textarea { min-height: 128px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--teal); outline-offset: -1px; border-color: transparent; }
.form .consent { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-weight: 400; color: var(--ink-2); font-size: 14px; }
.form .consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--teal); }
.form .trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .captcha { min-height: 66px; margin-bottom: 18px; }
.form button { width: 100%; justify-content: center; cursor: pointer; }
.form button[disabled] { opacity: 0.55; cursor: progress; }
.form-msg { margin: 16px 0 0; padding: 12px 14px; border-radius: 8px; font-size: 15px; }
.form-msg.ok { background: var(--teal-soft); color: var(--teal); }
.form-msg.err { background: var(--amber-soft); color: var(--amber); }
.form-legal { margin: 18px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--mute); }
.form-legal a { color: inherit; }
.timeline.short { margin-top: 8px; } .timeline.short li { grid-template-columns: 40px 1fr; gap: 16px; } .timeline.short p { grid-column: 2; } .timeline.short b { color: var(--ink); font-weight: 600; }
.flow li.fall::before { counter-increment: none; content: "↳"; background: none; color: var(--mute); }
