:root {
	--bg: #050a13;
	--deep: #02050b;
	--panel: #081323;
	--paper: #eef5ff;
	--lime: #2f8cff;
	--cyan: #22d3ee;
	--violet: #8b5cf6;
	--amber: #ffb454;
	--muted: #8ea2bc;
	--line: rgba(127, 171, 255, 0.2);
}

body {
	background:
		radial-gradient(circle at 76% 0, rgba(29, 105, 255, 0.25), transparent 33rem),
		radial-gradient(circle at 8% 38%, rgba(139, 92, 246, 0.1), transparent 28rem),
		linear-gradient(145deg, #050a13 0%, #07101f 48%, #02050a 100%);
}

.announcement {
	border-bottom-color: rgba(47, 140, 255, 0.4);
	background: linear-gradient(90deg, #061225, #0a1730 55%, #10102b);
}

.announcement span {
	color: var(--cyan);
}

body > header {
	background: linear-gradient(#020712e8, #0207125c, transparent);
}

.brand,
.links,
.menu-button {
	background: #020711;
}

.brand-icon {
	border-color: #6685b2;
}

.links a {
	color: #a9b9ce;
}

.lime,
.files footer i,
.explain-title > span,
.shield > i {
	color: #031027;
}

.button.lime {
	background: linear-gradient(120deg, #2f8cff, #22d3ee);
	box-shadow: 0 14px 36px rgba(47, 140, 255, 0.24);
}

h1 em,
h2 em {
	background: linear-gradient(100deg, #2f8cff 5%, #22d3ee 58%, #8b5cf6);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

h1 em::after,
h2 em::after {
	background: linear-gradient(90deg, #2f8cff, #22d3ee, #8b5cf6);
}

.text-link {
	border-bottom-color: rgba(104, 157, 255, 0.6);
}

.trust {
	color: #7187a4;
}

.trust b {
	color: #c8d7e9;
}

.product,
.demo,
.shield {
	border-color: rgba(94, 147, 255, 0.28);
	background: #020711;
	box-shadow: 0 28px 80px rgba(0, 0, 0, 0.58), 0 0 55px rgba(47, 140, 255, 0.07);
}

.product figcaption,
.demo > header,
.shield > header {
	background: #08172d;
	color: #879bb5;
}

.files {
	border-right-color: rgba(127, 171, 255, 0.18);
	color: #7188a6;
}

.files b {
	background: #0e294d;
	color: #d4e2f4;
}

.editor code {
	color: #b8c9df;
}

.editor code i {
	color: #4c6482;
}

.editor code u {
	color: var(--cyan);
}

.editor code b {
	color: #c084fc;
}

.editor mark,
.demo mark {
	background: rgba(47, 140, 255, 0.14);
}

.selected {
	border-color: rgba(47, 140, 255, 0.45);
	background: #0d3970;
}

.explain {
	background: #071528;
}

.explain article {
	border-color: rgba(47, 140, 255, 0.32);
	background: linear-gradient(135deg, rgba(47, 140, 255, 0.1), rgba(34, 211, 238, 0.04));
}

.languages > span {
	color: #7188a6;
}

.contrast {
	background: #080c14;
}

.split.inside,
.split.inside::before {
	background: #030811;
}

.split > div > p:not(.eyebrow),
.diagram footer {
	color: #8fa2ba;
}

.diagram {
	border-color: rgba(113, 158, 245, 0.24);
	background: rgba(30, 75, 148, 0.08);
}

.diagram header,
.diagram .rays,
.diagram .flow {
	color: #8295ad;
}

.steps button {
	color: #879ab2;
}

.steps button.active {
	background: linear-gradient(90deg, rgba(47, 140, 255, 0.12), transparent);
}

.demo pre {
	background: #01040a;
}

.context {
	background: #09182c;
}

.context b {
	color: #031027;
}

.demo article {
	border-color: rgba(47, 140, 255, 0.42);
	background: linear-gradient(120deg, #0a2850, #18205c);
}

.cards article > small {
	color: #6e85a3;
}

.cards article > i {
	border-color: rgba(47, 140, 255, 0.45);
}

.cards article:nth-child(3n + 2) > i {
	border-color: rgba(139, 92, 246, 0.55);
	color: #a78bfa;
}

.cards article:nth-child(3n) > i {
	border-color: rgba(34, 211, 238, 0.5);
	color: var(--cyan);
}

.cards article:nth-child(3n + 2) {
	background: linear-gradient(145deg, rgba(139, 92, 246, 0.045), transparent 58%);
}

.cards article:nth-child(3n) {
	background: linear-gradient(145deg, rgba(34, 211, 238, 0.035), transparent 58%);
}

.privacy {
	background:
		radial-gradient(circle at 82% 12%, rgba(34, 105, 230, 0.16), transparent 28rem),
		#040811;
	color: var(--paper);
}

.privacy-head .eyebrow,
.privacy-head em,
.privacy-list article > b,
.privacy-list article > span {
	color: var(--lime);
}

.privacy-head > p:last-child,
.privacy-list p {
	color: var(--muted);
}

.privacy-list,
.privacy-list article {
	border-color: rgba(127, 171, 255, 0.2);
}

.privacy-list article > span {
	border-color: rgba(47, 140, 255, 0.4);
}

.shield > p {
	color: #8398b3;
}

.shield > i {
	background: linear-gradient(145deg, #2f8cff, #22d3ee 60%, #8b5cf6);
}

.privacy {
	border-top: 1px solid rgba(139, 92, 246, 0.16);
	border-bottom: 1px solid rgba(34, 211, 238, 0.14);
}

footer {
	background: #010308;
}

footer span:last-child {
	color: #647b99;
}

.button-arrow {
	display: inline-block;
	margin-left: .55rem;
	line-height: 1;
	transition: transform .2s ease;
}

.button:hover .button-arrow {
	transform: translateX(3px);
}

html {
	scroll-padding-top: 6.5rem;
}

body {
	overflow-x: hidden;
}

section[id],
figure[id] {
	scroll-margin-top: 6.5rem;
}

.mobile-extension-link {
	display: none;
}

.menu-button {
	color: var(--paper);
}

@media (min-width: 1101px) {
	.hero {
		align-content: start;
		min-height: calc(100vh - 92px);
		min-height: calc(100svh - 92px);
		row-gap: 3rem;
		padding: 1.75rem 0 2.75rem;
	}
}

@media (max-width: 1100px) {
	.hero {
		min-height: 0;
		gap: 3rem;
		padding: 3rem 0 4rem;
	}

	.hero-copy {
		max-width: 48rem;
	}

	.product {
		width: 100%;
	}

	.languages {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.languages > span {
		grid-column: 1 / -1;
	}
}

@media (max-width: 850px) {
	body > header {
		padding: 0.7rem max(1rem, env(safe-area-inset-right)) 0.7rem max(1rem, env(safe-area-inset-left));
	}

	nav {
		position: relative;
	}

	.brand,
	.menu-button {
		height: 50px;
	}

	.links {
		top: calc(100% + 0.55rem);
		right: 0;
		left: 0;
		max-height: calc(100svh - 5.5rem);
		padding: 0.6rem;
		overflow-y: auto;
		background: rgba(2, 7, 17, 0.98);
		backdrop-filter: blur(18px);
	}

	.links a {
		display: flex;
		align-items: center;
		justify-content: space-between;
		min-height: 48px;
		padding: 0.75rem 0.9rem;
		border-radius: 10px;
	}

	.links .mobile-extension-link {
		display: none;
		margin-top: 0.35rem;
		background: linear-gradient(120deg, #2f8cff, #22d3ee);
		color: #031027;
		font-weight: 800;
	}

	.actions {
		align-items: center;
	}

	.actions > .button {
		min-height: 50px;
	}

	.section-head,
	.privacy-head {
		gap: 1.75rem;
	}

	.faq {
		gap: 3rem;
	}
}

@media (max-width: 760px) {
	.wrap {
		width: min(100% - 2rem, 44rem);
	}

	.hero {
		gap: 2.25rem;
		padding: 2rem 0 3.5rem;
	}

	.hero-copy h1 {
		font-size: clamp(3.7rem, 17vw, 5.4rem);
	}

	.lead {
		margin: 1.4rem 0;
		font-size: 1rem;
	}

	.hero-actions {
		flex-wrap: wrap;
		gap: 1rem;
	}

	.hero-actions .text-link {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
	}

	.trust {
		margin-top: 1.75rem;
		line-height: 1.9;
	}

	.how,
	.privacy,
	.faq {
		padding: 5rem 0;
	}

	.section-head {
		margin-bottom: 2.75rem;
	}

	.how-grid,
	.privacy-grid {
		gap: 2rem;
	}

	.steps button {
		grid-template-columns: 44px 92px minmax(0, 1fr);
		min-height: 68px;
		padding: 1.25rem 0;
	}

	.faq-list button {
		min-height: 64px;
		padding: 1.25rem 0;
		font-size: 1.25rem;
	}

	footer {
		padding: 3.5rem 0 max(2rem, env(safe-area-inset-bottom));
	}
}

@media (max-width: 600px) {
	body > header .actions > .button.paper {
		display: none;
	}

	.links .mobile-extension-link {
		display: flex;
	}

	.brand {
		padding: 0 0.8rem;
	}

	.hero-copy h1 {
		font-size: clamp(3.45rem, 18.5vw, 4.9rem);
	}

	.hero-actions {
		width: 100%;
	}

	.hero-actions .button {
		width: 100%;
	}

	.product {
		width: calc(100% + 1rem);
		margin-left: -0.5rem;
	}

	.languages {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding-top: 1.75rem;
	}

	.section-head h2,
	.privacy-head h2,
	.faq h2 {
		font-size: clamp(3rem, 15vw, 4.25rem);
	}

	.steps button {
		grid-template-columns: 42px minmax(0, 1fr);
	}

	.steps button span {
		grid-column: 2;
		margin-top: 0.35rem;
	}

	.privacy-list article {
		gap: 0.75rem;
	}

	.privacy-list h3 {
		font-size: 1.4rem;
	}

	.faq {
		gap: 2.5rem;
	}

	.faq-list button {
		gap: 1rem;
		font-size: 1.12rem;
	}

	.faq-list p {
		padding-right: 0;
	}

	footer p {
		font-size: 0.92rem;
	}
}

@media (max-width: 380px) {
	.wrap {
		width: calc(100% - 1.5rem);
	}

	.brand {
		gap: 0.5rem;
		padding: 0 0.6rem;
		font-size: 0.88rem;
	}

	.brand-icon {
		width: 28px;
		height: 28px;
	}

	.hero-copy h1 {
		font-size: clamp(3.15rem, 18vw, 4rem);
	}

	.languages {
		grid-template-columns: 1fr;
	}
}
