/*
  Effects Tailwind utilities can't express on their own: glass panels, the
  radar, flow lines, icon drawing, the pulsing hub and the 3D utilities.
  Layout and spacing are Tailwind classes in the HTML.
*/

/*
  Themes. Tailwind's neutrals (white, black, slate, zinc) and the light end of the
  orange scale read these variables, so every page works in both themes:
    <html data-theme="dark">  (default)   <html data-theme="light">  (white background)
  Visitors switch with the header toggle, or a ?theme=light / ?theme=dark link.
  .theme-dark keeps a panel dark inside the light theme (the product mock-ups).
*/
:root,
.theme-dark {
	--ink: 255 255 255; /* "white": headings and strong text */
	--paper: 0 0 0; /* "black": the opposite end */
	--page: 2 12 19; /* page background, tinted toward the logo navy */
	--band: 6 20 30; /* alternate section background */
	--shade: 0 0 0;
	--shade-k: 1;
	--slate-50: 248 250 252;
	--slate-100: 241 245 249;
	--slate-200: 226 232 240;
	--slate-300: 203 213 225;
	--slate-400: 148 163 184;
	--slate-500: 100 116 139;
	--slate-600: 71 85 105;
	--slate-700: 51 65 85;
	--slate-800: 30 41 59;
	--slate-900: 15 23 42;
	--slate-950: 2 6 23;
	--zinc-700: 63 63 70;
	--zinc-800: 39 39 42;
	--zinc-900: 24 24 27;
	--zinc-950: 9 9 11;
	--brand-50: 255 247 237;
	--brand-100: 254 236 214;
	--brand-200: 253 213 172;
	--brand-300: 253 186 116;
	--brand-400: 249 157 71;
	--glass-bg: rgb(8 22 32 / 0.95);
	--glass-border: rgb(255 255 255 / 0.08);
	--glass-shadow: none;
	--card-bg: linear-gradient(180deg, rgb(255 255 255 / 0.045), rgb(255 255 255 / 0.015));
	--card-shadow: none;
	--noise-opacity: 0.15;
	--stardust-opacity: 0.35;
	--shine-from: #ffffff;
	--shine-to: #94a3b8;
	color-scheme: dark;
}

[data-theme="light"] {
	--ink: 11 31 44;
	--paper: 255 255 255;
	--page: 255 255 255;
	--band: 245 247 250;
	--shade: 15 23 42;
	--shade-k: 0.18;
	--slate-50: 15 23 42;
	--slate-100: 15 23 42;
	--slate-200: 30 41 59;
	--slate-300: 51 65 85;
	--slate-400: 71 85 105;
	--slate-500: 100 116 139;
	--slate-600: 148 163 184;
	--slate-700: 203 213 225;
	--slate-800: 226 232 240;
	--slate-900: 241 245 249;
	--slate-950: 248 250 252;
	--zinc-700: 212 212 216;
	--zinc-800: 228 228 231;
	--zinc-900: 250 250 250;
	--zinc-950: 255 255 255;
	--brand-50: 67 20 7;
	--brand-100: 124 45 18;
	--brand-200: 154 52 18;
	--brand-300: 194 65 12;
	--brand-400: 234 108 18;
	--glass-bg: rgb(255 255 255 / 0.92);
	--glass-border: rgb(11 31 44 / 0.09);
	--glass-shadow: 0 1px 2px rgb(15 23 42 / 0.04), 0 18px 40px -18px rgb(15 23 42 / 0.18);
	--card-bg: #ffffff;
	--card-shadow: 0 1px 2px rgb(15 23 42 / 0.04), 0 10px 30px -16px rgb(15 23 42 / 0.16);
	--noise-opacity: 0;
	--stardust-opacity: 0.08;
	--shine-from: #0b1f2c;
	--shine-to: #36536a;
	color-scheme: light;
}

/* A dark panel inside the light theme re-applies the dark values above. */
[data-theme="light"] .theme-dark {
	--ink: 255 255 255;
	--paper: 0 0 0;
	--page: 2 12 19;
	--band: 6 20 30;
	--shade: 0 0 0;
	--shade-k: 1;
	--slate-50: 248 250 252;
	--slate-100: 241 245 249;
	--slate-200: 226 232 240;
	--slate-300: 203 213 225;
	--slate-400: 148 163 184;
	--slate-500: 128 143 165; /* a touch lighter, for small labels on the dark panel */
	--slate-600: 71 85 105;
	--slate-700: 51 65 85;
	--slate-800: 30 41 59;
	--slate-900: 15 23 42;
	--slate-950: 2 6 23;
	--zinc-700: 63 63 70;
	--zinc-800: 39 39 42;
	--zinc-900: 24 24 27;
	--zinc-950: 9 9 11;
	--brand-50: 255 247 237;
	--brand-100: 254 236 214;
	--brand-200: 253 213 172;
	--brand-300: 253 186 116;
	--brand-400: 249 157 71;
	--glass-bg: rgb(8 22 32 / 0.97);
	--glass-border: rgb(255 255 255 / 0.08);
	--card-bg: linear-gradient(180deg, rgb(255 255 255 / 0.045), rgb(255 255 255 / 0.015));
	--stardust-opacity: 0.35;
	--shine-from: #ffffff;
	--shine-to: #94a3b8;
	color-scheme: dark;
	color: rgb(var(--slate-300));
}

/* Show one of a pair (the logo) depending on the theme. */
[data-theme="light"] .only-dark,
:root:not([data-theme="light"]) .only-light {
	display: none !important;
}

.bg-noise {
	opacity: var(--noise-opacity);
}

/* Alternate sections sit on a slightly different background with hairline edges. */
.band {
	background: rgb(var(--band));
	border-block: 1px solid rgb(var(--ink) / 0.06);
}

:root {
	--cyan: #f6861f;
	--blue: #e0521a;
}

html {
	scroll-behavior: smooth;
}

body {
	overflow-x: clip;
}

[id] {
	scroll-margin-top: 110px;
}

/* Selected text: dark navy on a light orange wash (the old white-on-tint vanished on white pages). */
::selection {
	background: #fcd5a8;
	color: #04263a;
}
/* Dark panels (footer): light text on a stronger orange. */
.theme-dark ::selection,
.theme-dark::selection {
	background: rgb(246 134 31 / 0.65);
	color: #fff;
}

:focus-visible {
	outline: 2px solid rgb(var(--ink));
	outline-offset: 2px;
}

/* Form fields carry Tailwind's outline-none; give keyboard users the same ring back. */
.lead-form :is(input, select, textarea):focus-visible {
	outline: 2px solid rgb(var(--ink));
	outline-offset: 2px;
}

/* 3D utilities used on the hero dashboard */
.perspective-1000 {
	perspective: 1000px;
}

.rotate-x-20 {
	transform: rotateX(var(--tilt, 20deg));
}

.transform-style-preserve-3d {
	transform-style: preserve-3d;
}

.no-scrollbar {
	scrollbar-width: none;
}

.no-scrollbar::-webkit-scrollbar {
	display: none;
}

.text-gradient {
	background: linear-gradient(90deg, #fdba74, #f6861f);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.text-shine {
	background: linear-gradient(180deg, var(--shine-from) 30%, var(--shine-to));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* Glass ------------------------------------------------------------------ */

.glass {
	position: relative;
	isolation: isolate;
	background: var(--glass-bg);
	border: 1px solid var(--glass-border);
	box-shadow: var(--glass-shadow);
	backdrop-filter: blur(24px);
	-webkit-backdrop-filter: blur(24px);
}

/* Lighter glass for content cards on the page background. */
.glass-soft {
	position: relative;
	isolation: isolate;
	background: var(--card-bg);
	border: 1px solid var(--glass-border);
	box-shadow: var(--card-shadow);
	backdrop-filter: blur(24px);
	-webkit-backdrop-filter: blur(24px);
}

/* Frosted grain over glass panels. */
/* Fine grain drawn by an inline SVG filter, so no texture is fetched from another site. */
:root {
	--grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.grain-bg {
	background-image: var(--grain);
}

.stardust::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	background-image: var(--grain);
	opacity: var(--stardust-opacity);
	mix-blend-mode: overlay;
	pointer-events: none;
}

/* A bright line along the top edge of a glass panel. */
.glass-top-border::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 10%;
	right: 10%;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgb(246 134 31 / 0.9), rgb(224 82 26 / 0.9), transparent);
	box-shadow: 0 0 18px 1px rgb(246 134 31 / 0.55);
	pointer-events: none;
}

/* Radar ------------------------------------------------------------------- */

.radar {
	mask-image: radial-gradient(circle at 50% 50%, #000 35%, transparent 70%);
	-webkit-mask-image: radial-gradient(circle at 50% 50%, #000 35%, transparent 70%);
}

.radar-sweep {
	background: conic-gradient(from 180deg at 50% 50%, transparent 0deg, rgb(234 108 18 / 0.4) 360deg);
}

/* Leading edge of the sweep, glowing. */
.radar-edge {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 2px;
	height: 50%;
	margin-left: -1px;
	background: linear-gradient(180deg, rgb(253 186 116 / 0.95), rgb(246 134 31 / 0));
	box-shadow:
		0 0 12px 2px rgb(246 134 31 / 0.65),
		0 0 32px 6px rgb(246 134 31 / 0.25);
}

.radar-blip {
	position: absolute;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #fdba74;
	box-shadow: 0 0 12px 3px rgb(246 134 31 / 0.7);
	animation: blip 8s linear infinite;
	opacity: 0;
}

@keyframes blip {
	0%,
	100% {
		opacity: 0;
	}

	4% {
		opacity: 1;
	}

	40% {
		opacity: 0;
	}
}

/* Dashboard entrance: blur + slide, then main.js eases the tilt as you scroll. */
.animate-enter {
	animation: enter 1.2s cubic-bezier(0.2, 0, 0, 1) both;
}

@keyframes enter {
	from {
		opacity: 0;
		filter: blur(16px);
		transform: translateY(60px) rotateX(28deg);
	}

	to {
		opacity: 1;
		filter: blur(0);
		transform: translateY(0) rotateX(var(--tilt, 20deg));
	}
}

/* Phones see the dashboard flat: a tilt would squash it at that width. */
@media (max-width: 767px) {
	.dashboard {
		--tilt: 0deg;
	}
}

.dashboard {
	transition: transform 0.2s linear;
	box-shadow:
		0 0 0 1px rgb(255 255 255 / 0.04),
		0 50px 100px -30px rgb(0 0 0 / 0.9),
		0 0 120px -40px rgb(246 134 31 / 0.35);
}

/* Flow lines --------------------------------------------------------------- */

.animate-flow-custom {
	stroke-dasharray: var(--flow-dash, 6 14);
	animation: flow var(--flow-duration, 2.4s) linear infinite;
	animation-delay: var(--flow-delay, 0s);
}

@keyframes flow {
	from {
		stroke-dashoffset: var(--flow-length, 200);
	}

	to {
		stroke-dashoffset: 0;
	}
}

/* Icons draw themselves in the integrations section. */
.lottie-icon svg :is(path, circle, rect, line, polyline, polygon, ellipse) {
	stroke-dasharray: 60;
	stroke-dashoffset: 60;
}

.lottie-icon.is-drawn svg :is(path, circle, rect, line, polyline, polygon, ellipse),
.group:hover .lottie-icon svg :is(path, circle, rect, line, polyline, polygon, ellipse) {
	animation: lottieDraw 1.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes lottieDraw {
	from {
		stroke-dashoffset: 60;
	}

	to {
		stroke-dashoffset: 0;
	}
}

/* Integration cards: blue corners that stretch on hover. */
.corner {
	position: absolute;
	width: 12px;
	height: 12px;
	border-color: rgb(240 96 30 / 0.8);
	transition:
		width 0.35s cubic-bezier(0.2, 0, 0, 1),
		height 0.35s cubic-bezier(0.2, 0, 0, 1),
		border-color 0.35s;
	pointer-events: none;
}

.corner-tl {
	top: -1px;
	left: -1px;
	border-top-width: 1.5px;
	border-left-width: 1.5px;
	border-top-left-radius: 14px;
}

.corner-tr {
	top: -1px;
	right: -1px;
	border-top-width: 1.5px;
	border-right-width: 1.5px;
	border-top-right-radius: 14px;
}

.corner-bl {
	bottom: -1px;
	left: -1px;
	border-bottom-width: 1.5px;
	border-left-width: 1.5px;
	border-bottom-left-radius: 14px;
}

.corner-br {
	bottom: -1px;
	right: -1px;
	border-bottom-width: 1.5px;
	border-right-width: 1.5px;
	border-bottom-right-radius: 14px;
}

.group:hover .corner {
	width: 45%;
	height: 45%;
	border-color: rgb(246 134 31 / 0.9);
}

/* Bento hub: concentric circles pulsing outwards. */
.pulse-ring {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 1px solid rgb(246 134 31 / 0.5);
	animation: centerCirclePulse 4s cubic-bezier(0.2, 0, 0, 1) infinite;
	animation-delay: var(--delay, 0s);
}

@keyframes centerCirclePulse {
	0% {
		transform: scale(0.6);
		opacity: 0.9;
	}

	100% {
		transform: scale(2.2);
		opacity: 0;
	}
}

/* Bento cards glow on hover. */
.bento-cell::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(60% 60% at 50% 50%, rgb(246 134 31 / 0.2), transparent 70%);
	filter: blur(30px);
	opacity: 0;
	transition: opacity 0.5s;
}

.bento-cell:hover::before {
	opacity: 1;
}

.bento-cell:hover {
	box-shadow: inset 0 0 0 1px rgb(240 96 30 / 0.45);
}

/* Code editor */
.code-fade {
	mask-image: linear-gradient(180deg, transparent, #000 15%, #000 70%, transparent);
	-webkit-mask-image: linear-gradient(180deg, transparent, #000 15%, #000 70%, transparent);
}

.tok-k {
	color: #c084fc; /* export, import, return */
}

.tok-d {
	color: #60a5fa; /* const, let */
}

.tok-f {
	color: #fde047; /* function names */
}

.tok-s {
	color: #4ade80; /* strings */
}

.tok-c {
	color: #64748b; /* comments */
}

.tok-n {
	color: #f472b6; /* numbers, booleans */
}

.caret-blink {
	animation: caret 1s steps(1) infinite;
}

@keyframes caret {
	50% {
		opacity: 0;
	}
}

/* Long-form text (privacy, terms, blog posts) */
.prose-neon {
	color: rgb(var(--slate-300));
	font-size: 17px;
	line-height: 1.8;
}

.prose-neon > * + * {
	margin-top: 1em;
}

.prose-neon :is(h2, h3, h4) {
	margin-top: 1.9em;
	color: rgb(var(--ink));
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.25;
}

.prose-neon h2 {
	font-size: 28px;
}

.prose-neon :is(h3, h4) {
	font-size: 21px;
}

.prose-neon ul {
	padding-left: 1.3em;
	list-style: disc;
}

.prose-neon ol {
	padding-left: 1.3em;
	list-style: decimal;
}

.prose-neon li::marker {
	color: var(--cyan);
}

.prose-neon li + li {
	margin-top: 0.4em;
}

.prose-neon strong {
	color: rgb(var(--ink));
}

.prose-neon a {
	color: rgb(var(--brand-300));
	text-decoration: underline;
	text-underline-offset: 3px;
}

.prose-neon img {
	border-radius: 18px;
}

/* FAQ */
.faq summary::-webkit-details-marker {
	display: none;
}

.faq[open] .faq-plus {
	transform: rotate(45deg);
}

/* Header dropdown */
.has-menu:is(:hover, :focus-within) .dropdown {
	opacity: 1;
	visibility: visible;
	transform: none;
}

/* Scroll reveal (main.js adds .reveal; without JavaScript everything shows) */
.js .reveal {
	opacity: 0;
	transform: translateY(20px);
	transition:
		opacity 0.8s cubic-bezier(0.2, 0, 0, 1),
		transform 0.8s cubic-bezier(0.2, 0, 0, 1);
	transition-delay: var(--delay, 0s);
}

.js .reveal.is-visible {
	opacity: 1;
	transform: none;
}

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

/* Long-running decorative motion. Switched off for visitors who ask for reduced
   motion, and paused by the "Pause animations" button in the footer. */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.animate-radar-scan,
	.animate-spin-slow,
	.animate-spin-reverse,
	.animate-code-scroll,
	.animate-marquee,
	.animate-ping,
	.animate-enter,
	.animate-flow-custom,
	.radar-blip,
	.pulse-ring,
	.caret-blink,
	[class*="animate-[spin"],
	.lottie-icon svg * {
		animation: none !important;
	}

	.lottie-icon svg :is(path, circle, rect, line, polyline, polygon, ellipse) {
		stroke-dashoffset: 0;
	}

	.js .reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

.motion-paused :is(.animate-radar-scan, .animate-spin-slow, .animate-spin-reverse, .animate-code-scroll, .animate-marquee, .animate-ping, .animate-flow-custom, .radar-blip, .pulse-ring, .caret-blink, [class*="animate-[spin"]) {
	animation-play-state: paused !important;
}

/* The ticker and the code panel also stop while hovered or focused. */
:is(.animate-marquee, .animate-code-scroll):is(:hover, :focus-within) {
	animation-play-state: paused;
}

/* The radar's centre dot lands in the middle of the hero copy; the rings read fine without it. */
.radar > div:last-child {
	display: none;
}

/* Form feedback */
.form-status.is-success {
	color: #047857;
	font-weight: 600;
}

.form-status.is-error {
	color: #be123c;
	font-weight: 600;
}

.lead-form [aria-invalid="true"] {
	border-color: #be123c;
	border-width: 2px;
}

.field-error {
	display: flex;
	gap: 0.375rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #be123c;
}

.field-error::before {
	content: "!";
	flex: none;
	width: 1.1rem;
	height: 1.1rem;
	border-radius: 50%;
	background: #be123c;
	color: #fff;
	text-align: center;
	line-height: 1.1rem;
	font-size: 0.75rem;
}

/* On white, the radar is a softer accent. */
[data-theme="light"] .radar-sweep {
	opacity: 0.45;
}

[data-theme="light"] .radar-edge {
	box-shadow: 0 0 10px 1px rgb(246 134 31 / 0.35);
}

[data-theme="light"] .dashboard {
	box-shadow:
		0 0 0 1px rgb(255 255 255 / 0.04),
		0 30px 60px -30px rgb(15 23 42 / 0.45);
}

/* Nested lists in blog posts (a numbered item with its bullet points). */
.prose-neon li > :is(ul, ol) {
	margin-top: 0.4em;
}

.prose-neon li > ul {
	list-style: circle;
}

/* ---- Split hero (home and product pages). Plain CSS with real colours, not the inverted Tailwind tokens. ---- */
.fgh{position:relative;overflow:hidden;padding:8.5rem 0 3.5rem;background:radial-gradient(55% 60% at 88% 18%,rgba(246,134,31,.16),transparent 70%),radial-gradient(45% 45% at 0% 0%,rgba(5,48,71,.07),transparent 70%),#fff}
.fgh::before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(5,48,71,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(5,48,71,.05) 1px,transparent 1px);background-size:56px 56px;-webkit-mask-image:radial-gradient(70% 60% at 70% 30%,#000,transparent 75%);mask-image:radial-gradient(70% 60% at 70% 30%,#000,transparent 75%);pointer-events:none}
.fgh__wrap{position:relative;max-width:1240px;margin:0 auto;padding:0 20px;display:grid;gap:3rem;align-items:center}
.fgh-eyebrow{display:inline-flex;align-items:center;gap:.5rem;margin:0 0 1.25rem;padding:.35rem .85rem;border:1px solid rgba(246,134,31,.35);border-radius:999px;background:rgba(246,134,31,.08);color:#9a4a04;font-size:.8125rem;font-weight:600;letter-spacing:.02em}
.fgh-eyebrow span{width:.45rem;height:.45rem;border-radius:50%;background:#f6861f}
.fgh-logochip{display:inline-flex;margin-bottom:1.5rem;padding:.6rem 1rem;border:1px solid rgba(5,48,71,.1);border-radius:1rem;background:#fff;box-shadow:0 8px 24px rgba(5,48,71,.08)}
.fgh-logo{display:block;height:2.75rem;width:9.35rem;max-width:100%;object-fit:contain}
.fgh-title{margin:0;color:#053047;font-size:clamp(2.125rem,3.7vw,3.35rem);font-weight:800;line-height:1.08;letter-spacing:-.035em}
.fgh-accent{display:inline-block;color:#d96a06}
.fgh-sub{margin:1.25rem 0 0;max-width:34rem;color:#475569;font-size:1.125rem;line-height:1.6}
.fgh-cta{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:2rem}
.fgh-btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:3rem;padding:.8rem 1.5rem;border-radius:999px;font-size:.9375rem;font-weight:700;text-decoration:none;transition:transform .2s,box-shadow .2s,border-color .2s}
.fgh-btn--primary{background:linear-gradient(90deg,#f99d47,#f6861f);color:#053047;box-shadow:0 10px 24px rgba(246,134,31,.35)}
.fgh-btn--ghost{border:1px solid rgba(5,48,71,.18);background:#fff;color:#053047}
.fgh-btn:hover{transform:translateY(-2px)}
.fgh-btn--primary:hover{box-shadow:0 14px 30px rgba(246,134,31,.45)}
.fgh-btn--ghost:hover{border-color:#f6861f}
.fgh-ico{width:1rem;height:1rem}
.fgh-stats{display:grid;grid-template-columns:repeat(3,auto);justify-content:start;gap:1rem 2rem;margin:2.5rem 0 0;padding:1.5rem 0 0;border-top:1px solid rgba(5,48,71,.1);list-style:none;color:#64748b;font-size:.875rem}
.fgh-stats strong{display:block;color:#053047;font-size:clamp(1.25rem,5vw,1.625rem);font-weight:800;letter-spacing:-.02em;line-height:1.2}
.fgh-checks{display:grid;grid-template-columns:repeat(auto-fit,minmax(13rem,1fr));gap:.6rem 1.25rem;margin:2.25rem 0 0;padding:1.5rem 0 0;border-top:1px solid rgba(5,48,71,.1);list-style:none;color:#334155;font-size:.9375rem;font-weight:500}
.fgh-checks li{display:flex;align-items:center;gap:.5rem}
.fgh-tick{width:1.125rem;height:1.125rem;flex:none;color:#e5780f}
.fgh__visual{position:relative;min-width:0}
.fgh__visual--device svg{display:block;width:100%;height:auto;filter:drop-shadow(0 30px 40px rgba(5,48,71,.16))}
.fgh__visual--photo figure{margin:0;padding:.5rem;border:1px solid rgba(5,48,71,.08);border-radius:1.75rem;background:#fff;box-shadow:0 30px 60px rgba(5,48,71,.16)}
.fgh-photo{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:1.35rem}
.fgh-float{position:absolute;display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;border:1px solid rgba(5,48,71,.08);border-radius:1rem;background:#fff;box-shadow:0 16px 36px rgba(5,48,71,.18);color:#64748b;font-size:.8125rem;line-height:1.35}
.fgh-float strong{display:block;color:#053047;font-size:.875rem}
.fgh-float__ico{display:grid;place-items:center;width:2.25rem;height:2.25rem;flex:none;border-radius:.7rem;background:rgba(5,48,71,.07);color:#053047}
.fgh-float__ico--ok{background:rgba(22,163,74,.12)}
.fgh-float__ico--ok .fgh-tick{color:#15803d}
.fgh-qr{width:1.25rem;height:1.25rem}
.fgh-float--a{top:1.5rem;left:-.5rem}
.fgh-float--b{right:-.5rem;bottom:1.75rem}
.fgh-products{position:relative;max-width:1240px;margin:3.5rem auto 0;padding:0 20px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
.fgh-products a{display:block;padding:.9rem 1rem;border:1px solid rgba(5,48,71,.1);border-radius:.9rem;background:rgba(255,255,255,.85);color:#64748b;font-size:.8125rem;line-height:1.4;text-decoration:none;transition:border-color .2s,transform .2s,box-shadow .2s}
.fgh-products strong{display:block;color:#053047;font-size:.9375rem}
.fgh-products a:hover{border-color:#f6861f;transform:translateY(-2px);box-shadow:0 10px 24px rgba(5,48,71,.1)}
@media (min-width:640px){.fgh-products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:1024px){.fgh{padding:10rem 0 4.5rem}.fgh__wrap{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:3.5rem}.fgh__visual--device{margin-right:-5rem}.fgh-float--a{left:-2rem}.fgh-float--b{right:-1.5rem}.fgh-products{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (min-width:1200px){.fgh-products{grid-template-columns:repeat(7,minmax(0,1fr))}}
@media (max-width:639px){.fgh-float{display:none}.fgh-btn{flex:1 1 auto}}
@media (prefers-reduced-motion:reduce){.fgh-btn,.fgh-products a{transition:none}.fgh-btn:hover,.fgh-products a:hover{transform:none}}

/* Product logos: one sizing rule so they all read at a similar size. The logo files are trimmed to their
   artwork; the ERP logo carries a small tagline, so it is scaled up to match the others. */
.plogo { --h: 2.75rem; display: block; height: var(--h); width: calc(var(--h) * 3.4); max-width: 100%; object-fit: contain; }
.plogo-sm { --h: 2.25rem; }
.plogo-lg { --h: 3.25rem; }

/* Shared card styles for the visitor-management and products pages (see docs/HANDOVER.md, section 12). */
.card2 { border: 1px solid #d9e0ea; background: #fff; border-radius: 1rem; box-shadow: 0 18px 40px -26px rgba(5, 48, 71, 0.4); transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.card2:hover { transform: translateY(-3px); border-color: rgba(246, 134, 31, 0.45); box-shadow: 0 24px 48px -26px rgba(5, 48, 71, 0.45); }
.card2--accent { position: relative; overflow: hidden; }
.card2--accent::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, #f6861f, #f0601e); }
.tile { display: grid; flex: none; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 0.75rem; border: 1px solid rgba(246, 134, 31, 0.28); background: linear-gradient(135deg, rgba(246, 134, 31, 0.14), rgba(224, 82, 26, 0.1)); color: #c2410c; }
.theme-dark .tile { color: #fdba74; border-color: rgba(253, 186, 116, 0.3); }
@media (prefers-reduced-motion: reduce) { .card2, .card2:hover { transition: none; transform: none; } }

/* Split hero: logo chip and eyebrow label each on their own line (same on every product page). */
.fgh-logochip { display: flex; width: fit-content; }
.fgh-eyebrow { display: flex; width: fit-content; max-width: 100%; }

/* ---- Page hero variants: photo (split), banner (art panel, no photo) and compact (slim, text only) ---- */
.fgh-title--long{font-size:clamp(1.75rem,3.1vw,2.6rem);line-height:1.12}
.fgh-float{max-width:15.5rem}
.fgh-float strong{overflow-wrap:anywhere}
.fgh-crumbs{display:flex;flex-wrap:wrap;gap:.5rem;margin:0 0 1.25rem;color:#9a4a04;font-size:.75rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase}
.fgh-crumbs a{color:#9a4a04;text-decoration:none}
.fgh-crumbs a:hover{text-decoration:underline}
.fgh-meta{margin:1.5rem 0 0;color:#64748b;font-size:.875rem}
.fgh--compact{padding:8rem 0 2.5rem}
.fgh__visual--art{display:none}
.fgh-art{position:relative;aspect-ratio:5/4;overflow:hidden;border-radius:1.75rem;background:linear-gradient(135deg,#0b4a6b 0%,#053047 45%,#021723 100%);box-shadow:0 30px 60px rgba(5,48,71,.25)}
.fgh-art::before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.07) 1px,transparent 1px);background-size:44px 44px;-webkit-mask-image:radial-gradient(circle at center,#000 20%,transparent 78%);mask-image:radial-gradient(circle at center,#000 20%,transparent 78%)}
.fgh-art::after{content:"";position:absolute;right:-18%;top:-32%;width:72%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,rgba(246,134,31,.5),transparent 65%)}
.fgh-art__ring{position:absolute;left:50%;top:50%;border:1px solid rgba(255,255,255,.14);border-radius:50%;transform:translate(-50%,-50%)}
.fgh-art__ring--1{width:34%;aspect-ratio:1}
.fgh-art__ring--2{width:60%;aspect-ratio:1;border-style:dashed;border-color:rgba(246,134,31,.38)}
.fgh-art__ring--3{width:88%;aspect-ratio:1}
.fgh-art__tile{position:absolute;left:50%;top:50%;z-index:1;display:grid;place-items:center;width:5.5rem;height:5.5rem;border-radius:1.5rem;background:linear-gradient(135deg,#f99d47,#f6861f);color:#053047;box-shadow:0 0 50px rgba(246,134,31,.55);transform:translate(-50%,-50%)}
.fgh-art__tile svg{width:2.5rem;height:2.5rem}
.fgh-art__dot{position:absolute;width:.6rem;height:.6rem;border-radius:50%;background:#f99d47;box-shadow:0 0 14px 3px rgba(246,134,31,.6)}
@media (min-width:1024px){.fgh__visual--art{display:block}.fgh--compact{padding:9rem 0 3rem}.fgh--compact .fgh__wrap{grid-template-columns:minmax(0,1fr)}}
.fgh-checks li strong{display:block;color:#053047}
.fgh-checks li small{display:block;margin-top:.1rem;color:#64748b;font-size:.8125rem;font-weight:400;line-height:1.4}
.fgh-checks li:has(small){align-items:flex-start}
.fgh-checks li:has(small) .fgh-tick{margin-top:.15rem}

/* ---- Blog post: table of contents (left rail on desktop, collapsible above the article on small screens) ---- */
html:has(.toc) { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html:has(.toc) { scroll-behavior: auto; } }
.toc { align-self: start; }
.toc > details { border: 1px solid #d9e0ea; border-radius: 1rem; background: #fff; box-shadow: 0 18px 40px -28px rgba(5, 48, 71, 0.4); }
.toc__title { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.95rem 1.1rem; list-style: none; cursor: pointer; color: #9a4a04; font-family: "Geist Mono", ui-monospace, monospace; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.toc__title::-webkit-details-marker { display: none; }
.toc__chev { width: 1.1rem; height: 1.1rem; transition: transform 0.2s; }
.toc details[open] .toc__chev { transform: rotate(180deg); }
.toc__list, .toc__sub { margin: 0; padding: 0; list-style: none; }
.toc__list { padding: 0 0.6rem 0.9rem; font-size: 0.875rem; line-height: 1.4; }
.toc__list a { display: block; padding: 0.42rem 0.6rem; border-left: 2px solid transparent; border-radius: 0 0.5rem 0.5rem 0; color: #475569; text-decoration: none; transition: color 0.15s, background-color 0.15s, border-color 0.15s; }
.toc__list a:hover { color: #053047; background: #f1f5f9; }
.toc__list a[aria-current="true"] { border-left-color: #f6861f; background: rgba(246, 134, 31, 0.08); color: #053047; font-weight: 600; }
.toc__sub { margin: 0 0 0.25rem 0.9rem; }
.toc__sub a { padding-top: 0.3rem; padding-bottom: 0.3rem; font-size: 0.8125rem; }
@media (min-width: 1024px) {
	.toc { position: sticky; top: 7rem; }
	.toc__title { pointer-events: none; cursor: default; }
	.toc__chev { display: none; }
	.toc__list { max-height: calc(100vh - 14rem); overflow-y: auto; overscroll-behavior: contain; }
}

/* ---- Sign-up page: one card, navy panel with the steps on the left, the form on the right ---- */
.fgh.su-section{padding:7.5rem 0 4rem}
.su-wrap{position:relative;max-width:1120px;margin:0 auto;padding:0 20px}
.su-card{display:grid;overflow:hidden;border:1px solid #d9e0ea;border-radius:2rem;background:#fff;box-shadow:0 40px 80px -34px rgba(5,48,71,.4)}
.su-intro,.su-after,.su-left{background:radial-gradient(circle at 100% 0%,rgba(246,134,31,.42),transparent 55%),linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px) 0 0/44px 44px,linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px) 0 0/44px 44px,linear-gradient(135deg,#0b4a6b,#053047 45%,#021723)}
.su-left{display:contents}
.su-intro{order:1;padding:2.25rem 1.5rem 2rem}
.su-after{order:3;padding:2rem 1.5rem 2.25rem}
.su-form{order:2;padding:2rem 1.5rem}
.su-pill{margin:0 0 1.25rem;border-color:rgba(253,186,116,.35);background:rgba(246,134,31,.12);color:#fdba74}
.su-pill span{background:#f99d47}
.su-title{margin:0;color:#fff;font-size:clamp(1.9rem,3.2vw,2.6rem);font-weight:800;line-height:1.1;letter-spacing:-.03em}
.su-title span{color:#f99d47}
.su-sub{margin:1.1rem 0 0;color:#cbd5e1;font-size:1.0625rem;line-height:1.6}
.su-steps{position:relative;margin:0;padding:0;list-style:none}
.su-steps li{position:relative;display:flex;gap:1rem;padding-bottom:1.5rem;color:#e2e8f0;font-size:.9375rem;line-height:1.5}
.su-steps li:last-child{padding-bottom:0}
.su-steps li:not(:last-child)::before{content:"";position:absolute;left:.875rem;top:2rem;bottom:.25rem;width:1px;background:rgba(255,255,255,.2)}
.su-num{display:grid;flex:none;place-items:center;width:1.75rem;height:1.75rem;border-radius:50%;background:linear-gradient(135deg,#f99d47,#f6861f);color:#053047;font:700 .8125rem "Geist Mono",ui-monospace,monospace}
.su-step{padding-top:.15rem}
.su-contact{display:grid;gap:.75rem;margin:1.75rem 0 0;padding:1.5rem 0 0;border-top:1px solid rgba(255,255,255,.15);list-style:none}
.su-contact li{display:flex;align-items:center;gap:.75rem}
.su-contact a{color:#fff;font-size:.9375rem;font-weight:500;text-decoration:none}
.su-contact a:hover{text-decoration:underline}
.su-contact .tile{width:2.25rem;height:2.25rem;border-radius:.65rem}
.su-contact .tile svg{width:1.1rem;height:1.1rem}
@media (min-width:640px){.su-intro{padding:2.75rem 2.5rem 2.25rem}.su-after{padding:2.25rem 2.5rem 2.75rem}.su-form{padding:2.5rem}}
@media (min-width:1024px){
	.fgh.su-section{padding:9rem 0 5rem}
	.su-card{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}
	.su-left{display:flex;flex-direction:column;justify-content:space-between;grid-column:1}
	.su-intro,.su-after{order:0;background:none}
	.su-intro{padding:3.25rem 3rem 2rem}
	.su-after{padding:0 3rem 3.25rem}
	.su-form{grid-column:2;display:flex;flex-direction:column;justify-content:center;padding:3.25rem}
}
@media (prefers-reduced-motion:reduce){.su-card *{transition:none}}
