:root {
	--ink: #17171c;
	--g: #003c33;
	--stone: #eeece7;
	--line: #d9d9dd;
	--mut: #616161;
	--co: #ff7759;
	--r: 22px;
	--e: cubic-bezier(.16, 1, .3, 1);
	--sb: #17171c;
	--st: #fff;
}

* {
	box-sizing: border-box;
	margin: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font: 17px/1.55 Onest, system-ui, sans-serif;
	background: #fff;
	color: var(--ink);
	padding-bottom: env(safe-area-inset-bottom);
}

h1,
h2,
h3 {
	font-weight: 500;
	letter-spacing: -.03em;
	line-height: 1.02;
}

h1 {
	font-size: clamp(40px, 7vw, 92px);
}

h2 {
	font-size: clamp(32px, 4.8vw, 60px);
	margin-bottom: 18px;
}

h3 {
	font-size: 24px;
	line-height: 1.2;
	letter-spacing: -.01em;
}

a {
	color: inherit;
}

.w {
	max-width: 1160px;
	margin: 0 auto;
	padding: 0 clamp(18px, 4vw, 32px);
}

.k {
	font: 12px/1.4 'JetBrains Mono', monospace;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: var(--mut);
}

#bar {
	position: fixed;
	top: 0;
	left: 0;
	height: 3px;
	background: var(--co);
	width: 0;
	z-index: 20;
}

.nav {
	position: sticky;
	top: 0;
	z-index: 9;
	background: #ffffffd9;
	backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--line);
	padding-top: env(safe-area-inset-top);
}

.nav .w {
	display: flex;
	align-items: center;
	gap: 22px;
	height: 64px;
}

.logo {
	font-weight: 600;
	font-size: 19px;
	letter-spacing: -.02em;
	text-decoration: none;
	margin-right: auto;
}

.logo i {
	font-style: normal;
	color: var(--co);
}

.links {
	display: flex;
	gap: 24px;
}

.links a {
	text-decoration: none;
	color: var(--mut);
	font-size: 15px;
}

.links a:hover,
.links a[aria-current] {
	color: var(--ink);
}

.btn {
	display: inline-block;
	background: var(--ink);
	color: #fff;
	padding: 13px 26px;
	border-radius: 32px;
	text-decoration: none;
	border: 1px solid var(--ink);
	cursor: pointer;
	font: 500 15px Onest, sans-serif;
	transition: transform .25s var(--e), background .25s;
}

.btn:hover {
	transform: translateY(-2px);
}

.btn:active {
	transform: none;
}

.btn.g {
	background: none;
	color: inherit;
	border-color: currentColor;
}

.dk .btn:not(.g),
.card .btn:not(.g) {
	background: #fff;
	color: var(--ink);
	border-color: #fff;
}

.burger {
	display: none;
	background: none;
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 6px 11px;
	font-size: 18px;
}

.sec {
	padding: clamp(64px, 9vw, 120px) 0;
}

.sec.p {
	background: var(--stone);
}

.sec.dk {
	background: var(--g);
	color: #fff;
}

.mut {
	color: var(--mut);
}

.dk .mut,
.card .mut,
.card .k,
.dk .k {
	color: #ffffffa6;
}

.lead {
	font-size: clamp(18px, 2vw, 21px);
	max-width: 58ch;
	color: var(--mut);
	margin: 20px 0 30px;
}

.dk .lead {
	color: #ffffffc4;
}

.hero {
	padding: clamp(56px, 8vw, 110px) 0 clamp(48px, 6vw, 80px);
}

.hero .w {
	display: grid;
	gap: 48px;
	align-items: center;
}

.hero h1 {
	max-width: 15ch;
}

.row {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.card {
	background: var(--ink);
	color: #fff;
	border-radius: var(--r);
	padding: 28px;
	--sb: #fff;
	--st: #17171c;
}

.bar {
	margin: 16px 0;
}

.bar b {
	font-weight: 500;
}

.bar span {
	display: block;
	font-size: 14px;
	color: #ffffffa6;
}

.bar i {
	display: block;
	height: 6px;
	border-radius: 9px;
	background: #ffffff1f;
	margin-top: 8px;
	overflow: hidden;
}

.bar i::after {
	content: "";
	display: block;
	height: 100%;
	width: 25%;
	background: var(--co);
	transform-origin: left;
	animation: g .9s var(--e) both;
}

@keyframes g {
	from {
		transform: scaleX(0);
	}
}

.facts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.facts div {
	padding: 26px 0;
	color: var(--mut);
}

.facts b {
	display: block;
	font: 500 clamp(36px, 5vw, 60px) Onest;
	letter-spacing: -.03em;
	color: var(--ink);
}

.two {
	display: grid;
	gap: 40px;
}

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

.cd {
	position: relative;
	overflow: hidden;
	background: var(--stone);
	border-radius: var(--r);
	padding: 30px;
}

.sec.p .cd {
	background: #fff;
}

.cd::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(280px circle at var(--x, 50%) var(--y, 50%), #ff77591f, transparent 65%);
	opacity: 0;
	transition: opacity .3s;
}

.cd:hover::before {
	opacity: 1;
}

.cd p {
	margin-top: 10px;
	color: var(--mut);
}

.cd .k {
	margin-bottom: 14px;
	display: block;
}

.list {
	list-style: none;
	padding: 0;
}

.list li {
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
	display: flex;
	gap: 14px;
}

.list.y li::before {
	content: "+";
	color: #1f8a5b;
	font-weight: 600;
}

.list.n li::before {
	content: "–";
	color: var(--co);
	font-weight: 600;
}

.tabs {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin: 18px 0;
}

.tabs button {
	background: none;
	border: 1px solid currentColor;
	color: inherit;
	border-radius: 30px;
	padding: 8px 16px;
	cursor: pointer;
	font: 15px Onest;
	opacity: .7;
	transition: .2s;
}

.tabs button:hover {
	opacity: 1;
}

.tabs button[aria-selected=true] {
	background: var(--sb);
	color: var(--st);
	border-color: var(--sb);
	opacity: 1;
}

.panel {
	padding: clamp(24px, 4vw, 44px);
	border: 1px solid #ffffff30;
	border-radius: var(--r);
	min-height: 280px;
	margin-top: 8px;
}

.panel h3 {
	font-size: clamp(28px, 4vw, 46px);
	margin: 12px 0;
}

.panel p {
	max-width: 52ch;
	color: #ffffffc4;
}

.trk {
	height: 3px;
	background: #ffffff26;
	margin: 26px 0;
}

.trk i {
	display: block;
	height: 100%;
	background: var(--co);
	transition: width .6s var(--e);
}

.price {
	font: 500 clamp(44px, 6vw, 72px) Onest;
	letter-spacing: -.03em;
}

.price small {
	font: 15px Onest;
	color: var(--mut);
	letter-spacing: 0;
}

form {
	display: grid;
	gap: 14px;
	background: #fff;
	border-radius: var(--r);
	padding: 30px;
}

label {
	font-size: 14px;
	color: var(--mut);
}

input,
#q {
	width: 100%;
	padding: 14px;
	border-radius: 12px;
	border: 1px solid var(--line);
	background: #fff;
	color: var(--ink);
	font: 16px Onest;
}

input:focus {
	outline: 0;
	border-color: #9b60aa;
}

#q {
	margin-bottom: 6px;
}

details {
	border-bottom: 1px solid var(--line);
	padding: 18px 0;
}

summary {
	cursor: pointer;
	font-weight: 500;
	font-size: 19px;
	list-style: none;
}

summary::after {
	content: "+";
	float: right;
	font-size: 24px;
	line-height: 1;
}

details[open] summary::after {
	content: "–";
}

details p {
	margin-top: 10px;
	color: var(--mut);
	max-width: 68ch;
}

.tl {
	border-left: 1px solid var(--line);
	padding-left: 24px;
}

.tl p {
	margin-bottom: 16px;
	position: relative;
}

.tl p::before {
	content: "";
	position: absolute;
	left: -30px;
	top: 9px;
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: var(--co);
}

.status {
	color: #1f8a5b;
	font-size: 14px;
	display: none;
}

.status.show {
	display: block;
}

footer {
	border-top: 1px solid var(--line);
	padding: 36px 0 96px;
	color: var(--mut);
	font-size: 14px;
}

footer a {
	margin-right: 18px;
}

.sticky {
	display: none;
}

[data-r] {
	opacity: 0;
	transform: translateY(10px);
	transition: opacity .7s var(--e), transform .7s var(--e);
}

[data-r].in {
	opacity: 1;
	transform: none;
}

@media (min-width: 860px) {
	.hero .w {
		grid-template-columns: 1.15fr .85fr;
	}

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

	.grid.c3 {
		grid-template-columns: repeat(3, 1fr);
	}

	.grid.c2 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 759px) {
	.links {
		display: none;
		position: absolute;
		top: 64px;
		left: 0;
		right: 0;
		background: #fff;
		flex-direction: column;
		padding: 16px 20px;
		border-bottom: 1px solid var(--line);
	}

	.links.open {
		display: flex;
	}

	.burger {
		display: block;
	}

	.nav .btn {
		display: none;
	}

	.sticky {
		display: block;
		position: fixed;
		left: 12px;
		right: 12px;
		bottom: calc(10px + env(safe-area-inset-bottom));
		z-index: 9;
		text-align: center;
	}
}

:focus-visible {
	outline: 2px solid var(--co);
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	* {
		transition: none !important;
		animation: none !important;
		scroll-behavior: auto;
	}

	[data-r] {
		opacity: 1;
		transform: none;
	}
}
