/* ==========================================================================
   Homepage 2026 Preview (page-homepage-2026-test.php)
   Dormant stylesheet: template, enqueue hooks, and interactions ship separately in #399.
   No existing page is switched or styled by this prerequisite PR.
   Figma: Website › main UPD (1383:2884)
   ========================================================================== */

/* The QA page owns its canvas behind the unchanged fixed site header. */
body.page-template-page-homepage-2026-test { padding-top: 0; background: #00001a; }
body.page-template-page-homepage-2026-test #hello-padding { display: none !important; }
/* The original homepage supplied these scrolled states inside its template. */
body.page-template-page-homepage-2026-test.hasscrolled .header { margin-top: 0; top: 0; background: #fff !important; }
body.page-template-page-homepage-2026-test.hasscrolled .header-login-button { color: #007bff; }
body.page-template-page-homepage-2026-test.hasscrolled .top-menu .top-menu__link a { color: #1a1d23; }
body.page-template-page-homepage-2026-test.hasscrolled #chainstack-white { display: none !important; }
body.page-template-page-homepage-2026-test.hasscrolled #chainstack-blue { display: block !important; }
body.page-template-page-homepage-2026-test.hasscrolled .top-menu-opener_line-one,
body.page-template-page-homepage-2026-test.hasscrolled .top-menu-opener_line-two { background-color: #007bff; }
body.page-template-page-homepage-2026-test.hasscrolled .top-menu_active,
body.page-template-page-homepage-2026-test.hasscrolled .top-menu__link .sub-menu { background: #fff; }
body.page-template-page-homepage-2026-test.hasscrolled .top-menu .top-menu__link.menu-item-has-children > a::after { background: url(../img/chevron-down-2x.png) no-repeat center / cover; }

.home-2026 {
	--home-bg: #00001a;
	--home-surface: #00001a;
	--home-surface-2: #111127;
	--home-border: #202c4b;
	--home-text: #f6f9fd;
	--home-text-muted: #94a9d1;
	--home-text-secondary: #8d95a5;
	--home-link: #2e92ff;
	/* Buttons follow cp-ui-kit BaseButton, dark theme (button-primary-*, button-secondary-*). */
	--home-btn-secondary-bg: #03264f;
	--home-btn-secondary-hover: #043876;
	--home-accent: #3f8cff;
	--home-brand: #007bff;
	--home-brand-hover: #005ee0;
	--home-container: 1152px;
	--home-gutter: 24px;
	--home-font-book: 'SuisseIntl-Book', 'SuisseIntl-Regular', Helvetica, Arial, sans-serif;
	--home-font-regular: 'SuisseIntl-Regular', Helvetica, Arial, sans-serif;
	--home-font-medium: 'SuisseIntl-Medium', Helvetica, Arial, sans-serif;
	--home-font-mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	background: var(--home-bg);
}
/* Arrow over static copy (text stays selectable); the I-beam only where reading/copying is the point. */
.home-2026 { cursor: default; }
/* Text selection: blue/blue-brand highlight, white text (Figma 1590:17080, dark mode). */
.home-2026 ::selection { background: var(--home-brand); color: #fff; }
.home-2026 input,
.home-2026 textarea,
.home-faq__answer { cursor: text; }

/* ---------- shared ---------- */
.home-cross {
	position: absolute;
	width: 24px;
	height: 24px;
	background: url(../img/home-2026/plus.svg) no-repeat center / 24px 24px;
	pointer-events: none;
}

.home-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 56px;
	height: 48px;
	padding: 0 16px;
	border-radius: 6px;
	box-sizing: border-box;
	font-family: var(--home-font-medium);
	font-size: 15px;
	line-height: 20px;
	letter-spacing: 0.15px;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.15s cubic-bezier(0.4, 0, 0.2, 1), color 0.15s cubic-bezier(0.4, 0, 0.2, 1); /* kit: transition-colors */
}
.home-btn:hover { text-decoration: none; }
.home-btn--primary { background: var(--home-brand); color: #fff; }
.home-btn--secondary { background: var(--home-btn-secondary-bg); color: var(--home-link); }
.home-btn--secondary:hover,
.home-btn--secondary:focus-visible { background: var(--home-btn-secondary-hover); color: var(--home-link); }
.home-btn--primary:hover,
.home-btn--primary:focus-visible { background: var(--home-brand-hover); color: #fff; }

.home-2026 a:focus-visible,
.home-2026 button:focus-visible { outline: 2px solid #8fc5ff; outline-offset: 3px; }

/* ---------- hero ---------- */
.home-hero {
	position: relative;
	padding: 168px var(--home-gutter) 0; /* sits under the fixed transparent header; heading first since the badges moved under the widget */
	background: var(--home-bg);
	color: var(--home-text);
	text-align: center;
}
/* Hero glow (Figma 1383:2886) on its own layer so it can ignite on load. The ellipse size is a registered
   custom property so the spot itself can grow on load; scaling the box would show its cut-off side edges. */
@property --home-glow-w { syntax: '<percentage>'; inherits: false; initial-value: 111.7%; }
@property --home-glow-h { syntax: '<percentage>'; inherits: false; initial-value: 93.3%; }
.home-hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 712px;
	background: radial-gradient(ellipse var(--home-glow-w, 111.7%) var(--home-glow-h, 93.3%) at 52.2% -3.6%, rgba(0, 44, 133, 1) 0%, rgba(0, 44, 133, 0) 100%);
	pointer-events: none;
}
.home-hero__inner {
	position: relative;
	z-index: 1;
	max-width: var(--home-container);
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 32px;
}
/* The 4 hero crosses in #304068: the plus shape is used as a mask so its colour can be set here. */
.home-hero .home-cross {
	background: #304068;
	-webkit-mask: url(../img/home-2026/plus.svg) no-repeat center / 24px 24px;
	mask: url(../img/home-2026/plus.svg) no-repeat center / 24px 24px;
}
.home-cross--hero-tl { top: -20px; left: 0; }
.home-cross--hero-tr { top: -20px; right: 0; }
.home-cross--hero-bl { top: 236px; left: 0; }
.home-cross--hero-br { top: 236px; right: 0; }

.home-hero__badges { /* Figma 1590:17521: under the widget, as wide as its content area (660 - 2*16); 24px below it (Figma 16) */
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0 16px;
	box-sizing: border-box;
	width: 100%;
	max-width: 628px;
	margin: -8px 0 0; /* 24 under the widget (hero gap is 32) */
	padding: 0;
	list-style: none;
}
.home-hero__badges a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	height: 48px;
	color: var(--home-text-muted);
	font-family: var(--home-font-book);
	font-size: 14px;
	line-height: 18px;
	letter-spacing: -0.14px;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.15s;
}
.home-hero__badges a:hover { color: var(--home-text); }
.home-hero__badges img { width: 32px; height: 32px; flex: none; }

.home-hero__heading {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}
.home-hero__heading h1 {
	margin: 0;
	color: var(--home-accent);
	font-family: var(--home-font-medium);
	font-weight: 500;
	font-size: 56px;
	line-height: 56px;
	letter-spacing: -0.03em; /* heading styles: -3% */
}
.home-hero__heading h1 span { display: block; color: var(--home-text); }
.home-hero__heading p {
	max-width: 571px;
	margin: 0;
	color: var(--home-text-muted);
	font-family: var(--home-font-regular);
	font-size: 18px;
	line-height: 24px;
}

/* Desktop hero keeps its own 168px top padding (below): the fixed header and the announcement bar sit over it, as in
   the approved build, so the heading starts at 192 and the logo strip still shows on a 1440x900 first screen. */

/* ---------- endpoint widget ---------- */
.home-widget {
	position: relative;
	box-sizing: border-box;
	width: 100%;
	max-width: 660px; /* Figma 1395:10946 */
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 15px; /* 1px border + 15px = Figma 16px inside stroke */
	border: 1px solid var(--home-border);
	border-radius: 16px;
	background: var(--home-surface);
	text-align: left;
}
.home-widget::before { /* 1px ring lit around the cursor; --mx/--my are set by js/home-2026.js */
	content: '';
	position: absolute;
	inset: -1px;
	z-index: 1;
	padding: 1px;
	border-radius: inherit;
	background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(110, 170, 255, 0.95), rgba(63, 140, 255, 0.35) 45%, transparent 75%);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
	opacity: 0;
	transition: opacity 0.3s;
	pointer-events: none;
}
.home-widget.is-pointer-in::before { opacity: 1; }
.home-widget__row { display: flex; align-items: center; gap: 16px; }

.home-widget__protocol {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: none;
	margin: -4px;
	padding: 4px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: background-color 0.15s;
}
/* Hover: no plate; the label brightens to white and the caret takes the kit's icon-hover (dark). */
.home-widget__protocol:hover .home-widget__label,
.home-widget__protocol:focus-visible .home-widget__label { color: #fff; }
.home-widget__protocol:hover .home-widget__caret,
.home-widget__protocol:focus-visible .home-widget__caret { background-color: #dee6ed; }
.home-widget__logo { width: 40px; height: 40px; flex: none; border-radius: 8px; object-fit: contain; }
.home-widget__protocol-text { display: flex; flex-direction: column; gap: 2px; min-width: 85px; }
.home-widget__label {
	color: var(--home-text-secondary);
	font-family: var(--home-font-regular);
	font-size: 12px;
	line-height: 16px;
	letter-spacing: -0.12px;
	white-space: nowrap;
	transition: color 0.15s ease;
}
.home-widget__name {
	color: #fff;
	font-family: var(--home-font-medium);
	font-size: 16px;
	line-height: 20px;
	letter-spacing: -0.16px;
	white-space: nowrap;
}
.home-widget__caret { /* painted through the svg as a mask so the colour can change: icon-default -> icon-hover */
	width: 20px;
	height: 20px;
	flex: none;
	margin-left: -4px;
	object-fit: none;
	object-position: -999px 0;
	background-color: #73808c;
	-webkit-mask: url(../img/home-2026/caret-up-down.svg) center / 20px 20px no-repeat;
	mask: url(../img/home-2026/caret-up-down.svg) center / 20px 20px no-repeat;
	transition: background-color 0.15s ease;
}

.home-widget__endpoint {
	flex: 1 1 0;
	min-width: 0;
	box-sizing: border-box;
	height: 48px;
	display: flex;
	align-items: center;
	padding: 0 12px;
	border: 1px solid var(--home-border);
	border-radius: 8px;
	background: var(--home-surface);
	overflow: hidden;
}
.home-widget__endpoint span {
	display: block;
	width: 100%;
	overflow: hidden;
	color: rgba(246, 249, 253, 0.9);
	font-family: var(--home-font-mono);
	font-size: 15px;
	line-height: normal;
	letter-spacing: -0.3px;
	white-space: nowrap;
	/* Figma: the fade runs along the address text itself (322px: solid to 27.5%, gone by 83.6%), not the field. */
	-webkit-mask-image: linear-gradient(90deg, #000 88.6px, transparent 269.3px);
	mask-image: linear-gradient(90deg, #000 88.6px, transparent 269.3px);
}
.home-widget__cta { flex: none; }

.home-widget__agents { display: flex; flex-direction: column; gap: 16px; }
.home-widget__agents-label {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px 12px;
	margin: 0;
	color: var(--home-text-secondary);
	font-family: var(--home-font-book);
	font-size: 16px;
	line-height: 20px;
	letter-spacing: -0.16px;
}
.home-widget__agent-list { display: inline-flex; align-items: center; gap: 12px; }
.home-widget__agent { display: inline-flex; align-items: center; gap: 4px; color: #fff; white-space: nowrap; }
.home-widget__agent img { flex: none; }
.home-widget__agent img[width="20"] { margin: 2px; }

.home-widget__prompt {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 15px 11px 11px; /* Figma strokes are inside: 12px incl. 1px border */
	border: 1px solid var(--home-border);
	border-radius: 8px;
	background: var(--home-surface-2);
	transition: border-color 0.3s;
}
.home-widget.is-pointer-in .home-widget__prompt { border-color: #34508a; }
.home-widget__sparkle { width: 40px; height: 40px; flex: none; overflow: visible; transition: filter 0.5s ease; }
.home-widget__sparkle stop { transition: stop-opacity 0.5s ease; }
.home-spark { transform-box: fill-box; transform-origin: center; }
.home-spark__glow { opacity: 0.5; transform-box: fill-box; transform-origin: center; transition: opacity 0.5s ease; }
@media (hover: hover) and (pointer: fine) {
	/* Widget hover: the cluster lights up (brighter gradient + halo) and each star twinkles in turn. */
	.home-widget:hover .home-widget__sparkle { filter: drop-shadow(0 0 6px rgba(143, 196, 255, 0.45)); }
	.home-widget:hover .home-widget__sparkle stop:first-child { stop-opacity: 0.55; }
	.home-widget:hover .home-spark__glow { opacity: 0.85; }
	/* One twinkle per hover: .is-sparkling is added on pointerenter and removed when the sequence ends (js). */
	.home-widget.is-sparkling .home-spark { animation: home-spark-twinkle 1.65s ease-in-out; }
	.home-widget.is-sparkling .home-spark__glow { animation: home-spark-halo 1.65s ease-in-out; }
	.home-widget.is-sparkling .home-spark--mid,
	.home-widget.is-sparkling .home-spark--mid .home-spark__glow { animation-delay: 0.12s; }
	.home-widget.is-sparkling .home-spark--small,
	.home-widget.is-sparkling .home-spark--small .home-spark__glow { animation-delay: 0.24s; }
}
/* Each cycle: swings out to the right, snaps back past rest a little to the left (the "click"), settles,
   then a short rest before the next twinkle. */
@keyframes home-spark-twinkle {
	0%, 66%, 100% { scale: 1; rotate: 0deg; }
	28% { scale: 1.2; rotate: 12deg; }
	50% { scale: 0.97; rotate: -5deg; }
}
@keyframes home-spark-halo {
	0%, 66%, 100% { scale: 1; opacity: 0.85; }
	28% { scale: 1.45; opacity: 1; }
}
.home-widget__prompt code {
	flex: 1 1 0; /* Use the full available width; wrap naturally on smaller screens. */
	min-width: 0;
	padding: 0;
	background: none;
	color: var(--home-text);
	font-family: var(--home-font-mono);
	font-weight: 500;
	font-size: 15px;
	line-height: 20px;
	letter-spacing: -0.3px;
	white-space: normal;
}
.home-widget__copy {
	position: relative;
	display: flex;
	flex: none;
	width: 24px;
	height: 24px;
	margin-left: 0; /* The flexible prompt fills the space up to the copy button. */
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	opacity: 0.8;
	transition: opacity 0.15s;
}
.home-widget__copy:hover { opacity: 1; }
.home-widget__copy::after {
	content: 'Copied!';
	position: absolute;
	right: 50%;
	bottom: calc(100% + 8px);
	transform: translateX(50%);
	padding: 4px 8px;
	border-radius: 6px;
	background: #fff;
	color: #151524;
	font-family: var(--home-font-medium);
	font-size: 12px;
	line-height: 16px;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.15s;
}
.home-widget__copy.is-copied::after { opacity: 1; }
/* Copy -> check: the icons cross-fade with scale + blur (contextual icon swap). */
.home-widget__copy img,
.home-widget__copied { transition: opacity 0.2s cubic-bezier(0.2, 0, 0, 1), scale 0.2s cubic-bezier(0.2, 0, 0, 1), filter 0.2s cubic-bezier(0.2, 0, 0, 1); }
.home-widget__copied { position: absolute; inset: 0; width: 24px; height: 24px; color: #73808c; /* same grey as homepage-copy-icon.svg */ opacity: 0; scale: 0.5; filter: blur(4px); }
.home-widget__copy.is-copied img { opacity: 0; scale: 0.5; filter: blur(4px); }
.home-widget__copy.is-copied .home-widget__copied { opacity: 1; scale: 1; filter: none; }

/* protocol search popover */
/* Protocol popover opens like the header dropdowns: fades in sliding down 8px, the first rows cascading in. */
.home-widget__search:not([hidden]) { animation: home-pop-in 0.22s cubic-bezier(0.16, 1, 0.3, 1) backwards; }
.home-widget__search:not([hidden]) .home-widget__list li { animation: home-pop-item-in 0.3s cubic-bezier(0.16, 1, 0.3, 1) 0.03s backwards; }
.home-widget__search:not([hidden]) .home-widget__list li:nth-child(2) { animation-delay: 0.05s; }
.home-widget__search:not([hidden]) .home-widget__list li:nth-child(3) { animation-delay: 0.07s; }
.home-widget__search:not([hidden]) .home-widget__list li:nth-child(4) { animation-delay: 0.09s; }
.home-widget__search:not([hidden]) .home-widget__list li:nth-child(n+5) { animation-delay: 0.11s; }
@keyframes home-pop-in { from { opacity: 0; translate: 0 -8px; } }
@keyframes home-pop-item-in { from { opacity: 0; translate: 0 6px; } }
.home-widget__search {
	position: absolute;
	inset: -1px;
	z-index: 5;
	display: flex;
	flex-direction: column;
	min-height: 320px;
	border: 1px solid var(--home-border);
	border-radius: 16px;
	background: var(--home-surface-2);
	overflow: hidden;
	box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}
.home-widget__search[hidden] { display: none; }
.home-widget__search-head {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 0 16px;
	height: 64px;
	flex: none;
	border-bottom: 1px solid var(--home-border);
	color: var(--home-text-muted);
}
.home-widget__search-head svg { flex: none; }
.home-widget__search-head input {
	flex: 1 1 auto;
	min-width: 0;
	max-width: none;
	height: auto;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
	color: #fff;
	font-family: var(--home-font-regular);
	font-size: 16px;
	outline: none;
}
.home-widget__search-head input::placeholder { color: var(--home-text-muted); }
.home-widget__close { display: flex; padding: 0; border: 0; background: none; color: var(--home-text-muted); cursor: pointer; }
.home-widget__close:hover { color: #fff; }
.home-widget__list { flex: 1 1 auto; margin: 0; padding: 8px 0; list-style: none; overflow-y: auto; }
.home-widget__list li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 16px;
	color: #fff;
	font-family: var(--home-font-regular);
	font-size: 16px;
	line-height: 20px;
	cursor: pointer;
}
.home-widget__list li[hidden] { display: none; }
.home-widget__list li:hover { background: rgba(255, 255, 255, 0.06); }
.home-widget__list li img { width: 32px; height: 32px; border-radius: 6px; object-fit: contain; }
.home-widget__list .home-widget__empty { color: var(--home-text-muted); cursor: default; }
.home-widget__list .home-widget__empty:hover { background: none; }

/* ---------- shared section scaffold ---------- */
.home-section { position: relative; padding: 0 var(--home-gutter); color: var(--home-text); }
.home-section__inner { position: relative; max-width: var(--home-container); margin: 0 auto; }
.home-section__head { position: relative; display: flex; justify-content: center; margin-bottom: 48px; }
.home-section__head h2 {
	margin: 0;
	color: var(--home-text);
	font-family: var(--home-font-medium);
	font-weight: 500;
	font-size: 40px;
	line-height: 48px;
	letter-spacing: -0.03em; /* heading styles: -3% */
	text-align: center;
}
.home-cross--head-l { top: 12px; left: 0; }
.home-cross--head-r { top: 12px; right: 0; }

.home-card {
	position: relative;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 16px;
	padding: 23px; /* Figma strokes sit inside: 1px border + 23px = 24px */
	border: 1px solid rgba(32, 44, 75, 0.5);
	border-radius: 12px;
	background: var(--home-surface);
	overflow: hidden;
	text-align: left;
	transition: border-color 0.15s;
}
.home-card:hover { border-color: var(--home-border); }
.home-card__body { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; }
.home-card__icon { width: 40px; height: 40px; flex: none; margin-bottom: 16px; }
.home-card h3 {
	margin: 0 0 12px;
	color: var(--home-text);
	font-family: var(--home-font-medium);
	font-weight: 500;
	font-size: 18px;
	line-height: 24px;
	letter-spacing: -0.18px;
}
.home-card p {
	margin: 0;
	color: var(--home-text-secondary);
	font-family: var(--home-font-regular);
	font-size: 14px;
	line-height: 18px;
}
.home-card__link {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	height: 40px;
	color: var(--home-link);
	font-family: var(--home-font-medium);
	font-size: 14px;
	line-height: 18px;
	letter-spacing: 0.14px;
	text-decoration: none;
}
.home-card__link:hover { color: #4da3ff; text-decoration: none; }

/* ---------- logos marquee ---------- */
.homepage-trusted-logo-section { margin: 96px 0 0; overflow: hidden; }
.trusted-logo-marquee { position: relative; overflow: hidden; width: 100%; }
.trusted-logo-marquee::before,
.trusted-logo-marquee::after { position: absolute; top: 0; z-index: 2; width: 120px; height: 100%; content: ''; pointer-events: none; background-image: linear-gradient(to right, var(--home-bg) 0%, rgba(0, 0, 26, 0) 100%); }
.trusted-logo-marquee::before { left: 0; }
.trusted-logo-marquee::after { right: 0; transform: rotateZ(180deg); }
.trusted-logo-track { display: flex; width: max-content; animation: trusted-logo-scroll-left 90s linear infinite; will-change: transform; }
.trusted-logo-set { display: flex; flex: 0 0 auto; align-items: center; }
.trusted-logo-item { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; height: 60px; padding: 0 36px; opacity: 0.7; } /* 72px between marks, all at 70% (Figma) */
.trusted-logo-item img { filter: brightness(0) invert(1); } /* Figma 1383:2998: every mark in plain white */
.trusted-logo-item img { display: block; width: auto; max-width: none; height: 28px; }
@keyframes trusted-logo-scroll-left { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(-50%, 0, 0); } }

/* ---------- infra: use cases + stats ---------- */
.home-infra { margin-top: 136px; } /* logos → heading = 112: tighter than the 160 rhythm, the logo strip already reads as breathing room (heading sits 24px above this margin) */
/* blue band behind the cards and stats (Figma 1383:7631) */
.home-infra::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 136px;
	height: 728px;
	background: linear-gradient(180deg, rgba(0, 44, 133, 0) 0%, #002c85 50%, rgba(0, 44, 133, 0) 100%);
	opacity: 0.8;
	pointer-events: none;
}
.home-infra__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.home-infra__card { grid-column: span 2; min-height: 240px; }
.home-infra__card--wide { grid-column: span 3; min-height: 280px; }

.home-infra__trading-bg { position: absolute; top: -1px; left: -1px; width: 566px; height: 280px; max-width: none; pointer-events: none; }
.home-infra__card--trading .home-card__body { max-width: 286px; }

.home-infra__data-bg { position: absolute; top: -1px; left: -1px; width: 572px; height: 280px; max-width: none; pointer-events: none; } /* Figma 1383:7467 */
/* Hover: the trading candles glow brighter (lift + soft blue halo around the shapes). */
.home-infra__trading-bg { transition: filter 0.4s ease; }
.home-infra__card--trading:hover .home-infra__trading-bg,
.home-infra__card--trading:focus-within .home-infra__trading-bg { filter: brightness(1.25) drop-shadow(0 0 14px rgba(77, 163, 255, 0.45)); }
/* Data card: only the filled cube lights up (a halo over the whole image also lit the outline cubes and the edge
   strip). The glow sits under the illustration, centred on the cube (svg 360,95 -> card 359,71). */
.home-infra__card--data::before {
	content: '';
	position: absolute;
	left: 359px;
	top: 71px;
	width: 180px;
	height: 180px;
	translate: -50% -50%;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(77, 163, 255, 0.2), rgba(77, 163, 255, 0)); /* soft */
	opacity: 0;
	transition: opacity 0.4s ease;
	pointer-events: none;
}
.home-infra__card--data:hover::before,
.home-infra__card--data:focus-within::before { opacity: 1; }

.home-infra__card:not(.home-infra__card--wide):last-child .home-card__body { max-width: 227px; }

.home-infra__stats { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 48px 0 0; padding: 8px 0; text-align: center; }
.home-infra__stats div { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.home-infra__stats dt {
	color: var(--home-text);
	font-family: var(--home-font-medium);
	font-weight: 500;
	font-size: 40px;
	line-height: 48px;
	letter-spacing: -0.03em; /* heading styles: -3% */
	white-space: nowrap;
}
.home-infra__stats dt { position: relative; }
.home-infra__stats dt > span { display: inline; vertical-align: baseline; } /* theme makes every span inline-block + middle: it grew the line */
/* js count-up: the real value stays in place (transparent) holding the layout; the counting copy lies over it. */
.home-infra__stats dt.is-counting,
.home-protocols__count.is-counting { color: transparent; }
.home-count { position: absolute; top: 0; color: var(--home-text); white-space: nowrap; pointer-events: none; }
.home-count span { display: inline-block; vertical-align: top; text-align: center; } /* top: baseline alignment drops the glyphs ~3px */
.home-infra__stats dd {
	margin: 0;
	color: var(--home-text-muted);
	font-family: var(--home-font-regular);
	font-size: 18px;
	line-height: 24px;
}

/* ---------- setups: Global / Dedicated / Self-Hosted ---------- */
.home-setups { margin-top: 160px; }
.home-setups__grid { display: grid; grid-template-columns: 564fr 576fr; gap: 12px; }
.home-setups__card { border-color: var(--home-border); justify-content: flex-end; gap: 24px; }
.home-setups__card .home-card__body { max-width: 320px; }
.home-setups__card h3 { font-size: 24px; line-height: 28px; letter-spacing: -0.03em; }
.home-setups__card--global { min-height: 424px; }
.home-setups__card--global .home-card__body { max-width: 436px; }
.home-setups__card--global h3 { font-size: 28px; line-height: 34px; letter-spacing: -0.03em; }
.home-setups__stack { display: flex; flex-direction: column; gap: 12px; }
.home-setups__stack .home-setups__card { flex: 1 0 auto; } /* not 1 1 0: overflow:hidden drops the min-content floor */
/* Setup + infra cards: the whole card is the link: the CTA's ::after stretches over the card (the link itself is unpositioned for that). */
.home-setups__card .home-card__link,
.home-infra__card .home-card__link { position: static; }
.home-setups__card .home-card__link::after,
.home-infra__card .home-card__link::after { content: ''; position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.home-setups__card { border-radius: 12px; }
.home-setups__card:hover .home-card__link,
.home-infra__card:hover .home-card__link { color: #4da3ff; }
.home-setups__card .home-card__link:focus-visible,
.home-infra__card .home-card__link:focus-visible { outline: none; }
.home-setups__card .home-card__link:focus-visible::after,
.home-infra__card .home-card__link:focus-visible::after { outline: 2px solid #8fc5ff; outline-offset: -2px; border-radius: 12px; }
/* Arrow after the CTA text slides in from the left on card hover (::before + order: ::after is the stretched hit area). */
.home-setups__card .home-card__link::before,
.home-infra__card .home-card__link::before {
	content: '';
	order: 1;
	flex: none;
	width: 16px;
	height: 16px;
	max-width: 0;
	margin-left: 0;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 8h11M9 3.5 13.5 8 9 12.5'/%3E%3C/svg%3E") no-repeat right center / 16px 16px; /* anchored right: grows out of its own slot, never over the text */
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 8h11M9 3.5 13.5 8 9 12.5'/%3E%3C/svg%3E") no-repeat right center / 16px 16px; /* anchored right: grows out of its own slot, never over the text */
	opacity: 0;
	transition: max-width 0.3s var(--home-ease-out), margin-left 0.3s var(--home-ease-out), opacity 0.2s ease;
}
.home-setups__card:hover .home-card__link::before,
.home-infra__card:hover .home-card__link::before,
.home-setups__card .home-card__link:focus-visible::before,
.home-infra__card .home-card__link:focus-visible::before { max-width: 16px; margin-left: 6px; opacity: 1; }

.home-setups__globe { position: absolute; top: -3px; left: -1px; width: 564px; height: 256px; overflow: hidden; pointer-events: none; }
.home-setups__globe img { position: absolute; max-width: none; }
.home-setups__globe-outline { left: 140.85px; top: -70.8px; width: 283.3px; height: 282.6px; }
.home-setups__globe-lines { left: 141.6px; top: -70.05px; width: 281.8px; height: 281.1px; }
.home-setups__globe-orbits { left: 83.45px; top: -154.1px; width: 402.8px; height: 460.6px; transform: rotate(74.97deg); }

.home-setups__server { position: absolute; top: 23px; left: 381px; width: 149px; height: 182px; max-width: none; pointer-events: none; }
.home-setups__cube { position: absolute; top: 26px; right: 16px; width: 209px; height: 151px; pointer-events: none; } /* the lit image's box; the line-art cube sits at 48.2,12.7 inside it */

/* Hover state (Figma 1586:17044): line-art swaps to the lit illustration. */
.home-setups__globe,
.home-setups__server,
.home-setups__cube,
.home-setups__hover { transition: opacity 0.35s ease, transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.home-setups__hover { position: absolute; max-width: none; opacity: 0; pointer-events: none; }
.home-setups__hover--globe { top: -21px; left: -1px; width: 564px; height: 280px; transform: none; }
.home-setups__signals { overflow: visible; } /* glints run past the image edge; the card clips them */ /* sphere on the line-art sphere (centre 282.5,68.5): the globe fills in place, no slide */
.home-setups__card:hover .home-setups__hover,
.home-setups__card:focus-within .home-setups__hover,
.home-setups__card.is-active .home-setups__hover { opacity: 1; transform: none; }
.home-setups__card:hover .home-setups__globe,
.home-setups__card:focus-within .home-setups__globe,
.home-setups__card.is-active .home-setups__globe { opacity: 0; } /* .is-active: touch screens, the card in mid-screen (js) */

/* Dedicated rack. Line-art at rest; lit (hover / focus / mid-screen on touch): the box stays put and fills, the two
   servers rise 16.9px, a third slides in below, they fill white, LEDs turn green, then blink out of step. */
.home-rack { overflow: visible; }
.home-rack__fill { opacity: 0; transition: opacity 0.45s ease; }
.home-rack__frame { fill: none; stroke: #202c4b; stroke-width: 1; } /* = the file's 2px stroke masked to the inside */
.home-srv { translate: 0 16.91px; transition: translate 0.55s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.4s ease; }
.home-srv--3 { opacity: 0; translate: 0 30px; }
.home-srv__case { fill: rgba(255, 255, 255, 0); stroke: #27324f; stroke-width: 1; transition: fill 0.35s ease 0.2s, stroke 0.35s ease 0.2s, stroke-width 0.35s ease 0.2s; }
.home-srv__label { fill: none; stroke: #27324f; stroke-width: 0.5; stroke-linecap: round; opacity: 0; transition: opacity 0.3s ease 0.3s; }
.home-srv__led-ring { fill: none; stroke: #27324f; stroke-width: 1; transition: opacity 0.25s ease 0.35s; }
.home-srv__led-halo { fill: #25b15f; opacity: 0; transition: opacity 0.3s ease 0.45s; }
.home-srv__led { fill: #25b15f; opacity: 0; transition: opacity 0.3s ease 0.45s; }
.home-setups__card:hover .home-rack__fill,
.home-setups__card:focus-within .home-rack__fill,
.home-setups__card.is-active .home-rack__fill { opacity: 1; }
.home-setups__card:hover .home-srv,
.home-setups__card:focus-within .home-srv,
.home-setups__card.is-active .home-srv { translate: 0 0; opacity: 1; }
.home-setups__card:hover .home-srv--3,
.home-setups__card:focus-within .home-srv--3,
.home-setups__card.is-active .home-srv--3 { transition-delay: 0.12s; }
.home-setups__card:hover .home-srv__case,
.home-setups__card:focus-within .home-srv__case,
.home-setups__card.is-active .home-srv__case { fill: #fff; stroke: #202c4b; stroke-width: 0.5; }
.home-setups__card:hover .home-srv__label,
.home-setups__card:focus-within .home-srv__label,
.home-setups__card.is-active .home-srv__label { opacity: 1; }
.home-setups__card:hover .home-srv__led-ring,
.home-setups__card:focus-within .home-srv__led-ring,
.home-setups__card.is-active .home-srv__led-ring { opacity: 0; }
.home-setups__card:hover .home-srv__led-halo,
.home-setups__card:focus-within .home-srv__led-halo,
.home-setups__card.is-active .home-srv__led-halo { opacity: 0.2; }
.home-setups__card:hover .home-srv__led,
.home-setups__card:focus-within .home-srv__led,
.home-setups__card.is-active .home-srv__led { opacity: 1; animation: home-led-activity 1.7s steps(1, end) 0.8s infinite; }
.home-setups__card:hover .home-srv--2 .home-srv__led,
.home-setups__card:focus-within .home-srv--2 .home-srv__led,
.home-setups__card.is-active .home-srv--2 .home-srv__led { animation-duration: 2.3s; animation-delay: 1.1s; }
.home-setups__card:hover .home-srv--3 .home-srv__led,
.home-setups__card:focus-within .home-srv--3 .home-srv__led,
.home-setups__card.is-active .home-srv--3 .home-srv__led { animation-duration: 1.3s; animation-delay: 0.95s; }
@keyframes home-led-activity { /* busy-server flicker: mostly on, short irregular dips */
	0%, 9%, 14%, 38%, 43%, 46%, 68%, 74%, 100% { opacity: 1; fill: #3ddc84; }
	6%, 12%, 40%, 45%, 71% { opacity: 0.3; fill: #25b15f; }
}

/* Self-hosted: one cube becomes three inside our software. At rest only the big line-art cube shows (the top-centre
   cube scaled x2.33 onto the old cube's spot). Lit: it shrinks into place and fills, the two side cubes slide out from
   behind it, then the window wraps round them (frame draws, panel opens out from the cubes, bar and dots appear). */
.home-cubes { overflow: visible; }
/* 1.4 at rest, not 1: the cube is all diagonals, and a 1px diagonal antialiases into a fainter, thinner-looking line
   than the dedicated rack's straight 1px edges beside it. 1.4 reads as the same weight. */
.home-cube path { fill: rgba(255, 255, 255, 0); stroke: #27324f; stroke-width: 1.4; stroke-linejoin: round; vector-effect: non-scaling-stroke; transition: fill 0.2s ease, stroke-width 0.2s ease; }
.home-cube { transform-box: fill-box; transform-origin: 0 0; transition: transform 0.32s cubic-bezier(0.2, 0.7, 0.2, 1) 0.4s, opacity 0.2s ease 0.4s; }
.home-cube--main { transform: translate(-31.05px, -25.3px) scale(2.3317, 2.2829); } /* exactly the old 118.3x132.9 cube */
.home-cube--left { transform: translate(51.892px, -40px); opacity: 0; }
.home-cube--right { transform: translate(-51.579px, -40px); opacity: 0; }
.home-cubes__window { clip-path: inset(38px 26.7px 14.8px 27.1px round 8px); transition: clip-path 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.home-cubes__fill { opacity: 0; transition: opacity 0.45s ease; }
.home-cubes__frame { fill: none; stroke: #27324f; stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.home-cubes__bar { fill: none; stroke: #27324f; stroke-width: 0.5; transform-box: fill-box; transform-origin: 0 0; transform: scaleX(0); transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
.home-cubes__dot { fill: none; stroke: #27324f; stroke-width: 0.5; opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0.4); transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1); }
/* lit: cubes first (no delay), window after them; going back the window folds first (the delays above) */
.home-setups__card:hover .home-cube,
.home-setups__card:focus-within .home-cube,
.home-setups__card.is-active .home-cube { transform: none; opacity: 1; transition-delay: 0s; }
.home-setups__card:hover .home-cube--left,
.home-setups__card:focus-within .home-cube--left,
.home-setups__card.is-active .home-cube--left,
.home-setups__card:hover .home-cube--right,
.home-setups__card:focus-within .home-cube--right,
.home-setups__card.is-active .home-cube--right { transition-delay: 0.08s; }
.home-setups__card:hover .home-cube path,
.home-setups__card:focus-within .home-cube path,
.home-setups__card.is-active .home-cube path { fill: #fff; stroke-width: 0.5; transition: fill 0.3s ease 0.8s, stroke-width 0.3s ease 0.8s; } /* last beat: once the software window has drawn around them */
.home-setups__card:hover .home-cubes__window,
.home-setups__card:focus-within .home-cubes__window,
.home-setups__card.is-active .home-cubes__window { clip-path: inset(0 0 0 0 round 12px); transition-delay: 0.25s; }
.home-setups__card:hover .home-cubes__fill,
.home-setups__card:focus-within .home-cubes__fill,
.home-setups__card.is-active .home-cubes__fill { opacity: 1; transition-delay: 0.3s; }
.home-setups__card:hover .home-cubes__frame,
.home-setups__card:focus-within .home-cubes__frame,
.home-setups__card.is-active .home-cubes__frame { stroke-dashoffset: 0; transition-delay: 0.2s; }
.home-setups__card:hover .home-cubes__bar,
.home-setups__card:focus-within .home-cubes__bar,
.home-setups__card.is-active .home-cubes__bar { transform: none; transition-delay: 0.45s; }
.home-setups__card:hover .home-cubes__dot,
.home-setups__card:focus-within .home-cubes__dot,
.home-setups__card.is-active .home-cubes__dot { opacity: 1; transform: none; transition-delay: 0.55s; }
.home-setups__card:hover .home-cubes__dot--2,
.home-setups__card:focus-within .home-cubes__dot--2,
.home-setups__card.is-active .home-cubes__dot--2 { transition-delay: 0.61s; }

/* ---------- add-ons ---------- */
.home-addons { margin-top: 160px; }
.home-addons__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.home-addons__card { border-color: var(--home-border); justify-content: flex-end; min-height: 180px; }
.home-addons__card .home-card__body { max-width: 320px; }
.home-addons__card h3 { font-size: 24px; line-height: 28px; letter-spacing: -0.03em; }
.home-section__cta { display: flex; justify-content: center; margin-top: 48px; }
.home-addons__card { /* clip at the outer edge (not overflow, which cuts at the inner one) so the lit border shows */
	overflow: visible;
	clip-path: inset(0 round 12px);
}
.home-addons__card::before { /* colour glow following the cursor; Figma 1430:5486 was 145×37 blur 50, enlarged */
	content: '';
	position: absolute;
	left: var(--mx, 50%);
	top: var(--my, 50%);
	width: 280px;
	height: 120px;
	border-radius: 50%;
	background: var(--addon-glow, #2e92ff);
	filter: blur(56px);
	opacity: 0;
	transform: translate(-50%, -50%);
	transition: opacity 0.35s;
	pointer-events: none;
}
.home-addons__card.is-pointer-in::before { opacity: 0.9; }
.home-addons__card::after { /* 1px ring lit around the cursor in the add-on's colour, as on the hero widget */
	content: '';
	position: absolute;
	inset: -1px;
	z-index: 2;
	padding: 1px;
	border-radius: inherit;
	background: radial-gradient(200px circle at var(--mx, 50%) var(--my, 50%), var(--addon-glow, #2e92ff), transparent 72%);
	background: radial-gradient(200px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--addon-glow, #2e92ff) 65%, #fff), color-mix(in srgb, var(--addon-glow, #2e92ff) 45%, transparent) 45%, transparent 75%);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
	opacity: 0;
	transition: opacity 0.3s;
	pointer-events: none;
}
.home-addons__card.is-pointer-in::after { opacity: 1; }
.home-addons__card p { transition: color 0.3s; }
.home-addons__card.is-pointer-in p { color: var(--home-text); }
.home-addons__card--unlimited { --addon-glow: #2e8bff; }
.home-addons__card--yellowstone { --addon-glow: #7a6cf0; }
.home-addons__card--warp { --addon-glow: #a202ff; }
.home-addons__card--mev { --addon-glow: #00cc77; }
.home-addons__card--submission { --addon-glow: #00ccbb; }
.home-addons__card--blockbook { --addon-glow: #fe991f; }

.home-addon-icon { position: relative; display: block; flex: none; width: 40px; height: 40px; border-radius: 6px; background-size: 100% 100%; overflow: hidden; }
.home-addon-icon::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: rgba(255, 255, 255, 0.02); box-shadow: inset 0 0 2px 1px rgba(255, 255, 255, 0.3); mix-blend-mode: luminosity; pointer-events: none; }
.home-addon-icon__glyph { position: absolute; }
.home-addon-icon__glyph img { position: absolute; display: block; max-width: none; }
.home-addon-icon--unlimited { background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'><rect x='0' y='0' height='100%' width='100%' fill='url(%23grad)'/><defs><radialGradient id='grad' gradientUnits='userSpaceOnUse' cx='0' cy='0' r='10' gradientTransform='matrix(-4.75 -7.0625 6.7867 -4.1753 48.125 53.75)'><stop stop-color='rgba(0,33,80,1)' offset='0'/><stop stop-color='rgba(1,56,124,1)' offset='0.094952'/><stop stop-color='rgba(1,78,168,1)' offset='0.1899'/><stop stop-color='rgba(2,101,211,1)' offset='0.28486'/><stop stop-color='rgba(2,123,255,1)' offset='0.37981'/><stop stop-color='rgba(21,133,255,1)' offset='0.42548'/><stop stop-color='rgba(40,143,255,1)' offset='0.47115'/><stop stop-color='rgba(78,162,255,1)' offset='0.5625'/><stop stop-color='rgba(115,182,255,1)' offset='0.65385'/><stop stop-color='rgba(153,202,255,1)' offset='0.74519'/><stop stop-color='rgba(204,228,255,1)' offset='0.8726'/><stop stop-color='rgba(255,255,255,1)' offset='1'/></radialGradient></defs></svg>"); }
.home-addon-icon__glyph--unlimited-overlay { inset: 31.25% 14.85% 33.59% 12.5%; mix-blend-mode: overlay; }
.home-addon-icon__glyph--unlimited-overlay img { top: -14.22%; left: -6.88%; width: 113.76%; height: 128.44%; }
.home-addon-icon__glyph--unlimited { inset: 31.25% 14.85% 33.59% 12.5%; }
.home-addon-icon__glyph--unlimited img { top: -14.22%; left: -8.6%; width: 120.64%; height: 142.66%; }
.home-addon-icon--yellowstone { background-image: linear-gradient(-46.97deg, rgb(153, 69, 255) 1.33%, rgb(135, 82, 243) 23.63%, rgb(84, 151, 213) 46.31%, rgb(67, 180, 202) 57.65%, rgb(40, 224, 185) 76.16%, rgb(205, 254, 233) 103.02%); }
.home-addon-icon__glyph--yellowstone-overlay { inset: 12.5% 12.5% 12.5% 12.5%; mix-blend-mode: overlay; }
.home-addon-icon__glyph--yellowstone-overlay img { top: 0%; left: 0%; width: 100%; height: 100%; }
.home-addon-icon__glyph--yellowstone { inset: 12.5% 12.5% 12.5% 12.5%; }
.home-addon-icon__glyph--yellowstone img { top: 0%; left: 0%; width: 100%; height: 100%; }
.home-addon-icon--warp { background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'><rect x='0' y='0' height='100%' width='100%' fill='url(%23grad)'/><defs><radialGradient id='grad' gradientUnits='userSpaceOnUse' cx='0' cy='0' r='10' gradientTransform='matrix(-5.3125 -6.5625 6.3403 -4.7205 53.125 60.625)'><stop stop-color='rgba(0,33,80,1)' offset='0'/><stop stop-color='rgba(10,31,91,1)' offset='0.023738'/><stop stop-color='rgba(20,29,102,1)' offset='0.047476'/><stop stop-color='rgba(41,25,124,1)' offset='0.094952'/><stop stop-color='rgba(81,18,168,1)' offset='0.1899'/><stop stop-color='rgba(122,10,211,1)' offset='0.28486'/><stop stop-color='rgba(162,2,255,1)' offset='0.37981'/><stop stop-color='rgba(169,21,255,1)' offset='0.42548'/><stop stop-color='rgba(176,40,255,1)' offset='0.47115'/><stop stop-color='rgba(190,78,255,1)' offset='0.5625'/><stop stop-color='rgba(204,115,255,1)' offset='0.65385'/><stop stop-color='rgba(218,153,255,1)' offset='0.74519'/><stop stop-color='rgba(236,204,255,1)' offset='0.8726'/><stop stop-color='rgba(255,255,255,1)' offset='1'/></radialGradient></defs></svg>"); }
.home-addon-icon__glyph--warp-overlay { inset: 20.69% 28.52% 20.7% 28.52%; mix-blend-mode: overlay; }
.home-addon-icon__glyph--warp-overlay img { top: -9.6%; left: -13.09%; width: 126.87%; height: 119.2%; }
.home-addon-icon__glyph--warp { inset: 20.69% 28.52% 20.7% 28.52%; }
.home-addon-icon__glyph--warp img { top: -8.53%; left: -14.55%; width: 134.92%; height: 125.59%; }
.home-addon-icon--mev { background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'><rect x='0' y='0' height='100%' width='100%' fill='url(%23grad)'/><defs><radialGradient id='grad' gradientUnits='userSpaceOnUse' cx='0' cy='0' r='10' gradientTransform='matrix(-6.5833 -5.8842 5.754 -5.935 57.5 59.375)'><stop stop-color='rgba(0,33,80,1)' offset='0'/><stop stop-color='rgba(0,63,82,1)' offset='0.094952'/><stop stop-color='rgba(0,93,85,1)' offset='0.1899'/><stop stop-color='rgba(0,153,89,1)' offset='0.37981'/><stop stop-color='rgba(0,204,119,1)' offset='0.74519'/><stop stop-color='rgba(16,207,128,1)' offset='0.76112'/><stop stop-color='rgba(32,210,136,1)' offset='0.77704'/><stop stop-color='rgba(64,217,153,1)' offset='0.80889'/><stop stop-color='rgba(96,223,170,1)' offset='0.84075'/><stop stop-color='rgba(128,230,187,1)' offset='0.8726'/><stop stop-color='rgba(191,242,221,1)' offset='0.9363'/><stop stop-color='rgba(255,255,255,1)' offset='1'/></radialGradient></defs></svg>"); }
.home-addon-icon__glyph--mev-overlay { inset: 21.88% 21.88% 19.53% 21.88%; mix-blend-mode: overlay; }
.home-addon-icon__glyph--mev-overlay img { top: -8.53%; left: -8.89%; width: 117.78%; height: 117.06%; }
.home-addon-icon__glyph--mev { inset: 21.88% 21.88% 19.53% 21.88%; }
.home-addon-icon__glyph--mev img { top: -8.53%; left: -11.11%; width: 126.67%; height: 125.6%; }
.home-addon-icon--submission { background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'><rect x='0' y='0' height='100%' width='100%' fill='url(%23grad)'/><defs><radialGradient id='grad' gradientUnits='userSpaceOnUse' cx='0' cy='0' r='10' gradientTransform='matrix(-3.8125 -4.125 4.0033 -3.4098 40 41.25)'><stop stop-color='rgba(0,111,101,1)' offset='0'/><stop stop-color='rgba(0,153,140,1)' offset='0.28491'/><stop stop-color='rgba(0,204,187,1)' offset='0.68049'/><stop stop-color='rgba(16,207,191,1)' offset='0.70046'/><stop stop-color='rgba(32,210,196,1)' offset='0.72043'/><stop stop-color='rgba(64,217,204,1)' offset='0.76037'/><stop stop-color='rgba(96,223,213,1)' offset='0.80031'/><stop stop-color='rgba(128,230,221,1)' offset='0.84025'/><stop stop-color='rgba(191,242,238,1)' offset='0.92012'/><stop stop-color='rgba(255,255,255,1)' offset='1'/></radialGradient></defs></svg>"); }
.home-addon-icon__glyph--submission-overlay { inset: 19.92% 15.63% 17.58% 15.63%; }
.home-addon-icon__glyph--submission-overlay img { top: -8%; left: -7.27%; width: 114.54%; height: 116%; }
.home-addon-icon__glyph--submission { inset: 19.92% 15.63% 17.58% 15.63%; }
.home-addon-icon__glyph--submission img { top: -8%; left: -9.09%; width: 121.82%; height: 124%; }
.home-addon-icon--blockbook { background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'><rect x='0' y='0' height='100%' width='100%' fill='url(%23grad)'/><defs><radialGradient id='grad' gradientUnits='userSpaceOnUse' cx='0' cy='0' r='10' gradientTransform='matrix(-3.6875 -3.875 3.5529 -3.381 38.75 38.75)'><stop stop-color='rgba(255,140,0,1)' offset='0'/><stop stop-color='rgba(255,146,13,1)' offset='0.16346'/><stop stop-color='rgba(255,151,26,1)' offset='0.32692'/><stop stop-color='rgba(255,163,51,1)' offset='0.65385'/><stop stop-color='rgba(255,180,89,1)' offset='0.74038'/><stop stop-color='rgba(255,197,128,1)' offset='0.82692'/><stop stop-color='rgba(255,215,166,1)' offset='0.91346'/><stop stop-color='rgba(255,232,204,1)' offset='1'/></radialGradient></defs></svg>"); }
.home-addon-icon__glyph--blockbook-overlay { inset: 37.5% 21.88% 15.63% 21.88%; }
.home-addon-icon__glyph--blockbook-overlay img { top: -10.67%; left: -8.89%; width: 117.78%; height: 121.34%; }
.home-addon-icon__glyph--blockbook { inset: 37.5% 21.88% 15.63% 21.88%; }
.home-addon-icon__glyph--blockbook img { top: -10.67%; left: -11.11%; width: 126.67%; height: 132.0%; }
.home-addon-icon__glyph--blockbook-lid-overlay { inset: 22.83% 14.06% 55.3% 14.06%; }
.home-addon-icon__glyph--blockbook-lid-overlay img { top: -22.86%; left: -6.96%; width: 113.92%; height: 145.72%; }
.home-addon-icon__glyph--blockbook-lid { inset: 22.83% 14.06% 55.3% 14.06%; }
.home-addon-icon__glyph--blockbook-lid img { top: 0%; left: 0%; width: 100%; height: 100%; }

/* ---------- testimonials ---------- */
.home-testimonials { margin-top: 160px; }
.home-testimonials__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.home-testimonials__card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 16px;
	margin: 0;
	padding: 24px;
	border-radius: 16px;
	background: #0f0f24;
	text-align: left;
}
.home-testimonials__card blockquote { margin: 0; padding: 0; border: 0; }
.home-testimonials__card blockquote p {
	margin: 0;
	color: var(--home-text-secondary);
	font-family: var(--home-font-regular);
	font-size: 16px;
	line-height: 20px;
}
.home-testimonials__card figcaption {
	margin: 0;
	text-align: left; /* theme styles centre figcaptions */
	color: var(--home-text);
	font-family: var(--home-font-book);
	font-size: 16px;
	line-height: 20px;
	letter-spacing: -0.16px;
}
.home-section__cta--tight { margin-top: 32px; }
.home-btn img { flex: none; width: 24px; height: 24px; }

/* ---------- closing CTA ---------- */
.home-cta { margin-top: 80px; } /* + the band's own 80px padding = the 160px section rhythm */
.home-cta__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 80px 0;
	text-align: center;
}
.home-cta__cube {
	position: absolute;
	top: -68px;
	left: calc(50% - 231px); /* Figma: x 489 on a 1440 frame, ~10px left of centre */
	width: 443.7px;
	height: 509px;
	pointer-events: none;
}
.home-cta__cube img { position: absolute; max-width: none; transition: opacity 0.5s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.home-cta__cube-lines { position: absolute; top: 0; left: 0; width: 443.7px; height: 509px; overflow: visible; }
.home-cta__cube-lines path {
	stroke: #373e5c; /* Figma dashed: #373E5C, dash 8 / gap 12, round caps */
	stroke-width: 1;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-dasharray: 8 12;
	stroke-dashoffset: 4; /* centre a dash on each path's start vertex, like Figma */
	transition: stroke-dasharray 0.9s cubic-bezier(0.3, 0.6, 0.2, 1), stroke 0.6s ease;
}
/* Lit: every dash grows over its gap (period stays 20) until the outline is solid #2F416F. */
.home-cta.is-lit .home-cta__cube-lines path { stroke: #2f416f; stroke-dasharray: 20 0; }
/* Figma 1586:17024: the glow cube sits 27.9/33px inside the outline; its SVG carries a 60px blur margin. */
.home-cta__cube-glow { top: -27.5px; left: -32.6px; width: 509px; height: 566px; opacity: 0; transform: scale(0.92); }
.home-cta.is-lit .home-cta__cube-glow { opacity: 1; transform: none; }
.home-cta__inner > :not(.home-cta__cube):not(.home-cross) { position: relative; }
.home-cta h2 {
	margin: 0 0 48px;
	color: var(--home-text);
	font-family: var(--home-font-medium);
	font-weight: 500;
	font-size: 40px;
	line-height: 48px;
	letter-spacing: -0.03em; /* heading styles: -3% */
}
.home-cta p {
	max-width: 520px;
	margin: 0 0 32px;
	color: var(--home-text-secondary);
	font-family: var(--home-font-regular);
	font-size: 18px;
	line-height: 24px;
}
.home-cta .home-cross--head-l,
.home-cta .home-cross--head-r { top: 92px; }
.home-cross--cta-bl { top: 280px; left: 0; }
.home-cross--cta-br { top: 280px; right: 0; }

/* ---------- FAQ ---------- */
.home-faq { margin-top: 80px; padding-bottom: 160px; } /* 80 + the CTA band's bottom padding = 160 */
.home-faq__list { display: flex; flex-direction: column; gap: 16px; max-width: 760px; margin: 0 auto; }
.home-faq__item { border-radius: 16px; background: #0f0f24; text-align: left; }
.home-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 24px;
	color: var(--home-text);
	font-family: var(--home-font-regular);
	font-size: 18px;
	line-height: 24px;
	list-style: none;
	cursor: pointer;
}
.home-faq__item summary::-webkit-details-marker { display: none; }
.home-faq__item summary img { flex: none; width: 32px; height: 32px; transition: transform 0.4s var(--home-ease-out), filter 0.2s; }
.home-faq__item[open] summary { padding-bottom: 16px; }
/* js/home-2026.js keeps [open] until the collapse finishes; .is-closing turns the caret back right away. */
.home-faq__item[open]:not(.is-closing) summary img { transform: rotate(180deg); }
.home-faq__item summary:hover img { filter: brightness(1.6); }
.home-faq__item summary:focus-visible { outline-offset: -2px; border-radius: 16px; }
.home-faq__answer { padding: 0 24px 20px; color: var(--home-text-secondary); font-family: var(--home-font-regular); font-size: 16px; line-height: 20px; }
.home-faq__answer p { margin: 0; }
.home-faq__answer p + p { margin-top: 12px; }
.home-faq__answer b { color: var(--home-text); font-family: var(--home-font-medium); font-weight: 500; }
/* Underline is always there but transparent, so hover can fade its colour in instead of toggling it. */
.home-faq__answer a { color: var(--home-brand); text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: text-decoration-color .2s cubic-bezier(.4,0,.2,1), text-underline-offset .2s cubic-bezier(.4,0,.2,1); }
.home-faq__answer a:hover, .home-faq__answer a:focus-visible { text-decoration-color: currentColor; text-underline-offset: 2px; }

/* ==========================================================================
   Entrance motion (js/home-2026.js + head guard in functions.php)
   Signature easing: expo-out; reveal 0.9s, cascade ≤0.4s, glows ignite over ~1.8s.
   Only `from` keyframes + fill backwards, so each element lands on its own styles.
   ========================================================================== */
.home-2026 { --home-ease-out: cubic-bezier(0.16, 1, 0.3, 1); }

html.home-motion .reveal:not(.is-in) { opacity: 0; }
html.home-motion .reveal.is-in { animation: home-reveal-up 0.9s var(--home-ease-out) var(--rd, 0ms) backwards; }
html.home-motion .reveal--cross.is-in { animation-name: home-reveal-cross; animation-duration: 0.7s; }
@keyframes home-reveal-up {
	from { opacity: 0; translate: 0 24px; filter: blur(6px); }
}
@keyframes home-reveal-cross { /* fades in sliding outward from a bit nearer the set's middle (--fx/--fy, js) */
	from { opacity: 0; translate: var(--fx, 0px) var(--fy, 0px); }
}

/* Hero: pure CSS from first paint so the LCP heading never waits for JS. */
html.home-motion .home-hero__badges,
html.home-motion .home-hero__heading h1,
html.home-motion .home-hero__heading p,
html.home-motion .home-widget { animation: home-reveal-up 0.9s var(--home-ease-out) backwards; }
/* Keep the largest text readable from first paint while retaining its entrance motion. */
html.home-motion .home-hero__heading h1 { animation-name: home-hero-heading-in; }
@keyframes home-hero-heading-in { from { translate: 0 24px; } }
html.home-motion .home-hero__heading p { animation-delay: 110ms; }
html.home-motion .home-widget { animation-delay: 220ms; }
html.home-motion .home-hero__badges { animation-delay: 330ms; } /* badges now sit under the widget */
/* The logo strip belongs to the first screen: it comes in with the hero instead of waiting for a scroll,
   so a strip only partly on screen is never left blank. */
html.home-motion .homepage-trusted-logo-section { animation: home-reveal-up 0.9s var(--home-ease-out) 440ms backwards; }

/* Blue glows ignite: hero on load, the infra band when its section scrolls in. */
html.home-motion .home-hero::before { animation: home-glow-in 2.4s var(--home-ease-out) backwards; }
@keyframes home-glow-in {
	from { opacity: 0; --home-glow-w: 36%; --home-glow-h: 28%; }
}
html.home-motion .home-infra::before {
	opacity: 0;
	transform: scaleY(0.55);
	transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1), transform 2.2s var(--home-ease-out);
}
html.home-motion .home-infra.is-glow::before { opacity: 0.8; transform: none; }
/* Scroll parallax (js/home-2026.js sets --glow-y/--glow-s): as the section scrolls by, the band drifts down onto
   the stats and narrows, gathering the light behind the numbers. Separate translate/scale so the ignition
   transform above still applies. */
.home-infra::before { translate: 0 var(--glow-y, 0px); scale: 1 var(--glow-s, 1); will-change: translate, scale; }

/* ==========================================================================
   Short desktop screens (laptops): at 1440x900 the layout is the Figma one; below ~840px of height
   the logo strip (772-832) would drop under the first screen, so the hero tightens up.
   ========================================================================== */
@media (min-width: 1024px) and (max-height: 840px) {
	.home-hero__inner { gap: 20px; }
	.home-hero__badges { margin-top: 0; } /* 20 under the widget here */
	.homepage-trusted-logo-section { margin-top: 40px; }
}

/* ==========================================================================
   Tablet
   ========================================================================== */
@media (max-width: 1023px) {

	.home-cross { display: none; }
	.home-infra__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.home-infra__card,
	.home-infra__card--wide { grid-column: span 1; }
	.home-infra__card--wide { grid-column: 1 / -1; }
	.home-infra__card:not(.home-infra__card--wide):last-child { grid-column: 1 / -1; }
	.home-setups__grid { grid-template-columns: 1fr; }
	.home-addons__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.home-testimonials__grid { grid-template-columns: 1fr; gap: 12px; }
	.home-setups__card--global { min-height: 400px; }
	.home-setups__globe { left: 50%; margin-left: -282px; }
	.home-setups__server { left: auto; right: 48px; }
	.home-setups__cube { right: 5.5px; } /* line-art cube 48px from the right edge, as before */
	.home-hero { padding-top: 112px; }
	.home-hero__heading h1 { font-size: 48px; line-height: 50px; letter-spacing: -0.03em; }
}

/* ==========================================================================
   Mobile
   ========================================================================== */
@media (max-width: 768px) {

	.home-hero { padding-top: 80px; }
	.home-hero__inner { gap: 24px; }
	.home-hero__badges { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 12px; max-width: 340px; margin-top: 0; }
	.home-hero__badges li { margin: 0; padding: 0; min-width: 0; }
	.home-hero__badges a { display: flex; gap: 6px; height: 40px; font-size: 13px; }
	.home-hero__badges img { width: 24px; height: 24px; }
	.home-hero__heading h1 { font-size: 36px; line-height: 40px; letter-spacing: -0.03em; }
	.home-hero__br { display: none; }
	.home-hero__heading p { font-size: 16px; line-height: 22px; }

	.home-widget { padding: 12px; gap: 16px; }
	.home-widget__row { flex-wrap: wrap; gap: 12px; }
	.home-widget__protocol { flex: 1 1 100%; margin: 0; padding: 8px; background: rgba(255, 255, 255, 0.04); }
	.home-widget__caret { margin-left: auto; }
	.home-widget__endpoint { flex: 1 1 100%; }
	/* Full-width field on phones: show most of the address, fade only its last stretch. */
	.home-widget__endpoint span { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 72px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 72px), transparent); }
	.home-widget__cta { flex: 1 1 100%; }
	.home-widget__agents-label { flex-direction: column; }
	.home-widget__sparkle { display: none; }
	.home-widget__prompt { align-items: flex-start; padding: 12px; }
	.home-widget__prompt code { font-size: 13px; line-height: 18px; }
	.home-widget__copy { margin-left: 4px; }

	.homepage-trusted-logo-section { margin-top: 64px; }
	.trusted-logo-marquee::before,
	.trusted-logo-marquee::after { width: 60px; }
	.trusted-logo-track { animation-duration: 70s; }
	.trusted-logo-item { padding: 0 16px; }
	.trusted-logo-item img { height: 24px; }

	.home-section__head { margin-bottom: 32px; }
	.home-section__head h2 { font-size: 28px; line-height: 34px; letter-spacing: -0.03em; }
	.home-infra { margin-top: 96px; }
	.home-infra::before { top: 80px; height: 100%; }
	.home-infra__grid { grid-template-columns: 1fr; }
	.home-infra__card,
	.home-infra__card--wide { grid-column: 1; min-height: 0; }
	.home-infra__card .home-card__body { max-width: none !important; }
	.home-infra__card--wide { min-height: 240px; }
	.home-infra__card--wide .home-card__body p br { display: none; }
	.home-infra__trading-bg,
	.home-infra__data-bg { display: none; } /* behind the text on a phone they only hurt legibility */
	.home-infra__card--wide { min-height: 0; }
	.home-infra__card--data::before { display: none; } /* the art moves here; no hover on touch anyway */
	.home-infra__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; margin-top: 40px; }
	.home-setups { margin-top: 112px; }
	.home-addons { margin-top: 112px; }
	/* Phones: columns of three cards that swipe sideways, the next column peeking in. */
	.home-addons__grid {
		grid-template-columns: none;
		grid-template-rows: repeat(3, auto);
		grid-auto-flow: column;
		grid-auto-columns: calc(100% - 40px);
		gap: 8px;
		margin: 0 calc(-1 * var(--home-gutter));
		padding: 0 var(--home-gutter) 4px;
		overflow-x: auto;
		overflow-y: hidden; /* sideways only: a vertical swipe always scrolls the page */
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scroll-padding: 0 var(--home-gutter);
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}
	.home-addons__grid::-webkit-scrollbar { display: none; }
	.home-addons__grid > * { scroll-snap-align: start; }
	.home-addons__card { flex-direction: row; align-items: flex-start; justify-content: flex-start; min-height: 0; padding: 15px; }
	.home-addons__card h3 { margin-bottom: 4px; font-size: 18px; line-height: 24px; letter-spacing: -0.03em; }
	.home-section__cta { margin-top: 32px; }
	.home-testimonials { margin-top: 112px; }
	.home-cta { margin-top: 40px; overflow: hidden; }
	.home-faq { margin-top: 40px; padding-bottom: 112px; }
	.home-faq__list { gap: 8px; }
	.home-faq__item summary { padding: 16px; font-size: 16px; line-height: 22px; }
	.home-faq__item summary img { width: 24px; height: 24px; margin: 0; }
	.home-faq__item[open] summary { padding-bottom: 12px; }
	.home-faq__answer { padding: 0 16px 16px; font-size: 15px; }
	.home-cta__inner { padding: 72px 0; }
	.home-cta__cube { top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.66); transform-origin: 50% 50%; opacity: 0.85; } /* whole cube inside the block: centred, ~293x336 */
	.home-cta h2 { margin-bottom: 24px; font-size: 32px; line-height: 38px; letter-spacing: -0.03em; }
	.home-cta p { margin-bottom: 24px; font-size: 16px; line-height: 22px; }
	.home-cta .home-btn { white-space: normal; height: auto; min-height: 48px; padding: 12px 16px; }
	.home-testimonials__card { padding: 20px; }
	.home-section__cta--tight { margin-top: 24px; }
	.home-setups__card--global { min-height: 0; padding-top: 236px; } /* text starts under the (scaled) globe, lit or not */
	.home-setups__card--global h3 { font-size: 24px; line-height: 28px; }
	.home-setups__globe { transform: scale(0.8); transform-origin: 50% 0; }
	.home-setups__card br { display: none; }
	/* Dedicated and Self-Hosted: text on top, the illustration under it, centred. */
	.home-setups__stack .home-setups__card { justify-content: flex-start; padding-top: 23px; }
	.home-setups__card--dedicated { padding-bottom: 214px !important; }
	.home-setups__card--self-hosted { padding-bottom: 190px !important; }
	.home-setups__server { top: auto; bottom: 0; right: auto; left: 50%; height: 182px; margin-left: -74.5px; } /* rack runs off the bottom edge, as on desktop */
	.home-setups__cube { top: auto; bottom: 20px; right: auto; left: 50%; margin-left: -104.5px; }
	/* Lit versions sit over the mobile line-art (same offsets from it as on desktop). */
	.home-setups__hover--globe { left: 50%; margin-left: -282px; transform-origin: 50% 18px; transform: scale(0.8); } /* origin = the line-art container's top, so both scale alike */
	.home-setups__card.is-active .home-setups__hover--globe,
	.home-setups__card:hover .home-setups__hover--globe,
	.home-setups__card:focus-within .home-setups__hover--globe { transform: scale(0.8); } /* :hover too: the desktop hover rule reset it to scale 1 */
	.home-infra__stats dt { font-size: 32px; line-height: 40px; }
	.home-infra__stats dd { font-size: 15px; line-height: 20px; }
}

@media (prefers-reduced-motion: reduce) {
	html.home-motion .reveal:not(.is-in) { opacity: 1; }
	html.home-motion .reveal.is-in,
	html.home-motion .home-hero *,
	html.home-motion .home-hero::before { animation: none !important; }
	/* Keep the logo marquee running, matching the approved BBW behavior on Windows. */
	.home-setups__hover,
	.home-cta__cube img { transform: none !important; }
	.home-cta__cube-lines path { transition: stroke 0.3s ease; }
	.home-spark,
	.home-spark__glow { animation: none !important; }
	.home-srv__led { animation: none !important; }
	.home-widget__search,
	.home-widget__search .home-widget__list li { animation: none !important; }
}

@media (prefers-reduced-motion: reduce) and (max-width: 768px) {
	.home-setups__hover--globe { transform: scale(0.8) !important; }
}

/* ---------- customer stories (replaces the quote cards) ---------- */
.home-stories__card { justify-content: flex-start; gap: 0; padding: 0; } /* the image runs to the card edges */
.home-stories__media { overflow: hidden; aspect-ratio: 530 / 281; border-bottom: 1px solid rgba(32, 44, 75, 0.5); background: var(--home-surface-2); }
.home-stories__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--home-ease-out); }
.home-stories__card:hover .home-stories__media img { transform: scale(1.03); }
.home-stories__card .home-card__body { flex: 1; padding: 20px 23px 0; }
.home-stories__card .home-card__link { margin: 8px 23px 15px; }
/* Whole card is the link, arrow slides in on hover: same as the setup/infra cards. */
.home-stories__card .home-card__link { position: static; }
.home-stories__card .home-card__link::after { content: ''; position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.home-stories__card:hover .home-card__link { color: #4da3ff; }
.home-stories__card .home-card__link:focus-visible { outline: none; }
.home-stories__card .home-card__link:focus-visible::after { outline: 2px solid #8fc5ff; outline-offset: -2px; border-radius: 12px; }
.home-stories__card .home-card__link::before {
	content: '';
	order: 1;
	flex: none;
	width: 16px;
	height: 16px;
	max-width: 0;
	margin-left: 0;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 8h11M9 3.5 13.5 8 9 12.5'/%3E%3C/svg%3E") no-repeat right center / 16px 16px;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 8h11M9 3.5 13.5 8 9 12.5'/%3E%3C/svg%3E") no-repeat right center / 16px 16px;
	opacity: 0;
	transition: max-width 0.3s var(--home-ease-out), margin-left 0.3s var(--home-ease-out), opacity 0.2s ease;
}
.home-stories__card:hover .home-card__link::before,
.home-stories__card .home-card__link:focus-visible::before { max-width: 16px; margin-left: 6px; opacity: 1; }

/* Hover glow in the image's own colours: a blurred copy of the card image sits behind the card's top (where the
   picture is) and fades in. No colour is set anywhere, so a new image brings its own glow. */
.home-stories__grid { isolation: isolate; } /* one stacking context for all three: every glow (z 0) stays under every card (z 1) */
.home-stories__item { position: relative; display: flex; }
.home-stories__item > .home-stories__card { flex: 1; z-index: 1; }
.home-stories__glow {
	position: absolute;
	z-index: 0;
	top: 0;
	left: 0;
	width: 100%;
	height: auto;
	aspect-ratio: 530 / 281;
	object-fit: cover;
	border-radius: 24px;
	filter: blur(40px) saturate(1.6);
	opacity: 0;
	transform: scale(0.9);
	pointer-events: none;
	transition: opacity 0.5s ease, transform 0.6s var(--home-ease-out);
}
.home-stories__item:hover .home-stories__glow,
.home-stories__item:focus-within .home-stories__glow { opacity: 0.85; transform: scale(1.12); }
@media (prefers-reduced-motion: reduce) { .home-stories__glow { transition: opacity 0.3s ease; transform: none !important; } }

/* ---------- security ---------- */
.home-security { margin-top: 160px; }
.home-security__certs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
/* Main cards: badge on the left, text to its right, centred on each other; the badge fills in on hover. */
.home-security__cert { flex-direction: row; align-items: center; justify-content: flex-start; gap: 32px; min-height: 200px; padding: 31px; border-color: var(--home-border); }
.home-security__cert .home-card__body { max-width: 340px; }
.home-security__cert h3 { font-size: 24px; line-height: 28px; letter-spacing: -0.03em; }
/* Linked cards (ISO → security page, SOC → its #soc_2 section): the title link stretches over the whole card
   (the body is unpositioned so the stretch anchors to the card, not the text column). */
.home-security__cert .home-card__body { position: static; }
.home-security__link { color: inherit; text-decoration: none; }
.home-security__link:hover { color: inherit; text-decoration: none; }
.home-security__link::after { content: ''; position: absolute; inset: 0; z-index: 2; border-radius: 12px; }
.home-security__link:focus-visible { outline: none; }
.home-security__link:focus-visible::after { outline: 2px solid #8fc5ff; outline-offset: -2px; }
.home-badge { order: -1; flex: none; width: auto; height: 128px; overflow: visible; transition: filter 0.5s ease; }
.home-badge--soc { height: 124px; } /* the round seal reads larger than the shield at the same height */
/* Line art at rest: the badge's shapes as 1px outlines, its letters and digits filled solid in the outline colour
   (outlined text turned into double-line mush), letter counters filled with the card colour so they stay open.
   Hover: everything takes its own brand colour; the outlines fade out. Classes are set in the SVG files
   (home-badge__shape / __glyph / __hole). */
.home-badge path {
	stroke: #2f3a5a;
	stroke-width: 1;
	stroke-linejoin: round;
	stroke-opacity: 0;
	vector-effect: non-scaling-stroke;
	transition: fill 0.45s ease, fill-opacity 0.45s ease, stroke-opacity 0.45s ease;
}
@media (hover: hover) { /* touch screens have no hover: there the badges just show in colour */
	.home-security__cert:not(:hover):not(.is-active) .home-badge__shape { fill-opacity: 0; stroke-opacity: 1; }
	.home-security__cert:not(:hover):not(.is-active) .home-badge__glyph { fill: #2f3a5a; }
	.home-security__cert:not(:hover):not(.is-active) .home-badge__hole { fill: var(--home-surface); }
}
.home-security__cert:hover .home-badge,
.home-security__cert.is-active .home-badge { filter: drop-shadow(0 0 28px rgba(0, 123, 255, 0.3)); }
/* Touch screens: the glow is always on, the badge in colour (see the hover:hover block above). */
@media (hover: none) { .home-security__cert .home-badge { filter: drop-shadow(0 0 28px rgba(0, 123, 255, 0.3)); } }

/* The four control groups: a plain row under the cards, left-aligned with the cards' content. */
.home-security__pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin: 48px 0 0; padding: 0; list-style: none; text-align: left; }
.home-security__pillars li { margin: 0; padding: 0; }
/* Icons: icon-default grey, always; hovering the item only plays its little story, no colour change. */
.home-sec-icon { display: block; width: 28px; height: 28px; margin-bottom: 16px; overflow: visible; color: #73808c; }
.home-sec-icon * { transform-box: fill-box; }
/* Lock: the shackle pops up and snaps shut. */
.home-sec-icon__shackle { transform-origin: 50% 100%; }
.home-security__pillars li:hover .home-sec-icon__shackle { animation: home-lock-snap 0.7s cubic-bezier(0.3, 0, 0.2, 1); }
@keyframes home-lock-snap {
	0% { translate: 0 0; }
	35% { translate: 0 -26px; }
	62% { translate: 0 4px; }
	78% { translate: 0 -2px; }
	100% { translate: 0 0; }
}
/* Fingerprint: one scan bar pass, top to bottom. */
.home-sec-icon__scan { opacity: 0; }
.home-security__pillars li:hover .home-sec-icon__scan { animation: home-print-scan 0.9s ease-in-out; }
@keyframes home-print-scan {
	0% { translate: 0 8px; opacity: 0; }
	15% { opacity: 0.9; }
	85% { opacity: 0.9; }
	100% { translate: 0 238px; opacity: 0; }
}
/* Shield: swells, takes a hit (a ring bounces off it) and stays a little bigger. */
.home-sec-icon--shield { transform-origin: 50% 55%; transition: scale 0.3s ease; }
.home-security__pillars li:hover .home-sec-icon--shield { scale: 1.1; animation: home-shield-hit 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
@keyframes home-shield-hit {
	0% { scale: 1; }
	35% { scale: 1.22; }
	55% { scale: 1.04; translate: -1px 0; }
	75% { scale: 1.13; translate: 0 0; }
	100% { scale: 1.1; }
}
.home-sec-icon__ring { transform-origin: 50% 50%; opacity: 0; }
.home-security__pillars li:hover .home-sec-icon__ring { animation: home-shield-ring 0.6s ease-out 0.18s; }
@keyframes home-shield-ring {
	0% { opacity: 0.7; scale: 0.7; }
	100% { opacity: 0; scale: 1.35; }
}
/* Pulse: written left to right like a patient monitor: the trace clears and a bright head redraws it once. */
.home-sec-icon__line { transition: none; } /* back at once when the hover ends (the drawn trace vanishes at the same instant: no blink) */
.home-sec-icon__trace { opacity: 0; stroke-dasharray: 100 100; stroke-dashoffset: 100; }
.home-sec-icon__head { opacity: 0; transform-box: view-box; offset-path: path('M24 128H56L96 48L160 208L200 128H232'); offset-anchor: 0 0; offset-distance: 0%; offset-rotate: 0deg; } /* circle drawn at 0,0, carried along the trace */
.home-security__pillars li:hover .home-sec-icon__line { opacity: 0; }
.home-security__pillars li:hover .home-sec-icon__trace { opacity: 1; animation: home-pulse-draw 1s cubic-bezier(0.45, 0, 0.55, 1) forwards; }
.home-security__pillars li:hover .home-sec-icon__head { animation: home-pulse-head 1s cubic-bezier(0.45, 0, 0.55, 1) forwards; }
@keyframes home-pulse-draw {
	from { stroke-dashoffset: 100; }
	to { stroke-dashoffset: 0; }
}
@keyframes home-pulse-head {
	0% { offset-distance: 0%; opacity: 1; }
	90% { opacity: 1; }
	100% { offset-distance: 100%; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.home-security__pillars li:hover .home-sec-icon * ,
	.home-security__pillars li:hover .home-sec-icon { animation: none !important; }
	.home-security__pillars li:hover .home-sec-icon__line { opacity: 1; }
	.home-security__pillars li:hover .home-sec-icon__trace,
	.home-security__pillars li:hover .home-sec-icon__head { opacity: 0; }
}
.home-security__pillars h3 { margin: 0 0 8px; color: var(--home-text); font-family: var(--home-font-medium); font-weight: 500; font-size: 18px; line-height: 24px; letter-spacing: -0.18px; }
.home-security__pillars p { text-wrap: pretty; margin: 0; color: var(--home-text-secondary); font-family: var(--home-font-regular); font-size: 14px; line-height: 18px; }
@media (max-width: 1023px) { .home-security__pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; } }
@media (max-width: 768px) { .home-security__pillars { grid-template-columns: 1fr; gap: 24px; margin-top: 32px; } }

/* ---------- support ---------- */
.home-support { margin-top: 160px; padding: 0; } /* the quote rows run edge to edge; the inner blocks keep the gutter */
.home-support > .home-section__inner { padding: 0 var(--home-gutter); }
.home-support__rows {
	display: flex;
	flex-direction: column;
	gap: 12px;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.home-support__row { display: flex; width: max-content; }
.home-support__row--ltr { animation: home-support-ltr 70s linear infinite; }
.home-support__row--rtl { animation: home-support-rtl 60s linear infinite; }
.home-support__rows:hover .home-support__row { animation-play-state: paused; }
@keyframes home-support-ltr { from { transform: translateX(-50%); } to { transform: none; } }
@keyframes home-support-rtl { to { transform: translateX(-50%); } }
.home-support__track { display: flex; flex: none; gap: 12px; margin: 0; padding: 0 12px 0 0; list-style: none; }
.home-support__quote {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 10px 16px;
	border: 1px solid rgba(32, 44, 75, 0.5);
	border-radius: 999px;
	background: #0f0f24;
	color: var(--home-text-secondary);
	font-family: var(--home-font-regular);
	font-size: 14px;
	line-height: 18px;
	white-space: nowrap;
}
.home-support__quote svg { flex: none; color: var(--home-link); }
.home-support__quote strong { color: var(--home-text); font-family: var(--home-font-medium); font-weight: 500; }
.home-support__quote span { display: inline; vertical-align: baseline; } /* theme: every span is inline-block/middle */
.home-support__badges { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px; margin: 40px 0 0; padding: 0; list-style: none; }
.home-support__badges li { margin: 0; padding: 0; }
.home-support__badges a { display: block; opacity: 0.9; transition: opacity 0.15s; }
.home-support__badges a:hover { opacity: 1; }
.home-support__badges img { display: block; width: auto; height: 64px; }

/* ---------- closing CTA: two buttons ---------- */
/* Sequence (js/home-2026.js): .is-lit → the outline cube makes a quick half turn; once it has landed .is-glow →
   it lights up. */
.home-2026 .home-cta.is-lit:not(.is-glow) .home-cta__cube-glow { opacity: 0; transform: scale(0.92); }
.home-2026 .home-cta__cube-glow { transition: opacity 0.35s ease, transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
/* Launch log behind the cube: a barely-there terminal that scrolls a node launch in about a second. */
.home-2026 .home-cta__inner > .home-cta__boot { /* beats the CTA's "every child relative" rule */
	position: absolute;
	top: -100px; /* room above the first line for the fade-in mask */
	right: 0;
	bottom: 24px; /* last line rides up level with the cube's lower corners, not down at its bottom tip */
	left: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 22px; /* airy: 58px a line, so the log fills the height of the cube */
	overflow: hidden;
	color: rgba(141, 149, 165, 0.1); /* big but barely there; RUNNING is the one line that lights up */
	font-family: var(--home-font-mono);
	font-weight: 500;
	font-size: 30px;
	line-height: 36px;
	letter-spacing: -0.01em;
	text-transform: uppercase;
	text-align: left;
	white-space: nowrap;
	pointer-events: none;
	-webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 100%);
	mask-image: linear-gradient(180deg, transparent, #000 30%, #000 100%);
	transition: opacity 0.4s ease;
}
.home-2026 .home-cta__boot span { display: block; overflow: hidden; text-overflow: ellipsis; animation: home-boot-line 0.18s ease-out both; }
@keyframes home-boot-line { from { opacity: 0; translate: 0 6px; } }
.home-2026 .home-cta__boot .is-run { color: rgba(61, 220, 132, 0.45); text-shadow: 0 0 10px rgba(61, 220, 132, 0.4), 0 0 32px rgba(37, 177, 95, 0.3); }
.home-2026 .home-cta__dot { font-style: normal; animation: home-run-dot 1.2s steps(1, end) infinite; } /* RUNNING's dot blinks like a live status light */
@keyframes home-run-dot { 50% { opacity: 0.15; } }
@media (prefers-reduced-motion: reduce) { .home-2026 .home-cta__dot { animation: none; } }
.home-2026 .home-cta:not(.is-lit) .home-cta__boot { opacity: 0; }
@media (max-width: 1023px) { .home-2026 .home-cta__boot { display: none; } }

/* New glow (Figma 1586:17024): 388×445 cube of three gradient faces, 20px blur → 40px margin round it; its faces sit
   on the outline's faces (inner cube at 27.4 / 32.5 inside the outline, as before). */
.home-2026 .home-cta__cube-glow { top: -7.5px; left: -12.6px; width: 468px; height: 525px; }
/* Moved mid-page (above security): the CTA band carries 80px of its own padding, so the next section takes 80
   to keep the 160 rhythm; FAQ, designed to follow the CTA at 80, now follows support and needs the full 160. */
/* The dashed cube reaches ~70px above and below the band, so mid-page it needs room of its own: ~95px clear of the
   stories button above and the security heading below. */
.home-testimonials + .home-cta { margin-top: 160px; }
/* In line with the CTA title, like every section heading's crosses (title centre 104px into the band, cross 24px). */
.home-cta .home-cross--cta-divider-l { top: 92px; left: 0; }
.home-cta .home-cross--cta-divider-r { top: 92px; right: 0; }
.home-cta + .home-security { margin-top: 152px; }
/* The cube's centre edge used to sit 9px left of centre (Figma x 489); with two buttons it must run through the gap. */
@media (min-width: 769px) { /* ≤768 centres the scaled cube on their own (css/home-2026.css) */
	.home-2026 .home-cta__cube { left: calc(50% - 221.86px); } /* 221.86 = the cube's own centre line (viewBox x 221.86) */
}
.home-support + .home-faq { margin-top: 160px; }
@media (max-width: 768px) {
	.home-testimonials + .home-cta { margin-top: 40px; }
	.home-cta + .home-security { margin-top: 40px; }
	.home-support + .home-faq { margin-top: 112px; }
}
.home-cta__actions { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 12px; } /* equal columns: both buttons as wide as the wider one */
@media (max-width: 479px) {
	.home-cta__actions { grid-auto-flow: row; width: 100%; max-width: 320px; } /* stacked, full width */
}

/* ---------- responsive ---------- */
/* Below desktop (phones and tablets): customer stories as a horizontal swipe row (snap per card, next card peeking),
   so they never blow up to a single full-width column. */
@media (max-width: 1023px) {
	.home-stories .home-stories__grid {
		display: flex;
		gap: 12px;
		margin: 0 calc(-1 * var(--home-gutter));
		padding: 0 var(--home-gutter) 4px;
		overflow-x: auto;
		overflow-y: hidden;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scroll-padding: 0 var(--home-gutter);
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}
	.home-stories .home-stories__grid::-webkit-scrollbar { display: none; }
	.home-stories .home-stories__item { flex: 0 0 min(320px,calc(100vw - 64px)); min-width: 0; scroll-snap-align: start; }
	.home-stories .home-stories__card { min-width: 0; }
	.home-stories__glow { display: none; }
}
.home-stories__grid:focus-visible { outline: 2px solid #80bdff; outline-offset: 4px; }
@media (max-width: 768px) {
	.home-security,
	.home-support { margin-top: 112px; }
	.home-security__certs { grid-template-columns: 1fr; }
	.home-security__cert { flex-direction: column; align-items: flex-start; gap: 24px; min-height: 0; padding: 23px; }
	.home-security__cert .home-badge { height: 104px; }
	.home-support__badges { gap: 16px; }
	.home-support__badges img { height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
	/* Keep the support quote marquee running, matching the support-page fix. */
	.home-stories__media img { transition: none; }
}

/* Same centered rating treatment as BBW, independent of the quote tracks. */
.home-stories .home-g2-rating{display:flex;align-items:center;justify-content:center;gap:10px;width:fit-content;max-width:100%;margin:-24px auto 40px;color:#DFE0E7;font:16px/24px SuisseIntl-Regular,Arial,sans-serif;text-decoration:none!important}
.home-stories .home-g2-stars{display:flex;align-items:center;gap:2px}
.home-stories .home-g2-rating img{display:block;flex-shrink:0}
.home-stories .home-g2-rating>img{background:#fff;border-radius:50%}
.home-stories .home-g2-count{color:#9097A3;white-space:nowrap}
.home-widget__agent,.home-widget__agent:hover{text-decoration:none}
/* Underline draws in from the left on hover (and out to the right when the pointer leaves). */
.home-widget__agent-name{background:linear-gradient(currentColor,currentColor) no-repeat right bottom/0 1px;padding-bottom:1px;transition:background-size .3s cubic-bezier(.4,0,.2,1)}
.home-widget__agent:is(:hover,:focus-visible) .home-widget__agent-name{background-size:100% 1px;background-position-x:left}
@media(prefers-reduced-motion:reduce){.home-widget__agent-name{transition:none}}
@media(max-width:1140px){.home-stories .home-g2-rating{margin:-12px auto 32px}}
@media(max-width:359px){.home-stories .home-g2-rating{gap:8px;font-size:14px}}

/* Customer proof remains separate from the article cards and support quote strips. */
.home-customer-quotes .home-testimonials__card{border:1px solid rgba(32, 44, 75, 0.5);transition:border-color 0.15s} /* as .home-card (the story cards below): half-tone at rest, full on hover */
.home-customer-quotes .home-testimonials__card:hover{border-color:var(--home-border)}
.home-customer-quotes .home-testimonials__card>img{width:40px;height:35px}
.home-customer-quotes blockquote{flex:1}
.home-testimonial-role{display:block;margin-top:4px;color:var(--home-text-secondary)}
.home-testimonial-source{display:flex;align-items:center;gap:6px;width:fit-content;margin-top:12px;color:var(--home-text-secondary);text-decoration:none;font-size:14px}
.home-testimonial-source:hover{color:var(--home-text)}
.home-stories .home-stories__grid{margin-top:48px}

/* The BBW testimonial rail: fixed card widths, native swiping, and desktop dragging. */
.home-customer-quotes{width:100%;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;cursor:grab;-webkit-overflow-scrolling:touch}
.home-customer-quotes::-webkit-scrollbar{display:none}
.home-customer-quotes.is-dragging{cursor:grabbing}
/* Fade the right edge (more cards that way); the left edge fades only once the rail has been moved, so at rest the
   first card's border stays crisp and lines up with the story cards. */
.home-customer-quotes.is-overflowed{-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 24px),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 24px),transparent)}
.home-customer-quotes.is-overflowed.is-scrolled{-webkit-mask-image:linear-gradient(to right,transparent,#000 24px,#000 calc(100% - 24px),transparent);mask-image:linear-gradient(to right,transparent,#000 24px,#000 calc(100% - 24px),transparent)}
/* At the end the last card stays whole: only the left edge fades. */
.home-customer-quotes.is-overflowed.is-end{-webkit-mask-image:linear-gradient(to right,transparent,#000 24px);mask-image:linear-gradient(to right,transparent,#000 24px)}
.home-customer-quotes:focus-visible{outline:2px solid #007bff;outline-offset:6px}
.home-customer-quotes__track{display:flex;gap:16px;width:max-content;padding:0 0 6px} /* first card starts on the column edge, level with the story cards */
.home-customer-quotes .home-testimonials__card{flex:0 0 328px;width:328px;box-sizing:border-box;user-select:none} /* the longest caption (QuickSwap) on one line; 3 cards + the edge of the 4th: there are more */
.home-customer-quotes .home-testimonials__card blockquote p{color:#dfe0e7;font-size:20px;line-height:1.3}
.home-testimonial-date{display:block;margin-top:6px;color:#9097a3;font-size:13px}
@media(max-width:768px){.home-customer-quotes .home-testimonials__card{flex-basis:min(300px,calc(100vw - 112px));width:min(300px,calc(100vw - 112px))}} /* phones: the next card peeks in */

/* Match the compact BBW testimonial cards, without the extra icon row or dates. */
.home-customer-quotes .home-testimonials__card{position:relative;align-items:flex-start;padding:24px 20px;gap:16px;background:transparent;border-radius:12px}
.home-customer-quotes .home-testimonials__card>img{position:absolute;right:16px;top:0;width:40px;height:35px;pointer-events:none}
.home-customer-quotes .home-testimonials__card blockquote p{color:var(--home-text);font-family:var(--home-font-regular);font-weight:400;font-size:16px;line-height:20px;letter-spacing:0} /* DS Text M regular */
.home-customer-quotes .home-testimonials__card figcaption{display:flex;flex-direction:column;gap:8px;margin-top:auto;color:var(--home-text-secondary);font-size:14px;line-height:18px;letter-spacing:0;font-family:var(--home-font-regular)} /* DS Text S */
.home-customer-quotes .home-testimonial-source{margin-top:0;font-size:inherit;line-height:inherit;text-decoration:underline;text-underline-offset:3px}
.home-addons__link{position:absolute;inset:0;z-index:3;border-radius:inherit;text-decoration:none}
.home-addons__card:has(.home-addons__link){cursor:pointer}
.home-addons__card:focus-within{outline:2px solid #007bff;outline-offset:-3px}
.home-addons__status{position:absolute;top:16px;right:16px;z-index:3;display:inline-flex;align-items:center;padding:4px 12px;border-radius:100px;background:var(--home-btn-secondary-bg);color:var(--home-link);font:13px/18px var(--home-font-medium);letter-spacing:.13px} /* secondary button colours; DS Button M type */
@media(max-width:768px){
	.home-addons__status{top:17px;right:15px;padding:2px 8px;font-size:12px;line-height:16px;letter-spacing:.12px}
	.home-addons__card--blockbook .home-card__body{flex:1;min-width:0}
	.home-addons__card--blockbook h3{box-sizing:border-box;width:100%;padding-right:52px}
}



@media(max-width:359px){.home-hero__badges{grid-template-columns:minmax(0,1fr) max-content}.home-hero__badges a{font-size:12px;gap:4px}.home-hero__badges img{width:20px;height:20px}}

/* ---------- line breaking for copy ----------
   Same rules as ui-react (src/styles/tailwind.css), scoped to the page body: balanced titles, no lone last word in
   running text. Short words left at a line end are bound to the next word in js/home-2026.js. Opt out: data-no-bind. */
.home-2026 :is(h1, h2, h3, h4, h5, h6, blockquote) { text-wrap: balance; }
.home-2026 :is(p, li, dd, figcaption) { text-wrap: pretty; }
.home-2026 [data-no-bind],
.home-2026 [data-no-bind] * { text-wrap: wrap; }

/* ---------- protocols: a cluster of logo bubbles (after security) ----------
   js/home-2026.js packs the bubbles on a hexagonal lattice and drives the fisheye: per bubble a transform and
   --f (focus, 0..1) for the blur. Without it: a plain wrapped row. */
.home-protocols { margin-top: 160px; }
/* "70+" in the heading counts up (js). Inline-block so the counting copy (absolute, top 0) sits on the same line box;
   the theme makes spans inline-block + middle, so the baseline is set back. */
.home-protocols__count { position: relative; display: inline-block; vertical-align: baseline; }
.home-protocols__count > span { display: inline; vertical-align: baseline; }
.home-protocols .home-section__head { margin-bottom: 24px; } /* the cluster's own top room (for the rim logos to swell) adds to this */
.home-protocols__field { position: relative; --d: 90px; }
.home-protocols__grid { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0; padding: 0; list-style: none; }
.home-protocols__cell { --p: 0; margin: 0; padding: 0; width: var(--d); height: var(--d); }
.home-protocols__field.is-laid-out .home-protocols__grid { display: block; }
/* No flash of the fallback row: with scripting on, the field stays hidden (its height reserved) until js has packed
   the cluster, then fades in. Without js the wrapped row shows as before; if the script never runs, the field still
   appears after 3s. */
@media (scripting: enabled) {
	.home-protocols__field:not(.is-laid-out) { min-height: 434px; visibility: hidden; animation: home-protocols-fallback 0s 3s forwards; }
	.home-protocols__field.is-laid-out { animation: home-protocols-in 0.4s ease both; }
}
@media (scripting: enabled) and (max-width: 767px) { .home-protocols__field:not(.is-laid-out) { min-height: 324px; } }
@keyframes home-protocols-fallback { to { visibility: visible; } }
@keyframes home-protocols-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .home-protocols__field.is-laid-out { animation: none; } }
/* Phones (js sets .is-rail below 768px): the band scrolls sideways under the finger, edges fading out. */
.home-protocols__field.is-rail {
	margin: 0 calc(-1 * var(--home-gutter));
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	-webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
	mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.home-protocols__field.is-rail::-webkit-scrollbar { display: none; }
.home-protocols__field.is-laid-out .home-protocols__cell { position: absolute; left: calc(var(--d) / -2); top: calc(var(--d) / -2); will-change: transform; }
.home-protocols__bubble { /* the logo itself, no plate or ring */
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	text-decoration: none;
}
.home-protocols__bubble img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	/* Out of focus at rest and far from the cursor, sharp near it. Dimmed while blurred, so a bright logo's spread
	   colour doesn't read as a glow. */
	filter: blur(calc((1 - var(--f, 1)) * 14px));
	opacity: calc(0.45 + var(--f, 1) * 0.55);
	transition: opacity 0.35s ease;
}
/* Split (trial): square symbol-filled logos, cut into circles. */
.home-protocols--split .home-protocols__bubble img { border-radius: 50%; }
/* Like a torch in the dark: while the cursor is over the cluster, the logos it doesn't reach go darker still. */
.home-protocols__field.is-lit .home-protocols__bubble img {
	opacity: calc(0.12 + var(--f, 1) * 0.88);
	pointer-events: none;
}
.home-protocols__bubble:focus-visible { outline: 2px solid #80bdff; outline-offset: 3px; }
/* Name tag that floats after the cursor (js); our dark surface, border and Text S. */
.home-protocols__tip {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 200;
	padding: 6px 10px;
	border: 1px solid var(--home-border);
	border-radius: 8px;
	background: var(--home-surface-2);
	color: var(--home-text);
	font: 14px/18px var(--home-font-regular);
	white-space: nowrap;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.15s ease;
}
.home-protocols__tip.is-on { opacity: 1; }
@media (max-width: 767px) { .home-protocols { margin-top: 112px; } }
/* Phones: the logos are a picture, not links (too small to aim at; "See all protocols" is the way in). */
@media (max-width: 767px) { .home-protocols__bubble { pointer-events: none; cursor: default; } }

/* ---------- protocols, variant "split" (page meta home_protocols_variant = split) ----------
   The claim sits in the middle of the cluster (js places it on the packed hole); it fades up first, then the logos
   split out from under it (js). Until then the logos are hidden; without js both show statically. */
.home-protocols--split { margin-top: 120px; } /* no heading of its own: the cloud starts a little closer to the block before */
.home-protocols--split .home-protocols__field { margin-top: -11px; } /* the cluster's own 11px top room taken out */
.home-protocols--split + .home-cta { margin-top: 120px; } /* + the CTA band's 80 = 200 from the button to the CTA title: more room below the cloud than above it */
.home-protocols__claim {
	position: absolute;
	z-index: 300;
	margin: 0;
	transform: translate(-50%, -50%);
	color: var(--home-text);
	font-family: var(--home-font-medium);
	font-weight: 500;
	font-size: 40px;
	line-height: 48px;
	letter-spacing: -0.03em;
	text-align: center;
	white-space: nowrap;
	pointer-events: none;
}
.home-protocols__field:not(.is-laid-out) .home-protocols__claim { position: static; transform: none; margin-bottom: 32px; white-space: normal; }
@media (scripting: enabled) {
	.home-protocols--split .home-protocols__field.is-laid-out:not(.is-claimed) .home-protocols__claim { opacity: 0; }
	/* the same entrance as every section heading (rise + un-blur), see .reveal */
	.home-protocols--split .home-protocols__field.is-claimed .home-protocols__claim { animation: home-reveal-up 0.9s var(--home-ease-out) backwards; }
	.home-protocols--split .home-protocols__field.is-laid-out:not(.is-grown) .home-protocols__cell { opacity: 0; }
}
.home-2026 .home-protocols__claim { text-wrap: nowrap; } /* one line on desktop (beats the page's balanced titles) */
/* Keep the original desktop packing footprint when the claim copy changes. */
@media (min-width: 768px) {
	.home-protocols--split .home-protocols__field.is-laid-out .home-protocols__claim { width: 426px; }
	.home-protocols--split .home-protocols__claim > span { display: block; width: max-content; position: relative; left: 50%; transform: translateX(-50%); }
}
@media (max-width: 767px) {
	.home-2026 .home-protocols__claim { width: 200px; font-size: 28px; line-height: 34px; text-wrap: balance; } /* phones: two lines */
}
@media (prefers-reduced-motion: reduce) { .home-protocols--split .home-protocols__claim { animation: none !important; } }
/* The energy: a blue haze, the colour of the infra stats glow (#002c85) with a brighter core. Hidden until the block
   triggers; then it bursts out of the claim (.is-burst) with the logos, leaving a soft glow behind. --e-p (0..1, registered so it animates) drives the swirl and the core. */
@property --e-p { syntax: '<number>'; inherits: true; initial-value: 0; }
.home-protocols__energy {
	--e-y: 0px;
	--e-s: 2.2;
	--e-o: 0;
	position: absolute;
	z-index: 0;
	width: 760px;
	height: 520px;
	border-radius: 50%;
	/* eased falloff (several stops) so the haze has no readable edge on the dark page */
	background: radial-gradient(closest-side, rgba(46, 110, 255, 0.7), rgba(20, 70, 200, 0.5) 22%, rgba(0, 44, 133, 0.3) 42%, rgba(0, 44, 133, 0.12) 62%, rgba(0, 44, 133, 0.04) 80%, rgba(0, 44, 133, 0) 100%);
	opacity: var(--e-o);
	transform: translate(-50%, calc(-50% + var(--e-y))) scale(var(--e-s));
	pointer-events: none;
	will-change: transform, opacity;
}
/* The burst is more than a flat haze: a swirl of blue and cyan arms that flings out
   (::before) and a bright core that flashes (::after); both driven by --e-p. */
.home-protocols__energy::before,
.home-protocols__energy::after {
	content: '';
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
}
.home-protocols__energy::before {
	inset: -12%;
	background: conic-gradient(from 0deg,
		rgba(0, 44, 133, 0) 0%, rgba(46, 120, 255, 0.5) 9%, rgba(0, 44, 133, 0) 20%,
		rgba(110, 190, 255, 0.35) 33%, rgba(0, 44, 133, 0) 45%,
		rgba(40, 90, 255, 0.5) 60%, rgba(0, 44, 133, 0) 71%,
		rgba(140, 200, 255, 0.3) 84%, rgba(0, 44, 133, 0) 95%);
	-webkit-mask-image: radial-gradient(closest-side, #000 10%, rgba(0, 0, 0, 0.45) 32%, rgba(0, 0, 0, 0.12) 52%, transparent 68%);
	mask-image: radial-gradient(closest-side, #000 10%, rgba(0, 0, 0, 0.45) 32%, rgba(0, 0, 0, 0.12) 52%, transparent 68%);
	filter: blur(22px);
	opacity: calc(0.2 + var(--e-p, 0) * 0.6);
	scale: calc(1.5 - var(--e-p, 0) * 0.7);
	animation: home-energy-spin 9s linear infinite;
	transition: opacity 0.5s ease;
}
.home-protocols__energy::after {
	inset: 34%;
	background: radial-gradient(closest-side, rgba(225, 238, 255, 0.7), rgba(90, 160, 255, 0.4) 40%, rgba(46, 110, 255, 0.1) 65%, rgba(46, 110, 255, 0) 85%);
	filter: blur(10px);
	opacity: calc(var(--e-p, 0) * var(--e-p, 0) * 0.8);
	animation: home-energy-pulse 1.6s ease-in-out infinite;
}
@keyframes home-energy-spin { to { rotate: 360deg; } }
@keyframes home-energy-pulse { 50% { scale: 1.18; } }
.home-protocols__field.is-burst .home-protocols__energy { --e-p: 1; animation: home-energy-burst 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
/* At the burst the swirl flings out and the core flashes, then both are gone: only the soft glow stays behind. */
.home-protocols__field.is-burst .home-protocols__energy::before { animation: home-energy-fling 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.home-protocols__field.is-burst .home-protocols__energy::after { animation: home-energy-flash 0.7s ease-out forwards; }
@keyframes home-energy-fling { from { opacity: 1; scale: 0.8; } to { opacity: 0; scale: 2.4; rotate: 140deg; } }
@keyframes home-energy-flash { 0% { opacity: 1; scale: 1; } 25% { opacity: 1; scale: 1.8; } 100% { opacity: 0; scale: 3; } }
@keyframes home-energy-burst {
	0% { opacity: 0; transform: translate(-50%, -50%) scale(0.3); filter: brightness(1.6); }
	18% { opacity: 1; transform: translate(-50%, -50%) scale(1.25); filter: brightness(1.6); }
	100% { opacity: 0.55; transform: translate(-50%, -50%) scale(1.5); filter: brightness(1); }
}
@media (max-width: 767px) { .home-protocols__energy { width: 420px; height: 360px; } }
/* Before the trigger: a very wide, soft ellipse of light around the claim (the blue of the infra stats glow) fades in
   and draws in towards the claim as the block scrolls up (js sets --band-p 0..1 and --band-y, the claim's centre in
   the section). At the trigger it
   simply fades out (.is-fading), and the burst starts just before it is gone. */
.home-protocols--split::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: var(--band-y, 50%);
	height: 560px;
	translate: 0 -50%;
	background: radial-gradient(closest-side, #002c85, rgba(0, 44, 133, 0.75) 35%, rgba(0, 44, 133, 0.3) 65%, rgba(0, 44, 133, 0.08) 85%, rgba(0, 44, 133, 0));
	opacity: calc(var(--band-p, 0) * 0.85);
	scale: calc(1 - var(--band-p, 0) * 0.2); /* draws in by 20% towards the claim as it nears */
	pointer-events: none;
}
.home-protocols--split.is-fading::before { animation: home-band-fade 0.45s ease-out forwards; }
@keyframes home-band-fade { to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .home-protocols--split::before { display: none; } }
@media (prefers-reduced-motion: reduce) {
	.home-protocols__field.is-burst .home-protocols__energy { animation: none; opacity: 0.55; transform: translate(-50%, -50%) scale(1.5); }
	.home-protocols__energy::before,
	.home-protocols__energy::after { display: none; }
}
