/* Base: la mesa negra, el texto y las superficies del navegador. */
*,
*::before,
*::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scrollbar-color: var(--naranja) var(--carbon);
	scroll-padding-top: var(--e-3);
}

body {
	margin: 0;
	background: var(--tinta) url("../img/grano-negro.png");
	color: var(--blanco);
	font-family: var(--marco);
	font-size: var(--t-cuerpo);
	line-height: 1.5;
	font-variant-numeric: tabular-nums lining-nums;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

::selection { background: var(--naranja); color: var(--tinta); }

h1, h2, h3, h4, p, ul, ol, dl, figure, blockquote { margin: 0; }
h1, h2, h3, h4 { font-family: var(--marco); text-wrap: balance; }
p, li { text-wrap: pretty; }
img, svg { display: block; max-width: 100%; height: auto; }
:where(ul[class], ol[class]) { list-style: none; padding: 0; }

a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--naranja); }

:focus-visible {
	outline: 3px solid var(--naranja);
	outline-offset: 3px;
}
.esl-campo :focus-visible,
.esl-boton--naranja:focus-visible { outline-color: var(--tinta); }

button, input, select, textarea { font: inherit; color: inherit; }
input, textarea { caret-color: var(--naranja); }

.esl-saltar {
	position: absolute;
	left: var(--gutter);
	top: -100px;
	z-index: 100;
	padding: var(--e-1) var(--e-2);
	background: var(--naranja);
	color: var(--tinta);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.esl-saltar:focus { top: var(--e-1); }

.screen-reader-text,
.esl-oculto {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.esl-contenedor {
	width: 100%;
	max-width: calc(var(--ancho) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}
