/* Documentos legales de Auspy: lectura cómoda, misma marca que la landing.
   Se ven solos (/terminos) o dentro del visor del formulario (?embed=1). */
:root {
  --ink: #231f20;
  --ink-soft: #55555b;
  --line: #e5e5ea;
  --tile: #f5f5f7;
  --accent: #2a47f6;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: #fff; }
body {
  margin: 0; background: #fff; color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
.doc { width: min(760px, 100% - 32px); margin: 0 auto; padding: 32px 0 64px; }
.doc__nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 32px; font-size: .9rem; }
.doc__nav a { text-decoration: none; font-weight: 600; }
.doc__nav nav { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.doc__nav nav a[aria-current="page"] { color: var(--ink); }
.embed .doc { padding-top: 8px; }
.embed .doc__nav { display: none; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
h1 { margin: 0 0 8px; font-size: clamp(1.9rem, 5vw, 2.6rem); letter-spacing: -.03em; }
h2 { margin: 40px 0 10px; font-size: 1.3rem; }
h3 { margin: 24px 0 6px; font-size: 1.05rem; }
p, li { text-wrap: pretty; }
ul, ol { padding-left: 1.3em; }
li + li { margin-top: 4px; }
.doc__meta { margin: 0 0 24px; color: var(--ink-soft); font-size: .92rem; }
.resumen { margin: 0 0 8px; padding: 18px 22px; border-radius: 12px; background: var(--tile); }
.resumen h2 { margin-top: 0; font-size: 1.05rem; }
.resumen ul { margin: 0; }
table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: .92rem; }
th, td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { font-weight: 700; }
.tabla { overflow-x: auto; }
pre { white-space: pre-wrap; padding: 16px; border-radius: 8px; background: var(--tile); font-size: .82rem; line-height: 1.5; }
/* Datos que faltan completar antes de publicar */
.pendiente { padding: 0 4px; border-radius: 4px; background: #fff1a8; }
.fin { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .88rem; }
