:root {
	color-scheme: light;
	--paper: #fffaf0;
	--card: #ffffff;
	--ink: #171b4a;
	--muted: #6d708b;
	--line: #eadfcd;
	--accent: #d84258;
	--accent-dark: #9d2944;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 17px;
	line-height: 1.62;
}

main {
	width: min(920px, 100%);
	margin: 0 auto;
	padding: 44px 20px 72px;
}

header {
	margin-bottom: 28px;
	border-bottom: 1px solid var(--line);
	padding-bottom: 22px;
}

.brand {
	margin: 0 0 8px;
	color: var(--accent);
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.lang-switch {
	display: flex;
	justify-content: flex-end;
	margin: 0 0 12px;
	font-size: 14px;
}

.lang-switch a {
	color: var(--muted);
	font-weight: 700;
	letter-spacing: 0.02em;
}

h1 {
	margin: 0;
	font-size: clamp(34px, 6vw, 56px);
	line-height: 1.02;
	letter-spacing: 0;
}

h2 {
	margin: 34px 0 12px;
	font-size: 24px;
	line-height: 1.2;
}

h3 {
	margin: 26px 0 10px;
	font-size: 19px;
	line-height: 1.3;
}

p,
ul,
ol {
	margin: 0 0 16px;
}

ul,
ol {
	padding-left: 24px;
}

li {
	margin-bottom: 8px;
}

a {
	color: var(--accent-dark);
	font-weight: 800;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.16em;
}

.notice,
.document-list {
	margin: 24px 0;
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 18px;
	background: var(--card);
}

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

.updated {
	margin-top: 36px;
	color: var(--muted);
	font-size: 15px;
}

code {
	border-radius: 5px;
	padding: 2px 5px;
	background: #f4ecdf;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.94em;
}

.hero {
	padding: 24px 0 8px;
}

.eyebrow {
	margin-bottom: 12px;
	color: var(--accent);
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.lead {
	max-width: 720px;
	color: var(--muted);
	font-size: clamp(19px, 3vw, 24px);
	line-height: 1.45;
}

.actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 28px 0;
}

.button,
button.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	border: 0;
	border-radius: 8px;
	padding: 10px 16px;
	background: var(--accent);
	color: #fff;
	font: inherit;
	font-weight: 800;
	text-decoration: none;
	cursor: pointer;
}

.button:hover,
.button:focus-visible {
	background: var(--accent-dark);
}

.button--secondary {
	border: 1px solid var(--line);
	background: var(--card);
	color: var(--accent-dark);
}

.button--secondary:hover,
.button--secondary:focus-visible {
	background: #f4ecdf;
}

.button[aria-disabled="true"] {
	opacity: 0.62;
	cursor: default;
}

.store-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 12px;
	margin: 20px 0;
}

.store-placeholder {
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 16px;
	background: var(--card);
	font-weight: 800;
}

.store-placeholder span {
	display: block;
	margin-top: 4px;
	color: var(--muted);
	font-size: 14px;
	font-weight: 400;
}

.copy-status {
	min-height: 1.62em;
	margin: 0;
	color: var(--muted);
}

footer {
	margin-top: 44px;
	border-top: 1px solid var(--line);
	padding-top: 20px;
	color: var(--muted);
	font-size: 15px;
}

footer p {
	margin-bottom: 8px;
}

@media (prefers-color-scheme: dark) {
	:root {
		color-scheme: dark;
		--paper: #15162a;
		--card: #20213a;
		--ink: #f7f2e9;
		--muted: #bbb9cd;
		--line: #393a58;
		--accent: #ff7589;
		--accent-dark: #ffadba;
	}

	code,
	.button--secondary:hover,
	.button--secondary:focus-visible {
		background: #2a2b49;
	}
}
