/* ==========================================================================
   Blue Glove: main stylesheet
   Mobile-first. Tokens → base → layout → components → sections → motion.
   ========================================================================== */

/* Fonts (self-hosted, Latin subset) ---------------------------------------- */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/manrope-700.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/manrope-800.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/geist-400.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/geist-500.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/geist-600.woff2") format("woff2"); }

/* Tokens ------------------------------------------------------------------ */
:root {
	--navy: #0B1B3F;
	--navy-2: #11265A;
	--cobalt: #1E47D6;
	--cobalt-hover: #1838B0;
	--sky: #8FB0FF;
	--tint: #EAF0FF;
	--ground: #F5F7FB;
	--white: #FFFFFF;
	--line: #E3E8F2;
	--text: #1B2748;
	--muted: #5B6682;
	--muted-dark: #AEB8D4;
	--line-dark: rgba(143, 176, 255, .18);

	--font-head: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-body: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

	/* Fluid type scale (360px → 1440px). */
	--fs-xs: .8125rem;
	--fs-sm: .9375rem;
	--fs-body: clamp(1.0625rem, 1.02rem + .19vw, 1.125rem);
	--fs-lead: clamp(1.125rem, 1.04rem + .37vw, 1.3125rem);
	--fs-h4: clamp(1.125rem, 1.08rem + .19vw, 1.25rem);
	--fs-h3: clamp(1.3125rem, 1.2rem + .5vw, 1.625rem);
	--fs-h2: clamp(2rem, 1.55rem + 2vw, 3.25rem);
	--fs-h1: clamp(2.75rem, 2rem + 3.2vw, 4.25rem);

	--radius-card: 20px;
	--radius-input: 12px;
	--radius-pill: 999px;
	--radius-tile: 27%;

	--shadow: 0 1px 2px rgba(11, 27, 63, .06), 0 12px 32px rgba(11, 27, 63, .08);
	--shadow-lg: 0 2px 4px rgba(11, 27, 63, .06), 0 24px 56px rgba(11, 27, 63, .14);

	--gutter: 20px;
	--container: 1200px;
	--header-h: 72px;
	--section-y: clamp(4.5rem, 3.4rem + 4.8vw, 7.5rem);

	--ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 768px) {
	:root { --gutter: 32px; --header-h: 80px; }
}

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

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

body {
	margin: 0;
	background: var(--white);
	color: var(--text);
	font-family: var(--font-body);
	font-size: var(--fs-body);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}

body.menu-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4 {
	margin: 0;
	color: var(--navy);
	font-family: var(--font-head);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -.02em;
	text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }

a { color: var(--cobalt); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--cobalt-hover); }

:focus-visible {
	outline: 2px solid var(--cobalt);
	outline-offset: 3px;
	border-radius: 6px;
}
.on-dark :focus-visible,
.on-dark:focus-visible { outline-color: var(--sky); }

main:focus { outline: none; }

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

.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: fixed;
	top: 12px; left: 12px;
	z-index: 1000;
	padding: 12px 18px;
	border-radius: var(--radius-pill);
	background: var(--navy);
	color: var(--white);
	font-weight: 600;
	text-decoration: none;
	transform: translateY(-160%);
	transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; color: var(--white); }

/* Layout ------------------------------------------------------------------ */
.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.container--text { max-width: calc(760px + var(--gutter) * 2); }

.section { padding-block: var(--section-y); }
.section--ground { background: var(--ground); }
.section--navy { background: var(--navy); color: var(--muted-dark); }
.section--navy h2, .section--navy h3 { color: var(--white); }

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: var(--fs-h2); letter-spacing: -.03em; }
.section-head p { margin-top: 1rem; color: var(--muted); font-size: var(--fs-lead); }
.section-head .eyebrow { margin: 0 0 .875rem; color: var(--cobalt); font-size: var(--fs-xs); }
.section--navy .section-head p { color: var(--muted-dark); }

/* Components -------------------------------------------------------------- */

/* Eyebrow chip */
.chip {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .375rem .875rem .375rem .625rem;
	border-radius: var(--radius-pill);
	background: var(--tint);
	color: var(--cobalt);
	font-size: var(--fs-sm);
	font-weight: 600;
	line-height: 1.4;
}
.chip::before {
	content: "";
	width: 8px; height: 8px;
	border-radius: 2.5px;
	background: currentColor;
}
.chip--dark { background: rgba(143, 176, 255, .14); color: var(--sky); }

/* Buttons */
.btn {
	--btn-bg: var(--cobalt);
	--btn-fg: var(--white);
	--btn-bd: var(--cobalt);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	min-height: 48px;
	padding: .75rem 1.5rem;
	border: 1.5px solid var(--btn-bd);
	border-radius: var(--radius-pill);
	background: var(--btn-bg);
	color: var(--btn-fg);
	font: 600 1rem/1.2 var(--font-body);
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
	-webkit-tap-highlight-color: transparent;
}
.btn:hover { color: var(--btn-fg); }
.btn .icon { transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:focus-visible { border-radius: var(--radius-pill); }

.btn--primary { box-shadow: 0 1px 2px rgba(11, 27, 63, .1), 0 6px 16px rgba(30, 71, 214, .22); }
.btn--primary:hover { --btn-bg: var(--cobalt-hover); --btn-bd: var(--cobalt-hover); box-shadow: 0 1px 2px rgba(11, 27, 63, .1), 0 10px 22px rgba(30, 71, 214, .28); }

.btn--ghost { --btn-bg: var(--white); --btn-fg: var(--navy); --btn-bd: var(--line); box-shadow: 0 1px 2px rgba(11, 27, 63, .05); }
.btn--ghost:hover { --btn-bg: var(--white); --btn-fg: var(--cobalt); --btn-bd: var(--cobalt); }

.btn--light { --btn-bg: var(--white); --btn-fg: var(--navy); --btn-bd: var(--white); }
.btn--light:hover { --btn-bg: var(--tint); --btn-bd: var(--tint); --btn-fg: var(--navy); }

.btn--sm { min-height: 44px; padding: .625rem 1.25rem; font-size: .9375rem; }
.btn--lg { min-height: 56px; padding: 1rem 1.75rem; font-size: 1.0625rem; }
.btn--block { display: flex; width: 100%; }

/* Icon tile: the rounded-square motif from the logo */
.tile {
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 48px; height: 48px;
	border-radius: var(--radius-tile);
	background: var(--tint);
	color: var(--cobalt);
}
.tile--sm { width: 40px; height: 40px; }
.tile--dark { background: rgba(143, 176, 255, .14); color: var(--sky); }

/* Logo lockup: gloved-hand mark + wordmark.
   --word is the wordmark size; the mark is 1.25× that tall and nudged down so
   the glove sits level with the letters (the sleeve drops below the baseline). */
.logo {
	--word: 27px;
	display: inline-flex;
	align-items: center;
	gap: calc(var(--word) * .3);
	min-height: 44px;
	text-decoration: none;
	flex: none;
}
.logo--footer { --word: 33px; }
.logo__mark { width: auto; height: calc(var(--word) * 1.25); flex: none; transform: translateY(13%); }
.logo__word {
	font-family: var(--font-head);
	font-weight: 800;
	font-size: var(--word);
	line-height: 1;
	letter-spacing: -.045em;
}
.logo--light .logo__blue { color: var(--navy); }
.logo--light .logo__glove { color: var(--cobalt); }
.logo--dark .logo__blue { color: var(--white); }
.logo--dark .logo__glove { color: var(--sky); }
.logo:focus-visible { border-radius: 10px; outline-offset: 4px; }

/* Header ------------------------------------------------------------------ */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	height: var(--header-h);
	background: rgba(255, 255, 255, 0);
	border-bottom: 1px solid transparent;
	transition: background-color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.is-scrolled {
	background: var(--white);
	border-bottom-color: var(--line);
	box-shadow: 0 1px 2px rgba(11, 27, 63, .04), 0 8px 24px rgba(11, 27, 63, .06);
}
.admin-bar .site-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .site-header { top: 32px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

.site-header__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	height: 100%;
}

.site-nav { display: none; }
.site-nav__list { display: flex; align-items: center; gap: .25rem; }
.site-nav__link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 .875rem;
	border-radius: var(--radius-pill);
	color: var(--text);
	font-size: .9375rem;
	font-weight: 500;
	text-decoration: none;
	transition: color .2s var(--ease), background-color .2s var(--ease);
}
.site-nav__link:hover { color: var(--cobalt); background: var(--tint); }
.site-nav__link:focus-visible { border-radius: var(--radius-pill); }

.site-header__actions { display: flex; align-items: center; gap: .5rem; }
.site-header__cta { display: none; }

.menu-toggle {
	display: inline-grid;
	place-items: center;
	width: 48px; height: 48px;
	margin-right: -6px;
	border: 0;
	border-radius: 14px;
	background: transparent;
	color: var(--navy);
	cursor: pointer;
}
.menu-toggle:hover { background: var(--tint); color: var(--cobalt); }

@media (min-width: 560px) {
	.site-header__cta { display: inline-flex; }
}
@media (min-width: 1024px) {
	.site-nav { display: block; }
	.menu-toggle { display: none; }
}

/* Mobile panel */
.mobile-panel { position: fixed; inset: 0; z-index: 100; }
.mobile-panel[hidden] { display: none; }
.mobile-panel__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(11, 27, 63, .45);
	opacity: 0;
	transition: opacity .3s var(--ease);
}
.mobile-panel__sheet {
	position: absolute;
	top: 0; right: 0; bottom: 0;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	width: min(400px, 100%);
	height: 100%;
	height: 100dvh;
	padding: 0 var(--gutter) calc(1.5rem + env(safe-area-inset-bottom));
	overflow-y: auto;
	background: var(--white);
	box-shadow: var(--shadow-lg);
	transform: translateX(100%);
	transition: transform .35s var(--ease);
}
.mobile-panel.is-open .mobile-panel__backdrop { opacity: 1; }
.mobile-panel.is-open .mobile-panel__sheet { transform: none; }
.mobile-panel__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: var(--header-h);
	border-bottom: 1px solid var(--line);
}
.mobile-panel__list { display: grid; }
.mobile-panel__link {
	display: flex;
	align-items: center;
	min-height: 56px;
	border-bottom: 1px solid var(--line);
	color: var(--navy);
	font-family: var(--font-head);
	font-size: 1.375rem;
	font-weight: 700;
	letter-spacing: -.02em;
	text-decoration: none;
}
.mobile-panel__link:hover { color: var(--cobalt); }
.mobile-panel__mail {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	min-height: 44px;
	margin-top: auto;
	color: var(--muted);
	font-weight: 500;
	text-decoration: none;
}

/* Hero -------------------------------------------------------------------- */
/* One navy card. The headline sits over the illustration: the back layer of
   the scene (storefront window) runs under the text, faded by a scrim. */
.hero {
	--hero-bg: #F2F6FE;
	position: relative;
	margin-top: calc(var(--header-h) * -1);
	padding: 10px 10px 0;
}
.hero__card {
	position: relative;
	display: flex;
	flex-direction: column;
	border-radius: 28px;
	background:
		radial-gradient(50% 60% at 85% 25%, rgba(61, 107, 255, .16), transparent 70%),
		radial-gradient(40% 45% at 62% 100%, rgba(143, 176, 255, .22), transparent 70%),
		var(--hero-bg);
	color: var(--muted);
	overflow: hidden;
	isolation: isolate;
}
.hero__card::after {
	/* Hairline inner edge. */
	content: "";
	position: absolute;
	inset: 0;
	z-index: 5;
	border-radius: inherit;
	border: 1px solid var(--line);
	pointer-events: none;
}

.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__grid-dots {
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(30, 71, 214, .16) 1px, transparent 1.3px);
	background-size: 28px 28px;
	mask-image: radial-gradient(50% 55% at 75% 70%, #000 10%, transparent 75%);
	-webkit-mask-image: radial-gradient(50% 55% at 75% 70%, #000 10%, transparent 75%);
}
.hero__glove {
	position: absolute;
	right: -18%;
	bottom: -6%;
	width: min(95%, 520px);
	height: auto;
	color: var(--cobalt);
	opacity: .06;
	mask-image: linear-gradient(180deg, #000 40%, transparent 95%);
	-webkit-mask-image: linear-gradient(180deg, #000 40%, transparent 95%);
}
@media (min-width: 1024px) {
	.hero__glove { right: -4%; top: 8%; bottom: auto; width: min(52%, 700px); }
}

.hero__inner {
	position: relative;
	z-index: 3;
	padding-top: calc(var(--header-h) + clamp(2rem, 1rem + 4vw, 4.5rem));
}
.hero__copy { max-width: 640px; }

.hero__title {
	margin-top: 1.25rem;
	color: var(--navy);
	font-size: var(--fs-h1);
	line-height: 1.02;
	letter-spacing: -.035em;
}
.hero__accent {
	color: var(--cobalt);
	background: linear-gradient(100deg, var(--cobalt) 20%, #3D6BFF 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.hero__sub {
	max-width: 33rem;
	margin-top: 1.5rem;
	color: var(--muted);
	font-size: var(--fs-lead);
	line-height: 1.55;
}
.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	margin-top: 2.25rem;
}
@media (max-width: 479px) {
	.hero__actions .btn { flex: 1 1 100%; }
}

.btn--ghost-dark { --btn-bg: rgba(255, 255, 255, .04); --btn-fg: var(--white); --btn-bd: rgba(174, 184, 212, .35); }
.btn--ghost-dark:hover { --btn-bg: rgba(255, 255, 255, .1); --btn-fg: var(--white); --btn-bd: var(--sky); }

.hero__pillars {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem 1.25rem;
	max-width: 33rem;
	margin-top: 2.5rem;
	padding-top: 1.75rem;
	border-top: 1px solid rgba(30, 71, 214, .12);
}
.hero__pillars-label {
	flex: 1 1 100%;
	color: var(--muted);
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.hero__pillars ul { display: flex; flex-wrap: wrap; gap: .625rem 1rem; }
.hero__pillars li {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	color: var(--navy);
	font-size: var(--fs-sm);
	font-weight: 600;
}
.tile--xs { width: 30px; height: 30px; }
.tile--white { background: var(--white); box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(11, 27, 63, .05); }
.chip--white { background: var(--white); box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(11, 27, 63, .04); }

/* Stage: the illustration. Sized in container units so it scales as one piece.
   Mobile: below the copy, tucked up under it with a fade. */
.hero__stage {
	position: relative;
	z-index: 1;
	container-type: inline-size;
	width: min(100% - 2 * var(--gutter), 620px);
	aspect-ratio: 1 / .9;
	margin: 1rem auto 0;
	mask-image: linear-gradient(180deg, transparent 0, #000 12%);
	-webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%);
}
.hero__scrim { display: none; }

@media (min-width: 1024px) {
	.hero { padding: 12px 12px 0; }
	.hero__card { min-height: min(900px, 100svh - 24px); justify-content: center; }
	.hero__inner { padding-bottom: clamp(4rem, 2rem + 4vw, 6rem); }
	.hero__stage {
		position: absolute;
		top: calc(50% + var(--header-h) / 2);
		right: max(2%, (100% - 1320px) / 2);
		width: clamp(500px, 50vw, 700px);
		margin: 0;
		transform: translateY(-50%);
		mask-image: none;
		-webkit-mask-image: none;
	}
	.hero__scrim {
		display: block;
		position: absolute;
		inset: 0;
		z-index: 2;
		pointer-events: none;
		background: linear-gradient(90deg, rgba(242, 246, 254, .97) 0%, rgba(242, 246, 254, .92) 42%, rgba(242, 246, 254, .6) 52%, rgba(242, 246, 254, 0) 62%);
	}
	.hero__grid-dots {
		mask-image: radial-gradient(40% 55% at 78% 55%, #000 10%, transparent 75%);
		-webkit-mask-image: radial-gradient(40% 55% at 78% 55%, #000 10%, transparent 75%);
	}
}

/* Storefront window (back layer) */
.mock-store {
	position: absolute;
	top: 4cqi;
	left: 2cqi;
	width: 62cqi;
	border: 1px solid var(--line);
	border-radius: 2.6cqi;
	background: var(--white);
	box-shadow: 0 1px 2px rgba(11, 27, 63, .05), 0 18px 44px rgba(11, 27, 63, .1);
	overflow: hidden;
}
@media (min-width: 1024px) {
	.hero__copy { max-width: min(640px, 54%); }
	.hero__sub { max-width: min(33rem, 100%); }
	.hero__pillars { max-width: min(40rem, 100%); }
	.mock-store { left: -14cqi; top: 15cqi; }
}
.mock-store__bar {
	display: flex;
	align-items: center;
	gap: 1.8cqi;
	padding: 1.5cqi 2cqi;
	background: var(--ground);
	border-bottom: 1px solid var(--line);
}
.mock-store__dots { display: flex; gap: .8cqi; }
.mock-store__dots i { width: 1.2cqi; height: 1.2cqi; border-radius: 50%; background: #CBD3E6; }
.mock-store__url {
	flex: 1;
	padding: .5cqi 1.8cqi;
	border-radius: var(--radius-pill);
	background: var(--white);
	box-shadow: inset 0 0 0 1px var(--line);
	color: var(--muted);
	font-size: max(9px, 1.7cqi);
	font-weight: 500;
	line-height: 1.3;
}
.mock-store__body { display: grid; gap: 1.3cqi; padding: 3cqi 3cqi 3.2cqi 24cqi; }
.mock-store__body > span { display: block; border-radius: 1cqi; }
.mock-store__h { width: 80%; height: 2.1cqi; background: var(--navy); }
.mock-store__p { width: 60%; height: 1.1cqi; background: #D5DCEB; }
.mock-store__btn { width: 13cqi; height: 3cqi; margin-top: .4cqi; border-radius: var(--radius-pill) !important; background: var(--cobalt); }
.mock-store__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3cqi; margin-top: 1.1cqi; }
.mock-store__tiles i {
	aspect-ratio: 1;
	border-radius: 1.5cqi;
	background:
		linear-gradient(180deg, transparent 30%, rgba(30, 71, 214, .1) 30% 34%, transparent 34%),
		var(--tint);
	border: 1px solid rgba(30, 71, 214, .08);
}

/* Launch checklist card */
.mock-checklist {
	position: absolute;
	top: 26cqi;
	right: 4cqi;
	width: 46cqi;
	padding: 3.4cqi 3.4cqi 3.6cqi;
	border-radius: 3.2cqi;
	background: var(--white);
	box-shadow: 0 0 0 1px rgba(11, 27, 63, .04), 0 2px 4px rgba(11, 27, 63, .05), 0 28px 56px -12px rgba(11, 27, 63, .22);
	font-size: max(10px, 2.3cqi);
}
.mock-checklist__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 2.4cqi;
	border-bottom: 1px solid var(--line);
}
.mock-checklist__title {
	color: var(--navy);
	font-family: var(--font-head);
	font-size: max(11px, 2.75cqi);
	font-weight: 800;
	letter-spacing: -.02em;
	white-space: nowrap;
}
.mock-checklist__status {
	display: inline-flex;
	align-items: center;
	gap: .8cqi;
	padding: .5cqi 1.5cqi;
	border-radius: var(--radius-pill);
	background: var(--tint);
	color: var(--cobalt);
	font-size: max(9px, 1.8cqi);
	font-weight: 600;
	white-space: nowrap;
}
.mock-checklist__status::before {
	content: "";
	width: 1.1cqi; height: 1.1cqi;
	border-radius: 50%;
	background: var(--cobalt);
	box-shadow: 0 0 0 .5cqi rgba(30, 71, 214, .18);
}
.mock-checklist__rows { display: grid; gap: 1.8cqi; margin-top: 2.4cqi; }
.mock-checklist__rows li {
	display: flex;
	align-items: center;
	gap: 1.9cqi;
	color: var(--text);
	font-weight: 500;
	line-height: 1.2;
}
.mock-checklist__tick {
	display: grid;
	place-items: center;
	flex: none;
	width: 4.1cqi; height: 4.1cqi;
	border-radius: 27%;
	background: var(--cobalt);
	color: var(--white);
}
.mock-checklist__tick .icon { width: 2.6cqi; height: 2.6cqi; stroke-width: 2.5; }
.mock-checklist__progress {
	height: 1cqi;
	margin-top: 2.8cqi;
	border-radius: var(--radius-pill);
	background: var(--tint);
	overflow: hidden;
}
.mock-checklist__progress i {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--cobalt), #3D6BFF);
	transform-origin: left;
}

/* Vials */
.mock-vials {
	position: absolute;
	left: 16cqi;
	bottom: 6cqi;
	z-index: 1;
	display: flex;
	align-items: flex-end;
}
.mock-vial {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 19cqi;
	filter: drop-shadow(0 2cqi 3cqi rgba(11, 27, 63, .2));
}
.mock-vial--back {
	z-index: 0;
	order: 2;
	width: 14.5cqi;
	margin-left: -3.4cqi;
	margin-bottom: 1.4cqi;
	filter: drop-shadow(0 1.4cqi 2cqi rgba(11, 27, 63, .16));
}
.mock-vial__cap {
	width: 64%;
	height: 3.8cqi;
	border-radius: 1.2cqi 1.2cqi .4cqi .4cqi;
	background: linear-gradient(90deg, #1838B0, #3D6BFF 38%, #2A55E8 60%, #1838B0);
}
.mock-vial__crimp {
	width: 72%;
	height: 3.5cqi;
	border-radius: .5cqi;
	background:
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0) 0 1.2cqi, rgba(11, 27, 63, .08) 1.2cqi 1.4cqi),
		linear-gradient(90deg, #9AA6C4, #F2F5FC 35%, #C9D2E6 60%, #8C98B8);
}
.mock-vial__body {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1.34;
	margin-top: -.2cqi;
	padding: 3.4cqi 0 4.2cqi;
	border-radius: 2cqi 2cqi 3.4cqi 3.4cqi;
	background: linear-gradient(90deg, #C9D5F2, #F7F9FF 28%, #E4EBFB 62%, #B9C7EA);
	box-shadow: inset 0 0 0 1px rgba(30, 71, 214, .12);
}
.mock-vial__body::after {
	/* Glass highlight, above the label. */
	content: "";
	position: absolute;
	z-index: 2;
	top: 2cqi; bottom: 2.6cqi; left: 12%;
	width: 5%;
	border-radius: 2cqi;
	background: linear-gradient(180deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, .25));
}
.mock-label {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1cqi;
	height: 100%;
	padding: 2.2cqi 1.7cqi 2cqi 3.9cqi;
	background: var(--white);
	border-block: .7cqi solid var(--cobalt);
	overflow: hidden;
}
.mock-label::after {
	/* Cylinder shading so the label reads as wrapped around glass. */
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(11, 27, 63, .14), transparent 20%, transparent 72%, rgba(11, 27, 63, .2));
	pointer-events: none;
}
.mock-label__tile { width: 3.7cqi; height: 3.7cqi; border-radius: 27%; background: var(--cobalt); }
.mock-label__brand {
	color: var(--navy);
	font-family: var(--font-head);
	font-size: 2.1cqi;
	font-weight: 800;
	letter-spacing: -.01em;
	line-height: 1;
	white-space: nowrap;
}
.mock-label__rule { width: 100%; height: 1px; background: var(--line); }
.mock-label__ruo {
	color: var(--cobalt);
	font-size: 1.22cqi;
	font-weight: 600;
	letter-spacing: .05em;
	text-transform: uppercase;
	line-height: 1.2;
	white-space: nowrap;
}
.mock-label__lines { display: grid; gap: .75cqi; width: 100%; }
.mock-label__lines i { display: block; height: .7cqi; border-radius: 1cqi; background: var(--line); }
.mock-label__lines i:last-child { width: 62%; }
.mock-label__bars {
	width: 58%;
	height: 2.9cqi;
	margin-top: auto;
	background: repeating-linear-gradient(90deg, var(--navy) 0 .25cqi, transparent .25cqi .6cqi, var(--navy) .6cqi 1cqi, transparent 1cqi 1.25cqi);
	opacity: .85;
}
.mock-label--dark { justify-content: center; gap: 1.4cqi; padding-left: 4.6cqi; background: var(--cobalt); border-color: var(--navy); }
.mock-label--dark .mock-label__tile { background: var(--white); width: 2.6cqi; height: 2.6cqi; }
.mock-label--dark .mock-label__lines i { background: rgba(255, 255, 255, .45); }

/* Floating badge (idle float) */
.mock-badge {
	position: absolute;
	right: 6cqi;
	bottom: 10cqi;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 1.8cqi;
	padding: 1.5cqi 3cqi 1.5cqi 1.5cqi;
	border: 1px solid var(--line);
	border-radius: var(--radius-pill);
	background: var(--white);
	color: var(--navy);
	font-size: max(10px, 2.3cqi);
	font-weight: 600;
	box-shadow: 0 2px 4px rgba(11, 27, 63, .05), 0 14px 30px rgba(11, 27, 63, .14);
	white-space: nowrap;
}
.mock-badge img { width: 5cqi; height: 5cqi; }

/* Hero motion: staggered entrance, then the badge idles. */
@keyframes bg-rise {
	from { opacity: 0; transform: translateY(12px); }
	to { opacity: 1; transform: none; }
}
@keyframes bg-float {
	0%, 100% { translate: 0 0; }
	50% { translate: 0 -1.4cqi; }
}
@keyframes bg-grow {
	from { transform: scaleX(0); }
	to { transform: scaleX(1); }
}
@keyframes bg-pop {
	0% { transform: scale(.4); opacity: 0; }
	70% { transform: scale(1.12); opacity: 1; }
	100% { transform: scale(1); }
}
@media (prefers-reduced-motion: no-preference) {
	.hero__in,
	.hero__piece {
		animation: bg-rise .8s var(--ease) both;
		animation-delay: calc(var(--i, 0) * 90ms + 60ms);
	}
	.hero__piece { animation-delay: calc(var(--i, 0) * 120ms + 250ms); }
	.mock-checklist__tick { animation: bg-pop .45s var(--ease) both; animation-delay: calc(var(--row) * 140ms + 800ms); }
	.mock-checklist__progress i { animation: bg-grow 1s var(--ease) both; animation-delay: 850ms; }
	.mock-badge { animation: bg-rise .8s var(--ease) both, bg-float 5s ease-in-out 1.6s infinite; animation-delay: calc(4 * 120ms + 250ms), 1.6s; }
}

/* Headline rotator ------------------------------------------------------- */
/* The last word cycles once, then settles on "rest.". Its own line, fixed
   height, so nothing reflows while it changes. */
.rotator {
	position: relative;
	display: block;
	height: 1.12em;
	overflow: hidden;
	color: var(--cobalt);
}
.rotator__word {
	position: absolute;
	inset: 0 auto auto 0;
	white-space: nowrap;
	background: linear-gradient(100deg, var(--cobalt) 20%, #3D6BFF 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	opacity: 0;
	transform: translateY(100%);
	transition: transform .55s var(--ease), opacity .55s var(--ease);
}
.rotator__word.is-final { opacity: 1; transform: none; }
.rotator.is-running .rotator__word { opacity: 0; transform: translateY(100%); }
.rotator.is-running .rotator__word.is-out { opacity: 0; transform: translateY(-100%); }
.rotator.is-running .rotator__word.is-active { opacity: 1; transform: none; }

/* Shared section bits ----------------------------------------------------- */
.eyebrow {
	margin-bottom: .875rem;
	color: var(--cobalt);
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.card {
	position: relative;
	border: 1px solid var(--line);
	border-radius: var(--radius-card);
	background: var(--white);
	box-shadow: var(--shadow);
}

.tag {
	display: inline-flex;
	align-items: center;
	padding: .25rem .75rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-pill);
	background: var(--ground);
	color: var(--muted);
	font-size: var(--fs-xs);
	font-weight: 600;
	line-height: 1.4;
	white-space: nowrap;
}
.tag--tint { border-color: transparent; background: var(--tint); color: var(--cobalt); }

.checklist { display: grid; gap: .5rem; }
.checklist li { display: flex; gap: .625rem; align-items: flex-start; font-size: var(--fs-sm); line-height: 1.5; }
.checklist .icon { flex: none; margin-top: .15em; color: var(--cobalt); }

.num { font-variant-numeric: tabular-nums; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.card--lift, .service, .format {
		transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
	}
	.service:hover, .format:hover {
		transform: translateY(-4px);
		border-color: #D3DCEE;
		box-shadow: var(--shadow-lg);
	}
}

/* Value strip ------------------------------------------------------------- */
.value { padding-block: clamp(3rem, 2.4rem + 2.6vw, 4.5rem); }
.value__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.25rem; }
.value__item { display: flex; flex-direction: column; gap: .875rem; }
.value__title { font-size: var(--fs-h4); letter-spacing: -.015em; line-height: 1.25; }
.value__text { margin-top: .375rem; color: var(--muted); font-size: var(--fs-sm); line-height: 1.55; }

@media (min-width: 768px) {
	.value__item { flex-direction: row; gap: 1rem; }
}
@media (min-width: 1024px) {
	.value__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
	.value__item { padding-inline: 1.75rem; border-left: 1px solid var(--line); }
	.value__item:first-child { padding-left: 0; border-left: 0; }
	.value__item:last-child { padding-right: 0; }
}

/* Services ---------------------------------------------------------------- */
.services { display: grid; gap: 1.25rem; }
.service { display: flex; flex-direction: column; padding: 1.75rem; }
.service__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.service__title { font-size: var(--fs-h3); letter-spacing: -.02em; }
.service__desc { margin-top: .5rem; margin-bottom: 1.25rem; color: var(--muted); font-size: var(--fs-sm); }
.service__fine { margin: -.5rem 0 1.25rem; color: var(--muted); font-size: var(--fs-xs); line-height: 1.55; }
.service__price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: .25rem .5rem;
	margin-top: auto;
	padding-top: 1.25rem;
	border-top: 1px solid var(--line);
}
.service .checklist { margin-bottom: 1.5rem; }
.price {
	color: var(--navy);
	font-family: var(--font-head);
	font-size: clamp(1.75rem, 1.6rem + .6vw, 2.125rem);
	font-weight: 800;
	letter-spacing: -.03em;
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
}
.price__unit { color: var(--muted); font-size: var(--fs-sm); font-weight: 500; }
.price__note { flex-basis: 100%; color: var(--cobalt); font-size: var(--fs-xs); font-weight: 600; }

.service--usage {
	border-style: dashed;
	border-color: #B9C8F2;
	background: linear-gradient(180deg, #F6F8FF, var(--white) 55%);
	box-shadow: none;
}

.service-promo {
	display: flex;
	flex-direction: column;
	padding: 1.75rem;
	border: 1px solid rgba(30, 71, 214, .14);
	border-radius: var(--radius-card);
	background:
		radial-gradient(80% 60% at 100% 0%, rgba(61, 107, 255, .14), transparent 70%),
		var(--tint);
}
.service-promo__eyebrow { color: var(--cobalt); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.service-promo__title { margin-top: .75rem; font-size: var(--fs-h3); letter-spacing: -.02em; }
.service-promo__text { margin-top: .5rem; color: var(--muted); font-size: var(--fs-sm); }
.service-promo__list { display: grid; gap: .5rem; margin: auto 0 1.25rem; padding-top: 1.5rem; }
.service-promo__list li { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: .5rem; border-bottom: 1px solid rgba(30, 71, 214, .12); color: var(--navy); font-weight: 600; }
.service-promo__list .price { font-size: 1.5rem; }

@media (min-width: 768px) {
	.services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
	.services { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
	.service, .service-promo { padding: 1.5rem; }
	.services .service__title { font-size: 1.3125rem; }
}

/* Pricing ----------------------------------------------------------------- */
.packages { display: grid; gap: 1.5rem; align-items: stretch; }
@media (min-width: 900px) {
	.packages { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; max-width: 1040px; margin-inline: auto; }
}

/* Package cards: Base is a white card; Plus is the solid-cobalt moment. */
.package {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: clamp(1.75rem, 1.4rem + 1.6vw, 2.75rem);
	border: 1px solid var(--line);
	border-radius: 24px;
	background: var(--white);
	box-shadow: var(--shadow);
	overflow: hidden;
	isolation: isolate;
}
.package--featured {
	border-color: transparent;
	background:
		radial-gradient(80% 60% at 100% 0%, rgba(143, 176, 255, .35), transparent 60%),
		linear-gradient(155deg, #2B56EA 0%, var(--cobalt) 45%, #1838B0 100%);
	color: var(--white);
	box-shadow: 0 2px 4px rgba(11, 27, 63, .08), 0 28px 64px -12px rgba(30, 71, 214, .45);
}
.package__glove {
	position: absolute;
	z-index: -1;
	right: -12%;
	bottom: -16%;
	width: 70%;
	color: var(--white);
	opacity: .08;
	transform: rotate(-10deg);
}
.package__eyebrow {
	position: absolute;
	top: clamp(1.75rem, 1.4rem + 1.6vw, 2.75rem);
	right: clamp(1.75rem, 1.4rem + 1.6vw, 2.75rem);
	padding: .3rem .8rem;
	border-radius: var(--radius-pill);
	background: rgba(255, 255, 255, .16);
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.package__title {
	font-size: var(--fs-h3);
	letter-spacing: .02em;
	text-transform: uppercase;
}
.package--featured .package__title { color: var(--white); }
.package__price { display: flex; align-items: baseline; gap: .625rem; margin-top: .75rem; }
.package__amount {
	color: var(--navy);
	font-family: var(--font-head);
	font-size: clamp(3rem, 2.5rem + 2.4vw, 4.25rem);
	font-weight: 800;
	letter-spacing: -.045em;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}
.package--featured .package__amount { color: var(--white); }
.package__unit { color: var(--muted); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.package--featured .package__unit { color: rgba(255, 255, 255, .85); }
.package__summary { margin-top: 1rem; color: var(--muted); font-size: var(--fs-sm); }
.package--featured .package__summary { color: rgba(255, 255, 255, .9); }
.package__items { margin: 1.5rem 0 2rem; border-top: 1px solid var(--line); }
.package--featured .package__items { border-top-color: rgba(255, 255, 255, .18); }
.package__items li {
	display: flex;
	align-items: center;
	gap: .75rem;
	min-height: 52px;
	padding-block: .5rem;
	border-bottom: 1px solid var(--line);
	font-weight: 500;
	line-height: 1.4;
}
.package--featured .package__items li { border-bottom-color: rgba(255, 255, 255, .18); }
.package__check {
	display: grid;
	place-items: center;
	flex: none;
	width: 26px; height: 26px;
	border-radius: 27%;
	background: var(--tint);
	color: var(--cobalt);
}
.package--featured .package__check { background: rgba(255, 255, 255, .18); color: var(--white); }
.package__check .icon { stroke-width: 2.5; }
.package__name { flex: 1; }
.package .btn { margin-top: auto; padding-inline: 1.25rem; font-size: 1rem; }
.package--featured :focus-visible { outline-color: var(--white); }

/* Package builder */
.builder { margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); padding: clamp(1.5rem, 1.2rem + 1.4vw, 2.5rem); }
.builder__head .eyebrow { margin-bottom: .5rem; }
.builder__body { display: grid; gap: .5rem 3rem; }
@media (min-width: 1024px) {
	.builder__body { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; }
	.builder__summary { position: sticky; top: calc(var(--header-h) + 1.5rem); margin-top: 1.5rem; }
	.builder__summary .builder__totals { margin-top: 0; }
}
.builder__title { font-size: var(--fs-h3); letter-spacing: -.02em; }
.builder__sub { margin-top: .375rem; color: var(--muted); font-size: var(--fs-sm); }
.builder__group { margin: 1.5rem 0 0; padding: 0; border: 0; min-width: 0; }
.builder__legend {
	display: flex;
	align-items: center;
	gap: .625rem;
	margin-bottom: .5rem;
	padding: 0;
	color: var(--navy);
	font-size: var(--fs-sm);
	font-weight: 600;
}
.builder__list { border-top: 1px solid var(--line); }

.switch-row {
	display: flex;
	align-items: center;
	gap: .875rem;
	min-height: 56px;
	border-bottom: 1px solid var(--line);
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.switch-row__name { flex: 1; color: var(--text); font-weight: 500; line-height: 1.3; }
.switch-row__price { color: var(--navy); font-weight: 600; font-variant-numeric: tabular-nums; }

.switch {
	position: relative;
	flex: none;
	width: 44px;
	height: 26px;
	margin: 0;
	border-radius: var(--radius-pill);
	background: #CBD3E6;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	transition: background-color .2s var(--ease);
}
.switch::after {
	content: "";
	position: absolute;
	top: 3px; left: 3px;
	width: 20px; height: 20px;
	border-radius: 50%;
	background: var(--white);
	box-shadow: 0 1px 3px rgba(11, 27, 63, .25);
	transition: transform .2s var(--ease);
}
.switch:checked { background: var(--cobalt); }
.switch:checked::after { transform: translateX(18px); }
.switch:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; }

.stepper-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; }
.stepper {
	display: inline-flex;
	align-items: center;
	gap: .25rem;
	padding: 4px;
	border: 1px solid var(--line);
	border-radius: var(--radius-pill);
	background: var(--ground);
}
.stepper__btn {
	display: grid;
	place-items: center;
	width: 44px; height: 44px;
	border: 0;
	border-radius: 50%;
	background: var(--white);
	color: var(--navy);
	box-shadow: 0 1px 2px rgba(11, 27, 63, .08), 0 0 0 1px var(--line);
	cursor: pointer;
}
.stepper__btn:hover { color: var(--cobalt); }
.stepper__btn:disabled { opacity: .4; cursor: default; }
.stepper__btn:focus-visible { border-radius: 50%; }
.stepper__input {
	width: 6.5ch;
	min-height: 44px;
	border: 0;
	background: transparent;
	color: var(--navy);
	font: 600 1.0625rem/1 var(--font-body);
	font-variant-numeric: tabular-nums;
	text-align: center;
}
.stepper__input:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 2px; border-radius: 8px; }
.stepper-row__help { color: var(--muted); font-size: var(--fs-xs); }

.builder__totals { display: grid; gap: .5rem; margin: 1.75rem 0 1.25rem; padding: 1.125rem 1.25rem; border-radius: 16px; background: var(--ground); }
.builder__total { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.builder__total dt { color: var(--muted); font-size: var(--fs-sm); font-weight: 500; }
.builder__total dt span { font-weight: 400; }
.builder__total dd { margin: 0; color: var(--navy); font-family: var(--font-head); font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; }
.builder__total:first-child dd { font-size: clamp(1.75rem, 1.6rem + .6vw, 2.125rem); }
.num.is-bumping { color: var(--cobalt); }

/* Catalogue --------------------------------------------------------------- */
.formats { display: grid; gap: 1rem; }
.format { display: flex; align-items: center; gap: 1.25rem; padding: 1.25rem 1.5rem; }
.format__art {
	display: grid;
	place-items: center;
	flex: none;
	width: 72px; height: 72px;
	border-radius: var(--radius-tile);
	background: linear-gradient(160deg, var(--tint), #DCE6FF);
	color: var(--cobalt);
}
.format__art .icon { stroke-width: 1.5; }
.format__title { font-size: var(--fs-h4); letter-spacing: -.015em; }
.format__desc { margin-top: .25rem; color: var(--muted); font-size: var(--fs-sm); line-height: 1.5; }

@media (min-width: 640px) {
	.formats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
}
@media (min-width: 1024px) {
	.formats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
	.format { flex-direction: column; align-items: flex-start; padding: 1.75rem; }
	.format__art { margin-bottom: .25rem; }
}

.catalogue-cta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
	margin-top: 2rem;
	padding: 1.5rem 1.75rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-card);
	background: var(--white);
}
.catalogue-cta p { color: var(--navy); font-weight: 600; }
@media (min-width: 768px) {
	.catalogue-cta { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* How it works ------------------------------------------------------------ */
.steps { position: relative; display: grid; gap: 2rem; margin: 0; padding: 0; list-style: none; }
.step:not(:last-child)::before {
	/* Connecting line (vertical on mobile): one segment per gap. */
	content: "";
	position: absolute;
	top: 56px; bottom: -2rem; left: 27px;
	width: 2px;
	background: linear-gradient(180deg, var(--cobalt), #B9C8F2);
	opacity: .35;
}
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 1.25rem; align-items: start; align-content: start; }
.step__num {
	position: relative;
	display: grid;
	place-items: center;
	width: 56px; height: 56px;
	border-radius: var(--radius-tile);
	background: var(--cobalt);
	color: var(--white);
	font-family: var(--font-head);
	font-size: 1.375rem;
	font-weight: 800;
	box-shadow: 0 0 0 8px var(--white), 0 10px 24px rgba(30, 71, 214, .3);
}
.step__body { padding-top: .75rem; }
.step__title { font-size: var(--fs-h3); letter-spacing: -.02em; }
.step__text { margin-top: .5rem; color: var(--muted); }

@media (min-width: 1024px) {
	.steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
	.step:not(:last-child)::before { display: none; }
	.steps::before {
		content: "";
		position: absolute;
		top: 27px;
		left: 28px; right: calc(25% - 28px);
		height: 2px;
		background: linear-gradient(90deg, var(--cobalt), #B9C8F2);
		opacity: .35;
	}
	.step { grid-template-columns: 1fr; gap: 1.5rem; }
	.step__body { padding-top: 0; padding-right: 1rem; }
}

/* FAQ --------------------------------------------------------------------- */
.faq-layout { display: grid; gap: 1rem; }
@media (min-width: 1024px) {
	.faq-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 4rem; align-items: start; }
	.faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 2rem); }
}
.faq { display: grid; gap: .75rem; }
.faq__item {
	border: 1px solid var(--line);
	border-radius: 16px;
	background: var(--white);
	transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.faq__item[open] { border-color: #C9D5F2; box-shadow: var(--shadow); }
.faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 64px;
	padding: 1rem 1.25rem 1rem 1.5rem;
	border-radius: 16px;
	list-style: none;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q h3 { font-size: var(--fs-h4); font-weight: 700; letter-spacing: -.015em; line-height: 1.35; }
.faq__q:hover h3 { color: var(--cobalt); }
.faq__q:focus-visible { outline-offset: -2px; border-radius: 16px; }
.faq__icon {
	position: relative;
	flex: none;
	width: 32px; height: 32px;
	border-radius: 50%;
	background: var(--tint);
	transition: background-color .2s var(--ease), transform .3s var(--ease);
}
.faq__icon::before, .faq__icon::after {
	content: "";
	position: absolute;
	top: 50%; left: 50%;
	width: 12px; height: 2px;
	margin: -1px 0 0 -6px;
	border-radius: 2px;
	background: var(--cobalt);
	transition: transform .3s var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--cobalt); transform: rotate(180deg); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: var(--white); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__a { padding: 0 1.5rem 1.375rem; color: var(--muted); overflow: hidden; }

/* Apply ------------------------------------------------------------------- */
.apply { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) {
	.apply { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 4rem; align-items: start; }
	.apply__intro { position: sticky; top: calc(var(--header-h) + 2rem); }
}
.apply__intro h2 { font-size: var(--fs-h2); letter-spacing: -.03em; }
.apply__lead { margin-top: 1rem; color: var(--muted); font-size: var(--fs-lead); }
.apply__mail {
	display: inline-flex;
	align-items: center;
	gap: .75rem;
	min-height: 44px;
	margin-top: 1.75rem;
	color: var(--navy);
	font-weight: 600;
	text-decoration: none;
}
.apply__mail:hover { color: var(--cobalt); }
.apply__card { padding: clamp(1.5rem, 1.1rem + 1.8vw, 2.5rem); }
.apply__fine { margin-top: 1rem; color: var(--muted); font-size: var(--fs-xs); text-align: center; }

/* Form (Fluent Forms markup) --------------------------------------------- */
/* Scoped to #apply and strong enough to beat Fluent Forms' own styles and
   the inline colours it puts on the submit button. */
#apply .frm-fluent-form { margin: 0; }
#apply .frm-fluent-form fieldset { margin: 0 0 1.25rem; padding: 0; border: 0; min-width: 0; }
#apply .ff-el-group { margin: 0 0 1.25rem; }
#apply .ff-t-container { display: grid; gap: 0 1rem; }
#apply .ff-t-cell { min-width: 0; }
@media (min-width: 560px) {
	#apply .ff-t-container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
#apply .ff-el-input--label { display: block; margin: 0 0 .5rem; padding: 0; }
#apply .ff-el-input--label label,
#apply .ff-el-input--label > span {
	display: inline;
	color: var(--navy);
	font-size: var(--fs-sm);
	font-weight: 600;
	line-height: 1.4;
}
#apply .ff-el-is-required.asterisk-right label::after,
#apply .ff-el-is-required .asterisk-right label::after,
#apply .ff-el-is-required .asterisk-right > span::after { content: " *"; margin-left: 0; color: var(--cobalt); }
#apply .bg-optional { color: var(--muted); font-weight: 400; }

#apply .ff-el-form-control {
	display: block;
	width: 100%;
	height: 52px;
	padding: 0 1rem;
	border: 1.5px solid #D6DDEB;
	border-radius: var(--radius-input);
	background: var(--white);
	color: var(--text);
	font: 400 1rem/1.4 var(--font-body);
	box-shadow: none;
	transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
	-webkit-appearance: none;
	appearance: none;
}
#apply textarea.ff-el-form-control { height: auto; min-height: 128px; padding: .875rem 1rem; resize: vertical; }
#apply .ff-el-form-control:hover { border-color: #B9C4DB; }
#apply .ff-el-form-control:focus {
	border-color: var(--cobalt);
	outline: 2px solid var(--cobalt);
	outline-offset: 2px;
	box-shadow: none;
}

/* Checkbox and radio cards */
#apply .ff-el-group .ff-el-input--content { display: grid; gap: .5rem; }
#apply .ff-el-form-check,
#apply .ff_list_2col .ff-el-form-check { display: block; width: auto; margin: 0; padding: 0; }
#apply .ff-el-form-check-label {
	display: flex;
	align-items: center;
	gap: .75rem;
	min-height: 48px;
	margin: 0;
	padding: .625rem .875rem;
	border: 1.5px solid var(--line);
	border-radius: var(--radius-input);
	background: var(--white);
	color: var(--text);
	font-size: var(--fs-sm);
	font-weight: 500;
	line-height: 1.35;
	cursor: pointer;
	transition: border-color .15s var(--ease), background-color .15s var(--ease);
}
#apply .ff-el-form-check-label:hover { border-color: #C9D5F2; }
#apply .ff-el-form-check-label:has(:checked) { border-color: var(--cobalt); background: #F6F8FF; }
#apply .ff-el-form-check-input {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 0;
	border: 1.5px solid #B9C4DB;
	border-radius: 6px;
	background: var(--white) center / 14px no-repeat;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	transition: background-color .15s var(--ease), border-color .15s var(--ease);
}
#apply .ff-el-form-check-radio { border-radius: 50%; }
#apply .ff-el-form-check-input:checked {
	border-color: var(--cobalt);
	background-color: var(--cobalt);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E");
}
#apply .ff-el-form-check-radio:checked {
	background-image: radial-gradient(circle, var(--white) 0 3.5px, transparent 4px);
	background-size: auto;
}
#apply .ff-el-form-check-input:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 2px; }
@media (min-width: 560px) {
	#apply fieldset.ff-el-group:first-of-type .ff-el-input--content,
	#apply .ff_list_2col .ff-el-input--content { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Errors */
#apply .ff-el-is-error .ff-el-form-control,
#apply .ff-el-is-error .ff-el-form-check-label { border-color: #C0362C; }
#apply .ff-el-is-error .text-danger,
#apply .error.text-danger { margin-top: .375rem; color: #B42318; font-size: var(--fs-xs); font-weight: 500; }
#apply .ff-errors-in-stack { margin-top: 1rem; color: #B42318; font-size: var(--fs-sm); }

/* Submit */
#apply .ff_submit_btn_wrapper { margin: 1.75rem 0 0; }
#apply .ff-btn-submit {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 56px;
	padding: 1rem 1.75rem;
	border: 0 !important;
	border-radius: var(--radius-pill) !important;
	background: var(--cobalt) !important;
	color: var(--white) !important;
	font: 600 1.0625rem/1.2 var(--font-body) !important;
	box-shadow: 0 1px 2px rgba(11, 27, 63, .1), 0 6px 16px rgba(30, 71, 214, .22);
	cursor: pointer;
	transition: background-color .2s var(--ease), box-shadow .2s var(--ease);
	opacity: 1 !important;
}
#apply .ff-btn-submit:hover { background: var(--cobalt-hover) !important; }
#apply .ff-btn-submit:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; }
#apply .ff-btn-submit.disabled, #apply .ff-btn-submit[disabled] { opacity: .7 !important; }

/* Success state (inline, no redirect) */
#apply .ff-message-success {
	display: grid;
	justify-items: center;
	gap: 1rem;
	margin: 0;
	padding: 2.5rem .5rem 1.5rem;
	border: 0;
	background: none;
	box-shadow: none;
	color: var(--navy);
	font-size: var(--fs-lead);
	font-weight: 600;
	text-align: center;
}
#apply .ff-message-success::before {
	content: "";
	width: 64px; height: 64px;
	border-radius: var(--radius-tile);
	background: var(--cobalt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E") center / 32px no-repeat;
	box-shadow: 0 12px 28px rgba(30, 71, 214, .3);
}
#apply .ff-message-success p { margin: 0; }
.apply__card:has(.ff-message-success) .apply__fine { display: none; }

/* Footer ------------------------------------------------------------------ */
.site-footer {
	padding-block: clamp(3.5rem, 3rem + 2.4vw, 5rem) 2rem;
	background: var(--ground);
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: var(--fs-sm);
}
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--cobalt); }
.site-footer__top {
	display: grid;
	gap: 2.5rem;
	padding-bottom: 2.5rem;
	border-bottom: 1px solid var(--line);
}
.site-footer__desc { margin-top: 1rem; max-width: 22rem; font-size: 1rem; }
.site-footer__nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; }
.site-footer__nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; }
.site-footer__label { color: var(--navy); font-weight: 600; margin-bottom: .25rem; }
.site-footer__mail { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-weight: 500; }
.site-footer .site-footer__mail { color: var(--cobalt); }
.site-footer__ruo {
	max-width: 64rem;
	padding-block: 2rem;
	color: var(--muted);
	font-size: var(--fs-xs);
	line-height: 1.65;
}
.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: .5rem 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--line);
	font-size: var(--fs-xs);
}
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.site-footer__legal a { display: inline-flex; align-items: center; min-height: 44px; }

@media (min-width: 768px) {
	.site-footer__top { grid-template-columns: 1.3fr 1fr .9fr; gap: 3rem; }
}

/* Text pages (Privacy, Terms) -------------------------------------------- */
.text-page { padding-block: clamp(3rem, 2rem + 4vw, 6rem) var(--section-y); }
.text-page__title { font-size: var(--fs-h2); letter-spacing: -.03em; margin-bottom: 2rem; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; font-size: var(--fs-h3); }
.prose h3 { margin-top: 1.8em; font-size: var(--fs-h4); }
.prose ul { padding-left: 1.25rem; list-style: disc; }
.prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: .4em; }
.prose .draft-note {
	padding: 1rem 1.25rem;
	border: 1px solid #F2D27A;
	border-radius: var(--radius-input);
	background: #FFF8E1;
	color: #5A4300;
	font-size: var(--fs-sm);
}

/* Motion ------------------------------------------------------------------ */
.js .reveal {
	opacity: 0;
	transform: translateY(12px);
	transition: opacity .6s var(--ease), transform .6s var(--ease);
	transition-delay: var(--reveal-delay, 0ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

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

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
	.js .reveal { opacity: 1; transform: none; }
}

/* Programmatic focus targets (sections reached via anchor links). */
[tabindex="-1"]:focus:not(:focus-visible) { outline: none; }
