/* crash.pink: la casa de RoomPlanner, Helios, Rumbo y Polaris.
 *
 * Los tokens (colores, radios, tipografía, temas claro, oscuro y Negro) están copiados de la
 * identidad «Plano abierto» de RoomPlanner, la misma que usa el panel de Helios. Si cambian allí,
 * se copian aquí; no se inventan valores nuevos. Lo propio de esta página es la composición:
 * portada a sangre en Tinta con un tablero de los cuatro productos y pantallas de ejemplo en Tinta.
 * Cada producto tiene un color de marca tomado de los tonos del tema oscuro, que solo se usa sobre
 * Tinta, donde cumple el contraste.
 *
 * Tema oscuro por defecto; theme.js fija <html data-theme> y, para Negro, data-variant="black".
 */

@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/ibm-plex-sans/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/ibm-plex-sans/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/ibm-plex-sans/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }

/* Tema claro (pilot.css, :root) */
:root {
  color-scheme: light;
  --font-sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  /* Datos de la franja de estado (la hora): la pila monoespaciada del panel de Helios. */
  --font-data: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, monospace;

  --radius-control: 0.5rem;
  --radius-surface: 0.75rem;
  --dur-press: 120ms;
  --dur-hover: 160ms;
  --ease-standard: cubic-bezier(.2, 0, 0, 1);
  --ease-enter: cubic-bezier(.16, 1, .3, 1);

  --canvas: #F5F7FA;
  --surface: #FFFFFF;
  --surface-muted: #EEF2F7;
  --surface-hover: #EEF2F7;
  --border: #DDE3EC;
  --border-strong: #7C889B;
  --ink: #172133;
  --muted: #4B5568;
  --on-accent: #FFFFFF;
  --accent: #1F4FD6;
  --accent-fill: #1F4FD6;
  --accent-fill-hover: #1A3FA8;
  --accent-surface: #E8EEFD;
  --focus: #2C63E8;
  --success: #1D6B45; --success-surface: #E9F5EE; --success-border: #A7D3B9;
  --warning: #8A5000; --warning-surface: #FFF5E3; --warning-border: #E3B55E;
  --danger: #A12B1F;  --danger-surface: #FFF3F1;  --danger-border: #E6C2BD;
  --state-free: #2f855a;
  --state-busy: #c53030;
  --state-soon: #b7791f;
  --state-off: #718096;

  /* Superficies de marca (la barra lateral de las aplicaciones): Tinta en claro. */
  --sidebar-bg: #13213B;
  --sidebar-ink: #E6ECF5;
  --sidebar-muted: #A9B6CC;
  --sidebar-active: #2A3B5C;
  --sidebar-focus: #8FB2FF;
  --sidebar-line: rgba(255, 255, 255, .1);
  --sidebar-hover: rgba(255, 255, 255, .06);
  --brand-arc: #5B8CFF;
  --plan-grid: rgba(201, 214, 240, .07);
  /* Estado sobre Tinta: tonos del tema oscuro, que son los que cumplen sobre ella. */
  --live-up: #68d391;
  --live-down: #fc8181;
  --live-stale: #f6c467;

  --wrap: 76rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
}

/* Tema oscuro (pilot.css, html[data-theme="dark"]) */
:root[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #111A29;
  --surface: #1A2436;
  --surface-muted: #212D42;
  --surface-hover: #26334B;
  --border: #2E3A52;
  --border-strong: #6E7C94;
  --ink: #EEF2F8;
  --muted: #B3BED0;
  --accent: #8FB2FF;
  --accent-fill: #2F5FD8;
  --accent-fill-hover: #2550C0;
  --accent-surface: #1E3366;
  --focus: #8FB2FF;
  --success: #86D9A8; --success-surface: #173126; --success-border: #2F6B4C;
  --warning: #F2C46B; --warning-surface: #3A2E14; --warning-border: #8A6A2A;
  --danger: #FFB0A6;  --danger-surface: #3A2226;  --danger-border: #A5625B;
  --state-free: #68d391;
  --state-busy: #fc8181;
  --state-soon: #f6c467;
  --state-off: #a0aec0;
  --sidebar-bg: #0D1524;
  --sidebar-active: #1E2C47;
}

/* Tema Negro (pilot.css, data-variant="black" sobre el oscuro) */
:root[data-theme="dark"][data-variant="black"] {
  --radius-control: .375rem;
  --radius-surface: .5rem;
  --canvas: #030303;
  --surface: #0C0C0E;
  --surface-muted: #141417;
  --surface-hover: #1B1B1F;
  --border: #26262B;
  --border-strong: #66666F;
  --ink: #F5F5F5;
  --muted: #A8A8B0;
  --accent: #8AB4FF;
  --accent-surface: #0B1630;
  --focus: #8AB4FF;
  --success-surface: #0E1F17;
  --warning-surface: #1F190B;
  --danger-surface: #241215;
  --sidebar-bg: #000000;
  --sidebar-ink: #F5F5F5;
  --sidebar-muted: #A8A8B0;
  --sidebar-active: #1B1B1F;
  --sidebar-focus: #8AB4FF;
  --plan-grid: rgba(255, 255, 255, .05);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 4.5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; text-wrap: balance; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.data { font-family: var(--font-data); font-variant-numeric: tabular-nums; letter-spacing: 0; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: .75rem; top: -4rem; z-index: 30;
  background: var(--surface); color: var(--ink); padding: .5rem .875rem;
  border: 2px solid var(--focus); border-radius: var(--radius-control);
}
.skip-link:focus { top: .75rem; }

/* ---------- Superficie de marca: cabecera y portada en Tinta, en todos los temas ---------- */
.brand-surface {
  background-color: var(--sidebar-bg);
  color: var(--sidebar-ink);
  --focus: var(--sidebar-focus);
}
.brand-surface a { color: var(--sidebar-ink); }
.plan-grid {
  background-image:
    linear-gradient(var(--plan-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--plan-grid) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center top;
}

.site-header {
  position: sticky; top: 0; z-index: 20;
  border-bottom: 1px solid var(--sidebar-line);
}
.header-row { display: flex; align-items: center; gap: 1.5rem; min-height: 4rem; }
.brand {
  display: inline-flex; align-items: center; gap: .625rem;
  text-decoration: none; font-weight: 600; font-size: 1.125rem; letter-spacing: -.02em;
}
.site-nav { display: flex; gap: .25rem; margin-left: auto; }
.brand-surface .site-nav a {
  color: var(--sidebar-muted); text-decoration: none; font-size: .9375rem; font-weight: 500;
  padding: .5rem .75rem; border-radius: var(--radius-control);
  transition: color var(--dur-hover) var(--ease-standard), background-color var(--dur-hover) var(--ease-standard);
}
.brand-surface .site-nav a:hover { color: var(--sidebar-ink); background: var(--sidebar-hover); }

.theme-switch { display: inline-flex; border: 1px solid var(--sidebar-line); border-radius: var(--radius-control); padding: 2px; gap: 2px; }
.theme-switch[hidden] { display: none; }
.theme-switch button {
  font: inherit; font-size: .8125rem; font-weight: 500; color: var(--sidebar-muted);
  background: transparent; border: 0; border-radius: calc(var(--radius-control) - 2px);
  min-height: 2.25rem; min-width: 2.75rem; padding: .25rem .625rem; cursor: pointer;
}
.theme-switch button:hover { color: var(--sidebar-ink); background: var(--sidebar-hover); }
.theme-switch button[aria-pressed="true"] { color: #FFFFFF; background: var(--sidebar-active); }

/* ---------- Botones (pilot.css: .primary-action y .secondary-action) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.75rem; padding: .625rem 1.25rem; border-radius: var(--radius-control);
  font-weight: 600; font-size: .9375rem; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color var(--dur-hover) var(--ease-standard), transform var(--dur-press) var(--ease-enter);
}
.btn:active { transform: scale(.98); }
.btn-primary, .brand-surface .btn-primary { background: var(--accent-fill); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-fill-hover); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--border-strong); }
.btn-secondary:hover { background: var(--surface-hover); }
.brand-surface .btn-secondary { background: transparent; color: var(--sidebar-ink); border-color: rgba(230, 236, 245, .45); }
.brand-surface .btn-secondary:hover { background: var(--sidebar-hover); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Sobre Tinta, el botón principal usa siempre el relleno del tema oscuro (#2F5FD8, blanco encima
   5,60:1 según IDENTIDAD-VISUAL.md), que se distingue mejor del fondo que el #1F4FD6 del claro. */
:root:not([data-theme="dark"]) .brand-surface .btn-primary { background: #2F5FD8; }
:root:not([data-theme="dark"]) .brand-surface .btn-primary:hover { background: #2550C0; }

/* Color de marca de cada producto (tonos del tema oscuro; solo sobre Tinta). */
.is-rp { --mark: #8FB2FF; }
.is-helios { --mark: #F2C46B; }
.is-rumbo { --mark: #86D9A8; }
.is-polaris { --mark: #FFB0A6; }

/* ---------- Portada a sangre ---------- */
.hero { padding-block: clamp(3rem, 7vw, 5.5rem); overflow: hidden; }
.hero-grid {
  display: grid; gap: clamp(2.5rem, 5vw, 4.5rem);
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center;
}
.hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.5rem); line-height: 1.02; letter-spacing: -.035em;
  color: #FFFFFF; max-width: 11ch;
}
.lead { margin-top: 1.5rem; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); color: var(--sidebar-muted); max-width: 38ch; }
.hero .actions { margin-top: 2.25rem; }

/* Tablero: los cuatro productos como pantallas de una sala de control. */
.board { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.tile {
  height: 100%;
  display: flex; flex-direction: column; align-items: flex-start; gap: .25rem;
  padding: 1.375rem 1.25rem 1.25rem; min-height: 10rem;
  color: var(--sidebar-ink); text-decoration: none;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--sidebar-line); border-radius: var(--radius-surface);
  transition: background-color var(--dur-hover) var(--ease-standard), border-color var(--dur-hover) var(--ease-standard);
}
.tile:hover { background: var(--sidebar-hover); border-color: rgba(255, 255, 255, .24); }
/* Cada producto se distingue solo por el color de su icono: nada de franjas en las tarjetas. */
.tile-mark svg, .name-mark svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: var(--mark); stroke-width: 2; stroke-linejoin: round; }
.tile-mark { margin-bottom: .5rem; }
.tile-name { font-size: 1.25rem; font-weight: 600; letter-spacing: -.015em; color: #FFFFFF; }
.tile-what { font-size: .9375rem; color: var(--sidebar-muted); }
.tile-state { margin-top: auto; padding-top: .75rem; font-size: .9375rem; font-weight: 600; color: #FFFFFF; }
.tile-note { font-weight: 400; color: var(--sidebar-muted); }
.board-foot { margin-top: 1rem; font-size: .875rem; color: var(--sidebar-muted); }

/* El único movimiento automático: los iconos del tablero se dibujan una vez al cargar. */
@media (prefers-reduced-motion: no-preference) {
  .tile-mark svg > * { stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw 1.2s var(--ease-enter) .2s forwards; }
  .board li:nth-child(2) .tile-mark svg > * { animation-delay: .35s; }
  .board li:nth-child(3) .tile-mark svg > * { animation-delay: .5s; }
  .board li:nth-child(4) .tile-mark svg > * { animation-delay: .65s; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}

.live { display: inline-flex; align-items: center; gap: .5rem; }
.live::before {
  content: ""; width: .625rem; height: .625rem; border-radius: 50%; flex: none;
  border: 1.5px dashed var(--sidebar-muted);
}
.live.is-up::before { background: var(--live-up); border: 0; }
.live.is-down::before { background: var(--live-down); border: 0; }
.live.is-stale::before { background: var(--live-stale); border: 0; }

/* ---------- Secciones ---------- */
.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section-alt { background: var(--surface-muted); }
.section h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); line-height: 1.05; letter-spacing: -.03em; max-width: 18ch; }

/* Productos: cada uno con su propuesta, beneficios, para quién y un caso. */
.product { padding-block: clamp(4rem, 8vw, 6.5rem); }
.product + .product { border-top: 1px solid var(--border); }
.product-grid {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.product.is-flip .screen { order: -1; }
.product-name { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .625rem; font-size: 1.125rem; font-weight: 600; }
.product-name .status-chip { margin-left: .25rem; }
.name-mark {
  display: inline-grid; place-items: center; width: 1.75rem; height: 1.75rem;
  background: var(--sidebar-bg); border-radius: .4375rem;
}
.name-mark svg { width: 1.125rem; height: 1.125rem; }
.product h2 { margin-top: 1rem; font-size: clamp(2rem, 3.6vw, 2.875rem); line-height: 1.08; letter-spacing: -.03em; max-width: 20ch; }
.product-problem { margin-top: 1rem; font-size: 1.125rem; color: var(--muted); max-width: 50ch; }
.benefits { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: .75rem; max-width: 56ch; }
.benefits li { position: relative; padding-left: 1.75rem; }
.benefits li::before {
  content: ""; position: absolute; left: .125rem; top: .45em; width: .75rem; height: .375rem;
  border: solid var(--accent); border-width: 0 0 2px 2px; transform: rotate(-45deg);
}
.product-facts { margin: 1.75rem 0 0; display: grid; gap: .75rem; max-width: 56ch; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.product-facts div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; }
.product-facts dt { font-weight: 600; font-size: .9375rem; }
.product-facts dd { margin: 0; color: var(--muted); }
.product .actions { margin-top: 2rem; }

/* Pantallas de ejemplo: siempre en Tinta y con contenido inventado. */
.screen {
  border-radius: var(--radius-surface); border: 1px solid var(--border);
  padding: clamp(1rem, 3vw, 1.75rem);
}
.ill { width: 100%; height: auto; font-family: var(--font-sans); overflow: visible; }
.ill .label text { fill: var(--sidebar-ink); font-size: 13px; font-weight: 600; }
.ill .label .sub { fill: var(--sidebar-muted); font-weight: 400; font-size: 12px; }
.ill .label .strong { fill: #FFFFFF; }
.ill .wall rect, .ill .wall path { fill: none; stroke: var(--sidebar-ink); stroke-width: 2.5; }
.ill .room.is-free { fill: rgba(104, 211, 145, .16); }
.ill .room.is-busy { fill: rgba(252, 129, 129, .16); }
.ill .room.is-soon { fill: rgba(246, 196, 103, .16); }
.ill .door path { fill: var(--brand-arc); }
.ill .road { fill: none; stroke: rgba(201, 214, 240, .1); stroke-width: 12; }
.ill .trail { fill: none; stroke: var(--mark); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.ill .stop circle, .ill .here { fill: var(--mark); }
.ill .here-ring { fill: none; stroke: var(--mark); stroke-width: 2; opacity: .5; }
.ill .sim-route { fill: none; stroke: var(--mark); stroke-width: 2; stroke-dasharray: 6 6; opacity: .7; }
.ill .sim-car circle { fill: var(--sidebar-bg); stroke: var(--mark); stroke-width: 2.5; }
.ill .phone { fill: rgba(255, 255, 255, .03); stroke: var(--sidebar-ink); stroke-width: 2; }
.ill .phone-bar { fill: rgba(255, 176, 166, .18); }
.ill .bubble { fill: rgba(255, 255, 255, .05); stroke: var(--mark); stroke-width: 1.5; }
.ill .row { fill: rgba(255, 255, 255, .06); }
.ill .check { fill: none; stroke: var(--live-up); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.ill .lang text { fill: var(--sidebar-muted); font-size: 15px; }

/* Lo que puedes dar por hecho */
.proof, .steps { list-style: none; margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0; display: grid; gap: 2rem; }
.proof { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.proof li { padding-top: 1rem; border-top: 1px solid var(--border); }
.proof strong, .steps strong { display: block; font-size: 1.125rem; letter-spacing: -.01em; margin-bottom: .375rem; }
.proof span, .steps span { color: var(--muted); }

/* Cómo empezar: tres pasos, en orden. */
.steps { grid-template-columns: repeat(3, minmax(0, 1fr)); counter-reset: step; gap: 2rem 3rem; }
.steps li { counter-increment: step; max-width: 34ch; }
.steps li::before {
  content: counter(step); display: block; margin-bottom: 1rem;
  font-size: 2.5rem; font-weight: 600; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--accent);
}

/* Fichas de estado (pilot.css: .status-chip): punto y palabra; el color nunca va solo. */
.status-chip {
  display: inline-flex; align-items: center; gap: .4375rem;
  padding: .125rem .625rem; border-radius: 999px; border: 1px solid var(--border-strong);
  font-size: .8125rem; font-weight: 500; line-height: 1.6; color: var(--ink);
  background: var(--surface); white-space: nowrap;
}
.status-chip::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--state-off); flex: none; }
.status-chip.is-up { background: var(--success-surface); border-color: var(--success-border); }
.status-chip.is-up::before { background: var(--state-free); }
.status-chip.is-down { background: var(--danger-surface); border-color: var(--danger-border); }
.status-chip.is-down::before { background: var(--state-busy); }
.status-chip.is-stale { background: var(--warning-surface); border-color: var(--warning-border); }
.status-chip.is-stale::before { background: var(--state-soon); }
.status-chip.is-off, .status-chip.is-neutral { border-color: var(--border); color: var(--muted); background: transparent; }
.status-chip.is-off::before, .status-chip.is-pending::before, .status-chip.is-unknown::before { background: transparent; border: 1.5px dashed var(--border-strong); }
.status-chip.is-neutral::before { display: none; }

/* Preguntas */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4rem); }
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.125rem 2.5rem 1.125rem 0; position: relative;
  font-weight: 600; font-size: 1.125rem; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .375rem; top: 1.55rem; width: .625rem; height: .625rem;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg);
  transition: transform var(--dur-hover) var(--ease-standard);
}
.faq details[open] summary::after { transform: rotate(225deg); top: 1.8rem; }
.faq details p { padding: 0 0 1.375rem; color: var(--muted); max-width: 65ch; }

/* Pie */
.site-footer { padding-block: 2.5rem; font-size: .9375rem; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.footer-brand { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.brand-surface .footer-links a { color: var(--sidebar-focus); }
.footer-copy { margin-left: auto; color: var(--sidebar-muted); }

/* Página 404 */
.notfound h1 { margin-top: 1.5rem; font-size: 2rem; }
.notfound-action { margin-top: 1.5rem; }


/* Cierre: pedir una demo */
.cta-band { padding-block: clamp(4rem, 9vw, 6.5rem); }
.cta-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: end; }
.cta-band h2 { font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1.02; letter-spacing: -.035em; color: #FFFFFF; }
.cta-band .lead { max-width: 44ch; }
.cta-note { color: var(--sidebar-muted); max-width: 46ch; }
.cta-label { margin-top: 1.5rem; font-weight: 600; color: #FFFFFF; }
.cta-links { list-style: none; margin: .5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.brand-surface .cta-links a { color: var(--sidebar-focus); font-weight: 500; }

/* ---------- Adaptable ---------- */
@media (max-width: 960px) {
  .hero-grid, .product-grid, .faq-grid, .cta-grid { grid-template-columns: minmax(0, 1fr); }
  .product.is-flip .screen { order: 0; }
  .screen { max-width: 36rem; }
  .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .header-row { flex-wrap: wrap; gap: .25rem 1rem; padding-block: .5rem; }
  .theme-switch { margin-left: auto; }
  .site-nav {
    order: 3; margin: 0 calc(var(--gutter) * -1); padding-inline: calc(var(--gutter) - .5rem);
    width: calc(100% + var(--gutter) * 2); overflow-x: auto; scrollbar-width: none; gap: 0;
  }
  .brand-surface .site-nav a { padding: .625rem .5rem; font-size: .8125rem; }
  .site-header { position: static; }
  .board { gap: .5rem; }
  .tile { padding: 1.125rem .875rem .875rem; min-height: 0; }
  .tile-name { font-size: 1.0625rem; }
  .tile-what, .tile-state { font-size: .875rem; }
  .steps, .proof { grid-template-columns: minmax(0, 1fr); }
  .product-facts div { grid-template-columns: minmax(0, 1fr); gap: .125rem; }
  .footer-copy { margin-left: 0; }
  .btn { white-space: normal; text-align: center; }
}

/* Pantallas táctiles: objetivos de 44 px como mínimo. */
@media (pointer: coarse) {
  .theme-switch button { min-height: 2.75rem; }
  .brand-surface .site-nav a { min-height: 2.75rem; display: inline-flex; align-items: center; }
  .footer-links a, .cta-links a { display: inline-flex; align-items: center; min-height: 2.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; animation: none !important; }
  .btn:active { transform: none; }
}

@media (forced-colors: active) {
  .status-chip::before, .live::before { forced-color-adjust: none; }
  .ill, .tile-mark, .name-mark { forced-color-adjust: none; }
}
