/* Páginas legales de Prime Media: mismo mundo (blanco estudio, tinta marino, banda del logo) en formato de lectura */
:root {
  --ground: #F6F4F9; --paper: #FFFFFF; --line: #DCD6E6; --lilac: #EFE6F7;
  --ink: #0F2142; --ink-2: #34405E; --muted: #5A6480;
  --magenta: #E5007E; --magenta-deep: #C4006C;
  --brand: linear-gradient(90deg, #7B1E82, #E5007E 40%, #F07C2A 72%, #FBB900);
  --display: "Saira", "Segoe UI", system-ui, sans-serif;
  --body: "Onest", "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(16px, 3.6vw, 48px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body); font-size: 1.0625rem; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--magenta-deep); text-underline-offset: 3px; text-decoration-thickness: 1px; }
::selection { background: var(--magenta); color: #fff; }
:focus-visible { outline: 2px solid var(--magenta); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.lg-nav { position: sticky; top: 0; z-index: 10; background: rgba(246, 244, 249, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.lg-nav-inner { max-width: 1100px; margin: 0 auto; padding: 0 var(--gutter); height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lg-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.lg-brand .icon { width: 32px; height: 32px; }
.lg-brand .word { width: 118px; height: auto; }
.lg-back { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: .92rem; text-decoration: none; transition: transform 160ms cubic-bezier(.23, 1, .32, 1); }
.lg-back:active { transform: scale(.97); }

.lg-head { max-width: 1100px; margin: 0 auto; padding: clamp(48px, 7vw, 88px) var(--gutter) 32px; }
.lg-head h1 { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.05; letter-spacing: -.02em; }
.lg-head h1 span { display: inline-block; background: var(--paper); padding: .04em .22em .1em; box-shadow: inset 0 0 0 1px var(--line); }
.lg-head .updated { margin-top: 18px; color: var(--muted); font-size: .95rem; }
.lg-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; padding: 0; list-style: none; }
.lg-tabs a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); font-size: .92rem; font-weight: 600; text-decoration: none; }
.lg-tabs a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.lg-body { max-width: 1100px; margin: 0 auto; padding: 0 var(--gutter) clamp(72px, 10vw, 120px); }
.lg-doc { background: var(--paper); border-radius: 28px; padding: clamp(24px, 5vw, 64px); box-shadow: 0 24px 60px -30px rgba(15, 33, 66, .28); }
.lg-doc > * { max-width: 72ch; }
.lg-doc h2 { font-family: var(--display); font-weight: 600; letter-spacing: -.015em; font-size: clamp(1.45rem, 2.3vw, 1.9rem); line-height: 1.1; margin: 2.2em 0 .6em; }
.lg-doc h2:first-child { margin-top: 0; }
.lg-doc h3 { font-size: 1.15rem; margin: 1.6em 0 .4em; }
.lg-doc p, .lg-doc li { color: var(--ink-2); }
.lg-doc ul { padding-left: 1.2em; }
.lg-doc li + li { margin-top: .35em; }
.lg-doc strong { color: var(--ink); }
.lg-data { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; padding: 18px 20px; border-radius: 16px; background: var(--lilac); margin: 1em 0; }
.lg-data dt { font-weight: 700; color: var(--ink); }
.lg-data dd { margin: 0; color: var(--ink-2); }
.lg-table-wrap { overflow-x: auto; margin: 1em 0; max-width: 100%; }
.lg-doc table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; }
.lg-doc th, .lg-doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.lg-doc th { color: var(--ink); background: var(--ground); font-weight: 700; }
.fill { background: #FFF4D1; color: #6A4A00; padding: 0 .3em; border-radius: 4px; font-weight: 600; }
.lg-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; font: 600 .95rem/1 var(--body); cursor: pointer; transition: transform 160ms cubic-bezier(.23, 1, .32, 1); }
.lg-btn:active { transform: scale(.97); }

.lg-foot { border-top: 1px solid var(--line); }
.lg-foot-inner { max-width: 1100px; margin: 0 auto; padding: 28px var(--gutter); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; color: var(--muted); font-size: .9rem; }
.lg-foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.lg-foot a, .lg-foot button { color: var(--ink-2); text-decoration: none; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
@media (max-width: 560px) { .lg-data { grid-template-columns: 1fr; } .lg-brand .word { width: 96px; } }

/* ==========================================================
   TEMA OSCURO (el de la web principal)
   Mismos tokens que index.html: fondo marino profundo, superficies azul noche.
   ========================================================== */
:root {
  --ground: #0B0D1A; --paper: #151A2E; --line: #2A3150; --lilac: #170F2A;
  --ink: #F3F1F8; --ink-2: #C3C6D6; --muted: #969CB4;
  --link: #FF5CAF;
}
a { color: var(--link); }
.skip, .lg-back, .lg-btn, .lg-tabs a[aria-current="page"] { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.lg-nav { background: rgba(11, 13, 26, .82); }
.lg-doc { box-shadow: 0 1px 0 rgba(255,255,255,.05) inset, 0 28px 60px -30px rgba(0, 0, 0, .7); }
.lg-doc th { background: var(--ground); }
.fill { background: #3B3011; color: #FFE7A3; }
