:root {
	--ink-0: hsl(107 43% 7%);
	--ink-1: hsl(107 40% 11%);
	--ink-2: hsl(107 34% 16%);
	--line: hsl(107 28% 24%);
	--pale: hsl(107 30% 92%);
	--paper: hsl(107 24% 98%);
	--edge: hsl(107 22% 80%);
	--text-l: hsl(107 25% 91%);
	--muted-l: hsl(107 16% 74%);
	--text-d: hsl(107 43% 11%);
	--muted-d: hsl(107 22% 27%);
	--accent: hsl(317 62% 68%);
	--accent-deep: hsl(317 55% 36%);
	--leaf: hsl(107 43% 58%);
	--radius: 14px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	margin: 0;
	background: var(--ink-0);
	color: var(--text-l);
	font-family: Verdana, Geneva, sans-serif;
	font-size: 15px;
	line-height: 1.7;
}

h1,
h2,
h3 {
	font-family: Verdana, Geneva, sans-serif;
	line-height: 1.25;
	margin: 0 0 .6em;
	letter-spacing: -.01em;
}

h1 {
	font-size: clamp(1.65rem, 4.6vw, 2.6rem);
}

h2 {
	font-size: clamp(1.3rem, 3vw, 1.8rem);
}

h3 {
	font-size: 1.05rem;
}

p {
	margin: 0 0 1em;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

.wrap {
	width: min(1100px, 100% - 40px);
	margin-inline: auto;
}

.sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip {
	position: absolute;
	left: -999px;
	top: 8px;
	z-index: 50;
	padding: 8px 14px;
	border-radius: 10px;
	background: var(--accent);
	color: var(--ink-0);
}

.skip:focus {
	left: 12px;
}

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

.light :focus-visible {
	outline-color: var(--accent-deep);
}

main [id],
main {
	scroll-margin-top: 76px;
}

.topbar {
	position: sticky;
	top: 0;
	z-index: 20;
	background: hsl(107 43% 6% / .96);
	border-bottom: 1px solid var(--line);
}

.topbar .wrap {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 66px;
}

.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-right: auto;
	color: var(--text-l);
	font-weight: bold;
	font-size: 1.05rem;
	text-decoration: none;
	letter-spacing: .01em;
}

.brand img {
	width: 34px;
	height: 34px;
}

.mainnav ul {
	display: flex;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mainnav a {
	display: block;
	padding: 8px 12px;
	border-radius: 10px;
	color: var(--text-l);
	font-size: .88rem;
	text-decoration: none;
}

.mainnav a:hover {
	background: var(--ink-2);
}

.mainnav a[aria-current=page] {
	background: var(--ink-2);
	color: var(--accent);
}

.langs {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 3px 4px;
	list-style: none;
	border: 1px solid var(--line);
	border-radius: 12px;
	font-size: .72rem;
	line-height: 1;
}

.langs li + li::before {
	content: "·";
	padding: 0 1px;
	color: var(--muted-l);
}

.langs a {
	display: inline-block;
	padding: 5px 5px;
	border-radius: 8px;
	color: var(--muted-l);
	text-decoration: none;
}

.langs a:hover {
	color: var(--text-l);
}

.langs a[aria-current=true] {
	background: var(--accent);
	color: var(--ink-0);
	font-weight: bold;
}

.menu-btn {
	display: none;
}

@media (max-width: 860px) {
	.menu-btn {
		display: flex;
		flex-direction: column;
		justify-content: center;
		gap: 5px;
		width: 40px;
		height: 40px;
		padding: 0 10px;
		border: 1px solid var(--line);
		border-radius: 10px;
		background: transparent;
		cursor: pointer;
	}

	.menu-btn .bar {
		display: block;
		height: 2px;
		border-radius: 2px;
		background: var(--text-l);
	}

	.mainnav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--ink-0);
		border-bottom: 1px solid var(--line);
	}

	.mainnav.open {
		display: block;
	}

	.mainnav ul {
		flex-direction: column;
		width: min(1100px, 100% - 40px);
		margin: 0 auto;
		padding: 10px 0 18px;
	}

	.mainnav a {
		padding: 12px 14px;
		font-size: .95rem;
	}
}

@media (max-width: 400px) {
	.topbar .wrap {
		gap: 8px;
		width: calc(100% - 24px);
	}

	.brand {
		gap: 7px;
		font-size: .9rem;
	}

	.brand img {
		width: 28px;
		height: 28px;
	}

	.langs a {
		padding: 5px 3px;
	}
}

.band {
	padding: clamp(52px, 8vw, 96px) 0;
}

.dark {
	background: var(--ink-1);
	color: var(--text-l);
}

.light {
	background: var(--pale);
	color: var(--text-d);
}

.dark a {
	color: var(--accent);
}

.light a {
	color: var(--accent-deep);
}

.kicker {
	margin: 0 0 .9em;
	font-size: .72rem;
	font-weight: bold;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.dark .kicker {
	color: var(--leaf);
}

.light .kicker {
	color: var(--accent-deep);
}

.actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 26px;
}

.btn {
	display: inline-block;
	padding: 12px 20px;
	border: 2px solid transparent;
	border-radius: 12px;
	font-size: .9rem;
	font-weight: bold;
	line-height: 1.3;
	text-decoration: none;
}

.dark .btn {
	background: var(--accent);
	color: var(--ink-0);
}

.dark .btn:hover {
	background: hsl(317 62% 76%);
}

.dark .btn.ghost {
	background: transparent;
	border-color: var(--accent);
	color: var(--accent);
}

.light .btn {
	background: var(--accent-deep);
	color: #fff;
}

.light .btn:hover {
	background: hsl(317 55% 30%);
}

.light .btn.ghost {
	background: transparent;
	border-color: var(--accent-deep);
	color: var(--accent-deep);
}

.tile {
	padding: 24px;
	border-radius: var(--radius);
}

.dark .tile {
	background: var(--ink-2);
	color: var(--text-l);
	border: 1px solid var(--line);
}

.dark .tile p {
	color: var(--muted-l);
}

.light .tile {
	background: var(--paper);
	color: var(--text-d);
	border: 1px solid var(--edge);
}

.light .tile p {
	color: var(--muted-d);
}

.tile > :last-child {
	margin-bottom: 0;
}

.foot {
	background: var(--ink-0);
	color: var(--muted-l);
	border-top: 1px solid var(--line);
	font-size: .85rem;
}

.foot .cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 22px 32px;
	padding: 40px 0 26px;
}

.foot address {
	font-style: normal;
}

.foot strong {
	color: var(--text-l);
}

.foot a {
	color: var(--accent);
}

.foot p {
	margin: 0;
}

.copyline {
	padding: 16px 20px;
	border-top: 1px solid var(--line);
	text-align: center;
}
