/* =====================================================================
   Páginas informativas / legales — "Frosted glass cathedral at midnight"
   Same system as styles.css: midnight canvas, hairline rules, luminous
   blue-white type, one violet accent. Long-form readable legal typography.
   ===================================================================== */

/* --- Tipografías alojadas localmente (subconjunto latino) — sin peticiones externas --- */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/inter-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/inter-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/inter-700.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/spacegrotesk-400.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/spacegrotesk-500.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/spacegrotesk-600.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/jetbrainsmono-400.woff2') format('woff2'); }

:root {
	--midnight: #05060f;
	--steel: #2f343e;
	--fog: #9da7ba;
	--moon: #c7d3ea;
	--frost: #d1e4fa;
	--ice: #d8ecf8;
	--white: #ffffff;
	--violet: #663af3;
	--violet-2: #7d55f6;
	--hairline: rgba(186, 215, 247, 0.12);
	--hairline-strong: rgba(186, 215, 247, 0.24);
	--glass-fill: rgba(186, 214, 247, 0.03);
	--glass-fill-2: rgba(199, 211, 234, 0.06);
	--luminous: rgba(199, 211, 234, 0.12);

	--font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--font-display: 'Space Grotesk', 'Inter', ui-sans-serif, system-ui, sans-serif;
	--font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

	--container: 880px;
	--r-card: 16px;
	--r-pill: 999px;
	--glow-violet: 0 0 0 1px rgba(102, 58, 243, 0.35), 0 12px 40px rgba(102, 58, 243, 0.35);
}

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

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

body {
	margin: 0;
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 16px;
	line-height: 1.7;
	letter-spacing: -0.01em;
	color: var(--frost);
	background: var(--midnight);
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Ambient background layers (same markup as the landing) */
.bg {
	position: fixed;
	inset: 0;
	z-index: -2;
	pointer-events: none;
	background:
		radial-gradient(1100px 640px at 50% -12%, rgba(102, 58, 243, 0.12), transparent 60%),
		radial-gradient(800px 560px at 88% 12%, rgba(39, 90, 180, 0.10), transparent 55%),
		var(--midnight);
}
.bg__grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(to right, rgba(186, 215, 247, 0.045) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(186, 215, 247, 0.045) 1px, transparent 1px);
	background-size: 88px 88px;
	-webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 38%, transparent 85%);
	mask-image: radial-gradient(120% 90% at 50% 0%, #000 38%, transparent 85%);
}
.bg__halo {
	position: absolute;
	top: -6%;
	left: 50%;
	width: 820px;
	height: 460px;
	transform: translateX(-50%);
	background: conic-gradient(from 90deg at 50% 50%, transparent 43%, rgba(124, 145, 182, 0.24) 49%, rgba(124, 145, 182, 0.45) 50%, rgba(124, 145, 182, 0.24) 51%, transparent 58%);
	-webkit-mask-image: radial-gradient(60% 100% at 50% 0%, #000, transparent 75%);
	mask-image: radial-gradient(60% 100% at 50% 0%, #000, transparent 75%);
	opacity: 0.6;
	filter: blur(2px);
}

/* Top navigation */
.topbar { width: 100%; position: relative; z-index: 3; }
.topbar__inner {
	max-width: 1120px;
	margin: 0 auto;
	padding: 20px 32px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.wordmark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.wordmark__logo { display: block; height: 32px; width: auto; filter: drop-shadow(0 4px 16px rgba(120, 150, 220, 0.35)); }
.wordmark__text { font-family: var(--font-display); font-weight: 500; font-size: 19px; letter-spacing: 0.01em; color: var(--ice); }
.pill {
	display: inline-flex;
	align-items: center;
	height: 38px;
	padding: 0 18px;
	border: 0;
	border-radius: var(--r-pill);
	background: var(--glass-fill-2);
	box-shadow: inset 0 0 0 1px var(--hairline);
	color: var(--white);
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	transition: background 0.18s ease, box-shadow 0.18s ease;
}
.pill:hover { background: var(--luminous); box-shadow: inset 0 0 0 1px var(--hairline-strong); }

/* Content column */
.page-body {
	flex: 1;
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 56px 32px 96px;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-family: var(--font-mono);
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--moon);
	margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 40px; height: 1px; background: linear-gradient(90deg, transparent, var(--hairline-strong)); }

h1 {
	font-family: var(--font-display);
	font-size: clamp(30px, 5vw, 44px);
	font-weight: 500;
	letter-spacing: -0.01em;
	line-height: 1.1;
	margin: 0 0 18px;
	background: linear-gradient(0deg, #98c0ef 0%, #d8ecf8 70%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
h2 {
	font-family: var(--font-display);
	font-size: 24px;
	font-weight: 500;
	color: var(--ice);
	letter-spacing: -0.01em;
	line-height: 1.25;
	margin: 64px 0 16px;
	padding-bottom: 14px;
	box-shadow: inset 0 -1px 0 var(--hairline);
}
h3 {
	font-size: 18px;
	font-weight: 600;
	color: var(--frost);
	letter-spacing: -0.01em;
	margin: 32px 0 12px;
}
p { margin: 0 0 16px; font-size: 16px; font-weight: 400; color: var(--moon); }
strong { font-weight: 600; color: var(--frost); }
em { color: var(--frost); font-style: italic; }

a {
	color: var(--frost);
	text-decoration: underline;
	text-underline-offset: 2px;
	text-decoration-color: var(--hairline-strong);
	transition: color 0.18s ease, text-decoration-color 0.18s ease;
}
a:hover { color: var(--white); text-decoration-color: var(--frost); }

.date-label {
	display: inline-block;
	font-family: var(--font-mono);
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0.02em;
	color: var(--moon);
	background: var(--glass-fill-2);
	box-shadow: inset 0 0 0 1px var(--hairline);
	padding: 6px 18px;
	border-radius: var(--r-pill);
	margin-bottom: 32px;
}

.note-block {
	font-size: 16px;
	font-weight: 400;
	color: var(--frost);
	background: rgba(102, 58, 243, 0.08);
	box-shadow: inset 0 0 0 1px rgba(102, 58, 243, 0.28);
	padding: 20px 22px;
	margin: 28px 0 20px;
	border-radius: var(--r-card);
	line-height: 1.6;
}
.note-block strong { color: var(--ice); }

ul.info-list {
	margin: 0 0 18px;
	padding-left: 22px;
	color: var(--moon);
	font-size: 16px;
	font-weight: 400;
}
ul.info-list li { margin-bottom: 10px; line-height: 1.6; }
ul.info-list li::marker { color: var(--violet-2); }

.contact-block { margin-bottom: 16px; font-size: 16px; font-weight: 400; color: var(--moon); }
.contact-block strong { display: block; margin-bottom: 4px; color: var(--frost); }

/* Footer */
.site-footer {
	width: 100%;
	margin-top: auto;
	position: relative;
	z-index: 2;
	box-shadow: inset 0 1px 0 var(--hairline);
	padding: 40px 32px;
	text-align: center;
}
ul.nav-links {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px 28px;
	padding: 0;
	margin: 0 0 18px;
}
ul.nav-links li a {
	color: var(--moon);
	font-size: 15px;
	font-weight: 400;
	letter-spacing: -0.01em;
	white-space: nowrap;
	text-decoration: none;
	transition: color 0.18s ease;
}
ul.nav-links li a:hover { color: var(--white); }
.site-footer .copyright { font-size: 14px; font-weight: 500; color: var(--fog); margin: 0; }

@media screen and (max-width: 640px) {
	.topbar__inner { padding: 16px; }
	.page-body { padding: 40px 16px 64px; }
	h2 { margin-top: 48px; }
	.site-footer { padding: 32px 16px; }
}
