/* ==========================================================================
   Operra theme
   ========================================================================== */

:root {
	--brand-50: #eef4ff;
	--brand-100: #dbe6fe;
	--brand-200: #bfd3fe;
	--brand-300: #93b4fd;
	--brand-400: #608bfa;
	--brand-500: #3b64f6;
	--brand-600: #2545eb;
	--brand-700: #1d34d8;
	--brand-800: #1e2caf;
	--brand-900: #1e2b8a;
	--sky: #38bdf8;

	--night: #060a1f;
	--night-2: #0b1130;
	--ink: #0f172a;
	--text: #334155;
	--muted: #64748b;
	--line: #e2e8f0;
	--surface: #ffffff;
	--canvas: #f6f8fc;

	--green: #10b981;
	--green-bg: #ecfdf5;
	--amber: #d97706;
	--amber-bg: #fffbeb;
	--red: #e11d48;
	--red-bg: #fff1f2;

	--font-sans: 'Instrument Sans', 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', ui-sans-serif, system-ui, -apple-system, sans-serif;
	--font-serif: 'Instrument Serif', Georgia, 'Noto Serif SC', serif;

	--radius: 18px;
	--radius-lg: 28px;
	--shadow-sm: 0 1px 2px rgb(15 23 42 / 0.06), 0 1px 3px rgb(15 23 42 / 0.08);
	--shadow: 0 10px 30px -12px rgb(15 23 42 / 0.25);
	--shadow-lg: 0 40px 80px -30px rgb(6 10 31 / 0.55);
	--header-h: 72px;
	--gutter: clamp(16px, 4vw, 32px);
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

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

html:not(.has-motion) {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--canvas);
	color: var(--text);
	font-family: var(--font-sans);
	font-size: 1rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

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

img {
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

h1,
h2,
h3,
p,
ol,
ul,
figure {
	margin: 0;
}

ul,
ol {
	padding: 0;
	list-style: none;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

:focus-visible {
	outline: 2px solid var(--brand-400);
	outline-offset: 3px;
	border-radius: 6px;
}

::selection {
	background: var(--brand-200);
	color: var(--ink);
}

.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: 12px;
	left: 12px;
	z-index: 1000;
	padding: 10px 16px;
	border-radius: 10px;
	background: #fff;
	color: var(--ink);
	font-weight: 600;
	transform: translateY(-200%);
	transition: transform 0.2s;
}

.skip-link:focus {
	transform: none;
}

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

.container--narrow {
	max-width: 860px;
}

.icon {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
}

.icon--sm {
	width: 18px;
	height: 18px;
}

.icon--xs {
	width: 15px;
	height: 15px;
}

/* Animation start states: only when motion is allowed and JS is running */
.has-motion [data-reveal],
.has-motion [data-hero-fade],
.has-motion [data-stagger] > *,
.has-motion [data-split] {
	visibility: hidden;
}

/* Typography ---------------------------------------------------------- */

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

.eyebrow--dark {
	padding: 6px 14px;
	border-radius: 999px;
	background: rgb(255 255 255 / 0.06);
	box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1);
	color: var(--brand-200);
	letter-spacing: 0.02em;
	text-transform: none;
}

.eyebrow__dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #34d399;
	box-shadow: 0 0 0 4px rgb(52 211 153 / 0.18);
}

.section-title {
	color: var(--ink);
	font-size: clamp(2rem, 4.2vw, 3.25rem);
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: -0.03em;
	text-wrap: balance;
}

.section-lead {
	margin-top: 18px;
	max-width: 58ch;
	color: var(--muted);
	font-size: clamp(1rem, 1.4vw, 1.125rem);
	line-height: 1.7;
}

.accent-serif {
	display: block;
	font-family: var(--font-serif);
	font-style: italic;
	font-weight: 400;
	letter-spacing: -0.01em;
	background: linear-gradient(100deg, var(--brand-300), var(--sky) 45%, #a5b4fc);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	padding-bottom: 0.08em;
}

.accent-serif .split-word {
	background: linear-gradient(100deg, var(--brand-300), var(--sky) 60%, #a5b4fc);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	padding-bottom: 0.08em;
}

.lang-zh .accent-serif {
	font-family: var(--font-sans);
	font-style: normal;
	font-weight: 600;
}

.lang-zh .section-title,
.lang-zh .hero__title,
.lang-zh .contact__title {
	letter-spacing: 0;
	line-height: 1.2;
}

.section-head {
	max-width: 760px;
	margin-bottom: clamp(40px, 6vw, 64px);
}

.section-head--center {
	margin-inline: auto;
	text-align: center;
}

.section-head--center .section-lead {
	margin-inline: auto;
}

.section {
	position: relative;
	padding-block: clamp(80px, 11vw, 140px);
}

.section--dark {
	background: var(--night);
	color: #cbd5e1;
}

.section--dark .section-title,
.section--dark h2,
.section--dark h3 {
	color: #fff;
}

.section--dark .section-lead {
	color: #94a3b8;
}

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

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 42px;
	padding-inline: 18px;
	border: 0;
	border-radius: 12px;
	font-size: 0.9375rem;
	font-weight: 600;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease);
}

.btn--lg {
	height: 52px;
	padding-inline: 24px;
	border-radius: 14px;
	font-size: 1rem;
}

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

.btn--primary {
	background: linear-gradient(180deg, var(--brand-500), var(--brand-600));
	color: #fff;
	box-shadow: 0 10px 30px -10px rgb(37 69 235 / 0.7), inset 0 1px 0 rgb(255 255 255 / 0.2);
}

.btn--primary:hover {
	background: linear-gradient(180deg, var(--brand-600), var(--brand-700));
}

.btn--primary .icon {
	transition: transform 0.25s var(--ease);
}

.btn--primary:hover .icon {
	transform: translateX(3px);
}

.btn--ghost {
	color: var(--ink);
}

.btn--ghost:hover {
	background: rgb(15 23 42 / 0.05);
}

.btn--outline {
	box-shadow: inset 0 0 0 1px var(--line);
	color: var(--ink);
	background: #fff;
}

.btn--glass {
	background: rgb(255 255 255 / 0.06);
	box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.14);
	color: #fff;
	backdrop-filter: blur(10px);
}

.btn--glass:hover {
	background: rgb(255 255 255 / 0.12);
}

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

.scroll-progress {
	position: fixed;
	inset: 0 0 auto;
	z-index: 120;
	height: 2px;
	pointer-events: none;
}

.scroll-progress span {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, var(--brand-500), var(--sky));
	transform: scaleX(0);
	transform-origin: left;
}

.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
	height: var(--header-h);
	transition: background-color 0.35s, box-shadow 0.35s, transform 0.45s var(--ease);
}

.admin-bar .site-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	height: 100%;
}

.brand {
	display: inline-flex;
	flex-shrink: 0;
	padding: 6px 10px;
	margin-left: -10px;
	border-radius: 12px;
	background: #fff;
	transition: box-shadow 0.3s;
}

.brand__logo {
	width: auto;
	height: 30px;
}

.site-header.is-scrolled {
	background: rgb(255 255 255 / 0.82);
	box-shadow: 0 1px 0 rgb(15 23 42 / 0.06), 0 10px 30px -20px rgb(15 23 42 / 0.3);
	backdrop-filter: saturate(180%) blur(14px);
}

.site-header.is-hidden {
	transform: translateY(-110%);
}

.site-header:not(.is-scrolled) .brand {
	box-shadow: 0 8px 24px -10px rgb(0 0 0 / 0.5);
}

.nav {
	flex: 1;
}

.nav__list {
	display: flex;
	justify-content: center;
	gap: 4px;
}

.nav__list a {
	display: block;
	padding: 8px 14px;
	border-radius: 10px;
	font-size: 0.9375rem;
	font-weight: 500;
	transition: background-color 0.2s, color 0.2s;
}

.site-header:not(.is-scrolled) .nav__list a,
.site-header:not(.is-scrolled) .site-header__signin {
	color: #e2e8f0;
}

.site-header:not(.is-scrolled) .nav__list a:hover,
.site-header:not(.is-scrolled) .site-header__signin:hover {
	background: rgb(255 255 255 / 0.08);
	color: #fff;
}

.site-header.is-scrolled .nav__list a {
	color: var(--text);
}

.site-header.is-scrolled .nav__list a:hover {
	background: rgb(15 23 42 / 0.05);
	color: var(--ink);
}

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

.lang-switch {
	display: inline-flex;
	padding: 3px;
	border-radius: 11px;
	background: rgb(15 23 42 / 0.06);
	font-size: 0.8125rem;
	font-weight: 600;
}

.site-header:not(.is-scrolled) .lang-switch {
	background: rgb(255 255 255 / 0.08);
	box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08);
}

.lang-switch a {
	padding: 5px 10px;
	border-radius: 8px;
	color: var(--muted);
	transition: background-color 0.2s, color 0.2s;
}

.site-header:not(.is-scrolled) .lang-switch a {
	color: #94a3b8;
}

.lang-switch a.is-active {
	background: #fff;
	color: var(--ink) !important;
	box-shadow: var(--shadow-sm);
}

.menu-toggle {
	display: none;
	width: 42px;
	height: 42px;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 12px;
	background: rgb(15 23 42 / 0.06);
	cursor: pointer;
}

.site-header:not(.is-scrolled) .menu-toggle {
	background: rgb(255 255 255 / 0.1);
	color: #fff;
}

.menu-toggle__bars {
	position: relative;
	display: block;
	width: 18px;
	height: 12px;
}

.menu-toggle__bars i {
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}

.menu-toggle__bars i:first-child {
	top: 2px;
}

.menu-toggle__bars i:last-child {
	top: 8px;
}

.menu-toggle[aria-expanded='true'] .menu-toggle__bars i:first-child {
	top: 5px;
	transform: rotate(45deg);
}

.menu-toggle[aria-expanded='true'] .menu-toggle__bars i:last-child {
	top: 5px;
	transform: rotate(-45deg);
}

.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 90;
	padding: calc(var(--header-h) + 16px) var(--gutter) 24px;
	background: rgb(6 10 31 / 0.96);
	backdrop-filter: blur(12px);
	overflow-y: auto;
}

.mobile-menu .nav__list {
	flex-direction: column;
	gap: 2px;
}

.mobile-menu .nav__list a {
	padding: 14px 4px;
	border-bottom: 1px solid rgb(255 255 255 / 0.08);
	border-radius: 0;
	color: #fff;
	font-size: 1.5rem;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.mobile-menu__actions {
	display: grid;
	gap: 10px;
	margin-top: 28px;
}

.menu-open {
	overflow: hidden;
}

.menu-open .site-header {
	background: transparent;
	box-shadow: none;
	backdrop-filter: none;
}

@media (max-width: 1080px) {
	.nav {
		display: none;
	}

	.site-header__signin {
		display: none;
	}

	.menu-toggle {
		display: inline-flex;
	}
}

@media (max-width: 560px) {
	.site-header__cta {
		display: none;
	}

	.brand__logo {
		height: 26px;
	}
}

/* Hero ---------------------------------------------------------------- */

.hero {
	position: relative;
	overflow: hidden;
	padding-top: calc(var(--header-h) + clamp(48px, 9vw, 110px));
	padding-bottom: clamp(60px, 8vw, 100px);
	background: radial-gradient(120% 80% at 50% 0%, #0e1a4d 0%, var(--night) 60%);
	color: #cbd5e1;
	isolation: isolate;
}

.hero__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
}

.hero__grid {
	position: absolute;
	inset: 0;
	opacity: 0.09;
	background-image: linear-gradient(to right, #fff 1px, transparent 1px), linear-gradient(to bottom, #fff 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 20%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 20%, transparent 75%);
}

.glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(110px);
}

.glow--a {
	top: -18%;
	left: 50%;
	width: 52vw;
	height: 52vw;
	max-width: 760px;
	max-height: 760px;
	margin-left: -26vw;
	background: rgb(37 69 235 / 0.55);
}

.glow--b {
	top: 30%;
	right: -10%;
	width: 34vw;
	height: 34vw;
	background: rgb(56 189 248 / 0.22);
}

.glow--c {
	top: 46%;
	left: -12%;
	width: 30vw;
	height: 30vw;
	background: rgb(129 140 248 / 0.22);
}

.hero__inner {
	position: relative;
	text-align: center;
}

.hero__title {
	max-width: 15ch;
	margin-inline: auto;
	color: #fff;
	font-size: clamp(2.75rem, 7.6vw, 6rem);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.045em;
}

.hero__title .accent-serif {
	margin-top: 0.06em;
	font-size: 1.08em;
	letter-spacing: -0.02em;
}

.hero__lead {
	max-width: 640px;
	margin: 28px auto 0;
	color: #94a3b8;
	font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
	line-height: 1.65;
}

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

.hero__ticks {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 22px;
	margin-top: 28px;
	color: #94a3b8;
	font-size: 0.875rem;
}

.hero__ticks li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.hero__ticks .icon {
	color: #34d399;
}

.hero__stage {
	position: relative;
	margin-top: clamp(56px, 8vw, 88px);
	perspective: 1800px;
}

.hero__visual {
	position: relative;
	max-width: 1080px;
	margin-inline: auto;
	transform-style: preserve-3d;
}

/* Screens --------------------------------------------------------------- */

.screen {
	position: relative;
	overflow: hidden;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 0 0 1px rgb(15 23 42 / 0.08), var(--shadow);
}

.screen__bar {
	display: flex;
	align-items: center;
	gap: 6px;
	height: 34px;
	padding-inline: 14px;
	border-bottom: 1px solid #eef1f6;
	background: #f8fafc;
}

.screen__bar span {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #e2e8f0;
}

.screen__bar span:nth-child(1) {
	background: #fda4af;
}

.screen__bar span:nth-child(2) {
	background: #fcd34d;
}

.screen__bar span:nth-child(3) {
	background: #86efac;
}

.screen__bar em {
	margin-inline: auto;
	padding: 2px 14px;
	border-radius: 7px;
	background: #fff;
	box-shadow: inset 0 0 0 1px #eef1f6;
	color: #94a3b8;
	font-size: 0.75rem;
	font-style: normal;
	transform: translateX(-24px);
}

.screen img {
	width: 100%;
}

.screen--hero {
	border-radius: 20px;
	box-shadow: 0 0 0 1px rgb(255 255 255 / 0.12), 0 0 0 8px rgb(255 255 255 / 0.04), var(--shadow-lg), 0 0 120px -20px rgb(37 69 235 / 0.6);
}

.float-card {
	position: absolute;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px 12px 12px;
	border-radius: 16px;
	background: rgb(255 255 255 / 0.96);
	box-shadow: 0 0 0 1px rgb(15 23 42 / 0.05), 0 24px 50px -18px rgb(6 10 31 / 0.6);
	color: var(--ink);
	backdrop-filter: blur(10px);
}

.float-card strong {
	display: block;
	font-size: 0.875rem;
	line-height: 1.3;
}

.float-card span:not([class]) {
	display: block;
	color: var(--muted);
	font-size: 0.8125rem;
	white-space: nowrap;
}

.float-card__icon {
	display: grid;
	width: 40px;
	height: 40px;
	place-items: center;
	border-radius: 12px;
}

.float-card__icon .icon {
	width: 20px;
	height: 20px;
}

.float-card__icon--amber {
	background: var(--amber-bg);
	color: var(--amber);
}

.float-card__icon--green {
	background: var(--green-bg);
	color: var(--green);
}

.float-card__icon--blue {
	background: var(--brand-50);
	color: var(--brand-600);
}

.float-card--a {
	top: 18%;
	left: -4%;
}

.float-card--b {
	top: 48%;
	right: -5%;
}

.float-card--c {
	bottom: -6%;
	left: 12%;
}

@media (max-width: 760px) {
	.float-card {
		padding: 8px 12px 8px 8px;
		border-radius: 12px;
		gap: 8px;
	}

	.float-card__icon {
		width: 30px;
		height: 30px;
		border-radius: 9px;
	}

	.float-card strong {
		font-size: 0.75rem;
	}

	.float-card span:not([class]) {
		font-size: 0.6875rem;
	}

	.float-card--a {
		top: -9%;
		left: 0;
	}

	.float-card--b {
		top: auto;
		right: 0;
		bottom: -12%;
	}

	.float-card--c {
		display: none;
	}

	.screen__bar {
		height: 24px;
	}

	.screen__bar span {
		width: 7px;
		height: 7px;
	}

	.screen__bar em {
		display: none;
	}
}

/* Marquee ------------------------------------------------------------- */

.marquee {
	overflow: hidden;
	padding-block: 26px;
	border-block: 1px solid var(--line);
	background: #fff;
}

.marquee__track {
	display: flex;
	width: max-content;
}

.marquee__list {
	display: flex;
	flex-shrink: 0;
	gap: 48px;
	padding-right: 48px;
}

.marquee__list li {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--ink);
	font-size: 1.0625rem;
	font-weight: 600;
	white-space: nowrap;
}

.marquee__list .icon {
	color: var(--brand-500);
}

/* Statement ------------------------------------------------------------- */

.statement {
	padding-block: clamp(90px, 12vw, 160px);
	background: #fff;
}

.statement__text {
	color: var(--ink);
	font-size: clamp(1.625rem, 3.6vw, 2.75rem);
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: -0.025em;
}

.lang-zh .statement__text {
	letter-spacing: 0.01em;
	line-height: 1.5;
}

.statement__text .word {
	opacity: 0.15;
}

html:not(.has-motion) .statement__text .word {
	opacity: 1;
}

/* Features bento -------------------------------------------------------- */

.features {
	background: var(--canvas);
}

.bento {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 20px;
}

.bento > .bento__card {
	grid-column: span 2;
}

.bento > .bento__card:nth-last-child(-n + 2) {
	grid-column: span 3;
}

.bento__card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 28px;
	overflow: hidden;
	border-radius: var(--radius-lg);
	background: #fff;
	box-shadow: 0 0 0 1px rgb(15 23 42 / 0.06), var(--shadow-sm);
	transition: box-shadow 0.35s;
	transform-style: preserve-3d;
	will-change: transform;
}

.bento__card:hover {
	box-shadow: 0 0 0 1px rgb(37 69 235 / 0.18), 0 30px 60px -30px rgb(37 69 235 / 0.45);
}

.bento__card h3 {
	color: var(--ink);
	font-size: 1.25rem;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.bento__card p {
	color: var(--muted);
	font-size: 0.9688rem;
}

.bento > .bento__card--wide {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 40px;
	align-items: center;
	padding: 40px;
}

.bento__card--tint {
	background: linear-gradient(135deg, #fff 30%, var(--brand-50));
}

.bento__copy {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.bento__copy h3 {
	font-size: clamp(1.5rem, 2.6vw, 2rem);
	line-height: 1.15;
}

.bento__media {
	margin: 0 -60px -60px 0;
}

.bento__icon {
	display: grid;
	width: 46px;
	height: 46px;
	place-items: center;
	border-radius: 14px;
	background: var(--brand-50);
	color: var(--brand-600);
	box-shadow: inset 0 0 0 1px var(--brand-100);
}

.chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	width: fit-content;
	padding: 5px 12px;
	border-radius: 999px;
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--brand-100);
	color: var(--brand-700);
	font-size: 0.8125rem;
	font-weight: 600;
}

.ticks {
	display: grid;
	gap: 10px;
	margin-top: 4px;
}

.ticks li {
	position: relative;
	padding-left: 28px;
	color: var(--text);
	font-size: 0.9688rem;
}

.ticks li::before {
	content: '';
	position: absolute;
	top: 0.3em;
	left: 0;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--brand-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.mini-ledger {
	display: grid;
	gap: 6px;
	margin-top: auto;
	padding: 14px;
	border-radius: 14px;
	background: var(--canvas);
	font-size: 0.8125rem;
}

.mini-ledger span {
	display: flex;
	justify-content: space-between;
	color: var(--muted);
}

.mini-ledger b {
	color: var(--ink);
}

.mini-ledger__ok {
	justify-content: flex-start !important;
	gap: 6px;
	color: var(--green) !important;
	font-weight: 600;
}

.status-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: auto;
}

.pill {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 0.8125rem;
	font-weight: 600;
	white-space: nowrap;
}

.pill--green {
	background: var(--green-bg);
	color: #047857;
}

.pill--amber {
	background: var(--amber-bg);
	color: #b45309;
}

.pill--red {
	background: var(--red-bg);
	color: #be123c;
}

@media (max-width: 980px) {
	.bento {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bento > .bento__card,
	.bento > .bento__card:nth-last-child(-n + 2) {
		grid-column: auto;
	}

	.bento > .bento__card--wide {
		grid-template-columns: 1fr;
		padding: 28px;
	}

	.bento__media {
		margin: 0 -28px -28px;
	}
}

@media (max-width: 640px) {
	.bento {
		grid-template-columns: 1fr;
	}

	.bento__card {
		padding: 24px;
	}
}

/* Scan: pinned steps ---------------------------------------------------- */

.scan {
	overflow: hidden;
	background: radial-gradient(80% 60% at 80% 50%, #102061 0%, var(--night) 70%);
}

.scan__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
	gap: clamp(40px, 7vw, 100px);
	align-items: center;
	min-height: min(760px, 100vh);
}

.steps {
	display: grid;
	gap: 8px;
	margin-top: 40px;
}

.steps__item {
	display: flex;
	gap: 18px;
	padding: 18px 20px;
	border-radius: 18px;
	opacity: 0.4;
	transition: opacity 0.4s, background-color 0.4s, box-shadow 0.4s;
}

.steps__item.is-active {
	background: rgb(255 255 255 / 0.05);
	box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08);
	opacity: 1;
}

.steps__num {
	color: var(--brand-300);
	font-family: var(--font-serif);
	font-size: 1.5rem;
	font-style: italic;
	line-height: 1.1;
}

.steps__item h3 {
	font-size: 1.125rem;
	font-weight: 600;
}

.steps__item p {
	margin-top: 4px;
	color: #94a3b8;
	font-size: 0.9375rem;
}

.steps__progress {
	height: 3px;
	margin-top: 24px;
	overflow: hidden;
	border-radius: 3px;
	background: rgb(255 255 255 / 0.08);
}

.steps__progress span {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, var(--brand-500), var(--sky));
	transform: scaleX(0.25);
	transform-origin: left;
}

.scan__device {
	display: flex;
	justify-content: center;
}

.phone {
	position: relative;
	width: min(320px, 78vw);
	aspect-ratio: 9 / 18.5;
	padding: 12px;
	border-radius: 48px;
	background: linear-gradient(145deg, #2a3150, #0b1023);
	box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.12), 0 60px 120px -40px rgb(37 69 235 / 0.65), 0 30px 60px -30px #000;
}

.phone__notch {
	position: absolute;
	top: 22px;
	left: 50%;
	z-index: 3;
	width: 92px;
	height: 26px;
	margin-left: -46px;
	border-radius: 20px;
	background: #05070f;
}

.phone__screen {
	position: relative;
	height: 100%;
	overflow: hidden;
	border-radius: 38px;
	background: #f6f8fc;
	color: var(--ink);
}

.phone__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 58px 20px 14px;
	background: #fff;
	box-shadow: 0 1px 0 var(--line);
	font-size: 0.9375rem;
	font-weight: 600;
}

.phone__mode {
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--red-bg);
	color: var(--red);
	font-size: 0.75rem;
}

.phone__layer {
	position: absolute;
	inset: 104px 0 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 20px;
	opacity: 0;
	visibility: hidden;
}

.phone__layer.is-active {
	opacity: 1;
	visibility: visible;
}

.viewfinder {
	position: relative;
	display: grid;
	aspect-ratio: 1;
	place-items: center;
	border-radius: 22px;
	background: #0b1023;
	overflow: hidden;
}

.viewfinder__qr {
	width: 56%;
	padding: 10px;
	border-radius: 10px;
	background: #fff;
	color: #0b1023;
}

.viewfinder__corner {
	position: absolute;
	width: 34px;
	height: 34px;
	border: 3px solid var(--brand-400);
}

.viewfinder__corner--tl {
	top: 16%;
	left: 16%;
	border-right: 0;
	border-bottom: 0;
	border-top-left-radius: 10px;
}

.viewfinder__corner--tr {
	top: 16%;
	right: 16%;
	border-left: 0;
	border-bottom: 0;
	border-top-right-radius: 10px;
}

.viewfinder__corner--bl {
	bottom: 16%;
	left: 16%;
	border-right: 0;
	border-top: 0;
	border-bottom-left-radius: 10px;
}

.viewfinder__corner--br {
	right: 16%;
	bottom: 16%;
	border-left: 0;
	border-top: 0;
	border-bottom-right-radius: 10px;
}

.viewfinder__laser {
	position: absolute;
	top: 20%;
	left: 14%;
	right: 14%;
	height: 2px;
	background: #f43f5e;
	box-shadow: 0 0 14px 2px rgb(244 63 94 / 0.8);
	animation: laser 2.2s ease-in-out infinite alternate;
}

@keyframes laser {
	to {
		top: 80%;
	}
}

.phone__hint {
	color: var(--muted);
	font-size: 0.8125rem;
	text-align: center;
}

.phone-card {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px;
	border-radius: 16px;
	background: #fff;
	box-shadow: var(--shadow-sm);
}

.phone-card strong {
	display: block;
	font-size: 0.9375rem;
}

.phone-card small {
	color: var(--muted);
	font-size: 0.75rem;
}

.phone-card__thumb {
	display: grid;
	width: 44px;
	height: 44px;
	place-items: center;
	border-radius: 12px;
	background: var(--amber-bg);
	color: var(--amber);
}

.phone-stat {
	display: flex;
	justify-content: space-between;
	padding: 12px 14px;
	border-radius: 12px;
	background: #fff;
	font-size: 0.8125rem;
}

.phone-stat span {
	color: var(--muted);
}

.phone__label {
	color: var(--muted);
	font-size: 0.75rem;
	font-weight: 600;
}

.stepper {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px;
	border-radius: 16px;
	background: #fff;
	box-shadow: inset 0 0 0 2px var(--brand-500);
}

.stepper span {
	display: grid;
	width: 44px;
	height: 44px;
	place-items: center;
	border-radius: 12px;
	background: var(--canvas);
	font-size: 1.375rem;
}

.stepper b {
	font-size: 2rem;
}

.phone-input {
	padding: 12px 14px;
	border-radius: 12px;
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--line);
	color: var(--muted);
	font-size: 0.8125rem;
}

.phone-btn {
	margin-top: auto;
	margin-bottom: 8px;
	padding: 14px;
	border-radius: 14px;
	background: var(--brand-600);
	color: #fff;
	font-weight: 600;
	text-align: center;
}

.phone__layer--done {
	align-items: center;
	justify-content: center;
	padding-bottom: 80px;
	text-align: center;
}

.done-check {
	display: grid;
	width: 76px;
	height: 76px;
	place-items: center;
	border-radius: 50%;
	background: var(--green);
	color: #fff;
	box-shadow: 0 0 0 10px var(--green-bg);
}

.done-check .icon {
	width: 38px;
	height: 38px;
	stroke-width: 2.5;
}

.phone__layer--done strong {
	margin-top: 10px;
	font-size: 1.25rem;
}

.done-delta {
	font-size: 2.25rem;
	font-weight: 700;
	letter-spacing: -0.03em;
}

.done-delta span {
	color: var(--brand-500);
}

.phone__layer--done small {
	color: var(--muted);
}

@media (max-width: 900px) {
	.scan__inner {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.scan__device {
		order: -1;
	}

	.phone {
		width: min(280px, 72vw);
	}
}

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

.split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(40px, 7vw, 96px);
	align-items: center;
}

.split--reverse .split__copy {
	order: 2;
}

.split__copy .ticks {
	margin-top: 28px;
}

@media (max-width: 900px) {
	.split {
		grid-template-columns: 1fr;
	}

	.split--reverse .split__copy {
		order: 0;
	}
}

/* Cash ledger ----------------------------------------------------------- */

.cash {
	background: #fff;
}

.ledger {
	padding: clamp(22px, 3vw, 32px);
	border-radius: var(--radius-lg);
	background: linear-gradient(180deg, #fff, var(--canvas));
	box-shadow: 0 0 0 1px rgb(15 23 42 / 0.06), var(--shadow);
	font-variant-numeric: tabular-nums;
}

.ledger__title {
	display: flex;
	justify-content: space-between;
	margin-bottom: 14px;
	color: var(--ink);
	font-weight: 600;
}

.ledger__title span {
	color: var(--muted);
	font-weight: 400;
	font-size: 0.875rem;
}

.ledger__row {
	display: grid;
	grid-template-columns: 22px 1fr auto;
	align-items: center;
	padding: 13px 0;
	border-bottom: 1px dashed var(--line);
	font-size: 0.9688rem;
}

.ledger__row b {
	color: var(--ink);
	font-weight: 600;
}

.ledger__sign {
	color: var(--brand-600);
	font-weight: 700;
}

.ledger__total {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-top: 16px;
	padding: 18px 20px;
	border-radius: 16px;
	background: var(--night);
	color: #cbd5e1;
}

.ledger__total b {
	white-space: nowrap;
	color: #fff;
	font-size: clamp(1.25rem, 2.4vw, 1.625rem);
	letter-spacing: -0.02em;
}

.ledger__check {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	margin-top: 14px;
	color: var(--muted);
	font-size: 0.875rem;
}

/* Reconciliation -------------------------------------------------------- */

.reconcile {
	background: var(--canvas);
	overflow: hidden;
}

.formats {
	display: flex;
	gap: 8px;
	margin-top: 28px;
}

.formats span {
	padding: 8px 16px;
	border-radius: 12px;
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--line);
	color: var(--ink);
	font-size: 0.875rem;
	font-weight: 600;
}

.recon {
	position: relative;
	padding: 0 0 140px 32px;
}

.recon__bg {
	opacity: 0.95;
}

.recon__card {
	position: absolute;
	left: 0;
	bottom: 0;
	width: min(400px, 82%);
	padding: 22px;
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 0 0 1px rgb(15 23 42 / 0.06), 0 40px 80px -30px rgb(15 23 42 / 0.45);
	font-variant-numeric: tabular-nums;
}

.recon__title {
	margin-bottom: 10px;
	color: var(--ink);
	font-weight: 600;
}

.recon__row {
	display: grid;
	grid-template-columns: 1fr 48px 90px;
	gap: 8px;
	align-items: center;
	padding: 10px 0;
	border-top: 1px solid #f1f5f9;
	font-size: 0.9063rem;
}

.recon__count,
.recon__total {
	text-align: right;
	color: var(--ink);
}

.recon__status--green {
	color: #047857;
	font-weight: 600;
}

.recon__status--amber {
	color: #b45309;
	font-weight: 600;
}

.recon__status--red {
	color: #be123c;
	font-weight: 600;
}

@media (max-width: 640px) {
	.recon {
		padding: 0 0 190px;
	}

	.recon__card {
		width: 100%;
	}
}

/* Modules: horizontal --------------------------------------------------- */

.modules {
	overflow: hidden;
	background: #fff;
}

.modules__head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 20px 40px;
	margin-bottom: 48px;
}

.modules__head .section-lead {
	max-width: 40ch;
}

.modules__viewport {
	overflow: hidden;
}

.modules__track {
	display: flex;
	gap: 28px;
	width: max-content;
	padding-inline: max(var(--gutter), calc((100vw - 1200px) / 2 + var(--gutter)));
}

.module-card {
	width: min(620px, 78vw);
	flex-shrink: 0;
}

.module-card .screen {
	transition: transform 0.5s var(--ease), box-shadow 0.5s;
}

.module-card:hover .screen {
	transform: translateY(-6px);
	box-shadow: 0 0 0 1px rgb(37 69 235 / 0.2), 0 40px 70px -35px rgb(37 69 235 / 0.5);
}

.module-card__text {
	display: flex;
	gap: 16px;
	margin-top: 22px;
}

.module-card__num {
	color: var(--brand-500);
	font-family: var(--font-serif);
	font-size: 1.5rem;
	font-style: italic;
	line-height: 1.1;
}

.module-card h3 {
	color: var(--ink);
	font-size: 1.1875rem;
	font-weight: 600;
}

.module-card p {
	margin-top: 4px;
	color: var(--muted);
	font-size: 0.9375rem;
}

/* Without pinning (phones, reduced motion) the row scrolls sideways */
.modules:not(.is-pinned) .modules__viewport {
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.modules:not(.is-pinned) .modules__viewport::-webkit-scrollbar {
	display: none;
}

.modules:not(.is-pinned) .module-card {
	scroll-snap-align: center;
}

/* People collage -------------------------------------------------------- */

.people {
	background: var(--canvas);
	overflow: hidden;
}

.point-list {
	display: grid;
	gap: 22px;
	margin-top: 36px;
}

.point {
	display: flex;
	gap: 16px;
}

.point__icon {
	display: grid;
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	place-items: center;
	border-radius: 13px;
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
	color: var(--brand-600);
}

.point__icon .icon {
	width: 21px;
	height: 21px;
}

.point h3 {
	color: var(--ink);
	font-size: 1.0625rem;
	font-weight: 600;
}

.point p {
	margin-top: 2px;
	color: var(--muted);
	font-size: 0.9375rem;
}

.collage {
	position: relative;
	height: clamp(420px, 48vw, 600px);
}

.collage__item {
	position: absolute;
}

.collage__item--a {
	top: 0;
	right: 0;
	width: 88%;
}

.collage__item--b {
	top: 36%;
	left: -6%;
	width: 62%;
	z-index: 2;
}

.collage__item--c {
	bottom: 4%;
	right: 6%;
	width: 52%;
	z-index: 3;
}

.collage .screen {
	box-shadow: 0 0 0 1px rgb(15 23 42 / 0.08), 0 30px 60px -28px rgb(15 23 42 / 0.45);
}

@media (max-width: 900px) {
	.collage__item--b {
		left: 0;
	}
}

/* Language compare ------------------------------------------------------ */

.language {
	overflow: hidden;
	background: radial-gradient(70% 60% at 50% 100%, #12236b 0%, var(--night) 70%);
}

.compare {
	max-width: 1040px;
	margin-inline: auto;
}

.compare__screen {
	box-shadow: 0 0 0 1px rgb(255 255 255 / 0.1), var(--shadow-lg), 0 0 140px -30px rgb(37 69 235 / 0.7);
}

.compare__frame {
	position: relative;
}

.compare__top {
	position: absolute;
	inset: 0;
	clip-path: inset(0 0 0 50%);
}

.compare__handle {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 2px;
	background: #fff;
	box-shadow: 0 0 20px rgb(37 69 235 / 0.9);
}

.compare__handle span {
	position: absolute;
	top: 50%;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--night);
	color: #fff;
	font-size: 0.8125rem;
	font-weight: 600;
	white-space: nowrap;
	transform: translateY(-50%);
	box-shadow: 0 0 0 1px rgb(255 255 255 / 0.2);
}

.compare__handle span:first-child {
	right: 14px;
}

.compare__handle span:last-child {
	left: 14px;
	background: var(--brand-600);
}

/* Security -------------------------------------------------------------- */

.security {
	background: #fff;
}

.security__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 20px;
}

.security__grid > *,
.security__mini > * {
	min-width: 0;
}

.panel {
	padding: clamp(24px, 3vw, 34px);
	border-radius: var(--radius-lg);
	background: var(--canvas);
	box-shadow: inset 0 0 0 1px rgb(15 23 42 / 0.05);
}

.panel h3 {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--ink);
	font-size: 1.25rem;
	font-weight: 600;
}

.panel h3 .icon {
	color: var(--brand-600);
}

.panel > p {
	margin-top: 8px;
	color: var(--muted);
	font-size: 0.9688rem;
}

.panel--dark {
	background: var(--night);
	color: #94a3b8;
}

.panel--dark h3 {
	color: #fff;
}

.panel--dark h3 .icon {
	color: var(--brand-300);
}

.panel--dark > p {
	color: #94a3b8;
}

.matrix {
	margin-top: 24px;
	overflow-x: auto;
	font-size: 0.8125rem;
}

.matrix__row {
	display: grid;
	grid-template-columns: 1.4fr repeat(6, minmax(44px, 1fr));
	align-items: center;
	min-width: 420px;
	padding: 9px 0;
	border-bottom: 1px solid var(--line);
}

.matrix__row--head {
	color: var(--muted);
	font-size: 0.75rem;
	font-weight: 600;
}

.matrix__row--head span,
.matrix__cell {
	text-align: center;
}

.matrix__row [role='rowheader'] {
	color: var(--ink);
	font-weight: 600;
}

.matrix__cell {
	display: grid;
	place-items: center;
	color: #cbd5e1;
}

.matrix__cell.is-on {
	color: #fff;
}

.matrix__cell.is-on .icon {
	width: 22px;
	height: 22px;
	padding: 4px;
	border-radius: 7px;
	background: var(--brand-600);
	stroke-width: 3;
}

.audit {
	display: grid;
	gap: 10px;
	margin-top: 24px;
}

.audit__item {
	display: grid;
	grid-template-columns: 32px 1fr auto;
	gap: 12px;
	align-items: center;
	padding: 12px 14px;
	border-radius: 14px;
	background: rgb(255 255 255 / 0.04);
	box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.06);
	font-size: 0.875rem;
}

.audit__icon {
	display: grid;
	width: 32px;
	height: 32px;
	place-items: center;
	border-radius: 10px;
	background: rgb(59 100 246 / 0.18);
	color: var(--brand-300);
}

.audit__text {
	color: #e2e8f0;
}

.audit time {
	color: #64748b;
	font-size: 0.75rem;
	font-variant-numeric: tabular-nums;
}

.security__mini {
	grid-column: span 2;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.panel--mini .icon {
	width: 28px;
	height: 28px;
	color: var(--brand-600);
}

.panel--mini h3 {
	margin-top: 16px;
	font-size: 1.0625rem;
}

.panel--mini p {
	margin-top: 4px;
	color: var(--muted);
	font-size: 0.9375rem;
}

@media (max-width: 900px) {
	.security__grid,
	.security__mini {
		grid-template-columns: 1fr;
	}

	.security__mini {
		grid-column: auto;
	}
}

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

.faq {
	background: var(--canvas);
}

.faq__inner {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: clamp(32px, 6vw, 80px);
	align-items: start;
}

.faq__list {
	display: grid;
	gap: 12px;
}

.faq__item {
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 0 0 1px rgb(15 23 42 / 0.06);
	transition: box-shadow 0.3s;
}

.faq__item[open] {
	box-shadow: 0 0 0 1px rgb(37 69 235 / 0.25), 0 20px 40px -28px rgb(37 69 235 / 0.4);
}

.faq__item summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding: 20px 22px;
	color: var(--ink);
	font-size: 1.0625rem;
	font-weight: 600;
	list-style: none;
	cursor: pointer;
}

.faq__item summary::-webkit-details-marker {
	display: none;
}

.faq__icon {
	position: relative;
	width: 28px;
	height: 28px;
	flex-shrink: 0;
	border-radius: 50%;
	background: var(--brand-50);
}

.faq__icon::before,
.faq__icon::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 2px;
	margin: -1px 0 0 -6px;
	border-radius: 2px;
	background: var(--brand-600);
	transition: transform 0.35s var(--ease);
}

.faq__icon::after {
	transform: rotate(90deg);
}

.faq__item[open] .faq__icon::after {
	transform: rotate(0deg);
}

.faq__answer {
	overflow: hidden;
}

.faq__answer p {
	padding: 0 22px 22px;
	color: var(--muted);
}

/* With smooth scrolling on, main.js pins the heading instead */
.has-motion .faq__head {
	position: relative !important;
	top: auto !important;
}

@media (min-width: 901px) {
	.faq__head {
		position: sticky;
		top: calc(var(--header-h) + 40px);
	}
}

@media (max-width: 900px) {
	.faq__inner {
		grid-template-columns: 1fr;
	}
}

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

.contact {
	overflow: hidden;
	isolation: isolate;
}

.contact__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
}

.contact .glow--a {
	top: auto;
	bottom: -30%;
	left: 10%;
	margin-left: 0;
}

.contact .glow--b {
	top: -10%;
	right: -5%;
}

.contact__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(40px, 7vw, 96px);
	align-items: center;
}

.contact__title {
	color: #fff;
	font-size: clamp(2.25rem, 5vw, 3.75rem);
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: -0.035em;
	text-wrap: balance;
}

.contact__list {
	display: grid;
	gap: 12px;
	margin-top: 28px;
}

.contact__list li {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #e2e8f0;
}

.contact__list .icon {
	color: #34d399;
}

.contact__direct {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
	margin-top: 32px;
}

.contact__direct a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--brand-200);
	font-weight: 500;
}

.contact__direct a:hover {
	color: #fff;
}

.demo-form {
	padding: clamp(22px, 3.4vw, 36px);
	border-radius: var(--radius-lg);
	background: rgb(255 255 255 / 0.04);
	box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1), 0 40px 80px -40px #000;
	backdrop-filter: blur(16px);
}

.demo-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin-bottom: 20px;
}

.field {
	display: grid;
	gap: 6px;
}

.field--full {
	grid-column: span 2;
}

.field span {
	color: #cbd5e1;
	font-size: 0.8125rem;
	font-weight: 500;
}

.field input,
.field select,
.field textarea {
	width: 100%;
	padding: 12px 14px;
	border: 0;
	border-radius: 12px;
	background: rgb(255 255 255 / 0.06);
	box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12);
	color: #fff;
	transition: box-shadow 0.2s, background-color 0.2s;
}

.field select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-position: right 12px center;
	background-repeat: no-repeat;
	background-size: 18px;
}

.field select option {
	color: var(--ink);
}

.field textarea {
	resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
	outline: none;
	background-color: rgb(255 255 255 / 0.09);
	box-shadow: inset 0 0 0 1.5px var(--brand-400), 0 0 0 4px rgb(59 100 246 / 0.2);
}

.demo-form__captcha {
	display: flex;
	justify-content: center;
	min-height: 78px;
	margin-bottom: 18px;
}

/* v3: the badge is replaced by the notice under the form (allowed by Google) */
.grecaptcha-badge {
	visibility: hidden;
}

.demo-form__legal {
	margin: -4px 0 16px;
	color: #64748b;
	font-size: 0.75rem;
	line-height: 1.5;
	text-align: center;
}

.demo-form__legal a {
	color: #94a3b8;
	text-decoration: underline;
	text-underline-offset: 2px;
}

@media (max-width: 360px) {
	.demo-form__captcha {
		transform: scale(0.88);
		transform-origin: center;
	}
}

.demo-form__trap {
	position: absolute;
	left: -9999px;
}

.demo-form__status {
	margin-top: 14px;
	font-size: 0.9375rem;
	font-weight: 500;
}

.demo-form__status:empty {
	display: none;
}

.demo-form__status.is-success {
	color: #6ee7b7;
}

.demo-form__status.is-error {
	color: #fda4af;
}

.demo-form__note {
	margin-top: 12px;
	color: #64748b;
	font-size: 0.8125rem;
	text-align: center;
}

@media (max-width: 900px) {
	.contact__inner {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 520px) {
	.demo-form__grid {
		grid-template-columns: 1fr;
	}

	.field--full {
		grid-column: auto;
	}
}

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

.site-footer {
	padding-top: clamp(64px, 8vw, 96px);
	overflow: hidden;
	background: var(--night);
	border-top: 1px solid rgb(255 255 255 / 0.06);
	color: #94a3b8;
	font-size: 0.9375rem;
}

.site-footer__top {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
	gap: 48px;
}

.brand__logo--footer {
	height: 34px;
	padding: 7px 11px;
	border-radius: 12px;
	background: #fff;
	box-sizing: content-box;
}

.site-footer__brand p {
	max-width: 36ch;
	margin-top: 20px;
}

.site-footer__cols {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
}

.site-footer h2 {
	margin-bottom: 14px;
	color: #fff;
	font-size: 0.875rem;
	font-weight: 600;
}

.site-footer ul {
	display: grid;
	gap: 10px;
}

.site-footer a {
	transition: color 0.2s;
	overflow-wrap: anywhere;
}

.site-footer a:hover {
	color: #fff;
}

.site-footer__wordmark {
	margin-top: 56px;
	background: linear-gradient(180deg, rgb(255 255 255 / 0.14), rgb(255 255 255 / 0));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-size: clamp(5rem, 22vw, 20rem);
	font-weight: 700;
	line-height: 0.8;
	letter-spacing: -0.06em;
	text-align: center;
	user-select: none;
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding-block: 24px;
	border-top: 1px solid rgb(255 255 255 / 0.08);
	font-size: 0.8125rem;
}

.site-footer__bottom a {
	color: #e2e8f0;
	font-weight: 600;
}

@media (max-width: 900px) {
	.site-footer__top {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 560px) {
	.site-footer__cols {
		grid-template-columns: 1fr 1fr;
	}
}

/* Floating WhatsApp ----------------------------------------------------- */

.wa-float {
	position: fixed;
	right: max(16px, env(safe-area-inset-right));
	bottom: max(16px, env(safe-area-inset-bottom));
	z-index: 95;
	display: flex;
	align-items: center;
	gap: 10px;
	animation: wa-in 0.6s var(--ease) 1.2s both;
}

.wa-float__button {
	position: relative;
	display: grid;
	width: 58px;
	height: 58px;
	place-items: center;
	border-radius: 50%;
	background: #25d366;
	color: #fff;
	box-shadow: 0 12px 30px -8px rgb(37 211 102 / 0.6), 0 4px 12px rgb(6 10 31 / 0.25);
	transition: transform 0.3s var(--ease), background-color 0.2s;
}

.wa-float__button::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: #25d366;
	animation: wa-pulse 2.4s ease-out infinite;
	z-index: -1;
}

.wa-float__button svg {
	width: 30px;
	height: 30px;
}

.wa-float__label {
	padding: 8px 14px;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 10px 30px -10px rgb(6 10 31 / 0.4), 0 0 0 1px rgb(15 23 42 / 0.06);
	color: var(--ink);
	font-size: 0.875rem;
	font-weight: 600;
	white-space: nowrap;
	opacity: 0;
	transform: translateX(8px);
	pointer-events: none;
	transition: opacity 0.25s, transform 0.3s var(--ease);
}

.wa-float:hover .wa-float__button,
.wa-float:focus-visible .wa-float__button {
	background: #1ebe5b;
	transform: scale(1.06);
}

.wa-float:hover .wa-float__label,
.wa-float:focus-visible .wa-float__label {
	opacity: 1;
	transform: none;
}

.wa-float:focus-visible {
	outline: none;
}

.wa-float:focus-visible .wa-float__button {
	outline: 3px solid #fff;
	outline-offset: 3px;
}

.menu-open .wa-float {
	visibility: hidden;
}

@keyframes wa-in {
	from {
		opacity: 0;
		transform: translateY(20px) scale(0.6);
	}
}

@keyframes wa-pulse {
	0% {
		opacity: 0.55;
		transform: scale(1);
	}

	80%,
	100% {
		opacity: 0;
		transform: scale(1.6);
	}
}

@media (max-width: 560px) {
	.wa-float__button {
		width: 52px;
		height: 52px;
	}

	.wa-float__button svg {
		width: 27px;
		height: 27px;
	}

	.wa-float__label {
		display: none;
	}
}

/* Inner pages ----------------------------------------------------------- */

.page-hero {
	padding-top: calc(var(--header-h) + clamp(56px, 8vw, 100px));
	padding-bottom: clamp(56px, 7vw, 90px);
	background: radial-gradient(100% 90% at 50% 0%, #0e1a4d 0%, var(--night) 65%);
}

.page-hero--full {
	display: grid;
	min-height: 100vh;
	align-items: center;
}

.page-hero__title {
	color: #fff;
	font-size: clamp(2.25rem, 5vw, 3.75rem);
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: -0.035em;
}

.page-hero .btn {
	margin-top: 32px;
}

.prose {
	color: var(--text);
	font-size: 1.0625rem;
	line-height: 1.8;
}

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

.prose h2,
.prose h3 {
	margin-top: 2em;
	color: var(--ink);
	line-height: 1.25;
	letter-spacing: -0.02em;
}

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

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

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

.post-card {
	padding-block: 28px;
	border-bottom: 1px solid var(--line);
}

.post-card__date {
	color: var(--muted);
	font-size: 0.875rem;
}

.post-card h2 {
	margin-block: 6px 10px;
	color: var(--ink);
	font-size: 1.5rem;
	letter-spacing: -0.02em;
}

.post-card h2 a:hover {
	color: var(--brand-600);
}

/* SplitText helpers. Chinese "words" keep their trailing space (see splitOptions in main.js) */
.lang-zh .split-word,
.lang-zh .statement__text .word {
	white-space: pre;
}

.split-line {
	overflow: hidden;
	padding-bottom: 0.08em;
	margin-bottom: -0.08em;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}
