/*
 * DownSub design system.
 * Hand-authored component CSS — no utility framework, no build step.
 * Custom properties are namespaced with `--ds-` throughout.
 */

/* ---------- Tokens ---------- */
:root {
	--ds-bg: hsl(237 53% 7%);
	--ds-bg-alt: hsl(240 55% 5%);
	--ds-fg: hsl(0 0% 100%);
	--ds-fg-soft: hsl(220 25% 78%);
	--ds-fg-mute: hsl(220 18% 62%);
	--ds-border: hsl(231 35% 18%);
	--ds-card: hsl(232 47% 10%);
	--ds-card-soft: hsl(231 40% 12% / 0.6);
	--ds-accent: hsl(186 100% 50%);
	--ds-accent-soft: hsl(186 100% 50% / 0.12);
	--ds-blue: #3b82f6;
	--ds-amber: #fbbf24;
	--ds-red: #f87171;
	--ds-green: #34d399;
	--ds-radius-sm: 0.5rem;
	--ds-radius-md: 0.625rem;
	--ds-radius: 0.75rem;
	--ds-radius-lg: 0.75rem;
	--ds-radius-xl: 1rem;
	--ds-font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--ds-font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
	--ds-container: 1280px;
}

/* ---------- Base ---------- */
.ds-body, body.ds-site {
	background: var(--ds-bg);
	color: var(--ds-fg);
}

body.ds-site {
	font-family: var(--ds-font);
}

body.ds-site #wrapper,
body.ds-site #inner-wrap {
	background: var(--ds-bg);
}

/*
 * Deliberately low specificity (just the element, not "body.ds-site a")
 * so every component's own `.foo a { color: ... }` rule (single class,
 * lower specificity than a compound body.ds-site selector) still wins
 * without needing !important scattered everywhere.
 */
a {
	color: inherit;
	text-decoration: none;
}

/*
 * Kadence sets its own dark default color on heading elements (assuming a
 * light page background). Override it globally so every h1-h6 defaults to
 * white on this dark theme; individual components still override further
 * where they need a different color (accent, muted, etc.).
 */
body.ds-site h1,
body.ds-site h2,
body.ds-site h3,
body.ds-site h4,
body.ds-site h5,
body.ds-site h6 {
	color: #fff;
}

body.ds-site ::selection {
	background: hsl(186 100% 50% / 0.3);
	color: #fff;
}

.ds-container {
	max-width: var(--ds-container);
	margin: 0 auto;
	padding: 0 1rem;
}

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

/* ---------- Buttons ---------- */
.ds-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	height: 3rem;
	padding: 0 1.75rem;
	border-radius: var(--ds-radius);
	font-weight: 700;
	font-size: 0.875rem;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
	line-height: 1;
}
.ds-btn--lg { height: 3.5rem; padding: 0 2rem; font-size: 1rem; }
.ds-btn--primary {
	background: #fff;
	color: #060714 !important;
	box-shadow: 0 10px 30px hsl(0 0% 100% / 0.08);
}
.ds-btn--primary:hover { background: hsl(0 0% 92%); transform: translateY(-1px); }
.ds-btn--outline {
	background: hsl(0 0% 100% / 0.05);
	border-color: hsl(0 0% 100% / 0.12);
	color: #fff !important;
}
.ds-btn--outline:hover { background: hsl(0 0% 100% / 0.1); }
.ds-btn--ghost {
	background: transparent;
	border-color: hsl(0 0% 100% / 0.14);
	color: #fff !important;
	height: 2.25rem;
	padding: 0 1.5rem;
	font-size: 0.8rem;
	border-radius: var(--ds-radius-md);
}
.ds-btn--ghost:hover { background: hsl(0 0% 100% / 0.08); }

/* ---------- Navbar ---------- */
.ds-navbar {
	position: fixed;
	inset-inline: 0;
	top: 0;
	z-index: 100;
	transition: background-color .25s ease, border-color .25s ease, backdrop-filter .25s ease;
	border-bottom: 1px solid transparent;
}
.ds-navbar.is-scrolled {
	background: hsl(237 53% 7% / 0.72);
	backdrop-filter: blur(18px);
	border-color: hsl(0 0% 100% / 0.08);
}
.ds-navbar__inner {
	height: 4rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}
.ds-logo {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 800;
	font-size: 1.15rem;
	letter-spacing: -0.01em;
}
.ds-logo__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 0.55rem;
	background: linear-gradient(135deg, var(--ds-accent), var(--ds-blue));
	color: #060714;
	box-shadow: 0 0 16px hsl(186 100% 50% / 0.35);
}
.ds-logo__text {
	background: linear-gradient(90deg, var(--ds-accent), var(--ds-blue));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.ds-nav { display: none; }
.ds-nav__list {
	display: flex;
	align-items: center;
	gap: 0.15rem;
	list-style: none;
	margin: 0;
	padding: 0.3rem;
	background: hsl(0 0% 100% / 0.04);
	border: 1px solid hsl(0 0% 100% / 0.08);
	border-radius: 999px;
}
.ds-nav__link {
	display: inline-block;
	padding: 0.4rem 0.95rem;
	border-radius: 999px;
	font-size: 0.87rem;
	font-weight: 600;
	color: hsl(0 0% 100% / 0.62);
	transition: background-color .18s ease, color .18s ease;
}
.ds-nav__item.is-active .ds-nav__link,
.ds-nav__link:hover { color: #fff; background: hsl(0 0% 100% / 0.08); }
.ds-navbar__cta { display: none; }
.ds-navbar__toggle {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	width: 2.4rem;
	height: 2.4rem;
	border-radius: 0.5rem;
	border: 1px solid hsl(0 0% 100% / 0.1);
	background: hsl(0 0% 100% / 0.04);
}
.ds-navbar__toggle-bar { width: 1.1rem; height: 2px; margin: 0 auto; background: #fff; border-radius: 1px; }
.ds-mobile-nav {
	background: hsl(232 47% 9% / 0.97);
	backdrop-filter: blur(18px);
	border-top: 1px solid hsl(0 0% 100% / 0.08);
	padding: 1rem 1.25rem 1.5rem;
}
.ds-mobile-nav__list { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-direction: column; gap: 0.25rem; }
.ds-mobile-nav__list a { display: block; padding: 0.75rem 0.9rem; border-radius: 0.6rem; font-weight: 600; color: hsl(0 0% 100% / 0.7); }
.ds-mobile-nav__list a:hover { background: hsl(0 0% 100% / 0.06); color: #fff; }
.ds-mobile-nav__cta { width: 100%; }

@media (min-width: 900px) {
	.ds-nav { display: block; }
	.ds-navbar__cta { display: inline-flex; }
	.ds-navbar__toggle { display: none; }
	.ds-mobile-nav { display: none !important; }
}

/* ---------- Hero ---------- */
.ds-hero { position: relative; padding: 7rem 0 5rem; overflow: hidden; border-bottom: 1px solid hsl(0 0% 100% / 0.05); }
.ds-hero--compact { padding: 7rem 0 4rem; }
@media (min-width: 768px) {
	.ds-hero { padding-top: 10rem; padding-bottom: 7rem; }
	.ds-hero--compact { padding-top: 10rem; padding-bottom: 5rem; }
}
.ds-hero__bg { position: absolute; inset: 0; pointer-events: none; }
.ds-hero__bg--grid {
	background-image:
		linear-gradient(to right, hsl(0 0% 100% / 0.035) 1px, transparent 1px),
		linear-gradient(to bottom, hsl(0 0% 100% / 0.035) 1px, transparent 1px);
	background-size: 42px 42px;
	mask-image: linear-gradient(to bottom, black, transparent 85%);
}
.ds-hero__bg--dot {
	background-image: radial-gradient(hsl(0 0% 100% / 0.12) 1px, transparent 1px);
	background-size: 22px 22px;
	mask-image: linear-gradient(to bottom, black, transparent 80%);
}
.ds-hero--tint-cyan .ds-hero__bg::after { background: linear-gradient(180deg, hsl(186 100% 50% / 0.14), hsl(217 91% 60% / 0.05) 45%, transparent); }
.ds-hero--tint-red .ds-hero__bg::after { background: linear-gradient(180deg, hsl(0 84% 60% / 0.13), hsl(186 100% 50% / 0.05) 50%, transparent); }
.ds-hero--tint-amber .ds-hero__bg::after { background: linear-gradient(180deg, hsl(43 96% 56% / 0.11), hsl(186 100% 50% / 0.05) 50%, transparent); }
.ds-hero__bg::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 420px; }
.ds-hero__inner { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; text-align: center; }
.ds-hero__icon {
	display: inline-flex;
	align-items: center; justify-content: center;
	padding: 0.75rem;
	border-radius: var(--ds-radius);
	background: hsl(0 0% 100% / 0.05);
	border: 1px solid hsl(0 0% 100% / 0.1);
	box-shadow: inset 0 2px 4px hsl(0 0% 0% / 0.2);
	backdrop-filter: blur(12px);
	color: var(--ds-accent);
	margin-bottom: 1.75rem;
}
.ds-hero__icon svg { width: 2.25rem; height: 2.25rem; }
.ds-hero__eyebrow {
	display: inline-flex; align-items: center;
	gap: 0.5rem;
	padding: 0.4rem 1rem;
	border-radius: 999px;
	border: 1px solid hsl(0 0% 100% / 0.1);
	background: hsl(0 0% 100% / 0.05);
	font-size: 0.85rem; font-weight: 600;
	color: hsl(0 0% 100% / 0.8);
	margin-bottom: 1.5rem;
}
.ds-hero__dot { width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--ds-accent); box-shadow: 0 0 8px hsl(186 100% 50% / 0.8); }
.ds-hero__title { font-size: 2.25rem; font-weight: 900; letter-spacing: -0.025em; line-height: 1.1; margin: 0 0 1.75rem; }
.ds-hero__subtitle { font-size: 1rem; color: hsl(0 0% 100% / 0.65); line-height: 1.625; max-width: 48rem; margin: 0 auto 2.25rem; }
.ds-hero__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem; }

@media (min-width: 640px) {
	.ds-hero__title { font-size: 3rem; }
}
@media (min-width: 768px) {
	.ds-hero__title { font-size: 4.5rem; line-height: 1; }
	.ds-hero__subtitle { font-size: 1.25rem; }
}
/* Only the homepage hero scales up further at lg — inner-page heroes cap at 72px. */
@media (min-width: 1024px) {
	.ds-hero--jumbo .ds-hero__title { font-size: 6rem; }
}

/* ---------- Sections ---------- */
.ds-section { padding: 6rem 0; position: relative; }
.ds-section--alt { background: hsl(0 0% 0% / 0.35); border-top: 1px solid hsl(0 0% 100% / 0.05); border-bottom: 1px solid hsl(0 0% 100% / 0.05); }
@media (min-width: 768px) {
	.ds-section { padding: 7rem 0; }
}
.ds-section__head { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.ds-section__head--wide { max-width: 820px; }
.ds-section__title { font-size: 1.875rem; font-weight: 700; letter-spacing: -0.015em; margin: 0 0 1.25rem; }
.ds-section__lead { color: hsl(0 0% 100% / 0.62); font-size: 1.125rem; line-height: 1.6; margin: 0; }
.ds-narrow { max-width: 760px; margin: 0 auto; }
.ds-wide { max-width: 1080px; margin: 0 auto; }

@media (min-width: 768px) {
	.ds-section__title { font-size: 3rem; }
}

/* ---------- Cards / grid ---------- */
.ds-grid { display: grid; gap: 1.15rem; }
.ds-grid--2 { grid-template-columns: repeat(1, 1fr); }
.ds-grid--3 { grid-template-columns: repeat(1, 1fr); }
.ds-grid--4 { grid-template-columns: repeat(1, 1fr); }
@media (min-width: 640px) {
	.ds-grid--2 { grid-template-columns: repeat(2, 1fr); }
	.ds-grid--3 { grid-template-columns: repeat(2, 1fr); }
	.ds-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
	.ds-grid--3 { grid-template-columns: repeat(3, 1fr); }
	.ds-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.ds-card {
	background: hsl(232 47% 10% / 0.4);
	border: 1px solid hsl(0 0% 100% / 0.05);
	border-radius: var(--ds-radius);
	padding: 2rem;
	backdrop-filter: blur(16px);
	box-shadow: 0 1px 3px hsl(0 0% 0% / 0.1), 0 1px 2px -1px hsl(0 0% 0% / 0.1);
	transition: border-color .5s ease, box-shadow .5s ease;
}
.ds-card:hover { border-color: hsl(0 0% 100% / 0.1); box-shadow: 0 8px 30px hsl(0 0% 0% / 0.35); }
.ds-card__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 3rem; height: 3rem;
	border-radius: var(--ds-radius);
	background: linear-gradient(135deg, hsl(0 0% 100% / 0.1), hsl(0 0% 100% / 0.05));
	border: 1px solid hsl(0 0% 100% / 0.1);
	box-shadow: inset 0 2px 4px hsl(0 0% 0% / 0.05);
	color: var(--ds-accent);
	margin-bottom: 1.5rem;
}
.ds-card__icon svg { width: 1.5rem; height: 1.5rem; filter: drop-shadow(0 0 8px hsl(186 100% 50% / 0.5)); }
.ds-card__eyebrow { font-family: var(--ds-font-mono); font-weight: 700; color: var(--ds-accent); font-size: 1.4rem; margin-bottom: 0.4rem; }
.ds-card__title { font-size: 1.15rem; font-weight: 700; margin: 0 0 0.55rem; letter-spacing: -0.01em; }
.ds-card__text { color: hsl(0 0% 100% / 0.62); line-height: 1.6; margin: 0; font-size: 0.96rem; }

.ds-glass {
	background: hsl(232 47% 10% / 0.6);
	backdrop-filter: blur(20px);
	border: 1px solid hsl(0 0% 100% / 0.06);
	border-radius: var(--ds-radius-lg);
	box-shadow: 0 8px 26px hsl(0 0% 0% / 0.32);
}

/* ---------- Steps ---------- */
.ds-steps { display: grid; gap: 1.15rem; grid-template-columns: repeat(1, 1fr); }
@media (min-width: 720px) { .ds-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .ds-steps { grid-template-columns: repeat(4, 1fr); } }
.ds-step { border: 1px solid hsl(0 0% 100% / 0.08); background: hsl(232 47% 10% / 0.4); border-radius: var(--ds-radius); padding: 1.6rem; }
.ds-step__num { font-family: var(--ds-font-mono); color: var(--ds-accent); font-size: 0.9rem; margin-bottom: 1.1rem; }
.ds-step__title { font-size: 1.2rem; font-weight: 700; margin: 0 0 0.55rem; }
.ds-step__text { color: hsl(0 0% 100% / 0.62); line-height: 1.6; margin: 0; }

/* ---------- Platform grid ---------- */
.ds-platforms { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .ds-platforms { grid-template-columns: repeat(3, 1fr); } }
.ds-platform {
	position: relative;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	text-align: center;
	overflow: hidden;
	border-radius: var(--ds-radius);
	border: 1px solid hsl(0 0% 100% / 0.1);
	background: hsl(0 0% 100% / 0.05);
	padding: 1.25rem;
	box-shadow: 0 10px 15px -3px hsl(0 0% 0% / 0.1), 0 4px 6px -4px hsl(0 0% 0% / 0.1);
	transition: border-color .3s ease, background-color .3s ease;
}
.ds-platform:hover { border-color: hsl(186 100% 50% / 0.5); background: hsl(0 0% 100% / 0.1); }
.ds-platform:hover .ds-platform__icon svg { transform: scale(1.1); }
.ds-platform--primary::after {
	content: "";
	position: absolute; top: 0.5rem; right: 0.5rem;
	width: 0.375rem; height: 0.375rem; border-radius: 50%;
	background: var(--ds-accent);
	box-shadow: 0 0 8px hsl(186 100% 50% / 0.8);
}
.ds-platform__icon { margin-bottom: 1rem; color: #fff; }
.ds-platform__icon svg { width: 2.5rem; height: 2.5rem; transition: transform .3s ease; }
.ds-platform__name { font-weight: 600; font-size: 0.875rem; letter-spacing: -0.01em; }
.ds-platform__badge {
	display: inline-flex; align-items: center; justify-content: center;
	margin-top: 0.75rem; height: 1.25rem;
	padding: 0.1rem 0.5rem;
	border-radius: 999px;
	border: 1px solid hsl(186 100% 50% / 0.2);
	background: hsl(186 100% 50% / 0.1);
	color: var(--ds-accent);
	font-size: 0.625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
}

/* ---------- FAQ ---------- */
.ds-faq { display: flex; flex-direction: column; gap: 1rem; }
.ds-faq__item {
	border: 1px solid hsl(0 0% 100% / 0.1);
	border-radius: var(--ds-radius);
	background: hsl(232 47% 10% / 0.4);
	backdrop-filter: blur(8px);
	overflow: hidden;
	transition: border-color .3s ease, background-color .3s ease;
}
.ds-faq__item:has(.ds-faq__question[aria-expanded="true"]) {
	border-color: hsl(0 0% 100% / 0.2);
	background: hsl(0 0% 100% / 0.05);
}
.ds-faq__head { margin: 0; }
.ds-faq__question {
	width: 100%;
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	padding: 1rem 1.5rem;
	background: transparent; border: none;
	color: hsl(0 0% 100% / 0.9); font-weight: 600; font-size: 1.125rem; text-align: left; cursor: pointer;
	transition: color .2s ease;
}
.ds-faq__question:hover { color: #fff !important; }
.ds-faq__question[aria-expanded="true"] { color: var(--ds-accent) !important; }
.ds-faq__caret { color: var(--ds-accent); transition: transform .2s ease; flex-shrink: 0; }
.ds-faq__question[aria-expanded="true"] .ds-faq__caret { transform: rotate(90deg); }
.ds-faq__answer { padding: 0.5rem 1.5rem 1.25rem; color: hsl(0 0% 100% / 0.6); font-size: 1rem; line-height: 1.625; }
.ds-faq__answer p { margin: 0; }
.ds-faq__answer[hidden] { display: none; }

/* ---------- Callouts ---------- */
.ds-callout { border-radius: var(--ds-radius); padding: 1.1rem 1.4rem; border: 1px solid; line-height: 1.6; }
.ds-callout p { margin: 0; }
.ds-callout--info { background: hsl(186 100% 50% / 0.08); border-color: hsl(186 100% 50% / 0.25); color: hsl(186 60% 92%); }
.ds-callout--warning { background: hsl(43 96% 56% / 0.08); border-color: hsl(43 96% 56% / 0.25); color: hsl(43 60% 92%); }

/* ---------- CTA banner ---------- */
.ds-cta { padding: 6rem 0; text-align: center; border-top: 1px solid hsl(0 0% 100% / 0.05); position: relative; }
@media (min-width: 768px) {
	.ds-cta { padding: 7rem 0; }
}
.ds-cta__title { font-size: 1.875rem; font-weight: 900; letter-spacing: -0.02em; margin: 0 0 1rem; }
.ds-cta__text { color: hsl(0 0% 100% / 0.62); font-size: 1.05rem; max-width: 560px; margin: 0 auto 1.75rem; line-height: 1.6; }

@media (min-width: 768px) {
	.ds-cta__title { font-size: 3rem; }
}

/* ---------- Breadcrumbs ---------- */
.ds-breadcrumbs { margin-bottom: 2rem; }
.ds-breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin: 0; padding: 0; font-size: 0.875rem; color: hsl(0 0% 100% / 0.5); }
.ds-breadcrumbs a { color: hsl(0 0% 100% / 0.5); }
.ds-breadcrumbs a:hover { color: #fff; }
.ds-breadcrumbs [aria-current="page"] { color: hsl(0 0% 100% / 0.8); }
.ds-breadcrumbs li { display: inline-flex; align-items: center; gap: 0.5rem; }
.ds-breadcrumbs li svg { width: 1rem; height: 1rem; color: hsl(0 0% 100% / 0.3); flex-shrink: 0; }

/* ---------- Table ---------- */
.ds-table-wrap { overflow-x: auto; border: 1px solid hsl(0 0% 100% / 0.08); border-radius: var(--ds-radius); background: hsl(232 47% 10% / 0.35); }
.ds-table { width: 100%; min-width: 640px; border-collapse: collapse; text-align: left; }
.ds-table th { background: hsl(0 0% 100% / 0.04); text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.75rem; color: hsl(0 0% 100% / 0.55); padding: 0.9rem 1.1rem; }
.ds-table td { padding: 0.95rem 1.1rem; border-top: 1px solid hsl(0 0% 100% / 0.07); color: hsl(0 0% 100% / 0.72); vertical-align: top; }

/* ---------- Checklist ---------- */
.ds-checklist { display: grid; gap: 0.85rem; grid-template-columns: 1fr; margin: 0; padding: 0; list-style: none; }
@media (min-width: 720px) { .ds-checklist--2 { grid-template-columns: repeat(2, 1fr); } }
.ds-checklist li { display: flex; gap: 0.7rem; align-items: flex-start; border: 1px solid hsl(0 0% 100% / 0.08); border-radius: var(--ds-radius-sm); padding: 0.9rem 1.1rem; background: hsl(0 0% 100% / 0.03); color: hsl(0 0% 100% / 0.68); line-height: 1.55; }
.ds-checklist li svg { color: var(--ds-accent); flex-shrink: 0; margin-top: 0.15rem; }

.ds-inline-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 1.8rem; margin-top: 2.2rem; color: hsl(0 0% 100% / 0.5); font-size: 0.9rem; }
.ds-inline-stats span { display: inline-flex; align-items: center; gap: 0.4rem; }
.ds-inline-stats svg { color: var(--ds-accent); }

/* ---------- Prose (legal pages) ---------- */
.ds-prose { color: hsl(0 0% 100% / 0.7); line-height: 1.75; font-size: 1.02rem; }
.ds-prose > p:first-child { font-size: 1.15rem; color: hsl(0 0% 100% / 0.9); }
.ds-prose h2 { font-size: 1.5rem; font-weight: 800; color: #fff; margin: 2.4rem 0 0.9rem; letter-spacing: -0.01em; }
.ds-prose p { margin: 0 0 1rem; }
.ds-prose ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.ds-prose li { margin-bottom: 0.4rem; }

/* ---------- Footer ---------- */
.ds-footer { position: relative; padding: 5rem 0 2.5rem; border-top: 1px solid hsl(0 0% 100% / 0.05); overflow: hidden; background: var(--ds-bg); }
.ds-footer__glow { position: absolute; inset: 0; background-image: linear-gradient(to right, hsl(0 0% 100% / 0.025) 1px, transparent 1px), linear-gradient(to bottom, hsl(0 0% 100% / 0.025) 1px, transparent 1px); background-size: 40px 40px; pointer-events: none; }
.ds-footer__grid { position: relative; z-index: 1; display: grid; gap: 2.6rem; grid-template-columns: 1fr; }
@media (min-width: 780px) { .ds-footer__grid { grid-template-columns: 5fr 2fr 2fr 3fr; } }
.ds-footer__desc { color: hsl(0 0% 100% / 0.6); line-height: 1.6; max-width: 340px; margin: 1.1rem 0 0.9rem; font-size: 0.92rem; }
.ds-footer__fine { color: hsl(0 0% 100% / 0.4); line-height: 1.6; max-width: 340px; font-size: 0.8rem; margin: 0; }
.ds-footer__col-title { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #fff; margin: 0 0 1.1rem; }
.ds-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.65rem; }
.ds-footer__links a { color: hsl(0 0% 100% / 0.58); font-size: 0.92rem; }
.ds-footer__links a:hover { color: var(--ds-accent); }
.ds-footer__bottom { position: relative; z-index: 1; margin-top: 3.5rem; padding-top: 1.75rem; border-top: 1px solid hsl(0 0% 100% / 0.08); display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.8rem; color: hsl(0 0% 100% / 0.4); }
@media (min-width: 720px) { .ds-footer__bottom { flex-direction: row; justify-content: space-between; } }

/* ---------- Blog ---------- */
.ds-blog-grid { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
@media (min-width: 780px) { .ds-blog-grid { grid-template-columns: repeat(2, 1fr); } }
.ds-blog-card { border: 1px solid hsl(0 0% 100% / 0.08); border-radius: var(--ds-radius); padding: 1.6rem; background: hsl(232 47% 10% / 0.4); display: flex; flex-direction: column; gap: 0.8rem; }
.ds-blog-card__meta { font-size: 0.78rem; color: hsl(0 0% 100% / 0.42); text-transform: uppercase; letter-spacing: 0.05em; }
.ds-blog-card__title { font-size: 1.3rem; font-weight: 700; margin: 0; letter-spacing: -0.01em; }
.ds-blog-card__title a:hover { color: var(--ds-accent); }
.ds-blog-card__excerpt { color: hsl(0 0% 100% / 0.6); line-height: 1.6; margin: 0; }
.ds-blog-card__link { color: var(--ds-accent); font-weight: 600; font-size: 0.9rem; }
.ds-post-header { max-width: 760px; margin: 0 auto 3rem; text-align: center; }
.ds-post-header__meta { color: hsl(0 0% 100% / 0.45); font-size: 0.85rem; margin-bottom: 1rem; }
.ds-post-content { max-width: 720px; margin: 0 auto; }
.ds-post-content.ds-prose h2 { font-size: 1.6rem; }
.ds-post-content.ds-prose h3 { font-size: 1.25rem; font-weight: 700; color: #fff; margin: 1.8rem 0 0.7rem; }

/* ---------- Contact form (FluentForm skin) ---------- */
.ds-contact-form-wrap { max-width: 640px; margin: 0 auto; padding: 2rem; }
.ds-contact-form-wrap .ff-el-form-control,
.ds-contact-form-wrap textarea,
.ds-contact-form-wrap input[type="text"],
.ds-contact-form-wrap input[type="email"] {
	background: hsl(0 0% 0% / 0.35) !important;
	border: 1px solid hsl(0 0% 100% / 0.12) !important;
	color: #fff !important;
	border-radius: var(--ds-radius-sm) !important;
	height: 3rem !important;
	padding: 0 1rem !important;
}
.ds-contact-form-wrap textarea { height: auto !important; padding: 0.9rem 1rem !important; min-height: 150px !important; }
.ds-contact-form-wrap label { color: hsl(0 0% 100% / 0.6) !important; font-size: 0.8rem !important; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600 !important; }
.ds-contact-form-wrap .ff-btn, .ds-contact-form-wrap button[type="submit"] {
	background: #fff !important; color: #060714 !important; border-radius: var(--ds-radius-sm) !important;
	height: 3.2rem !important; font-weight: 800 !important; border: none !important; width: 100%;
}

/* ---------- Responsive nudges ---------- */
@media (max-width: 480px) {
	.ds-section { padding: 3.5rem 0; }
}
