:root {
	color-scheme: light;
	font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
		"PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
	color: #20232a;
	background: #f7f5f3;
	font-synthesis: none;
	text-rendering: optimizeLegibility;
	--brand: #c91f35;
	--brand-dark: #7b1025;
	--brand-soft: #fff0f2;
	--ink: #20232a;
	--muted: #666d78;
	--line: #e7e1de;
	--paper: #ffffff;
	--paper-warm: #fbfaf9;
	--shadow: 0 24px 70px rgba(73, 34, 39, 0.09);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 96px;
}

body {
	min-width: 320px;
	margin: 0;
	background:
		radial-gradient(circle at 9% 2%, rgba(201, 31, 53, 0.08), transparent 29rem),
		linear-gradient(180deg, #fbf9f7 0, #f7f5f3 34rem, #f7f5f3 100%);
}

a {
	color: var(--brand-dark);
	text-underline-offset: 3px;
}

a:hover {
	color: var(--brand);
}

a:focus-visible,
button:focus-visible {
	outline: 3px solid rgba(201, 31, 53, 0.28);
	outline-offset: 3px;
}

.skip-link {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 100;
	padding: 10px 14px;
	border-radius: 10px;
	color: #fff;
	background: var(--brand-dark);
	transform: translateY(-180%);
}

.skip-link:focus {
	transform: translateY(0);
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	border-bottom: 1px solid rgba(123, 16, 37, 0.09);
	background: rgba(251, 249, 247, 0.9);
	backdrop-filter: blur(18px);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: min(1120px, calc(100% - 40px));
	min-height: 72px;
	margin: 0 auto;
	gap: 24px;
}

.brand-lockup {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--ink);
	text-decoration: none;
}

.brand-lockup img {
	width: 38px;
	height: 38px;
	border-radius: 10px;
	box-shadow: 0 8px 22px rgba(160, 13, 42, 0.17);
}

.brand-lockup strong,
.brand-lockup span {
	display: block;
}

.brand-lockup strong {
	font-size: 15px;
	letter-spacing: 0.01em;
}

.brand-lockup span {
	margin-top: 2px;
	color: var(--muted);
	font-size: 12px;
}

.language-switch {
	display: inline-flex;
	padding: 4px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.78);
}

.language-switch a,
.language-switch span {
	min-width: 60px;
	padding: 7px 12px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
}

.language-switch a {
	color: var(--muted);
}

.language-switch [aria-current="page"] {
	color: #fff;
	background: var(--brand-dark);
	box-shadow: 0 5px 14px rgba(123, 16, 37, 0.17);
}

.page-shell {
	width: min(1120px, calc(100% - 40px));
	margin: 34px auto 64px;
}

.hero {
	position: relative;
	overflow: hidden;
	padding: clamp(34px, 6vw, 68px);
	border-radius: 28px;
	color: #fff;
	background:
		linear-gradient(125deg, rgba(89, 7, 25, 0.96), rgba(157, 16, 45, 0.96) 58%, rgba(201, 31, 53, 0.94)),
		var(--brand-dark);
	box-shadow: var(--shadow);
}

.hero::before,
.hero::after {
	content: "";
	position: absolute;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 50%;
	pointer-events: none;
}

.hero::before {
	width: 420px;
	height: 420px;
	right: -185px;
	top: -235px;
}

.hero::after {
	width: 230px;
	height: 230px;
	right: 105px;
	bottom: -190px;
}

.hero__content {
	position: relative;
	z-index: 1;
	max-width: 820px;
}

.hero__kicker {
	margin: 0 0 16px;
	color: #ffdce2;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.hero h1 {
	max-width: 780px;
	margin: 0;
	font-size: clamp(34px, 6vw, 62px);
	line-height: 1.08;
	letter-spacing: -0.035em;
}

.hero__lead {
	max-width: 760px;
	margin: 22px 0 0;
	color: rgba(255, 255, 255, 0.86);
	font-size: clamp(15px, 2vw, 18px);
	line-height: 1.8;
}

.hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
	margin-top: 28px;
	color: rgba(255, 255, 255, 0.72);
	font-size: 13px;
}

.quick-facts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	margin: 18px 0 32px;
}

.quick-fact {
	display: flex;
	align-items: flex-start;
	gap: 13px;
	min-height: 112px;
	padding: 22px;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.88);
	box-shadow: 0 12px 30px rgba(73, 34, 39, 0.04);
}

.quick-fact__mark {
	display: grid;
	width: 32px;
	height: 32px;
	flex: 0 0 auto;
	place-items: center;
	border-radius: 50%;
	color: var(--brand-dark);
	background: var(--brand-soft);
	font-size: 13px;
	font-weight: 900;
}

.quick-fact strong,
.quick-fact span {
	display: block;
}

.quick-fact strong {
	margin-top: 1px;
	font-size: 15px;
}

.quick-fact span {
	margin-top: 5px;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.55;
}

.content-layout {
	display: grid;
	grid-template-columns: 230px minmax(0, 1fr);
	align-items: start;
	gap: 28px;
}

.table-of-contents {
	position: sticky;
	top: 98px;
	padding: 20px;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.82);
}

.table-of-contents h2 {
	margin: 0 0 12px;
	color: var(--muted);
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.table-of-contents ol {
	display: grid;
	margin: 0;
	padding: 0;
	gap: 2px;
	list-style: none;
	counter-reset: section;
}

.table-of-contents li {
	counter-increment: section;
}

.table-of-contents a {
	display: grid;
	grid-template-columns: 24px 1fr;
	padding: 8px 9px;
	border-radius: 9px;
	color: #555c67;
	font-size: 13px;
	line-height: 1.35;
	text-decoration: none;
}

.table-of-contents a::before {
	content: counter(section, decimal-leading-zero);
	color: #a9a1a0;
	font-variant-numeric: tabular-nums;
}

.table-of-contents a:hover {
	color: var(--brand-dark);
	background: var(--brand-soft);
}

.policy {
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 24px;
	background: var(--paper);
	box-shadow: 0 18px 50px rgba(73, 34, 39, 0.055);
}

.policy-section {
	padding: clamp(26px, 5vw, 48px);
	border-bottom: 1px solid var(--line);
}

.policy-section:last-child {
	border-bottom: 0;
}

.policy-section__number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 24px;
	margin-bottom: 13px;
	padding: 0 9px;
	border-radius: 999px;
	color: var(--brand-dark);
	background: var(--brand-soft);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
}

.policy-section h2 {
	margin: 0 0 18px;
	color: #191b20;
	font-size: clamp(22px, 3vw, 29px);
	line-height: 1.25;
	letter-spacing: -0.018em;
}

.policy-section h3 {
	margin: 24px 0 8px;
	font-size: 16px;
}

.policy-section p,
.policy-section li,
.data-table th,
.data-table td {
	font-size: 15px;
	line-height: 1.82;
}

.policy-section p {
	margin: 0 0 15px;
}

.policy-section p:last-child {
	margin-bottom: 0;
}

.policy-section ul,
.policy-section ol {
	margin: 14px 0 0;
	padding-left: 22px;
}

.policy-section li + li {
	margin-top: 10px;
}

.table-scroll {
	overflow-x: auto;
	margin: 22px 0;
	border: 1px solid var(--line);
	border-radius: 14px;
}

.data-table {
	width: 100%;
	min-width: 680px;
	border-collapse: collapse;
	background: var(--paper);
}

.data-table th,
.data-table td {
	padding: 15px 17px;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.data-table th {
	color: #363a42;
	background: var(--paper-warm);
	font-size: 13px;
	font-weight: 750;
}

.data-table th:first-child,
.data-table td:first-child {
	width: 31%;
}

.data-table tr:last-child td {
	border-bottom: 0;
}

.data-flow {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	margin: 22px 0 0;
	padding: 0;
	gap: 12px;
	list-style: none;
	counter-reset: flow;
}

.data-flow li {
	position: relative;
	margin: 0;
	padding: 20px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--paper-warm);
	counter-increment: flow;
}

.data-flow li::before {
	content: counter(flow, decimal-leading-zero);
	display: block;
	margin-bottom: 10px;
	color: var(--brand);
	font-size: 12px;
	font-weight: 850;
	letter-spacing: 0.08em;
}

.data-flow strong {
	display: block;
	margin-bottom: 7px;
	font-size: 14px;
}

.data-flow span {
	display: block;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.65;
}

code {
	padding: 0.12em 0.38em;
	border-radius: 5px;
	color: #711027;
	background: #f8ecef;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 0.9em;
	word-break: break-all;
}

.contact-card {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	margin-top: 22px;
	padding: 22px;
	border: 1px solid #f0cdd5;
	border-radius: 16px;
	background: var(--brand-soft);
	gap: 20px;
}

.contact-card strong,
.contact-card span {
	display: block;
}

.contact-card span {
	margin-top: 5px;
	color: var(--muted);
	font-size: 13px;
}

.contact-card a {
	padding: 10px 14px;
	border-radius: 10px;
	color: #fff;
	background: var(--brand-dark);
	font-size: 13px;
	font-weight: 750;
	text-decoration: none;
}

.page-footer {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin-top: 26px;
	padding: 0 6px;
	gap: 24px;
	color: var(--muted);
	font-size: 12px;
	line-height: 1.65;
}

.page-footer p {
	max-width: 720px;
	margin: 0;
}

.page-footer a {
	white-space: nowrap;
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 880px) {
	.quick-facts,
	.data-flow {
		grid-template-columns: 1fr;
	}

	.quick-fact {
		min-height: auto;
	}

	.content-layout {
		grid-template-columns: 1fr;
	}

	.table-of-contents {
		position: static;
	}

	.table-of-contents ol {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 620px) {
	html {
		scroll-padding-top: 82px;
	}

	.site-header__inner,
	.page-shell {
		width: min(100% - 28px, 1120px);
	}

	.site-header__inner {
		min-height: 64px;
	}

	.brand-lockup span {
		display: none;
	}

	.language-switch a,
	.language-switch span {
		min-width: auto;
		padding: 6px 9px;
	}

	.page-shell {
		margin-top: 18px;
	}

	.hero {
		padding: 30px 24px;
		border-radius: 20px;
	}

	.hero h1 {
		letter-spacing: -0.025em;
	}

	.hero__meta {
		display: grid;
		gap: 6px;
	}

	.quick-facts {
		margin-top: 12px;
	}

	.table-of-contents ol {
		grid-template-columns: 1fr;
	}

	.policy {
		border-radius: 18px;
	}

	.policy-section {
		padding: 26px 22px;
	}

	.contact-card,
	.page-footer {
		grid-template-columns: 1fr;
		flex-direction: column;
		align-items: stretch;
	}

	.contact-card a {
		text-align: center;
	}
}

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

@media print {
	:root,
	body {
		background: #fff;
	}

	.site-header,
	.skip-link,
	.table-of-contents,
	.quick-facts,
	.page-footer a {
		display: none;
	}

	.page-shell {
		width: 100%;
		margin: 0;
	}

	.hero {
		padding: 0 0 24px;
		border-radius: 0;
		color: #111;
		background: #fff;
		box-shadow: none;
	}

	.hero__kicker,
	.hero__lead,
	.hero__meta {
		color: #333;
	}

	.content-layout {
		display: block;
	}

	.policy {
		border: 0;
		box-shadow: none;
	}

	.policy-section {
		break-inside: avoid;
		padding: 24px 0;
	}
}
