/* FrontierX site — Material 3 Expressive.
   Tonal colour roles for dark and light schemes (the system decides), an
   expressive type scale, pill buttons that square off when pressed, and spring
   motion. No web fonts or third-party assets: the CSP allows only this origin. */

:root {
	color-scheme: dark light;
	--bg: #0d1117;
	--surface: #121820;
	--surface-1: #161e28;
	--surface-2: #1b2531;
	--surface-3: #22303e;
	--text: #e6ecf2;
	--text-strong: #ffffff;
	--text-soft: #b9c4cf;
	--muted: #8c98a5;
	--outline: rgba(255, 255, 255, 0.1);
	--outline-strong: rgba(255, 255, 255, 0.18);
	--primary: #9ecaff;
	--on-primary: #002f5c;
	--primary-container: #1b4a7c;
	--on-primary-container: #d3e5ff;
	--secondary-container: #25384d;
	--on-secondary-container: #d4e3f7;
	--tertiary: #ffb4ab;
	--tertiary-container: #71302c;
	--on-tertiary-container: #ffdad5;
	--success: #7ddc9a;
	--danger: #ffb4ab;
	--brand: #3390ec;
	--shadow: 0 24px 60px rgba(0, 0, 0, 0.45);

	--spring-fast: linear(0, 0.054, 0.185, 0.352, 0.527, 0.69, 0.827, 0.934, 1.011, 1.06, 1.086, 1.095, 1.091, 1.079, 1.063, 1.047, 1.031, 1.018, 1.007, 1, 0.995, 0.992, 0.991, 0.991, 0.992, 0.994, 0.995, 0.997, 1);
	--spring: linear(0, 0.05, 0.166, 0.31, 0.455, 0.589, 0.703, 0.796, 0.868, 0.921, 0.959, 0.984, 1, 1.01, 1.014, 1.015, 1.014, 1.013, 1.011, 1.008, 1.006, 1.005, 1.003, 1.002, 1.001, 1.001, 1);
	--spring-bouncy: linear(0, 0.062, 0.218, 0.424, 0.643, 0.845, 1.011, 1.131, 1.203, 1.232, 1.226, 1.195, 1.149, 1.098, 1.049, 1.008, 0.976, 0.956, 0.947, 0.946, 0.952, 0.962, 0.974, 0.985, 0.996, 1.004, 1.009, 1.012, 1.013, 1.012, 1.01, 1.007, 1.004, 1.002, 1, 0.998, 1);
	--ease: cubic-bezier(0.31, 0.94, 0.34, 1);

	--r-s: 12px;
	--r-m: 16px;
	--r-l: 24px;
	--r-xl: 32px;
	--r-xxl: 44px;
	/* Pill for things that morph to a smaller radius on hover or press. From
	   999px the springy curves overshoot below zero on the way down and the
	   button flashes square before settling; 30px is a pill up to 60px tall. */
	--r-pill: 30px;
	--font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: light) {
	:root {
		--bg: #f6f8fc;
		--surface: #ffffff;
		--surface-1: #f0f4fa;
		--surface-2: #e8eef7;
		--surface-3: #dfe7f2;
		--text: #1a1f26;
		--text-strong: #0b0f14;
		--text-soft: #414b57;
		--muted: #66717e;
		--outline: rgba(10, 30, 60, 0.1);
		--outline-strong: rgba(10, 30, 60, 0.2);
		--primary: #1a62b4;
		--on-primary: #ffffff;
		--primary-container: #d5e4ff;
		--on-primary-container: #001c3b;
		--secondary-container: #dce6f5;
		--on-secondary-container: #111c2b;
		--tertiary: #a33b35;
		--tertiary-container: #ffdad5;
		--on-tertiary-container: #410002;
		--success: #1f7a45;
		--danger: #ba1a1a;
		--shadow: 0 24px 60px rgba(20, 40, 80, 0.16);
	}
}

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

*,
*::before,
*::after {
	box-sizing: border-box;
}
html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 17px/1.6 var(--font);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img,
svg {
	display: block;
	max-width: 100%;
}
a {
	color: var(--primary);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
h1,
h2,
h3 {
	color: var(--text-strong);
	margin: 0;
	text-wrap: balance;
}
p {
	margin: 0;
	text-wrap: pretty;
}
code {
	font-family: var(--mono);
	font-size: 0.88em;
	padding: 2px 7px;
	border-radius: 8px;
	background: var(--surface-3);
	color: var(--text-strong);
	overflow-wrap: anywhere;
}
:focus-visible {
	outline: 3px solid var(--primary);
	outline-offset: 3px;
	border-radius: 10px;
}
.wrap {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}
.sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.skip {
	position: absolute;
	left: 16px;
	top: -60px;
	z-index: 100;
	padding: 10px 18px;
	border-radius: 999px;
	background: var(--primary);
	color: var(--on-primary);
	font-weight: 700;
	text-decoration: none;
	transition: top 0.3s var(--spring);
}
.skip:focus {
	top: 12px;
}

/* --- Buttons: pill at rest, squarer while pressed -------------------------- */

.btn[hidden] {
	display: none;
}
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 24px;
	border: 1px solid transparent;
	border-radius: var(--r-pill);
	font: 600 16px/1 var(--font);
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition:
		border-radius 0.35s var(--spring-fast),
		scale 0.35s var(--spring-fast),
		background-color 0.2s var(--ease),
		color 0.2s var(--ease),
		box-shadow 0.2s var(--ease);
}
.btn:active {
	border-radius: var(--r-s);
	scale: 0.96;
	transition-duration: 0.12s;
}
.btn svg {
	width: 20px;
	height: 20px;
	flex: 0 0 auto;
}
.btn-lg {
	min-height: 60px;
	padding: 0 32px;
	font-size: 17px;
}
.btn-primary {
	background: var(--primary);
	color: var(--on-primary);
}
.btn-primary:hover {
	box-shadow: 0 10px 28px color-mix(in srgb, var(--primary) 35%, transparent);
	border-radius: var(--r-l);
}
.btn-tonal {
	background: var(--secondary-container);
	color: var(--on-secondary-container);
}
.btn-tonal:hover {
	background: color-mix(in srgb, var(--secondary-container) 80%, var(--text));
}
.btn-ghost {
	border-color: var(--outline-strong);
	color: var(--text-strong);
	background: transparent;
}
.btn-ghost:hover {
	background: color-mix(in srgb, var(--text) 7%, transparent);
}
.btn .sub {
	font-weight: 500;
	opacity: 0.75;
	font-size: 0.86em;
}

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

.nav {
	position: sticky;
	top: 0;
	z-index: 50;
	transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.nav.is-stuck {
	background: color-mix(in srgb, var(--bg) 82%, transparent);
	backdrop-filter: blur(18px) saturate(1.4);
	-webkit-backdrop-filter: blur(18px) saturate(1.4);
	box-shadow: 0 1px 0 var(--outline);
}
.nav-in {
	display: flex;
	align-items: center;
	gap: 20px;
	height: 76px;
}
.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--text-strong);
	font-weight: 800;
	font-size: 19px;
	letter-spacing: -0.01em;
	text-decoration: none;
}
.brand img {
	transition: rotate 0.6s var(--spring-bouncy);
}
.brand:hover img {
	rotate: -14deg;
}
.nav-links {
	display: flex;
	gap: 4px;
	margin-left: 8px;
}
.nav-links a {
	padding: 10px 18px;
	border-radius: var(--r-pill);
	color: var(--text-soft);
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-radius 0.4s var(--spring);
}
.nav-links a:hover {
	background: color-mix(in srgb, var(--text) 7%, transparent);
	color: var(--text-strong);
}
.nav-links a[aria-current="page"] {
	background: var(--secondary-container);
	color: var(--on-secondary-container);
	border-radius: var(--r-s);
}
.nav-right {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-left: auto;
}
.nav-cta {
	min-height: 44px;
	padding: 0 20px;
	font-size: 15px;
}

/* Language switch with a sliding thumb. */
.seg {
	position: relative;
	display: inline-flex;
	padding: 4px;
	border-radius: 999px;
	background: var(--surface-2);
	isolation: isolate;
}
.seg button {
	position: relative;
	z-index: 1;
	min-width: 44px;
	height: 34px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--muted);
	font: 700 13px/1 var(--font);
	letter-spacing: 0.04em;
	cursor: pointer;
	transition: color 0.25s var(--ease);
}
.seg button[aria-pressed="true"] {
	color: var(--on-primary);
}
.seg-thumb {
	position: absolute;
	z-index: 0;
	top: 4px;
	left: 4px;
	width: 44px;
	height: 34px;
	border-radius: 999px;
	background: var(--primary);
	transition: translate 0.55s var(--spring-bouncy);
}
.seg[data-active="en"] .seg-thumb {
	translate: 44px 0;
}

.nav-burger {
	display: none;
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: var(--r-pill);
	background: var(--surface-2);
	color: var(--text-strong);
	cursor: pointer;
	transition: border-radius 0.4s var(--spring), background-color 0.2s var(--ease);
}
.nav-burger[aria-expanded="true"] {
	border-radius: var(--r-m);
	background: var(--secondary-container);
}
.burger-lines {
	position: relative;
	display: block;
	width: 20px;
	height: 14px;
	margin: 0 auto;
}
.burger-lines i {
	position: absolute;
	left: 0;
	right: 0;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: translate 0.45s var(--spring-bouncy), rotate 0.45s var(--spring-bouncy), opacity 0.2s;
}
.burger-lines i:nth-child(1) { top: 0; }
.burger-lines i:nth-child(2) { top: 6px; }
.burger-lines i:nth-child(3) { top: 12px; }
.nav-burger[aria-expanded="true"] .burger-lines i:nth-child(1) { translate: 0 6px; rotate: 45deg; }
.nav-burger[aria-expanded="true"] .burger-lines i:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] .burger-lines i:nth-child(3) { translate: 0 -6px; rotate: -45deg; }

.nav-sheet {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0 16px 12px;
	padding: 12px;
	border-radius: var(--r-l);
	background: var(--surface-1);
	box-shadow: var(--shadow);
	transform-origin: top right;
	animation: pop-in 0.5s var(--spring) both;
}
.nav-sheet[hidden] {
	display: none;
}
.nav-sheet a:not(.btn) {
	padding: 14px 18px;
	border-radius: var(--r-m);
	color: var(--text-strong);
	font-weight: 600;
	text-decoration: none;
}
.nav-sheet a:not(.btn)[aria-current="page"] {
	background: var(--secondary-container);
	color: var(--on-secondary-container);
}
.nav-sheet .btn {
	margin-top: 6px;
}

@media (max-width: 900px) {
	.nav-links,
	.nav-cta {
		display: none;
	}
	.nav-burger {
		display: block;
	}
	.nav-in {
		height: 68px;
	}
}

/* --- Shapes and morphs ----------------------------------------------------- */

.shape {
	position: relative;
	display: inline-grid;
	place-items: center;
	flex: 0 0 auto;
	width: 64px;
	height: 64px;
	color: var(--on-primary-container);
}
.shape-svg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
}
.shape-svg path {
	fill: var(--primary-container);
}
.shape > svg:not(.shape-svg),
.shape > .shape-ic {
	position: relative;
	width: 28px;
	height: 28px;
}
.shape.tertiary {
	color: var(--on-tertiary-container);
}
.shape.tertiary .shape-svg path {
	fill: var(--tertiary-container);
}
.shape.secondary {
	color: var(--on-secondary-container);
}
.shape.secondary .shape-svg path {
	fill: var(--secondary-container);
}
.shape.lg {
	width: 88px;
	height: 88px;
}
.shape.lg > svg:not(.shape-svg) {
	width: 36px;
	height: 36px;
}
.ic {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.morph {
	position: absolute;
	pointer-events: none;
}
.morph-svg {
	width: 100%;
	height: 100%;
	overflow: visible;
}
.morph-svg path {
	fill: var(--morph-fill, var(--primary-container));
}

.wave-line {
	display: block;
	overflow: hidden;
	color: var(--primary);
	height: 16px;
}
.wave-svg {
	display: block;
	max-width: none;
	animation: wave-slide 1.4s linear infinite;
}
.wave-svg path {
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
}

/* --- Motion ---------------------------------------------------------------- */

@keyframes wave-slide {
	to { transform: translateX(var(--wave-shift, -36px)); }
}
@keyframes pop-in {
	from { opacity: 0; transform: scale(0.85) translateY(-8px); }
	to { opacity: 1; transform: none; }
}
@keyframes float-y {
	0%, 100% { translate: 0 0; }
	50% { translate: 0 -12px; }
}
@keyframes bubble-in {
	0% { opacity: 0; transform: translateY(14px) scale(0.7); }
	12%, 82% { opacity: 1; transform: none; }
	92%, 100% { opacity: 0; transform: translateY(-6px) scale(0.96); }
}
@keyframes typing-dot {
	0%, 60%, 100% { transform: translateY(0) scale(0.8); opacity: 0.45; }
	30% { transform: translateY(-4px) scale(1); opacity: 1; }
}
@keyframes flip-swap {
	0%, 40% { transform: none; opacity: 1; }
	48%, 100% { transform: rotateY(90deg) scale(0.7); opacity: 0; }
}
@keyframes flip-swap-in {
	0%, 48% { transform: rotateY(-90deg) scale(0.7); opacity: 0; }
	62%, 100% { transform: none; opacity: 1; }
}
@keyframes bar-grow {
	from { width: 0; }
}

/* Scroll reveal: added by site.js when the block enters the viewport. */
.js [data-reveal] {
	opacity: 0;
	translate: 0 28px;
	scale: 0.98;
}
.js [data-reveal].is-in {
	opacity: 1;
	translate: 0 0;
	scale: 1;
	transition:
		opacity 0.6s var(--ease) var(--d, 0ms),
		translate 0.8s var(--spring) var(--d, 0ms),
		scale 0.8s var(--spring) var(--d, 0ms);
}

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

/* --- Sections -------------------------------------------------------------- */

.section {
	position: relative;
	padding: 104px 0;
}
.section.tight {
	padding: 64px 0;
}
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--secondary-container);
	color: var(--on-secondary-container);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.02em;
}
.eyebrow .dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--success);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--success) 25%, transparent);
}
.display {
	font-size: clamp(42px, 6vw, 78px);
	line-height: 1;
	letter-spacing: -0.04em;
	font-weight: 800;
}
.display em {
	font-style: normal;
	color: var(--primary);
}
.headline {
	font-size: clamp(32px, 4.6vw, 58px);
	line-height: 1.05;
	letter-spacing: -0.03em;
	font-weight: 800;
}
.lede {
	font-size: clamp(18px, 1.6vw, 21px);
	color: var(--text-soft);
	max-width: 620px;
}
.section-head {
	display: grid;
	justify-items: start;
	gap: 18px;
	max-width: 760px;
	margin-bottom: 56px;
}
.section-head.center {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	justify-items: center;
}

/* --- Home: hero -------------------------------------------------------------- */

.hero {
	position: relative;
	padding: 56px 0 96px;
	overflow: clip;
}
.hero-in {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	align-items: center;
	gap: 56px;
}
.hero-copy {
	display: grid;
	gap: 26px;
	justify-items: start;
}
.hero-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 6px;
}
.hero-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	color: var(--muted);
	font-size: 15px;
	margin-top: 4px;
}
.hero-facts span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.hero-facts svg {
	width: 18px;
	height: 18px;
	color: var(--success);
}
.hero-visual {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 560px;
}
.hero-visual .morph.big {
	width: 540px;
	height: 540px;
	--morph-fill: var(--primary-container);
	opacity: 0.9;
}
.hero-visual .morph.small {
	width: 150px;
	height: 150px;
	right: 2%;
	top: 4%;
	--morph-fill: var(--tertiary-container);
}

/* Chat mock-up in a phone frame. */
.phone {
	position: relative;
	width: 320px;
	border-radius: 44px;
	padding: 12px;
	background: var(--surface-3);
	box-shadow: var(--shadow), inset 0 0 0 1px var(--outline-strong);
	animation: float-y 7s ease-in-out infinite;
}
.phone-screen {
	display: grid;
	grid-template-rows: auto 1fr auto;
	height: 520px;
	border-radius: 34px;
	overflow: hidden;
	background: var(--bg);
}
.pm-top {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 18px 16px 12px;
	background: var(--surface-1);
}
.pm-av {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 34%;
	background: #a695e7;
	color: #fff;
	font-weight: 800;
	font-size: 15px;
}
.pm-name {
	display: block;
	color: var(--text-strong);
	font-weight: 700;
	font-size: 15px;
	line-height: 1.2;
}
.pm-state {
	display: block;
	color: var(--success);
	font-size: 12px;
}
.pm-body {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 8px;
	padding: 14px;
}
.pm-bub {
	max-width: 80%;
	padding: 9px 13px 7px;
	border-radius: 20px 20px 20px 6px;
	background: var(--surface-2);
	color: var(--text);
	font-size: 14px;
	line-height: 1.35;
	transform-origin: bottom left;
	animation: bubble-in 12s var(--spring) infinite both;
}
.pm-bub.out {
	align-self: flex-end;
	border-radius: 20px 20px 6px 20px;
	background: var(--primary-container);
	color: var(--on-primary-container);
	transform-origin: bottom right;
}
.pm-bub em {
	display: block;
	margin-top: 2px;
	font-style: normal;
	font-size: 11px;
	opacity: 0.6;
	text-align: right;
}
.pm-bub:nth-child(1) { animation-delay: 0s; }
.pm-bub:nth-child(2) { animation-delay: 0.9s; }
.pm-bub:nth-child(3) { animation-delay: 1.8s; }
.pm-bub:nth-child(4) { animation-delay: 2.7s; }
.pm-voice {
	display: flex;
	align-items: center;
	gap: 9px;
}
.pm-voice b {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 10px;
	background: var(--primary);
	color: var(--on-primary);
	font-size: 11px;
}
.pm-voice i {
	display: block;
	width: 3px;
	border-radius: 2px;
	background: currentColor;
	opacity: 0.8;
}
.pm-typing {
	display: inline-flex;
	gap: 4px;
	align-self: flex-start;
	padding: 10px 14px;
	border-radius: 999px;
	background: var(--surface-2);
	animation: bubble-in 12s var(--spring) 3.6s infinite both;
}
.pm-typing i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--primary);
	animation: typing-dot 1.2s ease-in-out infinite;
}
.pm-typing i:nth-child(2) { animation-delay: 0.15s; }
.pm-typing i:nth-child(3) { animation-delay: 0.3s; }
.pm-foot {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 12px 14px;
}
.pm-input {
	flex: 1;
	height: 42px;
	padding: 0 16px;
	border-radius: 999px;
	background: var(--surface-2);
	color: var(--muted);
	font-size: 14px;
	line-height: 42px;
}
/* The send button flips between microphone and send, like in the app. */
.pm-send {
	position: relative;
	display: grid;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--primary);
	color: var(--on-primary);
	perspective: 100px;
	animation: send-shape 6s var(--spring) infinite;
}
.pm-send svg {
	grid-area: 1 / 1;
	place-self: center;
	width: 20px;
	height: 20px;
}
.pm-send .mic { animation: flip-swap 6s ease-in infinite alternate; }
.pm-send .send { animation: flip-swap-in 6s var(--spring-bouncy) infinite alternate; }
@keyframes send-shape {
	0%, 45% { border-radius: 50%; }
	55%, 100% { border-radius: 14px; }
}
.float-chip {
	position: absolute;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 18px 12px 12px;
	border-radius: 999px;
	background: var(--surface-1);
	box-shadow: var(--shadow);
	color: var(--text-strong);
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
	animation: float-y 6s ease-in-out infinite;
}
.float-chip .shape {
	width: 36px;
	height: 36px;
}
.float-chip .shape > svg:not(.shape-svg) {
	width: 18px;
	height: 18px;
}
.float-chip.a { left: -2%; top: 18%; animation-delay: -2s; }
.float-chip.b { right: -4%; bottom: 16%; animation-delay: -4s; }

@media (max-width: 1000px) {
	.hero-in {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.hero-visual {
		min-height: 500px;
	}
	.hero-visual .morph.big {
		width: min(480px, 110vw);
		height: min(480px, 110vw);
	}
}
@media (max-width: 520px) {
	.float-chip { display: none; }
	.phone { width: 290px; }
	.phone-screen { height: 470px; }
	.hero { padding-top: 28px; }
}

/* --- Home: bento of features -------------------------------------------------- */

.bento {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 16px;
}
.tile {
	position: relative;
	display: grid;
	align-content: start;
	gap: 14px;
	padding: 32px;
	border-radius: var(--r-xl);
	background: var(--surface-1);
	color: var(--text);
	text-decoration: none;
	overflow: hidden;
	transition: border-radius 0.5s var(--spring), background-color 0.25s var(--ease), translate 0.5s var(--spring);
}
a.tile:hover,
.tile[data-shape-host]:hover {
	border-radius: var(--r-xxl);
	background: var(--surface-2);
}
a.tile:hover {
	translate: 0 -4px;
}
.tile h3 {
	font-size: 22px;
	letter-spacing: -0.015em;
	line-height: 1.2;
}
.tile p {
	color: var(--text-soft);
	font-size: 16px;
}
.tile.span-2 { grid-column: span 2; }
.tile.span-3 { grid-column: span 3; }
.tile.span-4 { grid-column: span 4; }
.tile.accent {
	background: var(--primary-container);
	color: var(--on-primary-container);
}
/* On the tonal tile the shape takes the primary colour so it stays visible. */
.tile.accent .shape {
	color: var(--on-primary);
}
.tile.accent .shape-svg path {
	fill: var(--primary);
}
.tile.accent h3,
.tile.accent p {
	color: var(--on-primary-container);
}
.tile.accent:hover {
	background: color-mix(in srgb, var(--primary-container) 88%, var(--text));
}
.tile-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 4px;
	color: var(--primary);
	font-weight: 700;
	font-size: 15px;
}
.tile.accent .tile-more {
	color: var(--on-primary-container);
}
.tile-more svg {
	width: 18px;
	height: 18px;
	transition: translate 0.4s var(--spring-bouncy);
}
a.tile:hover .tile-more svg {
	translate: 5px 0;
}
@media (max-width: 960px) {
	.bento { grid-template-columns: repeat(2, 1fr); }
	.tile.span-2, .tile.span-3, .tile.span-4 { grid-column: span 1; }
	.tile.wide-sm { grid-column: span 2; }
}
@media (max-width: 600px) {
	.bento { grid-template-columns: 1fr; }
	.tile.wide-sm { grid-column: span 1; }
	.tile { padding: 26px; }
}

/* Small UI samples inside tiles. */
.mini-poll {
	display: grid;
	gap: 8px;
	margin-top: 6px;
}
.mini-poll div {
	position: relative;
	display: flex;
	justify-content: space-between;
	padding: 10px 14px;
	border-radius: var(--r-s);
	background: var(--surface-3);
	font-size: 14px;
	font-weight: 600;
	overflow: hidden;
	isolation: isolate;
}
.mini-poll div::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: var(--w);
	z-index: -1;
	border-radius: inherit;
	background: color-mix(in srgb, var(--primary) 30%, transparent);
}
.is-in .mini-poll div::before {
	animation: bar-grow 1.2s var(--spring) both;
}
.mini-wave {
	display: flex;
	align-items: center;
	gap: 3px;
	height: 40px;
	margin-top: 6px;
}
.mini-wave i {
	flex: 1;
	max-width: 5px;
	border-radius: 3px;
	background: currentColor;
	opacity: 0.85;
	animation: typing-dot 1.6s ease-in-out infinite;
}
.chips-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 6px;
}
.chip {
	padding: 8px 14px;
	border-radius: var(--r-s);
	background: var(--surface-3);
	font-size: 14px;
	font-weight: 600;
	transition: border-radius 0.4s var(--spring);
}
.chip.on {
	border-radius: var(--r-pill);
	background: var(--primary);
	color: var(--on-primary);
}
.swatches {
	display: flex;
	gap: 10px;
	margin-top: 8px;
}
.swatches i {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	transition: border-radius 0.45s var(--spring), scale 0.45s var(--spring-bouncy);
}
.swatches i:hover {
	border-radius: 30%;
	scale: 1.12;
}

/* --- Home: how encryption works --------------------------------------------- */

.steps-row {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.steps-row .wave-line {
	position: absolute;
	left: 12%;
	right: 12%;
	top: 44px;
	opacity: 0.55;
}
.step {
	position: relative;
	display: grid;
	gap: 14px;
	justify-items: center;
	text-align: center;
	padding: 0 12px;
}
.step h3 {
	font-size: 21px;
}
.step p {
	color: var(--text-soft);
	font-size: 16px;
	max-width: 320px;
}
.step-num {
	position: absolute;
	top: -4px;
	right: calc(50% - 56px);
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--primary);
	color: var(--on-primary);
	font-weight: 800;
	font-size: 14px;
}
@media (max-width: 800px) {
	.steps-row { grid-template-columns: 1fr; gap: 44px; }
	.steps-row .wave-line { display: none; }
}

/* --- Platforms --------------------------------------------------------------- */

.platforms {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 16px;
}
.platform {
	display: grid;
	justify-items: start;
	gap: 16px;
	padding: 28px;
	border-radius: var(--r-xl);
	background: var(--surface-1);
	color: var(--text);
	text-decoration: none;
	transition: border-radius 0.5s var(--spring), background-color 0.25s var(--ease), translate 0.5s var(--spring);
}
.platform:hover {
	border-radius: var(--r-xxl);
	background: var(--surface-2);
	translate: 0 -4px;
}
.platform.is-you {
	box-shadow: inset 0 0 0 2px var(--primary);
}
.platform h3 {
	font-size: 22px;
}
.platform .ver {
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--surface-3);
	color: var(--text-soft);
	font: 600 13px/1 var(--mono);
}
.platform .os {
	width: 28px;
	height: 28px;
	fill: currentColor;
}
@media (max-width: 900px) {
	.platforms { grid-template-columns: repeat(2, 1fr); }
	.platforms .platform:last-child:nth-child(odd) { grid-column: span 2; }
}
@media (max-width: 480px) {
	.platforms { grid-template-columns: 1fr; }
	.platforms .platform:last-child:nth-child(odd) { grid-column: auto; }
}

/* --- Call to action band --------------------------------------------------- */

.cta-band {
	position: relative;
	display: grid;
	justify-items: center;
	gap: 22px;
	padding: 88px 32px;
	border-radius: var(--r-xxl);
	background: var(--primary-container);
	color: var(--on-primary-container);
	text-align: center;
	overflow: hidden;
	isolation: isolate;
}
.cta-band h2 {
	color: var(--on-primary-container);
}
.cta-band p {
	color: color-mix(in srgb, var(--on-primary-container) 80%, transparent);
	max-width: 560px;
	font-size: 19px;
}
.cta-band .morph {
	z-index: -1;
	--morph-fill: color-mix(in srgb, var(--primary) 22%, transparent);
}
.cta-band .morph.one { width: 360px; height: 360px; left: -110px; top: -120px; }
.cta-band .morph.two { width: 280px; height: 280px; right: -80px; bottom: -110px; }

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

.page-hero {
	position: relative;
	padding: 72px 0 56px;
	overflow: clip;
}
.page-hero .wrap {
	position: relative;
	display: grid;
	gap: 22px;
	justify-items: start;
}
.page-hero .lede,
.page-hero .pp-meta {
	max-width: 700px;
}
.page-hero .morph {
	width: 300px;
	height: 300px;
	right: max(-60px, calc((100vw - 1200px) / 2 - 40px));
	top: 10px;
	--morph-fill: var(--secondary-container);
	opacity: 0.8;
}
@media (max-width: 700px) {
	.page-hero .morph { width: 180px; height: 180px; right: -60px; top: -20px; }
	.page-hero { padding-top: 40px; }
}

/* --- Features page ------------------------------------------------------------ */

.jump {
	position: sticky;
	top: 76px;
	z-index: 20;
	padding: 12px 0;
	background: color-mix(in srgb, var(--bg) 86%, transparent);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}
.jump-in {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	scrollbar-width: none;
}
.jump-in::-webkit-scrollbar {
	display: none;
}
.jump a {
	flex: 0 0 auto;
	padding: 10px 18px;
	border-radius: var(--r-s);
	background: var(--surface-2);
	color: var(--text-soft);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: border-radius 0.45s var(--spring), background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.jump a:hover {
	color: var(--text-strong);
}
.jump a.is-on {
	border-radius: 999px;
	background: var(--primary);
	color: var(--on-primary);
}
@media (max-width: 900px) {
	.jump { top: 68px; }
}

.feature {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 64px;
	padding: 88px 0;
	scroll-margin-top: 150px;
}
.feature + .feature {
	border-top: 1px solid var(--outline);
}
.feature:nth-of-type(even) .feature-art {
	order: -1;
}
.feature-copy {
	display: grid;
	gap: 20px;
	justify-items: start;
}
.feature-copy h2 {
	font-size: clamp(30px, 3.6vw, 46px);
	line-height: 1.08;
	letter-spacing: -0.025em;
	font-weight: 800;
}
.feature-copy > p {
	color: var(--text-soft);
	font-size: 18px;
}
.checks {
	display: grid;
	gap: 12px;
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
}
.checks li {
	position: relative;
	padding-left: 34px;
	color: var(--text);
}
.checks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 4px;
	width: 20px;
	height: 20px;
	border-radius: 7px;
	background: var(--primary-container) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.4l3 3 6-6.6' fill='none' stroke='%239ecaff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
@media (prefers-color-scheme: light) {
	.checks li::before {
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.4l3 3 6-6.6' fill='none' stroke='%231a62b4' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	}
}
.feature-art {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 420px;
	padding: 40px;
	border-radius: var(--r-xxl);
	background: var(--surface-1);
	overflow: hidden;
	isolation: isolate;
}
.feature-art .morph {
	z-index: -1;
	width: 380px;
	height: 380px;
	--morph-fill: var(--surface-3);
}
@media (max-width: 900px) {
	.feature {
		grid-template-columns: 1fr;
		gap: 36px;
		padding: 64px 0;
	}
	.feature:nth-of-type(even) .feature-art {
		order: 0;
	}
	.feature-art {
		min-height: 340px;
		padding: 24px;
	}
}

/* Mock UI pieces used as feature illustrations. */
.card-ui {
	display: grid;
	gap: 10px;
	width: min(360px, 100%);
	padding: 18px;
	border-radius: var(--r-l);
	background: var(--surface);
	box-shadow: var(--shadow);
}
.ui-bub {
	max-width: 85%;
	padding: 10px 14px;
	border-radius: 20px 20px 20px 6px;
	background: var(--surface-2);
	font-size: 15px;
	line-height: 1.4;
}
.ui-bub.out {
	justify-self: end;
	border-radius: 20px 20px 6px 20px;
	background: var(--primary-container);
	color: var(--on-primary-container);
}
.ui-bub b { font-weight: 800; }
.ui-bub s { opacity: 0.7; }
.ui-bub code { background: color-mix(in srgb, var(--text) 12%, transparent); }
.ui-react {
	display: flex;
	gap: 6px;
	margin-top: -4px;
}
.ui-react span {
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--surface-3);
	font-size: 13px;
	font-weight: 700;
}
.ui-row {
	display: flex;
	align-items: center;
	gap: 12px;
}
.ui-muted {
	color: var(--muted);
	font-size: 13px;
}
.ui-strong {
	color: var(--text-strong);
	font-weight: 700;
}
.ui-bar {
	display: block;
	height: 14px;
	overflow: hidden;
	color: var(--primary);
}
.ui-track {
	height: 4px;
	border-radius: 4px;
	background: color-mix(in srgb, var(--primary) 28%, transparent);
}
.call-ui {
	display: grid;
	justify-items: center;
	gap: 18px;
	width: min(320px, 100%);
	padding: 28px 22px;
	border-radius: var(--r-xl);
	background: var(--surface);
	box-shadow: var(--shadow);
}
.call-av {
	position: relative;
	display: grid;
	place-items: center;
	width: 104px;
	height: 104px;
	border-radius: 50%;
	background: #e17076;
	color: #fff;
	font-size: 34px;
	font-weight: 800;
}
.call-av::before,
.call-av::after {
	content: "";
	position: absolute;
	inset: -10px;
	border-radius: 50%;
	border: 3px solid color-mix(in srgb, var(--primary) 50%, transparent);
	animation: ring 2.4s var(--ease) infinite;
}
.call-av::after {
	animation-delay: 1.2s;
}
@keyframes ring {
	from { scale: 0.9; opacity: 1; }
	to { scale: 1.45; opacity: 0; border-radius: 38%; }
}
.call-actions {
	display: flex;
	gap: 14px;
}
.call-actions span {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--surface-3);
	color: var(--text-strong);
	transition: border-radius 0.45s var(--spring);
}
.call-actions span:hover {
	border-radius: var(--r-m);
}
.call-actions span.end {
	background: #e5484d;
	color: #fff;
	border-radius: var(--r-m);
	width: 72px;
}
.call-actions svg {
	width: 24px;
	height: 24px;
}

/* --- Downloads ------------------------------------------------------------- */

.state {
	color: var(--muted);
	font-size: 15px;
}
.state[data-tone="err"] {
	color: var(--danger);
}
.dl-loading {
	width: 220px;
}
.dl-list {
	display: grid;
	gap: 18px;
}
.dl-card {
	display: grid;
	gap: 22px;
	padding: 32px;
	border-radius: var(--r-xl);
	background: var(--surface-1);
	scroll-margin-top: 100px;
	transition: border-radius 0.5s var(--spring), box-shadow 0.3s var(--ease);
}
.dl-card.is-you {
	box-shadow: inset 0 0 0 2px var(--primary);
	border-radius: var(--r-xxl);
}
.dl-top {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 18px 20px;
}
.dl-top h2 {
	font-size: 28px;
	letter-spacing: -0.02em;
}
.dl-top .state {
	margin-top: 2px;
}
.os-ic svg:not(.shape-svg) {
	width: 30px;
	height: 30px;
	fill: currentColor;
}
.badge {
	display: none;
	padding: 7px 14px;
	border-radius: 999px;
	background: var(--primary);
	color: var(--on-primary);
	font-size: 13px;
	font-weight: 800;
}
.dl-card.is-you .badge {
	display: inline-block;
	animation: pop-in 0.6s var(--spring-bouncy) both;
}
.dl-actions {
	margin-left: auto;
}
.notes {
	color: var(--text-soft);
}
.notes:empty {
	display: none;
}
.meta {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin: 0;
}
.meta > div {
	padding: 14px 18px;
	border-radius: var(--r-m);
	background: var(--surface-2);
}
.meta .full {
	grid-column: 1 / -1;
}
.meta dt {
	color: var(--muted);
	font-size: 13px;
	font-weight: 600;
}
.meta dd {
	margin: 4px 0 0;
	color: var(--text-strong);
	font-weight: 700;
}
.hash {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}
.hash code {
	flex: 1;
	min-width: 0;
	background: transparent;
	padding: 0;
	font-size: 13px;
	font-weight: 500;
	color: var(--text-soft);
}
.copy {
	border: 0;
	padding: 8px 14px;
	border-radius: var(--r-pill);
	background: var(--secondary-container);
	color: var(--on-secondary-container);
	font: 700 13px/1 var(--font);
	cursor: pointer;
	transition: border-radius 0.35s var(--spring-fast), scale 0.35s var(--spring-fast);
}
.copy:active {
	border-radius: 8px;
	scale: 0.94;
}
.alt {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.alt:empty {
	display: none;
}
.alt a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border-radius: 999px;
	border: 1px solid var(--outline-strong);
	color: var(--text-strong);
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	animation: pop-in 0.5s var(--spring) both;
}
.alt .sz {
	color: var(--muted);
	font-weight: 500;
}
.num-steps {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: s;
}
.num-steps li {
	position: relative;
	padding-left: 44px;
	color: var(--text-soft);
	counter-increment: s;
}
.num-steps li::before {
	content: counter(s);
	position: absolute;
	left: 0;
	top: -1px;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 38%;
	background: var(--secondary-container);
	color: var(--on-secondary-container);
	font-weight: 800;
	font-size: 14px;
}
.two-col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}
.panel {
	display: grid;
	align-content: start;
	gap: 16px;
	padding: 32px;
	border-radius: var(--r-xl);
	background: var(--surface-1);
}
.panel h3 {
	font-size: 22px;
}
.panel > p {
	color: var(--text-soft);
}
@media (max-width: 760px) {
	.meta { grid-template-columns: 1fr 1fr; }
	.dl-actions { margin-left: 0; width: 100%; }
	.dl-actions .btn { width: 100%; }
	.two-col { grid-template-columns: 1fr; }
	.dl-card, .panel { padding: 24px; }
}

/* --- What's new ---------------------------------------------------------------- */

.ch-day {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 32px;
	padding: 40px 0;
	border-top: 1px solid var(--outline);
}
.ch-day:first-of-type {
	border-top: 0;
}
.ch-day-head h2 {
	position: sticky;
	top: 100px;
	display: inline-block;
	padding: 10px 18px;
	border-radius: 999px;
	background: var(--secondary-container);
	color: var(--on-secondary-container);
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.01em;
}
.ch-list {
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ch-item {
	position: relative;
	display: grid;
	gap: 8px;
	padding: 24px 28px 24px 64px;
	border-radius: var(--r-l);
	background: var(--surface-1);
	transition: border-radius 0.5s var(--spring), background-color 0.25s var(--ease);
}
.ch-item:hover {
	border-radius: var(--r-xl);
	background: var(--surface-2);
}
.ch-item::before {
	content: "";
	position: absolute;
	left: 26px;
	top: 29px;
	width: 16px;
	height: 16px;
	border-radius: 34%;
	background: var(--primary);
	rotate: 45deg;
	transition: rotate 0.6s var(--spring-bouncy), border-radius 0.6s var(--spring);
}
.ch-item:hover::before {
	rotate: 135deg;
	border-radius: 50%;
}
.ch-item h3 {
	font-size: 20px;
	line-height: 1.3;
	letter-spacing: -0.01em;
}
.ch-item p {
	color: var(--text-soft);
	line-height: 1.66;
}
.ch-where {
	margin: 4px 0 0;
	padding-left: 20px;
	color: var(--text-soft);
	line-height: 1.62;
}
.ch-where li {
	margin: 6px 0;
}
.ch-where b {
	color: var(--text-strong);
	font-weight: 700;
}
.ch-foot {
	margin-top: 24px;
	padding: 24px 28px;
	border-radius: var(--r-l);
	background: var(--surface-1);
	color: var(--muted);
}
@media (max-width: 800px) {
	.ch-day {
		grid-template-columns: 1fr;
		gap: 16px;
		padding: 28px 0;
	}
	.ch-day-head h2 {
		position: static;
	}
	.ch-item {
		padding: 20px 20px 20px 52px;
	}
	.ch-item::before {
		left: 20px;
		top: 25px;
	}
}

/* --- Privacy policy and account deletion -------------------------------------- */

.doc {
	display: grid;
	grid-template-columns: 250px minmax(0, 1fr);
	gap: 56px;
	align-items: start;
	padding-bottom: 96px;
}
.toc {
	position: sticky;
	top: 100px;
	display: grid;
	gap: 2px;
	max-height: calc(100vh - 130px);
	overflow-y: auto;
	padding: 8px;
	border-radius: var(--r-l);
	background: var(--surface-1);
	font-size: 14px;
	scrollbar-width: thin;
	scrollbar-color: var(--surface-3) transparent;
}
.toc a {
	padding: 9px 14px;
	border-radius: var(--r-s);
	color: var(--text-soft);
	text-decoration: none;
	line-height: 1.35;
	transition: background-color 0.2s var(--ease), border-radius 0.4s var(--spring), color 0.2s var(--ease);
}
.toc a:hover {
	background: var(--surface-2);
	color: var(--text-strong);
}
.toc a.is-on {
	border-radius: 999px;
	background: var(--secondary-container);
	color: var(--on-secondary-container);
	font-weight: 700;
}
.pp-body {
	display: grid;
	gap: 14px;
	max-width: 780px;
}
.pp-meta,
.pp-lead {
	color: var(--text-soft);
	font-size: 18px;
}
.pp-sec {
	display: grid;
	gap: 12px;
	padding: 28px 32px;
	border-radius: var(--r-l);
	background: var(--surface-1);
	scroll-margin-top: 100px;
}
.pp-sec h2 {
	font-size: 22px;
	letter-spacing: -0.015em;
}
.pp-sec p,
.pp-sec li {
	color: var(--text-soft);
	line-height: 1.7;
}
.pp-sec ul {
	margin: 0;
	padding-left: 22px;
	display: grid;
	gap: 6px;
}
.pp-sec b {
	color: var(--text-strong);
}
@media (max-width: 900px) {
	.doc {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	.toc {
		display: none;
	}
	.pp-sec {
		padding: 22px 22px;
	}
}

.da-card {
	display: grid;
	gap: 20px;
	max-width: 560px;
	padding: 36px;
	border-radius: var(--r-xl);
	background: var(--surface-1);
	margin-bottom: 96px;
}
.da-form {
	display: grid;
	gap: 16px;
}
.da-field {
	display: grid;
	gap: 8px;
	font-weight: 600;
	font-size: 15px;
	color: var(--text-strong);
}
.da-input {
	height: 56px;
	padding: 0 18px;
	border: 1px solid var(--outline-strong);
	border-radius: var(--r-m);
	background: var(--surface);
	color: var(--text-strong);
	font: 500 16px var(--font);
	transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), border-radius 0.4s var(--spring);
}
.da-input:focus {
	outline: none;
	border-color: var(--primary);
	border-radius: var(--r-l);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 22%, transparent);
}
.da-check {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	color: var(--text-soft);
	font-size: 15px;
	cursor: pointer;
}
.da-check input {
	width: 22px;
	height: 22px;
	margin: 1px 0 0;
	accent-color: var(--danger);
	flex: 0 0 auto;
}
.da-btn {
	justify-self: start;
	min-height: 52px;
	padding: 0 28px;
	border: 0;
	border-radius: var(--r-pill);
	background: #e5484d;
	color: #fff;
	font: 700 16px var(--font);
	cursor: pointer;
	transition: border-radius 0.35s var(--spring-fast), scale 0.35s var(--spring-fast), opacity 0.2s;
}
.da-btn:active {
	border-radius: var(--r-s);
	scale: 0.96;
}
.da-btn:disabled {
	opacity: 0.6;
	cursor: wait;
}
.da-msg {
	min-height: 1.6em;
	color: var(--text-strong);
	font-weight: 600;
}
.da-note {
	color: var(--muted);
	font-size: 15px;
}

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

.foot {
	position: relative;
	margin-top: 40px;
	padding: 0 0 48px;
	background: var(--surface);
}
.foot-wave {
	position: relative;
	top: -8px;
	height: 16px;
	color: var(--primary);
	opacity: 0.6;
	overflow: hidden;
}
.foot-in {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1fr;
	gap: 40px;
	padding-top: 48px;
}
.foot-brand {
	display: grid;
	gap: 16px;
	align-content: start;
}
.foot-note {
	color: var(--muted);
	font-size: 15px;
	max-width: 360px;
}
.foot-col {
	display: grid;
	gap: 10px;
	align-content: start;
}
.foot-col h2 {
	margin-bottom: 4px;
	color: var(--muted);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.foot-col a {
	justify-self: start;
	color: var(--text-soft);
	font-size: 15px;
	text-decoration: none;
	transition: color 0.2s var(--ease), translate 0.35s var(--spring-bouncy);
}
.foot-col a:hover {
	color: var(--text-strong);
	translate: 4px 0;
}
@media (max-width: 800px) {
	.foot-in {
		grid-template-columns: 1fr 1fr;
	}
	.foot-brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 600px) {
	body { font-size: 16px; }
	.wrap { padding: 0 16px; }
	.section { padding: 72px 0; }
	.cta-band { padding: 64px 22px; border-radius: var(--r-xl); }
	.btn-lg { min-height: 56px; padding: 0 26px; }
	.hero-cta .btn { flex: 1 1 100%; }
}

.nav-links a {
	white-space: nowrap;
}

/* No rectangle flashing over tapped buttons and links on phones. */
html,
* {
	-webkit-tap-highlight-color: transparent;
}
:focus:not(:focus-visible) {
	outline: none;
}
