/* Reset & base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: hidden; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: var(--step-0);
	line-height: 1.6;
	text-wrap: pretty;
}

img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
svg { max-width: 100%; height: auto; }

/* Icon guardrail — never decorative SVGs run full-bleed */
.icon {
	width: 1.4em;
	height: 1.4em;
	max-width: 32px;
	max-height: 32px;
	flex: 0 0 auto;
	vertical-align: middle;
}

a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; }
p { margin: 0 0 1em; max-width: 68ch; }

h1, h2, h3, h4 {
	font-family: var(--font-display);
	text-transform: uppercase;
	letter-spacing: 0.01em;
	line-height: 1.08;
	font-weight: 600;
	margin: 0 0 0.5em;
	text-wrap: pretty;
}

h1 { font-size: var(--step-5); letter-spacing: -0.01em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

.eyebrow {
	font-family: var(--font-display);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--accent-text);
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
}
.eyebrow::before {
	content: '';
	width: 28px;
	height: 2px;
	background: var(--accent);
	display: inline-block;
}

.lede {
	font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
	color: var(--muted);
	max-width: 60ch;
}

.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.container--wide { max-width: var(--container-wide); }

.grid-12 {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 2.5rem;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	font-family: var(--font-display);
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 0.95em 1.6em;
	border-radius: var(--radius);
	border: 1.5px solid transparent;
	cursor: pointer;
	transition: transform var(--dur-fast) var(--ease-out), background var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
	min-height: 48px;
}
.btn:active { transform: scale(0.98); }

.btn--accent {
	background: var(--accent);
	color: var(--white);
	border-color: var(--accent);
}
.btn--accent:hover { background: var(--accent-text); border-color: var(--accent-text); box-shadow: 0 6px 20px -8px oklch(0.44 0.15 48 / 0.55); }

.btn--ghost {
	background: transparent;
	color: var(--white);
	border-color: color-mix(in oklab, var(--white) 55%, transparent);
}
.btn--ghost:hover { border-color: var(--white); background: color-mix(in oklab, var(--white) 10%, transparent); }

.btn--outline {
	background: transparent;
	color: var(--ink);
	border-color: var(--line);
}
.btn--outline:hover { border-color: var(--primary); }

/* Badge */
.badge {
	display: inline-flex;
	align-items: center;
	gap: 0.55em;
	background: var(--accent-soft);
	color: var(--accent-text);
	font-family: var(--font-display);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	padding: 0.6em 1em;
	border-radius: var(--radius);
}

/* Hairline separators */
hr, .divider {
	border: 0;
	border-top: 1px solid var(--line);
	margin: var(--space-m) 0;
}

:focus-visible {
	outline: 2.5px solid var(--accent);
	outline-offset: 3px;
}

::selection { background: var(--accent); color: var(--white); }
