/** Reset and element defaults. */

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

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

body {
	margin: 0;
	background: var(--d360-paper);
	color: var(--d360-ink);
	font-family: var(--d360-font-sans);
	font-size: var(--d360-fs-300);
	line-height: var(--d360-lh-body);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0;
	font-weight: 620;
	line-height: var(--d360-lh-tight);
	letter-spacing: -0.015em;
}

h1 { font-size: var(--d360-fs-900); letter-spacing: -0.025em; }
h2 { font-size: var(--d360-fs-700); letter-spacing: -0.02em; }
h3 { font-size: var(--d360-fs-500); }
h4 { font-size: var(--d360-fs-400); }

p, ul, ol { margin: 0 0 var(--d360-sp-4); }

a {
	color: var(--d360-action);
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

a:hover { color: var(--d360-action-hover); }

img, svg { max-width: 100%; }
img { height: auto; }

/* One focus treatment everywhere. Visible on every ground we use. */
:focus-visible {
	outline: 2px solid var(--d360-action);
	outline-offset: 2px;
	border-radius: 2px;
}

/* Numbers that change must not reflow as they do. */
.d360-num {
	font-family: var(--d360-font-mono);
	font-variant-numeric: tabular-nums;
	font-feature-settings: "tnum" 1;
}

.d360-visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.d360-wrap {
	width: 100%;
	max-width: var(--d360-width-full);
	margin-inline: auto;
	padding-inline: var(--d360-sp-4);
}

@media (min-width: 48rem) {
	.d360-wrap { padding-inline: var(--d360-sp-8); }
}

.d360-skip-link {
	position: absolute;
	left: var(--d360-sp-4);
	top: -3rem;
	z-index: 100;
	padding: var(--d360-sp-2) var(--d360-sp-4);
	background: var(--d360-ink);
	color: #fff;
	border-radius: var(--d360-radius-control);
	transition: top var(--d360-dur) var(--d360-ease);
}

.d360-skip-link:focus { top: var(--d360-sp-4); color: #fff; }
