/* Consulteo — landing pública.
   Traducción a clases del export de diseño: los valores son los del original,
   salvo --ink-3, que se oscureció para llegar a contraste AA (ver el spec 020). */

:root {
  /* Superficies */
  --bg: #FBF9FF;
  --surface: #FFFFFF;
  --surface-soft: #F7F4FE;
  --surface-lilac: #F3EFFE;
  --surface-badge: #F1ECFE;
  --dark: #2A2340;
  --dark-soft: #352C52;

  /* Tinta. --ink-3 reemplaza al #8B7FB0 / #9B8FBE del export, que en texto
     chico daba 3.49:1 y 2.97:1 — por debajo del 4.5:1 que pide WCAG AA. */
  --ink: #2A2340;
  --ink-2: #544C70;
  --ink-3: #726890;
  --ink-on-dark: #F3EEFF;
  --ink-2-on-dark: #D9CCFB;
  --ink-3-on-dark: #BFB3E0;

  /* Marca */
  --brand: #6D4FD8;
  --brand-strong: #5B3FC4;
  --brand-ink: #6B54B8;
  --brand-mid: #7C5CE0;
  --brand-soft: #C0ACF7;
  --brand-softer: #D9CCFB;
  --brand-pale: #DCD1FB;
  --brand-palest: #EFE9FE;
  --accent-light: #B9A4F5;

  /* Bordes */
  --border: #EBE4FB;
  --border-strong: #E3DAFB;
  --border-hover: #C9B6F8;

  --maxw: 1160px;
  --gutter: 24px;
  --radius-pill: 999px;
}

/* La variable font cubre 300-600 en un solo archivo: declarar el weight como
   rango evita que el navegador baje cuatro cortes del mismo tipo. */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* El halo del hero se extiende más allá del viewport a propósito. `clip`
     recorta ese sobrante sin crear un contenedor de scroll — que es lo que
     hace `hidden`, y rompería el `position: sticky` del header. */
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
p { margin: 0; }
img, svg { max-width: 100%; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-strong); }

/* Un enlace embebido en un párrafo no puede distinguirse solo por color: quien
   no percibe el contraste de tono necesita el subrayado para verlo. */
p a,
.footer__legal a { text-decoration: underline; }
a:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  transition: top .15s ease;
}
.skip-link:focus { top: 16px; }

/* Texto que completa la frase de un control para quien lo escucha o lo indexa,
   sin ocupar lugar en pantalla. Ojo con `display:none` acá: lo sacaría también
   del árbol de accesibilidad, que es justo lo contrario de lo que se busca. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px var(--gutter) 80px;
}
.section--first { padding-top: 80px; }
.section--flush { padding-bottom: 80px; padding-top: 0; }
.section__head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 640px;
  margin-bottom: 44px;
}
.section__title { font-size: clamp(28px, 3.6vw, 42px); }
.eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.lead {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
}

/* Botones */

.btn {
  display: inline-block;
  font-size: 16px;
  font-weight: 500;
  padding: 16px 30px;
  border-radius: 14px;
  border: 1px solid transparent;
  text-align: center;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn--primary { color: #FFFFFF; background: var(--brand); }
.btn--primary:hover { color: #FFFFFF; background: var(--brand-strong); }
.btn--ghost { color: #4A3F6B; background: var(--surface); border-color: var(--border-strong); }
.btn--ghost:hover { color: var(--ink); border-color: var(--border-hover); }
.btn--light { color: var(--dark); background: var(--brand-softer); }
.btn--light:hover { color: var(--dark); background: var(--brand-palest); }
.btn--soft {
  color: #4A3F6B;
  background: var(--surface-soft);
  border-color: var(--border-strong);
}
.btn--soft:hover { color: var(--ink); border-color: var(--border-hover); }

/* El botón que cierra una card de plan: mismo alto en los tres, sea el claro
   o el del plan destacado. El padding va acá y no en la variante de color. */
.btn--block {
  display: block;
  padding: 14px;
  border-radius: 13px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* Header */

.site-header {
  position: sticky;
  top: 16px;
  z-index: 50;
  margin: 16px auto 0;
  max-width: var(--maxw);
  width: calc(100% - 32px);
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  padding: 12px 14px 12px 20px;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px -18px rgba(60, 40, 120, .35);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand__name { font-size: 21px; font-weight: 600; letter-spacing: -.03em; }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
}
.nav__link {
  font-size: 15px;
  font-weight: 400;
  color: #5C5478;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  transition: background-color .15s ease, color .15s ease;
}
.nav__link:hover { background: var(--surface-lilac); color: var(--ink); }

.header__cta {
  flex: 0 0 auto;
  font-size: 15px;
  font-weight: 500;
  color: #FFFFFF;
  background: var(--brand);
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  transition: background-color .15s ease;
}
.header__cta:hover { color: #FFFFFF; background: var(--brand-strong); }

/* El índice del header no cabe en pantallas chicas y no justifica un menú
   hamburguesa con JS: los mismos enlaces están en el footer. */
@media (max-width: 900px) {
  .nav { display: none; }

  /* Área táctil mínima para los dos únicos controles del header en mobile. */
  .brand,
  .header__cta {
    min-height: 48px;
    align-items: center;
  }
  .header__cta { display: inline-flex; }
}

/* Hero */

.hero {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 96px var(--gutter) 72px;
}
.hero__glow {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #E9E0FE 0%, rgba(251, 249, 255, 0) 68%);
  pointer-events: none;
}
.hero__body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 760px;
}
.hero__badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--brand-ink);
  background: var(--surface-badge);
  border: 1px solid var(--border-strong);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
}
.hero__title {
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.02;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.hero__lead {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 620px;
  text-wrap: pretty;
}
.hero__specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  color: var(--ink-3);
}
.hero__sep { opacity: .5; }

/* Mock de la aplicación (decorativo) */

.preview {
  position: relative;
  margin-top: 56px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 40px 80px -50px rgba(60, 40, 120, .45);
}
.preview__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px 16px;
}
.preview__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border-strong);
}
.preview__url {
  margin-left: 10px;
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 400;
}
.preview__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.panel {
  background: var(--surface-soft);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.panel--dark { background: var(--dark); }
.panel__label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.panel--dark .panel__label { color: var(--accent-light); }
.panel__list { display: flex; flex-direction: column; gap: 9px; }
.panel__list--loose { gap: 10px; }

.appt {
  background: var(--surface);
  border-radius: 11px;
  padding: 11px 13px;
  border-left: 3px solid var(--brand-mid);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.appt--2 { border-left-color: var(--brand-soft); }
.appt--3 { border-left-color: var(--brand-pale); }
.appt__time { font-size: 14px; font-weight: 500; }
.appt__who { font-size: 13px; color: var(--ink-2); }

.entry {
  background: var(--surface);
  border-radius: 11px;
  padding: 13px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.entry__date { font-size: 12px; color: var(--ink-3); }
.entry__line { height: 7px; border-radius: 4px; background: var(--brand-palest); }
/* Los anchos del mock eran cinco atributos `style` en el HTML — la única violación
   de la invariante "cero estilos inline" que el proyecto declara en cuatro lugares.
   Mismo criterio que las barras del waveform, que ya se resolvían en CSS. */
.entry__line--92 { width: 92%; }
.entry__line--84 { width: 84%; }
.entry__line--80 { width: 80%; }
.entry__line--74 { width: 74%; }
.entry__line--62 { width: 62%; }

.waveform {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 44px;
}
.waveform span { flex: 1; border-radius: 3px; background: #8574C4; }
.waveform span:nth-child(1) { height: 38%; background: #6E5AA8; }
.waveform span:nth-child(2) { height: 72%; }
.waveform span:nth-child(3) { height: 100%; background: var(--brand-soft); }
.waveform span:nth-child(4) { height: 56%; }
.waveform span:nth-child(5) { height: 80%; background: #6E5AA8; }
.waveform span:nth-child(6) { height: 44%; }
.waveform span:nth-child(7) { height: 66%; background: var(--brand-soft); }
.waveform span:nth-child(8) { height: 30%; background: #6E5AA8; }

.panel__quote {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2-on-dark);
}

/* Cards de producto */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card__title { font-size: 20px; letter-spacing: -.02em; }
.card__text {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
  text-wrap: pretty;
}

/* Bloque de IA */

.ai {
  background: var(--dark);
  border-radius: 28px;
  padding: clamp(32px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 44px;
  align-items: center;
  color: var(--ink-on-dark);
}
.ai__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}
.ai__eyebrow { align-self: flex-start; color: var(--brand-soft); }
.ai__title { font-size: clamp(28px, 3.6vw, 42px); color: #FFFFFF; }
.ai__lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2-on-dark);
  text-wrap: pretty;
}
.ai__cta { align-self: flex-start; padding: 15px 28px; }
.ai__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.ai-feature {
  background: var(--dark-soft);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.ai-feature__icon { flex: 0 0 auto; margin-top: 2px; }
.ai-feature__body { display: flex; flex-direction: column; gap: 5px; }
.ai-feature__title { font-size: 16px; font-weight: 500; letter-spacing: 0; }
.ai-feature__text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-3-on-dark);
}

/* Especialidades */

.specialties {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
.specialty {
  background: var(--surface-lilac);
  border-radius: 20px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.specialty__title { font-size: 19px; letter-spacing: -.02em; }
.specialty__text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  text-wrap: pretty;
}

/* Planes */

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px;
  align-items: stretch;
}
/* Con dos planes el auto-fit los estira a media sección cada uno y la tarjeta queda
   vacía. Se acota el ancho de la grilla y se centra; el auto-fit sigue apilando en
   una columna cuando no entran los 270px. */
.plans--two {
  max-width: 780px;
  margin-inline: auto;
}
.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.plan--featured {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--ink-on-dark);
  box-shadow: 0 30px 60px -40px rgba(60, 40, 120, .6);
}
.plan__head { display: flex; flex-direction: column; gap: 8px; }
.plan__name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.plan__name { font-size: 20px; letter-spacing: -.02em; }
.plan--featured .plan__name { color: #FFFFFF; }
.plan__badge {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--dark);
  background: var(--brand-soft);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
.plan__desc { font-size: 15px; color: var(--ink-2); }
.plan--featured .plan__desc { color: var(--ink-3-on-dark); }
.plan__price { display: flex; align-items: baseline; gap: 6px; }
.plan__amount { font-size: 40px; font-weight: 600; letter-spacing: -.04em; }
.plan--featured .plan__amount { color: #FFFFFF; }
.plan__period { font-size: 15px; color: var(--ink-3); }
.plan--featured .plan__period { color: var(--accent-light); }
.plan__features {
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
  margin: 0;
  padding: 0;
  list-style: none;
}
.feat { display: flex; gap: 10px; align-items: flex-start; }
.feat__check { flex: 0 0 auto; margin-top: 3px; }
.feat__text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
}
.plan--featured .feat__text { color: var(--ink-2-on-dark); }

/* Preguntas */

.faq {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 44px;
}
.faq__intro {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq__q { font-size: 17px; font-weight: 500; letter-spacing: 0; }
.faq__a {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
}

/* Cierre */

.final {
  background: linear-gradient(135deg, var(--brand-palest) 0%, var(--surface-soft) 100%);
  border: 1px solid var(--border-strong);
  border-radius: 28px;
  padding: clamp(32px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
  text-align: center;
}
.final__title {
  font-size: clamp(26px, 3.4vw, 40px);
  max-width: 640px;
  text-wrap: balance;
}
.final__lead { max-width: 520px; }
.final .cta-row { justify-content: center; }

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.footer__name { font-size: 18px; font-weight: 600; letter-spacing: -.03em; }
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}
/* El alto del texto solo (21px) queda por debajo del área táctil mínima que
   piden los navegadores en mobile; el min-height agranda el blanco de click
   sin mover nada de lo que se ve. */
.footer__link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-size: 15px;
  color: var(--ink-2);
}
/* Los enlaces legales van en su propia nav, separados del índice del sitio: son
   otra cosa y quien revisa una cuenta de anuncios los busca como grupo. */
.footer__nav--legal { gap: 4px 18px; }
.footer__nav--legal .footer__link { color: var(--ink-3); }
.footer__link[aria-current='page'] { color: var(--ink); font-weight: 500; }

.footer__legal { font-size: 14px; color: var(--ink-3); }

/* Consentimiento.
   position:fixed y sin altura reservada: no participa del layout, así que no
   puede aportar CLS. Aparece recién cuando el script lo muestra. */

.consent {
  position: fixed;
  z-index: 90;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 560px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 24px 50px -24px rgba(60, 40, 120, .45);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
/* Gana sobre el display:flex de arriba: sin esto el atributo hidden no oculta. */
.consent[hidden] { display: none; }
.consent__text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
}
.consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.consent__btn {
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  padding: 11px 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.consent__btn--accept { color: #FFFFFF; background: var(--brand); }
.consent__btn--accept:hover { background: var(--brand-strong); }
.consent__btn--reject {
  color: #4A3F6B;
  background: var(--surface-soft);
  border-color: var(--border-strong);
}
.consent__btn--reject:hover { border-color: var(--border-hover); }
.consent__btn:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }

/* Documentos legales (privacidad y términos).
   Columna angosta: un texto legal se lee en párrafos largos y a 1160px de ancho
   la línea pasa los 100 caracteres, que es donde el ojo empieza a perder el
   renglón. Todo sale de los tokens de :root, sin ningún color nuevo. */

.legal {
  max-width: 780px;
}
.legal__head { margin-bottom: 32px; }
.legal__title {
  font-size: clamp(28px, 3.6vw, 42px);
  margin: 12px 0 14px;
}
.legal__meta { font-size: 15px; color: var(--ink-3); }
.legal__meta strong { color: var(--ink-2); font-weight: 500; }

.legal__toc {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 26px;
  margin-bottom: 44px;
  background: var(--surface);
}
.legal__toc ol {
  margin: 0;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 15px;
  color: var(--ink-3);
}
.legal__toc a {
  display: inline-block;
  padding: 5px 0;
  color: var(--ink-2);
}
.legal__toc a:hover { color: var(--brand-strong); }

.legal__section { margin-bottom: 40px; }
.legal__section h2 {
  font-size: 21px;
  margin-bottom: 14px;
  /* scroll-margin y no padding: el header es sticky y sin esto el ancla deja el
     título tapado detrás de él. */
  scroll-margin-top: 96px;
}
.legal__section p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
}
.legal__section p + p { margin-top: 12px; }

/* Subtítulo dentro de una sección. Solo lo usa la política de privacidad, que
   agrupa las categorías de dato bajo su sección 3. */
.legal__section h3 {
  font-size: 17px;
  margin: 26px 0 10px;
  scroll-margin-top: 96px;
}

/* Quién es el responsable de esa categoría de dato. Va dentro del h3 y no en una
   línea aparte porque la distinción responsable/encargado es lo que ordena toda la
   política: separada del título se lee como una aclaración opcional. */
.legal__role {
  font-weight: 400;
  color: var(--ink-3);
  white-space: nowrap;
}

/* El margen inferior no es simetría: `.legal__section p + p` no alcanza al párrafo
   que sigue a una lista, y sin esto queda pegado al último ítem. */
.legal__list {
  margin: 12px 0 14px;
  padding-left: 22px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
}
.legal__list li + li { margin-top: 8px; }
.legal__list strong { color: var(--ink); font-weight: 600; }

.legal__data {
  display: grid;
  grid-template-columns: minmax(140px, auto) 1fr;
  gap: 10px 24px;
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.6;
}
.legal__data dt { color: var(--ink); font-weight: 500; }
.legal__data dd { margin: 0; color: var(--ink-2); }

/* La tabla scrollea dentro de su caja: a 390px de viewport tres columnas no
   entran, y sin esto el que se desborda es el body. */
.legal__table-wrap {
  overflow-x: auto;
  margin: 20px 0;
}
.legal__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  text-align: left;
}
.legal__table th,
.legal__table td {
  border-bottom: 1px solid var(--border);
  padding: 12px 14px;
  vertical-align: top;
  line-height: 1.5;
}
.legal__table th { color: var(--ink); font-weight: 600; }
.legal__table td { color: var(--ink-2); }

.legal__crosslink {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  font-size: 16px;
  color: var(--ink-2);
}

@media (max-width: 560px) {
  .legal__data { grid-template-columns: 1fr; gap: 4px; }
  .legal__data dd { margin-bottom: 10px; }
}
