@font-face {
	font-family: "Google Sans Flex";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url(fonts/gsf-latin-ext.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Google Sans Flex";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url(fonts/gsf-latin.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* The site is dark by design, whatever the device theme */
:root {
	color-scheme: dark;
	--bg: #131314;
	--fg: #e3e3e3;
	--muted: #a8abb0;
	--line: #333537;
	--tonal: #26282b;
	--panel: #1b1c1e;
	--accent: #a8c7fa;
	--error: #f2b8b5;
	--btn-bg: #e3e3e3;
	--btn-fg: #131314;
	--font: "Google Sans Flex", "Google Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--gutter: 16px;
	--gap: 24px;
	--radius: 16px;
	--header: 64px;
}
@media (min-width: 900px) {
	:root { --gutter: 40px; }
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 24px); }
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}
body {
	margin: 0;
	background: var(--bg);
	color: var(--fg);
	font: 400 1.0625rem/1.55 var(--font);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
@media (min-width: 900px) {
	body { font-size: 1.09375rem; }
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a, button, label, summary { -webkit-tap-highlight-color: transparent; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 450; letter-spacing: -.02em; line-height: 1.1; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.5rem + 3.6vw, 4.5rem); max-width: 20ch; }
h2 { font-size: clamp(1.75rem, 1.4rem + 1.3vw, 2.625rem); max-width: 24ch; }
h3 { font-size: 1.25rem; font-weight: 500; letter-spacing: -.01em; line-height: 1.3; }
p, dl, dd, figure { margin: 0; }
p { text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }

.wrap { max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--muted); }
.eyebrow { font-size: .875rem; font-weight: 500; color: var(--muted); }
.note { font-size: .875rem; color: var(--muted); }
.lede { font-size: clamp(1.125rem, 1rem + .45vw, 1.375rem); color: var(--muted); max-width: 40em; }
.stack { display: grid; gap: 16px; align-content: start; }
.more { margin-top: 32px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--gutter); top: -100px; z-index: 20; padding: 12px 20px; border-radius: 999px; background: var(--btn-bg); color: var(--btn-fg); }
.skip:focus { top: 12px; }

/* Buttons and links */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 24px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: transparent;
	color: var(--fg);
	font: 500 1rem/1 var(--font);
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .15s, border-color .15s;
}
.btn:hover { background: var(--tonal); }
.btn-primary { border-color: var(--btn-bg); background: var(--btn-bg); color: var(--btn-fg); }
.btn-primary:hover { background: color-mix(in srgb, var(--btn-bg) 82%, var(--bg)); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .9375rem; }
.arrow { display: inline-flex; gap: 8px; font-weight: 500; text-decoration: none; }
.arrow::after { content: "→"; transition: transform .15s; }
.arrow:hover::after, .card-link:hover .arrow::after { transform: translateX(4px); }

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 10;
	border-bottom: 1px solid var(--line);
	background: color-mix(in srgb, var(--bg) 85%, transparent);
	backdrop-filter: saturate(180%) blur(16px);
	-webkit-backdrop-filter: saturate(180%) blur(16px);
}
.header-bar { display: flex; align-items: center; gap: 16px; min-height: var(--header); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 1.125rem; font-weight: 600; letter-spacing: -.01em; text-decoration: none; }
.logo { width: 22px; height: 22px; fill: currentColor; }
.menu-btn { display: inline-grid; place-content: center; gap: 5px; width: 44px; height: 44px; margin-left: auto; padding: 0; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--fg); cursor: pointer; }
.menu-btn span { display: block; width: 16px; height: 1.5px; border-radius: 1px; background: currentColor; transition: transform .2s; }
.menu-btn.is-close { gap: 0; }
.menu-btn.is-close span:first-child { transform: translateY(.75px) rotate(45deg); }
.menu-btn.is-close span:last-child { transform: translateY(-.75px) rotate(-45deg); }
.nav {
	position: fixed;
	inset: 0;
	width: 100%;
	max-width: none;
	height: 100dvh;
	max-height: none;
	margin: 0;
	padding: 0 var(--gutter) max(24px, env(safe-area-inset-bottom));
	overflow-y: auto;
	border: 0;
	background: var(--bg);
	color: var(--fg);
}
.nav:popover-open { display: flex; flex-direction: column; }
html:has(.nav:popover-open) { overflow: hidden; }
.nav-head { display: flex; align-items: center; min-height: var(--header); margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.nav a:not(.btn, .brand) { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.25rem; text-decoration: none; }
.nav a[aria-current] { font-weight: 500; }
.nav .btn { min-height: 52px; margin-top: 24px; font-size: 1rem; }
.lang-short { display: none; }
@media (min-width: 1100px) {
	.menu-btn, .nav-head, .lang-long { display: none; }
	.lang-short { display: inline; }
	.nav { position: static; display: flex; align-items: center; gap: 4px; width: auto; height: auto; margin-left: auto; padding: 0; overflow: visible; background: none; }
	.nav a:not(.btn, .brand) { padding: 6px 12px; border: 0; border-radius: 999px; color: var(--muted); font-size: .9375rem; }
	.nav a:not(.btn, .brand):hover, .nav a[aria-current] { background: var(--tonal); color: var(--fg); font-weight: 400; }
	.nav .btn { min-height: 40px; margin: 0 0 0 8px; font-size: .9375rem; }
}

/* Hero */
.hero { padding-block: clamp(48px, 8vw, 120px) clamp(40px, 6vw, 80px); }
.hero > .eyebrow { margin-bottom: 20px; }
.hero > .eyebrow a { color: var(--fg); }
.hero .lede { margin-top: 24px; }
.hero .actions { margin-top: 32px; }
.hero > .note { margin-top: 20px; }
.meta {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
	gap: 24px var(--gap);
	margin-top: clamp(40px, 6vw, 72px);
	padding-top: 24px;
	border-top: 1px solid var(--line);
}
.meta dt, .pairs dt { margin-bottom: 4px; font-size: .875rem; color: var(--muted); }
.hero-copy > .eyebrow { margin-bottom: 20px; }

/* Home hero promo: a 16s loop of 4 scenes; base styles are the final frame */
.promo { position: relative; margin-top: clamp(40px, 6vw, 72px); }
.promo-stage {
	--t: 16s;
	--u: .8cqw;
	position: relative;
	overflow: hidden;
	aspect-ratio: 1;
	border: 1px solid var(--line);
	border-radius: 24px;
	background: #0b0c10;
	color: #fff;
	container-type: size;
	isolation: isolate;
}
@media (min-width: 700px) {
	.promo-stage { aspect-ratio: 16 / 7; }
}
.promo-stage::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(rgb(255 255 255 / .14) 1px, transparent 1.4px) 0 0 / 24px 24px;
	mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, #000, transparent);
}
.orb { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; mix-blend-mode: screen; }
.orb-1 { left: -15%; top: -45%; background: radial-gradient(closest-side, rgb(59 108 255 / .85), transparent); }
.orb-2 { right: -20%; top: -10%; background: radial-gradient(closest-side, rgb(139 92 246 / .7), transparent); }
.orb-3 { left: 20%; bottom: -70%; background: radial-gradient(closest-side, rgb(34 211 238 / .55), transparent); }

.scene { position: absolute; inset: 0; z-index: 1; display: grid; align-content: center; justify-items: center; gap: 6cqh; padding: 6cqh 7cqw 12cqh; }
.kicker { display: grid; gap: 1.2cqh; justify-self: start; }
.k-title { font-size: 10cqw; font-weight: 450; letter-spacing: -.035em; line-height: 1; }
.k-sub { font-size: 4.2cqw; color: rgb(255 255 255 / .65); }
@container (min-aspect-ratio: 2 / 1) {
	.scene { --u: 1cqh; grid-template-columns: 4fr 6fr; align-content: normal; align-items: center; gap: 4cqw; padding: 0 7cqw; }
	.k-title { font-size: 11cqh; }
	.k-sub { font-size: 3.6cqh; }
}

.viz { position: relative; width: calc(var(--u) * 100); height: calc(var(--u) * 64); }
.glass { border: 1px solid rgb(255 255 255 / .14); border-radius: calc(var(--u) * 2.4); background: rgb(255 255 255 / .07); backdrop-filter: blur(12px); }
.sk { display: block; height: calc(var(--u) * 2.2); border-radius: 999px; background: rgb(255 255 255 / .22); transform-origin: left; }
.sk.short { width: 55%; }
.sk-hero { width: 70%; height: calc(var(--u) * 5); border-radius: calc(var(--u) * 1); background: rgb(255 255 255 / .85); }
.sk-box { display: block; height: calc(var(--u) * 10); border-radius: calc(var(--u) * 1.4); background: rgb(255 255 255 / .12); }
.chip { display: inline-flex; align-items: center; gap: calc(var(--u) * 1); justify-self: start; padding: calc(var(--u) * .8) calc(var(--u) * 2.4); border-radius: 999px; background: rgb(52 168 83 / .22); color: #b7f0c8; font-size: calc(var(--u) * 2.4); font-weight: 500; }
.chip.ok::before { content: "✓"; }

.win { position: absolute; left: 0; top: 0; width: calc(var(--u) * 76); height: calc(var(--u) * 50); overflow: hidden; }
.win-bar { display: flex; gap: calc(var(--u) * 1.2); padding: calc(var(--u) * 2.4); border-bottom: 1px solid rgb(255 255 255 / .1); }
.win-bar i { width: calc(var(--u) * 1.6); aspect-ratio: 1; border-radius: 50%; background: rgb(255 255 255 / .3); }
.win-body { display: grid; gap: calc(var(--u) * 2.2); padding: calc(var(--u) * 4); }
.sk-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(var(--u) * 2); margin-top: calc(var(--u) * 1); }
.snippet { position: absolute; right: 0; bottom: 0; display: grid; gap: calc(var(--u) * 1.6); width: calc(var(--u) * 58); padding: calc(var(--u) * 3.6); border-radius: calc(var(--u) * 2.4); background: #fff; color: #1f1f1f; box-shadow: 0 calc(var(--u) * 3) calc(var(--u) * 8) rgb(0 0 0 / .4); }
.snippet .sk { background: #e3e3e3; }
.snippet .chip { background: #e6f4ea; color: #137333; }
.sn-url { font-size: calc(var(--u) * 2.2); color: #5f6368; }
.sn-title { font-size: calc(var(--u) * 3.4); font-weight: 500; line-height: 1.2; color: #1a0dab; }

.flow { display: flex; align-items: center; justify-content: center; }
.node { position: relative; display: grid; justify-items: center; gap: calc(var(--u) * 1.6); width: calc(var(--u) * 22); padding-block: calc(var(--u) * 3.4); font-size: calc(var(--u) * 2.6); font-weight: 500; }
.node svg { width: calc(var(--u) * 6); height: calc(var(--u) * 6); }
.node::after { content: ""; position: absolute; inset: -1px; border: 1px solid #8fb0ff; border-radius: inherit; box-shadow: 0 0 calc(var(--u) * 5) rgb(122 162 255 / .55); opacity: 0; }
.wire { position: relative; width: calc(var(--u) * 14); height: 2px; background: rgb(255 255 255 / .45); transform-origin: left; }
.pulse { position: absolute; top: 50%; left: 0; width: calc(var(--u) * 1.8); aspect-ratio: 1; border-radius: 50%; background: #fff; box-shadow: 0 0 calc(var(--u) * 2.4) #8fb0ff; translate: -50% -50%; opacity: 0; }
.flow-chip { position: absolute; left: 50%; bottom: calc(var(--u) * 2); translate: -50% 0; }

.launch { display: flex; align-items: center; justify-content: center; gap: calc(var(--u) * 8); }
.phone { display: grid; align-content: start; gap: calc(var(--u) * 2.2); width: calc(var(--u) * 30); height: calc(var(--u) * 60); padding: calc(var(--u) * 6) calc(var(--u) * 3); border: calc(var(--u) * .7) solid rgb(255 255 255 / .35); border-radius: calc(var(--u) * 5); background: rgb(255 255 255 / .06); }
.phone .sk-hero { width: 85%; }
.sk-box.wide { height: calc(var(--u) * 18); }
.vitals { display: grid; gap: calc(var(--u) * 2.4); }
.vitals .chip { padding: calc(var(--u) * 1.4) calc(var(--u) * 3.4); font-size: calc(var(--u) * 3); }

.scene.scene-end { grid-template-columns: 1fr; place-items: center; padding: 0 7cqw; }
.end { display: grid; justify-items: center; gap: 2.4cqh; text-align: center; }
.end-mark .logo { width: 13cqh; height: auto; fill: #fff; }
.end-name { font-size: 9cqh; font-weight: 500; letter-spacing: -.03em; line-height: 1; }
.end-sub { font-size: 3.4cqh; color: rgb(255 255 255 / .7); }
.end-pill { margin-top: 1cqh; padding: 1.2cqh 3cqh; border-radius: 999px; background: #fff; color: #111; font-size: 2.8cqh; font-weight: 500; }

.bars { position: absolute; left: 7cqw; right: 7cqw; bottom: 5cqh; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.bars i { position: relative; height: 2px; overflow: hidden; border-radius: 2px; background: rgb(255 255 255 / .22); }
.bars i::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; }

.promo-pause { position: absolute; width: 1px; height: 1px; opacity: 0; }
.promo-toggle { position: absolute; top: 12px; right: 12px; z-index: 3; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: rgb(255 255 255 / .14); color: #fff; font-size: .8125rem; font-weight: 500; cursor: pointer; backdrop-filter: blur(8px); }
.promo-toggle:hover { background: rgb(255 255 255 / .24); }
.promo-pause:focus-visible + .promo-toggle { outline: 2px solid var(--accent); outline-offset: 3px; }
.if-paused, .promo-pause:checked + .promo-toggle .if-running { display: none; }
.promo-pause:checked + .promo-toggle .if-paused { display: inline; }
.promo-pause:checked ~ .promo-stage :is(*, *::after) { animation-play-state: paused !important; }

@keyframes rise { from { opacity: 0; transform: translateY(20px); } }
@keyframes drift-1 { to { transform: translate(35%, 30%) scale(1.2); } }
@keyframes drift-2 { to { transform: translate(-30%, 25%) scale(.85); } }
@keyframes drift-3 { to { transform: translate(-20%, -45%) scale(1.15); } }
@keyframes scene { 0% { opacity: 0; transform: scale(.98); } 3%, 22% { opacity: 1; transform: none; } 25%, 100% { opacity: 0; transform: scale(1.02); } }
@keyframes p-grow { 0%, 25%, 100% { transform: scaleX(0); } 5%, 24% { transform: none; } }
@keyframes p-pop { 0%, 25%, 100% { opacity: 0; transform: scale(.85); } 4%, 24% { opacity: 1; transform: none; } }
@keyframes p-rise { 0%, 25%, 100% { opacity: 0; transform: translateY(calc(var(--u) * 6)); } 5%, 24% { opacity: 1; transform: none; } }
@keyframes p-travel { 0% { opacity: 0; transform: none; } 1%, 6% { opacity: 1; } 7% { opacity: 0; transform: translateX(calc(var(--u) * 14)); } 100% { opacity: 0; } }
@keyframes p-lit { 0%, 20%, 100% { opacity: 0; } 3%, 17% { opacity: 1; } }
@keyframes bar-0 { 0% { transform: scaleX(0); } 25%, 100% { transform: none; } }
@keyframes bar-1 { 0%, 25% { transform: scaleX(0); } 50%, 100% { transform: none; } }
@keyframes bar-2 { 0%, 50% { transform: scaleX(0); } 75%, 100% { transform: none; } }
@keyframes bar-3 { 0%, 75% { transform: scaleX(0); } 100% { transform: none; } }

@media (prefers-reduced-motion: no-preference) {
	.hero-home .hero-copy > *, .hero-home .promo, .hero-home .meta { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
	.hero-home .hero-copy > :nth-child(2) { animation-delay: .08s; }
	.hero-home .hero-copy > :nth-child(3) { animation-delay: .16s; }
	.hero-home .hero-copy > :nth-child(4) { animation-delay: .24s; }
	.hero-home .promo { animation-delay: .32s; }
	.hero-home .meta { animation-delay: .4s; }

	.orb-1 { animation: drift-1 10s ease-in-out infinite alternate; }
	.orb-2 { animation: drift-2 12s ease-in-out infinite alternate; }
	.orb-3 { animation: drift-3 14s ease-in-out infinite alternate; }
}

/* the promo loops for everyone; Reduce Motion gets a fade-only version below */
.scene, .scene * { --d: calc(var(--s) * var(--t) / 4 + var(--o, 0s)); }
.scene { animation: scene var(--t) cubic-bezier(.4, 0, .2, 1) calc(var(--s) * var(--t) / 4) infinite both; }
.p-grow, .p-pop, .p-rise { animation: p-grow var(--t) cubic-bezier(.2, .7, .2, 1) var(--d) infinite both; }
.p-pop { animation-name: p-pop; }
.p-rise { animation-name: p-rise; }
.pulse { animation: p-travel var(--t) ease-in-out calc(var(--d) + .35s) infinite both; }
.node::after { animation: p-lit var(--t) ease-out calc(var(--d) + .5s) infinite both; }
.bars i:nth-child(1)::after { animation: bar-0 var(--t) linear infinite both; }
.bars i:nth-child(2)::after { animation: bar-1 var(--t) linear infinite both; }
.bars i:nth-child(3)::after { animation: bar-2 var(--t) linear infinite both; }
.bars i:nth-child(4)::after { animation: bar-3 var(--t) linear infinite both; }

@media (prefers-reduced-motion: reduce) {
	@keyframes scene { 0%, 25%, 100% { opacity: 0; } 3%, 22% { opacity: 1; } }
	@keyframes p-grow { 0%, 25%, 100% { opacity: 0; } 5%, 24% { opacity: 1; } }
	@keyframes p-pop { 0%, 25%, 100% { opacity: 0; } 5%, 24% { opacity: 1; } }
	@keyframes p-rise { 0%, 25%, 100% { opacity: 0; } 5%, 24% { opacity: 1; } }
	@keyframes p-travel { 0%, 100% { opacity: 0; } }
}
@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		.home-motion :is(.section-head, .card, .cols > li, .faq details, .cta) {
			animation: rise linear both;
			animation-timeline: view();
			animation-range: entry 0% entry 70%;
		}
	}
}
.banner { width: 100%; margin-top: clamp(40px, 6vw, 72px); border-radius: 24px; }

/* Sections */
.section { padding-block: clamp(48px, 7vw, 96px); border-top: 1px solid var(--line); }
.hero + .section { padding-top: 0; border-top: 0; }
.section-head { display: grid; gap: 16px; max-width: 52rem; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head p:not(.eyebrow) { font-size: 1.125rem; color: var(--muted); }
.kv { display: grid; gap: 16px; padding-block: 32px; border-top: 1px solid var(--line); }
.kv:last-child { padding-bottom: 0; }
.kv .eyebrow { margin-top: 6px; }
@media (min-width: 900px) {
	.kv { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gap); }
	.kv > .stack { max-width: 48rem; }
}
.pairs { display: grid; align-content: start; gap: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 4px 12px; border-radius: 999px; background: var(--tonal); font-size: .8125rem; }

.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 40px var(--gap); }
.cols > li { display: grid; gap: 10px; align-content: start; padding-top: 20px; border-top: 1px solid var(--fg); }
.steps { counter-reset: step; }
.steps > li::before {
	counter-increment: step;
	content: counter(step, decimal-leading-zero);
	color: var(--muted);
	font-size: .875rem;
	font-variant-numeric: tabular-nums;
}
.cols.steps { grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 32px var(--gap); }
.cols.steps > li::before { margin-bottom: 12px; }
.cols-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }

.list > li { display: flex; gap: 16px; padding-block: 14px; border-top: 1px solid var(--line); }
.list > li:last-child { border-bottom: 1px solid var(--line); }
.checks > li { position: relative; padding: 14px 0 14px 32px; border-top: 1px solid var(--line); }
.checks > li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: 1.15em;
	width: 6px;
	height: 11px;
	border: solid var(--fg);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: var(--gap); }
.card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: clamp(20px, 3vw, 28px);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--panel);
	transition: border-color .15s;
}
.card .pairs { margin-top: 4px; }
.card .tags { margin-top: auto; padding-top: 8px; }
.card-link h3 a { text-decoration: none; }
.card-link h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-link:hover { border-color: var(--muted); }
.card-link .arrow { margin-top: auto; padding-top: 8px; }
.card-link:has(:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.card-link h3 a:focus-visible { outline: none; }

/* FAQ */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	padding-block: 20px;
	font-size: 1.125rem;
	font-weight: 500;
	list-style: none;
	cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { max-width: 46rem; padding-bottom: 24px; color: var(--muted); }

/* CTA */
.cta {
	display: grid;
	justify-items: start;
	gap: 16px;
	margin-block: clamp(48px, 7vw, 96px);
	padding: clamp(32px, 6vw, 72px);
	border-radius: 24px;
	background: var(--panel);
}
.cta .actions { margin-top: 12px; }

/* Rail + long-form pages */
.doc { display: grid; gap: 32px; padding-bottom: clamp(48px, 7vw, 96px); }
.rail { display: flex; flex-wrap: wrap; gap: 8px; }
.rail .eyebrow { display: none; }
.rail a { flex: none; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .9375rem; text-decoration: none; }
@media (max-width: 999px) {
	.rail-toc { display: none; }
}
.rail a:hover, .rail a[aria-current] { background: var(--tonal); }
@media (min-width: 1000px) {
	.doc { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: var(--gap); }
	.rail { position: sticky; top: calc(var(--header) + 32px); align-self: start; flex-direction: column; gap: 0; overflow: visible; }
	.rail .eyebrow { display: block; margin-bottom: 12px; }
	.rail a { padding: 8px 0 8px 16px; border: 0; border-left: 2px solid var(--line); border-radius: 0; color: var(--muted); }
	.rail a:hover, .rail a[aria-current] { background: none; border-left-color: var(--fg); color: var(--fg); }
}
.doc-body { min-width: 0; }
.doc-section { display: grid; gap: 20px; padding-block: 40px; border-top: 1px solid var(--line); }
.doc-section:first-child { padding-top: 0; border-top: 0; }
.doc-section > p { max-width: 46rem; }
.prose { max-width: 50rem; }
.doc-section h2, .prose > h2 { font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem); }
.prose > h2 { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line); }
.prose > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose > p, .prose > ul { margin-top: 16px; }
.prose > ul { padding-left: 1.25em; list-style: disc; }
.prose > ul li + li { margin-top: 8px; }

/* PeekFlip themes */
.themes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: var(--gap); }
.themes li { display: grid; gap: 12px; justify-items: center; padding: 20px; border-radius: var(--radius); background: var(--panel); text-align: center; }
.themes img { width: 100%; max-width: 160px; aspect-ratio: 1; object-fit: contain; }

/* Contact form */
.contact { display: grid; gap: 48px; padding-bottom: clamp(48px, 7vw, 96px); }
@media (min-width: 1000px) {
	.contact { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; }
}
.form { display: grid; gap: 20px; align-content: start; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-radius: 24px; }
.form-row { display: grid; gap: 20px; }
@media (min-width: 640px) {
	.form-row { grid-template-columns: 1fr 1fr; }
}
.field { display: grid; gap: 8px; }
.field label { font-size: .875rem; font-weight: 500; }
.field input, .field select, .field textarea {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--bg);
	color: var(--fg);
	font: inherit;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select {
	appearance: none;
	padding-right: 40px;
	background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
	background-position: calc(100% - 21px) 50%, calc(100% - 16px) 50%;
	background-size: 5px 5px;
	background-repeat: no-repeat;
}
.field :is(input, select, textarea) { transition: border-color .15s, box-shadow .15s; }
.field :is(input, select, textarea):hover { border-color: var(--muted); }
.field :is(input, select, textarea):focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.field :user-invalid { border-color: var(--error); }
.field :user-invalid:focus-visible { border-color: var(--error); box-shadow: 0 0 0 3px color-mix(in srgb, var(--error) 22%, transparent); }
.error { color: var(--error); font-size: .875rem; }
.flash { padding: 14px 18px; border-radius: 12px; background: var(--tonal); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { padding-block: 56px 32px; border-top: 1px solid var(--line); font-size: .9375rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 40px var(--gap); }
.footer-grid > div { display: grid; gap: 12px; align-content: start; }
.footer-grid h2 { margin-bottom: 12px; font-size: .8125rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.footer-grid ul { display: grid; gap: 8px; }
.footer-grid nav a { text-decoration: none; }
.footer-grid nav a:hover { text-decoration: underline; }
@media (min-width: 900px) {
	.footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
@media (max-width: 899px) {
	.footer-grid ul { gap: 0; }
	.footer-grid nav a, .footer-grid .linklike { display: inline-block; padding-block: 11px; }
	.rail a { padding: 10px 16px; }
}
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }

/* Cookie consent */
.consent {
	position: fixed;
	z-index: 30;
	right: var(--gutter);
	bottom: max(16px, env(safe-area-inset-bottom));
	left: var(--gutter);
	display: grid;
	gap: 14px;
	max-width: 520px;
	margin-inline: auto;
	padding: 18px 20px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--bg);
	box-shadow: 0 12px 40px rgb(0 0 0 / .25);
	font-size: .9375rem;
}
@media (min-width: 700px) {
	.consent { left: auto; right: 24px; bottom: 24px; margin: 0; }
}
.consent-actions { display: flex; gap: 8px; }
.consent-actions .btn { flex: 1; min-height: 44px; }
.linklike { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.linklike:hover { text-decoration: underline; }

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

/* HeroDesk product page */
.hd-stage { position: relative; display: grid; gap: 16px; margin-top: clamp(40px, 6vw, 72px); padding: clamp(20px, 5vw, 56px); overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #0b0c10; color: #fff; isolation: isolate; }
.hd-stage::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(rgb(255 255 255 / .14) 1px, transparent 1.4px) 0 0 / 24px 24px; mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, #000, transparent); }
.hd-stage .orb { z-index: -2; }
.hd-bubble { width: min(100%, 32rem); padding: 18px 20px; border-radius: 22px; }
.hd-in { justify-self: start; border: 1px solid rgb(255 255 255 / .14); border-top-left-radius: 6px; background: rgb(255 255 255 / .08); backdrop-filter: blur(12px); }
.hd-out { justify-self: end; border-top-right-radius: 6px; background: var(--fg); color: var(--btn-fg); }
.hd-voice { display: flex; align-items: center; gap: 12px; }
.hd-play { display: grid; flex: none; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #0b0c10; }
.hd-wave { display: flex; flex: 1; align-items: center; gap: 3px; height: 32px; overflow: hidden; }
.hd-wave i { flex: none; width: 3px; border-radius: 2px; background: rgb(255 255 255 / .7); }
.hd-time { font-size: .8125rem; color: rgb(255 255 255 / .7); font-variant-numeric: tabular-nums; }
.hd-quote { margin-top: 12px; color: rgb(255 255 255 / .88); }
.hd-items { display: grid; gap: 4px; margin-top: 10px; }
.hd-items li::before { content: "• "; }
.hd-address { margin-top: 10px; }
.hd-note { margin-top: 12px; font-size: .8125rem; color: #5f6368; }
@media (prefers-reduced-motion: no-preference) {
	.hd-items li { animation: hd-line .5s calc(.4s + var(--i) * .2s) both; }
	@keyframes hd-line { from { opacity: 0; transform: translateY(6px); } }
}
@media (min-width: 900px) {
	.hd-checks { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gap); }
}
