/**
 * DCA Marketplace — design tokens + base components.
 *
 * Ported verbatim from design_system/Design System.dc.html:
 *   - token sheet          :root and :root[data-theme="dark"] (lines 15-133)
 *   - component styles     the style strings in its logic block (lines 987-1123)
 *
 * Rules this file follows:
 *   1. Component rules reference tokens only. The sole literal colours are
 *      --on-primary / --on-accent (added below), so light and dark parity is
 *      structural rather than something to remember.
 *   2. Mobile-first. The mocks are fixed desktop grids; every breakpoint here
 *      is additive (min-width) and uses the same tokens.
 *   3. Everything is prefixed .dca- and component rules are scoped under
 *      .dca-app so the plugin never restyles Astra's chrome.
 *
 * Contents
 *   01 Tokens          06 Badges           11 Modal
 *   02 Base/reset      07 Cards            12 Toast
 *   03 Layout          08 Filter bar       13 Reveal block
 *   04 Buttons         09 Pagination       14 Empty state
 *   05 Forms           10 Tabs             15 Utilities
 */

/* ============================================================ 01 TOKENS === */

:root {
	--brand-primary: #0b5d3b;
	--brand-primary-hover: #084a2f;
	--brand-primary-active: #063d26;
	--brand-primary-light: #e3f0e9;
	--brand-primary-tint: #f2f8f5;
	--brand-accent: #c8930a;
	--brand-accent-hover: #a67908;
	--brand-accent-light: #fff8e1;
	--brand-accent-onhero: #ffd987;

	--success: #2e7d32;
	--success-light: #e8f5e9;
	--warning: #c77700;
	--warning-light: #fff3d6;
	--danger: #c0392b;
	--danger-light: #fdecea;
	--info: #1976d2;
	--info-light: #e3f2fd;

	--bg: #f7f6f2;
	--surface: #ffffff;
	--surface-2: #f0efe9;
	--surface-3: #e8e7e1;
	--border: rgba(26, 26, 46, 0.10);
	--border-strong: rgba(26, 26, 46, 0.18);
	--divider: rgba(26, 26, 46, 0.06);

	--text: #1a1a2e;
	--text-muted: #5a5a72;
	--text-faint: #9a9aaa;
	--text-inverse: #ffffff;

	--hero-gradient: radial-gradient(1200px 600px at 12% 8%, #147a4d 0%, transparent 60%), radial-gradient(900px 500px at 88% 92%, #094a30 0%, transparent 55%), linear-gradient(160deg, #0b5d3b 0%, #063d26 100%);

	--font-display: 'Playfair Display', Georgia, serif;
	--font-body: 'Lexend Deca', system-ui, -apple-system, sans-serif;
	--font-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;

	--fs-xs: clamp(11px, 0.7vw + 8px, 12px);
	--fs-sm: clamp(12px, 0.7vw + 9px, 13px);
	--fs-base: clamp(14px, 0.6vw + 12px, 15px);
	--fs-md: clamp(15px, 0.6vw + 13px, 16px);
	--fs-lg: clamp(17px, 0.7vw + 14px, 19px);
	--fs-xl: clamp(20px, 1vw + 16px, 24px);
	--fs-2xl: clamp(26px, 1.6vw + 20px, 34px);
	--fs-3xl: clamp(34px, 2.4vw + 24px, 52px);
	--fs-hero: clamp(44px, 4vw + 24px, 76px);

	--lh-tight: 1.15;
	--lh-snug: 1.35;
	--lh-normal: 1.55;
	--lh-loose: 1.7;

	--tracking-tight: -0.02em;
	--tracking-normal: 0;
	--tracking-wide: 0.04em;
	--tracking-caps: 0.14em;

	--s-1: 0.25rem;
	--s-2: 0.5rem;
	--s-3: 0.75rem;
	--s-4: 1rem;
	--s-5: 1.25rem;
	--s-6: 1.5rem;
	--s-8: 2rem;
	--s-10: 2.5rem;
	--s-12: 3rem;
	--s-16: 4rem;
	--s-20: 5rem;
	--s-24: 6rem;

	--r-sm: 6px;
	--r-md: 10px;
	--r-lg: 16px;
	--r-xl: 24px;
	--r-full: 999px;

	--shadow-sm: 0 1px 2px rgba(11, 44, 28, 0.06), 0 1px 1px rgba(11, 44, 28, 0.04);
	--shadow-md: 0 4px 12px rgba(11, 44, 28, 0.08), 0 2px 4px rgba(11, 44, 28, 0.04);
	--shadow-lg: 0 12px 28px rgba(11, 44, 28, 0.10), 0 4px 8px rgba(11, 44, 28, 0.05);
	--shadow-xl: 0 24px 60px rgba(11, 44, 28, 0.14), 0 8px 16px rgba(11, 44, 28, 0.06);
	--shadow-glow: 0 0 0 4px rgba(11, 93, 59, 0.14);

	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--dur-fast: 120ms;
	--dur: 200ms;
	--dur-slow: 320ms;
	--t: var(--dur) var(--ease-out);

	--focus-ring: 0 0 0 3px rgba(11, 93, 59, 0.28), 0 0 0 1px #0b5d3b;

	color-scheme: light;

	/* Added by the plugin (not in the mock): text colour that sits on a filled
	   primary or gold surface. The mock hardcoded #fff and #1a1a2e inline;
	   naming them keeps component rules free of literal colours. Both are
	   legible against their fill in either theme, so they do not change below. */
	--on-primary: #ffffff;
	--on-accent: #1a1a2e;

	/* Text on the hero gradient. That surface is deep emerald in BOTH themes,
	   so its foreground must not flip with the theme — --text-inverse would. */
	--hero-text: #ffffff;
	--hero-text-muted: rgba(240, 246, 242, 0.78);
	--hero-text-faint: rgba(240, 246, 242, 0.60);

	/* Select chevron. The mock hardcoded a #5a5a72 stroke, which is nearly
	   invisible on a dark surface; the dark block swaps in a lighter stroke. */
	--select-arrow: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3e%3cpath d='M1 1.5L6 6.5L11 1.5' stroke='%235a5a72' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
}

:root[data-theme="dark"] {
	--brand-primary: #4cae7f;
	--brand-primary-hover: #68c294;
	--brand-primary-active: #8ad4ac;
	--brand-primary-light: rgba(76, 174, 127, 0.14);
	--brand-primary-tint: rgba(76, 174, 127, 0.06);
	--brand-accent: #e0b53c;
	--brand-accent-hover: #eec657;
	--brand-accent-light: rgba(224, 181, 60, 0.14);
	--success: #5ec97a;
	--success-light: rgba(94, 201, 122, 0.14);
	--warning: #e8b34a;
	--warning-light: rgba(232, 179, 74, 0.14);
	--danger: #ef6a5e;
	--danger-light: rgba(239, 106, 94, 0.14);
	--info: #5aa9ee;
	--info-light: rgba(90, 169, 238, 0.14);
	--bg: #0f1117;
	--surface: #161923;
	--surface-2: #1c202c;
	--surface-3: #242938;
	--border: rgba(255, 255, 255, 0.10);
	--border-strong: rgba(255, 255, 255, 0.18);
	--divider: rgba(255, 255, 255, 0.06);
	--text: #eef1f6;
	--text-muted: #a8b0c0;
	--text-faint: #6b7386;
	--text-inverse: #0f1117;
	--hero-gradient: radial-gradient(1200px 600px at 12% 8%, #14603f 0%, transparent 60%), radial-gradient(900px 500px at 88% 92%, #08321f 0%, transparent 55%), linear-gradient(160deg, #0d3a26 0%, #06231a 100%);
	--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
	--shadow-md: 0 4px 12px rgba(0, 0, 0, 0.45), 0 2px 4px rgba(0, 0, 0, 0.3);
	--shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.55), 0 4px 8px rgba(0, 0, 0, 0.35);
	--shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.7), 0 8px 16px rgba(0, 0, 0, 0.4);
	--focus-ring: 0 0 0 3px rgba(76, 174, 127, 0.32), 0 0 0 1px #4cae7f;
	color-scheme: dark;
	--select-arrow: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3e%3cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23a8b0c0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
}

/* Follow the OS when the visitor has not chosen a theme explicitly.
   Values are identical to the [data-theme="dark"] block above. */
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--brand-primary: #4cae7f;
		--brand-primary-hover: #68c294;
		--brand-primary-active: #8ad4ac;
		--brand-primary-light: rgba(76, 174, 127, 0.14);
		--brand-primary-tint: rgba(76, 174, 127, 0.06);
		--brand-accent: #e0b53c;
		--brand-accent-hover: #eec657;
		--brand-accent-light: rgba(224, 181, 60, 0.14);
		--success: #5ec97a;
		--success-light: rgba(94, 201, 122, 0.14);
		--warning: #e8b34a;
		--warning-light: rgba(232, 179, 74, 0.14);
		--danger: #ef6a5e;
		--danger-light: rgba(239, 106, 94, 0.14);
		--info: #5aa9ee;
		--info-light: rgba(90, 169, 238, 0.14);
		--bg: #0f1117;
		--surface: #161923;
		--surface-2: #1c202c;
		--surface-3: #242938;
		--border: rgba(255, 255, 255, 0.10);
		--border-strong: rgba(255, 255, 255, 0.18);
		--divider: rgba(255, 255, 255, 0.06);
		--text: #eef1f6;
		--text-muted: #a8b0c0;
		--text-faint: #6b7386;
		--text-inverse: #0f1117;
		--hero-gradient: radial-gradient(1200px 600px at 12% 8%, #14603f 0%, transparent 60%), radial-gradient(900px 500px at 88% 92%, #08321f 0%, transparent 55%), linear-gradient(160deg, #0d3a26 0%, #06231a 100%);
		--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
		--shadow-md: 0 4px 12px rgba(0, 0, 0, 0.45), 0 2px 4px rgba(0, 0, 0, 0.3);
		--shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.55), 0 4px 8px rgba(0, 0, 0, 0.35);
		--shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.7), 0 8px 16px rgba(0, 0, 0, 0.4);
		--focus-ring: 0 0 0 3px rgba(76, 174, 127, 0.32), 0 0 0 1px #4cae7f;
		color-scheme: dark;
		--select-arrow: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3e%3cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23a8b0c0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
	}
}

/* ======================================================== 02 BASE/RESET === */

.dca-app,
.dca-app *,
.dca-app *::before,
.dca-app *::after {
	box-sizing: border-box;
}

.dca-app {
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: var(--fs-base);
	line-height: var(--lh-normal);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	transition: background-color var(--t), color var(--t);
}

.dca-app a {
	color: var(--brand-primary);
	text-decoration: none;
	transition: color var(--t);
}

.dca-app a:hover {
	color: var(--brand-primary-hover);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/*
 * Astra conflict guard.
 *
 * Themes ship global/content-area link rules (e.g. `.entry-content a {
 * text-decoration: underline }`) whose specificity is not fixed — some Astra
 * builds nest it under an extra wrapper class, which can outrank a plain
 * class+element reset no matter which stylesheet prints last. Rather than
 * chase a moving specificity target, the decoration reset for anchors inside
 * plugin pages is unconditional. This is deliberately narrow: only the base
 * (non-hover) state, only text-decoration, only inside `.dca-page` — hover
 * underline stays a normal-weight rule so the many components that opt out
 * of it on hover (buttons, tabs, role cards…) still can with a plain rule.
 */
body.dca-page a:not(:hover) {
	text-decoration: none !important;
}

/*
 * Astra layout guard.
 *
 * DCA_Theme_Compat sets Astra's page meta to full-width/no-sidebar/page-
 * builder on every plugin page, but that meta can be ignored if Astra had
 * already written its own default value for a page before the plugin's
 * corrected value landed (fixed in class-dca-theme-compat.php, but a stale
 * value already saved to an existing page's postmeta needs this regardless).
 * The visible symptom is exactly a boxed content column with a reserved,
 * empty sidebar column beside it — content flush to one side, blank space on
 * the other. This forces Astra's known structural wrappers back to full
 * width on plugin pages only, independent of whatever layout meta Astra
 * decided to honour.
 */
body.dca-page #content,
body.dca-page .site-content,
body.dca-page .ast-container,
body.dca-page #primary,
body.dca-page .ast-page-builder-template #primary {
	max-width: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
}

body.dca-page #secondary,
body.dca-page .ast-sidebar,
body.dca-page .widget-area {
	display: none !important;
}

.dca-app button,
.dca-app input,
.dca-app select,
.dca-app textarea {
	font-family: var(--font-body);
}

.dca-app :focus-visible {
	outline: none;
	box-shadow: var(--focus-ring);
	border-radius: var(--r-sm);
}

.dca-h1,
.dca-h2,
.dca-h3,
.dca-display {
	font-family: var(--font-display);
	font-weight: 600;
	letter-spacing: var(--tracking-tight);
	line-height: var(--lh-tight);
	margin: 0;
	color: var(--text);
}

.dca-h1 { font-size: var(--fs-3xl); }
.dca-h2 { font-size: var(--fs-2xl); }
.dca-h3 { font-size: var(--fs-xl); line-height: var(--lh-snug); }

.dca-eyebrow {
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: var(--tracking-caps);
	text-transform: uppercase;
	color: var(--brand-primary);
}

.dca-kicker {
	font-family: var(--font-mono);
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: var(--tracking-caps);
	text-transform: uppercase;
	color: var(--brand-primary);
}

.dca-muted { color: var(--text-muted); }
.dca-faint { color: var(--text-faint); }
.dca-mono { font-family: var(--font-mono); }

/* Screen-reader-only text. */
.dca-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (prefers-reduced-motion: reduce) {
	.dca-app *,
	.dca-app *::before,
	.dca-app *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* ============================================================ 03 LAYOUT === */

.dca-container {
	width: 100%;
	max-width: 1240px;
	margin-inline: auto;
	padding-inline: 20px;
}

.dca-container--wide { max-width: 1320px; }
.dca-container--narrow { max-width: 1120px; }
.dca-container--prose { max-width: 920px; }

.dca-section { padding-block: var(--s-10); }
.dca-stack { display: flex; flex-direction: column; gap: var(--s-5); }
.dca-row { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; }
.dca-row--between { justify-content: space-between; }
.dca-spacer { flex: 1; }

.dca-grid {
	display: grid;
	gap: var(--s-4);
	grid-template-columns: 1fr;
}

/* Main column + sidebar: stacks until there is room for a real sidebar. */
.dca-split {
	display: grid;
	gap: var(--s-6);
	grid-template-columns: 1fr;
	align-items: flex-start;
}

.dca-hero {
	background: var(--hero-gradient);
	color: var(--hero-text);
	border-radius: var(--r-xl);
	padding: var(--s-8) var(--s-5);
	position: relative;
	overflow: hidden;
	box-shadow: var(--shadow-xl);
}

.dca-hero__glow {
	position: absolute;
	inset: 0;
	background: radial-gradient(600px 220px at 92% 0%, rgba(200, 147, 10, 0.18), transparent 60%);
	pointer-events: none;
}

.dca-hero > * { position: relative; }

/*
 * Elements that set their own color (headings, kicker, outline buttons) need
 * an explicit override inside a hero — `.dca-hero{color:var(--hero-text)}`
 * only affects inheriting text, not anything with its own `color` rule. This
 * is the one place that override lives, so templates stop hardcoding hex.
 */
.dca-hero .dca-kicker { color: var(--brand-accent-onhero); }
.dca-hero .dca-h1,
.dca-hero .dca-h2,
.dca-hero .dca-h3 { color: var(--hero-text); }
.dca-hero p { color: var(--hero-text-muted); }

.dca-hero .dca-btn--outline {
	color: var(--hero-text);
	border-color: rgba(255, 255, 255, 0.22);
}

.dca-hero .dca-btn--outline:hover:not(:disabled) {
	color: var(--hero-text);
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.35);
}

.dca-glass {
	background: rgba(255, 255, 255, 0.09);
	backdrop-filter: blur(18px) saturate(1.1);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: var(--r-lg);
	padding: var(--s-4);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

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

@media (min-width: 768px) {
	.dca-container { padding-inline: 32px; }
	.dca-section { padding-block: var(--s-12); }
	.dca-hero { padding: var(--s-10) var(--s-8); }
}

@media (min-width: 1024px) {
	.dca-grid--3 { grid-template-columns: repeat(3, 1fr); }
	.dca-grid--4 { grid-template-columns: repeat(4, 1fr); }
	.dca-split { grid-template-columns: minmax(0, 1fr) 340px; }
	.dca-split--sidebar-left { grid-template-columns: 280px minmax(0, 1fr); }
	.dca-sticky { position: sticky; top: 80px; }
}

/* =========================================================== 04 BUTTONS === */

.dca-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: var(--font-body);
	font-weight: 500;
	border: 1px solid transparent;
	cursor: pointer;
	transition: all var(--t);
	text-decoration: none;
	line-height: 1;
	white-space: nowrap;
	letter-spacing: 0;
	padding: 11px 20px;
	font-size: 13.5px;
	border-radius: var(--r-full);
	background: transparent;
	color: var(--text) !important;
	/* Comfortable thumb target on touch devices. */
	min-height: 44px;
}

.dca-btn:hover { text-decoration: none; }

.dca-btn--lg { padding: 14px 26px; font-size: 14.5px; }
.dca-btn--sm { padding: 8px 14px; font-size: 12.5px; min-height: 36px; }

.dca-btn--full {
	width: 100%;
	padding: 13px 20px;
	font-size: 13.5px;
	border-radius: var(--r-md);
}

/*
 * Every button variant below repeats the same Astra guard as the anchor
 * decoration fix: a theme's content-area link styling can carry a `color`
 * rule at the same specificity as a single button-variant class, and on a
 * dark solid background (primary, gold, danger) a lost color fight makes
 * the button read as blank — the shape renders, the label does not. Rather
 * than debug a moving theme-specificity target twice, color and background
 * are asserted with !important on every state.
 */

.dca-btn--primary {
	background: var(--brand-primary) !important;
	color: var(--on-primary) !important;
	box-shadow: var(--shadow-sm);
}

.dca-btn--primary:hover:not(:disabled) {
	background: var(--brand-primary-hover) !important;
	color: var(--on-primary) !important;
	box-shadow: var(--shadow-md);
	transform: translateY(-1px);
}

.dca-btn--primary:active:not(:disabled) {
	background: var(--brand-primary-active) !important;
	transform: translateY(0);
}

.dca-btn--lg.dca-btn--primary { box-shadow: var(--shadow-md); }
.dca-btn--sm.dca-btn--primary { box-shadow: none; }

.dca-btn--outline {
	background: transparent !important;
	color: var(--text) !important;
	border-color: var(--border-strong);
}

.dca-btn--outline:hover:not(:disabled) {
	color: var(--text) !important;
	border-color: var(--brand-primary);
	background: var(--brand-primary-tint) !important;
}

.dca-btn--gold {
	background: var(--brand-accent) !important;
	color: var(--on-accent) !important;
	box-shadow: var(--shadow-sm);
}

.dca-btn--gold:hover:not(:disabled) {
	background: var(--brand-accent-hover) !important;
	color: var(--on-accent) !important;
	box-shadow: var(--shadow-md);
	transform: translateY(-1px);
}

.dca-btn--ghost { background: transparent !important; color: var(--text-muted) !important; }
.dca-btn--ghost:hover:not(:disabled) { color: var(--text) !important; background: var(--surface-2) !important; }

.dca-btn--danger { background: var(--danger) !important; color: var(--on-primary) !important; box-shadow: var(--shadow-sm); }
.dca-btn--danger:hover:not(:disabled) { color: var(--on-primary) !important; filter: brightness(0.94); }

.dca-btn--danger-outline {
	background: transparent !important;
	color: var(--danger) !important;
	border-color: color-mix(in oklab, var(--danger) 45%, transparent);
}

.dca-btn--danger-outline:hover:not(:disabled) {
	color: var(--danger) !important;
	background: var(--danger-light) !important;
}

.dca-btn:disabled,
.dca-btn--disabled {
	background: var(--surface-2) !important;
	color: var(--text-faint) !important;
	cursor: not-allowed;
	border-color: var(--border);
	box-shadow: none;
	transform: none;
}

.dca-btn-icon {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	background: transparent;
	border: none;
	color: var(--text-muted);
	cursor: pointer;
	border-radius: var(--r-md);
	font-size: 14px;
	transition: all var(--t);
	font-family: var(--font-body);
}

.dca-btn-icon:hover { background: var(--surface-2); color: var(--text); }

.dca-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: none;
	border: none;
	color: var(--brand-primary);
	font-weight: 600;
	font-size: 13.5px;
	cursor: pointer;
	padding: 6px 4px;
	font-family: var(--font-body);
	border-bottom: 1px solid transparent;
}

.dca-link:hover { border-bottom-color: currentColor; text-decoration: none; }
.dca-link--sm { font-size: 12.5px; padding: 2px 0; }

@media (min-width: 768px) {
	.dca-btn { min-height: 0; }
	.dca-btn--sm { min-height: 0; }
	.dca-btn-icon { width: 32px; height: 32px; }
}

/* On narrow screens a button row becomes a full-width stack. */
.dca-btn-row { display: flex; flex-direction: column; gap: var(--s-2); }
.dca-btn-row > .dca-btn { width: 100%; }

@media (min-width: 480px) {
	.dca-btn-row { flex-direction: row; flex-wrap: wrap; align-items: center; }
	.dca-btn-row > .dca-btn { width: auto; }
}

/* ============================================================= 05 FORMS === */

.dca-field { margin-bottom: var(--s-4); }

.dca-label {
	display: block;
	font-size: 12px;
	font-weight: 600;
	color: var(--text);
	margin-bottom: 6px;
	letter-spacing: 0;
}

.dca-label .dca-req { color: var(--danger); }
.dca-label .dca-optional { color: var(--text-faint); font-weight: 400; }

.dca-input,
.dca-select,
.dca-textarea {
	width: 100%;
	padding: 11px 14px;
	background: var(--surface);
	border: 1px solid var(--border-strong);
	border-radius: var(--r-md);
	font-family: var(--font-body);
	/* 16px on mobile stops iOS Safari zooming on focus; 14px from tablet up,
	   which is the mock's value. */
	font-size: 16px;
	color: var(--text);
	outline: none;
	transition: all var(--t);
}

.dca-textarea { min-height: 76px; resize: vertical; line-height: var(--lh-normal); }

.dca-input::placeholder,
.dca-textarea::placeholder { color: var(--text-faint); }

.dca-input:focus,
.dca-select:focus,
.dca-textarea:focus {
	border: 1.5px solid var(--brand-primary);
	box-shadow: 0 0 0 3px color-mix(in oklab, var(--brand-primary) 18%, transparent);
}

.dca-input--error,
.dca-select--error,
.dca-textarea--error {
	border: 1.5px solid var(--danger);
	box-shadow: 0 0 0 3px color-mix(in oklab, var(--danger) 15%, transparent);
}

.dca-select {
	appearance: none;
	-webkit-appearance: none;
	background-image: var(--select-arrow);
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 36px;
	cursor: pointer;
}

.dca-hint { font-size: 11.5px; color: var(--text-faint); margin-top: 6px; }

.dca-error-msg {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: var(--danger);
	margin-top: 6px;
}

.dca-error-msg__icon {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--danger);
	color: var(--on-primary);
	display: grid;
	place-items: center;
	font-size: 9px;
	font-weight: 700;
	flex: none;
}

/* Prefixed input, e.g. +91 mobile. */
.dca-input-group {
	display: flex;
	align-items: center;
	background: var(--surface);
	border: 1px solid var(--border-strong);
	border-radius: var(--r-md);
	overflow: hidden;
}

.dca-input-group:focus-within {
	border: 1.5px solid var(--brand-primary);
	box-shadow: 0 0 0 3px color-mix(in oklab, var(--brand-primary) 18%, transparent);
}

.dca-input-group__prefix {
	padding: 11px 12px;
	background: var(--surface-2);
	border-right: 1px solid var(--border);
	font-size: 14px;
	color: var(--text-muted);
	font-family: var(--font-mono);
	white-space: nowrap;
}

.dca-input-group .dca-input {
	border: none;
	border-radius: 0;
	background: transparent;
	font-family: var(--font-mono);
}

.dca-input-group .dca-input:focus { border: none; box-shadow: none; }

/* Form grids: single column on phones. */
.dca-form-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-3); }
.dca-form-grid--address { display: grid; grid-template-columns: 1fr; gap: var(--s-3); }

@media (min-width: 640px) {
	.dca-form-grid { grid-template-columns: 1fr 1fr; }
	.dca-form-grid--address { grid-template-columns: 1.3fr 1fr 0.9fr; }
	.dca-form-grid__full { grid-column: 1 / -1; }
}

@media (min-width: 768px) {
	.dca-input,
	.dca-select,
	.dca-textarea { font-size: 14px; }
}

/* Chips */
.dca-chip {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 5px 11px;
	background: var(--surface-2);
	border: 1px solid var(--border);
	color: var(--text-muted);
	border-radius: var(--r-full);
	font-size: 12px;
	font-weight: 500;
	cursor: pointer;
	transition: all var(--t);
}

.dca-chip:hover { border-color: var(--border-strong); color: var(--text); }

.dca-chip--active {
	background: var(--brand-primary);
	border-color: var(--brand-primary);
	color: var(--on-primary);
}

.dca-chip--active:hover { color: var(--on-primary); }

.dca-chip--add { border-style: dashed; border-color: var(--border-strong); }

.dca-chip-sm {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	background: var(--brand-primary-light);
	color: var(--brand-primary);
	border-radius: var(--r-full);
	font-size: 11.5px;
	font-weight: 500;
}

.dca-chip-set { display: flex; gap: var(--s-2); flex-wrap: wrap; align-items: center; }

.dca-chip-input {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	padding: 10px 12px;
	min-height: 48px;
	background: var(--surface);
	border: 1px solid var(--border-strong);
	border-radius: var(--r-md);
	align-items: center;
}

/* Checkbox / radio / toggle */
.dca-check {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px 0;
	cursor: pointer;
	font-size: 14px;
	color: var(--text);
}

.dca-check--disabled { color: var(--text-faint); cursor: not-allowed; }

.dca-checkbox {
	display: inline-grid;
	place-items: center;
	width: 18px;
	height: 18px;
	background: var(--surface);
	border: 1.5px solid var(--border-strong);
	border-radius: 4px;
	color: transparent;
	font-size: 11px;
	font-weight: 700;
	flex: none;
	transition: all var(--t);
}

.dca-checkbox--on {
	background: var(--brand-primary);
	border-color: var(--brand-primary);
	color: var(--on-primary);
}

.dca-checkbox--disabled {
	background: var(--surface-2);
	border-color: var(--border);
	color: var(--text-faint);
}

.dca-radio {
	display: inline-grid;
	place-items: center;
	width: 18px;
	height: 18px;
	background: var(--surface);
	border: 1.5px solid var(--border-strong);
	border-radius: 50%;
	flex: none;
	transition: all var(--t);
}

.dca-radio--on { background: var(--brand-primary); border-color: var(--brand-primary); }

.dca-radio__dot { width: 8px; height: 8px; background: var(--on-primary); border-radius: 50%; }
.dca-radio:not(.dca-radio--on) .dca-radio__dot { display: none; }

.dca-toggle-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 6px 0;
	cursor: pointer;
	font-size: 14px;
}

.dca-toggle {
	position: relative;
	display: inline-block;
	width: 38px;
	height: 22px;
	background: var(--surface-3);
	border-radius: var(--r-full);
	flex: none;
	transition: background var(--t);
}

.dca-toggle--on { background: var(--brand-primary); }

.dca-toggle__knob {
	position: absolute;
	top: 2px;
	left: 2px;
	width: 18px;
	height: 18px;
	background: #ffffff;
	border-radius: 50%;
	transition: left var(--t);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.dca-toggle--on .dca-toggle__knob { left: 18px; }

/* ============================================================ 06 BADGES === */

.dca-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 11px;
	border-radius: var(--r-full);
	font-size: 11.5px;
	font-weight: 500;
	letter-spacing: 0;
	white-space: nowrap;
}

.dca-badge__dot { width: 6px; height: 6px; border-radius: 50%; flex: none; }

.dca-badge--active {
	background: var(--success-light);
	color: var(--success);
	border: 1px solid color-mix(in oklab, var(--success) 25%, transparent);
}

.dca-badge--active .dca-badge__dot {
	background: var(--success);
	box-shadow: 0 0 0 3px color-mix(in oklab, var(--success) 30%, transparent);
}

.dca-badge--inactive {
	background: var(--danger-light);
	color: var(--danger);
	border: 1px solid color-mix(in oklab, var(--danger) 25%, transparent);
}

.dca-badge--inactive .dca-badge__dot { background: var(--danger); }

.dca-badge--pending {
	background: var(--warning-light);
	color: var(--warning);
	border: 1px solid color-mix(in oklab, var(--warning) 30%, transparent);
}

.dca-badge--pending .dca-badge__dot { background: var(--warning); }

.dca-badge--gold {
	background: var(--brand-accent-light);
	color: #8a6408;
	border: 1px solid color-mix(in oklab, var(--brand-accent) 30%, transparent);
}

:root[data-theme="dark"] .dca-badge--gold { color: var(--brand-accent); }

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .dca-badge--gold { color: var(--brand-accent); }
}

.dca-badge--muted {
	background: var(--surface-2);
	color: var(--text-muted);
	border: 1px solid var(--border);
}

.dca-badge--success {
	background: var(--brand-primary-light);
	color: var(--brand-primary);
	border: 1px solid color-mix(in oklab, var(--brand-primary) 25%, transparent);
}

.dca-badge--danger { background: var(--danger); color: var(--on-primary); }

.dca-badge--mini {
	gap: 5px;
	padding: 3px 9px;
	font-size: 10.5px;
	font-weight: 600;
}

.dca-badge--mini .dca-badge__dot { width: 5px; height: 5px; box-shadow: none; }

/* ============================================================= 07 CARDS === */

.dca-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-sm);
	padding: var(--s-5);
	position: relative;
}

.dca-card--raised { box-shadow: var(--shadow-md); }
.dca-card--flush { padding: 0; overflow: hidden; }
.dca-card--accent { border-color: var(--brand-accent); }

/* The gradient hairline across the top of a directory card. */
.dca-card__rule {
	position: absolute;
	top: 0;
	left: var(--s-5);
	right: var(--s-5);
	height: 3px;
	background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
	border-radius: 0 0 3px 3px;
}

.dca-card__rule--quiet { background: var(--brand-primary); opacity: 0.35; }

.dca-card__head { display: flex; gap: var(--s-3); align-items: flex-start; }
.dca-card__body { flex: 1; min-width: 0; }

.dca-card__title {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 19px;
	line-height: 1.2;
	letter-spacing: var(--tracking-tight);
	color: var(--text);
}

.dca-card__subtitle { font-size: 12.5px; color: var(--text-muted); margin-top: 3px; }

.dca-card__meta {
	display: flex;
	align-items: center;
	gap: var(--s-3);
	font-size: 12px;
	color: var(--text-muted);
	margin-top: 10px;
	flex-wrap: wrap;
}

.dca-card__divider { height: 1px; background: var(--divider); margin: var(--s-4) 0 var(--s-3); }

.dca-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--s-2);
	flex-wrap: wrap;
}

.dca-avatar {
	width: 56px;
	height: 56px;
	border-radius: var(--r-md);
	background: linear-gradient(135deg, var(--brand-primary), #147a4d);
	color: var(--on-primary);
	display: grid;
	place-items: center;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 22px;
	flex: none;
	box-shadow: var(--shadow-sm);
}

.dca-avatar--lg { width: 64px; height: 64px; font-size: 24px; }
.dca-avatar--sm { width: 36px; height: 36px; font-size: 13px; border-radius: 50%; }

.dca-avatar--quiet {
	background: var(--surface-2);
	color: var(--text);
	border: 1px solid var(--border);
	box-shadow: none;
}

.dca-card__note {
	margin-top: var(--s-3);
	padding: 12px 14px;
	background: var(--surface-2);
	border: 1px solid var(--border);
	border-radius: var(--r-md);
	font-size: 12px;
	color: var(--text-muted);
	line-height: 1.6;
}

.dca-stars { color: var(--brand-accent); letter-spacing: 0.02em; }
.dca-stars__empty { color: var(--border-strong); }

@media (min-width: 768px) {
	.dca-card { padding: var(--s-6); }
	.dca-card__rule { left: var(--s-6); right: var(--s-6); }
	.dca-avatar--lg { width: 64px; height: 64px; }
}

/* Callout used for accessibility/privacy notes in the mocks. */
.dca-callout {
	padding: 16px 20px;
	border-radius: var(--r-md);
	font-size: 13px;
	line-height: var(--lh-loose);
	color: var(--text);
	background: var(--brand-primary-light);
	border: 1px solid color-mix(in oklab, var(--brand-primary) 20%, transparent);
	border-left: 3px solid var(--brand-primary);
}

.dca-callout--gold {
	background: var(--brand-accent-light);
	border-color: color-mix(in oklab, var(--brand-accent) 25%, transparent);
	border-left-color: var(--brand-accent);
}

/* ======================================================== 08 FILTER BAR === */

.dca-filterbar {
	padding: var(--s-4);
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-sm);
}

.dca-filterbar__top { display: flex; gap: var(--s-2); flex-wrap: wrap; align-items: center; }

.dca-search {
	flex: 1;
	min-width: 100%;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0 16px;
	height: 42px;
	background: var(--surface-2);
	border: 1px solid var(--border);
	border-radius: var(--r-full);
}

.dca-search__icon { color: var(--text-faint); font-size: 14px; }

.dca-search__input {
	flex: 1;
	background: none;
	border: none;
	outline: none;
	font-family: inherit;
	font-size: 16px;
	color: var(--text);
	min-width: 0;
}

.dca-search__input::placeholder { color: var(--text-faint); }

/* Filter chips scroll sideways on a phone instead of wrapping into a wall. */
.dca-fchips {
	display: flex;
	gap: var(--s-2);
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	scroll-snap-type: x proximity;
	padding-bottom: 2px;
	margin-inline: calc(var(--s-4) * -1);
	padding-inline: var(--s-4);
	width: calc(100% + var(--s-4) * 2);
}

.dca-fchips::-webkit-scrollbar { display: none; }

.dca-fchip {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 8px 14px;
	background: var(--surface);
	border: 1px solid var(--border-strong);
	color: var(--text);
	border-radius: var(--r-full);
	font-size: 12.5px;
	font-weight: 500;
	cursor: pointer;
	font-family: var(--font-body);
	height: 38px;
	white-space: nowrap;
	flex: none;
	scroll-snap-align: start;
	transition: all var(--t);
}

.dca-fchip:hover { border-color: var(--brand-primary); }

.dca-fchip--active {
	background: var(--brand-primary);
	border-color: var(--brand-primary);
	color: var(--on-primary);
}

.dca-fchip__caret { opacity: 0.55; }

.dca-filterbar__foot {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: var(--s-3);
	margin-top: var(--s-3);
	padding-top: var(--s-3);
	border-top: 1px dashed var(--divider);
	flex-direction: column;
	font-size: 12.5px;
	color: var(--text-muted);
}

.dca-filterbar__count strong { color: var(--text); }

.dca-sort { display: flex; align-items: center; gap: var(--s-2); font-size: 12.5px; color: var(--text-muted); }

.dca-sort .dca-select {
	width: auto;
	padding: 6px 30px 6px 12px;
	border-radius: var(--r-full);
	font-size: 12.5px;
	font-weight: 500;
	background-position: right 12px center;
}

.dca-viewtoggle {
	display: flex;
	gap: 2px;
	padding: 3px;
	background: var(--surface-2);
	border-radius: var(--r-full);
	border: 1px solid var(--border);
}

.dca-viewtoggle__btn {
	width: 32px;
	height: 28px;
	display: grid;
	place-items: center;
	background: transparent;
	border: none;
	border-radius: var(--r-full);
	cursor: pointer;
	color: var(--text-muted);
	font-size: 13px;
}

.dca-viewtoggle__btn--active {
	background: var(--surface);
	color: var(--text);
	box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
	.dca-filterbar { padding: var(--s-5); }
	.dca-search { min-width: 280px; }
	.dca-fchips { overflow: visible; flex-wrap: wrap; margin-inline: 0; padding-inline: 0; width: auto; }
	.dca-filterbar__foot { flex-direction: row; align-items: center; }
}

/* ======================================================== 09 PAGINATION === */

.dca-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 4px;
	flex-wrap: wrap;
}

.dca-page-btn {
	min-width: 38px;
	height: 38px;
	padding: 0 12px;
	display: inline-grid;
	place-items: center;
	background: transparent;
	color: var(--text);
	border: 1px solid var(--border);
	border-radius: var(--r-md);
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	transition: all var(--t);
	text-decoration: none;
}

.dca-page-btn:hover:not(:disabled) { border-color: var(--brand-primary); color: var(--brand-primary); text-decoration: none; }

.dca-page-btn--active {
	background: var(--brand-primary);
	color: var(--on-primary);
	border-color: var(--brand-primary);
	font-weight: 600;
}

.dca-page-btn--active:hover { color: var(--on-primary); }
.dca-page-btn--nav { padding: 0 16px; color: var(--brand-primary); font-weight: 600; }

.dca-page-btn:disabled,
.dca-page-btn--disabled { color: var(--text-faint); cursor: not-allowed; border-color: var(--border); }

.dca-page-ellipsis { padding: 0 8px; color: var(--text-faint); }

.dca-pagination__bar {
	display: flex;
	flex-direction: column;
	gap: var(--s-3);
	align-items: center;
	padding: var(--s-4);
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-sm);
	font-size: 12.5px;
	color: var(--text-muted);
}

/* Phones keep prev / current / next only — numbered pages are unusable at 360px. */
@media (max-width: 479px) {
	.dca-page-btn--num:not(.dca-page-btn--active),
	.dca-page-ellipsis { display: none; }
}

@media (min-width: 768px) {
	.dca-pagination__bar { flex-direction: row; justify-content: space-between; }
}

/* ============================================================== 10 TABS === */

.dca-tabs {
	display: flex;
	gap: 0;
	border-bottom: 1px solid var(--border);
	overflow-x: auto;
	scrollbar-width: none;
}

.dca-tabs::-webkit-scrollbar { display: none; }

.dca-tab {
	padding: 13px 20px;
	background: transparent;
	border: none;
	color: var(--text-muted);
	font-family: var(--font-body);
	font-size: 13.5px;
	font-weight: 500;
	cursor: pointer;
	position: relative;
	transition: color var(--t);
	margin-bottom: -1px;
	white-space: nowrap;
	flex: none;
	border-bottom: 2px solid transparent;
}

.dca-tab:hover { color: var(--text); }

.dca-tab--active {
	color: var(--brand-primary);
	font-weight: 600;
	border-bottom-color: var(--brand-primary);
}

.dca-tab:disabled,
.dca-tab--disabled { color: var(--text-faint); cursor: not-allowed; }

.dca-tab__count {
	display: inline-flex;
	align-items: center;
	padding: 1px 7px;
	margin-left: 4px;
	background: var(--surface-2);
	color: var(--text-muted);
	border-radius: var(--r-full);
	font-size: 10.5px;
	font-weight: 600;
}

.dca-pills { display: flex; gap: var(--s-2); flex-wrap: wrap; }

.dca-pill {
	padding: 8px 16px;
	background: var(--surface-2);
	border: 1px solid var(--border);
	color: var(--text);
	border-radius: var(--r-full);
	font-family: var(--font-body);
	font-size: 12.5px;
	font-weight: 500;
	cursor: pointer;
	transition: all var(--t);
}

.dca-pill--active {
	background: var(--brand-primary);
	border-color: var(--brand-primary);
	color: var(--on-primary);
	font-weight: 600;
}

/* ============================================================= 11 MODAL === */

.dca-modal-overlay {
	position: fixed;
	inset: 0;
	z-index: 9999;
	background: rgba(15, 17, 23, 0.55);
	backdrop-filter: blur(2px);
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 0;
}

.dca-modal-overlay[hidden] { display: none; }

.dca-modal {
	position: relative;
	width: 100%;
	max-height: 92vh;
	overflow-y: auto;
	background: var(--surface);
	border-radius: var(--r-lg) var(--r-lg) 0 0;
	box-shadow: var(--shadow-xl);
	animation: dca-sheet-in var(--dur-slow) var(--ease-out);
}

@keyframes dca-sheet-in {
	from { transform: translateY(16px); opacity: 0; }
	to { transform: translateY(0); opacity: 1; }
}

.dca-modal__head { padding: var(--s-5) var(--s-5) 0; }

.dca-modal__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
}

.dca-modal__icon {
	width: 44px;
	height: 44px;
	background: var(--brand-primary-light);
	border-radius: var(--r-md);
	display: grid;
	place-items: center;
	color: var(--brand-primary);
	font-size: 20px;
}

.dca-modal__title {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: var(--fs-xl);
	letter-spacing: var(--tracking-tight);
	margin: 0 0 8px;
	color: var(--text);
}

.dca-modal__text {
	font-size: 13.5px;
	color: var(--text-muted);
	line-height: 1.6;
	margin: 0 0 var(--s-4);
}

.dca-modal__text strong { color: var(--text); }

.dca-modal__foot {
	display: flex;
	flex-direction: column-reverse;
	gap: var(--s-2);
	padding: var(--s-4) var(--s-5) var(--s-5);
	margin-top: var(--s-5);
	border-top: 1px solid var(--divider);
	background: var(--surface-2);
}

.dca-modal__foot > .dca-btn { width: 100%; }

@media (min-width: 640px) {
	.dca-modal-overlay { align-items: center; padding: var(--s-4); }

	.dca-modal {
		width: min(480px, 100%);
		border-radius: var(--r-lg);
		animation: dca-modal-in var(--dur-slow) var(--ease-out);
	}

	.dca-modal__head { padding: var(--s-6) 26px 0; }

	.dca-modal__foot {
		flex-direction: row;
		justify-content: flex-end;
		padding: var(--s-5) 26px 22px;
	}

	.dca-modal__foot > .dca-btn { width: auto; }
}

@keyframes dca-modal-in {
	from { transform: scale(0.97); opacity: 0; }
	to { transform: scale(1); opacity: 1; }
}

/* ============================================================= 12 TOAST === */

.dca-toast-stack {
	position: fixed;
	z-index: 10000;
	left: var(--s-3);
	right: var(--s-3);
	bottom: var(--s-3);
	display: flex;
	flex-direction: column;
	gap: var(--s-2);
	pointer-events: none;
}

.dca-toast {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 16px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--r-md);
	box-shadow: var(--shadow-md);
	pointer-events: auto;
	animation: dca-toast-in var(--dur-slow) var(--ease-out);
}

@keyframes dca-toast-in {
	from { transform: translateY(8px); opacity: 0; }
	to { transform: translateY(0); opacity: 1; }
}

.dca-toast__icon {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	flex: none;
	font-weight: 700;
	color: var(--on-primary);
	background: var(--text-muted);
}

.dca-toast--success .dca-toast__icon { background: var(--success); }
.dca-toast--info .dca-toast__icon { background: var(--info); }
.dca-toast--warning .dca-toast__icon { background: var(--warning); }
.dca-toast--danger .dca-toast__icon { background: var(--danger); }

.dca-toast__body { flex: 1; min-width: 0; }
.dca-toast__title { font-weight: 600; color: var(--text); font-size: 13.5px; }
.dca-toast__text { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

@media (min-width: 640px) {
	.dca-toast-stack {
		left: auto;
		right: var(--s-5);
		bottom: var(--s-5);
		width: 380px;
	}
}

/* ====================================================== 13 REVEAL BLOCK === */

/*
 * The privacy surface. Three states, all rendered server-side:
 *   --locked  no contact data is present in the DOM at all; the rows below are
 *             fixed-width placeholders, not blurred real values.
 *   --unlocked  values injected only after the reveal endpoint returns them.
 *   --limit   the daily cap is spent; the action is disabled.
 */

.dca-reveal {
	padding: var(--s-5);
	background: var(--surface);
	border: 1.5px solid var(--brand-primary);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-md);
}

.dca-reveal--limit { border-color: color-mix(in oklab, var(--danger) 45%, transparent); }
.dca-reveal--inactive { border-color: var(--border); }

.dca-reveal__label {
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: var(--tracking-caps);
	text-transform: uppercase;
	color: var(--brand-primary);
	margin-bottom: 8px;
}

.dca-reveal__title {
	font-family: var(--font-display);
	font-size: 18px;
	font-weight: 600;
	letter-spacing: var(--tracking-tight);
	margin-bottom: var(--s-4);
	color: var(--text);
}

.dca-reveal__rows { display: flex; flex-direction: column; gap: var(--s-2); }

.dca-reveal-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border-radius: var(--r-md);
	background: var(--brand-primary-light);
	border: 1px solid color-mix(in oklab, var(--brand-primary) 22%, transparent);
}

.dca-reveal-row--whatsapp {
	background: var(--success-light);
	border-color: color-mix(in oklab, var(--success) 22%, transparent);
}

.dca-reveal-row__icon {
	width: 30px;
	height: 30px;
	background: var(--brand-primary);
	color: var(--on-primary);
	border-radius: 8px;
	display: grid;
	place-items: center;
	font-weight: 700;
	flex: none;
}

.dca-reveal-row--whatsapp .dca-reveal-row__icon { background: var(--success); }

.dca-reveal-row__body { flex: 1; min-width: 0; }

.dca-reveal-row__label {
	font-size: 10.5px;
	color: var(--brand-primary);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 600;
}

.dca-reveal-row--whatsapp .dca-reveal-row__label { color: var(--success); }

.dca-reveal-row__value {
	font-family: var(--font-mono);
	font-size: 13.5px;
	color: var(--text);
	word-break: break-all;
}

/* Locked placeholder: a token-tinted bar, never a blurred real value. */
.dca-reveal--locked .dca-reveal-row { background: var(--surface-2); border-color: var(--border); }
.dca-reveal--locked .dca-reveal-row__icon { background: var(--text-faint); }
.dca-reveal--locked .dca-reveal-row__label { color: var(--text-muted); }

.dca-reveal__redacted {
	display: block;
	height: 13px;
	margin-top: 4px;
	border-radius: var(--r-sm);
	background: repeating-linear-gradient(
		90deg,
		var(--surface-3) 0,
		var(--surface-3) 10px,
		transparent 10px,
		transparent 14px
	);
	user-select: none;
}

.dca-reveal__redacted--short { width: 55%; }
.dca-reveal__redacted--long { width: 78%; }

.dca-reveal__action { margin-top: var(--s-4); }
.dca-reveal__action .dca-btn { width: 100%; }

.dca-reveal__counter {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--s-2);
	margin-top: var(--s-3);
	flex-wrap: wrap;
	font-size: 11.5px;
	color: var(--text-muted);
}

.dca-reveal__cta-row { display: flex; gap: var(--s-2); margin-top: var(--s-4); }
.dca-reveal__cta-row > .dca-btn { flex: 1; }

.dca-reveal__note {
	margin-top: var(--s-3);
	padding: 12px 14px;
	border-radius: var(--r-md);
	font-size: 12px;
	line-height: 1.55;
	background: var(--brand-accent-light);
	border: 1px solid color-mix(in oklab, var(--brand-accent) 22%, transparent);
	color: var(--text);
}

.dca-reveal__note--danger {
	background: var(--danger-light);
	border-color: color-mix(in oklab, var(--danger) 25%, transparent);
}

/* ======================================================= 14 EMPTY STATE === */

.dca-empty {
	padding: var(--s-10) var(--s-5);
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-sm);
	text-align: center;
}

.dca-empty__icon {
	width: 72px;
	height: 72px;
	margin: 0 auto var(--s-4);
	border-radius: 50%;
	background: var(--surface-2);
	border: 1.5px dashed var(--border-strong);
	display: grid;
	place-items: center;
	color: var(--text-faint);
	font-size: 28px;
}

.dca-empty__icon--brand {
	background: var(--brand-primary-light);
	color: var(--brand-primary);
	border-style: solid;
	border-color: transparent;
}

.dca-empty__title {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: var(--fs-xl);
	letter-spacing: var(--tracking-tight);
	margin-bottom: 6px;
	color: var(--text);
}

.dca-empty__text {
	font-size: 13.5px;
	color: var(--text-muted);
	max-width: 44ch;
	margin: 0 auto var(--s-5);
	line-height: 1.6;
}

.dca-empty__actions { display: flex; gap: var(--s-2); justify-content: center; flex-wrap: wrap; }

@media (min-width: 768px) {
	.dca-empty { padding: 56px 32px; }
}

/* ========================================================= 15 UTILITIES === */

.dca-theme-toggle {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px;
	background: var(--surface-2);
	border: 1px solid var(--border);
	border-radius: var(--r-full);
}

.dca-theme-toggle__btn {
	padding: 7px 14px;
	border-radius: var(--r-full);
	border: none;
	font-family: inherit;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	background: transparent;
	color: var(--text-muted);
	transition: all var(--t);
}

.dca-theme-toggle__btn--active { background: var(--brand-primary); color: var(--on-primary); }

.dca-divider { height: 1px; background: var(--divider); margin: var(--s-5) 0; }

.dca-placeholder {
	padding: var(--s-5);
	border: 1px dashed var(--border-strong);
	border-radius: var(--r-md);
	color: var(--text-muted);
	font-size: 13px;
	background: var(--surface-2);
}

/* ================================================== 16 SIGNUP / LOGIN === */

.dca-auth-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--s-5);
	align-items: stretch;
}

.dca-tabswitch {
	display: inline-flex;
	gap: 2px;
	padding: 4px;
	background: var(--surface-2);
	border: 1px solid var(--border);
	border-radius: var(--r-full);
	margin-bottom: var(--s-6);
}

.dca-tabswitch__btn {
	padding: 9px 22px;
	background: transparent;
	color: var(--text-muted);
	border: none;
	border-radius: var(--r-full);
	font-family: inherit;
	font-size: 13.5px;
	font-weight: 500;
	cursor: pointer;
	text-decoration: none;
	transition: all var(--t);
}

.dca-tabswitch__btn:hover { color: var(--text); text-decoration: none; }

.dca-tabswitch__btn--active {
	background: var(--surface);
	color: var(--text);
	font-weight: 600;
	box-shadow: var(--shadow-sm);
}

/* Role picker */
.dca-rolepick {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--s-3);
	margin-bottom: var(--s-6);
}

.dca-rolecard {
	display: block;
	padding: var(--s-5);
	background: var(--surface-2);
	border: 1.5px solid var(--border-strong);
	border-radius: var(--r-lg);
	cursor: pointer;
	text-decoration: none;
	color: var(--text);
	transition: all var(--t);
}

.dca-rolecard:hover { text-decoration: none; color: var(--text); border-color: var(--brand-primary); }

.dca-rolecard--active {
	background: var(--brand-primary-light);
	border-color: var(--brand-primary);
	box-shadow: 0 0 0 4px color-mix(in oklab, var(--brand-primary) 12%, transparent);
}

.dca-rolecard__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: var(--s-3);
}

.dca-rolecard__icon {
	width: 36px;
	height: 36px;
	background: var(--brand-primary-light);
	color: var(--brand-primary);
	border-radius: 8px;
	display: grid;
	place-items: center;
	font-size: 16px;
	flex: none;
}

.dca-rolecard__icon--brand { background: var(--brand-primary); color: var(--on-primary); }

.dca-rolecard__title {
	display: flex;
	align-items: center;
	gap: var(--s-2);
	flex-wrap: wrap;
	font-family: var(--font-display);
	font-size: 17px;
	font-weight: 600;
	letter-spacing: var(--tracking-tight);
	margin-bottom: 4px;
}

.dca-rolecard__text { font-size: 12.5px; color: var(--text-muted); line-height: 1.5; }

/* Numbered step header */
.dca-step {
	display: flex;
	align-items: center;
	gap: var(--s-2);
	margin-bottom: var(--s-4);
	flex-wrap: wrap;
}

.dca-step__num {
	width: 26px;
	height: 26px;
	background: var(--brand-primary);
	color: var(--on-primary);
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-family: var(--font-mono);
	font-weight: 700;
	font-size: 12px;
	flex: none;
}

.dca-step__title {
	font-family: var(--font-display);
	font-size: 17px;
	font-weight: 600;
	letter-spacing: var(--tracking-tight);
}

.dca-step__note { font-size: 11.5px; color: var(--text-faint); margin-left: auto; }

.dca-terms {
	padding: 14px 16px;
	background: var(--surface-2);
	border: 1px solid var(--border);
	border-radius: var(--r-md);
}

/* Honeypot — off-screen rather than display:none, which bots detect. */
.dca-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Brand panel on the hero gradient */
.dca-brandpanel { display: flex; flex-direction: column; }
.dca-brandpanel .dca-kicker { color: var(--brand-accent-onhero); }
.dca-brandpanel .dca-h2 { color: var(--hero-text); }
.dca-brandpanel__point { display: flex; gap: var(--s-3); align-items: flex-start; }

.dca-brandpanel__tick {
	width: 34px;
	height: 34px;
	background: var(--brand-accent-light);
	color: var(--brand-accent);
	border: 1px solid color-mix(in oklab, var(--brand-accent) 42%, transparent);
	border-radius: 8px;
	display: grid;
	place-items: center;
	font-size: 15px;
	flex: none;
}

.dca-brandpanel__title { font-weight: 600; font-size: 14px; margin-bottom: 2px; color: var(--hero-text); }
.dca-brandpanel__text { font-size: 12.5px; color: var(--hero-text-muted); line-height: 1.55; }

.dca-brandpanel__stat {
	font-family: var(--font-display);
	font-size: 24px;
	font-weight: 600;
	color: var(--hero-text);
	letter-spacing: var(--tracking-tight);
}

.dca-brandpanel__statlabel { font-size: 11px; color: var(--hero-text-faint); margin-top: 2px; }

.dca-trust__tick {
	width: 28px;
	height: 28px;
	background: var(--brand-primary-light);
	color: var(--brand-primary);
	border-radius: 8px;
	display: grid;
	place-items: center;
	font-size: 14px;
	font-weight: 700;
	flex: none;
}

/* Billing period toggle */
.dca-periodtoggle {
	display: inline-flex;
	padding: 4px;
	background: var(--surface-2);
	border: 1px solid var(--border);
	border-radius: var(--r-full);
	margin-top: var(--s-5);
}

.dca-periodtoggle__btn {
	padding: 9px 20px;
	border-radius: var(--r-full);
	font-size: 13px;
	font-weight: 500;
	color: var(--text-muted);
	text-decoration: none;
	transition: all var(--t);
}

.dca-periodtoggle__btn:hover { text-decoration: none; color: var(--text); }

.dca-periodtoggle__btn--active {
	background: var(--surface);
	color: var(--text);
	font-weight: 600;
	box-shadow: var(--shadow-sm);
}

/* Plan cards */
.dca-plancard { display: flex; flex-direction: column; position: relative; }

.dca-plancard--featured {
	border: 1.5px solid var(--brand-accent);
	box-shadow: var(--shadow-lg);
}

.dca-plancard__badge {
	position: absolute;
	top: var(--s-4);
	right: var(--s-4);
	padding: 5px 11px;
	background: var(--brand-accent);
	color: var(--on-accent);
	border-radius: var(--r-full);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.dca-plancard__price {
	font-family: var(--font-display);
	font-size: 40px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.03em;
	margin-top: var(--s-3);
	color: var(--text);
}

.dca-plancard__period {
	font-size: 14px;
	color: var(--text-muted);
	font-weight: 400;
	margin-left: 6px;
	font-family: var(--font-body);
}

.dca-plancard__features {
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: 13.5px;
	line-height: 1.4;
	display: flex;
	flex-direction: column;
	gap: 11px;
	flex: 1;
}

.dca-plancard__features li { display: flex; gap: 10px; align-items: flex-start; }
.dca-plancard__tick { color: var(--brand-primary); flex: none; }
.dca-plancard--featured .dca-plancard__tick { color: var(--brand-accent); }

/* ===================================================== 17 DIRECTORY === */

.dca-dircard { padding-top: var(--s-6); }

.dca-dircard__status {
	position: absolute;
	top: var(--s-3);
	right: var(--s-3);
}

.dca-refine__group {
	padding-bottom: var(--s-4);
	margin-bottom: var(--s-4);
	border-bottom: 1px solid var(--divider);
}

.dca-refine__group:last-of-type { border-bottom: none; margin-bottom: 0; }

.dca-refine__label {
	font-size: 11px;
	font-weight: 600;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: var(--s-3);
}

/* Search bar on the public Find a CA hero. */
.dca-findbar {
	display: flex;
	flex-direction: column;
	gap: var(--s-2);
	max-width: 760px;
	margin-inline: auto;
	padding: 8px;
	background: rgba(255, 255, 255, 0.11);
	backdrop-filter: blur(18px);
	border: 1px solid rgba(255, 255, 255, 0.20);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-xl);
}

.dca-findbar__input {
	flex: 1;
	min-width: 0;
	padding: 14px 18px;
	background: transparent;
	border: none;
	outline: none;
	color: var(--hero-text);
	font-family: inherit;
	font-size: 16px;
}

.dca-findbar__input::placeholder { color: var(--hero-text-faint); }

@media (min-width: 480px) {
	.dca-rolepick { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 640px) {
	.dca-findbar {
		flex-direction: row;
		align-items: center;
		border-radius: var(--r-full);
	}
}

/* ======================================================= 18 PROFILE === */

.dca-profile-hero { padding: var(--s-6) var(--s-5); }

.dca-profile-hero__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--s-5);
	align-items: center;
}

.dca-profile-hero__actions {
	display: flex;
	flex-direction: column;
	gap: var(--s-2);
}

.dca-avatar--xl {
	width: 88px;
	height: 88px;
	font-size: 34px;
	border-radius: var(--r-lg);
	background: linear-gradient(135deg, var(--brand-accent), #f0c33f);
	color: var(--on-accent);
	border: 3px solid rgba(255, 255, 255, 0.16);
}

.dca-shortlist--on {
	background: var(--brand-accent-light);
	border-color: var(--brand-accent);
	color: var(--brand-accent);
}

/* Service rows on a CA profile. */
.dca-servicelist { display: flex; flex-direction: column; }

.dca-servicelist__row {
	display: flex;
	align-items: center;
	gap: var(--s-3);
	padding: 14px 0;
	border-bottom: 1px solid var(--divider);
}

.dca-servicelist__row:last-child { border-bottom: none; padding-bottom: 0; }

.dca-servicelist__tag {
	width: 34px;
	height: 34px;
	background: var(--brand-primary-light);
	color: var(--brand-primary);
	border-radius: 8px;
	display: grid;
	place-items: center;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 12px;
	text-transform: uppercase;
	flex: none;
}

/* Business snapshot tiles. */
.dca-snapshot {
	padding: var(--s-4);
	background: var(--surface-2);
	border: 1px solid var(--border);
	border-radius: var(--r-md);
}

.dca-snapshot__label {
	font-size: 11px;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 600;
	margin-bottom: 4px;
}

.dca-snapshot__value {
	font-family: var(--font-display);
	font-size: 17px;
	font-weight: 600;
	letter-spacing: var(--tracking-tight);
}

.dca-review { padding: var(--s-5) 0; border-bottom: 1px solid var(--divider); }
.dca-review:last-child { border-bottom: none; padding-bottom: 0; }

.dca-review__reply {
	margin-top: var(--s-3);
	padding: 12px 14px;
	background: var(--surface-2);
	border-left: 3px solid var(--brand-primary);
	border-radius: 0 var(--r-md) var(--r-md) 0;
	font-size: 13px;
	line-height: 1.6;
	color: var(--text);
}

.dca-review__reply-label {
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
	color: var(--brand-primary);
	margin-bottom: 4px;
}

.dca-callout--danger {
	background: var(--danger-light);
	border-color: color-mix(in oklab, var(--danger) 25%, transparent);
	border-left-color: var(--danger);
}

/* Write a review */
.dca-writereview {
	margin-top: var(--s-5);
	padding: var(--s-5);
	background: var(--brand-primary-light);
	border: 1px solid color-mix(in oklab, var(--brand-primary) 22%, transparent);
	border-radius: var(--r-lg);
}

/*
 * Star input: radios are rendered 5→1 in the DOM and reversed visually, so a
 * checked star can colour the ones before it with a sibling selector. Keyboard
 * and screen-reader users get plain radios with real labels.
 */
.dca-stars-input {
	display: flex;
	flex-direction: row-reverse;
	justify-content: flex-end;
	gap: 4px;
	border: none;
	padding: 0;
	margin: 0 0 var(--s-3);
}

.dca-stars-input label {
	font-size: 26px;
	line-height: 1;
	color: var(--border-strong);
	cursor: pointer;
	transition: color var(--dur-fast) var(--ease-out);
}

.dca-stars-input label:hover,
.dca-stars-input label:hover ~ label,
.dca-stars-input input:checked ~ label {
	color: var(--brand-accent);
}

.dca-stars-input input:focus-visible + label {
	outline: none;
	box-shadow: var(--focus-ring);
	border-radius: var(--r-sm);
}

@media (min-width: 768px) {
	.dca-profile-hero { padding: var(--s-8); }

	.dca-profile-hero__grid {
		grid-template-columns: 112px minmax(0, 1fr) auto;
		gap: var(--s-6);
	}

	.dca-avatar--xl { width: 112px; height: 112px; font-size: 44px; }
	.dca-profile-hero__actions { min-width: 180px; }
}

@media (min-width: 1024px) {
	.dca-auth-grid { grid-template-columns: minmax(0, 1fr) 420px; }
}

/* ======================================================== 19 MARKETING === */
/* Site chrome (header + footer) and the Home / Services / Pricing pages.
   Colours here are tokens only; the handful of literal rgba values are the
   same glass-on-hero surfaces already documented in the token parity check —
   they sit on a gradient that is dark in both themes, so they must not flip. */

/* --- Brand mark ------------------------------------------------------ */

.dca-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 19px;
	letter-spacing: -0.02em;
	color: var(--text);
	text-decoration: none;
}

.dca-brand__name {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 46vw;
}

@media (min-width: 640px) {
	.dca-brand__name { max-width: none; }
}

.dca-brand:hover { color: var(--text); text-decoration: none; }

.dca-brand__mark {
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: var(--brand-primary);
	color: var(--on-primary);
	display: grid;
	place-items: center;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 14px;
	box-shadow: var(--shadow-sm);
	flex: none;
}

.dca-brand__amp { opacity: 0.75; margin-left: -2px; }

.dca-brand--sm { font-size: 16px; }
.dca-brand--sm .dca-brand__mark { width: 28px; height: 28px; border-radius: 7px; font-size: 12px; }

/* --- Site header ----------------------------------------------------- */

.dca-sitehead {
	position: sticky;
	top: 0;
	z-index: 30;
	background: color-mix(in oklab, var(--bg) 88%, transparent);
	backdrop-filter: saturate(1.2) blur(10px);
	border-bottom: 1px solid var(--border);
}

.dca-sitehead__inner {
	max-width: 1240px;
	margin: 0 auto;
	padding: 14px 20px;
	display: flex;
	align-items: center;
	gap: 16px;
}

/* Hamburger — mobile only. */
.dca-navtoggle {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 4px;
	width: 38px;
	height: 38px;
	margin-left: auto;
	padding: 0;
	background: var(--surface-2);
	border: 1px solid var(--border);
	border-radius: var(--r-md);
	cursor: pointer;
	flex: none;
}

.dca-navtoggle__bar {
	width: 16px;
	height: 2px;
	border-radius: var(--r-full);
	background: var(--text);
	transition: transform var(--t), opacity var(--t);
}

.dca-navtoggle[aria-expanded="true"] .dca-navtoggle__bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.dca-navtoggle[aria-expanded="true"] .dca-navtoggle__bar:nth-child(2) { opacity: 0; }
.dca-navtoggle[aria-expanded="true"] .dca-navtoggle__bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Collapsible panel — mobile default: hidden dropdown under the header. */
.dca-sitehead__panel {
	display: none;
	flex-direction: column;
	align-items: stretch;
	gap: var(--s-4);
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	padding: var(--s-4) 20px calc(var(--s-5) + env(safe-area-inset-bottom, 0px));
	background: var(--bg);
	border-bottom: 1px solid var(--border);
	box-shadow: var(--shadow-lg);
	max-height: calc(100vh - 60px);
	overflow-y: auto;
}

.dca-sitehead__panel--open { display: flex; }

.dca-sitehead__panel .dca-nav {
	flex-direction: column;
	align-items: stretch;
	gap: 2px;
}

.dca-sitehead__panel .dca-nav__link {
	padding: 12px 14px;
	border-radius: var(--r-md);
}

.dca-sitehead__panel .dca-sitehead__end {
	flex-direction: column;
	align-items: stretch;
	padding-top: var(--s-4);
	border-top: 1px dashed var(--divider);
}

.dca-sitehead__panel .dca-theme-toggle { align-self: flex-start; }

.dca-sitehead__panel .dca-btn { justify-content: center; }

.dca-sitehead__end {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.dca-nav {
	display: flex;
	gap: 2px;
	align-items: center;
	flex-wrap: wrap;
}

@media (min-width: 860px) {
	.dca-navtoggle { display: none; }

	.dca-sitehead__panel {
		display: flex;
		flex-direction: row;
		align-items: center;
		position: static;
		flex: 1;
		justify-content: space-between;
		padding: 0;
		background: none;
		border: none;
		box-shadow: none;
		max-height: none;
		overflow: visible;
	}

	.dca-sitehead__end { margin-left: auto; }

	.dca-sitehead__panel .dca-nav {
		flex-direction: row;
		align-items: center;
	}

	.dca-sitehead__panel .dca-nav__link { padding: 8px 14px; }

	.dca-sitehead__panel .dca-sitehead__end {
		flex-direction: row;
		align-items: center;
		padding-top: 0;
		border-top: none;
	}

	.dca-sitehead__panel .dca-theme-toggle { align-self: center; }
}

.dca-nav__link {
	padding: 8px 14px;
	color: var(--text-muted);
	font-size: 13.5px;
	font-weight: 500;
	border-radius: var(--r-full);
	white-space: nowrap;
	text-decoration: none;
	transition: all var(--t);
}

.dca-nav__link:hover {
	color: var(--text);
	background: var(--surface-2);
	text-decoration: none;
}

.dca-nav__link--current {
	color: var(--brand-primary);
	background: var(--brand-primary-light);
	font-weight: 600;
}

/* --- Site footer ----------------------------------------------------- */

.dca-sitefoot {
	margin-top: var(--s-12);
	padding: var(--s-6) 20px;
	border-top: 1px solid var(--border);
	background: var(--surface);
}

.dca-sitefoot__inner {
	max-width: 1240px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--s-5);
	flex-wrap: wrap;
}

.dca-sitefoot__links {
	display: flex;
	gap: 22px;
	font-size: 13px;
	flex-wrap: wrap;
}

.dca-sitefoot__links a { color: var(--text-muted); white-space: nowrap; }
.dca-sitefoot__links a:hover { color: var(--brand-primary); }
.dca-sitefoot__legal { font-size: 12px; color: var(--text-faint); }

/* --- Shared section furniture ---------------------------------------- */

.dca-italic { font-style: italic; color: var(--brand-accent-light); }

.dca-sectionhead { text-align: center; margin-bottom: var(--s-8); }
.dca-sectionhead .dca-h2 { margin: var(--s-3) auto var(--s-3); max-width: 22ch; }

.dca-sectionhead__lead {
	font-size: 16px;
	color: var(--text-muted);
	max-width: 60ch;
	margin: 0 auto;
	line-height: 1.6;
}

.dca-sectionhead--split { align-items: flex-end; margin-bottom: var(--s-6); gap: var(--s-5); }
.dca-sectionhead--split .dca-h2 { margin: var(--s-2) 0 8px; max-width: 22ch; }
.dca-sectionhead--split .dca-sectionhead__lead { margin: 0; max-width: 52ch; font-size: 15px; }

.dca-hint--center { text-align: center; margin-top: var(--s-5); }
.dca-btn-row--centered { justify-content: center; }

.dca-kicker--gold { color: var(--brand-accent-light); }

/* --- Hero variants ---------------------------------------------------- */

.dca-hero--home, .dca-hero--centered { padding: var(--s-10) var(--s-6); }
.dca-hero--centered { text-align: center; }

.dca-hero__grid { display: grid; gap: var(--s-8); align-items: center; }

.dca-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	background: rgba(255, 255, 255, 0.09);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: var(--r-full);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hero-text);
	margin-bottom: var(--s-4);
}

.dca-hero__eyebrow--plain { letter-spacing: 0.14em; font-size: 11px; font-weight: 600; }

.dca-hero__dot {
	width: 6px;
	height: 6px;
	background: var(--brand-accent);
	border-radius: 50%;
	flex: none;
}

.dca-hero__title { color: var(--hero-text); margin: 0 0 var(--s-4); }
.dca-hero--centered .dca-hero__title { max-width: 22ch; margin-left: auto; margin-right: auto; }

.dca-hero__lead {
	font-size: 17px;
	line-height: 1.65;
	color: var(--hero-text-muted);
	max-width: 56ch;
	margin: 0 0 var(--s-6);
	font-weight: 300;
}

.dca-hero__lead--centered { margin-left: auto; margin-right: auto; max-width: 60ch; }

.dca-hero__stats {
	display: flex;
	gap: var(--s-8);
	flex-wrap: wrap;
	padding-top: var(--s-5);
	margin-top: var(--s-6);
	border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.dca-hero__statnum {
	font-family: var(--font-display);
	font-size: 28px;
	font-weight: 600;
	color: var(--hero-text);
	letter-spacing: -0.02em;
}

.dca-hero__statlabel { font-size: 12px; color: var(--hero-text-faint); margin-top: 2px; }

.dca-hero__aside { display: none; }

.dca-hero__card { color: var(--hero-text); }
.dca-hero__card + .dca-hero__card { margin-top: var(--s-4); }

.dca-hero__cardhead {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--hero-text-faint);
	margin-bottom: var(--s-3);
}

.dca-hero__cardline {
	height: 10px;
	width: 60%;
	border-radius: var(--r-full);
	background: rgba(255, 255, 255, 0.16);
	margin-bottom: 8px;
}

.dca-hero__cardline--wide { width: 85%; height: 14px; }

.dca-hero__chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: var(--s-3); }

.dca-hero__chip {
	padding: 3px 10px;
	background: rgba(255, 255, 255, 0.11);
	border: 1px solid rgba(255, 255, 255, 0.20);
	border-radius: var(--r-full);
	font-size: 11px;
}

.dca-hero__pulse {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--success);
	flex: none;
}

.dca-hero__masked {
	font-family: var(--font-mono);
	font-size: 14px;
	letter-spacing: 0.1em;
	color: var(--hero-text-muted);
}

.dca-hero__cardnote { font-size: 11px; color: var(--hero-text-faint); margin-top: 8px; }

/* --- Trust strip ------------------------------------------------------ */

.dca-trustbar {
	margin-top: var(--s-8);
	padding-top: var(--s-5);
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--s-6);
	flex-wrap: wrap;
}

.dca-trustbar__label {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--hero-text-faint);
}

.dca-trustbar__items {
	display: flex;
	gap: var(--s-6);
	flex-wrap: wrap;
	color: var(--hero-text-muted);
	font-family: var(--font-display);
	font-size: 16px;
	font-weight: 500;
}

/* --- Step cards -------------------------------------------------------- */

.dca-stepcard { position: relative; overflow: hidden; }

.dca-stepcard--accent { border-color: var(--brand-primary); box-shadow: var(--shadow-md); }

.dca-stepcard__num {
	position: absolute;
	top: var(--s-4);
	right: var(--s-4);
	font-family: var(--font-display);
	font-size: 56px;
	font-weight: 600;
	color: var(--brand-primary-light);
	line-height: 1;
	letter-spacing: -0.04em;
}

.dca-stepcard__title { margin: 0 0 8px; font-size: 21px; position: relative; }
.dca-stepcard__body { margin: 0; font-size: 14px; line-height: 1.6; }

/* --- Service cards ----------------------------------------------------- */

.dca-svccard {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: var(--text);
	transition: transform var(--t), box-shadow var(--t);
}

.dca-svccard:hover {
	color: var(--text);
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

.dca-svccard__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: var(--s-3);
}

.dca-svccard__tile {
	width: 36px;
	height: 36px;
	background: var(--brand-primary-light);
	color: var(--brand-primary);
	border-radius: 8px;
	display: grid;
	place-items: center;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 13px;
	flex: none;
}

.dca-svccard__count { font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); }

.dca-svccard__name {
	font-family: var(--font-display);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: -0.01em;
	margin-bottom: 4px;
}

.dca-svccard__desc { font-size: 12.5px; color: var(--text-muted); line-height: 1.5; }

.dca-svccard--all {
	align-items: center;
	justify-content: center;
	text-align: center;
	border-style: dashed;
	border-color: var(--border-strong);
	background: var(--surface-2);
	color: var(--brand-primary);
	font-family: var(--font-display);
	font-size: 16px;
	font-weight: 600;
}

/* --- Featured service -------------------------------------------------- */

.dca-svcfeature { display: grid; gap: var(--s-4); }

.dca-svcfeature__lead {
	padding: var(--s-6);
	background: var(--hero-gradient);
	border-radius: var(--r-lg);
	color: var(--hero-text);
	box-shadow: var(--shadow-md);
	display: flex;
	flex-direction: column;
	gap: var(--s-3);
}

.dca-svcfeature__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.dca-svcfeature__tile {
	width: 48px;
	height: 48px;
	background: var(--brand-accent);
	color: var(--on-accent);
	border-radius: var(--r-md);
	display: grid;
	place-items: center;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 15px;
	flex: none;
}

.dca-svcfeature__name { color: var(--hero-text); margin: 0; }
.dca-svcfeature__desc { color: var(--hero-text-muted); margin: 0; line-height: 1.6; font-size: 14px; }

.dca-svcfeature__stats {
	display: flex;
	gap: var(--s-6);
	flex-wrap: wrap;
	padding: var(--s-3) 0;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.dca-svcfeature__statnum { font-family: var(--font-display); font-size: 22px; font-weight: 600; }
.dca-svcfeature__statlabel { font-size: 11px; color: var(--hero-text-faint); margin-top: 2px; }

.dca-svcfeature__rest { display: grid; gap: var(--s-4); grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* --- Filter pills ------------------------------------------------------ */

.dca-filterpills {
	padding: 10px 14px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-sm);
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	align-items: center;
}

.dca-filterpills__label {
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--text-muted);
	padding: 0 8px;
}

/* --- Quotes ------------------------------------------------------------ */

.dca-quote { position: relative; margin: 0; }

.dca-quote__mark {
	font-family: var(--font-display);
	font-size: 56px;
	color: var(--brand-primary-light);
	line-height: 0.5;
	position: absolute;
	top: var(--s-6);
	left: var(--s-4);
}

.dca-quote__body {
	padding-top: var(--s-5);
	font-family: var(--font-display);
	font-size: 18px;
	line-height: 1.55;
	color: var(--text);
}

.dca-quote__foot {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: var(--s-5);
	padding-top: var(--s-4);
	border-top: 1px solid var(--divider);
}

.dca-quote__name { display: block; font-weight: 600; font-size: 13.5px; }
.dca-quote__role { display: block; font-size: 12px; color: var(--text-muted); }

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

.dca-dualcta__grid { display: grid; gap: var(--s-8); align-items: center; }
.dca-dualcta__title { color: var(--hero-text); margin: var(--s-3) 0; }
.dca-dualcta__text { color: var(--hero-text-muted); line-height: 1.65; margin: 0 0 var(--s-5); max-width: 40ch; }
.dca-dualcta__rule { display: none; }

/* --- Plan cards, marketing additions ----------------------------------- */

.dca-plancard__tier { text-transform: uppercase; letter-spacing: 0.08em; align-self: flex-start; }
.dca-plancard__billing { font-size: 12px; color: var(--brand-accent); margin-top: 6px; font-weight: 600; }
.dca-plancard__tagline { font-size: 12.5px; color: var(--text-muted); margin: var(--s-2) 0 0; line-height: 1.55; }
.dca-plancard__cta { margin-top: var(--s-5); }
.dca-plancard__promo { text-align: center; font-size: 11.5px; color: var(--brand-accent); margin-top: 10px; font-weight: 500; }
.dca-periodtoggle--hero { background: rgba(255, 255, 255, 0.11); border-color: rgba(255, 255, 255, 0.20); }
.dca-periodtoggle--hero .dca-periodtoggle__btn { color: var(--hero-text-muted); }
.dca-periodtoggle--hero .dca-periodtoggle__btn:hover { color: var(--hero-text); }
.dca-periodtoggle--hero .dca-periodtoggle__btn--active { background: var(--surface); color: var(--text); }
.dca-pricing__plans { padding-top: var(--s-6); }

/* --- Comparison table --------------------------------------------------- */

.dca-comparewrap {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-sm);
	overflow-x: auto;
}

.dca-compare { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 520px; }

.dca-compare thead th {
	background: var(--surface-2);
	border-bottom: 1px solid var(--border);
	padding: 16px 20px;
	font-family: var(--font-display);
	font-size: 15px;
	font-weight: 600;
	color: var(--text);
	text-align: center;
}

.dca-compare thead th:first-child {
	text-align: left;
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--text-muted);
	width: 34%;
}

.dca-compare tbody th {
	text-align: left;
	padding: 14px 20px;
	font-weight: 400;
	color: var(--text-muted);
	border-bottom: 1px solid var(--divider);
}

.dca-compare tbody td {
	text-align: center;
	padding: 14px 20px;
	border-bottom: 1px solid var(--divider);
	color: var(--text);
}

.dca-compare__grouprow td {
	text-align: left;
	background: var(--surface-2);
	font-family: var(--font-mono);
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--text-faint);
	padding: 12px 20px;
}

.dca-compare__col--featured { background: color-mix(in oklab, var(--brand-primary-light) 45%, transparent); }
.dca-compare thead .dca-compare__col--featured { color: var(--brand-primary); }
.dca-compare__yes { color: var(--brand-primary); font-weight: 700; }
.dca-compare__no { color: var(--text-faint); }

/* --- FAQ ---------------------------------------------------------------- */

.dca-faq { display: flex; flex-direction: column; gap: var(--s-3); }
.dca-faq__item { padding: var(--s-4) var(--s-5); }

.dca-faq__q {
	cursor: pointer;
	font-family: var(--font-display);
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--text);
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: var(--s-4);
}

.dca-faq__q::-webkit-details-marker { display: none; }
.dca-faq__q::after { content: "+"; color: var(--brand-primary); font-weight: 400; flex: none; }
.dca-faq__item[open] .dca-faq__q::after { content: "−"; }
.dca-faq__a { font-size: 14px; color: var(--text-muted); line-height: 1.65; margin-top: var(--s-3); }

/* --- Business banners ---------------------------------------------------- */

.dca-bizbanner {
	display: flex;
	align-items: center;
	gap: var(--s-5);
	flex-wrap: wrap;
	background: var(--brand-primary-light);
	border-color: color-mix(in oklab, var(--brand-primary) 22%, transparent);
}

.dca-bizbanner__icon {
	width: 52px;
	height: 52px;
	background: var(--brand-primary);
	color: var(--on-primary);
	border-radius: var(--r-md);
	display: grid;
	place-items: center;
	font-size: 24px;
	flex: none;
}

.dca-bizbanner__body { flex: 1; min-width: 260px; }
.dca-bizbanner__title { margin: 0 0 4px; font-size: 19px; }
.dca-bizbanner__text { margin: 0; font-size: 13px; line-height: 1.55; }

.dca-bizcallout { display: flex; align-items: center; gap: var(--s-6); flex-wrap: wrap; }
.dca-bizcallout > div { flex: 1; min-width: 280px; }
.dca-bizcallout__title { margin: var(--s-3) 0 10px; font-size: 24px; }
.dca-bizcallout__text { margin: 0; font-size: 14.5px; line-height: 1.6; max-width: 52ch; }

/* --- Marketing button variants -------------------------------------------- */

.dca-btn--glass {
	background: var(--hero-text) !important;
	border-color: var(--hero-text);
	color: var(--brand-primary) !important;
}

.dca-btn--glass:hover { background: rgba(255, 255, 255, 0.88) !important; color: var(--brand-primary-hover) !important; border-color: rgba(255, 255, 255, 0.88); }

.dca-btn--light { background: var(--surface) !important; color: var(--brand-primary) !important; border-color: var(--surface); }
.dca-btn--light:hover { background: var(--surface-2) !important; color: var(--brand-primary) !important; }

/* --- Marketing responsive ------------------------------------------------- */

@media (min-width: 768px) {
	.dca-sitehead__inner { padding: 14px 32px; }
	.dca-sitefoot { padding-inline: 32px; }
	.dca-hero--home, .dca-hero--centered { padding: var(--s-10) var(--s-8); }
}

@media (min-width: 1024px) {
	.dca-hero__grid { grid-template-columns: 1.15fr 1fr; }
	.dca-hero__aside { display: block; }
	.dca-svcfeature { grid-template-columns: 1.4fr 1fr; }
	.dca-dualcta__grid { grid-template-columns: 1.2fr auto 1.2fr; }
	.dca-dualcta__rule {
		display: block;
		width: 1px;
		height: 180px;
		background: rgba(255, 255, 255, 0.18);
	}
}
