/* ═════════════════════════════════════════════════════════════════════════
   Starhold fleet base: the shared primitives of starhold.dev, re-expressed as
   plain CSS classes for starhold.fyi, status.starhold.fyi and starhold.app.

   Source of the look: apps/storefront/src/app.css plus the storefront
   components (Header, Footer, Brand, Wordmark, HeroArt, TerminalCard, the home
   page tiles). Tokens only: no colour literal appears below this line. The
   source of truth is brand/fleet-base.css; every app holds a byte copy written
   by `node brand/check-drift.mjs --write`. Never edit an app copy.

   Load order: fleet-tokens.css, fleet-map.css, accent.css, fleet-base.css,
   then the site's own CSS.

   Scoping. Element rules (body, headings, links, lists) apply only inside
   `.fleet-page` (put it on <body> for status and hangar) or `.fleet-scope`
   (docs wraps its splash sections in it), so Starlight's own chrome is never
   restyled by accident. Every class below is global.

   Motion. Hero-art animation lives only inside
   `@media (prefers-reduced-motion: no-preference)`, every animation has a
   finite iteration count, and everything rests by 30 s after load (B5).
   ═════════════════════════════════════════════════════════════════════════ */

/* B10: dark only, everywhere. */
:root {
	color-scheme: dark;
}

/* The one lockup rule: brand mark and wordmark stay store amber on every site.
   Whitelisted by name in check 5. */
.brand,
.wordmark {
	--accent: var(--fleet-store-accent);
}

/* ═══ base (scoped) ═══════════════════════════════════════════════════════ */
.fleet-page *,
.fleet-page *::before,
.fleet-page *::after,
.fleet-scope *,
.fleet-scope *::before,
.fleet-scope *::after {
	box-sizing: border-box;
}

html:has(> body.fleet-page) {
	scroll-behavior: smooth;
	scroll-padding-top: var(--sp-8);
}

body.fleet-page {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-sans);
	font-size: var(--fs-2);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

:where(.fleet-page, .fleet-scope) :is(h1, h2, h3, h4) {
	/* No uppercase, no wide tracking: the storefront's heading rule. */
	font-weight: 650;
	letter-spacing: -0.01em;
	line-height: 1.18;
	margin: 0 0 var(--sp-3);
	text-wrap: balance;
	color: var(--text);
}
:where(.fleet-page, .fleet-scope) h1 {
	font-size: var(--fs-6);
}
:where(.fleet-page, .fleet-scope) h2 {
	font-size: var(--fs-5);
}
:where(.fleet-page, .fleet-scope) h3 {
	font-size: var(--fs-3);
}
:where(.fleet-page, .fleet-scope) h4 {
	font-size: var(--fs-2);
}
@media (max-width: 520px) {
	:where(.fleet-page, .fleet-scope) h1 {
		font-size: var(--fs-5);
	}
}
@media (min-width: 800px) {
	:where(.fleet-page, .fleet-scope) h1 {
		font-size: var(--fs-7);
	}
}

:where(.fleet-page, .fleet-scope) p {
	margin: 0 0 var(--sp-4);
}

:where(.fleet-page, .fleet-scope) a {
	color: var(--accent);
	text-decoration: none;
}
:where(.fleet-page, .fleet-scope) a:hover {
	color: var(--accent-hover);
	text-decoration: underline;
}
/* Links in running text never rely on colour alone (WCAG 1.4.1). Scoped to
   <main> so nav, footer lists, tiles and buttons keep their own treatment. */
:where(.fleet-page, .fleet-scope) main p a:not(.btn),
:where(.fleet-page, .fleet-scope) main .prose li a,
.byline a,
.prose a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

:where(.fleet-page, .fleet-scope) :is(ul, ol) {
	margin: 0 0 var(--sp-4);
	padding-left: var(--sp-5);
}
:where(.fleet-page, .fleet-scope) li {
	margin-bottom: var(--sp-2);
}

/* One serif-italic accent word per section heading; never inside the h1. */
.accent-word {
	font-family: var(--font-serif);
	font-style: italic;
	font-weight: 500;
	color: inherit;
}

/* One visible focus treatment, everywhere (R10). */
:focus-visible {
	outline: 2px solid var(--focus);
	outline-offset: 3px;
	border-radius: var(--radius-sm);
}

/* Safety net. Hero motion already lives only under no-preference; this stops
   anything a site adds later. No !important (Starlight layers forbid it), so a
   site animation must also sit under no-preference to be stilled. */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*,
	*::before,
	*::after {
		animation-duration: 0.001ms;
		animation-iteration-count: 1;
		transition-duration: 0.001ms;
	}
}

/* ═══ accessibility helpers ═══════════════════════════════════════════════ */
.skip-link {
	position: absolute;
	left: var(--sp-4);
	top: calc(-1 * var(--sp-9));
	z-index: 50;
	padding: var(--sp-2) var(--sp-4);
	border-radius: var(--radius-pill);
	background: var(--accent);
	color: var(--accent-ink);
	font-weight: 600;
	font-size: var(--fs-1);
	text-decoration: none;
}
.skip-link:focus,
.skip-link:focus-visible {
	top: var(--sp-3);
	color: var(--accent-ink);
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* ═══ layout primitives ═══════════════════════════════════════════════════ */
.section {
	max-width: var(--page);
	margin: 0 auto;
	padding: var(--sp-7) var(--sp-5);
}
.section-tight {
	padding-top: var(--sp-5);
	padding-bottom: var(--sp-5);
}
.section-divided {
	border-top: 1px solid var(--border);
}

.page-section {
	max-width: var(--measure);
	margin: 0 auto;
	padding: var(--sp-7) var(--sp-5);
}

.prose {
	max-width: var(--measure);
}
.prose p,
.prose li {
	color: var(--text-muted);
}
.prose strong {
	color: var(--text);
}

.lede {
	font-size: var(--fs-3);
	color: var(--text-muted);
	max-width: var(--measure);
}

.byline {
	color: var(--text-muted);
	font-size: var(--fs-1);
	max-width: var(--measure);
	margin-top: var(--sp-4);
}

.grid {
	display: grid;
	gap: var(--sp-4);
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
/* Two up on desktop, one up on phones; never strands a fourth card. */
.grid-2 {
	display: grid;
	gap: var(--sp-4);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	max-width: 900px;
}

/* ═══ micro-type: the only place uppercase is allowed ═════════════════════ */
.eyebrow,
.kicker,
.label,
.tag,
.badge {
	text-transform: uppercase;
	letter-spacing: 0.09em;
	font-size: var(--fs-0);
	font-weight: 600;
	color: var(--text-muted);
	margin: 0 0 var(--sp-2);
	display: block;
}
.tag,
.badge {
	display: inline-block;
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-pill);
	padding: 2px var(--sp-3);
	margin: 0;
	line-height: 1.5;
}
.badge-accent,
.tag-accent {
	color: var(--accent);
	border-color: var(--accent-quiet);
	background: var(--accent-quiet);
}

/* ═══ buttons: pills, always (R21) ════════════════════════════════════════ */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--sp-2);
	padding: var(--sp-3) var(--sp-5);
	border-radius: var(--radius-pill);
	border: 1px solid transparent;
	font: inherit;
	font-size: var(--fs-1);
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition:
		background-color 0.15s ease,
		border-color 0.15s ease,
		color 0.15s ease;
}
.btn:hover {
	text-decoration: none;
}
.btn:focus-visible {
	outline: 2px solid var(--focus);
	outline-offset: 3px;
}
.btn-primary {
	background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
	color: var(--accent-ink);
}
.btn-primary:hover {
	background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent) 100%);
	color: var(--accent-ink);
}
.btn-secondary {
	background: var(--surface-2);
	border-color: var(--border-strong);
	color: var(--text);
}
.btn-secondary:hover {
	border-color: var(--accent);
	color: var(--text);
}
.btn-ghost,
.btn-minimal {
	background: transparent;
	border-color: var(--border);
	color: var(--text);
}
.btn-ghost:hover,
.btn-minimal:hover {
	border-color: var(--border-strong);
	color: var(--text);
}
.btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}
.btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-3);
	margin: var(--sp-5) 0 0;
}

/* ═══ fleet-card: the storefront .card, renamed so Starlight's .card is safe ═ */
.fleet-card {
	display: block;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	padding: var(--sp-5);
	color: inherit;
}
a.fleet-card:hover {
	border-color: var(--border-strong);
	background: var(--surface-2);
	text-decoration: none;
}
.fleet-card :is(h3, h4) {
	color: var(--text);
	margin-bottom: var(--sp-2);
}
.fleet-card p {
	color: var(--text-muted);
	font-size: var(--fs-1);
	margin-bottom: 0;
}
.fleet-card p + p {
	margin-top: var(--sp-3);
}

/* ═══ proof strip ═════════════════════════════════════════════════════════ */
.proof {
	display: grid;
	gap: var(--sp-3);
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}
.proof li {
	margin: 0;
}
.proof a,
.proof .proof-item {
	display: block;
	height: 100%;
	padding: var(--sp-3) var(--sp-4);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background: var(--surface);
	color: var(--text);
	font-size: var(--fs-1);
	font-weight: 600;
	text-decoration: none;
}
.proof a:hover {
	border-color: var(--accent);
	color: var(--text);
	text-decoration: none;
}
.proof .verifier {
	display: block;
	font-family: var(--font-mono);
	font-size: var(--fs-0);
	font-weight: 400;
	color: var(--text-muted);
	margin-top: var(--sp-1);
	overflow-wrap: anywhere;
}

/* ═══ icon chip ═══════════════════════════════════════════════════════════ */
.chip-lg {
	display: grid;
	place-items: center;
	width: var(--chip);
	height: var(--chip);
	margin-bottom: var(--sp-4);
	border-radius: var(--radius-md);
	background: var(--accent-quiet);
	border: 1px solid var(--border-strong);
	color: var(--accent);
}
.chip-lg svg {
	width: var(--icon);
	height: var(--icon);
	fill: none;
	stroke: currentColor;
	stroke-width: var(--stroke-w);
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* ═══ tiles (storefront capability tiles) ═════════════════════════════════ */
.tiles {
	display: grid;
	gap: var(--sp-4);
	grid-template-columns: 1fr;
}
@media (min-width: 700px) {
	.tiles {
		grid-template-columns: 1fr 1fr;
		gap: var(--sp-5);
	}
}
.tile {
	position: relative;
	display: block;
	padding: var(--sp-5);
	background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-soft);
	color: inherit;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		border-color 0.2s ease;
}
.tile:hover {
	transform: translateY(var(--lift));
	box-shadow: var(--shadow-lift);
	border-color: var(--accent);
	text-decoration: none;
	color: inherit;
}
.tile :is(h3, h4) {
	color: var(--text);
	margin-bottom: var(--sp-2);
}
.tile :is(h3, h4) a {
	color: inherit;
	text-decoration: none;
}
.tile p {
	color: var(--text-muted);
	font-size: var(--fs-1);
	margin: 0;
	padding-right: var(--sp-6); /* keeps copy clear of the arrow */
}
.tile .go {
	position: absolute;
	right: var(--sp-5);
	bottom: var(--sp-5);
	color: var(--accent);
	transition: transform 0.2s ease;
}
.tile:hover .go {
	transform: translateX(var(--sp-1));
}
@media (prefers-reduced-motion: reduce) {
	.tile:hover,
	.tile:hover .go {
		transform: none;
	}
}

/* Stretched link (§4.2): an <article class="tile"> whose heading link covers
   the whole tile, so the accessible name stays the product name only. Anything
   that must stay selectable or separately clickable sits in .tile-meta. */
.stretched::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
}
.tile-meta {
	position: relative;
	z-index: 1;
}
.tile .tile-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--sp-2);
	margin-top: var(--sp-3);
}

/* ═══ live state chip: text always, dot as a second cue, never colour alone ═ */
.state-chip {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-2);
	padding: 2px var(--sp-3);
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-pill);
	font-size: var(--fs-0);
	font-weight: 600;
	line-height: 1.5;
	color: var(--text-muted);
	white-space: nowrap;
}
.state-chip::before {
	content: '';
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: currentColor;
	flex-shrink: 0;
}
.state-chip[data-state='ok'] {
	color: var(--ok);
}
.state-chip[data-state='down'] {
	color: var(--danger);
	border-color: var(--danger);
}
.state-chip:is([data-state='unknown'], [data-state='stale'], [data-state='pending'], [data-state='none']) {
	color: var(--text-muted);
}
/* No-JS fallback text sits in the same slot without pretending to be a chip. */
.state-chip[data-state='nojs'] {
	border-style: dashed;
}
.state-chip[data-state='nojs']::before {
	display: none;
}

/* ═══ terminal card (storefront TerminalCard) ═════════════════════════════ */
.term {
	margin: 0;
	background: var(--bg-raised);
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-lift);
	overflow: hidden;
	min-width: 0;
}
.term .bar {
	display: flex;
	align-items: center;
	gap: var(--sp-2);
	padding: var(--sp-2) var(--sp-3);
	background: var(--surface-2);
	border-bottom: 1px solid var(--border);
}
/* Window dots are neutral on purpose: red and green are reserved for status. */
.term .dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--border-strong);
}
.term .name {
	margin-left: var(--sp-2);
	font-family: var(--font-mono);
	font-size: var(--fs-0);
	color: var(--text-muted);
}
.term .body {
	padding: var(--sp-4);
	font-family: var(--font-mono);
	font-size: var(--fs-1);
	line-height: 1.7;
	overflow-x: auto;
}
.term .ln {
	margin: 0;
	display: flex;
	justify-content: space-between;
	gap: var(--sp-4);
	white-space: pre;
	color: var(--text);
}
.term .v {
	color: var(--text-muted);
}
.term .dim .t {
	color: var(--text-muted);
}
.term .cmd .t::before {
	content: '$ ';
	color: var(--accent);
}
.term .ok .v {
	color: var(--ok);
}
.term .err .v {
	color: var(--danger);
}
.term .caret {
	display: inline-block;
	width: 8px;
	height: 1em;
	margin-top: var(--sp-1);
	background: var(--accent);
	vertical-align: text-bottom;
}
.term figcaption {
	padding: var(--sp-3) var(--sp-4);
	border-top: 1px solid var(--border);
	font-size: var(--fs-0);
	color: var(--text-muted);
}

/* ═══ closing band ════════════════════════════════════════════════════════ */
.band {
	padding: var(--sp-7) var(--sp-5);
	border: 1px solid var(--glow-edge);
	border-radius: var(--radius-lg);
	background:
		radial-gradient(ellipse at 50% 0%, var(--glow) 0%, transparent 70%),
		linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
	box-shadow: var(--shadow-soft);
}

/* ═══ wordmark: solid "Star", hollow "hold", always store amber ═══════════ */
.wordmark {
	/* --font-display is referenced only on .wordmark (R13, check 5). */
	font-family: var(--font-display);
	font-weight: 400;
	line-height: 1;
	white-space: nowrap;
}
.wordmark.header {
	font-size: var(--fs-2);
	letter-spacing: 0.02em;
}
.wordmark.hero {
	display: block;
	font-size: var(--fs-display);
	letter-spacing: -0.01em;
}
.wordmark .solid {
	color: var(--text);
}
/* Fallback first: without text-stroke, "hold" is plain amber, never invisible. */
.wordmark .outline {
	color: var(--accent);
}
@supports (-webkit-text-stroke: 1px currentColor) {
	.wordmark .outline {
		color: transparent;
		-webkit-text-stroke: var(--stroke-w) var(--accent);
	}
}

/* ═══ brand lockup: hex mark + header wordmark ════════════════════════════ */
.brand {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-2);
	flex-shrink: 0;
	font-weight: 700;
	font-size: var(--fs-3);
	color: var(--text);
	letter-spacing: -0.01em;
	text-decoration: none;
}
.brand:hover {
	color: var(--text);
	text-decoration: none;
}
.brand .mark {
	width: 1.5em;
	height: 1.5em;
	fill: var(--accent);
	flex-shrink: 0;
}

/* ═══ hero (storefront .hero, renamed so Starlight's .hero is untouched) ══
   Markup: section.fleet-hero > div.fleet-hero-art[aria-hidden] + div.fleet-hero-inner
   > p.eyebrow, div.fleet-hero-mark > span.wordmark.hero, div.fleet-hero-copy
   > h1, p.lede, div.btn-row, p.byline. The bloom on the art side is the site
   accent's --glow: the one place each site's colour is felt at full size. */
.fleet-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(ellipse 55% 70% at 82% 38%, var(--glow) 0%, transparent 70%),
		radial-gradient(ellipse at 20% -10%, var(--bg-raised) 0%, var(--bg) 65%);
	border-bottom: 1px solid var(--border);
}
.fleet-hero-inner {
	position: relative;
	max-width: var(--page);
	margin: 0 auto;
	padding: var(--sp-6) var(--sp-5);
}
.fleet-hero-mark {
	margin: var(--sp-2) 0 var(--sp-4);
}
.fleet-hero-art {
	position: absolute;
	right: -30%;
	bottom: 8%;
	width: 110%;
	max-width: 560px;
	opacity: 0.22;
	pointer-events: none;
}
@media (min-width: 900px) {
	.fleet-hero-copy {
		max-width: 54%;
	}
	.fleet-hero-art {
		right: max(0px, calc((100% - var(--page)) / 2 - var(--sp-7)));
		bottom: var(--sp-5);
		width: 40%;
		max-width: 520px;
		opacity: 1;
	}
}

/* ═══ hero art (HeroArt technique) ════════════════════════════════════════
   <svg class="fleet-art" viewBox="0 0 480 480" fill="none" stroke="currentColor"
   stroke-width="1.5" aria-hidden="true" focusable="false">. Colour roles by
   class: .lane (faint guides), .quiet (structure), .lit (one accent line),
   .stars and .lights (filled points). Motion by class: .drift (14 s), .stars
   circles (twinkle 5/7/9 s), .lights circles (blink 3.6 s). Every count is
   finite and the longest run ends before 30 s, resting on its last frame. */
.fleet-art {
	display: block;
	width: 100%;
	height: auto;
	color: var(--text-muted);
	overflow: visible;
}
.fleet-art .lane {
	color: var(--border-strong);
}
.fleet-art .quiet,
.fleet-art .stars {
	color: var(--text-muted);
}
.fleet-art .lit,
.fleet-art .lights {
	color: var(--accent);
}
.fleet-art .drift {
	transform-box: fill-box;
	transform-origin: center;
}
/* Resting frame, also the reduced-motion frame: points at 0.8 (B5). */
.fleet-art .stars circle,
.fleet-art .lights circle {
	opacity: 0.8;
}
@media (prefers-reduced-motion: no-preference) {
	.fleet-art .drift {
		animation: fleet-drift 14s ease-in-out 2 alternate both;
	}
	.fleet-art .stars circle {
		animation: fleet-twinkle 5s ease-in-out 5 both;
	}
	.fleet-art .stars circle:nth-child(3n) {
		animation-delay: -1.7s;
		animation-duration: 7s;
		animation-iteration-count: 4;
	}
	.fleet-art .stars circle:nth-child(3n + 1) {
		animation-delay: -3.2s;
	}
	.fleet-art .stars circle:nth-child(5n) {
		animation-duration: 9s;
		animation-iteration-count: 3;
	}
	.fleet-art .lights circle {
		animation: fleet-blink 3.6s ease-in-out 8 both;
	}
	.fleet-art .lights circle:nth-child(2n) {
		animation-delay: -1.8s;
	}
}
@keyframes fleet-drift {
	from {
		transform: translateY(-6px) rotate(-0.8deg);
	}
	to {
		transform: translateY(8px) rotate(0.8deg);
	}
}
@keyframes fleet-twinkle {
	0%,
	100% {
		opacity: 0.8;
	}
	35% {
		opacity: 0.25;
	}
	70% {
		opacity: 1;
	}
}
@keyframes fleet-blink {
	0%,
	100% {
		opacity: 0.8;
	}
	30% {
		opacity: 0.45;
	}
	65% {
		opacity: 1;
	}
}

/* ═══ scroll reveal: translate only, visible by default (B6) ══════════════ */
@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		.reveal {
			animation: fleet-reveal-in linear both;
			animation-timeline: view();
			animation-range: entry 0% entry 35%;
		}
	}
}
@keyframes fleet-reveal-in {
	from {
		translate: 0 var(--sp-5);
	}
	to {
		translate: 0 0;
	}
}

/* ═══ fleet header ════════════════════════════════════════════════════════
   header.fleet-header > div.fleet-header-inner > a.brand, span.tag.site-tag,
   [nav.site-nav], nav.fleet-links > (div.fleet-wide > ul.fleet + a.btn.header-cta)
   + details.fleet-menu > summary + div.fleet-menu-panel (same list + CTA).
   Below the breakpoint the wide cluster goes display:none and the <details>
   menu appears, so collapsed links are gone, not merely clipped. Default
   breakpoint 640 px; data-break="800" on .fleet-header moves it to 800 px
   (docs, Starlight md). `.fleet-header--embedded` drops the bar styling when
   the cluster lives inside another header (Starlight). */
.fleet-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: var(--bg-raised);
	border-bottom: 1px solid var(--border);
}
.fleet-header--embedded {
	position: static;
	background: none;
	border-bottom: 0;
	display: flex;
	align-items: center;
	gap: var(--sp-4);
}
.fleet-header-inner {
	display: flex;
	align-items: center;
	gap: var(--sp-4);
	max-width: var(--page);
	margin: 0 auto;
	padding: var(--sp-3) var(--sp-5);
	width: 100%;
}
.site-tag {
	color: var(--accent);
	border-color: var(--accent-quiet);
	background: var(--accent-quiet);
}
.site-nav,
.fleet-links {
	display: flex;
	align-items: center;
	gap: var(--sp-4);
}
.fleet-links {
	margin-left: auto;
}
.site-nav ul,
.fleet-links ul.fleet {
	display: flex;
	align-items: center;
	gap: var(--sp-5);
	list-style: none;
	margin: 0;
	padding: 0;
}
.site-nav li,
.fleet-links ul.fleet li {
	margin: 0;
}
.site-nav a {
	color: var(--text);
	font-size: var(--fs-1);
	font-weight: 600;
	text-decoration: none;
}
ul.fleet a {
	color: var(--text-muted);
	font-size: var(--fs-1);
	text-decoration: none;
}
.site-nav a:hover,
ul.fleet a:hover {
	color: var(--text);
	text-decoration: none;
}
ul.fleet a[aria-current='page'] {
	color: var(--accent);
	text-decoration: underline;
	text-underline-offset: 6px;
	text-decoration-thickness: 2px;
}
.fleet-wide {
	display: flex;
	align-items: center;
	gap: var(--sp-5);
}
.header-cta {
	font-size: var(--fs-0);
	padding: var(--sp-2) var(--sp-4);
	white-space: nowrap;
}
.fleet-menu {
	display: none;
	position: relative;
}
.fleet-menu > summary {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: var(--sp-2);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	cursor: pointer;
}
.fleet-menu > summary::-webkit-details-marker {
	display: none;
}
.fleet-menu > summary .bar {
	display: block;
	width: 20px;
	height: 2px;
	background: var(--text);
	border-radius: 1px;
}
.fleet-menu[open] > summary {
	border-color: var(--border-strong);
	background: var(--surface-2);
}
.fleet-menu-panel {
	position: absolute;
	right: 0;
	top: calc(100% + var(--sp-2));
	z-index: 30;
	display: flex;
	flex-direction: column;
	gap: var(--sp-3);
	min-width: 240px;
	padding: var(--sp-3) var(--sp-4) var(--sp-4);
	background: var(--bg-raised);
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-lift);
}
.fleet-menu-panel ul.fleet {
	flex-direction: column;
	align-items: stretch;
	gap: 0;
}
.fleet-menu-panel ul.fleet a {
	display: block;
	padding: var(--sp-3) 0;
	border-bottom: 1px solid var(--border);
	font-size: var(--fs-2);
}
.fleet-menu-panel .header-cta {
	font-size: var(--fs-1);
	padding: var(--sp-3) var(--sp-5);
}
@media (max-width: 639px) {
	.fleet-header-inner {
		padding: var(--sp-3) var(--sp-4);
		gap: var(--sp-3);
	}
	.fleet-header .fleet-wide {
		display: none;
	}
	.fleet-header .fleet-menu {
		display: block;
	}
}
@media (max-width: 799px) {
	.fleet-header[data-break='800'] .fleet-wide {
		display: none;
	}
	.fleet-header[data-break='800'] .fleet-menu {
		display: block;
	}
}

/* ═══ fleet footer (storefront Footer, four columns) ══════════════════════ */
.fleet-footer {
	border-top: 1px solid var(--border);
	background: var(--bg-raised);
	margin-top: var(--sp-8);
}
/* At column width (docs inner pages) the footer is the same footer, not a
   card: no box, no raised fill, only the top hairline the full-bleed band has,
   so it doesn't read as a second card under the closing band. */
.fleet-footer--embedded {
	margin-top: var(--sp-7);
	background: transparent;
}
.fleet-footer-inner {
	max-width: var(--page);
	margin: 0 auto;
	padding: var(--sp-7) var(--sp-5);
	display: grid;
	gap: var(--sp-6);
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.fleet-footer .col p {
	margin: 0 0 var(--sp-3);
}
.fleet-footer .brandwrap {
	margin-bottom: var(--sp-3);
}
.fleet-footer .brandline {
	color: var(--text);
	font-weight: 600;
}
.fleet-footer .strapline,
.fleet-footer .meta {
	color: var(--text-muted);
	font-size: var(--fs-1);
}
.fleet-footer ul {
	list-style: none;
	margin: 0 0 var(--sp-3);
	padding: 0;
	display: grid;
	gap: var(--sp-2);
}
.fleet-footer li {
	margin: 0;
}
.fleet-footer li a {
	color: var(--text-muted);
	font-size: var(--fs-1);
	text-decoration: none;
}
.fleet-footer li a:hover {
	color: var(--accent);
	text-decoration: underline;
}
.fleet-footer li a[aria-current='page'] {
	color: var(--accent);
}
