:root {
	--brand: #d4103e;
	--brand-shade: #ba0e36;
	--text: #33373b;
	--muted: #6b7076;
	--dark: #16181c;
	--bg: #f7f7f5;
	--white: #fff;
	--line: #d8d5d0;
	--font: "Source Sans 3", "Segoe UI", sans-serif;
	--max: 1120px;
	--header: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font);
	font-weight: 400;
	color: var(--text);
	background: var(--bg);
	line-height: 1.6;
	font-size: 18px;
}
img { max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
	line-height: 1.2;
	font-weight: 600;
	color: var(--dark);
	margin: 0 0 0.55em;
	letter-spacing: -0.02em;
}
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.15em; }

.skip-link {
	position: absolute;
	left: -999px;
	top: 0;
	background: var(--brand);
	color: #fff;
	padding: 8px 12px;
	z-index: 1000;
}
.skip-link:focus { left: 12px; top: 12px; }

.wrap {
	width: min(var(--max), calc(100% - 48px));
	margin-inline: auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	height: var(--header);
	background: #fff;
	border-bottom: 1px solid var(--line);
}
.is-home .site-header {
	position: absolute;
	width: 100%;
	background: transparent;
	border-bottom-color: rgba(255, 255, 255, 0.18);
}
.is-home .site-header.is-solid,
body.nav-open .site-header {
	position: sticky;
	background: #fff;
	border-bottom-color: var(--line);
}
.header-inner {
	height: var(--header);
	width: min(1200px, calc(100% - 32px));
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 28px;
}
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand-logo { height: 40px; width: auto; display: block; }
.brand-logo-light { display: none; }
.is-home:not(.nav-open) .site-header:not(.is-solid) .brand-logo-color { display: none; }
.is-home:not(.nav-open) .site-header:not(.is-solid) .brand-logo-light { display: block; }

.main-nav {
	display: flex;
	align-items: stretch;
	margin-left: auto;
	height: 100%;
}
.nav-item { position: relative; display: flex; align-items: stretch; }
.nav-link {
	appearance: none;
	border: 0;
	background: none;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--dark);
	padding: 0 12px;
	display: flex;
	align-items: center;
	text-decoration: none;
	white-space: nowrap;
}
.is-home:not(.nav-open) .site-header:not(.is-solid) .nav-link { color: #fff; }
.nav-link:hover,
.nav-link.is-active,
.has-sub:hover > .nav-link,
.has-sub.is-active > .nav-link {
	color: var(--brand);
	text-decoration: none;
}
.is-home:not(.nav-open) .site-header:not(.is-solid) .nav-link:hover,
.is-home:not(.nav-open) .site-header:not(.is-solid) .nav-link.is-active,
.is-home:not(.nav-open) .site-header:not(.is-solid) .has-sub:hover > .nav-link,
.is-home:not(.nav-open) .site-header:not(.is-solid) .has-sub.is-active > .nav-link {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 6px;
}

.sub-nav {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 260px;
	background: #fff;
	border: 1px solid var(--line);
	border-top: 2px solid var(--brand);
	z-index: 30;
	padding: 6px 0;
}
.has-sub:hover .sub-nav,
.has-sub:focus-within .sub-nav { display: block; }
.sub-nav a {
	display: block;
	color: var(--dark);
	padding: 10px 16px;
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
}
.sub-nav a:hover {
	background: var(--bg);
	color: var(--brand);
	text-decoration: none;
}

.header-tools { display: flex; align-items: center; gap: 16px; margin-left: 8px; }
.lang-switch {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--dark);
	text-decoration: none;
}
.is-home:not(.nav-open) .site-header:not(.is-solid) .lang-switch { color: #fff; }
.lang-switch:hover { color: var(--brand); text-decoration: none; }

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 16px;
	font-weight: 600;
	font-family: inherit;
	font-size: 14px;
	border: 1px solid transparent;
	cursor: pointer;
	text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-app,
.btn-primary {
	background: var(--brand);
	border-color: var(--brand);
	color: #fff;
}
.btn-app:hover,
.btn-primary:hover { background: var(--brand-shade); color: #fff; }
.btn-ghost {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.55);
}
.btn-ghost:hover { background: #fff; color: var(--dark); }
.btn-light {
	background: #fff;
	color: var(--dark);
	border-color: #fff;
}
.btn-line {
	background: transparent;
	color: var(--brand);
	border-color: var(--brand);
}
.btn-line:hover { background: var(--brand); color: #fff; }

.menu-btn {
	display: none;
	width: 40px;
	height: 40px;
	border: 0;
	background: none;
	padding: 9px 8px;
	cursor: pointer;
}
.menu-btn span {
	display: block;
	height: 1px;
	background: var(--dark);
	margin: 7px 0;
}
.is-home:not(.nav-open) .site-header:not(.is-solid) .menu-btn span { background: #fff; }

.hero {
	min-height: 86vh;
	background: #16181c;
	color: #fff;
	padding: calc(var(--header) + 64px) 0 72px;
}
.hero-grid {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 48px;
	align-items: center;
	width: min(var(--max), calc(100% - 48px));
	margin: 0 auto;
}
.eyebrow {
	font-size: 13px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 600;
	color: #e7a0b0;
	margin-bottom: 18px;
}
.hero h1 {
	color: #fff;
	font-size: clamp(28px, 3.4vw, 42px);
	font-weight: 600;
	margin-bottom: 8px;
}
.hero h2 {
	color: #fff;
	font-size: clamp(32px, 5vw, 58px);
	font-weight: 600;
	margin-bottom: 24px;
}
.hero .lead { font-size: 19px; color: rgba(255, 255, 255, 0.86); max-width: 38em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-visual { display: grid; place-items: center; }
.hero-visual img { width: min(100%, 540px); }

.section { padding: 72px 0; }
.kicker {
	color: var(--brand);
	font-size: 13px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 600;
	margin-bottom: 10px;
}

.columns {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
}
.col { padding-top: 18px; border-top: 2px solid var(--brand); }
.col h2 { font-size: 26px; }
.col .more { font-weight: 600; }

.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	padding-top: 8px;
	border-top: 1px solid var(--line);
}
.news-list { list-style: disc; padding-left: 1.2em; margin: 0 0 1em; }
.news-list a { font-weight: 600; }

.page-hero {
	padding: calc(var(--header) + 48px) 0 28px;
	background: #fff;
	border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(32px, 4.4vw, 52px); max-width: 18ch; margin: 0; }
.prose { max-width: 760px; }
.prose.wide { max-width: none; }
.prose h2 { font-size: 26px; margin-top: 1.5em; }
.prose h3 { font-size: 20px; }

.team-list { display: grid; gap: 48px; }
.person {
	display: grid;
	grid-template-columns: 160px 1fr;
	gap: 28px;
	padding-bottom: 48px;
	border-bottom: 1px solid var(--line);
}
.person:last-child { border-bottom: 0; padding-bottom: 0; }
.person img {
	width: 160px;
	height: 200px;
	object-fit: cover;
	object-position: center top;
	background: #ddd;
}
.person h2 { font-size: 24px; margin-bottom: 8px; }

.price-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
}
.price-table th,
.price-table td {
	padding: 12px 14px;
	text-align: left;
	border-bottom: 1px solid var(--line);
}
.price-table th {
	background: var(--dark);
	color: #fff;
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.price-table td:nth-child(n+2) { text-align: right; font-variant-numeric: tabular-nums; }
.price-group td { background: var(--bg); font-weight: 600; }

.acc-list { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); background: #fff; }
.acc-head {
	width: 100%;
	text-align: left;
	background: none;
	border: 0;
	font: inherit;
	padding: 18px 0;
	cursor: pointer;
}
.acc-head strong { font-size: 20px; color: var(--dark); display: block; }
.acc-head span { color: var(--muted); }
.acc-body { display: none; padding: 0 0 24px; }
.acc-item.is-open .acc-body { display: block; }

.chart-wrap { margin: 32px 0; text-align: center; }
.chart-wrap img { width: min(520px, 100%); }

.form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px 24px;
	max-width: 720px;
}
.form .full { grid-column: 1 / -1; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--dark); }
.form input,
.form select,
.form textarea {
	font: inherit;
	padding: 10px 12px;
	border: 0;
	border-bottom: 1px solid #b7bcc1;
	background: transparent;
	border-radius: 0;
}
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus,
.form select:focus,
.form textarea:focus {
	outline: none;
	border-bottom-color: var(--brand);
}
.check { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; }
.honeypot { position: absolute; left: -9999px; }
.form-note { color: var(--muted); font-size: 14px; }
.alert { padding: 12px 0; margin-bottom: 16px; }
.alert-ok { color: #2d5a24; }
.alert-err { color: #8a1c28; }

.app-band {
	background: var(--dark);
	color: #fff;
	padding: 48px 0;
	border-top: 1px solid #2a2d32;
}
.app-band .wrap {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 32px;
	align-items: center;
}
.app-band h2 { color: #fff; font-size: 22px; margin: 0 0 8px; }
.app-band p { color: rgba(255, 255, 255, 0.8); margin: 0 0 16px; }
.store-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.store-row a { background: #fff; padding: 4px 6px; display: inline-flex; line-height: 0; }
.store-row img { height: 40px; width: auto; display: block; }

.contact-split {
	display: grid;
	grid-template-columns: 0.75fr 1.25fr;
	gap: 64px;
	align-items: start;
}
.address-card { padding-top: 4px; }
.address-card h2 { font-size: 22px; }

.site-footer {
	background: var(--dark);
	color: rgba(255, 255, 255, 0.78);
	padding: 64px 0 28px;
}
.footer-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
	gap: 36px;
	margin-bottom: 40px;
}
.site-footer h2 {
	color: #fff;
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin-bottom: 14px;
}
.site-footer nav { display: grid; gap: 8px; }
.site-footer a { color: rgba(255, 255, 255, 0.78); }
.site-footer a:hover { color: #fff; }
.footer-brand img { margin-bottom: 14px; }
.footer-mark { font-size: 13px; color: rgba(255, 255, 255, 0.55); }
.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding-top: 18px;
	font-size: 14px;
}
.footer-app .btn { margin-top: 14px; }

.legal-html ol { margin: 0 0 8px; padding-left: 1.2em; }
.legal-html p { overflow-wrap: anywhere; }

@media (max-width: 980px) {
	.menu-btn { display: block; }
	.main-nav {
		display: none;
		position: absolute;
		top: var(--header);
		left: 0;
		right: 0;
		background: #fff;
		padding: 8px 20px 20px;
		flex-direction: column;
		align-items: stretch;
		height: auto;
		border-bottom: 1px solid var(--line);
	}
	.main-nav.is-open { display: flex; }
	.nav-item { display: block; }
	.nav-link { padding: 12px 0; }
	.has-sub .sub-nav {
		display: block;
		position: static;
		border: 0;
		padding: 0 0 8px 12px;
		min-width: 0;
	}
	.is-home:not(.nav-open) .site-header:not(.is-solid) .nav-link { color: var(--dark); }
	.hero-grid,
	.columns,
	.split,
	.contact-split,
	.footer-grid,
	.app-band .wrap,
	.form,
	.person { grid-template-columns: 1fr; }
	.hero { min-height: auto; }
	.btn-app { display: none; }
}

@media (max-width: 640px) {
	:root { --header: 62px; }
	.brand-logo { height: 32px; }
	.section { padding: 48px 0; }
	.page-hero { padding-top: calc(var(--header) + 28px); }
}
