/* Iron Point Repair — brand kit for promo landing pages.
   Copied from the main site's design system. Use these tokens and classes;
   don't invent new colors or fonts. */

/* ---------- Brand fonts (self-hosted, variable weight) ---------- */
@font-face {
	font-family: 'Inter Variable';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('../fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
}

@font-face {
	font-family: 'Geist Variable';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('../fonts/geist-latin-wght-normal.woff2') format('woff2-variations');
}

/* ---------- Tokens ---------- */
:root {
	--color-bg: #FFFFFF;
	--color-surface: #F5F5F7;      /* subtle section background */
	--color-ink: #1D1D1F;          /* near-black primary text */
	--color-ink-soft: #6E6E73;     /* secondary text */
	--color-accent: #0071E3;       /* TECH BLUE, the primary accent */
	--color-accent-hover: #0060C0;
	--color-accent-tint: #E8F1FE;  /* light blue badge/section backgrounds */
	--color-success: #1DA462;      /* warranty/checkmarks */
	--color-border: #D2D2D7;
	--radius: 12px;
	--maxw: 1120px;

	--font-body: 'Inter Variable', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--font-heading: 'Geist Variable', 'Inter Variable', system-ui, -apple-system, 'Segoe UI',
		Roboto, sans-serif;
}

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

* {
	margin: 0;
}

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

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

body {
	background: var(--color-bg);
	color: var(--color-ink);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

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

input,
button,
textarea,
select {
	font: inherit;
	color: inherit;
}

/* ---------- Base type ---------- */
h1,
h2,
h3,
h4 {
	font-family: var(--font-heading);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.15;
	text-wrap: balance;
}

h1 {
	font-size: clamp(2rem, 5vw, 3.25rem);
}

h2 {
	font-size: clamp(1.5rem, 3vw, 2.25rem);
}

h3 {
	font-size: 1.25rem;
	line-height: 1.3;
}

p {
	margin: 0 0 1em;
}

p:last-child {
	margin-bottom: 0;
}

a {
	color: var(--color-accent-hover);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

ul,
ol {
	padding-left: 1.25em;
}

:focus-visible {
	outline: 2px solid var(--color-accent);
	outline-offset: 2px;
}

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

/* ---------- Layout utilities ---------- */
.container {
	max-width: var(--maxw);
	margin-inline: auto;
	padding-inline: 20px;
}

@media (min-width: 768px) {
	.container {
		padding-inline: 32px;
	}
}

.muted {
	color: var(--color-ink-soft);
}

.section {
	padding-block: 56px;
}

.section.tint {
	background: var(--color-accent-tint);
	/* soft ink darkens on tint so text keeps 4.5:1 contrast */
	--color-ink-soft: #5C5C61;
}

.section.surface {
	background: var(--color-surface);
}

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

/* ---------- Buttons ---------- */
.btn {
	display: inline-block;
	padding: 12px 28px;
	border: 1px solid var(--color-accent);
	border-radius: var(--radius);
	background: var(--color-accent);
	color: #fff;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
	background: var(--color-accent-hover);
	border-color: var(--color-accent-hover);
	text-decoration: none;
}

.btn-secondary {
	background: var(--color-surface);
	border-color: var(--color-border);
	color: var(--color-ink);
}

.btn-secondary:hover {
	background: var(--color-border);
	border-color: var(--color-border);
}

/* ---------- Cards ---------- */
.card {
	background: var(--color-bg);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 24px;
}

/* ---------- Badges ---------- */
.badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--color-accent-tint);
	color: var(--color-ink);
	font-size: 0.875rem;
	font-weight: 600;
	white-space: nowrap;
}
