/* ISOTRX — hoja de estilos del sitio. Sin dependencias externas. */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-latin-wght.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */

:root {
  --slate: #333E48;
  --orange: #F26122;
  --ink-on-orange: #1A1F24;

  --bg: #FFFFFF;
  --surface: #F4F5F6;
  --surface-2: #E9ECEE;
  --text: #333E48;
  --text-strong: #1F272E;
  --muted: #5B6670;
  --border: #D5DADE;
  --link: #333E48;
  --focus: #F26122;

  /* El encabezado se mantiene claro en ambos modos (logo solo en positivo). */
  --header-bg: #FFFFFF;
  --header-text: #333E48;
  --header-border: #E2E5E8;

  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --max: 72rem;
  --gutter: 1rem;
  --radius: 6px;

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1E252B;
    --surface: #252E35;
    --surface-2: #2D3740;
    --text: #DCE1E5;
    --text-strong: #F2F4F5;
    --muted: #A3ADB6;
    --border: #3A4650;
    --link: #F2F4F5;
  }
}

/* Coreano: las fuentes del sitio no incluyen hangul; se usan las del sistema
   (sin serifa en titulares para no mezclar estilos) y se corta por palabras. */
:root:lang(ko) {
  --font-serif: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Noto Sans CJK KR", sans-serif;
  --font-sans: "Inter", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Noto Sans CJK KR", system-ui, sans-serif;
}

:lang(ko) body { word-break: keep-all; }

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
}

h1, h2, h3 {
  font-family: var(--font-serif);
  color: var(--text-strong);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1em; }

a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

a:hover { text-decoration-thickness: 3px; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

img { max-width: 100%; height: auto; }

.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: var(--gutter);
  top: -4rem;
  z-index: 100;
  padding: 0.5rem 0.75rem;
  background: var(--header-bg);
  color: var(--header-text);
  border-radius: var(--radius);
}

.skip-link:focus { top: 0.5rem; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

@media (min-width: 48rem) {
  :root { --gutter: 2rem; }
}

/* ---------- Botones ---------- */

.button {
  display: inline-block;
  padding: 0.85rem 1.4rem;
  border: 0;
  border-radius: var(--radius);
  background: var(--orange);
  color: var(--ink-on-orange);
  font: 600 1rem/1.2 var(--font-sans);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.button:hover { background: #E4561A; text-decoration: none; }

.button:focus-visible {
  outline-color: var(--text-strong);
}

/* ---------- Encabezado ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  color: var(--header-text);
  border-bottom: 1px solid var(--header-border);
  color-scheme: light;
}

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.brand { display: inline-flex; line-height: 0; }
.brand img { width: 169px; height: 41px; }

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  color: var(--header-text);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration-color: transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible { text-decoration-color: var(--orange); }

.lang-switch ul {
  display: flex;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
}

.lang-switch a {
  color: var(--muted);
  font-weight: 500;
  text-decoration-color: transparent;
}

.lang-switch a:hover,
.lang-switch a:focus-visible { text-decoration-color: var(--orange); }

.lang-switch a[aria-current="page"] {
  color: var(--header-text);
  font-weight: 700;
  text-decoration-color: var(--orange);
}

@media (max-width: 40rem) {
  .site-header .wrap { justify-content: flex-start; }
  .brand img { width: 132px; height: 32px; }
  .site-nav { width: 100%; }
  .site-nav ul { gap: 0.25rem 1rem; }
  .site-nav a { font-size: 0.875rem; }
}

/* ---------- Secciones ---------- */

section { scroll-margin-top: 6rem; }

.section {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
}

.section--alt { background: var(--surface); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 4px;
  height: 1.1em;
  background: var(--orange);
}

.section-title {
  font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.6rem);
  max-width: 24ch;
}

.lead {
  max-width: 42rem;
  margin-top: 1.25rem;
  font-size: 1.1875rem;
  color: var(--muted);
}

@media (max-width: 40rem) {
  .section { padding: 3.5rem 0; }
}

/* ---------- Bloque 1 · Héroe ---------- */

.hero {
  padding: 7rem 0 7.5rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 1.3rem + 3.6vw, 3.75rem);
  max-width: 20ch;
}

.hero p {
  max-width: 38rem;
  margin: 1.75rem 0 2.5rem;
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem);
  color: var(--muted);
}

@media (max-width: 40rem) {
  .hero { padding: 4rem 0 4.5rem; }
}

/* ---------- Bloque 2 · Cómo funciona ---------- */

.phase { margin-top: 3.5rem; }

.phase-title {
  font-size: 1.375rem;
  margin-bottom: 1.25rem;
}

.phase-title span { color: var(--muted); font-weight: 400; }

/* Diagrama de carriles: frontera arriba, tu infraestructura abajo. */
.lanes {
  display: grid;
  grid-template-columns: 10.5rem repeat(3, 1fr);
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  overflow: hidden;
}

.lanes--2 { grid-template-columns: 10.5rem 1fr; }

.lane-label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-strong);
  background: var(--surface-2);
}

.lane-label small {
  display: block;
  margin-top: 0.25rem;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.4;
}

.lane-label--home {
  border-left: 4px solid var(--orange);
}

.cell {
  padding: 1rem 1.1rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.cell .stage {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cell--frontier { background: var(--bg); }

.cell--idle {
  color: var(--muted);
  font-style: italic;
  background:
    repeating-linear-gradient(-45deg, transparent 0 8px, var(--surface) 8px 9px);
}

.cell--home { background: var(--surface); }

/* La línea que separa ambos carriles: aquí se decide qué ve el frontera. */
.boundary {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: subgrid;
  align-items: center;
  border-top: 2px dashed var(--muted);
  min-height: 2.5rem;
  background: var(--bg);
}

.boundary-label {
  padding: 0.4rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-strong);
  white-space: nowrap;
}

.crossing {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.6rem;
  font-size: 0.8125rem;
  color: var(--text-strong);
  border: 1px solid var(--orange);
  border-radius: 999px;
  background: var(--bg);
}

.crossing svg { width: 0.9rem; height: 0.9rem; flex: none; }
.crossing svg path { stroke: var(--orange); }

.crossing--none {
  border-color: transparent;
  color: var(--muted);
}

.home-note {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0.75rem 1.1rem;
  font-size: 0.875rem;
  color: var(--text);
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-left: 4px solid var(--orange);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  padding-top: 1rem;
  border-top: 2px solid var(--slate);
}

@media (prefers-color-scheme: dark) {
  .steps li { border-top-color: var(--muted); }
}

.steps h4 {
  margin: 0 0 0.4rem;
  font: 600 1.0625rem/1.3 var(--font-sans);
  color: var(--text-strong);
}

.steps h4::before {
  content: counter(step) " · ";
  color: var(--orange);
}

.steps p { margin: 0; color: var(--muted); font-size: 0.975rem; }

.lab-note {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.75rem;
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.9375rem;
  color: var(--muted);
}

.tag {
  display: inline-block;
  padding: 0.1rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Móvil: los carriles se vuelven columnas y las etapas, filas. */
@media (max-width: 52rem) {
  .lanes,
  .lanes--2 {
    grid-template-columns: 1fr;
  }

  .lane-label { border-left: 0; }
  .lane-label--home { border-left: 4px solid var(--orange); }

  .boundary {
    grid-template-columns: 1fr;
    gap: 0.4rem;
    padding: 0.6rem 0;
  }

  .boundary .crossing { justify-self: start; margin-left: 1rem; }
  .boundary .crossing--none { display: none; }

  .cell--idle { display: none; }

  .steps { grid-template-columns: 1fr; }
}

/* ---------- Bloque 3 · Por qué importa ---------- */

.contrast {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.contrast-card {
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}

.contrast-card--ours { border-top: 4px solid var(--orange); }
.contrast-card--old { border-top: 4px solid var(--border); }

.contrast-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.arc {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 1.125rem;
  font-weight: 600;
}

.arc li { display: inline-flex; align-items: center; gap: 0.5rem; }
.arc li + li::before { content: "→"; color: var(--muted); font-weight: 400; }

.contrast-card--old .arc { color: var(--muted); }
.contrast-card--ours .arc { color: var(--text-strong); }

.ideas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.ideas h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.ideas p { margin: 0; color: var(--muted); }

@media (max-width: 44rem) {
  .contrast, .ideas { grid-template-columns: 1fr; }
}

/* ---------- Bloque 4 · Para quién ---------- */

.audience {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.audience div {
  padding: 1.25rem 0 0;
  border-top: 2px solid var(--border);
}

.audience h3 {
  font: 600 1rem/1.3 var(--font-sans);
  color: var(--text-strong);
  margin-bottom: 0.35rem;
}

.audience p { margin: 0; color: var(--muted); }

.product {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 2rem 3rem;
  align-items: end;
  margin-top: 3.5rem;
  padding: 2.5rem;
  border: 1px solid var(--border);
  border-left: 6px solid var(--orange);
  border-radius: var(--radius);
  background: var(--surface);
}

.product h3 {
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.25rem);
  margin-bottom: 1rem;
}

.product p { margin: 0 0 1rem; }
.product .fit { color: var(--muted); font-weight: 500; margin: 0; }

.product-cta { justify-self: start; }

.closing-line {
  margin: 2.5rem 0 0;
  font-family: var(--font-serif);
  font-size: 1.375rem;
  line-height: 1.35;
  color: var(--text-strong);
  max-width: 40rem;
}

@media (max-width: 44rem) {
  .audience, .product { grid-template-columns: 1fr; }
  .product { padding: 1.5rem; }
}

/* ---------- Bloque 5 · Infraestructura ---------- */

.range {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.range li {
  position: relative;
  padding: 1.5rem 1.25rem 1.25rem;
  background: var(--bg);
}

.range li + li { border-left: 1px solid var(--border); }

.range .scale {
  display: block;
  height: 6px;
  margin-bottom: 1rem;
  background: var(--orange);
  border-radius: 3px;
}

.range li:nth-child(1) .scale { width: 25%; }
.range li:nth-child(2) .scale { width: 60%; }
.range li:nth-child(3) .scale { width: 100%; }

.range h3 { font: 600 1.0625rem/1.3 var(--font-sans); color: var(--text-strong); margin-bottom: 0.35rem; }
.range p { margin: 0; color: var(--muted); font-size: 0.975rem; }

.playbook {
  margin-top: 1.5rem;
  padding: 1.5rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.playbook h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.playbook p { margin: 0; max-width: 46rem; }

.layer-label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 44rem) {
  .range { grid-template-columns: 1fr; }
  .range li + li { border-left: 0; border-top: 1px solid var(--border); }
}

/* ---------- Bloque 6 · Contacto ---------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 3rem;
}

.contact-person {
  margin-top: 2rem;
  font-size: 1.0625rem;
}

.contact-person strong { color: var(--text-strong); }

.contact-place { margin: 0.25rem 0 0; color: var(--muted); }

.form { display: grid; gap: 1.1rem; }

.field { display: grid; gap: 0.35rem; }

.field label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-strong);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--muted);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text-strong);
  font: inherit;
  font-size: 1rem;
}

.field textarea { min-height: 9rem; resize: vertical; }

.field input:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 1px;
  border-color: var(--text-strong);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.form-note {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.form-status {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-strong);
}

.form-status:empty { display: none; }

@media (max-width: 52rem) {
  .contact { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 30rem) {
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- PromptShield ---------- */

.product-more { margin: 1rem 0 0; font-weight: 500; }

.steps--auto { grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }

.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 2rem 1.75rem;
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
}

.benefits li {
  padding-top: 1.1rem;
  border-top: 2px solid var(--border);
}

.benefits h3 {
  font: 600 1.0625rem/1.35 var(--font-sans);
  color: var(--text-strong);
  margin-bottom: 0.4rem;
}

.benefits p { margin: 0; color: var(--muted); font-size: 0.975rem; }

h3 .tag, h4 .tag { margin-left: 0.35rem; vertical-align: 0.15em; }

/* Diagrama de flujo: horizontal en escritorio, vertical en teléfono. */
.flow {
  margin: 3rem 0 0;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}

.flow svg { display: block; width: 100%; height: auto; }
.flow .flow-v { display: none; max-width: 24rem; margin: 0 auto; }

.flow figcaption {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--muted);
}

@media (max-width: 40rem) {
  .flow { padding: 1rem; }
  .flow .flow-h { display: none; }
  .flow .flow-v { display: block; }
}

.fl-node { fill: var(--surface); stroke: var(--border); stroke-width: 1; }
.fl-stop { fill: var(--surface); stroke: var(--orange); stroke-width: 1.5; }
.fl-cloud { fill: var(--bg); stroke: var(--muted); stroke-width: 1.25; stroke-dasharray: 4 3; }
.fl-line { fill: none; stroke: var(--muted); stroke-width: 1.25; marker-end: url(#flecha-h); }
.flow-v .fl-line { marker-end: url(#flecha-v); }
.fl-arrow { fill: var(--muted); }

.fl-text {
  fill: var(--text-strong);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
}

.fl-sub, .fl-label {
  fill: var(--muted);
  font-family: var(--font-sans);
  font-size: 10.5px;
}

.flow-v .fl-text { font-size: 13px; }
.flow-v .fl-sub, .flow-v .fl-label { font-size: 11.5px; }

.examples {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 3rem;
}

.example {
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--border);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  background: var(--surface);
}

.example h3 {
  margin-bottom: 0.5rem;
  font: 600 0.8125rem/1.3 var(--font-sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.example p { margin: 0; font-size: 0.975rem; }

.controls { margin-top: 3.5rem; }

.controls h3 { font-size: 1.375rem; margin-bottom: 1.25rem; }

.controls ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 1rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.controls li {
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.975rem;
  color: var(--muted);
}

.controls strong { color: var(--text-strong); }

.frameworks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.framework {
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-top: 4px solid var(--orange);
  border-radius: var(--radius);
  background: var(--bg);
}

.framework h3 { font-size: 1.25rem; margin-bottom: 1.25rem; }

.framework dl { margin: 0; }

.framework dt {
  font-weight: 600;
  color: var(--text-strong);
}

.framework dd {
  margin: 0.2rem 0 1.1rem;
  color: var(--muted);
  font-size: 0.975rem;
}

.framework dd:last-child { margin-bottom: 0; }

.note {
  max-width: 46rem;
  margin: 2.5rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.9375rem;
  color: var(--muted);
}

.cta-final .button { margin-top: 2rem; }

@media (max-width: 44rem) {
  .examples, .frameworks { grid-template-columns: 1fr; }
  .framework { padding: 1.5rem; }
}

/* ---------- Pie ---------- */

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.9375rem;
  color: var(--muted);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}

.site-footer p { margin: 0; }

/* ---------- Aviso de privacidad ---------- */

.draft-banner {
  background: var(--orange);
  color: var(--ink-on-orange);
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: center;
  padding: 0.6rem var(--gutter);
}

.draft-banner a {
  color: inherit;
  text-decoration-color: currentColor;
}

.draft-banner--text {
  font-weight: 500;
  line-height: 1.5;
}

.draft-banner--text strong { font-weight: 700; }

.legal {
  max-width: 46rem;
  padding: 4rem 0 5rem;
}

.legal h1 {
  font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem);
  margin-bottom: 0.75rem;
}

.legal h2 {
  font-size: 1.375rem;
  margin: 2.5rem 0 0.75rem;
}

.legal .updated { color: var(--muted); }

.legal ul { padding-left: 1.25rem; }
.legal li { margin-bottom: 0.4rem; }

.pending {
  padding: 0 0.25rem;
  border-radius: 3px;
  background: var(--surface-2);
  color: var(--text-strong);
  font-size: 0.9375em;
  outline: 1px dashed var(--orange);
}

/* ---------- Impresión ---------- */

@media print {
  .site-header { position: static; }
  .site-nav, .form, .skip-link { display: none; }
  .section { padding: 2rem 0; }
  a { text-decoration: none; }
}
