/* DotThemes Home: blog/news layout. Scoped to .dt-home. No dependencies. */

.dt-home {
	/* Palette: edit here. Near-black + lime, from the farooque.dev reference. */
	--dt-ink: #0a0a0a;
	--dt-ink-2: #14161a;
	--dt-lime: #c6f432;
	--dt-lime-hover: #d6ff4d;
	--dt-bg: #ffffff;
	--dt-soft: #f5f6f1;
	--dt-line: #e3e5dd;
	--dt-text: #14161a;
	--dt-muted: #596070;
	--dt-on-dark: #f4f5f0;
	--dt-on-dark-muted: #a9aeb8;
	--dt-dark-line: #24272d;

	/* 8px spacing scale */
	--dt-1: 8px;
	--dt-2: 16px;
	--dt-3: 24px;
	--dt-4: 32px;
	--dt-6: 48px;
	--dt-8: 64px;
	--dt-10: 80px;

	--dt-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--dt-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
	--dt-shadow: 0 1px 2px rgba(10, 10, 10, 0.05), 0 8px 24px rgba(10, 10, 10, 0.06);
	--dt-shadow-hover: 0 2px 4px rgba(10, 10, 10, 0.06), 0 18px 40px rgba(10, 10, 10, 0.14);

	font-family: var(--dt-font);
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--dt-text);
	background: var(--dt-bg);
	overflow-x: clip;
}

.dt-home *,
.dt-home *::before,
.dt-home *::after {
	box-sizing: border-box;
}

.dt-home a {
	color: inherit;
	text-decoration: none;
}

.dt-home h1,
.dt-home h2,
.dt-home h3,
.dt-home p,
.dt-home ul {
	margin: 0;
	padding: 0;
}

.dt-home ul {
	list-style: none;
}

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

.dt-home svg {
	display: block;
}

.dt-home :focus-visible {
	outline: 3px solid var(--dt-ink);
	outline-offset: 3px;
	border-radius: 4px;
}

.dt-home .dt-hero :focus-visible,
.dt-home .dt-cta :focus-visible,
.dt-home .dt-section--dark :focus-visible {
	outline-color: var(--dt-lime);
}

.dt-container {
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: var(--dt-3);
}

/* ---------- Buttons ---------- */

.dt-home .dt-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 var(--dt-3);
	border: 1.5px solid transparent;
	border-radius: 10px;
	font: inherit;
	font-size: 1rem;
	font-weight: 650;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.dt-home .dt-btn--primary {
	background: var(--dt-lime);
	color: var(--dt-ink);
}

.dt-home .dt-btn--primary:hover {
	background: var(--dt-lime-hover);
}

.dt-home .dt-btn--ghost {
	border-color: rgba(244, 245, 240, 0.3);
	color: var(--dt-on-dark);
}

.dt-home .dt-btn--ghost:hover {
	border-color: var(--dt-lime);
	color: var(--dt-lime);
}

.dt-home .dt-btn--lg {
	min-height: 56px;
	padding: 0 var(--dt-4);
}

/* =====================================================================
   Hero
   ===================================================================== */

.dt-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--dt-ink);
	color: var(--dt-on-dark);
	padding-block: var(--dt-8);
}

/* Fine grid, faded toward the edges */
.dt-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
	background-size: 48px 48px;
	-webkit-mask-image: radial-gradient(ellipse 85% 75% at 70% 35%, #000 15%, transparent 75%);
	mask-image: radial-gradient(ellipse 85% 75% at 70% 35%, #000 15%, transparent 75%);
}

/* Slow lime glow */
.dt-hero::after {
	content: "";
	position: absolute;
	z-index: -1;
	top: -180px;
	right: -140px;
	width: 560px;
	height: 560px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(198, 244, 50, 0.2), transparent 65%);
	animation: dt-glow 9s ease-in-out infinite alternate;
	pointer-events: none;
}

.dt-hero__inner {
	display: grid;
	gap: var(--dt-6);
	align-items: center;
}

.dt-home .dt-hero__title {
	max-width: 17ch;
	font-size: clamp(2.25rem, 5vw, 3.5rem);
	font-weight: 760;
	line-height: 1.07;
	letter-spacing: -0.03em;
	color: #fff;
}

.dt-home .dt-hero__text {
	max-width: 50ch;
	margin-top: var(--dt-3);
	font-size: 1.1875rem;
	color: var(--dt-on-dark-muted);
}

.dt-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--dt-2);
	margin-top: var(--dt-4);
}

/* ----- Visual: a page being coded and built ----- */

.dt-hero__visual {
	position: relative;
	width: 100%;
	max-width: 560px;
	margin-inline: auto;
}

.dt-win {
	overflow: hidden;
	border: 1px solid #2a2e35;
	border-radius: 16px;
	background: #0e1013;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(198, 244, 50, 0.05);
}

.dt-win__bar {
	display: flex;
	align-items: center;
	gap: 6px;
	height: 40px;
	padding-inline: 14px;
	border-bottom: 1px solid #22262c;
	background: #13161a;
}

.dt-win__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #2f343c;
}

.dt-win__url {
	flex: 1;
	max-width: 240px;
	margin-left: 12px;
	padding: 3px 12px;
	border-radius: 999px;
	background: #0b0d10;
	color: #7d8591;
	font-family: var(--dt-mono);
	font-size: 12px;
	line-height: 1.5;
}

.dt-win__body {
	display: grid;
	grid-template-columns: 1fr;
}

/* Code panel (hidden on very small screens) */
.dt-code {
	display: none;
	padding: 16px 12px 16px 8px;
	border-right: 1px solid #22262c;
	font-family: var(--dt-mono);
	font-size: 12px;
	line-height: 1.9;
	color: #8b93a1;
	counter-reset: ln;
}

.dt-code__row {
	display: flex;
	align-items: center;
	min-height: 23px;
	counter-increment: ln;
}

.dt-code__row::before {
	content: counter(ln);
	flex: none;
	width: 24px;
	margin-right: 10px;
	text-align: right;
	color: #424955;
}

.dt-code__txt {
	display: block;
	overflow: hidden;
	white-space: pre;
	color: #d7dbe2;
	animation: dt-type calc(var(--n) * 38ms) steps(var(--n)) var(--d) both;
}

.dt-code .t {
	color: var(--dt-lime);
}

.dt-code .a {
	color: #9aa3b2;
}

.dt-code .s {
	color: #ffffff;
}

.dt-caret {
	width: 7px;
	height: 14px;
	background: var(--dt-lime);
	animation: dt-blink 1s steps(1) 5s infinite both;
}

/* Rendered preview */
.dt-prev {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-height: 292px;
	padding: 14px;
	background: #f6f7f2;
}

.dt-prev > *:not(.dt-prev__scan),
.dt-prev__hero > *,
.dt-prev__cards > * {
	animation: dt-pop 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d) both;
}

.dt-prev__nav {
	display: flex;
	align-items: center;
	gap: 8px;
}

.dt-prev__logo {
	width: 22px;
	height: 22px;
	margin-right: auto;
	border-radius: 6px;
	background: var(--dt-ink);
}

.dt-prev__link {
	width: 28px;
	height: 6px;
	border-radius: 3px;
	background: #cfd3c7;
}

.dt-prev__hero {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 4px 0;
}

.dt-prev__h,
.dt-prev__p {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.dt-prev__h span {
	height: 14px;
	border-radius: 4px;
	background: var(--dt-ink);
}

.dt-prev__p span {
	height: 7px;
	border-radius: 4px;
	background: #c3c8ba;
}

.dt-prev__btn {
	width: 92px;
	height: 28px;
	border-radius: 8px;
	background: var(--dt-lime);
	box-shadow: inset 0 0 0 1px rgba(10, 10, 10, 0.12);
}

.dt-prev__cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	margin-top: auto;
}

.dt-prev__cards span {
	height: 64px;
	border: 1px solid #e1e4d9;
	border-radius: 8px;
	background: #fff;
	background-image: linear-gradient(#e6e9de, #e6e9de), linear-gradient(#ecefe5, #ecefe5);
	background-repeat: no-repeat;
	background-size: 60% 6px, 85% 5px;
	background-position: 10px 12px, 10px 26px;
}

.dt-prev__cards span:nth-child(2) {
	background-color: var(--dt-ink);
	border-color: var(--dt-ink);
	background-image: linear-gradient(rgba(198, 244, 50, 0.85), rgba(198, 244, 50, 0.85)), linear-gradient(#2b2f36, #2b2f36);
}

/* Scan line that sweeps the finished page */
.dt-prev__scan {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 34%;
	border-bottom: 2px solid rgba(138, 176, 10, 0.9);
	background: linear-gradient(to bottom, rgba(198, 244, 50, 0), rgba(198, 244, 50, 0.22));
	opacity: 0;
	transform: translateY(-100%);
	animation: dt-scan 5s ease-in-out 6s infinite;
	pointer-events: none;
}

/* Floating technology chips */
.dt-chip {
	position: absolute;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border: 1px solid #2f343c;
	border-radius: 999px;
	background: rgba(14, 16, 19, 0.88);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	animation: dt-float 6s ease-in-out infinite alternate;
}

.dt-chip::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--dt-lime);
	box-shadow: 0 0 10px rgba(198, 244, 50, 0.7);
}

.dt-chip--1 {
	top: -18px;
	right: 20px;
}

.dt-chip--2 {
	bottom: 56px;
	left: 8px;
	animation-delay: -2s;
}

.dt-chip--3 {
	bottom: -18px;
	right: 36px;
	animation-delay: -4s;
}

@keyframes dt-type {
	from {
		width: 0;
	}

	to {
		width: calc(var(--n) * 1ch);
	}
}

@keyframes dt-pop {
	from {
		opacity: 0;
		transform: translateY(10px) scale(0.98);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes dt-blink {
	50% {
		opacity: 0;
	}
}

@keyframes dt-scan {
	0% {
		opacity: 0;
		transform: translateY(-100%);
	}

	12% {
		opacity: 1;
	}

	70% {
		opacity: 1;
		transform: translateY(290%);
	}

	100% {
		opacity: 0;
		transform: translateY(290%);
	}
}

@keyframes dt-float {
	from {
		transform: translateY(-5px);
	}

	to {
		transform: translateY(5px);
	}
}

@keyframes dt-glow {
	from {
		opacity: 0.75;
		transform: translate3d(0, 0, 0) scale(1);
	}

	to {
		opacity: 1;
		transform: translate3d(-50px, 30px, 0) scale(1.15);
	}
}

/* =====================================================================
   Sections and headings
   ===================================================================== */

.dt-section {
	padding-block: var(--dt-8);
}

.dt-section--tight {
	padding-block: var(--dt-6);
}

.dt-section--soft {
	background: var(--dt-soft);
}

.dt-section--dark {
	position: relative;
	overflow: hidden;
	background: var(--dt-ink);
	color: var(--dt-on-dark);
}

.dt-section--dark::before {
	content: "";
	position: absolute;
	top: -240px;
	left: 50%;
	width: 900px;
	height: 480px;
	margin-left: -450px;
	background: radial-gradient(ellipse at center, rgba(198, 244, 50, 0.1), transparent 70%);
	pointer-events: none;
}

.dt-section--dark > .dt-container {
	position: relative;
}

.dt-home .dt-section__title {
	margin-bottom: var(--dt-4);
	font-size: 1.625rem;
	font-weight: 740;
	line-height: 1.2;
	letter-spacing: -0.015em;
}

/* Modern heading: icon tile, big title, subtitle, optional pill link */
.dt-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--dt-2) var(--dt-3);
	margin-bottom: var(--dt-4);
}

.dt-head__main {
	display: flex;
	align-items: center;
	gap: var(--dt-2);
}

.dt-head__icon {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: var(--dt-ink);
	color: var(--dt-lime);
	box-shadow: 0 6px 16px rgba(10, 10, 10, 0.18);
}

.dt-head__icon svg {
	width: 26px;
	height: 26px;
}

.dt-home .dt-head__title {
	font-size: clamp(1.75rem, 3.6vw, 2.5rem);
	font-weight: 780;
	line-height: 1.1;
	letter-spacing: -0.03em;
}

.dt-home .dt-head__sub {
	margin-top: 4px;
	font-size: 1rem;
	color: var(--dt-muted);
}

.dt-home .dt-head__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	padding: 0 14px 0 20px;
	border: 1.5px solid var(--dt-ink);
	border-radius: 999px;
	font-weight: 650;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.dt-head__link svg {
	width: 18px;
	height: 18px;
	transition: transform 0.2s ease;
}

.dt-home .dt-head__link:hover {
	background: var(--dt-ink);
	color: var(--dt-lime);
}

.dt-head__link:hover svg {
	transform: translateX(3px);
}

.dt-section--dark .dt-head__icon {
	border: 1px solid rgba(198, 244, 50, 0.3);
	background: rgba(198, 244, 50, 0.1);
	box-shadow: none;
}

.dt-home .dt-section--dark .dt-head__sub {
	color: var(--dt-on-dark-muted);
}

.dt-home .dt-section--dark .dt-head__title {
	color: #fff;
}

.dt-home .dt-section--dark .dt-head__link {
	border-color: rgba(244, 245, 240, 0.3);
	color: #fff;
}

.dt-home .dt-section--dark .dt-head__link:hover {
	border-color: var(--dt-lime);
	background: transparent;
	color: var(--dt-lime);
}

/* ---------- Shared post pieces ---------- */

.dt-media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--dt-soft);
}

.dt-home .dt-media__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.dt-media__ph {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, var(--dt-ink) 0 62%, var(--dt-lime) 62% 100%);
}

.dt-home .dt-badge {
	position: relative;
	z-index: 2;
	display: inline-block;
	align-self: flex-start;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--dt-lime);
	color: var(--dt-ink);
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.5;
	transition: background-color 0.15s ease;
}

.dt-home .dt-badge:hover {
	background: var(--dt-lime-hover);
}

.dt-home .dt-badge--sm {
	padding: 1px 10px;
	font-size: 0.75rem;
}

.dt-home .dt-badge--float {
	position: absolute;
	top: var(--dt-2);
	left: var(--dt-2);
	background: var(--dt-ink);
	color: var(--dt-lime);
}

.dt-home .dt-badge--float:hover {
	background: var(--dt-ink-2);
}

/* Whole card/row clickable through the title link */
.dt-home .dt-card__title a::after,
.dt-home .dt-lead__title a::after,
.dt-home .dt-row__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

/* ---------- Featured: 1 large + 5 on the right ---------- */

.dt-featured {
	display: grid;
	gap: var(--dt-3);
}

.dt-lead {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: flex-end;
	min-height: 420px;
	overflow: hidden;
	border-radius: 24px;
	background: var(--dt-ink);
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.dt-lead:hover {
	box-shadow: var(--dt-shadow-hover);
	transform: translateY(-3px);
}

.dt-lead .dt-media {
	position: absolute;
	inset: 0;
	z-index: -2;
	aspect-ratio: auto;
}

.dt-lead:hover .dt-media__img,
.dt-card:hover .dt-media__img,
.dt-row:hover .dt-media__img {
	transform: scale(1.05);
}

.dt-lead__shade {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(to top, rgba(10, 10, 10, 0.94) 0%, rgba(10, 10, 10, 0.6) 42%, rgba(10, 10, 10, 0) 78%);
}

.dt-lead__body {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 640px;
	padding: var(--dt-4);
	color: #fff;
}

.dt-home .dt-lead__title {
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	font-weight: 780;
	line-height: 1.15;
	letter-spacing: -0.025em;
	color: #fff;
}

.dt-home .dt-lead__excerpt {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
	color: rgba(255, 255, 255, 0.8);
}

.dt-featured__side {
	display: flex;
	flex-direction: column;
	padding: 8px;
	border: 1px solid var(--dt-line);
	border-radius: 24px;
	background: var(--dt-bg);
}

.dt-row {
	position: relative;
	display: grid;
	grid-template-columns: 96px 1fr;
	gap: var(--dt-2);
	flex: 1;
	align-items: center;
	padding: 12px;
	border-radius: 16px;
	transition: background-color 0.15s ease;
}

.dt-row:hover {
	background: var(--dt-soft);
}

.dt-row .dt-media {
	aspect-ratio: 4 / 3;
	border-radius: 12px;
}

.dt-row__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.dt-home .dt-row__title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -0.01em;
}

/* ---------- Grid cards ---------- */

.dt-grid {
	display: grid;
	gap: var(--dt-3);
}

.dt-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--dt-line);
	border-radius: 18px;
	background: var(--dt-bg);
	transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.dt-card:hover {
	border-color: transparent;
	box-shadow: var(--dt-shadow-hover);
	transform: translateY(-4px);
}

.dt-card__media {
	position: relative;
	overflow: hidden;
}

.dt-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: var(--dt-1);
	padding: var(--dt-3);
}

.dt-home .dt-card__title {
	font-size: 1.1875rem;
	font-weight: 720;
	line-height: 1.3;
	letter-spacing: -0.015em;
}

.dt-home .dt-card__excerpt {
	font-size: 0.9688rem;
	color: var(--dt-muted);
}

/* ---------- Pagination ---------- */

.dt-pagination {
	margin-top: var(--dt-6);
}

.dt-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	margin: 0 4px 8px 0;
	padding: 0 var(--dt-2);
	border: 1px solid var(--dt-line);
	border-radius: 10px;
	background: var(--dt-bg);
	font-weight: 600;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.dt-pagination a.page-numbers:hover {
	border-color: var(--dt-ink);
}

.dt-pagination .page-numbers.current {
	border-color: var(--dt-ink);
	background: var(--dt-ink);
	color: var(--dt-lime);
}

.dt-pagination .page-numbers.dots {
	border-color: transparent;
	background: transparent;
}

/* ---------- Services (dark) ---------- */

.dt-services {
	display: grid;
	gap: 20px;
}

.dt-home .dt-service {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--dt-2);
	overflow: hidden;
	padding: var(--dt-4);
	border: 1px solid var(--dt-dark-line);
	border-radius: 20px;
	background: #101214;
	transition: border-color 0.25s ease, transform 0.25s ease;
}

/* Soft lime light from the corner on hover */
.dt-service::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(420px 240px at 0% 0%, rgba(198, 244, 50, 0.16), transparent 70%);
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
}

.dt-home .dt-service:hover {
	border-color: rgba(198, 244, 50, 0.55);
	transform: translateY(-4px);
}

.dt-service:hover::before {
	opacity: 1;
}

.dt-service > * {
	position: relative;
}

.dt-service__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border: 1px solid rgba(198, 244, 50, 0.28);
	border-radius: 14px;
	background: rgba(198, 244, 50, 0.1);
	color: var(--dt-lime);
}

.dt-home .dt-icon {
	width: 26px;
	height: 26px;
}

.dt-home .dt-service__title {
	margin-top: var(--dt-1);
	font-size: 1.3125rem;
	font-weight: 740;
	line-height: 1.25;
	letter-spacing: -0.015em;
	color: #fff;
}

.dt-home .dt-service__text {
	flex: 1;
	color: var(--dt-on-dark-muted);
}

.dt-service__more {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-weight: 650;
	color: var(--dt-lime);
}

.dt-service__more svg {
	width: 18px;
	height: 18px;
	transition: transform 0.2s ease;
}

.dt-service:hover .dt-service__more svg {
	transform: translateX(4px);
}

/* ---------- Topics ---------- */

.dt-pills {
	display: flex;
	flex-wrap: wrap;
	gap: var(--dt-1);
}

.dt-home .dt-pill {
	display: inline-flex;
	align-items: center;
	gap: var(--dt-1);
	min-height: 44px;
	padding: 0 var(--dt-2);
	border: 1px solid var(--dt-line);
	border-radius: 999px;
	background: var(--dt-bg);
	font-weight: 600;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.dt-home .dt-pill:hover {
	border-color: var(--dt-ink);
	background: var(--dt-ink);
	color: var(--dt-lime);
}

.dt-pill__count {
	font-size: 0.8125rem;
	font-weight: 500;
	opacity: 0.65;
}

/* ---------- CTA ---------- */

.dt-cta {
	background: var(--dt-ink);
	color: var(--dt-on-dark);
	padding-block: var(--dt-8);
	border-top: 1px solid var(--dt-dark-line);
}

.dt-cta__inner {
	display: flex;
	flex-direction: column;
	gap: var(--dt-4);
	align-items: flex-start;
}

.dt-home .dt-cta__title {
	max-width: 22ch;
	font-size: clamp(1.75rem, 3.6vw, 2.5rem);
	font-weight: 760;
	line-height: 1.15;
	letter-spacing: -0.025em;
	color: #fff;
}

.dt-home .dt-cta__text {
	max-width: 52ch;
	margin-top: var(--dt-2);
	color: var(--dt-on-dark-muted);
}

/* ---------- Empty state ---------- */

.dt-empty {
	max-width: 560px;
	padding: var(--dt-6) var(--dt-4);
	margin-inline: auto;
	border: 1px dashed var(--dt-line);
	border-radius: 16px;
	text-align: center;
	background: var(--dt-bg);
}

.dt-home .dt-empty h2 {
	margin-bottom: var(--dt-1);
	font-size: 1.375rem;
}

.dt-home .dt-empty p {
	color: var(--dt-muted);
}

.dt-home .dt-empty a {
	font-weight: 650;
	text-decoration: underline;
}

/* =====================================================================
   Responsive (mobile-first)
   ===================================================================== */

@media (min-width: 560px) {
	.dt-win__body {
		grid-template-columns: 0.95fr 1.05fr;
	}

	.dt-code {
		display: block;
	}
}

@media (min-width: 640px) {
	.dt-grid,
	.dt-services {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 960px) {
	.dt-hero {
		padding-block: var(--dt-10);
	}

	.dt-hero__inner {
		grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
		gap: var(--dt-8);
	}

	.dt-win {
		transform: perspective(1400px) rotateY(-7deg) rotateX(2deg);
	}

	.dt-section {
		padding-block: var(--dt-10);
	}

	.dt-section--tight {
		padding-block: var(--dt-8);
	}

	.dt-featured {
		grid-template-columns: 1.55fr 1fr;
		align-items: stretch;
	}

	.dt-lead {
		min-height: 560px;
	}

	.dt-cta__inner {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
}

@media (min-width: 1024px) {
	.dt-grid,
	.dt-services {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 559px) {
	.dt-chip--2 {
		display: none;
	}

	.dt-chip--1 {
		right: 12px;
	}

	.dt-chip--3 {
		right: 16px;
	}

	.dt-lead__body {
		padding: var(--dt-3);
	}

	.dt-row {
		grid-template-columns: 88px 1fr;
	}
}

/* No motion: show the finished state */
@media (prefers-reduced-motion: reduce) {
	.dt-home *,
	.dt-home *::before,
	.dt-home *::after {
		animation: none !important;
		transition: none !important;
	}

	.dt-home .dt-win,
	.dt-home .dt-lead:hover,
	.dt-home .dt-card:hover,
	.dt-home .dt-service:hover {
		transform: none !important;
	}

	.dt-prev__scan {
		display: none;
	}
}
