:root {
	--nice-blue: #4aa3e0;
	--nice-blue-dark: #2b7fbf;
	--nice-ink: #1a1a1a;
	--nice-muted: #5c6b7a;
	--nice-surface: #f5f8fb;
	--nice-border: #d7e0ea;
	--nice-card: #ffffff;
}

html {
	scroll-behavior: smooth;
}

body {
	color: var(--nice-ink);
	background: var(--nice-surface);
	font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

a {
	color: var(--nice-blue-dark);
}

a:hover {
	color: var(--nice-blue);
}

.site-header {
	background: #fff;
	border-bottom: 1px solid var(--nice-border);
	position: sticky;
	top: 0;
	z-index: 1030;
}

.brand-lockup {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	text-decoration: none;
	color: inherit;
}

.brand-lockup img {
	height: 40px;
	width: auto;
}

.brand-lockup .brand-title {
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.2;
	color: var(--nice-ink);
}

.brand-lockup .brand-subtitle {
	font-size: 0.75rem;
	color: var(--nice-muted);
	font-weight: 400;
}

.nav-link {
	color: var(--nice-muted) !important;
	font-weight: 500;
	font-size: 0.9rem;
}

.nav-link:hover,
.nav-link:focus {
	color: var(--nice-ink) !important;
}

.hero {
	background: linear-gradient(180deg, #ffffff 0%, var(--nice-surface) 100%);
	border-bottom: 1px solid var(--nice-border);
	padding: 3rem 0 2.5rem;
}

.hero h1 {
	font-weight: 700;
	letter-spacing: -0.02em;
	margin-bottom: 0.75rem;
}

.hero .lead {
	color: var(--nice-muted);
	max-width: 42rem;
}

.section {
	padding: 3rem 0;
}

.section-title {
	font-weight: 700;
	margin-bottom: 0.35rem;
}

.section-lead {
	color: var(--nice-muted);
	margin-bottom: 1.75rem;
	max-width: 46rem;
}

.card-panel {
	background: var(--nice-card);
	border: 1px solid var(--nice-border);
	border-radius: 0.75rem;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
	height: 100%;
}

.card-panel .card-body {
	padding: 1.35rem 1.5rem;
}

.card-panel h3 {
	font-size: 1.1rem;
	font-weight: 650;
	margin-bottom: 0.5rem;
}

.card-icon {
	width: 40px;
	height: 40px;
	object-fit: contain;
	margin-bottom: 0.75rem;
}

.badge-channel {
	font-weight: 600;
	letter-spacing: 0.02em;
	font-size: 0.7rem;
	text-transform: uppercase;
}

.badge-corporate {
	background: #e8f4fc;
	color: #1d5f8a;
}

.badge-cws {
	background: #eef2ff;
	color: #3730a3;
}

.id-block {
	background: #f8fafc;
	border: 1px solid var(--nice-border);
	border-radius: 0.5rem;
	padding: 0.65rem 0.8rem;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.78rem;
	word-break: break-all;
	margin-bottom: 0.65rem;
}

.id-block .label {
	display: block;
	font-family: "Segoe UI", system-ui, sans-serif;
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--nice-muted);
	margin-bottom: 0.2rem;
}

.callout {
	border-left: 4px solid var(--nice-blue);
	background: #f0f8fd;
	color: #163a52;
	padding: 0.9rem 1rem;
	border-radius: 0 0.5rem 0.5rem 0;
	font-size: 0.92rem;
}

.callout strong {
	font-weight: 650;
}

.architecture-figure {
	background: #fff;
	border: 1px solid var(--nice-border);
	border-radius: 0.75rem;
	padding: 1rem;
	margin-top: 1.5rem;
	color-scheme: only light;
}

.architecture-figure img {
	width: 100%;
	height: auto;
	display: block;
	background: #fff;
}

.architecture-figure figcaption {
	margin-top: 0.65rem;
	font-size: 0.82rem;
	color: var(--nice-muted);
	text-align: center;
}

.btn-nice {
	background: var(--nice-blue);
	border-color: var(--nice-blue);
	color: #fff;
	font-weight: 600;
}

.btn-nice:hover,
.btn-nice:focus {
	background: var(--nice-blue-dark);
	border-color: var(--nice-blue-dark);
	color: #fff;
}

.btn-outline-nice {
	border-color: var(--nice-blue);
	color: var(--nice-blue-dark);
	font-weight: 600;
}

.btn-outline-nice:hover,
.btn-outline-nice:focus {
	background: var(--nice-blue);
	border-color: var(--nice-blue);
	color: #fff;
}

.download-meta,
.doc-meta {
	font-size: 0.8rem;
	color: var(--nice-muted);
}

.download-variant {
	margin-top: 0.85rem;
	padding-top: 0.85rem;
	border-top: 1px solid var(--nice-border);
}

.download-variant:first-of-type {
	margin-top: 0.35rem;
}

.download-variant-title {
	font-weight: 650;
	font-size: 0.95rem;
	margin-bottom: 0;
}

.download-variant-blurb {
	margin-bottom: 0;
}

.download-unavailable {
	font-size: 0.85rem;
	color: var(--nice-muted);
	font-style: italic;
}

.doc-group-title {
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--nice-muted);
	font-weight: 650;
	margin: 1.5rem 0 0.75rem;
}

.doc-group-title:first-child {
	margin-top: 0;
}

.doc-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.doc-list li {
	background: #fff;
	border: 1px solid var(--nice-border);
	border-radius: 0.65rem;
	padding: 1rem 1.15rem;
	margin-bottom: 0.65rem;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.doc-list .doc-title {
	font-weight: 600;
	margin-bottom: 0.15rem;
}

.site-footer {
	border-top: 1px solid var(--nice-border);
	background: #fff;
	padding: 1.75rem 0;
	color: var(--nice-muted);
	font-size: 0.85rem;
}

@media (max-width: 575.98px) {
	.brand-lockup .brand-text {
		display: none;
	}

	.hero {
		padding-top: 2rem;
	}
}
