:root {
	--bg: #f7f8fb;
	--surface: #ffffff;
	--surface-strong: #eef2ff;
	--ink: #111827;
	--muted: #596276;
	--soft: #7b8498;
	--line: #dfe4ec;
	--brand: #3659d8;
	--brand-dark: #263ea4;
	--green: #18745f;
	--orange: #c95f42;
	--yellow: #efc84a;
	--shadow: 0 18px 50px rgba(28, 38, 64, 0.12);
	--focus: #c95f42;
	--font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
	box-sizing: border-box;
}

html {
	background: var(--bg);
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.65;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: var(--brand-dark);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

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

a:focus-visible {
	border-radius: 4px;
	outline: 3px solid var(--focus);
	outline-offset: 3px;
}

.skip-link {
	position: absolute;
	left: 16px;
	top: 12px;
	z-index: 10;
	transform: translateY(-140%);
	background: var(--ink);
	color: #ffffff;
	padding: 8px 12px;
	border-radius: 6px;
	text-decoration: none;
}

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

.container {
	width: min(1120px, calc(100% - 40px));
	margin-inline: auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 5;
	background: rgba(247, 248, 251, 0.94);
	border-bottom: 1px solid var(--line);
	backdrop-filter: blur(16px);
}

.header-inner,
.footer-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.header-inner {
	min-height: 72px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--ink);
	font-weight: 800;
	text-decoration: none;
	overflow-wrap: anywhere;
}

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

.site-nav {
	display: flex;
	align-items: center;
	gap: 22px;
	font-size: 0.95rem;
	font-weight: 700;
}

.site-nav a,
.text-link {
	text-decoration: none;
}

.site-nav a:hover,
.text-link:hover {
	text-decoration: underline;
}

.hero {
	border-bottom: 1px solid var(--line);
	padding: 82px 0 76px;
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
	gap: 56px;
	align-items: center;
}

.kicker {
	margin: 0 0 14px;
	color: var(--orange);
	font-family: var(--font-mono);
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
}

h1,
h2,
h3,
p {
	overflow-wrap: anywhere;
}

h1,
h2,
h3 {
	line-height: 1.12;
	margin: 0;
}

h1 {
	font-size: 4.2rem;
}

h2 {
	font-size: 2.15rem;
}

h3 {
	font-size: 1.2rem;
}

.hero-lede {
	max-width: 680px;
	margin: 22px 0 0;
	color: var(--muted);
	font-size: 1.28rem;
}

.hero-actions {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
	margin-top: 34px;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 18px;
	border-radius: 8px;
	background: var(--brand);
	color: #ffffff;
	font-weight: 800;
	text-decoration: none;
}

.button:hover {
	background: var(--brand-dark);
	color: #ffffff;
}

.concept-panel {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 8px;
	box-shadow: var(--shadow);
	padding: 28px;
}

.panel-header {
	display: flex;
	align-items: center;
	gap: 16px;
	padding-bottom: 22px;
	border-bottom: 1px solid var(--line);
}

.panel-header img {
	width: 52px;
	height: 52px;
}

.panel-label,
.panel-title,
.flow-label,
.panel-stats span,
.date,
.card-tag {
	margin: 0;
	font-family: var(--font-mono);
}

.panel-label,
.flow-label,
.panel-stats span,
.card-tag {
	color: var(--soft);
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
}

.panel-title {
	color: var(--ink);
	font-size: 1.08rem;
	font-weight: 800;
}

.flow {
	display: grid;
	gap: 12px;
	margin: 24px 0;
}

.flow div {
	position: relative;
	padding: 16px 18px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--surface-strong);
}

.flow div:nth-child(2) {
	background: #f5f7ff;
}

.flow div:nth-child(3) {
	background: #f4fbf8;
}

.flow strong {
	display: block;
	margin-top: 3px;
	font-size: 1rem;
}

.panel-stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.panel-stats div {
	border-left: 4px solid var(--green);
	background: #f4fbf8;
	border-radius: 8px;
	padding: 14px 16px;
}

.panel-stats div:nth-child(2) {
	border-left-color: var(--yellow);
	background: #fffaf0;
}

.panel-stats strong {
	display: block;
	font-size: 1.08rem;
}

.section {
	padding: 78px 0;
	border-bottom: 1px solid var(--line);
}

.section-grid,
.about-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
	gap: 52px;
	align-items: start;
}

.section-copy p:not(.kicker),
.about-grid p {
	max-width: 650px;
	margin: 18px 0 0;
	color: var(--muted);
	font-size: 1.05rem;
}

.section-copy.narrow {
	max-width: 760px;
}

.cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.card {
	min-height: 238px;
	padding: 22px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 8px;
}

.card h3 {
	margin-top: 18px;
}

.card p {
	margin: 12px 0 0;
	color: var(--muted);
	font-size: 0.96rem;
}

.timeline-section {
	background: #ffffff;
}

.timeline {
	display: grid;
	gap: 14px;
	margin: 34px 0 0;
	padding: 0;
	list-style: none;
}

.timeline li {
	display: grid;
	grid-template-columns: 132px minmax(0, 1fr);
	gap: 24px;
	padding: 24px;
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: 8px;
}

.date {
	color: var(--brand-dark);
	font-size: 0.9rem;
	font-weight: 800;
}

.timeline h3 {
	margin-bottom: 8px;
}

.timeline p {
	margin: 0;
	color: var(--muted);
}

.about-section {
	background: #fbfcfe;
}

.facts {
	display: grid;
	gap: 12px;
	margin: 0;
}

.facts div {
	display: grid;
	grid-template-columns: 128px minmax(0, 1fr);
	gap: 18px;
	padding: 18px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 8px;
}

.facts dt {
	color: var(--soft);
	font-family: var(--font-mono);
	font-size: 0.78rem;
	font-weight: 800;
	text-transform: uppercase;
}

.facts dd {
	margin: 0;
	color: var(--ink);
	font-weight: 700;
}

.site-footer {
	padding: 28px 0;
	color: var(--soft);
	font-size: 0.94rem;
}

.site-footer a {
	font-weight: 800;
	text-decoration: none;
}

@media (max-width: 940px) {
	.hero-grid,
	.section-grid,
	.about-grid {
		grid-template-columns: 1fr;
	}

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

	.card {
		min-height: auto;
	}
}

@media (max-width: 680px) {
	.container {
		width: min(100% - 28px, 1120px);
	}

	.site-header {
		position: static;
	}

	.header-inner,
	.footer-inner,
	.site-nav,
	.hero-actions {
		align-items: flex-start;
		flex-direction: column;
	}

	.header-inner {
		padding: 18px 0;
	}

	.site-nav {
		gap: 10px;
	}

	.hero {
		padding: 54px 0 58px;
	}

	h1 {
		font-size: 3rem;
	}

	h2 {
		font-size: 1.82rem;
	}

	.hero-lede {
		font-size: 1.1rem;
	}

	.concept-panel {
		padding: 20px;
	}

	.panel-header,
	.panel-stats,
	.timeline li,
	.facts div {
		grid-template-columns: 1fr;
	}

	.panel-header {
		align-items: flex-start;
	}

	.section {
		padding: 58px 0;
	}

	.timeline li,
	.facts div {
		gap: 8px;
		padding: 18px;
	}
}
