/*!
 * Fleet Plus – Customer Site styles.
 * Mobile-first. Loaded only on the 5 customer-facing pages (see
 * includes/class-fleet-plus-site-assets.php) — never touches /app/ or any
 * other part of the site.
 */

/* ---------------------------------------------------------------------
   1. Design tokens
------------------------------------------------------------------------ */
html {
	/* Safety net: nothing on this site should ever be able to force
	   horizontal page scroll, which is what causes a section's background
	   colour to stop short and leave a plain white gap (with whatever text
	   is in that gap unreadable against it). If a child element's intrinsic
	   width ever exceeds the viewport, this clips it instead of letting the
	   whole page grow wider than the screen. */
	overflow-x: hidden;
}

.fleet-plus-site {
	max-width: 100%;
	overflow-x: hidden;
	--fp-navy-900: #0b1e33;
	--fp-navy-800: #102a45;
	--fp-navy-700: #16395c;
	--fp-blue-600: #1e5a96;
	--fp-blue-500: #2c74b3;
	--fp-amber-500: #f5a623;
	--fp-amber-600: #db8b0b;
	--fp-slate-900: #111827;
	--fp-slate-700: #374151;
	--fp-slate-600: #4b5563;
	--fp-slate-400: #9ca3af;
	--fp-slate-200: #e5e7eb;
	--fp-slate-100: #f3f4f6;
	--fp-white: #ffffff;
	--fp-success: #16a34a;
	--fp-success-bg: #ecfdf3;
	--fp-success-border: #bfead0;
	--fp-danger: #dc2626;
	--fp-danger-bg: #fef2f2;
	--fp-danger-border: #f6cfcf;
	--fp-amber-bg: #fef6e7;
	--fp-amber-border: #f5e3bd;
	--fp-blue-bg: #eaf2fb;
	--fp-blue-border: #cfe1f4;
	--fp-radius: 14px;
	--fp-radius-sm: 8px;
	--fp-shadow: 0 10px 30px -12px rgba(11, 30, 51, 0.25);
	--fp-shadow-sm: 0 2px 10px rgba(11, 30, 51, 0.08);
	/* Bigger, softer "floating" shadow for the browser-chrome mockups —
	   modelled on the premium SaaS marketing sites referenced for this
	   redesign (Attio, Accio): a large, low-opacity shadow reads as a
	   physically floating panel rather than a flat bordered box. */
	--fp-shadow-float: 0 50px 100px -30px rgba(11, 30, 51, 0.45), 0 20px 40px -20px rgba(11, 30, 51, 0.3);
	--fp-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	font-family: var(--fp-font);
	color: var(--fp-slate-900);
	-webkit-font-smoothing: antialiased;
}

.fleet-plus-site * {
	box-sizing: border-box;
}

.fleet-plus-site img,
.fleet-plus-site svg {
	max-width: 100%;
	display: block;
}

.fleet-plus-site a {
	text-decoration: none;
	color: inherit;
}

.fleet-plus-site :focus-visible {
	outline: 3px solid var(--fp-amber-500);
	outline-offset: 2px;
}

/* ---------------------------------------------------------------------
   2. Layout helpers
------------------------------------------------------------------------ */
.fp-container {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 20px;
}

.fp-bleed {
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
}

.fp-section {
	padding: 56px 0;
}

.fp-section--tight {
	padding: 40px 0;
}

.fp-section--dark {
	background: var(--fp-navy-900);
	color: var(--fp-white);
}

.fp-section--muted {
	background: var(--fp-slate-100);
}

.fp-center {
	text-align: center;
}

.fp-max {
	max-width: 720px;
	margin: 0 auto;
}

@media (min-width: 768px) {
	.fp-section {
		padding: 88px 0;
	}
	.fp-section--tight {
		padding: 56px 0;
	}
}

/* ---------------------------------------------------------------------
   3. Type
------------------------------------------------------------------------ */
.fleet-plus-site h1,
.fleet-plus-site h2,
.fleet-plus-site h3,
.fleet-plus-site h4 {
	font-weight: 800;
	line-height: 1.15;
	margin: 0 0 16px;
	letter-spacing: -0.01em;
}

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

.fp-h2 {
	font-size: clamp(1.6rem, 3.6vw, 2.4rem);
}

.fp-h3 {
	font-size: 1.25rem;
}

.fleet-plus-site p {
	line-height: 1.7;
	color: var(--fp-slate-600);
	margin: 0 0 16px;
}

.fp-lede {
	font-size: 1.15rem;
}

.fp-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--fp-amber-600);
	margin-bottom: 14px;
}

.fp-eyebrow::before {
	content: "";
	width: 22px;
	height: 2px;
	background: currentColor;
	display: inline-block;
}

/* ---------------------------------------------------------------------
   3b. Dark-surface text contract
   Every dark-background container (.fp-hero, .fp-section--dark,
   .fp-cta-banner) routes its text through THIS one block. Anything placed
   on a dark surface must be listed here — no more one-off inline
   style="color:#fff" scattered through templates, and no more elements
   silently inheriting the default near-black body colour on a navy
   background (that was the illegible-text bug).
------------------------------------------------------------------------ */
.fp-hero,
.fp-section--dark,
.fp-cta-banner {
	--fp-on-dark-heading: var(--fp-white);
	--fp-on-dark-body: rgba(255, 255, 255, 0.82);
	--fp-on-dark-muted: rgba(255, 255, 255, 0.6);
}

.fp-hero h1, .fp-hero h2, .fp-hero h3, .fp-hero h4,
.fp-section--dark h1, .fp-section--dark h2, .fp-section--dark h3, .fp-section--dark h4,
.fp-cta-banner h1, .fp-cta-banner h2, .fp-cta-banner h3, .fp-cta-banner h4 {
	color: var(--fp-on-dark-heading);
}

/* :not(.fp-device *, .fp-live-ticker *) below matters: .fp-device (the
   dashboard mockup) and .fp-live-ticker (the activity chip) are always
   light/white elements that can sit ON TOP of a dark hero/section —
   without this exclusion, these rules reach inside them and turn their
   own text white-on-white (this exact bug has shipped twice now: once for
   the mockup card, so the same guard is applied here up front). */
.fp-hero p:not(.fp-device *):not(.fp-live-ticker *), .fp-hero li:not(.fp-device *):not(.fp-live-ticker *), .fp-hero span:not(.fp-badge):not([style]):not(.fp-device *):not(.fp-live-ticker *),
.fp-section--dark p:not(.fp-device *):not(.fp-live-ticker *), .fp-section--dark li:not(.fp-device *):not(.fp-live-ticker *),
.fp-cta-banner p:not(.fp-device *):not(.fp-live-ticker *), .fp-cta-banner li:not(.fp-device *):not(.fp-live-ticker *) {
	color: var(--fp-on-dark-body);
}

.fp-hero .fp-eyebrow,
.fp-section--dark .fp-eyebrow,
.fp-cta-banner .fp-eyebrow {
	color: var(--fp-amber-500);
}

.fp-hero .fp-fineprint,
.fp-section--dark .fp-fineprint,
.fp-cta-banner .fp-fineprint {
	color: var(--fp-on-dark-muted);
}

.fp-hero a:not(.fp-btn),
.fp-section--dark a:not(.fp-btn),
.fp-cta-banner a:not(.fp-btn) {
	color: var(--fp-white);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ---------------------------------------------------------------------
   4. Buttons
------------------------------------------------------------------------ */
.fp-btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 8px;
}

.fp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 26px;
	border-radius: var(--fp-radius-sm);
	font-weight: 700;
	font-size: 0.98rem;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
	min-height: 48px;
}

.fp-btn--primary {
	background: var(--fp-amber-500);
	color: var(--fp-navy-900);
}

.fp-btn--primary:hover {
	background: var(--fp-amber-600);
	transform: translateY(-1px);
}

.fp-btn--ghost-dark {
	border-color: rgba(255, 255, 255, 0.35);
	color: var(--fp-white);
}

.fp-btn--ghost-dark:hover {
	border-color: var(--fp-white);
}

.fp-btn--ghost-light {
	border-color: var(--fp-navy-800);
	color: var(--fp-navy-800);
}

.fp-btn--ghost-light:hover {
	background: var(--fp-navy-900);
	color: var(--fp-white);
}

.fp-btn--block {
	width: 100%;
}

@media (prefers-reduced-motion: reduce) {
	.fleet-plus-site * {
		transition: none !important;
	}
}

/* ---------------------------------------------------------------------
   5. Hero
------------------------------------------------------------------------ */
.fp-hero {
	position: relative;
	background: radial-gradient(1100px 480px at 85% -10%, rgba(245, 166, 35, 0.18), transparent 60%), linear-gradient(160deg, var(--fp-navy-900), var(--fp-navy-700));
	color: var(--fp-white);
	padding: 56px 0 64px;
	overflow: hidden;
}

/* Ambient floating orbs — pure CSS, GPU-only properties, very low visual
   weight. This is what gives the hero a sense of depth/motion instead of
   a flat gradient. */
.fp-hero::before,
.fp-hero::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	filter: blur(10px);
	pointer-events: none;
	z-index: 0;
	opacity: 0.5;
}

.fp-hero::before {
	width: 380px;
	height: 380px;
	right: -80px;
	top: -120px;
	background: radial-gradient(circle, rgba(245, 166, 35, 0.35), transparent 70%);
	animation: fpOrbFloatA 14s ease-in-out infinite;
}

.fp-hero::after {
	width: 300px;
	height: 300px;
	left: -60px;
	bottom: -100px;
	background: radial-gradient(circle, rgba(44, 116, 179, 0.35), transparent 70%);
	animation: fpOrbFloatB 18s ease-in-out infinite;
}

.fp-hero__grid {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 40px;
	align-items: center;
}

/* Grid items default to min-width:auto, which means a track can refuse to
   shrink below its content's intrinsic width — and a CSS Grid track that
   can't shrink pushes the whole grid (and the page) wider than the
   viewport instead of wrapping. That's what was leaving a plain white gap
   next to the hero: the dark background stayed at its box width while
   the actual page grew past it. min-width:0 lets tracks shrink normally. */
.fp-hero__grid > *,
.fp-grid > *,
.fp-module > *,
.fp-pricing-grid > * {
	min-width: 0;
}

/* "Always-on" activity ticker — small avatar cluster + a chip that cycles
   through sample live-feeling events. Sits above .fp-hero__badges. */
.fp-live-ticker {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 16px;
}

.fp-live-ticker__avatars {
	display: flex;
	flex-shrink: 0;
}

.fp-live-ticker__avatar {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--fp-navy-700);
	border: 2px solid var(--fp-navy-900);
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.55);
	margin-left: -8px;
}

.fp-live-ticker__avatar:first-child {
	margin-left: 0;
}

.fp-live-ticker__avatar--active {
	position: relative;
	z-index: 1;
	width: 32px;
	height: 32px;
	background: var(--fp-navy-800);
	color: var(--fp-amber-500);
	border-color: var(--fp-amber-500);
	animation: fpLiveGlow 2.4s ease-in-out infinite;
}

.fp-live-ticker__chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	max-width: 100%;
	background: rgba(255, 255, 255, 0.96);
	color: var(--fp-navy-900);
	font-size: 0.78rem;
	font-weight: 600;
	padding: 7px 14px 7px 10px;
	border-radius: 999px;
	box-shadow: var(--fp-shadow-sm);
}

.fp-live-ticker__text {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	transition: opacity 0.35s ease;
}

.fp-live-ticker__text.fp-live-ticker__text--fade {
	opacity: 0;
}

.fp-live-ticker__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--fp-success);
	flex-shrink: 0;
	animation: fpLiveDot 1.8s ease-in-out infinite;
}

.fp-hero__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 20px;
}

.fp-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.16);
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.8rem;
	font-weight: 600;
	padding: 6px 12px;
	border-radius: 999px;
}

.fp-hero__art {
	justify-self: center;
	animation: fpFloatY 6s ease-in-out infinite;
}

@media (min-width: 900px) {
	.fp-hero {
		padding: 96px 0 108px;
	}
	.fp-hero__grid {
		grid-template-columns: 1.1fr 0.9fr;
	}
}

/* ---------------------------------------------------------------------
   6. Feature grid / cards
------------------------------------------------------------------------ */
.fp-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	margin-top: 40px;
}

@media (min-width: 640px) {
	.fp-grid--2 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 860px) {
	.fp-grid--3 {
		grid-template-columns: repeat(3, 1fr);
	}
	.fp-grid--2 {
		grid-template-columns: repeat(2, 1fr);
	}
}

.fp-card {
	background: var(--fp-white);
	border: 1px solid var(--fp-slate-200);
	border-radius: var(--fp-radius);
	padding: 28px;
	box-shadow: var(--fp-shadow-sm);
}

.fp-card__icon {
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: rgba(30, 90, 150, 0.1);
	color: var(--fp-blue-600);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
}

.fp-card h3 {
	margin-bottom: 8px;
}

.fp-card p {
	margin-bottom: 0;
}

/* ---------------------------------------------------------------------
   7. Steps
------------------------------------------------------------------------ */
.fp-steps {
	display: grid;
	gap: 24px;
	counter-reset: fp-step;
	margin-top: 40px;
}

@media (min-width: 860px) {
	.fp-steps {
		grid-template-columns: repeat(3, 1fr);
	}
}

.fp-step {
	position: relative;
	padding-left: 56px;
}

.fp-step::before {
	counter-increment: fp-step;
	content: counter(fp-step);
	position: absolute;
	left: 0;
	top: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--fp-navy-900);
	color: var(--fp-amber-500);
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
	/* Takes turns magnifying — see fpStepPulse in the motion section below.
	   Same duration on all three, offset with a negative delay per step so
	   they cycle 1 → 2 → 3 → 1 forever instead of pulsing together. */
	animation: fpStepPulse 4.5s ease-in-out infinite;
}

.fp-step h3 {
	display: inline-block;
	transform-origin: left center;
	/* Same cycle as the circle above, so each step's title grows and
	   shrinks in sync with its own numbered badge. */
	animation: fpStepTextPulse 4.5s ease-in-out infinite;
}

.fp-step:nth-child(2)::before,
.fp-step:nth-child(2) h3 {
	animation-delay: -3s;
}

.fp-step:nth-child(3)::before,
.fp-step:nth-child(3) h3 {
	animation-delay: -1.5s;
}

/* ---------------------------------------------------------------------
   8. CTA banner
------------------------------------------------------------------------ */
.fp-cta-banner {
	background: linear-gradient(120deg, var(--fp-blue-600), var(--fp-navy-800));
	color: var(--fp-white);
	padding: 48px 0;
	text-align: center;
}

.fp-cta-banner .fp-btn-row {
	justify-content: center;
	margin-top: 20px;
}

/* ---------------------------------------------------------------------
   9. Pricing
------------------------------------------------------------------------ */
.fp-pricing-grid {
	display: grid;
	gap: 24px;
	margin-top: 44px;
}

@media (min-width: 900px) {
	.fp-pricing-grid {
		grid-template-columns: repeat(3, 1fr);
		align-items: start;
	}
}

.fp-price-card {
	background: var(--fp-white);
	border: 1px solid var(--fp-slate-200);
	border-radius: var(--fp-radius);
	padding: 32px 28px;
	box-shadow: var(--fp-shadow-sm);
}

.fp-price-card--featured {
	border-color: var(--fp-amber-500);
	box-shadow: var(--fp-shadow);
	position: relative;
}

@media (min-width: 900px) {
	.fp-price-card--featured {
		/* margin, not transform — the entrance reveal animation also drives
		   transform on this element, and forwards-filled keyframes would
		   otherwise clobber a static translateY() once the animation ends. */
		margin-top: -12px;
	}
}

.fp-price-card__tag {
	display: inline-block;
	background: var(--fp-amber-500);
	color: var(--fp-navy-900);
	font-size: 0.72rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 5px 10px;
	border-radius: 999px;
	margin-bottom: 14px;
}

.fp-price-card__amount {
	font-size: 2.4rem;
	font-weight: 800;
	color: var(--fp-navy-900);
	margin: 6px 0 4px;
}

.fp-price-card__amount span {
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--fp-slate-400);
}

.fp-price-card__list {
	list-style: none;
	margin: 20px 0 26px;
	padding: 0;
}

.fp-price-card__list li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 7px 0;
	color: var(--fp-slate-700);
	font-size: 0.95rem;
	border-top: 1px solid var(--fp-slate-100);
}

.fp-price-card__list li:first-child {
	border-top: none;
}

.fp-price-card__list svg {
	flex: none;
	color: var(--fp-success);
	margin-top: 3px;
}

.fp-price-note {
	margin-top: 28px;
	padding: 16px 18px;
	background: var(--fp-slate-100);
	border-radius: var(--fp-radius-sm);
	font-size: 0.9rem;
	color: var(--fp-slate-600);
}

/* ---------------------------------------------------------------------
   10. FAQ accordion
------------------------------------------------------------------------ */
.fp-faq {
	max-width: 800px;
	margin: 40px auto 0;
}

.fp-faq__item {
	border-bottom: 1px solid var(--fp-slate-200);
}

.fp-faq__q {
	width: 100%;
	text-align: left;
	background: none;
	border: none;
	padding: 18px 4px;
	font-weight: 700;
	font-size: 1.02rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	cursor: pointer;
	color: var(--fp-slate-900);
}

.fp-faq__icon {
	flex: none;
	transition: transform 0.2s ease;
}

.fp-faq__q[aria-expanded="true"] .fp-faq__icon {
	transform: rotate(45deg);
}

.fp-faq__a {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.25s ease;
}

.fp-faq__a p {
	padding: 0 4px 18px;
	margin: 0;
}

/* ---------------------------------------------------------------------
   11. Forms
------------------------------------------------------------------------ */
.fp-form {
	max-width: 640px;
}

.fp-form__row {
	margin-bottom: 18px;
}

.fp-form__row--2col {
	display: grid;
	gap: 18px;
}

@media (min-width: 640px) {
	.fp-form__row--2col {
		grid-template-columns: 1fr 1fr;
	}
}

.fp-form label {
	display: block;
	font-weight: 700;
	font-size: 0.9rem;
	margin-bottom: 6px;
	color: var(--fp-slate-900);
}

.fp-form input[type="text"],
.fp-form input[type="email"],
.fp-form input[type="tel"],
.fp-form textarea {
	width: 100%;
	border: 1.5px solid var(--fp-slate-200);
	border-radius: var(--fp-radius-sm);
	padding: 13px 14px;
	font-size: 1rem;
	font-family: inherit;
	background: var(--fp-white);
	color: var(--fp-slate-900);
}

.fp-form input:focus,
.fp-form textarea:focus {
	border-color: var(--fp-blue-500);
	outline: none;
	box-shadow: 0 0 0 3px rgba(44, 116, 179, 0.15);
}

.fp-form textarea {
	min-height: 140px;
	resize: vertical;
}

.fp-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.fp-alert {
	padding: 14px 16px;
	border-radius: var(--fp-radius-sm);
	margin-bottom: 22px;
	font-weight: 600;
	font-size: 0.95rem;
}

.fp-alert--success {
	background: var(--fp-success-bg);
	color: var(--fp-success);
	border: 1px solid rgba(22, 163, 74, 0.25);
}

.fp-alert--error {
	background: var(--fp-danger-bg);
	color: var(--fp-danger);
	border: 1px solid rgba(220, 38, 38, 0.25);
}

/* ---------------------------------------------------------------------
   12. Contact info cards
------------------------------------------------------------------------ */
.fp-contact-grid {
	display: grid;
	gap: 40px;
	margin-top: 40px;
}

@media (min-width: 900px) {
	.fp-contact-grid {
		grid-template-columns: 1fr 1.2fr;
	}
}

.fp-info-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.fp-info-list li {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 14px 0;
	border-top: 1px solid var(--fp-slate-200);
}

.fp-info-list li:first-child {
	border-top: none;
}

.fp-info-list .fp-card__icon {
	margin-bottom: 0;
}

/* ---------------------------------------------------------------------
   13. Device mockup (illustrative only — not a real screenshot)
------------------------------------------------------------------------ */
.fp-device {
	width: 100%;
	background: var(--fp-navy-800);
	border-radius: 18px;
	padding: 14px;
	box-shadow: var(--fp-shadow-float);
}

.fp-device__screen {
	background: var(--fp-white);
	border-radius: 10px;
	overflow: hidden;
	/* .fp-device is a light card that can sit on a dark section (.fp-hero
	   etc. set color:white as their own base, which every descendant
	   inherits by default). Resetting color here gives everything inside
	   the card a dark value to inherit instead, so any text that doesn't
	   carry its own inline colour is dark-on-light instead of falling back
	   to the dark section's white. */
	color: var(--fp-slate-900);
}

/* Browser-chrome title bar — mac-style traffic-light dots + a title, the
   same "this is real software, not a stock photo" cue used by Attio and
   Accio's marketing screenshots. Sits inside .fp-device__screen so it
   shares its rounded corners. */
.fp-device__titlebar {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 10px 14px;
	background: var(--fp-slate-100);
	border-bottom: 1px solid var(--fp-slate-200);
}

.fp-device__dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	display: inline-block;
	flex-shrink: 0;
}

.fp-device__dot--red {
	background: #ff5f57;
}

.fp-device__dot--amber {
	background: #febc2e;
}

.fp-device__dot--green {
	background: #28c840;
}

.fp-device__titletext {
	margin-left: 6px;
	font-size: 0.72rem;
	font-weight: 600;
	color: var(--fp-slate-600);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Small pastel stat chips used inside the mockup screens (Challans,
   Watch List) — mirrors the coloured stat cards in the real Fleet Plus
   dashboard rather than a generic flat-grey card. */
.fp-device__stat {
	border-radius: 10px;
	padding: 10px;
	border: 1px solid transparent;
}

.fp-device__stat-num {
	font-weight: 800;
	font-size: 1.1rem;
	color: var(--fp-navy-900);
	line-height: 1.2;
}

.fp-device__stat-label {
	font-size: 0.66rem;
	font-weight: 600;
	margin-top: 2px;
}

.fp-device__stat--amber {
	background: var(--fp-amber-bg);
	border-color: var(--fp-amber-border);
}
.fp-device__stat--amber .fp-device__stat-label {
	color: var(--fp-amber-600);
}

.fp-device__stat--blue {
	background: var(--fp-blue-bg);
	border-color: var(--fp-blue-border);
}
.fp-device__stat--blue .fp-device__stat-label {
	color: var(--fp-blue-600);
}

.fp-device__stat--success {
	background: var(--fp-success-bg);
	border-color: var(--fp-success-border);
}
.fp-device__stat--success .fp-device__stat-label {
	color: var(--fp-success);
}

.fp-device__stat--danger {
	background: var(--fp-danger-bg);
	border-color: var(--fp-danger-border);
}
.fp-device__stat--danger .fp-device__stat-label {
	color: var(--fp-danger);
}

/* ---------------------------------------------------------------------
   14. Module list (Product page)
------------------------------------------------------------------------ */
.fp-module {
	display: grid;
	gap: 28px;
	padding: 40px 0;
	border-top: 1px solid var(--fp-slate-200);
}

.fp-module:first-of-type {
	border-top: none;
}

@media (min-width: 860px) {
	.fp-module {
		grid-template-columns: 0.9fr 1.1fr;
		align-items: center;
	}
	.fp-module--reverse .fp-module__art {
		order: 2;
	}
}

.fp-module__tag-list {
	list-style: none;
	margin: 18px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.fp-module__tag-list li {
	background: var(--fp-slate-100);
	color: var(--fp-slate-700);
	font-size: 0.82rem;
	font-weight: 600;
	padding: 6px 12px;
	border-radius: 999px;
}

/* ---------------------------------------------------------------------
   15. Footer note / disclaimer
------------------------------------------------------------------------ */
.fp-fineprint {
	font-size: 0.82rem;
	color: var(--fp-slate-400);
}

/* ---------------------------------------------------------------------
   16. Motion: keyframes, scroll-reveal, counters, hover polish
------------------------------------------------------------------------ */
@keyframes fpOrbFloatA {
	0%, 100% { transform: translate(0, 0); }
	50%      { transform: translate(-18px, 22px); }
}

@keyframes fpOrbFloatB {
	0%, 100% { transform: translate(0, 0); }
	50%      { transform: translate(16px, -18px); }
}

@keyframes fpFloatY {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(-10px); }
}

@keyframes fpFadeUp {
	from { opacity: 0; transform: translateY(18px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* "How it works" step numbers — each circle's turn to magnify + shrink
   happens in the first ~13% of the cycle, then it sits flat for the rest
   while the other two steps take theirs (see the staggered animation-delay
   values on .fp-step:nth-child()::before above). */
@keyframes fpStepPulse {
	0% {
		transform: scale(1);
		box-shadow: 0 0 0 0 rgba(245, 166, 35, 0);
	}
	5% {
		transform: scale(1.3);
		box-shadow: 0 0 0 9px rgba(245, 166, 35, 0.16);
	}
	13% {
		transform: scale(1);
		box-shadow: 0 0 0 0 rgba(245, 166, 35, 0);
	}
	100% {
		transform: scale(1);
		box-shadow: 0 0 0 0 rgba(245, 166, 35, 0);
	}
}

/* Same shape as fpStepPulse, just for the step title text — no box-shadow
   (doesn't read well on text) and a gentler scale so headings don't look
   like they're jumping. */
@keyframes fpStepTextPulse {
	0% {
		transform: scale(1);
	}
	5% {
		transform: scale(1.1);
	}
	13% {
		transform: scale(1);
	}
	100% {
		transform: scale(1);
	}
}

/* Live ticker — ambient glow on the "active" avatar and a soft blink on
   the chip's status dot, both continuous rather than turn-taking. */
@keyframes fpLiveGlow {
	0%, 100% {
		box-shadow: 0 0 0 0 rgba(245, 166, 35, 0.35);
	}
	50% {
		box-shadow: 0 0 0 6px rgba(245, 166, 35, 0.12);
	}
}

@keyframes fpLiveDot {
	0%, 100% {
		opacity: 1;
		transform: scale(1);
	}
	50% {
		opacity: 0.45;
		transform: scale(0.8);
	}
}

/* Hero copy enters with a quick staggered fade-up on page load. */
.fp-hero__grid > div:first-child > * {
	animation: fpFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.fp-hero__grid > div:first-child > *:nth-child(1) { animation-delay: 0.02s; }
.fp-hero__grid > div:first-child > *:nth-child(2) { animation-delay: 0.08s; }
.fp-hero__grid > div:first-child > *:nth-child(3) { animation-delay: 0.14s; }
.fp-hero__grid > div:first-child > *:nth-child(4) { animation-delay: 0.2s; }
.fp-hero__grid > div:first-child > *:nth-child(5) { animation-delay: 0.26s; }

/* Scroll-reveal: JS toggles .fp-in once an .fp-reveal element enters the
   viewport (see site.js). Falls back to fully visible if JS never runs. */
.fp-reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fp-reveal.fp-in {
	opacity: 1;
	transform: translateY(0);
}

.fp-reveal-stagger > * {
	opacity: 0;
}

.fp-reveal-stagger.fp-in > * {
	animation: fpFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Once the entrance animation has had time to finish, JS adds .fp-settled
   and this clears the animation entirely — otherwise a forwards-filled
   keyframe animation keeps "owning" the transform property forever and
   silently blocks the separate :hover lift on cards/pricing tiles. */
.fp-reveal-stagger.fp-settled > * {
	/* Explicitly re-state the visible end state — removing the animation
	   alone would fall back to the resting opacity:0 rule above and the
	   content would silently vanish a second after it faded in. */
	animation: none;
	opacity: 1;
	transform: none;
}
.fp-reveal-stagger.fp-in > *:nth-child(1) { animation-delay: 0.03s; }
.fp-reveal-stagger.fp-in > *:nth-child(2) { animation-delay: 0.1s; }
.fp-reveal-stagger.fp-in > *:nth-child(3) { animation-delay: 0.17s; }
.fp-reveal-stagger.fp-in > *:nth-child(4) { animation-delay: 0.24s; }
.fp-reveal-stagger.fp-in > *:nth-child(5) { animation-delay: 0.31s; }
.fp-reveal-stagger.fp-in > *:nth-child(6) { animation-delay: 0.38s; }

@media (prefers-reduced-motion: reduce) {
	.fp-reveal,
	.fp-reveal-stagger > * {
		opacity: 1 !important;
		transform: none !important;
		animation: none !important;
	}
	.fp-hero__grid > div:first-child > * {
		animation: none !important;
	}
	.fp-hero__art,
	.fp-hero::before,
	.fp-hero::after {
		animation: none !important;
	}
	.fp-step::before,
	.fp-step h3 {
		animation: none !important;
		box-shadow: none !important;
	}
	.fp-live-ticker__avatar--active,
	.fp-live-ticker__dot {
		animation: none !important;
		box-shadow: none !important;
	}
}

/* Hover polish — cards lift, icon gets a subtle scale, shadows deepen. */
.fp-card,
.fp-price-card,
.fp-module__art .fp-device {
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.fp-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--fp-shadow);
	border-color: rgba(30, 90, 150, 0.25);
}

.fp-card:hover .fp-card__icon {
	transform: scale(1.08);
}

.fp-card__icon {
	transition: transform 0.25s ease;
}

.fp-price-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--fp-shadow);
}

.fp-price-card--featured:hover {
	transform: translateY(-18px);
}

/* Featured pricing card gets a very slow animated gradient border glow —
   the kind of small detail that reads as "premium SaaS" rather than a
   static brochure page. */
.fp-price-card--featured {
	background:
		linear-gradient(var(--fp-white), var(--fp-white)) padding-box,
		linear-gradient(120deg, var(--fp-amber-500), var(--fp-blue-500), var(--fp-amber-500)) border-box;
	border: 2px solid transparent;
	background-size: 100% 100%, 300% 300%;
	animation: fpGradientShift 8s ease infinite;
}

@keyframes fpGradientShift {
	0%, 100% { background-position: 0 0, 0% 50%; }
	50%      { background-position: 0 0, 100% 50%; }
}

/* Animated counters (see site.js for the count-up logic). */
.fp-counter {
	font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------------------------
   17. Product page sticky sub-nav (scroll-spy)
------------------------------------------------------------------------ */
.fp-subnav {
	position: sticky;
	top: 0;
	z-index: 20;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: saturate(180%) blur(8px);
	-webkit-backdrop-filter: saturate(180%) blur(8px);
	border-bottom: 1px solid var(--fp-slate-200);
}

.fp-subnav__inner {
	display: flex;
	gap: 6px;
	overflow-x: auto;
	padding: 12px 20px;
	scrollbar-width: none;
}

.fp-subnav__inner::-webkit-scrollbar {
	display: none;
}

.fp-subnav__link {
	flex: none;
	padding: 8px 14px;
	border-radius: 999px;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--fp-slate-600);
	white-space: nowrap;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.fp-subnav__link:hover {
	background: var(--fp-slate-100);
	color: var(--fp-navy-900);
}

.fp-subnav__link.is-active {
	background: var(--fp-navy-900);
	color: var(--fp-white);
}

/* ---------------------------------------------------------------------
   18. Site footer — Quick Links layout (marketing pages)
------------------------------------------------------------------------ */
.fp-site-footer {
	--fp-navy-900: #0b1e33;
	--fp-navy-800: #102a45;
	--fp-amber-500: #f5a623;
	--fp-slate-400: #9ca3af;
	--fp-slate-200: #e5e7eb;
	--fp-white: #ffffff;
	--fp-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	background: var(--fp-navy-900);
	color: rgba(255, 255, 255, 0.78);
	font-family: var(--fp-font);
	-webkit-font-smoothing: antialiased;
}

.fp-site-footer a {
	color: inherit;
	text-decoration: none;
}

.fp-site-footer a:hover {
	color: var(--fp-white);
}

.fp-site-footer :focus-visible {
	outline: 3px solid var(--fp-amber-500);
	outline-offset: 2px;
}

.fp-site-footer__inner {
	width: min(1120px, calc(100% - 2.5rem));
	margin: 0 auto;
	padding: 3rem 0 0;
}

.fp-site-footer__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem 1.5rem;
	padding-bottom: 2.25rem;
}

@media (min-width: 640px) {
	.fp-site-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 960px) {
	.fp-site-footer__grid {
		grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
		gap: 2rem 2.5rem;
		padding-bottom: 2.75rem;
	}
}

.fp-site-footer__logo {
	display: inline-block;
	margin: 0 0 0.75rem;
	font-size: 1.35rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--fp-white);
	line-height: 1.2;
}

.fp-site-footer__tagline {
	margin: 0;
	max-width: 28rem;
	font-size: 0.95rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.68);
}

.fp-site-footer__heading {
	margin: 0 0 0.85rem;
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--fp-white);
}

.fp-site-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.55rem;
}

.fp-site-footer__links a {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	font-size: 0.95rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.78);
	transition: color 0.15s ease;
}

@media (min-width: 960px) {
	.fp-site-footer__links a {
		min-height: 0;
		line-height: 1.45;
	}
}

.fp-site-footer__meta {
	display: block;
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.55);
	line-height: 1.45;
}

.fp-site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding: 1.1rem 0 1.35rem;
}

.fp-site-footer__copy {
	margin: 0;
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.55);
}

.fp-site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem 0.65rem;
	font-size: 0.85rem;
}

.fp-site-footer__legal a {
	color: rgba(255, 255, 255, 0.7);
	min-height: 2.75rem;
	display: inline-flex;
	align-items: center;
}

@media (min-width: 960px) {
	.fp-site-footer__legal a {
		min-height: 0;
	}
}

.fp-site-footer__legal a:hover {
	color: var(--fp-white);
}

.fp-site-footer__legal-sep {
	color: rgba(255, 255, 255, 0.35);
}

/* ---------------------------------------------------------------------
   19. Legal pages (Privacy / Terms)
------------------------------------------------------------------------ */
.fp-legal {
	max-width: 760px;
}

.fp-legal h2 {
	margin: 2rem 0 0.75rem;
	font-size: 1.25rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--fp-navy-900);
	line-height: 1.3;
}

.fp-legal h2:first-child {
	margin-top: 0;
}

.fp-legal p,
.fp-legal li {
	font-size: 1rem;
	line-height: 1.65;
	color: var(--fp-slate-700);
}

.fp-legal ul {
	margin: 0 0 1rem;
	padding-left: 1.25rem;
}

.fp-legal li + li {
	margin-top: 0.4rem;
}

.fp-legal a {
	color: var(--fp-blue-600);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.fp-legal a:hover {
	color: var(--fp-navy-900);
}

.fp-legal__note {
	margin-top: 2.5rem;
	padding: 1rem 1.15rem;
	border-radius: var(--fp-radius-sm);
	background: var(--fp-amber-bg);
	border: 1px solid var(--fp-amber-border);
	font-size: 0.9rem !important;
	color: var(--fp-slate-700) !important;
}

/* ---------------------------------------------------------------------
   20. Header logo mark animation (marketing site only)
------------------------------------------------------------------------ */
.site-branding a.brand.fp-brand--has-logo-anim {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
}

.site-branding a.brand.fp-brand--has-logo-anim .logo-icon,
.site-branding a.brand.fp-brand--has-logo-anim img.custom-logo,
.site-branding a.brand.fp-brand--has-logo-anim .custom-logo {
	display: none !important;
}

.fp-logo-anim {
	display: inline-flex;
	flex: none;
	width: 2.75rem;
	height: 2.75rem;
	line-height: 0;
}

.fp-logo-anim__svg {
	width: 100%;
	height: 100%;
	display: block;
	overflow: visible;
}

.fp-logo-anim__truck,
.fp-logo-anim__wheel,
.fp-logo-anim__plus,
.fp-logo-anim__shadow {
	transform-box: fill-box;
	transform-origin: center;
}

/* Coin + — plus badge spin with a light truck idle */
.fp-logo-anim--coin .fp-logo-anim__svg {
	perspective: 200px;
}

.fp-logo-anim--coin .fp-logo-anim__plus {
	animation: fpLogoCoinSpin 2.4s ease-in-out infinite;
	transform-origin: center;
	transform-box: fill-box;
}

.fp-logo-anim--coin .fp-logo-anim__truck {
	animation: fpLogoCoinIdle 2.4s ease-in-out infinite;
}

@keyframes fpLogoCoinSpin {
	0%, 100% { transform: rotateY(0deg) scale(1) translateY(0); }
	40% { transform: rotateY(180deg) scale(1.08) translateY(-4px); }
	55% { transform: rotateY(360deg) scale(1) translateY(0); }
	70%, 100% { transform: rotateY(360deg) scale(1) translateY(0); }
}

@keyframes fpLogoCoinIdle {
	0%, 100% { transform: translateY(0); }
	40% { transform: translateY(-1px); }
	55% { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
	.fp-logo-anim--coin .fp-logo-anim__plus,
	.fp-logo-anim--coin .fp-logo-anim__truck {
		animation: none !important;
	}
}

/* ---------------------------------------------------------------------
   21. Sticky marketing header (always on — option A)
   site.css only loads on Fleet Plus marketing pages, so /app/ is untouched.
------------------------------------------------------------------------ */
#masthead.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: #ffffff;
	transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

#masthead.site-header.fp-header--stuck {
	box-shadow: 0 8px 24px rgba(11, 30, 51, 0.1);
	border-bottom: 1px solid rgba(11, 30, 51, 0.06);
}

/* Slim bar on small screens — logo fills the available header height */
@media (max-width: 1024px) {
	#masthead .site-main-header-wrap .site-header-row-container-inner,
	#masthead #mobile-header .site-header-row-container-inner {
		min-height: 4.5rem;
		padding-top: 0.35rem;
		padding-bottom: 0.35rem;
	}

	#masthead .site-branding,
	#masthead .site-branding a.brand.fp-brand--has-logo-anim {
		overflow: visible;
	}

	.fp-logo-anim {
		width: 4.25rem;
		height: 4.25rem;
	}

	#masthead .site-branding .site-title {
		font-size: 1.35rem;
		line-height: 1.15;
	}

	#masthead .site-branding a.brand.fp-brand--has-logo-anim {
		gap: 0.65rem;
	}
}

@media (max-width: 640px) {
	#masthead .site-main-header-wrap .site-header-row-container-inner,
	#masthead #mobile-header .site-header-row-container-inner {
		min-height: 4.25rem;
	}

	.fp-logo-anim {
		width: 4rem;
		height: 4rem;
	}

	#masthead .site-branding .site-title {
		font-size: 1.3rem;
	}
}
