/* DomBound — estilo compartido de las páginas de contenido (legales, soporte…).
   Mismo mundo visual que la landing: negro cuero, oxblood, tipografía con carácter. */
:root {
  --ground:   #0B0A0A;
  --surface:  #17120F;
  --hairline: rgba(166,170,174,0.14);
  --hairline-strong: rgba(166,170,174,0.28);
  --oxblood:  #8E1B2E;
  --oxblood-lift: #B0273B;
  --steel:    #A6AAAE;
  --ivory:    #ECE5D8;
  --muted:    #9A8F82;
  --muted-2:  #756B60;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background:
    radial-gradient(900px 500px at 50% -10%, rgba(142,27,46,0.10), transparent 60%),
    var(--ground);
  color: var(--ivory);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--oxblood-lift); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* Cabecera */
.top {
  border-bottom: 1px solid var(--hairline);
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--ground) 88%, transparent);
  backdrop-filter: blur(12px);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-family: var(--display); font-weight: 600; font-size: 1.2rem; color: var(--ivory); display: flex; align-items: center; gap: 0.55em; }
.brand .ring { width: 0.8em; height: 0.8em; border: 2px solid var(--oxblood); border-radius: 50%; display: inline-block; position: relative; }
.brand .ring::after { content: ""; position: absolute; top: -3px; left: 50%; width: 5px; height: 5px; background: var(--steel); border-radius: 50%; transform: translateX(-50%); }
.brand em { color: var(--oxblood-lift); font-style: normal; }
.top a.volver { font-size: 0.85rem; color: var(--muted); }
.top a.volver:hover { color: var(--ivory); text-decoration: none; }

/* Documento legal */
.doc { padding: clamp(40px, 8vh, 84px) 0 90px; }
.doc .eyebrow { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--steel); }
.doc h1 { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 6vw, 3rem); line-height: 1.05; letter-spacing: -0.015em; margin: 16px 0 8px; text-wrap: balance; }
.doc .fecha { color: var(--muted-2); font-size: 0.85rem; margin-bottom: 40px; }
.doc h2 { font-family: var(--display); font-weight: 600; font-size: 1.5rem; color: var(--ivory); margin: 44px 0 14px; }
.doc h3 { font-size: 1.02rem; font-weight: 700; color: var(--ivory); margin: 26px 0 8px; letter-spacing: 0.01em; }
.doc p { color: var(--muted); margin: 0 0 16px; }
.doc strong { color: var(--ivory); font-weight: 600; }
.doc ul { color: var(--muted); margin: 0 0 18px; padding-left: 20px; }
.doc li { margin-bottom: 8px; }
.doc li::marker { color: var(--oxblood-lift); }
.doc .callout { border-left: 2px solid var(--oxblood); background: var(--surface); padding: 16px 20px; margin: 24px 0; color: var(--ivory); }
.doc table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 0.92rem; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--hairline); color: var(--muted); vertical-align: top; }
.doc th { color: var(--ivory); font-weight: 600; }
.doc .placeholder { color: var(--oxblood-lift); font-style: italic; }

/* Pie */
.pie { border-top: 1px solid var(--hairline); padding: 40px 0; color: var(--muted-2); font-size: 0.82rem; }
.pie .wrap { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; justify-content: space-between; }
.pie nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.pie a { color: var(--muted); }
.pie a:hover { color: var(--ivory); text-decoration: none; }

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