/* =========================================================================
   Stabillon - main stylesheet, v1.8.0

   The visual language is lifted from the client's product briefs: bordered
   chips for anything enumerable, chevron flows for money movement,
   deep indigo bands with a star field, and a green -> cyan ->
   violet accent ramp. The page itself stays light so long regulatory copy
   remains comfortable to read.
   ========================================================================= */

/* ---------- Fallback fonts ----------
   Arial, adjusted to the metrics of Inter and Poppins, so the text keeps its
   size and line breaks while the webfonts load (no layout shift on swap). */

@font-face {
	font-family: "Inter Fallback";
	src: local("Arial");
	size-adjust: 107.12%;
	ascent-override: 90.44%;
	descent-override: 22.52%;
	line-gap-override: 0%;
}
@font-face {
	font-family: "Poppins Fallback";
	src: local("Arial");
	size-adjust: 112.16%;
	ascent-override: 92.83%;
	descent-override: 30.94%;
	line-gap-override: 8.79%;
}

/* ---------- Tokens ---------- */

:root {
	/* Accent ramp, straight off the briefs. */
	--green: #00e39a;
	--green-600: #00c489;
	--green-700: #018a63;
	--green-soft: rgba(0, 227, 154, .12);

	--cyan: #2ec7d4;
	--cyan-700: #0f7f8c;

	--violet: #6c4bf6;
	--violet-600: #5b3ae0;
	--violet-300: #a78bfa;
	--violet-soft: rgba(108, 75, 246, .10);

	--pink: #f2688f;

	/* Deep indigo, used for every dark band. */
	--indigo-900: #140a35;
	--indigo-800: #1e1150;
	--indigo-700: #2b1a6d;
	--indigo-600: #3d2593;

	--ink: #16113a;
	--body: #4a4670;
	--muted: #6e6a93;
	--line: #e8e4f6;
	--line-strong: #d3cbee;

	--bg: #ffffff;
	--bg-alt: #f7f5fd;
	--bg-dark: var(--indigo-900);

	--radius-sm: 8px;
	--radius: 14px;
	--radius-lg: 20px;

	--shadow-sm: 0 1px 2px rgba(22, 17, 58, .05), 0 4px 14px rgba(22, 17, 58, .05);
	--shadow: 0 14px 36px rgba(22, 17, 58, .09);
	--shadow-lg: 0 28px 64px rgba(22, 17, 58, .16);
	--shadow-violet: 0 18px 40px rgba(108, 75, 246, .18);

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

	--container: 1200px;
	--container-narrow: 780px;
	--gutter: 24px;

	--header-h: 76px;

	--ease: cubic-bezier(.22, .61, .36, 1);
	--speed: .28s;

	/* Shared decorative fills. */
	--ramp: linear-gradient(90deg, var(--green) 0%, var(--cyan) 48%, var(--violet) 100%);
	--stars: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cg fill='%23fff'%3E%3Ccircle cx='18' cy='34' r='1.2' opacity='.5'/%3E%3Ccircle cx='96' cy='12' r='.9' opacity='.35'/%3E%3Ccircle cx='158' cy='58' r='1.4' opacity='.45'/%3E%3Ccircle cx='232' cy='26' r='1' opacity='.3'/%3E%3Ccircle cx='52' cy='104' r='1' opacity='.4'/%3E%3Ccircle cx='128' cy='132' r='1.3' opacity='.3'/%3E%3Ccircle cx='206' cy='118' r='.9' opacity='.45'/%3E%3Ccircle cx='24' cy='176' r='1.1' opacity='.32'/%3E%3Ccircle cx='88' cy='210' r='1.4' opacity='.4'/%3E%3Ccircle cx='170' cy='192' r='1' opacity='.3'/%3E%3Ccircle cx='240' cy='226' r='1.2' opacity='.38'/%3E%3Ccircle cx='120' cy='250' r='.9' opacity='.28'/%3E%3C/g%3E%3C/svg%3E");
	--dots: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Ccircle cx='1.5' cy='1.5' r='1.5' fill='%236c4bf6' fill-opacity='.10'/%3E%3C/svg%3E");
}

@media (max-width: 640px) {
	:root {
		--gutter: 18px;
		--header-h: 64px;
	}
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
	margin: 0;
	overflow-x: clip;
	background: var(--bg);
	color: var(--body);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: var(--violet-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--violet); }

h1, h2, h3, h4 {
	margin: 0 0 .5em;
	color: var(--ink);
	font-family: var(--display);
	font-weight: 700;
	line-height: 1.14;
	letter-spacing: -.02em;
}

h1 { font-size: clamp(2.2rem, 1.4rem + 3.1vw, 3.7rem); }
h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.65rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); }

p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }

:focus-visible {
	outline: 3px solid var(--violet);
	outline-offset: 3px;
	border-radius: 4px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap; border: 0;
}

.skip-link {
	position: fixed; top: 8px; left: 8px; z-index: 200;
	padding: 10px 16px; background: var(--ink); color: #fff;
	border-radius: var(--radius-sm);
}
.skip-link:focus { clip: auto; width: auto; height: auto; margin: 0; overflow: visible; }

/* ---------- Layout ---------- */

.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }

/* On the wide templates the shared intro and FAQ blocks keep their reading
   measure but line up with the left edge of every other section, rather than
   jumping to the middle of the page. */
.stb-wide .section--intro > .container--narrow,
.stb-wide .section--faq > .container--narrow { max-width: var(--container); }
.stb-wide .section--intro .prose { max-width: 70ch; }
.stb-wide .section--faq .section-head,
.stb-wide .section--faq .faq { max-width: 860px; }

.section {
	position: relative;
	padding-block: clamp(60px, 5.4vw, 112px);
}

/* The alternate band is not a flat grey: a violet-tinted wash with a faint dot
   grid, faded out top and bottom so the seams never read as a hard box. */
.section--alt {
	background: var(--bg-alt);
	border-block: 1px solid var(--line);
}
.section--alt::before {
	content: "";
	position: absolute; inset: 0;
	background-image: var(--dots);
	background-size: 28px 28px;
	-webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
	mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
	pointer-events: none;
}
.section > .container { position: relative; z-index: 1; }

.section__actions { margin-top: 44px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* The lead-in paragraph under a page hero. Set against a violet rail so it
   does not float in the middle of an otherwise empty band. */
.section--intro { padding-block: clamp(44px, 4vw, 76px); }
.section--intro .prose {
	padding-left: 28px;
	border-left: 3px solid var(--violet-300);
}
@media (max-width: 640px) {
	.section--intro .prose { padding-left: 18px; }
}

/* ---------- Section heading + the bracket motif ---------- */

.section-head { position: relative; margin-bottom: 48px; max-width: 780px; }
.section-head--center { margin-inline: auto; text-align: center; }

/* The violet corner bracket from the product briefs. The briefs use it once, on
   a single callout - not in front of every heading - so it is opt-in here. */
.bracket::before {
	content: "";
	display: block;
	width: 38px; height: 38px;
	margin-bottom: 20px;
	border-top: 12px solid var(--violet);
	border-left: 12px solid var(--violet);
	border-top-left-radius: 3px;
}

.section-head__title { margin-bottom: .35em; }
.section-head__lead { color: var(--muted); font-size: 1.06rem; }
.section-head__lead p:last-child { margin-bottom: 0; }
.section-head--center .section-head__lead { margin-inline: auto; max-width: 68ch; }

.eyebrow {
	margin: 0 0 14px;
	font-family: var(--display);
	font-size: .76rem;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--green-700);
}
.eyebrow--light { color: var(--green); }

.prose { color: var(--body); }
.prose > :last-child { margin-bottom: 0; }
.prose h2, .prose h3 { margin-top: 1.6em; }
.prose--lg { font-size: 1.13rem; }
.prose--light { color: rgba(255, 255, 255, .78); }
.prose--light strong { color: #fff; }
.prose a { font-weight: 500; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: .5em; }
.prose ul li::before {
	content: ""; position: absolute; left: 4px; top: .62em;
	width: 8px; height: 8px; border-radius: 2px;
	background: var(--ramp);
}
.prose--light ul li::before { background: var(--green); }

.empty-state { color: var(--muted); }

/* ---------- Buttons ---------- */

.btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 26px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-family: var(--display);
	font-size: .93rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: transform var(--speed) var(--ease), background-color var(--speed) var(--ease), border-color var(--speed) var(--ease), color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
	background: linear-gradient(120deg, var(--green) 0%, #14d7b0 100%);
	color: var(--indigo-900);
	box-shadow: 0 6px 18px rgba(0, 227, 154, .22);
}
.btn--primary:hover {
	color: var(--indigo-900);
	box-shadow: 0 12px 30px rgba(0, 227, 154, .36);
}

.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--violet); color: var(--violet-600); background: var(--violet-soft); }

.btn--on-dark { border-color: rgba(255, 255, 255, .3); color: #fff; background: rgba(255, 255, 255, .04); }
.btn--on-dark:hover { border-color: var(--violet-300); color: #fff; background: rgba(167, 139, 250, .18); }

.btn--sm { padding: 9px 18px; font-size: .85rem; }
.btn--lg { padding: 16px 32px; font-size: 1rem; }

.link-arrow {
	display: inline-flex; align-items: center; gap: 6px;
	font-family: var(--display);
	font-weight: 600; text-decoration: none;
	color: var(--violet-600);
}
.link-arrow::after { content: "\203A"; font-size: 1.3em; line-height: 1; transition: transform var(--speed) var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Chips: the briefs' pattern for anything enumerable ---------- */

.chip,
.hero__pill,
.chain-list__item,
.logo-strip__item,
.single__terms a {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 11px 20px;
	border: 1px solid var(--line-strong);
	border-radius: 10px;
	background: #fff;
	font-family: var(--display);
	font-size: .88rem; font-weight: 500; letter-spacing: .01em;
	color: var(--ink); text-decoration: none;
	transition: border-color var(--speed) var(--ease), transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.chain-list__item:hover,
.logo-strip__item:hover,
.single__terms a:hover {
	border-color: var(--violet-300);
	transform: translateY(-2px);
	box-shadow: var(--shadow-sm);
	color: var(--ink);
}

.chip--dark, .hero__pill {
	background: rgba(255, 255, 255, .05);
	border-color: rgba(167, 139, 250, .38);
	color: rgba(255, 255, 255, .92);
}

/* ---------- Notice bar ---------- */

.notice-bar {
	background: linear-gradient(90deg, var(--indigo-800), var(--indigo-700));
	color: #fff; font-size: .875rem;
}
.notice-bar__inner { display: flex; gap: 16px; align-items: center; justify-content: center; padding-block: 10px; flex-wrap: wrap; }
.notice-bar__text { margin: 0; }
.notice-bar__link { color: var(--green); font-family: var(--display); font-weight: 600; text-decoration: none; }

/* ---------- Header ---------- */

.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, .9);
	backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid var(--line);
	transition: box-shadow var(--speed) var(--ease);
}
.site-header.is-stuck { box-shadow: 0 8px 26px rgba(22, 17, 58, .07); }

.site-header__inner {
	display: flex; align-items: center; gap: 24px;
	min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand__logo { max-height: 34px; width: auto; }
.brand__text { font-family: var(--display); font-size: 1.4rem; font-weight: 700; letter-spacing: -.03em; color: var(--ink); }
.brand__text-accent { color: var(--green-600); }

.site-header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

/* Nav */

.site-nav { margin-left: 12px; }
.nav { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav__item { position: relative; }

.nav__link {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 10px 13px;
	color: var(--ink);
	font-family: var(--display);
	font-size: .92rem; font-weight: 500;
	text-decoration: none;
	border-radius: var(--radius-sm);
	transition: color var(--speed) var(--ease), background-color var(--speed) var(--ease);
}
.nav__link:hover, .nav__item.is-current > .nav__link { color: var(--violet-600); background: var(--violet-soft); }

/* A menu item must never break across two lines: "Work with Us" wrapping is
   what makes a narrow window look broken rather than merely tight. */
.nav__link,
.site-header__actions .btn { white-space: nowrap; }

.nav__toggle {
	position: absolute; top: 50%; right: -4px; transform: translateY(-50%);
	display: inline-flex; align-items: center; justify-content: center;
	width: 26px; height: 26px; padding: 0;
	background: none; border: 0; color: var(--muted); cursor: pointer;
}
.nav__chevron { transition: transform var(--speed) var(--ease); }
.nav__item--parent > .nav__link { padding-right: 26px; }
.nav__toggle[aria-expanded="true"] .nav__chevron { transform: rotate(180deg); }

.nav__panel {
	position: absolute; top: calc(100% + 10px); left: 0; z-index: 20;
	min-width: 290px;
	padding: 13px 10px 10px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	opacity: 0; visibility: hidden;
	transform: translateY(-6px);
	transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease), visibility var(--speed);
	overflow: hidden;
}
.nav__panel::before {
	content: ""; position: absolute; inset: 0 0 auto; height: 3px;
	background: var(--ramp);
}
.nav__item--parent:hover > .nav__panel,
.nav__item--parent:focus-within > .nav__panel,
.nav__item--parent.is-open > .nav__panel {
	opacity: 1; visibility: visible; transform: translateY(0);
}

.nav__sub { margin: 0; padding: 0; list-style: none; }
.nav__sublink {
	display: block; padding: 10px 12px;
	border-radius: var(--radius-sm);
	color: var(--ink); text-decoration: none;
	font-size: .93rem; font-weight: 500;
	transition: background-color var(--speed) var(--ease);
}
.nav__sublink:hover { background: var(--bg-alt); color: var(--violet-600); }
.nav__desc { display: block; margin-top: 2px; font-size: .8rem; font-weight: 400; color: var(--muted); }
.nav__empty { margin: 0; font-size: .85rem; color: var(--muted); }

.lang-switch { display: inline-flex; gap: 2px; padding: 3px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; }
.lang-switch__item {
	padding: 5px 10px; border-radius: 999px;
	font-family: var(--display);
	font-size: .76rem; font-weight: 600; letter-spacing: .04em;
	color: var(--muted); text-decoration: none;
}
.lang-switch__item.is-active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }

/* Burger */

.burger {
	display: none;
	width: 42px; height: 42px; padding: 0;
	background: none; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
	cursor: pointer;
}
.burger__box { position: relative; display: block; width: 18px; height: 12px; margin: 0 auto; }
.burger__line, .burger__line::before, .burger__line::after {
	position: absolute; left: 0; width: 18px; height: 2px;
	background: var(--ink); border-radius: 2px;
	transition: transform var(--speed) var(--ease), opacity var(--speed) var(--ease), top var(--speed) var(--ease);
}
.burger__line { top: 5px; }
.burger__line::before { content: ""; top: -5px; }
.burger__line::after { content: ""; top: 5px; }
.burger[aria-expanded="true"] .burger__line { background: transparent; }
.burger[aria-expanded="true"] .burger__line::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__line::after { top: 0; transform: rotate(-45deg); }

/* Between the widest the menu can be squeezed and the point where it is handed
   over to the burger, the header buys back the ~60px it is short of: tighter
   gaps and slimmer items. The row stays on one line down to 1080px. */
@media (min-width: 1081px) and (max-width: 1260px) {
	.site-header__inner { gap: 14px; }
	.site-nav { margin-left: 0; }
	.nav__link { padding-inline: 9px; font-size: .88rem; }
	.nav__item--parent > .nav__link { padding-right: 22px; }
	.nav__toggle { right: -6px; width: 22px; }
	.site-header__actions { gap: 8px; }
	.site-header__actions .btn { padding-inline: 16px; }
}

/* Below this the row cannot hold the five items plus both buttons, so the
   burger takes over - the panel it opens has room for all of them. */
@media (max-width: 1080px) {
	.burger { display: inline-flex; align-items: center; justify-content: center; }

	/* Panel stays inside the viewport: a fixed element translated sideways
	   makes the whole document scroll horizontally on mobile. */
	/* The header carries a backdrop-filter, which makes it the containing block
	   for this fixed panel - so "bottom: 0" resolved against the 64px header and
	   the menu opened as a 60px sliver. The height is therefore stated outright;
	   viewport units are unaffected by the containing block, so this is right
	   whether or not the browser applies the filter. */
	.site-nav {
		position: fixed; inset: var(--header-h) 0 auto; z-index: 90;
		height: calc(100vh - var(--header-h));
		height: calc(100dvh - var(--header-h));
		margin: 0; padding: 20px var(--gutter) 40px;
		background: #fff;
		overflow-y: auto;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-10px);
		transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease), visibility var(--speed);
	}
	.site-nav.is-open { opacity: 1; visibility: visible; transform: none; }

	.nav { flex-direction: column; align-items: stretch; gap: 0; }
	.nav__item { border-bottom: 1px solid var(--line); }
	.nav__link { padding: 15px 4px; font-size: 1.05rem; border-radius: 0; }
	.nav__toggle { right: 0; width: 44px; height: 44px; }

	.nav__panel {
		position: static; min-width: 0; padding: 0 0 10px 12px;
		border: 0; border-radius: 0; box-shadow: none;
		opacity: 1; visibility: visible; transform: none;
		display: none;
	}
	.nav__panel::before { display: none; }
	.nav__item--parent.is-open > .nav__panel { display: block; }
	.nav__item--parent:hover > .nav__panel { display: none; }
	.nav__item--parent.is-open:hover > .nav__panel { display: block; }

	body.nav-open { overflow: hidden; }
}

@media (max-width: 560px) {
	.site-header__actions .btn { display: none; }
	.lang-switch { display: none; }
}

/* ---------- Dark bands, shared by hero / stablecoins / CTA / footer ---------- */

.hero,
.section--stablecoins,
.section--timeline,
.cta-band,
.site-footer {
	position: relative;
	color: rgba(255, 255, 255, .8);
	background-color: var(--indigo-900);
	background-image:
		radial-gradient(90% 120% at 8% -10%, rgba(108, 75, 246, .55) 0%, transparent 58%),
		radial-gradient(70% 100% at 96% 8%, rgba(46, 199, 212, .20) 0%, transparent 60%),
		linear-gradient(160deg, var(--indigo-700) 0%, var(--indigo-800) 42%, var(--indigo-900) 100%);
	isolation: isolate;
	overflow: hidden;
}
.hero::before,
.section--stablecoins::before,
.section--timeline::before,
.cta-band::before,
.site-footer::before {
	content: "";
	position: absolute; inset: 0; z-index: -1;
	background-image: var(--stars);
	background-size: 260px 260px;
	opacity: .6;
	pointer-events: none;
}
.hero h1, .hero h2, .hero h3,
.section--stablecoins h1, .section--stablecoins h2, .section--stablecoins h3,
.section--timeline h1, .section--timeline h2, .section--timeline h3,
.cta-band h1, .cta-band h2, .cta-band h3,
.site-footer h1, .site-footer h2, .site-footer h3 { color: #fff; }

.section--stablecoins .eyebrow,
.section--timeline .eyebrow { color: var(--green); }

/* ---------- Licence timeline ---------- */

/* Dates run down a rail, each marked with a node. The dates sit in their own
   column on a wide screen and above the text on a phone, so the sequence stays
   readable either way. */
.timeline {
	position: relative;
	margin: 0; padding: 0 0 0 0;
	list-style: none;
}
.timeline__item {
	position: relative;
	display: grid;
	grid-template-columns: 180px minmax(0, 1fr);
	gap: 0 36px;
	padding: 0 0 38px 0;
}
.timeline__item:last-child { padding-bottom: 0; }

/* The rail itself, drawn between the nodes rather than through them. */
.timeline__item::before {
	content: "";
	position: absolute;
	left: 186px; top: 14px; bottom: -8px;
	width: 2px;
	background: linear-gradient(180deg, rgba(167, 139, 250, .55), rgba(167, 139, 250, .12));
}
.timeline__item:last-child::before { display: none; }

.timeline__date {
	position: relative;
	margin: 0;
	padding-right: 30px;
	text-align: right;
	font-family: var(--display);
	font-size: .92rem; font-weight: 600;
	letter-spacing: .04em;
	color: var(--green);
	white-space: nowrap;
}
.timeline__date::after {
	content: "";
	position: absolute; right: -7px; top: 7px;
	width: 14px; height: 14px;
	background: var(--indigo-900);
	border: 3px solid var(--green);
	border-radius: 50%;
	box-shadow: 0 0 0 5px rgba(0, 227, 154, .14);
}
.timeline__body { padding-top: 0; }
.timeline__title { margin-bottom: .4em; font-size: 1.14rem; }
.timeline__text { margin: 0; color: rgba(255, 255, 255, .78); max-width: 68ch; }

@media (max-width: 760px) {
	.timeline__item {
		grid-template-columns: 1fr;
		gap: 10px;
		padding: 0 0 32px 26px;
	}
	.timeline__item::before { left: 5px; top: 20px; bottom: -4px; }
	.timeline__date { padding-right: 0; text-align: left; white-space: normal; }
	.timeline__date::after { right: auto; left: -26px; top: 4px; }
}

/* ---------- Hero (front page) ---------- */

.hero { padding-block: clamp(78px, 9.5vw, 158px); }

/* The green bloom that anchors the composition, echoing the brief covers. */
.hero::after {
	content: "";
	position: absolute; inset: auto -12% -60% 38%;
	height: 78%; z-index: -1;
	background: radial-gradient(closest-side, rgba(0, 227, 154, .32), transparent 70%);
	filter: blur(14px);
	pointer-events: none;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg-image { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.hero--media { background-image: none; }
.hero--media::after {
	inset: 0; height: auto;
	background: linear-gradient(120deg, rgba(20, 10, 53, .93) 0%, rgba(43, 26, 109, .74) 55%, rgba(20, 10, 53, .92) 100%);
	filter: none;
}

.hero__inner { position: relative; max-width: 880px; }
.hero__title { color: #fff; margin-bottom: .3em; }
.hero__lead { max-width: 640px; font-size: clamp(1.05rem, .98rem + .45vw, 1.28rem); color: rgba(255, 255, 255, .82); }

.hero__pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 0; padding: 0; list-style: none; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
	position: relative;
	padding-block: clamp(44px, 4.4vw, 80px) clamp(36px, 3.4vw, 62px);
	background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
	border-bottom: 1px solid var(--line);
	overflow: hidden;
}
.page-hero::before {
	content: "";
	position: absolute; inset: 0;
	background-image: var(--dots);
	background-size: 28px 28px;
	-webkit-mask-image: radial-gradient(72% 92% at 10% 0%, #000, transparent 74%);
	mask-image: radial-gradient(72% 92% at 10% 0%, #000, transparent 74%);
	pointer-events: none;
}
/* A soft violet edge light on the right, so inner pages are never flat. */
.page-hero::after {
	content: "";
	position: absolute; inset: -40% -20% auto 52%;
	height: 120%;
	background: radial-gradient(closest-side, rgba(108, 75, 246, .17), transparent 70%);
	pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 1; }

.page-hero__grid { display: grid; gap: 44px; align-items: center; }
.page-hero--split .page-hero__grid { grid-template-columns: 1.1fr .9fr; }
@media (max-width: 860px) {
	.page-hero--split .page-hero__grid { grid-template-columns: 1fr; }
}

.page-hero__title { margin-bottom: .3em; }
.page-hero__lead { font-size: 1.1rem; color: var(--muted); max-width: 62ch; }
.page-hero__lead p:last-child { margin-bottom: 0; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.page-hero__image { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.page-hero--compact { padding-block: clamp(36px, 3.6vw, 64px) clamp(28px, 2.8vw, 48px); }

/* ---------- Breadcrumb ---------- */

.breadcrumb { margin-bottom: 24px; font-size: .82rem; }
.breadcrumb__list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; color: var(--muted); }
.breadcrumb__item + .breadcrumb__item::before { content: "\203A"; margin-right: 6px; color: var(--violet-300); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--violet-600); }

/* ---------- Stats ---------- */

.stats { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.stats--row { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.stats--inline { grid-auto-flow: column; grid-auto-columns: max-content; gap: 36px; margin-top: 26px; }

.stats__item {
	position: relative;
	padding: 26px 24px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
	transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.stats__item::before {
	content: "";
	position: absolute; inset: 0 auto 0 0; width: 4px;
	background: var(--ramp);
}
.stats__item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.stats--inline .stats__item { padding: 0 0 0 16px; border: 0; background: none; box-shadow: none; }
.stats--inline .stats__item::before { width: 3px; border-radius: 3px; }
.stats--inline .stats__item:hover { transform: none; box-shadow: none; }

.stats__value {
	display: block;
	font-family: var(--display);
	font-size: clamp(1.7rem, 1.2rem + 1.5vw, 2.4rem);
	font-weight: 700; letter-spacing: -.03em; line-height: 1.1;
	background: linear-gradient(120deg, var(--ink) 0%, var(--violet-600) 100%);
	-webkit-background-clip: text; background-clip: text;
	color: transparent;
}
.stats__label { display: block; margin-top: 8px; font-size: .88rem; color: var(--muted); }

/* ---------- Regulation split ---------- */

.regulation__grid { display: grid; gap: 52px; grid-template-columns: 1.25fr .75fr; align-items: start; }
@media (max-width: 900px) { .regulation__grid { grid-template-columns: 1fr; } }
.section--regulation { background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%); }

/* ---------- Cards ---------- */

.card-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card-grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); gap: 26px 32px; }
@media (max-width: 980px) { .card-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .card-grid--3 { grid-template-columns: 1fr; } }

/* Explicit column counts for the editable 'Content sections' blocks, where the
   editor picks how many cards sit in a row. */
.card-grid--cols-2 { grid-template-columns: repeat(2, 1fr); gap: 26px 32px; }
.card-grid--cols-3 { grid-template-columns: repeat(3, 1fr); gap: 26px 32px; }
.card-grid--cols-4 { grid-template-columns: repeat(4, 1fr); gap: 24px 26px; }
@media (max-width: 1080px) { .card-grid--cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 980px) { .card-grid--cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) {
	.card-grid--cols-2,
	.card-grid--cols-3,
	.card-grid--cols-4 { grid-template-columns: 1fr; }
}

/* Prose inside a content section: keeps a comfortable measure and clears the
   card grid underneath it. */
.section--blocks .block-body { max-width: 70ch; }
.section--blocks .block-body + .card-grid { margin-top: 40px; }

.card {
	position: relative;
	display: flex; flex-direction: column;
	padding: 30px 28px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
	transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease), border-color var(--speed) var(--ease);
}
/* The accent hairline that lights up on hover. */
.card::before {
	content: "";
	position: absolute; inset: 0 0 auto; height: 3px;
	background: var(--ramp);
	transform: scaleX(0); transform-origin: left;
	transition: transform .45s var(--ease);
}
.card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-violet);
	border-color: var(--violet-300);
}
.card:hover::before { transform: scaleX(1); }

/* The "why us" triad from the briefs: no box, but a brand marker so a row of
   them reads as a set rather than as loose paragraphs. */
.card--plain {
	background: transparent;
	border: 0;
	border-top: 1px solid var(--line);
	border-radius: 0;
	box-shadow: none;
	padding: 24px 0 8px;
	overflow: visible;
}
.card--plain::before {
	position: static;
	display: block;
	width: 34px; height: 4px;
	margin-bottom: 18px;
	background: var(--ramp);
	border: 0;
	border-radius: 2px;
	transform: none;
}
.card--plain:hover { transform: none; box-shadow: none; border-color: var(--line); }
.card--plain:hover::before { transform: none; }
.card--plain .card__title { font-size: 1.08rem; }
/* An uploaded icon replaces the marker rather than stacking under it. */
.card--plain:has(.card__icon)::before { display: none; }

.card--outline { background: transparent; }

/* Icon slot. Without an uploaded icon the card still gets a brand-coloured
   marker, so a half-filled grid never looks broken. */
.card__icon {
	display: flex; align-items: center; justify-content: center;
	width: 52px; height: 52px; margin-bottom: 20px;
	background: linear-gradient(135deg, var(--green-soft), var(--violet-soft));
	border: 1px solid var(--line);
	border-radius: 13px;
	padding: 10px;
}
.card__icon img { width: 100%; height: 100%; object-fit: contain; }
.card--plain .card__icon { border-color: var(--line-strong); }

.card__title { margin-bottom: .45em; font-size: 1.18rem; }
.card__title a { color: inherit; text-decoration: none; }
.card__title a:hover { color: var(--violet-600); }
.card__text { margin: 0; font-size: .96rem; color: var(--muted); }

/* Status chip beside a card title - "In preparation" on a product that is not
   live yet, so the card never over-promises. */
.card__badge {
	display: inline-block;
	margin-left: 10px;
	padding: 3px 10px;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	background: var(--violet-soft);
	font-family: var(--font);
	font-size: .68rem; font-weight: 600;
	letter-spacing: .08em; text-transform: uppercase;
	color: var(--violet-600);
	vertical-align: middle;
	white-space: nowrap;
}
.card__more {
	display: inline-flex; align-items: center; gap: 6px;
	margin-top: auto; padding-top: 18px;
	font-family: var(--display);
	font-size: .88rem; font-weight: 600; color: var(--violet-600);
}
.card__more::after { content: "\203A"; font-size: 1.3em; line-height: 1; transition: transform var(--speed) var(--ease); }
.card:hover .card__more::after { transform: translateX(4px); }

/* A card that stands for another page: the title carries the link, but the whole
   card is the target, so "Learn more" is part of the same control. */
.card--link .card__anchor::after { content: ""; position: absolute; inset: 0; }
.card--link:focus-within { border-color: var(--violet-300); }

/* A card carrying a specification is a product card: the logo is the subject,
   not a small decorative marker, so it drops the icon chrome and grows. */
.card:has(.spec) .card__icon {
	width: 76px; height: 76px;
	padding: 0;
	background: none;
	border: 0;
	border-radius: 0;
}

/* Label/value rows under a card description - the token spec table. */
.spec { margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line); }
.spec__row {
	display: grid; grid-template-columns: minmax(88px, 34%) 1fr; gap: 8px 16px;
	padding: 9px 0;
	border-bottom: 1px solid var(--line);
	font-size: .92rem;
}
.spec__row:last-child { border-bottom: 0; }
.spec__label { margin: 0; font-family: var(--display); font-weight: 600; color: var(--ink); }
.spec__value { margin: 0; color: var(--muted); }
@media (max-width: 480px) {
	.spec__row { grid-template-columns: 1fr; gap: 2px; padding: 10px 0; }
}

/* The "Why StaBillon" row on the home page: short reasons, five across on a
   wide screen, folding down rather than stretching. */
.card-grid--why { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 24px 28px; }
.section--why { background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.section--why .card--plain { border-top-color: var(--line-strong); }

/* Syntax highlighting. The guide arrives with the source's highlight classes
   already on the spans, so the palette is all that is needed - no JS. Lines are
   never wrapped: a broken curl command is worse than a sideways scroll. */
.code-block__pre code { white-space: pre; }
.code-block__pre .st,
.code-block__pre .ss,
.code-block__pre .vs { color: #8ef0c6; }                      /* strings */
.code-block__pre .dv,
.code-block__pre .sc { color: #ffc98b; }                      /* numbers, escapes */
.code-block__pre .fu,
.code-block__pre .bu,
.code-block__pre .ex { color: #8fd8ff; }                      /* functions, commands */
.code-block__pre .kw,
.code-block__pre .cf,
.code-block__pre .im,
.code-block__pre .pp { color: #c3a6ff; font-weight: 600; }    /* keywords */
.code-block__pre .dt,
.code-block__pre .at,
.code-block__pre .ot { color: #9fe8ff; }                      /* keys, attributes */
.code-block__pre .op { color: #b3a9d6; }                      /* operators */
.code-block__pre .co { color: #8b84ad; font-style: italic; }  /* comments */

/* ---------- Corporate Account API page ---------- */

.section__actions--left { justify-content: flex-start; margin-top: 28px; }

/* The four-step integration flow. Chevrons on a wide screen, a plain numbered
   column on a phone. */
.apiflow {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	margin: 0; padding: 0;
	list-style: none;
	counter-reset: none;
}
.apiflow__step {
	position: relative;
	padding: 26px 24px;
	background: #fff;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
}
.apiflow__step + .apiflow__step::before {
	content: "\203A";
	position: absolute; left: -16px; top: 50%;
	transform: translateY(-50%);
	font-size: 1.5rem; line-height: 1;
	color: var(--violet-300);
}
.apiflow__index {
	display: block;
	margin-bottom: 10px;
	font-family: var(--mono);
	font-size: .82rem; font-weight: 600;
	letter-spacing: .1em;
	color: var(--green-700);
}
.apiflow__title { margin-bottom: .4em; font-size: 1.08rem; }
.apiflow__text { margin: 0; font-size: .94rem; color: var(--muted); }
.apiflow__notes { margin-top: 32px; }

@media (max-width: 1080px) {
	.apiflow { grid-template-columns: repeat(2, 1fr); }
	.apiflow__step:nth-child(odd)::before { content: none; }
}
@media (max-width: 620px) {
	.apiflow { grid-template-columns: 1fr; gap: 14px; }
	.apiflow__step + .apiflow__step::before {
		content: "\2304";
		left: 50%; top: -14px;
		transform: translateX(-50%);
	}
	.apiflow__step:nth-child(odd)::before { content: "\2304"; }
	.apiflow__step:first-child::before { content: none; }
}

/* Reference tables. A spec table is wider than a phone, so it scrolls inside
   its own box instead of pushing the page sideways. */
.tablewrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin-bottom: 1.4em;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
}
.api-table {
	width: 100%;
	min-width: 640px;
	border-collapse: collapse;
	font-size: .93rem;
}
.api-table th,
.api-table td {
	padding: 12px 16px;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid var(--line);
}
.api-table thead th {
	position: sticky; top: 0;
	background: var(--bg-alt);
	font-family: var(--display);
	font-size: .78rem; font-weight: 600;
	letter-spacing: .08em; text-transform: uppercase;
	color: var(--ink);
	white-space: nowrap;
}
.api-table tbody tr:last-child td { border-bottom: 0; }
.api-table code {
	font-family: var(--mono);
	font-size: .88em;
	color: var(--ink);
	overflow-wrap: anywhere;
}
.api-table--endpoints { min-width: 720px; }
.api-table__method { white-space: nowrap; }

/* HTTP verb chips, in the endpoint table and inside the guide. */
.badge {
	display: inline-block;
	margin-right: 4px;
	padding: 3px 9px;
	border-radius: 999px;
	font-family: var(--mono);
	font-size: .7rem; font-weight: 700;
	letter-spacing: .06em;
	background: var(--violet-soft);
	color: var(--violet-600);
}
.badge--get, .badge.get { background: rgba(0, 227, 154, .16); color: var(--green-700); }
.badge--post, .badge.post { background: rgba(108, 75, 246, .12); color: var(--violet-600); }

/* The endpoint call-out the guide prints above each example. */
.endpoint {
	display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
	margin-bottom: 1.1em;
	padding: 12px 16px;
	background: var(--bg-alt);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}
.endpoint code { font-family: var(--mono); font-size: .92rem; color: var(--ink); overflow-wrap: anywhere; }

/* ---------- Integration guide ---------- */

.section--guide { background: var(--bg-alt); border-top: 1px solid var(--line); }
.api-guide { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: start; }
.api-guide__updated { margin: -32px 0 40px; font-size: .9rem; color: var(--muted); }
.api-guide__lead { font-size: 1.06rem; color: var(--body); }
.api-guide__body { min-width: 0; }

.api-toc { position: sticky; top: calc(var(--header-h) + 24px); }
.api-toc__box { border: 0; }
.api-toc__title {
	margin-bottom: 14px;
	font-family: var(--display);
	font-size: .78rem; font-weight: 600;
	letter-spacing: .12em; text-transform: uppercase;
	color: var(--green-700);
	list-style: none;
	cursor: default;
}
.api-toc__title::-webkit-details-marker { display: none; }
.api-toc__list {
	margin: 0; padding: 0 0 0 14px;
	list-style: none;
	border-left: 2px solid var(--line-strong);
	max-height: calc(100vh - var(--header-h) - 80px);
	overflow-y: auto;
}
.api-toc__item { margin-bottom: 9px; font-size: .9rem; line-height: 1.35; }
.api-toc__item--child { padding-left: 14px; font-size: .86rem; }
.api-toc__item a { color: var(--body); text-decoration: none; }
.api-toc__item a:hover { color: var(--violet-600); }
.api-toc__item a.is-current { color: var(--violet-600); font-weight: 600; }

/* Guide body: the source's own heading levels, one step down. */
.api-guide__body h3 { margin-top: 2em; font-size: clamp(1.35rem, 1.1rem + .8vw, 1.8rem); scroll-margin-top: calc(var(--header-h) + 20px); }
.api-guide__body h4 { margin-top: 1.8em; font-size: 1.22rem; scroll-margin-top: calc(var(--header-h) + 20px); }
.api-guide__body h5 { margin-top: 1.6em; font-size: 1.02rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; scroll-margin-top: calc(var(--header-h) + 20px); }
.api-guide__body > :first-child { margin-top: 0; }
.api-guide__body p, .api-guide__body li { color: var(--body); }
.api-guide__body :not(pre) > code {
	padding: 2px 6px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 5px;
	font-family: var(--mono);
	font-size: .88em;
	overflow-wrap: anywhere;
}
.api-guide__body .code-block { margin-bottom: 1.4em; }
.api-guide__body .tablewrap { background: #fff; }

.glossary { margin-bottom: 2.4em; }
.glossary__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin: 0; }
.glossary__item {
	padding: 18px 20px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
}
.glossary__term { font-family: var(--mono); font-size: .92rem; font-weight: 600; color: var(--ink); }
.glossary__def { margin: 6px 0 0; font-size: .92rem; color: var(--muted); }

@media (max-width: 1080px) {
	.api-guide { grid-template-columns: 1fr; gap: 28px; }
	.api-toc { position: static; }
	.api-toc__box {
		padding: 16px 18px;
		background: #fff;
		border: 1px solid var(--line);
		border-radius: var(--radius);
	}
	.api-toc__title { margin-bottom: 0; cursor: pointer; }
	.api-toc__box[open] .api-toc__title { margin-bottom: 14px; }
	.api-toc__list { max-height: none; }
}

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

/* Money movement as the briefs draw it: bordered chips joined by chevrons. It
   is text, not an image, so it translates and reflows on a phone. */
.section--flow { background: var(--bg-alt); border-block: 1px solid var(--line); }
.flow { display: grid; gap: 34px; }
.flow__row { display: grid; gap: 12px; }
.flow__label {
	margin: 0;
	font-family: var(--display);
	font-size: .8rem; font-weight: 600;
	letter-spacing: .12em; text-transform: uppercase;
	color: var(--green-700);
}
.flow__steps {
	display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px;
	margin: 0; padding: 0; list-style: none;
	counter-reset: none;
}
.flow__step {
	position: relative;
	display: flex; align-items: center;
	flex: 1 1 150px;
	min-height: 62px;
	padding: 14px 18px;
	background: #fff;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	font-family: var(--display);
	font-size: .95rem; font-weight: 600;
	color: var(--ink);
	box-shadow: var(--shadow-sm);
}
/* The chevron sits between chips and disappears when a row wraps to one column. */
.flow__step + .flow__step::before {
	content: "\203A";
	position: absolute; left: -14px; top: 50%;
	transform: translateY(-50%);
	font-size: 1.35rem; line-height: 1;
	color: var(--violet-300);
}
/* Alternatives rather than stages: same chips, no chevrons implying order. */
.flow__steps--set .flow__step + .flow__step::before { content: none; }
.flow__steps--set .flow__step { flex: 0 1 auto; min-height: 0; padding: 11px 18px; }

.flow__step.is-highlight {
	background: linear-gradient(135deg, var(--green-soft), var(--violet-soft));
	border-color: var(--violet-300);
	color: var(--ink);
}
.flow__note { margin: 2px 0 0; font-size: .92rem; color: var(--muted); }

@media (max-width: 720px) {
	.flow__steps { flex-direction: column; gap: 8px; }
	.flow__step { flex: 1 1 auto; min-height: 0; }
	.flow__step + .flow__step::before {
		content: "\2304";
		left: 50%; top: -13px;
		transform: translateX(-50%);
	}
}

/* ---------- Split ---------- */

.split { display: grid; gap: 52px; grid-template-columns: 1fr 1fr; align-items: center; }
.split--single { grid-template-columns: 1fr; }
.split--flip .split__copy { order: 2; }
@media (max-width: 900px) {
	.split { grid-template-columns: 1fr; }
	.split--flip .split__copy { order: 0; }
}
.split__image { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.split__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.points { display: grid; gap: 0; margin: 30px 0 0; padding: 0; list-style: none; }
.points__item {
	display: flex; gap: 16px; align-items: baseline;
	padding: 13px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.points__item:first-child { border-top: 1px solid rgba(255, 255, 255, .1); }
.points__value { font-family: var(--display); color: var(--green); font-weight: 700; min-width: 82px; }
.points__label { color: rgba(255, 255, 255, .78); }

/* ---------- Chains and payment-scheme strips ---------- */

.chain-list,
.logo-strip {
	display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
	gap: 12px; margin: 0; padding: 0; list-style: none;
}
.chain-list__logo { width: 22px; height: 22px; object-fit: contain; }
.logo-strip__logo { max-height: 30px; width: auto; }
.logo-strip__name { font-family: var(--display); font-weight: 600; letter-spacing: .04em; }
.section--chains { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%); }

/* ---------- Use cases ---------- */

.usecases--single .usecases__tabs { display: none; }
.usecases__tabs {
	display: flex; flex-wrap: wrap; gap: 6px;
	margin-bottom: 34px;
	padding: 6px;
	background: var(--bg-alt);
	border: 1px solid var(--line);
	border-radius: 999px;
	width: fit-content;
	max-width: 100%;
}
.usecases__tab {
	padding: 10px 22px;
	background: none; border: 0; border-radius: 999px;
	font-family: var(--display); font-size: .9rem; font-weight: 600;
	color: var(--muted); cursor: pointer;
	transition: background-color var(--speed) var(--ease), color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.usecases__tab:hover { color: var(--ink); }
.usecases__tab.is-active {
	background: linear-gradient(120deg, var(--violet) 0%, var(--violet-600) 100%);
	color: #fff;
	box-shadow: 0 6px 16px rgba(108, 75, 246, .3);
}

.usecases__panel[hidden] { display: none; }
.usecases__panel { animation: stb-fade .35s var(--ease); }
.usecases__grid { display: grid; gap: 46px; grid-template-columns: 1fr 1fr; align-items: center; }
@media (max-width: 900px) { .usecases__grid { grid-template-columns: 1fr; } }
/* No image for this use case: one wide column beats half an empty row. */
.usecases__grid--single { grid-template-columns: 1fr; }
.usecases__grid--single .usecases__copy { max-width: 72ch; }
.usecases__title { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); }
.usecases__image { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }

@keyframes stb-fade {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: none; }
}

/* ---------- Developer layers ---------- */

.layers { display: grid; gap: 26px; }
.layer {
	position: relative;
	display: grid; gap: 38px; grid-template-columns: .85fr 1.15fr; align-items: center;
	padding: 34px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
	transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.layer::before {
	content: "";
	position: absolute; inset: 0 auto 0 0; width: 4px;
	background: var(--ramp);
}
.layer:hover { border-color: var(--violet-300); box-shadow: var(--shadow); }
@media (max-width: 900px) { .layer { grid-template-columns: 1fr; padding: 26px; } }
.layer__index {
	display: inline-block; margin: 0 0 12px;
	padding: 4px 12px;
	background: var(--violet-soft); border-radius: 999px;
	font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; color: var(--violet-600);
}
.layer__name { margin-bottom: .3em; font-size: 1.3rem; }
.layer__tagline { margin: 0 0 .6em; font-family: var(--display); font-weight: 600; color: var(--ink); }
.layer__text { color: var(--muted); font-size: .96rem; }

.code-block {
	background: var(--indigo-900);
	border: 1px solid rgba(167, 139, 250, .22);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
}
.code-block__bar {
	display: flex; align-items: center; justify-content: space-between;
	padding: 10px 14px;
	background: rgba(255, 255, 255, .04);
	border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.code-block__lang { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; color: var(--green); }
.code-block__copy {
	padding: 4px 12px;
	background: rgba(255, 255, 255, .08); border: 0; border-radius: 999px;
	font: inherit; font-size: .75rem; font-weight: 600; color: rgba(255, 255, 255, .8);
	cursor: pointer;
	transition: background-color var(--speed) var(--ease), color var(--speed) var(--ease);
}
.code-block__copy:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.code-block__copy.is-done { background: var(--green); color: var(--indigo-900); }
.code-block__pre {
	margin: 0; padding: 18px;
	overflow-x: auto;
	font-family: var(--mono); font-size: .82rem; line-height: 1.65;
	color: #ded6f6;
	tab-size: 2;
}

.steps { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 0; padding: 0; counter-reset: step; list-style: none; }
.steps__item {
	position: relative;
	padding: 28px 26px 26px;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.steps__item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.steps__item::before {
	counter-increment: step;
	content: counter(step);
	display: flex; align-items: center; justify-content: center;
	width: 34px; height: 34px; margin-bottom: 16px;
	background: linear-gradient(135deg, var(--cyan) 0%, var(--green) 100%);
	border-radius: 50%;
	font-family: var(--display); font-size: .9rem; font-weight: 700; color: var(--indigo-900);
}
.steps__title { font-size: 1.05rem; margin-bottom: .4em; }
.steps__text { margin: 0; font-size: .93rem; color: var(--muted); }

/* ---------- Contact routes ---------- */

.routes__switch {
	display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
	margin-bottom: 38px;
}
.routes__btn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 16px 28px;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	font-family: var(--display); font-size: .98rem; font-weight: 600; color: var(--ink);
	cursor: pointer;
	transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.routes__btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.routes__btn.is-active { border-color: var(--violet); box-shadow: 0 0 0 3px var(--violet-soft); }
.routes__icon { width: 24px; height: 24px; }
.routes__icon img { width: 100%; height: 100%; object-fit: contain; }

.routes__panel[hidden] { display: none; }
.routes__panel {
	position: relative;
	max-width: 720px; margin-inline: auto;
	padding: 36px;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
	animation: stb-fade .35s var(--ease);
}
.routes__panel::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--ramp); }
.routes__title { margin-bottom: .35em; }
.routes__text { color: var(--muted); }
.routes__form { margin-top: 24px; }

.form-card {
	position: relative;
	padding: 36px;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
}
.form-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--ramp); }

.notice-inline {
	padding: 14px 18px;
	background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-sm);
	font-size: .9rem; color: var(--muted);
}

.contact-list { display: grid; gap: 16px; margin: 28px 0 0; padding: 0; list-style: none; }
.contact-list__item { display: flex; flex-direction: column; padding-left: 16px; border-left: 3px solid var(--violet-300); }
.contact-list__label { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-list__value { font-family: var(--display); font-weight: 600; color: var(--ink); text-decoration: none; }
.contact-list__value:hover { color: var(--violet-600); }

.map { position: relative; aspect-ratio: 4 / 3; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.map iframe { width: 100%; height: 100%; border: 0; }
.map__load {
	position: absolute; inset: 0;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
	background: none; border: 0;
	font-family: var(--display); font-size: 1rem; font-weight: 600; color: var(--ink);
	cursor: pointer;
}
.map__note { font-family: var(--font); font-size: .8rem; font-weight: 400; color: var(--muted); }

/* ---------- Licences ---------- */

.licences { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.licence {
	position: relative;
	padding: 32px;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
	transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.licence::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--ramp); }
.licence:hover { transform: translateY(-4px); border-color: var(--violet-300); box-shadow: var(--shadow-violet); }
.licence__head { padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.licence__name { margin-bottom: .25em; font-size: 1.2rem; }
.licence__ref {
	display: inline-block; margin: 0;
	padding: 4px 12px; background: var(--violet-soft); border-radius: 999px;
	font-family: var(--mono); font-size: .8rem; color: var(--violet-600);
}
.licence__meta { margin: 0 0 18px; }
.licence__row { display: flex; gap: 10px; margin-bottom: 8px; font-size: .9rem; }
.licence__row dt { min-width: 96px; color: var(--muted); }
.licence__row dd { margin: 0; color: var(--ink); font-weight: 500; }
.licence__text { font-size: .94rem; color: var(--muted); }

.doc-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.doc-list__link {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 18px 22px;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	text-decoration: none; color: var(--ink);
	font-family: var(--display); font-weight: 600;
	transition: border-color var(--speed) var(--ease), transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.doc-list__link:hover { border-color: var(--violet); transform: translateX(4px); box-shadow: var(--shadow-sm); color: var(--ink); }
.doc-list__meta { font-family: var(--mono); font-size: .78rem; color: var(--muted); font-weight: 400; }

/* ---------- Awards ---------- */

.awards { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.awards__item {
	display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline; justify-content: space-between;
	padding: 20px 0 20px 20px;
	border-bottom: 1px solid var(--line);
	position: relative;
	transition: padding-left var(--speed) var(--ease);
}
.awards__item::before {
	content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
	width: 8px; height: 8px; border-radius: 2px; background: var(--ramp);
}
.awards__name { font-family: var(--display); font-weight: 600; color: var(--ink); }
.awards__meta { font-size: .88rem; color: var(--muted); }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__question {
	display: flex; align-items: center; justify-content: space-between; gap: 20px;
	padding: 22px 0;
	font-family: var(--display); font-size: 1.05rem; font-weight: 600; color: var(--ink);
	cursor: pointer; list-style: none;
	transition: color var(--speed) var(--ease);
}
.faq__question:hover { color: var(--violet-600); }
.faq__question::-webkit-details-marker { display: none; }
.faq__icon { flex: none; color: var(--violet); transition: transform var(--speed) var(--ease); }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__answer { padding-bottom: 24px; color: var(--body); }
.faq__answer > :last-child { margin-bottom: 0; }
/* Inline code in an answer - token contract addresses. A 42-character address
   has no break opportunity and would push a phone viewport sideways, cutting
   off the very string people copy. */
.faq__answer code {
	font-family: var(--mono);
	font-size: .88em;
	overflow-wrap: anywhere;
	word-break: break-all;
}
/* A question published ahead of its answer. */
.faq__pending { margin: 0; color: var(--muted); font-style: italic; }

/* ---------- News ---------- */

.news-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.news-card {
	position: relative;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease), border-color var(--speed) var(--ease);
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-violet); border-color: var(--violet-300); }
.news-card__link { display: block; color: inherit; text-decoration: none; height: 100%; }
.news-card__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-alt); }
.news-card__image { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.news-card:hover .news-card__image { transform: scale(1.04); }
.news-card__body { padding: 26px; }
.news-card__meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 10px; font-size: .78rem; color: var(--muted); }
.news-card__eyebrow { color: var(--green-700); font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.news-card__title { font-size: 1.12rem; margin-bottom: .4em; }
.news-card__excerpt { margin: 0; font-size: .93rem; color: var(--muted); }
.news-card__more { display: inline-block; margin-top: 16px; font-family: var(--display); font-size: .86rem; font-weight: 600; color: var(--violet-600); }

.single__meta { margin: 20px 0 0; font-size: .88rem; color: var(--muted); }
.single__sep { margin-inline: 8px; }
.single__media { margin: 34px 0 0; }
.single__image { width: 100%; border-radius: var(--radius-lg); }
.single__source { margin-top: 34px; font-size: .92rem; color: var(--muted); }
.single__terms { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.single__terms a { padding: 7px 16px; font-size: .82rem; }

.pagination { margin-top: 46px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 42px; height: 42px; padding: 0 12px;
	border: 1px solid var(--line); border-radius: var(--radius-sm);
	text-decoration: none; color: var(--ink);
	font-family: var(--display); font-weight: 500;
}
.pagination .page-numbers.current { background: var(--violet); border-color: var(--violet); color: #fff; }
.pagination .page-numbers:hover:not(.current) { border-color: var(--violet); color: var(--violet-600); }

/* ---------- Search form ---------- */

.search-form { display: flex; gap: 10px; margin: 28px 0; flex-wrap: wrap; }
.search-form__input {
	flex: 1 1 240px;
	padding: 13px 20px;
	border: 1px solid var(--line-strong); border-radius: 999px;
	font: inherit; color: var(--ink);
}
.search-form__input:focus { border-color: var(--violet); outline: none; box-shadow: 0 0 0 3px var(--violet-soft); }

/* ---------- CTA band ---------- */

.cta-band { padding-block: clamp(54px, 5.4vw, 92px); }
.cta-band__inner { position: relative; display: flex; flex-wrap: wrap; gap: 34px; align-items: center; justify-content: space-between; }
.cta-band__copy { max-width: 620px; }
.cta-band__copy::before {
	content: "";
	display: block; width: 34px; height: 34px; margin-bottom: 18px;
	border-top: 11px solid var(--violet-300); border-left: 11px solid var(--violet-300);
	border-top-left-radius: 3px;
}
.cta-band__title { color: #fff; margin-bottom: .3em; }
.cta-band__text { margin: 0; color: rgba(255, 255, 255, .78); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Newsletter ---------- */

.newsletter {
	position: relative;
	padding-block: clamp(44px, 4.4vw, 70px);
	background: var(--bg-alt);
	border-top: 1px solid var(--line);
	overflow: hidden;
}
.newsletter::before {
	content: "";
	position: absolute; inset: 0;
	background-image: var(--dots); background-size: 28px 28px;
	-webkit-mask-image: linear-gradient(90deg, #000, transparent 55%);
	mask-image: linear-gradient(90deg, #000, transparent 55%);
	pointer-events: none;
}
.newsletter__inner { position: relative; display: grid; gap: 34px; grid-template-columns: 1fr 1fr; align-items: center; }
@media (max-width: 860px) { .newsletter__inner { grid-template-columns: 1fr; } }
.newsletter__title { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.85rem); margin-bottom: .3em; }
.newsletter__text { margin: 0; color: var(--muted); }
.newsletter__form {
	padding: 26px;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
}

/* ---------- Footer ---------- */

.site-footer {
	padding-block: clamp(52px, 5.4vw, 84px) 32px;
	color: rgba(255, 255, 255, .68);
	font-size: .92rem;
}
.site-footer > .container { position: relative; z-index: 1; }
.site-footer__top { display: grid; gap: 52px; grid-template-columns: minmax(240px, 1fr) 2.4fr; }
@media (max-width: 900px) { .site-footer__top { grid-template-columns: 1fr; } }

.site-footer__logo { max-height: 34px; width: auto; }
.site-footer__tagline { margin: 18px 0 0; max-width: 34ch; }
.site-footer__address { margin: 24px 0 0; font-style: normal; line-height: 1.8; }
.site-footer__address strong { color: #fff; font-family: var(--display); }
.site-footer__ids { display: block; margin-top: 6px; font-size: .82rem; color: rgba(255, 255, 255, .5); }
.site-footer__emails { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.site-footer__emails a { color: var(--green); text-decoration: none; }
.site-footer__emails a:hover { color: #fff; }

.site-footer__menus { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.site-footer__col-title {
	margin: 0 0 16px; padding-left: 14px;
	position: relative;
	font-family: var(--display);
	font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
	color: rgba(255, 255, 255, .5); font-weight: 600;
}
.site-footer__col-title::before {
	content: ""; position: absolute; left: 0; top: .15em;
	width: 4px; height: 1em; border-radius: 2px; background: var(--violet-300);
}
.site-footer__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.site-footer__list a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.site-footer__list a:hover { color: var(--green); }

.site-footer__social { display: flex; flex-wrap: wrap; gap: 10px; margin: 46px 0 0; padding: 0; list-style: none; }
.site-footer__social a {
	display: inline-flex; padding: 8px 16px;
	border: 1px solid rgba(167, 139, 250, .35); border-radius: 10px;
	color: rgba(255, 255, 255, .8); text-decoration: none;
	font-family: var(--display); font-size: .85rem; font-weight: 500;
	transition: border-color var(--speed) var(--ease), color var(--speed) var(--ease);
}
.site-footer__social a:hover { color: #fff; border-color: var(--green); }

.site-footer__legal-note {
	margin-top: 38px; padding-top: 28px;
	border-top: 1px solid rgba(255, 255, 255, .1);
	font-size: .82rem; color: rgba(255, 255, 255, .5);
}

.site-footer__bottom {
	display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
	margin-top: 28px; padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, .1);
	font-size: .82rem;
}
.site-footer__copy { margin: 0; color: rgba(255, 255, 255, .5); }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 18px; margin: 0; padding: 0; list-style: none; }
.site-footer__legal a { color: rgba(255, 255, 255, .6); text-decoration: none; }
.site-footer__legal a:hover { color: #fff; }

/* ---------- Fluent Forms ---------- */

.fluentform .ff-el-input--label label { font-family: var(--display); font-size: .86rem; font-weight: 600; color: var(--ink); }
.fluentform .ff-el-form-control {
	padding: 12px 16px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-sm);
	font: inherit;
	color: var(--ink);
}
.fluentform .ff-el-form-control:focus {
	border-color: var(--violet);
	box-shadow: 0 0 0 3px var(--violet-soft);
	outline: none;
}
.fluentform .ff-btn-submit {
	padding: 13px 28px;
	background: linear-gradient(120deg, var(--green) 0%, #14d7b0 100%);
	border: 0; border-radius: 999px;
	font-family: var(--display); font-weight: 600; color: var(--indigo-900);
	cursor: pointer;
	box-shadow: 0 6px 18px rgba(0, 227, 154, .22);
	transition: box-shadow var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.fluentform .ff-btn-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0, 227, 154, .36); }
.newsletter .fluentform .ff-el-group { margin-bottom: 12px; }

/* ---------- Scroll-in animation ---------- */

[data-reveal] {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .6s var(--ease), transform .6s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
	[data-reveal] { opacity: 1; transform: none; }
}

/* A layer with no code sample yet must not leave half the card empty. */
.layer--no-code { grid-template-columns: 1fr; }
.layer--no-code .layer__copy { max-width: 68ch; }


/* ---------- Footer: map link and downloads (v1.8.0) ---------- */

.site-footer__map { color: inherit; text-decoration: none; border-bottom: 1px dashed rgba(255, 255, 255, .25); transition: color var(--speed) var(--ease), border-color var(--speed) var(--ease); }
.site-footer__map:hover { color: var(--green); border-color: var(--green); }
.site-footer__download { display: inline-flex; align-items: baseline; gap: 8px; }
.site-footer__download::before { content: "PDF"; flex: none; font-size: .62rem; letter-spacing: .08em; padding: 2px 6px; border: 1px solid rgba(167, 139, 250, .45); border-radius: 5px; color: var(--violet-300); font-family: var(--display); font-weight: 600; }
.prose a.map-link { white-space: nowrap; }

/* ---------- Cookie consent bar ---------- */

.consent {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
	background: var(--indigo-900); color: rgba(255, 255, 255, .8);
	border-top: 1px solid rgba(167, 139, 250, .3);
	box-shadow: 0 -12px 40px rgba(20, 10, 53, .35);
	transform: translateY(100%);
	transition: transform .35s var(--ease);
}
.consent.is-visible { transform: none; }
.consent__inner { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; padding-block: 18px; }
.consent__copy { flex: 1 1 420px; max-width: 760px; }
.consent__title { margin: 0 0 4px; font-family: var(--display); font-weight: 600; color: #fff; }
.consent__text { margin: 0; font-size: .9rem; line-height: 1.55; }
.consent__link { color: var(--green); text-decoration: underline; text-underline-offset: 3px; margin-left: 4px; }
.consent__link:hover { color: #fff; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 620px) {
	.consent__actions { width: 100%; }
	.consent__actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* ---------- Onboarding: eligibility check ---------- */

.section__note { margin: 28px 0 0; color: var(--muted); font-size: .95rem; }
.section__note .link-arrow { margin-left: 6px; color: var(--violet-600); font-weight: 600; text-decoration: none; }
.section__note .link-arrow::after { content: " \2197"; }
.section__note .link-arrow:hover { text-decoration: underline; }

.check { margin-top: 8px; }
.check__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; counter-reset: q; }
.check__item { counter-increment: q; }
.check__fieldset {
	position: relative; margin: 0; padding: 22px 24px 22px 64px;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
}
.check__fieldset::before {
	content: counter(q, decimal-leading-zero);
	position: absolute; left: 22px; top: 22px;
	font-family: var(--display); font-weight: 700; font-size: .9rem; color: var(--violet);
}
.check__question { float: left; width: 100%; margin: 0; padding: 0; font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.check__help, .check__options { clear: both; }
.check__help { margin: 6px 0 0; color: var(--muted); font-size: .9rem; }
.check__options { display: flex; gap: 10px; margin-top: 14px; }
.check__option { position: relative; }
.check__option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__option span {
	display: inline-flex; align-items: center; min-width: 84px; justify-content: center;
	padding: 9px 20px; border: 1px solid var(--line-strong); border-radius: 999px;
	font-family: var(--display); font-weight: 600; font-size: .9rem; color: var(--body);
	cursor: pointer; transition: all var(--speed) var(--ease);
}
.check__option input:focus-visible + span { box-shadow: 0 0 0 3px var(--violet-soft); border-color: var(--violet); }
.check__option input:checked + span { background: var(--indigo-900); border-color: var(--indigo-900); color: #fff; }
.check__option input[value="yes"]:checked + span { background: var(--green-700); border-color: var(--green-700); }
.check__actions { margin-top: 22px; }
.check__message { margin: 14px 0 0; color: #b4234a; font-weight: 600; }
.check__result { margin-top: 8px; padding: 30px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.check__result--ok { border-color: rgba(0, 196, 137, .45); }
.check__result--no { border-color: rgba(242, 104, 143, .45); }
.check__result-title { margin: 0 0 12px; font-size: 1.3rem; }
.check__form { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--line); }
@media (max-width: 620px) {
	.check__fieldset { padding: 18px 18px 18px 52px; }
	.check__fieldset::before { left: 16px; top: 19px; }
}

/* Flow row labels: darker green for 4.5:1 on the tinted band (Lighthouse). */
.flow__label { color: #0a6a4e; }

/* ---------- Tables in legal texts (the cookie list on /cookie-policy/) ---------- */
.prose table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.2em 0 1.8em;
	font-size: .94em;
	line-height: 1.5;
}
.prose th, .prose td {
	padding: .7em .8em;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}
.prose thead th {
	font-size: .78rem; font-weight: 600;
	letter-spacing: .08em; text-transform: uppercase;
	color: var(--ink);
	border-bottom: 2px solid var(--line-strong);
}
.prose tbody th[colspan] {
	font-weight: 600;
	color: var(--ink);
	background: var(--bg-alt);
}
.prose td code {
	font-family: var(--mono);
	font-size: .88em;
	color: var(--ink);
}
@media (min-width: 621px) {
	.prose td:first-child { white-space: nowrap; }
}
@media (max-width: 620px) {
	.prose table { font-size: .86em; }
	.prose th, .prose td { padding: .55em .45em; }
	.prose td code { overflow-wrap: anywhere; }
}
