/* =====================================================================
   Páginas informativas / legales — "Family — storybook on cream parchment"
   Same system as styles.css: warm cream canvas, ink text, inset hairline
   rules, blue inline links, near-black buttons. Calm, readable long-form
   legal typography in Inter.
   ===================================================================== */

/* --- 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 {
	--cream-canvas: #fbfaf9;
	--stone-surface: #f2f0ed;
	--sand: #f6f4ef;
	--white: #ffffff;
	--ink-black: #121212;
	--heading-charcoal: #343433;
	--body-brown: #474645;
	--muted-gray: #7e7e7d;
	--stone-border: #e5d5c3;
	--link-blue: #0086fc;
	--grass-green: #00c978;
	--ember-orange: #ff3e00;
	--gold: #d48f00;

	--hairline: rgba(0, 0, 0, 0.10);
	--hairline-soft: rgba(0, 0, 0, 0.06);
	--hairline-strong: rgba(0, 0, 0, 0.16);

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

	--container: 880px;
	--r-card: 10px;
	--r-pill: 9999px;
}

*,
*::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: 17px;
	line-height: 1.7;
	letter-spacing: -0.013em;
	color: var(--body-brown);
	background: var(--cream-canvas);
	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) — cream parchment */
.bg {
	position: fixed;
	inset: 0;
	z-index: -2;
	pointer-events: none;
	background:
		radial-gradient(1100px 660px at 50% -10%, rgba(255, 205, 108, 0.05), transparent 62%),
		var(--cream-canvas);
}
.bg__grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(to right, rgba(52, 52, 51, 0.022) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(52, 52, 51, 0.022) 1px, transparent 1px);
	background-size: 96px 96px;
	-webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 36%, transparent 84%);
	mask-image: radial-gradient(120% 90% at 50% 0%, #000 36%, transparent 84%);
}
.bg__halo { display: none; }

/* 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; }
.wordmark__text { font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: -0.016em; color: var(--heading-charcoal); }
.pill {
	display: inline-flex;
	align-items: center;
	height: 38px;
	padding: 0 18px;
	border: 0;
	border-radius: var(--r-pill);
	background: var(--sand);
	box-shadow: inset 0 0 0 1px var(--hairline);
	color: var(--ink-black);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.18s ease, box-shadow 0.18s ease;
}
.pill:hover { background: var(--stone-surface); 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-body);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--stone-border); }

h1 {
	font-family: var(--font-display);
	font-size: clamp(32px, 5vw, 46px);
	font-weight: 600;
	letter-spacing: -0.024em;
	line-height: 1.1;
	margin: 0 0 18px;
	color: var(--ink-black);
}
h2 {
	font-family: var(--font-display);
	font-size: 24px;
	font-weight: 600;
	color: var(--ink-black);
	letter-spacing: -0.018em;
	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(--heading-charcoal);
	letter-spacing: -0.013em;
	margin: 32px 0 12px;
}
p { margin: 0 0 16px; font-size: 16px; font-weight: 400; color: var(--body-brown); }
strong { font-weight: 600; color: var(--heading-charcoal); }
em { color: var(--heading-charcoal); font-style: italic; }

a {
	color: var(--link-blue);
	text-decoration: underline;
	text-underline-offset: 2px;
	text-decoration-color: rgba(0, 134, 252, 0.4);
	transition: color 0.18s ease, text-decoration-color 0.18s ease;
}
a:hover { color: var(--ink-black); text-decoration-color: var(--ink-black); }

.date-label {
	display: inline-block;
	font-family: var(--font-mono);
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0.02em;
	color: var(--muted-gray);
	background: var(--sand);
	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(--body-brown);
	background: var(--sand);
	box-shadow: inset 0 0 0 1px var(--hairline);
	padding: 20px 22px;
	margin: 28px 0 20px;
	border-radius: var(--r-card);
	line-height: 1.6;
}
.note-block strong { color: var(--ink-black); }

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

.contact-block { margin-bottom: 16px; font-size: 16px; font-weight: 400; color: var(--body-brown); }
.contact-block strong { display: block; margin-bottom: 4px; color: var(--heading-charcoal); }

/* Footer */
.site-footer {
	width: 100%;
	margin-top: auto;
	position: relative;
	z-index: 2;
	background: var(--stone-surface);
	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(--heading-charcoal);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: -0.009em;
	white-space: nowrap;
	text-decoration: none;
	transition: color 0.18s ease;
}
ul.nav-links li a:hover { color: var(--link-blue); }
.site-footer .copyright { font-size: 14px; font-weight: 500; color: var(--muted-gray); 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; }
}
