/* Interlink Marketing — base: reset, type, layout, buttons, shared bits. */

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 8px);
}

body {
	margin: 0;
	background: var(--ground-50);
	color: var(--navy-900);
	font-family: var(--font);
	font-size: var(--fs-body);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}

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

h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

a { color: var(--navy-900); text-underline-offset: 3px; }
a:hover { color: var(--green-600); }
.on-navy a:not(.btn) { color: var(--white); }
.on-navy a:not(.btn):hover { color: var(--green-300); }

:focus-visible {
	outline: 3px solid var(--green-300);
	outline-offset: 2px;
	border-radius: 4px;
}

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

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}

.skip-link {
	position: absolute;
	left: 16px; top: -100px;
	z-index: 100;
	padding: 12px 18px;
	border-radius: var(--r-sm);
	background: var(--white);
	color: var(--navy-900);
	font-weight: 600;
	text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */

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

.section { padding-block: var(--section); }
.section--xl { padding-block: var(--section-xl); }
.section--white { background: var(--white); }

.on-navy { color: var(--white); }

.section-head {
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: 760px;
	margin-bottom: var(--s-7);
}
.section-head--split {
	max-width: none;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: var(--s-5);
}
.section-head--split .t-h2 { max-width: 680px; }
.section-head--split .t-lede { max-width: 380px; }

/* ---------- Type ---------- */

.t-h1 { font-size: var(--fs-h1); font-weight: 800; line-height: 0.98; letter-spacing: -0.035em; }
/* The font's full stop has a wide left sidebearing; pull it in to match the tracking (see ilm_tight_punct()). */
.t-h1 .punct { margin-left: -0.09em; }
.t-h2 { font-size: var(--fs-h2); font-weight: 800; line-height: 1.04; letter-spacing: -0.025em; }
.t-h2--sm { font-size: clamp(32px, 29.03px + 0.762vw, 40px); }
.t-h2--lg { font-size: clamp(36px, 29.31px + 1.714vw, 54px); }
.t-h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.1; letter-spacing: -0.015em; }
.t-h4 { font-size: var(--fs-h4); font-weight: 700; line-height: 1.15; letter-spacing: -0.015em; }
.t-lede { font-size: var(--fs-lede); line-height: 1.55; font-weight: 500; color: var(--ink-600); }
.on-navy .t-lede { color: var(--ink-200); }
.on-navy p { font-weight: 500; }

.kicker { font-size: var(--fs-label); font-weight: 600; color: var(--green-600); }
.on-navy .kicker { color: var(--green-300); }

.price {
	font-size: var(--fs-display);
	font-weight: 800;
	line-height: 0.95;
	letter-spacing: -0.04em;
}
.price small {
	font-size: 20px;
	font-weight: 600;
	letter-spacing: 0;
	margin-left: 6px;
}

/* ---------- Buttons ---------- */

.btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 56px;
	padding: 0 28px;
	border: 0;
	border-radius: var(--r-pill);
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition:
		transform var(--t-hover) var(--ease-state),
		background-color var(--t-hover) var(--ease-state),
		border-color var(--t-hover) var(--ease-state),
		color var(--t-hover) var(--ease-state);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.98); transition-duration: var(--t-press); }
.btn:focus-visible { outline: 3px solid var(--green-300); outline-offset: 2px; border-radius: var(--r-pill); }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }

.btn--primary { background: var(--green-600); color: var(--white); }
.btn--primary:hover { background: var(--green-500); color: var(--white); }

.btn--outline { background: transparent; color: var(--navy-900); box-shadow: inset 0 0 0 1.5px var(--navy-900); }
.btn--outline:hover { color: var(--white); background: var(--navy-900); }

.btn--sm { min-height: 46px; padding: 0 22px; }
.btn--lg { min-height: 58px; padding: 0 32px; font-size: 16px; }

/* Loading state (used by the form in step 2): width locked by JS, label hidden, spinner shown. */
.btn.is-loading { color: transparent !important; pointer-events: none; }
.btn.is-loading::after {
	content: "";
	position: absolute;
	width: 20px; height: 20px;
	border: 2px solid rgba(255, 255, 255, .4);
	border-top-color: var(--white);
	border-radius: 50%;
	animation: ilm-spin .7s linear infinite;
}
@keyframes ilm-spin { to { transform: rotate(360deg); } }

/* ---------- Shared bits ---------- */

.pill {
	display: inline-flex;
	align-items: center;
	padding: 5px 11px;
	border-radius: var(--r-pill);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.3;
	white-space: nowrap;
}
.pill--green { background: var(--green-500); color: var(--white); }

.stars { color: var(--amber-500); letter-spacing: .1em; font-size: 15px; line-height: 1; }

.avatar {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px; height: 44px;
	border-radius: var(--r-pill);
	background: var(--navy-900);
	color: var(--white);
	font-weight: 700;
	font-size: 15px;
}
.avatar--sm { width: 32px; height: 32px; font-size: 13px; }

/* Demo-content marker (review only; switch off with ILM_SHOW_DEMO_TAGS). Not a design token. */
.demo-tag {
	display: inline-block;
	margin-left: 6px;
	padding: 2px 7px;
	border-radius: var(--r-pill);
	background: #FFE8A3;
	color: #6B4E00;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .04em;
	line-height: 1.4;
	vertical-align: middle;
	text-transform: none;
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		transition-duration: 150ms !important;
		animation-duration: 150ms !important;
		scroll-behavior: auto !important;
	}
	.btn:hover, .btn:active { transform: none; }
	/* No travelling light and nothing to pause. */
	.hero__pulse { animation: none !important; opacity: 0; }
	.hero__motion { display: none !important; }
}
