:root {
	--bg: #edf1f3;
	--surface: #ffffff;
	--surface-strong: #17202a;
	--text: #17202a;
	--muted: #5d6873;
	--line: #d8e0e6;
	--accent: #ef3b32;
	--accent-strong: #b91c1c;
	--accent-soft: #fee2e0;
	--secondary: #2f855a;
	--secondary-soft: #e6f4ee;
	--blue-soft: #e8f0fb;
	--gold: #b7791f;
	--gold-soft: #fff3d6;
	--shadow: 0 22px 60px rgba(23, 32, 42, 0.14);
	--radius: 8px;
	--wrap: min(1120px, calc(100vw - 40px));
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--text);
	background: var(--bg);
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background:
		linear-gradient(180deg, #f9fbfc 0%, var(--bg) 52%, #e2eaee 100%);
	color: var(--text);
	line-height: 1.5;
}

a {
	color: inherit;
	text-decoration: none;
}

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

.skip-link {
	position: absolute;
	left: 12px;
	top: -80px;
	z-index: 20;
	padding: 10px 14px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.skip-link:focus {
	top: 12px;
}

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

.topline,
.topbar,
.hero,
.capability-rail,
.section,
.doc-page,
.module-band,
.content-shell,
.site-footer {
	width: var(--wrap);
	margin-inline: auto;
}

.topline {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 72px;
	gap: 24px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-weight: 850;
	font-size: 1.08rem;
}

.brand img {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	box-shadow: 0 8px 20px rgba(23, 32, 42, 0.22);
}

.site-navigation {
	display: flex;
	align-items: center;
	gap: 8px;
}

.site-navigation a,
.site-navigation .mod-menu a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 12px;
	border-radius: 6px;
	color: var(--muted);
	font-weight: 750;
}

.site-navigation a:hover,
.site-navigation a:focus-visible {
	color: var(--text);
	background: var(--accent-soft);
	outline: none;
}

.site-navigation .mod-menu {
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: 6px;
	background: var(--surface);
}

.nav-toggle span {
	display: block;
	width: 20px;
	height: 2px;
	margin: 5px auto;
	background: var(--text);
}

.topbar {
	padding: 0 0 14px;
	color: var(--muted);
}

.hero {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(320px, 540px);
	align-items: center;
	gap: clamp(34px, 5vw, 72px);
	min-height: calc(100vh - 120px);
	padding: clamp(48px, 7vw, 96px) 0 28px;
}

.hero-copy {
	max-width: 760px;
}

.hero h1 {
	margin: 0;
	font-size: clamp(3.8rem, 8.5vw, 7.4rem);
	line-height: 0.92;
	letter-spacing: 0;
	text-wrap: balance;
}

.hero-visual {
	display: grid;
	align-items: center;
	padding: 18px;
	border: 1px solid rgba(23, 32, 42, 0.1);
	border-radius: var(--radius);
	background:
		linear-gradient(145deg, rgba(47, 133, 90, 0.12), transparent 40%),
		linear-gradient(315deg, rgba(239, 59, 50, 0.12), transparent 44%),
		rgba(255, 255, 255, 0.78);
	box-shadow: var(--shadow);
	overflow: hidden;
}

.eyebrow {
	margin: 0 0 12px;
	color: var(--accent-strong);
	font-weight: 900;
	text-transform: uppercase;
	font-size: 0.78rem;
	letter-spacing: 0.08em;
}

.lede {
	max-width: 710px;
	margin: 24px 0 0;
	color: #313941;
	font-size: clamp(1.15rem, 2vw, 1.45rem);
}

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

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 18px;
	border-radius: 7px;
	font-weight: 850;
	border: 1px solid transparent;
}

.button.primary {
	background: var(--accent);
	color: #fff;
	box-shadow: 0 10px 24px rgba(239, 59, 50, 0.24);
}

.button.secondary {
	background: var(--surface);
	color: var(--text);
	border-color: var(--line);
}

.capability-rail {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	padding: 0 0 clamp(44px, 7vw, 78px);
	scrollbar-width: thin;
}

.capability-rail span {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 0 15px;
	border: 1px solid #cbd5dd;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.76);
	color: #313941;
	font-weight: 850;
	box-shadow: 0 8px 20px rgba(23, 32, 42, 0.05);
}

.section,
.doc-page,
.module-band {
	padding: clamp(44px, 7vw, 82px) 0;
}

.section-heading {
	max-width: 820px;
	margin-bottom: 30px;
}

.section h2,
.doc-page h1 {
	margin: 0;
	line-height: 0.98;
	letter-spacing: 0;
	text-wrap: balance;
}

.section h2 {
	font-size: clamp(2rem, 5vw, 4.2rem);
}

.doc-page h1 {
	font-size: clamp(3rem, 8vw, 6.6rem);
}

.section-heading p:last-child {
	color: var(--muted);
	font-size: 1.08rem;
}

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

.feature-grid article {
	display: grid;
	align-content: start;
	gap: 16px;
	min-height: 420px;
	padding: 22px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: 0 14px 30px rgba(23, 32, 42, 0.06);
}

.feature-symbol {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background:
		linear-gradient(145deg, rgba(239, 59, 50, 0.12), transparent 44%),
		#f4f7f8;
	overflow: hidden;
}

.feature-symbol::before,
.feature-symbol::after {
	content: "";
	position: absolute;
	border-radius: 8px;
}

.map-symbol::before {
	inset: 26% 18% 24%;
	border: 10px solid #cfd7df;
	border-left-color: var(--secondary);
	border-bottom-color: var(--accent);
	transform: rotate(-8deg);
}

.map-symbol::after {
	left: 54%;
	top: 24%;
	width: 46px;
	height: 64px;
	background: var(--accent);
	clip-path: polygon(50% 100%, 13% 48%, 13% 20%, 28% 5%, 50% 0, 72% 5%, 87% 20%, 87% 48%);
}

.csv-symbol::before {
	left: 20%;
	top: 18%;
	width: 54%;
	height: 62%;
	background: #fff;
	border: 10px solid var(--surface-strong);
	box-shadow: 18px 18px 0 rgba(47, 133, 90, 0.18);
}

.csv-symbol::after {
	left: 31%;
	right: 22%;
	top: 40%;
	height: 8px;
	background: var(--accent);
	box-shadow: 0 22px 0 #d9e0e6, 0 44px 0 #d9e0e6;
}

.route-symbol::before {
	left: 15%;
	right: 15%;
	top: 46%;
	height: 14px;
	background: #cfd7df;
	transform: rotate(-12deg);
}

.route-symbol::after {
	left: 36%;
	top: 22%;
	width: 72px;
	height: 96px;
	background: var(--accent);
	clip-path: polygon(50% 100%, 13% 48%, 13% 20%, 28% 5%, 50% 0, 72% 5%, 87% 20%, 87% 48%);
}

.feature-grid h3 {
	margin: 0;
	font-size: 1.35rem;
	line-height: 1.1;
}

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

.showcase-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-auto-rows: minmax(300px, 1fr);
	gap: 14px;
	width: var(--wrap);
	margin-inline: auto;
	padding: 0 0 clamp(44px, 7vw, 82px);
}

.showcase-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 260px;
	padding: 24px;
	border: 1px solid rgba(23, 32, 42, 0.12);
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: 0 16px 38px rgba(23, 32, 42, 0.08);
}

.showcase-card.red {
	background: var(--accent);
	color: #fff;
}

.showcase-card.dark {
	background: var(--surface-strong);
	color: #fff;
}

.showcase-card.green {
	background: var(--secondary);
	color: #fff;
}

.showcase-card strong {
	display: block;
	max-width: 560px;
	font-size: clamp(1.55rem, 3vw, 2.65rem);
	line-height: 1;
	letter-spacing: 0;
	text-wrap: balance;
}

.showcase-card p {
	max-width: 480px;
	margin: 14px 0 0;
	color: rgba(255, 255, 255, 0.78);
}

.card-label {
	display: inline-flex;
	align-self: flex-start;
	margin-bottom: 10px;
	padding: 7px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.16);
	font-weight: 900;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.subpage-band {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 34px 0;
}

.subpage-band a {
	display: grid;
	gap: 8px;
	min-height: 118px;
	padding: 18px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: 0 12px 28px rgba(23, 32, 42, 0.06);
}

.subpage-band a:hover,
.subpage-band a:focus-visible {
	border-color: var(--accent);
	outline: none;
}

.subpage-band span {
	color: var(--accent-strong);
	font-size: 0.78rem;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.subpage-band strong {
	font-size: 1.2rem;
	line-height: 1.15;
}

.doc-shell {
	display: grid;
	grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
	align-items: start;
	gap: 22px;
	margin-top: 34px;
}

.doc-toc {
	position: sticky;
	top: 96px;
	max-height: calc(100vh - 120px);
	overflow: auto;
	margin: 0;
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: 0 14px 30px rgba(23, 32, 42, 0.06);
}

.doc-toc h2 {
	margin: 0 0 16px;
	font-size: 1.35rem;
}

.doc-toc ul {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.doc-toc li {
	position: relative;
	padding-left: 20px;
}

.doc-toc li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.72em;
	width: 12px;
	border-top: 1px solid #acb7c0;
}

.doc-toc a {
	display: inline-flex;
	padding: 3px 0;
	color: var(--accent-strong);
	font-weight: 800;
}

.doc-toc a:hover,
.doc-toc a:focus-visible {
	color: var(--text);
	outline: none;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.doc-layout {
	display: grid;
	gap: 18px;
	min-width: 0;
}

.doc-section {
	scroll-margin-top: 92px;
	padding: 26px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background:
		linear-gradient(145deg, rgba(47, 133, 90, 0.08), transparent 38%),
		var(--surface);
	box-shadow: 0 14px 30px rgba(23, 32, 42, 0.06);
}

.doc-section h2 {
	margin: 0 0 14px;
	font-size: clamp(1.8rem, 4vw, 3rem);
	line-height: 1;
	letter-spacing: 0;
}

.doc-section p {
	margin: 0 0 14px;
	color: var(--muted);
}

.doc-card-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-top: 18px;
}

.doc-card-grid > div {
	min-height: 150px;
	padding: 18px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.72);
}

.doc-card-grid h3 {
	margin: 0 0 10px;
	font-size: 1.15rem;
}

.settings-table {
	width: 100%;
	border-collapse: collapse;
	overflow-wrap: anywhere;
}

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

.settings-table th {
	width: 32%;
	color: var(--text);
	font-size: 0.98rem;
}

.settings-table td {
	color: var(--muted);
}

.timeline {
	display: grid;
	gap: 12px;
}

.timeline div {
	padding: 20px;
	border-left: 5px solid var(--accent);
	border-radius: 0 var(--radius) var(--radius) 0;
	background: var(--surface);
	box-shadow: 0 12px 28px rgba(23, 32, 42, 0.06);
}

.timeline span {
	display: block;
	margin-bottom: 8px;
	font-weight: 900;
	color: var(--accent-strong);
}

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

.policy-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin-top: 34px;
}

.policy-grid article {
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background:
		linear-gradient(145deg, rgba(239, 59, 50, 0.08), transparent 38%),
		var(--surface);
	box-shadow: 0 14px 30px rgba(23, 32, 42, 0.06);
}

.policy-grid h2 {
	margin: 0 0 12px;
	font-size: 1.35rem;
}

.policy-grid p {
	margin: 0 0 12px;
	color: var(--muted);
}

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

.content-shell {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 28px;
	padding: clamp(44px, 7vw, 82px) 0;
}

.content-shell.has-sidebar {
	grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
}

.content-main,
.sidebar,
.module-band > .moduletable {
	min-width: 0;
}

.content-main:empty,
.sidebar:empty {
	display: none;
}

.site-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 34px 0 44px;
	border-top: 1px solid var(--line);
	color: var(--muted);
}

.site-footer strong {
	display: block;
	color: var(--text);
}

.footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	font-weight: 750;
}

.footer-links a:hover,
.footer-links a:focus-visible {
	color: var(--accent-strong);
	outline: none;
}

@media (max-width: 900px) {
	:root {
		--wrap: min(100vw - 28px, 720px);
	}

	.nav-toggle {
		display: block;
	}

	.site-navigation {
		position: absolute;
		left: 14px;
		right: 14px;
		top: 72px;
		display: none;
		flex-direction: column;
		align-items: stretch;
		padding: 10px;
		border: 1px solid var(--line);
		border-radius: var(--radius);
		background: var(--surface);
		box-shadow: var(--shadow);
	}

	.site-navigation.is-open {
		display: flex;
	}

	.site-navigation .mod-menu {
		flex-direction: column;
		align-items: stretch;
	}

	.site-navigation a,
	.site-navigation .mod-menu a {
		width: 100%;
	}

	.hero,
	.feature-grid,
	.showcase-grid,
	.content-shell {
		grid-template-columns: 1fr;
	}

	.hero {
		min-height: auto;
		padding-top: 44px;
	}

	.hero h1 {
		font-size: clamp(3.4rem, 18vw, 6rem);
	}

	.doc-shell {
		grid-template-columns: 1fr;
	}

	.doc-toc {
		position: static;
		max-height: none;
		overflow: visible;
	}

	.doc-card-grid,
	.subpage-band,
	.policy-grid {
		grid-template-columns: 1fr;
	}

	.site-footer {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (max-width: 480px) {
	.brand span {
		font-size: 0.98rem;
	}

	.hero-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.button {
		width: 100%;
	}

	.doc-section {
		padding: 20px;
	}

	.settings-table,
	.settings-table tbody,
	.settings-table tr,
	.settings-table th,
	.settings-table td {
		display: block;
		width: 100%;
	}

	.settings-table th {
		padding-bottom: 4px;
		border-top: 1px solid var(--line);
	}

	.settings-table td {
		padding-top: 0;
		border-top: 0;
	}
}
