/* edn Software — redesigned site stylesheet (v2).
   Dark-mode tech aesthetic: Inter tight, lime accent, rich motion.
   Inspired by Vercel / Linear / modern SaaS marketing. */

/* ---------- Design tokens ---------- */
:root {
	--color-bg:        #0A0A0B;
	--color-bg-2:      #0E0E10;
	--color-surface:   #141418;
	--color-surface-2: #1C1C22;
	--color-ink:       #F5F5F7;
	--color-ink-dim:   #D4D4DA;
	--color-muted:     #8A8A93;
	--color-muted-2:   #5A5A62;
	--color-hairline:  #1F1F23;
	--color-hairline-2:#2A2A30;
	--color-lime:      #B6FF4E;
	--color-lime-dim:  #97E13F;
	--color-lime-ink:  #0A0A0B;
	--color-danger:    #FF5A4E;

	--font-display: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-body:    "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-mono:    "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

	--size-hero:   clamp(2.75rem, 7.5vw, 6.5rem);
	--size-h1:     clamp(2.25rem, 5vw, 4rem);
	--size-h2:     clamp(2rem, 4vw, 3.25rem);
	--size-h3:     clamp(1.375rem, 2.2vw, 1.75rem);
	--size-lead:   clamp(1rem, 1.3vw, 1.1875rem);
	--size-body:   1rem;
	--size-small:  0.9375rem;
	--size-micro:  0.8125rem;
	--size-nano:   0.6875rem;

	--track-display: -0.04em;
	--track-title:   -0.025em;
	--track-body:    -0.01em;
	--track-label:   0.02em;

	--leading-tight: 1.02;
	--leading-snug:  1.2;
	--leading-body:  1.55;

	--space-1:  0.25rem;
	--space-2:  0.5rem;
	--space-3:  0.75rem;
	--space-4:  1rem;
	--space-5:  1.5rem;
	--space-6:  2rem;
	--space-7:  3rem;
	--space-8:  4rem;
	--space-9:  6rem;
	--space-10: 8rem;

	--radius-sm: 6px;
	--radius-md: 10px;
	--radius-lg: 16px;
	--radius-xl: 24px;
	--radius-pill: 999px;

	--container:     1280px;
	--container-sm:  860px;

	--shadow-glow: 0 0 0 1px rgba(182,255,78,0.12), 0 12px 40px -6px rgba(182,255,78,0.22);
	--shadow-card: 0 1px 0 rgba(255,255,255,0.04) inset, 0 10px 30px -10px rgba(0,0,0,0.5);

	--ease-out: cubic-bezier(0.22, 1, 0.36, 1);
	--ease-snap: cubic-bezier(0.5, 1.4, 0.5, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	background: var(--color-bg);
	color-scheme: dark;
}
body {
	margin: 0;
	background: var(--color-bg);
	color: var(--color-ink);
	font-family: var(--font-body);
	font-size: var(--size-body);
	line-height: var(--leading-body);
	letter-spacing: var(--track-body);
	font-feature-settings: "ss01", "cv11";
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--color-hairline); margin: 0; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--color-lime); color: var(--color-lime-ink); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 600;
	letter-spacing: var(--track-title);
	line-height: var(--leading-snug);
	margin: 0;
}
.display {
	font-family: var(--font-display);
	font-size: var(--size-hero);
	line-height: var(--leading-tight);
	font-weight: 600;
	letter-spacing: var(--track-display);
}
.eyebrow {
	font-family: var(--font-mono);
	font-size: var(--size-nano);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-weight: 500;
	color: var(--color-lime);
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}
.eyebrow::before {
	content: "";
	width: 6px; height: 6px;
	border-radius: 50%;
	background: var(--color-lime);
	box-shadow: 0 0 12px var(--color-lime);
	animation: pulse-lime 2.4s ease-in-out infinite;
}
@keyframes pulse-lime {
	0%, 100% { opacity: 1; transform: scale(1); }
	50%      { opacity: 0.55; transform: scale(0.85); }
}
.lead {
	font-size: var(--size-lead);
	line-height: 1.5;
	color: var(--color-muted);
	max-width: 44ch;
}
.prose { max-width: 62ch; color: var(--color-ink-dim); }
.prose p { font-size: var(--size-body); color: var(--color-muted); }
.small { font-size: var(--size-small); color: var(--color-muted); }
.mono { font-family: var(--font-mono); letter-spacing: 0; }

/* ---------- Layout ---------- */
.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 clamp(1rem, 4vw, 2.5rem);
}
.container--narrow { max-width: var(--container-sm); }
.section { padding: clamp(4rem, 10vw, 8rem) 0; position: relative; }
.section--tight { padding: clamp(3rem, 6vw, 5rem) 0; }
.section--flush { padding: 0; }
.rule { height: 1px; background: var(--color-hairline); border: 0; margin: 0; }

/* Subtle radial glow backdrop, used behind hero */
.glow {
	position: absolute;
	pointer-events: none;
	width: 1200px; height: 1200px;
	left: 50%; top: -300px;
	transform: translateX(-50%);
	background: radial-gradient(circle at center, rgba(182,255,78,0.10) 0%, rgba(182,255,78,0) 55%);
	z-index: 0;
}
.glow--bottom {
	top: auto; bottom: -600px;
	background: radial-gradient(circle at center, rgba(182,255,78,0.06) 0%, rgba(182,255,78,0) 55%);
}

/* Dotted grid background texture */
.grid-bg {
	background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.035) 1px, transparent 0);
	background-size: 24px 24px;
}

/* Video background (hero) — nav is taken out of flow (see body:has rule below) so
   the hero starts at y=0 and the video fills from the very top of the viewport.
   min-height pinned to the full viewport so nothing from the next section peeks in. */
.hero--video {
	min-height: 100vh;
	min-height: 100lvh; /* pin to the LARGE viewport so the hero always extends behind the mobile
	                       address bar — prevents the next section from peeking in on iOS Safari,
	                       where `dvh` can briefly resolve short on initial paint. */
	display: flex;
	align-items: center;
	padding: clamp(8rem, 14vw, 12rem) 0 clamp(3rem, 6vw, 5rem);
}
.hero__video-wrap {
	position: absolute;
	inset: 0;
	overflow: hidden;
	z-index: 0;
	background: var(--color-bg);
}
.hero__video-wrap video,
.hero__video-wrap img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(0.42) contrast(1.08) saturate(0.85);
}
.hero__video-wrap::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(10,10,11,0.45) 0%, rgba(10,10,11,0.7) 55%, var(--color-bg) 100%),
		radial-gradient(ellipse at 70% 20%, rgba(182,255,78,0.12) 0%, transparent 50%);
	pointer-events: none;
}
.hero--video .hero__inner { position: relative; z-index: 2; }

/* ---------- Nav ---------- */
:root { --nav-height: 92px; }
.nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 40;
	background: color-mix(in srgb, var(--color-bg) 72%, transparent);
	backdrop-filter: saturate(180%) blur(18px);
	-webkit-backdrop-filter: saturate(180%) blur(18px);
	border-bottom: 1px solid transparent;
	transition: border-color 220ms var(--ease-out), background-color 220ms var(--ease-out), backdrop-filter 220ms var(--ease-out);
}
/* Reserve space for the fixed nav. Hero-video pages opt out so the video fills
   the top of the viewport and the transparent nav floats over it. */
body { padding-top: var(--nav-height); }
body:has(.hero--video) { padding-top: 0; }
.nav.is-scrolled {
	border-bottom-color: var(--color-hairline);
	background: color-mix(in srgb, var(--color-bg) 88%, transparent);
}
/* On the homepage the nav sits transparently over the hero video until scrolled. */
body:has(.hero--video) .nav {
	background: transparent;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	border-bottom-color: transparent;
}
body:has(.hero--video) .nav.is-scrolled {
	background: color-mix(in srgb, var(--color-bg) 82%, transparent);
	backdrop-filter: saturate(180%) blur(18px);
	-webkit-backdrop-filter: saturate(180%) blur(18px);
	border-bottom-color: var(--color-hairline);
}
/* Fallback for browsers without :has() — give the homepage <body class="has-hero-video">
   via PHP if you need older browser support. */
.nav__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-6);
	padding: var(--space-4) 0;
}
.nav__brand {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-weight: 600;
	letter-spacing: -0.02em;
	flex-shrink: 0;
}
.nav__brand img { height: 60px; width: auto; display: block; }
@media (max-width: 520px) {
	.nav__brand img { height: 48px; }
}
.nav__brand-mark {
	display: inline-block;
	width: 22px; height: 22px;
	background: var(--color-lime);
	border-radius: 5px;
	position: relative;
}
.nav__brand-mark::after {
	content: "";
	position: absolute;
	inset: 4px;
	border: 2px solid var(--color-lime-ink);
	border-radius: 2px;
}
.nav__brand-text { font-size: 0.95rem; color: var(--color-ink); }
.nav__brand-text b { color: var(--color-ink); font-weight: 600; }
.nav__brand-text span { color: var(--color-muted); font-weight: 400; margin-left: 2px; }

.nav__menu {
	display: flex;
	align-items: center;
	gap: var(--space-5);
}
.nav__link {
	font-size: 0.875rem;
	color: var(--color-ink-dim);
	padding: var(--space-2) 0;
	position: relative;
	transition: color 160ms var(--ease-out);
}
.nav__link:hover { color: var(--color-ink); }
.nav__link.is-active { color: var(--color-lime); }
.nav__dropdown { position: relative; }
.nav__dropdown-trigger {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.875rem;
	color: var(--color-ink-dim);
	padding: var(--space-2) 0;
	transition: color 160ms var(--ease-out);
}
.nav__dropdown-trigger:hover { color: var(--color-ink); }
.nav__dropdown-trigger.is-active { color: var(--color-lime); }
.nav__dropdown-trigger::after {
	content: "";
	width: 0.4rem; height: 0.4rem;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	margin-top: -2px;
	transition: transform 220ms var(--ease-out);
}
.nav__dropdown[data-open="true"] .nav__dropdown-trigger::after,
.nav__dropdown:focus-within .nav__dropdown-trigger::after { transform: rotate(225deg); margin-top: 2px; }
@media (hover: hover) and (min-width: 761px) {
	.nav__dropdown:hover .nav__dropdown-trigger::after { transform: rotate(225deg); margin-top: 2px; }
}
.nav__submenu {
	position: absolute;
	top: calc(100% + 10px);
	left: 50%;
	transform: translateX(-50%) translateY(-6px);
	min-width: 260px;
	padding: var(--space-3);
	background: var(--color-surface);
	border: 1px solid var(--color-hairline-2);
	border-radius: var(--radius-md);
	box-shadow: 0 20px 60px -20px rgba(0,0,0,0.8);
	opacity: 0;
	pointer-events: none;
	transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out);
	display: flex;
	flex-direction: column;
	gap: 2px;
}
/* Open state triggers: hover (desktop), focus-within (keyboard), data-open=true (touch click) */
.nav__dropdown[data-open="true"] .nav__submenu,
.nav__dropdown:focus-within .nav__submenu {
	opacity: 1;
	pointer-events: auto;
	transform: translateX(-50%) translateY(0);
}
@media (hover: hover) and (min-width: 761px) {
	.nav__dropdown:hover .nav__submenu {
		opacity: 1;
		pointer-events: auto;
		transform: translateX(-50%) translateY(0);
	}
	/* Invisible bridge to cover the 10px gap, so the hover doesn't break when moving from trigger to submenu */
	.nav__dropdown::after {
		content: "";
		position: absolute;
		left: 0; right: 0;
		top: 100%;
		height: 12px;
	}
}
.nav__submenu a {
	font-size: 0.875rem;
	padding: var(--space-2) var(--space-3);
	border-radius: var(--radius-sm);
	color: var(--color-ink-dim);
	display: flex;
	align-items: center;
	gap: var(--space-3);
	transition: background-color 140ms var(--ease-out), color 140ms var(--ease-out);
}
.nav__submenu a:hover { background: var(--color-surface-2); color: var(--color-lime); }

/* Solutions dropdown: wider so the actor names fit on a single or two lines */
.nav__dropdown--wide .nav__submenu {
	min-width: 380px;
	padding: var(--space-3);
	gap: 2px;
}
.nav__dropdown--wide .nav__submenu a {
	padding: var(--space-3);
	line-height: 1.35;
	color: var(--color-ink);
	font-weight: 500;
}
.nav__lang-flag { width: 18px; height: 14px; object-fit: cover; border-radius: 1px; }

.nav__toggle {
	display: none;
	width: 32px;
	height: 32px;
	position: relative;
}
.nav__toggle span {
	position: absolute;
	left: 6px;
	width: 20px;
	height: 1.5px;
	background: var(--color-ink);
	transition: transform 220ms var(--ease-out), opacity 160ms var(--ease-out), top 220ms var(--ease-out);
}
.nav__toggle span:nth-child(1) { top: 11px; }
.nav__toggle span:nth-child(2) { top: 16px; }
.nav__toggle span:nth-child(3) { top: 21px; }
body.is-menu-open .nav__toggle span:nth-child(1) { top: 16px; transform: rotate(45deg); }
body.is-menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
body.is-menu-open .nav__toggle span:nth-child(3) { top: 16px; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.72rem 1.1rem;
	font-size: 0.875rem;
	font-weight: 500;
	border-radius: var(--radius-pill);
	border: 1px solid transparent;
	transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out), border-color 180ms var(--ease-out), transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
	cursor: pointer;
	letter-spacing: -0.01em;
	white-space: nowrap;
	will-change: transform;
}
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn.is-loading { cursor: wait; opacity: 0.72; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading::before {
	content: "";
	display: inline-block;
	width: 0.95em;
	height: 0.95em;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	vertical-align: -0.15em;
	margin-right: 0.5rem;
	animation: edn-btn-spin 0.7s linear infinite;
}
@keyframes edn-btn-spin { to { transform: rotate(360deg); } }

/* Footer subscribe button — same loading treatment, no .btn class there. */
.footer__form button[type="submit"].is-loading { cursor: wait; opacity: 0.72; pointer-events: none; }
.footer__form button[type="submit"].is-loading::before {
	content: "";
	display: inline-block;
	width: 0.9em;
	height: 0.9em;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	vertical-align: -0.12em;
	margin-right: 0.45rem;
	animation: edn-btn-spin 0.7s linear infinite;
}
.btn--primary {
	background: var(--color-lime);
	color: var(--color-lime-ink);
	box-shadow: 0 0 0 1px rgba(182,255,78,0.3), 0 10px 28px -8px rgba(182,255,78,0.45);
}
.btn--primary:hover {
	background: var(--color-lime-dim);
	box-shadow: 0 0 0 1px rgba(182,255,78,0.5), 0 14px 32px -6px rgba(182,255,78,0.6);
}
.btn--ghost {
	background: transparent;
	border-color: var(--color-hairline-2);
	color: var(--color-ink);
}
.btn--ghost:hover { background: var(--color-surface); border-color: var(--color-muted-2); }
.btn--dark {
	background: var(--color-surface);
	color: var(--color-ink);
	border-color: var(--color-hairline-2);
}
.btn--dark:hover { background: var(--color-surface-2); border-color: var(--color-muted-2); }
.btn--link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: var(--color-lime);
	font-weight: 500;
	font-size: 0.9375rem;
	padding: 0;
	border: 0;
	position: relative;
}
.btn--link::after { content: "→"; transition: transform 220ms var(--ease-out); }
.btn--link:hover::after { transform: translateX(4px); }

/* ---------- Badge / pill ---------- */
.badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.35rem 0.75rem;
	background: var(--color-surface);
	border: 1px solid var(--color-hairline-2);
	border-radius: var(--radius-pill);
	font-size: var(--size-micro);
	color: var(--color-ink-dim);
	font-weight: 500;
	letter-spacing: -0.005em;
}
.badge__dot {
	width: 6px; height: 6px;
	border-radius: 50%;
	background: var(--color-lime);
	box-shadow: 0 0 10px var(--color-lime);
	animation: pulse-lime 2.4s ease-in-out infinite;
}
.badge__sep { color: var(--color-muted-2); }
.badge .mono { font-size: var(--size-nano); letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-muted); }

/* ---------- Hero ---------- */
.hero {
	padding: clamp(4.5rem, 11vw, 10rem) 0 clamp(3rem, 6vw, 5rem);
	position: relative;
	overflow: hidden;
}
.hero__inner { position: relative; z-index: 1; max-width: 1100px; }
.hero__badge { margin-bottom: var(--space-5); }
.hero__title {
	font-size: var(--size-hero);
	line-height: var(--leading-tight);
	letter-spacing: var(--track-display);
	font-weight: 600;
	max-width: 17ch;
	margin-bottom: var(--space-5);
	background: linear-gradient(180deg, var(--color-ink) 0%, color-mix(in srgb, var(--color-ink) 78%, var(--color-bg)) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.hero__title em {
	font-style: normal;
	background: linear-gradient(120deg, var(--color-lime) 0%, #E8FFA6 50%, var(--color-lime) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.hero__lead { margin-bottom: var(--space-6); color: var(--color-muted); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-bottom: var(--space-8); }
.hero__meta {
	display: flex;
	gap: var(--space-7);
	padding-top: var(--space-5);
	border-top: 1px solid var(--color-hairline);
	flex-wrap: wrap;
	max-width: 760px;
}
.hero__meta-item {
	font-size: var(--size-small);
	color: var(--color-muted);
	display: flex;
	align-items: baseline;
	gap: var(--space-2);
	font-family: var(--font-mono);
}
.hero__meta-item strong {
	font-family: var(--font-display);
	color: var(--color-ink);
	font-weight: 600;
	font-size: 1.1875rem;
	letter-spacing: -0.02em;
}

/* ---------- Marquee (logo wall) ---------- */
.marquee {
	overflow: hidden;
	position: relative;
	padding: var(--space-5) 0;
	border-top: 1px solid var(--color-hairline);
	border-bottom: 1px solid var(--color-hairline);
	mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}
.marquee__track {
	display: flex;
	gap: clamp(3rem, 7vw, 6rem);
	width: max-content;
	animation: marquee-scroll 40s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
	font-family: var(--font-display);
	font-size: clamp(1rem, 1.5vw, 1.25rem);
	font-weight: 500;
	color: var(--color-muted);
	letter-spacing: -0.02em;
	white-space: nowrap;
	opacity: 0.8;
	transition: color 160ms var(--ease-out), opacity 160ms var(--ease-out);
}
.marquee__item:hover { color: var(--color-lime); opacity: 1; }
.marquee__sep {
	color: var(--color-muted-2);
	font-size: 1.25rem;
	align-self: center;
}
@keyframes marquee-scroll {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

.marquee__title {
	font-family: var(--font-mono);
	font-size: var(--size-nano);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--color-muted);
	text-align: center;
	margin-bottom: var(--space-5);
}

/* ---------- Stats band ---------- */
.stats {
	padding: clamp(3rem, 6vw, 5rem) 0;
	border-top: 1px solid var(--color-hairline);
	border-bottom: 1px solid var(--color-hairline);
	position: relative;
}
.stats__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--space-5);
}
.stats__item { border-left: 1px solid var(--color-hairline); padding-left: var(--space-5); }
.stats__item:first-child { border-left: 0; padding-left: 0; }
.stats__value {
	font-family: var(--font-display);
	font-size: clamp(2.5rem, 5vw, 4rem);
	font-weight: 600;
	letter-spacing: var(--track-display);
	line-height: 1;
	color: var(--color-ink);
	display: inline-flex;
	align-items: baseline;
}
.stats__value sup {
	font-size: 0.5em;
	color: var(--color-lime);
	vertical-align: super;
	font-weight: 500;
	margin-left: 0.15em;
	letter-spacing: 0;
}
.stats__label {
	font-family: var(--font-mono);
	font-size: var(--size-nano);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-muted);
	margin-top: var(--space-4);
}

/* ---------- Solutions grid ---------- */
.solutions__head {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(2rem, 6vw, 5rem);
	align-items: end;
	margin-bottom: var(--space-8);
}
.solutions__title {
	font-size: var(--size-h2);
	letter-spacing: var(--track-display);
	max-width: 18ch;
	font-weight: 600;
}
.solutions__title em { font-style: normal; color: var(--color-lime); }
.solutions__grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: var(--space-4);
}
.solution {
	grid-column: span 2;
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
	padding: var(--space-6);
	background: var(--color-surface);
	border: 1px solid var(--color-hairline-2);
	border-radius: var(--radius-lg);
	transition: transform 360ms var(--ease-out), border-color 360ms var(--ease-out), background-color 360ms var(--ease-out);
	overflow: hidden;
	isolation: isolate;
}
.solution::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 1px;
	background: linear-gradient(135deg, transparent 30%, var(--color-lime) 150%);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	opacity: 0;
	transition: opacity 360ms var(--ease-out);
	pointer-events: none;
	z-index: 1;
}
.solution:hover {
	transform: translateY(-4px);
	background: var(--color-surface-2);
	border-color: transparent;
}
.solution:hover::before { opacity: 1; }
.solution:nth-child(4) { grid-column: 1 / span 3; }
.solution:nth-child(5) { grid-column: 4 / span 3; }
.solution__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-3);
}
.solution__index {
	font-family: var(--font-mono);
	font-size: var(--size-micro);
	color: var(--color-muted);
	letter-spacing: 0.02em;
	font-weight: 500;
}
.solution__index em { font-style: normal; color: var(--color-lime); }
.solution__arrow {
	width: 32px; height: 32px;
	border-radius: 50%;
	border: 1px solid var(--color-hairline-2);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--color-muted);
	font-size: 0.85rem;
	transition: background-color 280ms var(--ease-out), border-color 280ms var(--ease-out), color 280ms var(--ease-out), transform 280ms var(--ease-out);
}
.solution:hover .solution__arrow {
	background: var(--color-lime);
	color: var(--color-lime-ink);
	border-color: var(--color-lime);
	transform: rotate(-45deg);
}
.solution__name {
	font-family: var(--font-display);
	font-size: 1.375rem;
	font-weight: 600;
	letter-spacing: var(--track-title);
	color: var(--color-ink);
}
.solution__name em { font-style: normal; color: var(--color-lime); }
.solution__desc {
	color: var(--color-muted);
	font-size: var(--size-small);
	line-height: 1.55;
	flex: 1;
}

/* ---------- Editorial split ---------- */
.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(2rem, 6vw, 5rem);
	align-items: center;
	padding: clamp(3rem, 6vw, 5rem) 0;
}
.split--reverse .split__media { order: 2; }
.split__media {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: var(--radius-lg);
	background: var(--color-surface);
	border: 1px solid var(--color-hairline-2);
	position: relative;
}
.split__media img {
	width: 100%; height: 100%;
	object-fit: cover;
	filter: brightness(0.78) contrast(1.05) saturate(0.9);
	transition: transform 900ms var(--ease-out), filter 600ms var(--ease-out);
}
.split__media:hover img { transform: scale(1.04); filter: brightness(0.88) contrast(1.05) saturate(1); }
.split__title {
	font-size: var(--size-h2);
	letter-spacing: var(--track-display);
	margin-bottom: var(--space-5);
	max-width: 18ch;
	font-weight: 600;
}
.split__title em { font-style: normal; color: var(--color-lime); }
.split__body {
	color: var(--color-muted);
	font-size: var(--size-body);
	line-height: var(--leading-body);
	margin-bottom: var(--space-5);
}
.split__list { margin-top: var(--space-5); display: grid; gap: var(--space-3); }
.split__list li {
	display: flex;
	gap: var(--space-3);
	align-items: baseline;
	font-size: var(--size-small);
	color: var(--color-ink-dim);
}
.split__list li::before {
	content: "→";
	color: var(--color-lime);
	font-weight: 500;
	flex-shrink: 0;
}

/* ---------- Testimonials ---------- */
.testimonials {
	background: var(--color-bg-2);
	border-top: 1px solid var(--color-hairline);
	border-bottom: 1px solid var(--color-hairline);
	position: relative;
}
.testimonials__head { max-width: 42rem; margin-bottom: var(--space-8); }
.testimonials__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--space-4);
}
.testimonial {
	padding: var(--space-6);
	background: var(--color-surface);
	border: 1px solid var(--color-hairline-2);
	border-radius: var(--radius-lg);
	display: flex;
	flex-direction: column;
	gap: var(--space-5);
	transition: transform 300ms var(--ease-out), border-color 300ms var(--ease-out);
}
.testimonial:hover { transform: translateY(-3px); border-color: var(--color-hairline-2); }
.testimonial__quote {
	font-size: 1.0625rem;
	line-height: 1.5;
	color: var(--color-ink-dim);
	font-weight: 400;
	letter-spacing: -0.01em;
}
.testimonial__quote::before {
	content: "";
	display: block;
	width: 28px; height: 28px;
	background: var(--color-lime);
	mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M7 11H3v10h8V11H9c0-2.2 1.8-4 4-4V3c-4.4 0-6 3.6-6 8zm14-4V3c-4.4 0-6 3.6-6 8v10h8V11h-4c0-2.2 1.8-4 4-4z' fill='black'/></svg>") no-repeat center / contain;
	-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M7 11H3v10h8V11H9c0-2.2 1.8-4 4-4V3c-4.4 0-6 3.6-6 8zm14-4V3c-4.4 0-6 3.6-6 8v10h8V11h-4c0-2.2 1.8-4 4-4z' fill='black'/></svg>") no-repeat center / contain;
	margin-bottom: var(--space-4);
}
.testimonial__meta {
	display: flex;
	align-items: center;
	gap: var(--space-3);
	padding-top: var(--space-4);
	border-top: 1px solid var(--color-hairline);
	font-size: var(--size-small);
	color: var(--color-muted);
	margin-top: auto;
}
.testimonial__avatar {
	width: 36px; height: 36px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--color-surface-2), var(--color-hairline-2));
	border: 1px solid var(--color-hairline-2);
	flex-shrink: 0;
}
.testimonial__author strong { color: var(--color-ink); font-weight: 500; display: block; }

/* ---------- About page ---------- */
.about-hero { padding: clamp(6rem, 14vw, 12rem) 0 clamp(3rem, 6vw, 5rem); position: relative; overflow: hidden; }
.about-hero .hero__title { max-width: 20ch; }

.story__grid {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: clamp(2rem, 6vw, 5rem);
	align-items: start;
}
.story__grid .prose p { margin-bottom: var(--space-5); }
.story__grid .prose p:last-child { margin-bottom: 0; }

.pullquote {
	border-left: 3px solid var(--color-lime);
	padding: var(--space-4) 0 var(--space-4) var(--space-7);
	margin: 0 auto;
	max-width: 920px;
}
.pullquote__text {
	font-family: var(--font-display);
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: var(--track-title);
	color: var(--color-ink);
	margin: 0 0 var(--space-4);
}
.pullquote__text em { font-style: normal; color: var(--color-lime); }
.pullquote__footer {
	font-family: var(--font-mono);
	font-size: var(--size-nano);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-muted);
}

.timeline {
	list-style: none;
	padding: 0;
	margin: 0;
	border-left: 1px solid var(--color-hairline-2);
}
.timeline__item {
	display: grid;
	grid-template-columns: 120px 1fr;
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: start;
	padding: var(--space-6) 0 var(--space-6) var(--space-6);
	border-bottom: 1px solid var(--color-hairline);
	position: relative;
}
.timeline__item:last-child { border-bottom: 0; }
.timeline__item::before {
	content: "";
	position: absolute;
	left: -5px;
	top: calc(var(--space-6) + 10px);
	width: 9px; height: 9px;
	border-radius: 50%;
	background: var(--color-lime);
	box-shadow: 0 0 0 4px var(--color-bg), 0 0 16px rgba(182,255,78,0.4);
}
.timeline__year {
	font-family: var(--font-mono);
	font-size: 1rem;
	font-weight: 500;
	color: var(--color-lime);
	letter-spacing: 0.01em;
}
.timeline__title {
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: 600;
	letter-spacing: var(--track-title);
	color: var(--color-ink);
	margin-bottom: var(--space-3);
}
.timeline__body p {
	color: var(--color-muted);
	font-size: var(--size-small);
	line-height: 1.55;
	margin: 0;
	max-width: 60ch;
}

@media (max-width: 760px) {
	.story__grid { grid-template-columns: 1fr; }
	.timeline__item { grid-template-columns: 1fr; gap: var(--space-2); padding-left: var(--space-5); }
	.timeline__item::before { top: calc(var(--space-6) + 6px); }
	.pullquote { padding-left: var(--space-5); }
}

/* ---------- Founders ---------- */
.founders__head { max-width: 42rem; margin-bottom: var(--space-8); }
.founders__head .solutions__title { margin-bottom: var(--space-4); }
.founders__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(2rem, 5vw, 4rem);
}
.founder {
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: var(--space-5);
	align-items: start;
	padding: var(--space-6);
	background: var(--color-surface);
	border: 1px solid var(--color-hairline-2);
	border-radius: var(--radius-lg);
}
.founder__portrait {
	aspect-ratio: 1 / 1.2;
	overflow: hidden;
	border-radius: var(--radius-md);
	background: var(--color-surface-2);
}
.founder__portrait img {
	width: 100%; height: 100%;
	object-fit: cover;
	filter: grayscale(100%) contrast(0.95) brightness(0.95);
	transition: filter 500ms var(--ease-out);
}
.founder:hover .founder__portrait img { filter: grayscale(0%) contrast(1) brightness(1); }
.founder__role {
	font-family: var(--font-mono);
	font-size: var(--size-nano);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-lime);
	margin-bottom: var(--space-3);
}
.founder__name {
	font-size: 1.375rem;
	font-family: var(--font-display);
	letter-spacing: var(--track-title);
	font-weight: 600;
	color: var(--color-ink);
}
.founder__bio {
	color: var(--color-muted);
	font-size: var(--size-small);
	line-height: 1.55;
	margin-top: var(--space-3);
}
.founder__social {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: var(--size-small);
	color: var(--color-lime);
	margin-top: var(--space-4);
}
.founder__social:hover { text-decoration: underline; }

/* ---------- CTA band ---------- */
.cta-band {
	background: var(--color-lime);
	color: var(--color-lime-ink);
	padding: clamp(3rem, 6vw, 5rem) 0;
	position: relative;
	overflow: hidden;
}
.cta-band__inner {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: var(--space-7);
	position: relative;
	z-index: 1;
}
.cta-band__title {
	font-size: clamp(1.875rem, 3.8vw, 3rem);
	max-width: 24ch;
	color: var(--color-lime-ink);
	font-weight: 600;
	letter-spacing: var(--track-display);
}
.cta-band__title em { font-style: normal; color: var(--color-bg); border-bottom: 3px solid var(--color-lime-ink); padding-bottom: 2px; }
.cta-band .btn--primary {
	background: var(--color-lime-ink);
	color: var(--color-lime);
	box-shadow: 0 10px 30px -8px rgba(0,0,0,0.35);
}
.cta-band .btn--primary:hover { background: #1a1a1e; color: var(--color-lime); }

/* ---------- Forms ---------- */
.form { display: grid; gap: var(--space-5); }
.field { display: flex; flex-direction: column; gap: var(--space-2); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
.field__label {
	font-family: var(--font-mono);
	font-size: var(--size-nano);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-muted);
	font-weight: 500;
}
.field__input,
.field__textarea,
.field__select {
	width: 100%;
	padding: 0.85rem 1rem;
	background: var(--color-surface);
	border: 1px solid var(--color-hairline-2);
	border-radius: var(--radius-sm);
	color: var(--color-ink);
	font-size: var(--size-body);
	transition: border-color 180ms var(--ease-out), background-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}
.field__input::placeholder, .field__textarea::placeholder { color: var(--color-muted-2); }

/* ---------- intl-tel-input overrides (match .field__input) ---------- */
.iti { display: block; width: 100%; }
.iti__tel-input { width: 100%; }
.iti--inline-dropdown .iti__dropdown-content { background: var(--color-surface); border: 1px solid var(--color-hairline-2); color: var(--color-ink); }
.iti__search-input { background: var(--color-bg-2); color: var(--color-ink); border-color: var(--color-hairline-2); }
.iti__country-list { background: var(--color-surface); color: var(--color-ink); }
.iti__country.iti__highlight { background: var(--color-surface-2); }
.iti__selected-country { background: transparent; }
.iti__selected-country:hover, .iti__selected-country:focus, .iti__selected-country[aria-expanded="true"] { background: var(--color-surface-2); }
.iti--separate-dial-code .iti__selected-dial-code { color: var(--color-ink); }
.field__input:focus,
.field__textarea:focus,
.field__select:focus {
	outline: none;
	border-color: var(--color-lime);
	background: var(--color-bg-2);
	box-shadow: 0 0 0 3px rgba(182,255,78,0.18);
}
.field__textarea { min-height: 150px; resize: vertical; font-family: inherit; }
.field__select {
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, var(--color-muted) 50%), linear-gradient(135deg, var(--color-muted) 50%, transparent 50%);
	background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
	background-size: 6px 6px;
	background-repeat: no-repeat;
	padding-right: 2.5rem;
}
.field__checkbox {
	display: flex;
	align-items: flex-start;
	gap: var(--space-3);
	font-size: var(--size-small);
	color: var(--color-muted);
	cursor: pointer;
}
.field__checkbox input { margin-top: 0.3rem; accent-color: var(--color-lime); }

/* Contact page layout */
.contact { padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 7rem); }
.contact__grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: clamp(2.5rem, 6vw, 5rem);
	align-items: start;
}
.contact__info { display: grid; gap: var(--space-4); }
.contact__card {
	padding: var(--space-6);
	background: var(--color-surface);
	border: 1px solid var(--color-hairline-2);
	border-radius: var(--radius-lg);
}
.contact__card h3 { font-size: var(--size-h3); margin-bottom: var(--space-3); font-weight: 600; }
.contact__card p { color: var(--color-muted); font-size: var(--size-small); margin: 0; }
.contact__card a { color: var(--color-lime); }

/* ---------- Footer ---------- */
.footer {
	background: var(--color-bg);
	color: var(--color-muted);
	padding: clamp(4rem, 8vw, 6rem) 0 var(--space-7);
	border-top: 1px solid var(--color-hairline);
}
.footer a { color: var(--color-muted); transition: color 160ms var(--ease-out); }
.footer a:hover { color: var(--color-lime); }
.footer__grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
	gap: var(--space-7);
	margin-bottom: var(--space-8);
}
.footer__brand { max-width: 30ch; }
.footer__brand img { height: 36px; width: auto; filter: brightness(0) invert(1); margin-bottom: var(--space-5); opacity: 0.9; }
.footer__brand p { font-size: var(--size-small); color: var(--color-muted-2); }
.footer__h {
	font-family: var(--font-mono);
	font-size: var(--size-nano);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--color-ink);
	margin-bottom: var(--space-5);
}
.footer__list { display: grid; gap: var(--space-3); font-size: var(--size-small); }
.footer__subscribe p { font-size: var(--size-small); color: var(--color-muted); margin-bottom: var(--space-4); }
.footer__form {
	display: flex;
	gap: var(--space-2);
	border-bottom: 1px solid var(--color-hairline-2);
	padding-bottom: var(--space-2);
	transition: border-color 200ms var(--ease-out);
}
.footer__form:focus-within { border-bottom-color: var(--color-lime); }
.footer__form input {
	flex: 1;
	background: transparent;
	border: 0;
	color: var(--color-ink);
	font-size: var(--size-small);
	padding: var(--space-2) 0;
}
.footer__form input:focus { outline: none; }
.footer__form input::placeholder { color: var(--color-muted-2); }
.footer__form button {
	padding: var(--space-2) var(--space-3);
	color: var(--color-lime);
	font-size: var(--size-small);
	font-weight: 500;
	white-space: nowrap;
}
.footer__bottom {
	border-top: 1px solid var(--color-hairline);
	padding-top: var(--space-5);
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: var(--size-micro);
	color: var(--color-muted-2);
	gap: var(--space-5);
	flex-wrap: wrap;
}
.footer__socials { display: flex; gap: var(--space-3); }
.footer__socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px; height: 36px;
	border: 1px solid var(--color-hairline-2);
	border-radius: 50%;
	transition: border-color 180ms var(--ease-out), color 180ms var(--ease-out), background-color 180ms var(--ease-out);
}
.footer__socials a:hover { border-color: var(--color-lime); color: var(--color-lime); background: color-mix(in srgb, var(--color-lime) 6%, transparent); }

/* ---------- Product page skeleton ---------- */
.product-hero { padding: clamp(4rem, 9vw, 8rem) 0 clamp(3rem, 5vw, 4.5rem); position: relative; overflow: hidden; }
.product-hero__name {
	font-family: var(--font-mono);
	font-size: var(--size-micro);
	font-weight: 500;
	color: var(--color-lime);
	margin-bottom: var(--space-4);
	letter-spacing: 0.04em;
}
.product-hero__title {
	font-size: clamp(2.25rem, 5vw, 4.25rem);
	max-width: 22ch;
	margin-bottom: var(--space-5);
	letter-spacing: var(--track-display);
	font-weight: 600;
}
.features__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--space-5);
	margin-top: var(--space-8);
}
.feature {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	padding: var(--space-5);
	border: 1px solid var(--color-hairline-2);
	border-radius: var(--radius-lg);
	background: var(--color-surface);
	transition: border-color 300ms var(--ease-out);
}
.feature:hover { border-color: var(--color-hairline-2); }
.feature__num {
	font-family: var(--font-mono);
	font-size: var(--size-nano);
	color: var(--color-lime);
	letter-spacing: 0.14em;
}
.feature__title {
	font-family: var(--font-display);
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--color-ink);
	letter-spacing: var(--track-title);
}
.feature__desc { font-size: var(--size-small); color: var(--color-muted); line-height: 1.55; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: var(--space-8) auto 0; }
.faq details {
	border-top: 1px solid var(--color-hairline);
	padding: var(--space-5) 0;
}
.faq details:last-child { border-bottom: 1px solid var(--color-hairline); }
.faq summary {
	font-family: var(--font-display);
	font-size: 1.1875rem;
	font-weight: 600;
	letter-spacing: var(--track-title);
	list-style: none;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: var(--space-5);
	color: var(--color-ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: "+";
	color: var(--color-lime);
	font-family: var(--font-body);
	font-size: 1.5rem;
	font-weight: 300;
	transition: transform 200ms var(--ease-out);
	line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details p {
	margin-top: var(--space-4);
	color: var(--color-muted);
	font-size: var(--size-body);
	line-height: var(--leading-body);
}

/* ---------- Confirmation page ---------- */
.confirm { padding: clamp(5rem, 12vw, 10rem) 0; text-align: center; }
.confirm__mark {
	width: 72px; height: 72px;
	border-radius: 50%;
	background: var(--color-lime);
	color: var(--color-lime-ink);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	margin-bottom: var(--space-6);
	box-shadow: 0 0 0 8px rgba(182,255,78,0.12);
}
.confirm__title { font-size: var(--size-h1); margin-bottom: var(--space-5); max-width: 20ch; margin-inline: auto; font-weight: 600; letter-spacing: var(--track-display); }
.confirm__lead { max-width: 44ch; margin: 0 auto var(--space-7); color: var(--color-muted); font-size: var(--size-lead); }

/* ---------- Scroll reveal + parallax ---------- */
.reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
	will-change: transform, opacity;
}
.reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}
.reveal[data-reveal-delay="1"] { transition-delay: 80ms; }
.reveal[data-reveal-delay="2"] { transition-delay: 160ms; }
.reveal[data-reveal-delay="3"] { transition-delay: 240ms; }
.reveal[data-reveal-delay="4"] { transition-delay: 320ms; }

.parallax { will-change: transform; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
	.stats__grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
	.stats__item { border-left: 0; padding-left: 0; }
	.solutions__head { grid-template-columns: 1fr; gap: var(--space-5); align-items: start; }
	.solutions__grid { grid-template-columns: 1fr; }
	.solution { grid-column: auto !important; }
	.split { grid-template-columns: 1fr; }
	.split--reverse .split__media { order: 0; }
	.testimonials__grid { grid-template-columns: 1fr; }
	.founders__grid { grid-template-columns: 1fr; }
	.founder { grid-template-columns: 120px 1fr; }
	.cta-band__inner { grid-template-columns: 1fr; gap: var(--space-5); }
	.footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
	.contact__grid { grid-template-columns: 1fr; }
	.features__grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
	.nav__toggle { display: block; }
	.nav__menu {
		position: fixed;
		inset: var(--nav-height) 0 0;
		background: var(--color-bg);
		flex-direction: column;
		align-items: stretch;
		padding: var(--space-6);
		gap: var(--space-3);
		transform: translateX(100%);
		transition: transform 320ms var(--ease-out);
		overflow-y: auto;
		border-top: 1px solid var(--color-hairline);
	}
	body.is-menu-open .nav__menu { transform: translateX(0); }
	body.is-menu-open { overflow: hidden; }
	/* backdrop-filter on .nav creates a containing block for fixed descendants, so
	   .nav__menu would position relative to the 92px-tall nav instead of the viewport
	   and get clipped. Disable the blur (and use a solid nav bg) while the menu is open.
	   The second selector matches the specificity of the `body:has(.hero--video) .nav.is-scrolled`
	   rule so this still wins on the scrolled homepage.
	   `transition: none` is critical: .nav animates backdrop-filter over 220ms, and any
	   intermediate non-none value (blur(9px), etc.) still creates a containing block — the
	   menu would otherwise appear to open in two phases (top half first, bottom appearing
	   ~220ms later when the blur finally hits exactly 0). */
	body.is-menu-open .nav,
	body.is-menu-open .nav.is-scrolled {
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
		background: var(--color-bg);
		transition: none;
	}
	.nav__link, .nav__dropdown-trigger {
		font-size: 1.125rem;
		font-family: var(--font-display);
		font-weight: 500;
		padding: var(--space-3) 0;
		border-bottom: 1px solid var(--color-hairline);
	}
	.nav__dropdown-trigger {
		display: flex;
		width: 100%;
		align-items: center;
	}
	/* Keep flag + label grouped on the left; only push the chevron to the right edge */
	.nav__dropdown-trigger::after {
		margin-left: auto;
	}
	/* Accordion-style submenu on mobile: collapsed until the dropdown is toggled open.
	   Selectors are scoped under `.nav__dropdown` to outrank the desktop `.nav__dropdown--wide`
	   rules (padding/min-width) that would otherwise leak into the Solutions submenu and leave
	   phantom padding under `max-height: 0` — which caused extra space only around Solutions,
	   resolved on the first open/close cycle when the transition forced a reflow. */
	.nav__dropdown .nav__submenu {
		position: static;
		display: block;
		transform: none;
		background: transparent;
		border: 0;
		box-shadow: none;
		min-width: 0;
		max-height: 0;
		padding: 0 var(--space-4);
		opacity: 0;
		pointer-events: none;
		overflow: hidden;
		transition: max-height 280ms var(--ease-out), opacity 200ms var(--ease-out), padding 280ms var(--ease-out);
	}
	.nav__dropdown:focus-within .nav__submenu {
		transform: none;
		opacity: 0;
		pointer-events: none;
		max-height: 0;
		padding: 0 var(--space-4);
	}
	.nav__dropdown[data-open="true"] .nav__submenu {
		transform: none;
		opacity: 1;
		pointer-events: auto;
		max-height: 480px;
		padding: var(--space-2) var(--space-4);
	}
	.nav__menu .nav__dropdown .nav__submenu a {
		font-size: 0.9375rem;
		font-weight: 400;
		padding: var(--space-2) 0;
		line-height: 1.35;
	}
}

@media (max-width: 520px) {
	:root { --nav-height: 80px; }
	.footer__grid { grid-template-columns: 1fr; }
	.stats__grid { grid-template-columns: 1fr 1fr; }
	.hero__ctas { flex-direction: column; align-items: stretch; }
	.hero__ctas .btn { justify-content: center; }
	.hero__meta {
		gap: var(--space-4);
		flex-wrap: nowrap;
		justify-content: space-between;
	}
	.hero__meta-item {
		font-size: 0.75rem;
		gap: 0.35rem;
		flex-direction: column;
		align-items: flex-start;
	}
	.hero__meta-item strong { font-size: 1rem; }
	.founder { grid-template-columns: 1fr; }
	.hero__badge { display: none; }
	.hero { padding-top: 8rem; }
}

/* ---------- Accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
	.reveal { opacity: 1; transform: none; }
	.marquee__track { animation: none; }
	html { scroll-behavior: auto; }
	.badge__dot, .eyebrow::before { animation: none; }
}

:focus-visible {
	outline: 2px solid var(--color-lime);
	outline-offset: 3px;
	border-radius: var(--radius-sm);
}

.sr-only {
	position: absolute;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Hide the reCAPTCHA v3 badge site-wide. Google requires the disclaimer
   text (rendered near each form via the privacy_note_html string) when
   the badge is hidden. See https://developers.google.com/recaptcha/docs/faq */
.grecaptcha-badge {
	visibility: hidden !important;
}

.footer__subscribe .footer__recaptcha-note {
	margin-top: var(--space-3);
	margin-bottom: 0;
	font-size: var(--size-nano);
	white-space: nowrap;
	opacity: 0.7;
}
