/* D2CScaleup site styles */

:root {
	--d-paper: #F5F5F2;
	--d-card: #FFFFFF;
	--d-ink: #15171A;
	--d-body: #3B3F46;
	--d-mute: #6E737B;
	--d-line: #E2E2DD;
	--d-line-2: #CFCFC8;
	--d-accent: #1E5B45;
	--d-accent-soft: #E3EEE8;
	--d-accent-dark: #8FCDB0;
	--d-bar: #E4E4DE;
	--d-wrap: 1200px;
	--d-font: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
	--d-ease: cubic-bezier(.2, .7, .2, 1);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body.d-body {
	margin: 0;
	background: var(--d-paper);
	color: var(--d-body);
	font-family: var(--d-font);
	font-size: 1.0625rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
.d-body *, .d-body *::before, .d-body *::after { box-sizing: border-box; }
.d-body img, .d-body svg { max-width: 100%; }
.d-body h1, .d-body h2, .d-body h3, .d-body h4 {
	margin: 0;
	color: var(--d-ink);
	font-family: var(--d-font);
	font-weight: 600;
	letter-spacing: -.02em;
	line-height: 1.1;
}
.d-body p { margin: 0; }
.d-body a { color: inherit; }
.d-body :focus-visible { outline: 2px solid var(--d-accent); outline-offset: 3px; border-radius: 6px; }
.d-body [id] { scroll-margin-top: 92px; }

.d-skip { position: absolute; left: -9999px; top: 0; }
.d-skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--d-ink); color: #fff; padding: 10px 16px; border-radius: 8px; }

.d-wrap { width: 100%; max-width: var(--d-wrap); margin: 0 auto; padding: 0 22px; }
@media (min-width: 768px) { .d-wrap { padding: 0 40px; } }

.d-section { padding: 96px 0; }
@media (min-width: 1024px) { .d-section { padding: 128px 0; } }
.d-band { background: var(--d-card); border-top: 1px solid var(--d-line); border-bottom: 1px solid var(--d-line); }

.d-head { display: grid; gap: 20px; margin-bottom: 56px; }
@media (min-width: 1024px) {
	.d-head--split { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: end; gap: 64px; }
}
.d-h2 { font-size: clamp(2rem, 3.8vw, 3.3rem); letter-spacing: -.034em; line-height: 1.04; max-width: 18ch; }
.d-lede { font-size: 1.1875rem; line-height: 1.55; max-width: 52ch; }
.d-small-head { font-size: 1rem; font-weight: 600; color: var(--d-accent); margin-bottom: 14px; display: block; }

/* Buttons */
.d-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 26px; border-radius: 999px;
	font: 600 1rem/1 var(--d-font); letter-spacing: -.01em;
	text-decoration: none; border: 1px solid transparent; cursor: pointer;
	transition: background-color .2s var(--d-ease), color .2s, border-color .2s, transform .2s var(--d-ease);
}
.d-btn svg { width: 18px; height: 18px; flex: none; }
.d-btn:active { transform: translateY(1px); }
.d-btn--primary { background: var(--d-ink); color: #fff; }
.d-btn--primary:hover { background: var(--d-accent); }
.d-btn--ghost { background: transparent; color: var(--d-ink); border-color: var(--d-line-2); }
.d-btn--ghost:hover { border-color: var(--d-ink); }
.d-btn--light { background: #fff; color: var(--d-ink); }
.d-btn--light:hover { background: var(--d-accent-dark); }
.d-btn[disabled] { opacity: .6; cursor: progress; }
.d-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.d-textlink {
	display: inline-flex; align-items: center; gap: 8px;
	font-weight: 600; color: var(--d-ink); text-decoration: none;
	border-bottom: 1px solid currentColor; padding-bottom: 3px;
	transition: color .2s, gap .2s var(--d-ease);
}
.d-textlink svg { width: 16px; height: 16px; }
.d-textlink:hover { color: var(--d-accent); gap: 12px; }

/* Header */
.d-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(245, 245, 242, .84);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .3s;
}
.d-header.is-scrolled { border-bottom-color: var(--d-line); }
.admin-bar .d-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .d-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .d-header { top: 0; } }
.d-header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.d-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--d-ink); font-weight: 700; font-size: 1.25rem; letter-spacing: -.035em; }
.d-body .d-logo { color: var(--d-ink); }
.d-logo svg { width: 26px; height: 26px; color: var(--d-accent); }
.d-nav { display: none; }
@media (min-width: 1180px) { .d-nav { display: flex; align-items: center; gap: 28px; } }
.d-nav a { text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--d-body); transition: color .2s; }
.d-nav a:hover { color: var(--d-ink); }
.d-header__end { display: flex; align-items: center; gap: 10px; }
.d-header__cta { display: none; min-height: 44px; padding: 0 20px; font-size: .95rem; }
@media (min-width: 640px) { .d-header__cta { display: inline-flex; } }
.d-menu-btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; border-radius: 999px;
	border: 1px solid var(--d-line-2); background: transparent; color: var(--d-ink); cursor: pointer; padding: 0;
}
.d-menu-btn svg { width: 20px; height: 20px; }
@media (min-width: 1180px) { .d-menu-btn { display: none; } }
.d-mobile-nav { display: none; border-top: 1px solid var(--d-line); padding: 8px 0 24px; background: var(--d-paper); }
.d-mobile-nav.is-open { display: block; }
@media (min-width: 1180px) { .d-mobile-nav.is-open { display: none; } }
.d-mobile-nav a:not(.d-btn) { display: block; padding: 14px 0; font-size: 1.125rem; font-weight: 500; text-decoration: none; color: var(--d-ink); border-bottom: 1px solid var(--d-line); }
.d-mobile-nav .d-btn { margin-top: 20px; width: 100%; }

/* Hero */
.d-hero { position: relative; overflow: hidden; padding: 48px 0 96px; }
@media (min-width: 1024px) { .d-hero { padding: 72px 0 128px; } }
.d-hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .6;
	background-image: linear-gradient(var(--d-line) 1px, transparent 1px), linear-gradient(90deg, var(--d-line) 1px, transparent 1px);
	background-size: 64px 64px;
	-webkit-mask-image: radial-gradient(ellipse 60% 70% at 75% 35%, #000 10%, transparent 70%);
	mask-image: radial-gradient(ellipse 60% 70% at 75% 35%, #000 10%, transparent 70%);
}
.d-hero__grid { position: relative; display: grid; gap: 56px; align-items: center; }
@media (min-width: 1024px) { .d-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }
.d-hero__kicker { display: flex; align-items: center; gap: 12px; font-size: .95rem; font-weight: 500; color: var(--d-mute); margin-bottom: 26px; }
.d-hero__kicker::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--d-accent); box-shadow: 0 0 0 4px var(--d-accent-soft); }
.d-hero h1 { font-size: clamp(2.75rem, 6vw, 5.4rem); line-height: .98; letter-spacing: -.048em; max-width: 11.5ch; }
.d-hero__sub { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.55; margin-top: 28px; max-width: 46ch; }
.d-hero__note { margin-top: 18px; font-size: .9rem; color: var(--d-mute); }

@keyframes d-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.d-anim { animation: d-rise .9s var(--d-ease) both; animation-delay: var(--d, 0ms); }

/* Hero dashboard */
.d-dash {
	position: relative; background: var(--d-card); border: 1px solid var(--d-line); border-radius: 22px; padding: 20px;
	box-shadow: 0 1px 0 rgba(21, 23, 26, .04), 0 40px 70px -40px rgba(21, 23, 26, .35), 0 14px 28px -20px rgba(21, 23, 26, .16);
}
@media (min-width: 768px) { .d-dash { padding: 28px; } }
.d-dash__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.d-dash__title { font-weight: 600; color: var(--d-ink); font-size: 1rem; line-height: 1.3; }
.d-dash__meta { display: block; font-size: .8125rem; color: var(--d-mute); font-weight: 400; }
.d-live { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 600; color: var(--d-accent); background: var(--d-accent-soft); padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.d-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--d-accent); animation: d-pulse 2s infinite; }
@keyframes d-pulse { 0% { box-shadow: 0 0 0 0 rgba(30, 91, 69, .45); } 70% { box-shadow: 0 0 0 8px rgba(30, 91, 69, 0); } 100% { box-shadow: 0 0 0 0 rgba(30, 91, 69, 0); } }

.d-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--d-line); border: 1px solid var(--d-line); border-radius: 14px; overflow: hidden; }
@media (min-width: 560px) { .d-kpis { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.d-kpi { background: #fff; padding: 13px 14px 12px; min-width: 0; }
.d-kpi:first-child { grid-column: span 2; }
@media (min-width: 560px) { .d-kpi:first-child { grid-column: auto; } }
.d-kpi__label { display: block; font-size: .75rem; color: var(--d-mute); white-space: nowrap; }
.d-kpi__value { display: block; margin-top: 4px; font-size: 1.25rem; font-weight: 600; color: var(--d-ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.d-kpi__delta { display: block; margin-top: 2px; font-size: .75rem; font-weight: 600; color: var(--d-accent); font-variant-numeric: tabular-nums; min-height: 1.2em; }

.d-chart { position: relative; margin-top: 22px; height: 210px; }
@media (min-width: 768px) { .d-chart { height: 240px; } }
.d-chart svg { display: block; width: 100%; height: 100%; overflow: hidden; }
.d-chart .grid line { stroke: var(--d-line); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 3 4; }
.d-chart .bar { fill: var(--d-bar); }
.d-chart .line { fill: none; stroke: var(--d-accent); stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.d-chart .area { fill: url(#d-area-grad); }
.d-js .d-dash .bar { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); transition: transform .9s var(--d-ease); }
.d-js .d-dash.is-drawn .bar { transform: scaleY(1); }
.d-js .d-dash .area { opacity: 0; transition: opacity 1s ease .9s; }
.d-js .d-dash.is-drawn .area { opacity: 1; }
.d-chart__dot {
	position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
	background: #fff; border: 2.5px solid var(--d-accent); box-shadow: 0 0 0 6px rgba(30, 91, 69, .12);
	opacity: 0; transition: opacity .4s; pointer-events: none;
}
.d-dash.is-live .d-chart__dot { opacity: 1; }
.d-dash__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 14px; font-size: .8125rem; color: var(--d-mute); }
.d-dash__legend span { display: inline-flex; align-items: center; gap: 8px; }
.d-dash__legend .l { width: 16px; height: 2.5px; background: var(--d-accent); border-radius: 2px; }
.d-dash__legend .b { width: 10px; height: 10px; background: var(--d-bar); border-radius: 2px; }
.d-dash__legend em { margin-left: auto; font-style: normal; }
.d-dash__note { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--d-line); font-size: .75rem; color: var(--d-mute); }

.d-toast {
	position: absolute; left: 12px; top: 112px; z-index: 2;
	display: flex; align-items: center; gap: 12px; max-width: 280px;
	background: var(--d-ink); color: #fff; border-radius: 14px; padding: 12px 16px 12px 12px;
	box-shadow: 0 20px 40px -18px rgba(21, 23, 26, .55);
	opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .45s var(--d-ease), transform .45s var(--d-ease); pointer-events: none;
}
@media (min-width: 1024px) { .d-toast { left: -44px; top: 150px; } }
.d-toast.is-show { opacity: 1; transform: none; }
.d-toast__icon { flex: none; width: 36px; height: 36px; border-radius: 10px; background: rgba(143, 205, 176, .16); color: var(--d-accent-dark); display: grid; place-items: center; }
.d-toast__icon svg { width: 20px; height: 20px; }
.d-toast strong { display: block; font-size: .875rem; font-weight: 600; line-height: 1.3; }
.d-toast small { display: block; font-size: .78rem; color: #AEB3BA; line-height: 1.35; }

/* Industries */
.d-trust { padding: 16px 0 104px; }
.d-trust .d-h2 { font-size: clamp(1.75rem, 2.8vw, 2.5rem); max-width: 22ch; }
.d-industries { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
@media (min-width: 768px) { .d-industries { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .d-industries { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.d-industry {
	display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 164px;
	background: var(--d-card); border: 1px solid var(--d-line); border-radius: 16px; padding: 20px;
	transition: border-color .25s;
}
.d-industry:hover { border-color: var(--d-ink); }
.d-industry svg { width: 26px; height: 26px; color: var(--d-accent); }
.d-industry h3 { font-size: 1.0625rem; letter-spacing: -.015em; }
.d-industry p { font-size: .85rem; line-height: 1.45; color: var(--d-mute); margin-top: 6px; }

/* Problem */
.d-problem__grid { display: grid; gap: 56px; align-items: start; }
@media (min-width: 1024px) { .d-problem__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; } }
.d-problems { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--d-line); }
.d-problems li { display: flex; align-items: flex-start; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--d-line); font-weight: 500; color: var(--d-ink); line-height: 1.45; }
.d-problems svg { flex: none; width: 20px; height: 20px; color: var(--d-mute); margin-top: 1px; }

.d-funnel { background: var(--d-card); border: 1px solid var(--d-line); border-radius: 20px; padding: 24px; }
@media (min-width: 768px) { .d-funnel { padding: 32px; } }
@media (min-width: 1024px) { .d-funnel { position: sticky; top: 110px; } }
.d-funnel__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.d-funnel__top h3 { font-size: 1.125rem; line-height: 1.3; }
.d-funnel__row { display: grid; grid-template-columns: 112px minmax(0, 1fr) 48px; align-items: center; gap: 14px; padding: 12px 0; font-size: .9rem; }
.d-funnel__row span:first-child { color: var(--d-body); }
.d-funnel__row b { text-align: right; font-weight: 600; color: var(--d-ink); font-variant-numeric: tabular-nums; }
.d-funnel__track { height: 10px; background: #EFEFEA; border-radius: 999px; overflow: hidden; }
.d-funnel__fill { display: block; height: 100%; width: var(--w); background: var(--d-ink); border-radius: 999px; }
.d-funnel__row:last-of-type .d-funnel__fill { background: var(--d-accent); }
.d-js .d-funnel__fill { width: 0; transition: width 1.3s var(--d-ease); transition-delay: var(--d, 0ms); }
.d-js .is-in .d-funnel__fill { width: var(--w); }
.d-funnel__foot { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--d-line); font-size: .95rem; color: var(--d-ink); font-weight: 500; }

.d-bridge { margin-top: 96px; padding-top: 40px; border-top: 1px solid var(--d-line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.d-bridge p { font-size: clamp(1.75rem, 3.6vw, 3rem); font-weight: 600; color: var(--d-ink); letter-spacing: -.035em; line-height: 1.08; max-width: 20ch; }

/* Tags */
.d-tag {
	display: inline-flex; align-items: center; white-space: nowrap;
	font-size: .75rem; font-weight: 600; line-height: 1; padding: 6px 10px; border-radius: 999px;
	background: var(--d-paper); border: 1px dashed var(--d-line-2); color: var(--d-mute);
}

/* Services */
.d-services { display: grid; gap: 20px; }
@media (min-width: 960px) { .d-services { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.d-service { display: flex; flex-direction: column; background: var(--d-card); border: 1px solid var(--d-line); border-radius: 20px; padding: 28px; }
@media (min-width: 768px) { .d-service { padding: 34px; } }
.d-service__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--d-accent-soft); color: var(--d-accent); display: grid; place-items: center; }
.d-service__icon svg { width: 24px; height: 24px; }
.d-service h3 { margin-top: 28px; font-size: .95rem; letter-spacing: 0; color: var(--d-accent); }
.d-service__tag { margin-top: 8px; font-size: 1.5rem; font-weight: 600; color: var(--d-ink); letter-spacing: -.025em; line-height: 1.2; }
.d-checks { list-style: none; margin: 28px 0 32px; padding: 0; display: grid; gap: 12px; }
.d-checks li { display: flex; align-items: flex-start; gap: 10px; font-size: .975rem; line-height: 1.45; }
.d-checks svg { flex: none; width: 18px; height: 18px; color: var(--d-accent); margin-top: 2px; }
.d-service .d-textlink { margin-top: auto; align-self: flex-start; }

/* Process */
.d-process { position: relative; }
.d-steps { position: relative; display: grid; gap: 40px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 900px) { .d-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; } }
.d-steps__line { display: none; }
@media (min-width: 900px) {
	.d-steps__line { display: block; position: absolute; left: 23px; right: 0; top: 23px; height: 1px; background: var(--d-line); }
	.d-steps__line i { display: block; height: 100%; width: 100%; background: var(--d-accent); }
	.d-js .d-steps__line i { width: 0; transition: width 1.8s var(--d-ease); }
	.d-js .d-process.is-in .d-steps__line i { width: 100%; }
}
.d-step__num {
	position: relative; width: 46px; height: 46px; border-radius: 50%;
	background: var(--d-ink); color: #fff; border: 1px solid var(--d-ink);
	display: grid; place-items: center; font-weight: 600; font-size: .95rem; font-variant-numeric: tabular-nums;
}
.d-js .d-step__num { background: var(--d-card); color: var(--d-ink); border-color: var(--d-line-2); transition: background .4s, color .4s, border-color .4s; transition-delay: var(--d, 0ms); }
.d-js .d-process.is-in .d-step__num { background: var(--d-ink); color: #fff; border-color: var(--d-ink); }
.d-step h3 { margin-top: 24px; font-size: 1.375rem; }
.d-step p { margin-top: 10px; max-width: 32ch; }

/* Case studies + results */
.d-cases { display: grid; gap: 20px; }
@media (min-width: 960px) { .d-cases { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.d-case { display: flex; flex-direction: column; background: var(--d-card); border: 1px solid var(--d-line); border-radius: 20px; padding: 26px; }
.d-case__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.d-case__industry { font-size: .875rem; font-weight: 600; color: var(--d-accent); }
.d-case h3 { margin-top: 20px; font-size: 1.3rem; line-height: 1.25; }
.d-case__block { margin-top: 16px; }
.d-case__block h4 { font-size: .8125rem; font-weight: 600; color: var(--d-mute); letter-spacing: 0; }
.d-case__block p { margin-top: 4px; font-size: .95rem; line-height: 1.5; }
.d-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: auto; background: var(--d-line); border: 1px solid var(--d-line); border-radius: 12px; overflow: hidden; }
.d-case .d-metrics { margin-top: 24px; }
.d-metric { background: #fff; padding: 12px 14px; }
.d-metric span { display: block; font-size: .75rem; color: var(--d-mute); }
.d-metric b { display: block; margin-top: 2px; font-size: 1.2rem; font-weight: 600; color: var(--d-ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.d-case__foot { margin-top: 10px; font-size: .75rem; color: var(--d-mute); }

.d-spark { display: block; width: 100%; height: 56px; margin-top: 18px; overflow: visible; }
.d-spark__line { fill: none; stroke: var(--d-accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--d-ease); }
.d-spark__area { fill: var(--d-accent-soft); opacity: 0; transition: opacity 1s ease .7s; }
.d-spark.is-in .d-spark__line { stroke-dashoffset: 0; }
.d-spark.is-in .d-spark__area { opacity: .8; }

.d-results-head { margin: 104px 0 36px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; }
.d-results-head h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -.03em; }
.d-results-head p { font-size: .95rem; color: var(--d-mute); max-width: 44ch; }
.d-results { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.d-result { background: var(--d-card); border: 1px solid var(--d-line); border-radius: 18px; padding: 24px; }
.d-result__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.d-result__top span:first-child { font-weight: 600; color: var(--d-ink); font-size: .95rem; }
.d-result__value { display: block; margin-top: 18px; font-size: 2.5rem; font-weight: 600; color: var(--d-ink); letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.d-result p { margin-top: 8px; font-size: .875rem; color: var(--d-mute); }

/* Testimonials */
.d-quotes { display: grid; gap: 20px; }
@media (min-width: 960px) { .d-quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.d-quote { display: flex; flex-direction: column; min-height: 270px; margin: 0; padding: 28px; border: 1.5px dashed var(--d-line-2); border-radius: 20px; background: var(--d-paper); }
.d-quote__top { display: flex; justify-content: space-between; align-items: center; }
.d-quote__top svg { width: 28px; height: 28px; color: var(--d-accent); }
.d-quote blockquote { margin: 22px 0 28px; font-size: 1.125rem; line-height: 1.5; color: var(--d-mute); }
.d-quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.d-quote__avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--d-line); flex: none; }
.d-quote figcaption b { display: block; color: var(--d-ink); font-weight: 600; font-size: .95rem; }
.d-quote figcaption small { display: block; color: var(--d-mute); font-size: .85rem; }

/* Why */
.d-why { display: grid; gap: 48px; }
@media (min-width: 1024px) { .d-why { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 80px; align-items: start; } .d-why__intro { position: sticky; top: 120px; } }
.d-why__intro .d-lede { margin-top: 20px; }
.d-why__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--d-line); }
.d-why__list li { display: grid; gap: 6px; padding: 26px 0; border-bottom: 1px solid var(--d-line); }
@media (min-width: 640px) { .d-why__list li { grid-template-columns: 220px minmax(0, 1fr); gap: 24px; } }
.d-why__list h3 { font-size: 1.25rem; line-height: 1.3; }

/* Audit */
.d-audit { background: var(--d-ink); color: #B9BDC4; }
.d-body .d-audit h2 { color: #fff; }
.d-audit__grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1024px) { .d-audit__grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 72px; } }
.d-audit .d-lede { margin-top: 22px; color: #C9CCD1; }
.d-audit__list { list-style: none; margin: 32px 0 0; padding: 0; }
.d-audit__list li { display: flex; gap: 12px; align-items: flex-start; color: #E7E9EC; margin-top: 14px; line-height: 1.45; }
.d-audit__list svg { flex: none; width: 20px; height: 20px; color: var(--d-accent-dark); margin-top: 1px; }
.d-form { position: relative; background: #1D2024; border: 1px solid #2B2F35; border-radius: 22px; padding: 24px; }
@media (min-width: 768px) { .d-form { padding: 36px; } }
.d-form__grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .d-form__grid { grid-template-columns: 1fr 1fr; } }
.d-field--full { grid-column: 1 / -1; }
.d-field label { display: block; font-size: .875rem; font-weight: 500; color: #E7E9EC; margin-bottom: 8px; }
.d-field label small { color: #8D929A; font-weight: 400; }
.d-field input, .d-field select, .d-field textarea {
	display: block; width: 100%; min-height: 52px; padding: 14px 16px; margin: 0;
	border-radius: 12px; border: 1px solid #363A41; background: #15171A; color: #fff;
	font: inherit; font-size: 1rem; line-height: 1.4;
	-webkit-appearance: none; appearance: none;
	transition: border-color .2s, box-shadow .2s;
}
.d-field select {
	padding-right: 44px; cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23AEB3BA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 16px center; background-size: 18px;
}
.d-field select option { color: var(--d-ink); background: #fff; }
.d-field textarea { min-height: 120px; resize: vertical; }
.d-field input::placeholder, .d-field textarea::placeholder { color: #7C818A; }
.d-field input:focus, .d-field select:focus, .d-field textarea:focus { outline: none; border-color: var(--d-accent-dark); box-shadow: 0 0 0 4px rgba(143, 205, 176, .15); }
.d-form__submit { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.d-form__submit p { font-size: .8125rem; color: #8D929A; max-width: 34ch; }
.d-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.d-alert { border-radius: 12px; padding: 14px 16px; margin-bottom: 20px; font-size: .95rem; line-height: 1.45; }
.d-alert--ok { background: rgba(143, 205, 176, .12); color: #CFEBDD; border: 1px solid rgba(143, 205, 176, .35); }
.d-alert--err { background: rgba(226, 120, 105, .12); color: #F3C7BF; border: 1px solid rgba(226, 120, 105, .35); }

/* About */
.d-about { display: grid; gap: 40px; }
@media (min-width: 1024px) { .d-about { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: start; } }
.d-about__copy p + p { margin-top: 18px; }
.d-about__copy p { font-size: 1.125rem; }
.d-about__points { list-style: none; margin: 32px 0 0; padding: 0; }
.d-about__points li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--d-line); font-weight: 600; color: var(--d-ink); }
.d-about__points svg { flex: none; width: 20px; height: 20px; color: var(--d-accent); margin-top: 2px; }

/* FAQ */
.d-faq { display: grid; gap: 40px; }
@media (min-width: 1024px) { .d-faq { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 80px; align-items: start; } .d-faq__intro { position: sticky; top: 120px; } }
.d-faq__intro p { margin-top: 20px; max-width: 36ch; }
.d-faq__intro .d-textlink { margin-top: 20px; }
.d-faq__list details { border-bottom: 1px solid var(--d-line); }
.d-faq__list details:first-child { border-top: 1px solid var(--d-line); }
.d-faq__list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-size: 1.125rem; font-weight: 600; color: var(--d-ink); line-height: 1.35; }
.d-faq__list summary::-webkit-details-marker { display: none; }
.d-faq__icon { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--d-line-2); display: grid; place-items: center; transition: transform .3s var(--d-ease), background .3s, color .3s, border-color .3s; }
.d-faq__icon svg { width: 16px; height: 16px; }
.d-faq__list details[open] .d-faq__icon { transform: rotate(45deg); background: var(--d-ink); color: #fff; border-color: var(--d-ink); }
.d-faq__a { padding: 0 56px 24px 0; max-width: 64ch; }

/* Final CTA */
.d-final { position: relative; overflow: hidden; padding: 120px 0 180px; background: var(--d-card); border-top: 1px solid var(--d-line); }
.d-final__inner { position: relative; z-index: 1; }
.d-final h2 { font-size: clamp(2.5rem, 6vw, 5rem); letter-spacing: -.048em; line-height: 1; max-width: 13ch; }
.d-final .d-lede { margin-top: 24px; }
.d-final__chart { position: absolute; left: 0; right: 0; bottom: 0; height: 55%; pointer-events: none; }
.d-final__chart .d-spark { height: 100%; margin: 0; }
.d-final__chart .d-spark__line { stroke-width: 2.5; transition-duration: 2.6s; }
.d-final__chart .d-spark__area { transition-delay: 1.2s; }
.d-final__chart .d-spark.is-in .d-spark__area { opacity: .55; }

/* Footer */
.d-footer { background: var(--d-ink); color: #9DA2AA; padding: 72px 0 32px; font-size: .95rem; }
.d-footer a { text-decoration: none; color: #D5D8DC; transition: color .2s; }
.d-footer a:hover { color: #fff; }
.d-footer__top { display: grid; gap: 40px; }
@media (min-width: 960px) { .d-footer__top { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.6fr) auto; } }
.d-body .d-footer .d-logo { color: #fff; }
.d-footer .d-logo svg { color: var(--d-accent-dark); }
.d-footer__brand p { margin-top: 14px; max-width: 30ch; }
.d-footer__nav { display: grid; grid-template-columns: repeat(2, max-content); gap: 12px 40px; align-content: start; }
@media (min-width: 640px) { .d-footer__nav { grid-template-columns: repeat(4, max-content); } }
.d-social { display: flex; gap: 10px; }
.d-social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid #33373D; display: grid; place-items: center; }
.d-social a:hover { border-color: #fff; }
.d-social svg { width: 18px; height: 18px; }
.d-footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid #2A2E34; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: .875rem; }
.d-legal { display: flex; flex-wrap: wrap; gap: 20px; }

/* WhatsApp button */
.d-wa {
	position: fixed; right: 18px; bottom: 18px; z-index: 60;
	display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 16px;
	border-radius: 999px; background: #25D366; color: #06331C; font-weight: 600; text-decoration: none;
	box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .4); transition: transform .2s var(--d-ease);
}
.d-body .d-wa { color: #06331C; }
.d-wa:hover { transform: translateY(-2px); }
.d-wa svg { width: 24px; height: 24px; }
.d-wa span { display: none; }
@media (min-width: 768px) { .d-wa { padding: 0 20px 0 16px; } .d-wa span { display: inline; } }

/* Other pages */
.d-page { padding: 72px 0 112px; }
.d-page h1 { font-size: clamp(2.25rem, 4.5vw, 3.5rem); letter-spacing: -.04em; }

/* ─── Colour layer: bottle green + champagne gold + navy ─────────────── */
:root {
	--d-gold: #B08A4E;
	--d-gold-ink: #85652F;
	--d-gold-soft: #F4EBDD;
	--d-navy: #23395B;
	--d-navy-soft: #E5EAF2;
	--d-sage: #EEF3EF;
	--d-sand: #F8F3EB;
	--d-forest: #123B2E;
	--d-forest-2: #0D2F23;
	--d-bar: #E7D9BF;
}

/* Highlighted key phrases */
.d-hl {
	background: linear-gradient(180deg, transparent 58%, var(--d-gold-soft) 58%);
	color: var(--d-ink); font-weight: 600; padding: 0 .1em; border-radius: 2px;
	-webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.d-hl--green { background: linear-gradient(180deg, transparent 58%, #D5E7DD 58%); }
.d-hl--navy { background: linear-gradient(180deg, transparent 58%, #D9E1EE 58%); }
.d-audit .d-hl { background: linear-gradient(180deg, transparent 60%, rgba(176, 138, 78, .5) 60%); color: #fff; }

/* Buttons */
.d-btn--primary { background: var(--d-accent); }
.d-btn--primary:hover { background: var(--d-forest); }
.d-btn--light:hover { background: var(--d-gold-soft); }
.d-textlink:hover { color: var(--d-gold-ink); }

/* Tags: gold marks anything that is a sample or example */
.d-tag { background: var(--d-gold-soft); border-color: #E2D0B0; color: var(--d-gold-ink); }

/* Hero */
.d-hero__kicker { display: inline-flex; background: #fff; border: 1px solid var(--d-line); padding: 7px 16px 7px 12px; border-radius: 999px; color: var(--d-ink); }
.d-hero__kicker::before { background: var(--d-gold); box-shadow: 0 0 0 4px var(--d-gold-soft); }
.d-kpi__delta { display: inline-block; margin-top: 6px; padding: 2px 8px; border-radius: 999px; background: var(--d-accent-soft); min-height: 0; }
.d-kpi:nth-child(3) .d-kpi__value { color: var(--d-accent); }
.d-toast__icon { background: rgba(176, 138, 78, .22); color: #E6C992; }

/* Industries */
.d-industry svg { width: 46px; height: 46px; padding: 11px; border-radius: 12px; background: var(--d-accent-soft); color: var(--d-accent); }
.d-industry:nth-child(3n+2) svg { background: var(--d-gold-soft); color: var(--d-gold-ink); }
.d-industry:nth-child(3n) svg { background: var(--d-navy-soft); color: var(--d-navy); }
.d-industry:hover { border-color: var(--d-accent); }

/* Problem */
.d-sec-sand { background: var(--d-sand); }
.d-problems svg { color: var(--d-gold); }
.d-funnel__row:nth-of-type(2) .d-funnel__fill,
.d-funnel__row:nth-of-type(3) .d-funnel__fill { background: var(--d-navy); }
.d-funnel__row:nth-of-type(4) .d-funnel__fill,
.d-funnel__row:nth-of-type(5) .d-funnel__fill { background: var(--d-gold); }
.d-funnel__row:last-of-type .d-funnel__fill { background: var(--d-accent); }
.d-funnel__row:last-of-type b { color: var(--d-accent); }
.d-funnel__foot { border: 0; border-radius: 12px; padding: 14px 16px; background: var(--d-gold-soft); }
.d-bridge p { color: var(--d-accent); }

/* Services: navy / green / gold */
.d-service { border-top: 3px solid var(--d-accent); }
.d-service:nth-child(1) { border-top-color: var(--d-navy); }
.d-service:nth-child(1) .d-service__icon { background: var(--d-navy-soft); color: var(--d-navy); }
.d-service:nth-child(1) h3, .d-service:nth-child(1) .d-checks svg { color: var(--d-navy); }
.d-service:nth-child(3) { border-top-color: var(--d-gold); }
.d-service:nth-child(3) .d-service__icon { background: var(--d-gold-soft); color: var(--d-gold-ink); }
.d-service:nth-child(3) h3, .d-service:nth-child(3) .d-checks svg { color: var(--d-gold-ink); }

/* Process */
#process { background: var(--d-sage); }
.d-steps__line i { background: linear-gradient(90deg, var(--d-navy), var(--d-accent) 55%, var(--d-gold)); }
.d-step__num, .d-js .d-process.is-in .d-step__num { background: var(--d-accent); border-color: var(--d-accent); color: #fff; }
.d-step:nth-child(1) .d-step__num, .d-js .d-process.is-in .d-step:nth-child(1) .d-step__num { background: var(--d-navy); border-color: var(--d-navy); }
.d-step:nth-child(4) .d-step__num, .d-js .d-process.is-in .d-step:nth-child(4) .d-step__num { background: var(--d-gold); border-color: var(--d-gold); }

/* Case studies + results */
.d-case .d-metric:nth-child(3) b { color: var(--d-accent); }
.d-case:nth-child(2) .d-case__industry { color: var(--d-gold-ink); }
.d-case:nth-child(3) .d-case__industry { color: var(--d-navy); }
.d-case:nth-child(2) .d-spark__line { stroke: var(--d-gold); }
.d-case:nth-child(2) .d-spark__area { fill: var(--d-gold-soft); }
.d-case:nth-child(3) .d-spark__line { stroke: var(--d-navy); }
.d-case:nth-child(3) .d-spark__area { fill: var(--d-navy-soft); }
.d-result { border-top: 3px solid var(--d-accent); }
.d-result__value { color: var(--d-accent); }
.d-result:nth-child(2) { border-top-color: var(--d-navy); }
.d-result:nth-child(2) .d-result__value { color: var(--d-navy); }
.d-result:nth-child(2) .d-spark__line { stroke: var(--d-navy); }
.d-result:nth-child(2) .d-spark__area { fill: var(--d-navy-soft); }
.d-result:nth-child(3) { border-top-color: var(--d-gold); }
.d-result:nth-child(3) .d-result__value { color: var(--d-gold-ink); }
.d-result:nth-child(3) .d-spark__line { stroke: var(--d-gold); }
.d-result:nth-child(3) .d-spark__area { fill: var(--d-gold-soft); }

/* Testimonials */
#testimonials { background: var(--d-sand); }
.d-quote { background: #fff; border-color: #E2D0B0; }
.d-quote__top svg { color: var(--d-gold); }

/* Why */
.d-why__list h3 { display: flex; align-items: center; gap: 12px; }
.d-why__list h3::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 3px; background: var(--d-accent); }
.d-why__list li:nth-child(3n+2) h3::before { background: var(--d-gold); }
.d-why__list li:nth-child(3n) h3::before { background: var(--d-navy); }

/* Audit: deep forest green */
.d-audit { background: var(--d-forest); color: #C5D6CD; }
.d-audit .d-lede { color: #D7E4DC; }
.d-audit__list svg { color: #D9B77A; }
.d-form { background: var(--d-forest-2); border-color: rgba(255, 255, 255, .08); }
.d-field input, .d-field select, .d-field textarea { background: rgba(0, 0, 0, .2); border-color: rgba(255, 255, 255, .14); }
.d-field input::placeholder, .d-field textarea::placeholder { color: #8FA89B; }
.d-field input:focus, .d-field select:focus, .d-field textarea:focus { border-color: #D9B77A; box-shadow: 0 0 0 4px rgba(217, 183, 122, .18); }
.d-form__submit p { color: #9DB5A8; }

/* About + FAQ */
.d-about__points li:nth-child(2) svg { color: var(--d-navy); }
.d-about__points li:nth-child(3) svg { color: var(--d-gold); }
.d-faq__list summary:hover { color: var(--d-accent); }
.d-faq__list details[open] .d-faq__icon { background: var(--d-accent); border-color: var(--d-accent); }

/* Final CTA */
.d-final { background: linear-gradient(180deg, #fff 0%, var(--d-sage) 100%); }
.d-final__chart .d-spark__area { fill: #D5E7DD; }

/* ─── Copper theme (overrides the green palette above) ──────────────── */
:root {
	--d-paper: #FAF9F7;
	--d-accent: #AD6843;
	--d-accent-soft: #F6E8DE;
	--d-accent-dark: #E3A987;
	--d-gold: #C49A5E;
	--d-gold-ink: #8C6630;
	--d-gold-soft: #F5ECDF;
	--d-navy: #3B4048;
	--d-navy-soft: #ECEDEF;
	--d-sage: #F7F1EB;
	--d-sand: #FBF7F2;
	--d-forest: #2A201B;
	--d-forest-2: #211915;
	--d-bar: #EBDDD2;
}
.d-header { background: rgba(250, 249, 247, .86); }
.d-mobile-nav { background: var(--d-paper); }
.d-btn--primary:hover { background: #8F5233; }
.d-hl--green { background: linear-gradient(180deg, transparent 58%, #F3DCCD 58%); }
.d-hl--navy { background: linear-gradient(180deg, transparent 58%, #E6E7EA 58%); }
.d-audit .d-hl { background: linear-gradient(180deg, transparent 60%, rgba(173, 104, 67, .6) 60%); }
.d-live i { animation-name: d-pulse-copper; }
@keyframes d-pulse-copper { 0% { box-shadow: 0 0 0 0 rgba(173, 104, 67, .45); } 70% { box-shadow: 0 0 0 8px rgba(173, 104, 67, 0); } 100% { box-shadow: 0 0 0 0 rgba(173, 104, 67, 0); } }
.d-chart__dot { box-shadow: 0 0 0 6px rgba(173, 104, 67, .14); }
.d-audit { color: #D2C6BE; }
.d-audit .d-lede { color: #E4DAD3; }
.d-audit__list svg { color: var(--d-accent-dark); }
.d-form__submit p { color: #A8998F; }
.d-field input::placeholder, .d-field textarea::placeholder { color: #9A8C83; }
.d-field input:focus, .d-field select:focus, .d-field textarea:focus { border-color: var(--d-accent-dark); box-shadow: 0 0 0 4px rgba(227, 169, 135, .2); }
.d-btn--light:hover { background: var(--d-accent-soft); }
.d-final__chart .d-spark__area { fill: #F3DCCD; }

/* ─── Orange buttons + light orange shades ──────────────────────────── */
:root {
	--d-orange: #CC6630;
	--d-orange-hover: #B35524;
	--d-orange-ink: #9A4A1E;
	--d-orange-soft: #FDEDE2;
	--d-orange-tint: #FFF6F0;
	--d-accent-soft: #FCEBDF;
	--d-sage: #FFF4EC;
	--d-sand: #FFF8F3;
	--d-bar: #F7DBC7;
}
.d-btn--primary { background: var(--d-orange); color: #fff; box-shadow: 0 10px 24px -12px rgba(204, 102, 48, .6); }
.d-btn--primary:hover { background: var(--d-orange-hover); }
.d-btn--ghost { background: var(--d-orange-tint); border-color: #F2C9AE; color: var(--d-orange-ink); }
.d-btn--ghost:hover { background: var(--d-orange-soft); border-color: var(--d-orange); }
.d-audit .d-btn--light { background: var(--d-orange); color: #fff; }
.d-audit .d-btn--light:hover { background: var(--d-orange-hover); }
.d-header__cta { box-shadow: none; }
.d-hl { background: linear-gradient(180deg, transparent 58%, #FCDCC6 58%); }
.d-hl--green { background: linear-gradient(180deg, transparent 58%, #FDE5D4 58%); }
.d-tag { background: var(--d-orange-soft); border-color: #F2C9AE; color: var(--d-orange-ink); }
.d-live { background: var(--d-orange-soft); color: var(--d-orange-ink); }
.d-live i { background: var(--d-orange); }
.d-kpi__delta { background: var(--d-orange-soft); color: var(--d-orange-ink); }
.d-hero__kicker { border-color: #F5D6C1; }
.d-hero__kicker::before { background: var(--d-orange); box-shadow: 0 0 0 4px var(--d-orange-soft); }
.d-funnel__foot { background: var(--d-orange-soft); }
.d-textlink:hover { color: var(--d-orange); }
.d-final { background: linear-gradient(180deg, #fff 0%, #FFF0E5 100%); }
.d-final__chart .d-spark__area { fill: #FCE0CC; }

/* Client results (testimonial section) */
.d-quote { border: 1px solid #F2D5C1; border-top: 3px solid var(--d-orange); background: #fff; min-height: 0; }
.d-quote__top { gap: 12px; }
.d-quote__brand { font-size: 1.375rem; letter-spacing: -.025em; }
.d-quote__metric { display: block; margin-top: 26px; font-size: clamp(2.5rem, 4vw, 3.25rem); font-weight: 600; letter-spacing: -.045em; line-height: 1; color: var(--d-orange); font-variant-numeric: tabular-nums; }
.d-quote__label { display: block; margin-top: 8px; font-size: .9rem; font-weight: 600; color: var(--d-ink); }
.d-quote__text { margin: 18px 0 26px; font-size: 1.0625rem; line-height: 1.55; color: var(--d-body); }
.d-quote figcaption { padding-top: 18px; border-top: 1px solid var(--d-line); }
.d-quote__avatar { display: grid; place-items: center; background: var(--d-orange-soft); color: var(--d-orange-ink); font-weight: 700; font-size: .95rem; }

/* Button text colours: beat the general ".d-body a" link rule */
.d-body .d-btn--primary,
.d-body .d-btn--primary:hover,
.d-body .d-btn--primary:visited,
.d-body .d-audit .d-btn--light,
.d-body .d-audit .d-btn--light:hover { color: #fff; }
.d-body .d-btn--primary svg { color: #fff; }
.d-body .d-btn--ghost,
.d-body .d-btn--ghost:visited { color: var(--d-orange-ink); }

/* ─── Navigation dropdowns ──────────────────────────────────────────── */
.d-nav__drop { position: relative; }
.d-nav__top { display: inline-flex; align-items: center; gap: 4px; }
.d-nav__top svg { width: 14px; height: 14px; transition: transform .2s; }
.d-nav__drop:hover .d-nav__top svg, .d-nav__drop:focus-within .d-nav__top svg { transform: rotate(180deg); }
.d-nav__panel {
	position: absolute; top: calc(100% + 16px); left: -18px; z-index: 60; min-width: 300px; padding: 8px;
	background: #fff; border: 1px solid var(--d-line); border-radius: 16px; box-shadow: 0 24px 50px -24px rgba(21, 23, 26, .3);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s var(--d-ease), visibility .2s;
}
.d-nav__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.d-nav__drop:hover .d-nav__panel, .d-nav__drop:focus-within .d-nav__panel { opacity: 1; visibility: visible; transform: none; }
.d-nav .d-nav__panel a { display: block; padding: 10px 12px; border-radius: 10px; }
.d-nav .d-nav__panel a:hover { background: var(--d-orange-tint); }
.d-nav__panel b { display: block; color: var(--d-ink); font-weight: 600; font-size: .95rem; }
.d-nav__panel small { display: block; margin-top: 2px; color: var(--d-mute); font-size: .8rem; line-height: 1.35; font-weight: 400; }
.d-mobile-nav.is-open { max-height: calc(100vh - 76px); overflow-y: auto; }
.d-mobile-nav a.d-mobile-nav__sub:not(.d-btn) { padding: 10px 0 10px 18px; font-size: 1rem; color: var(--d-body); }

/* ─── Service pages ─────────────────────────────────────────────────── */
.d-phero { position: relative; overflow: hidden; padding: 36px 0 72px; }
.d-phero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
	background-image: linear-gradient(var(--d-line) 1px, transparent 1px), linear-gradient(90deg, var(--d-line) 1px, transparent 1px);
	background-size: 64px 64px;
	-webkit-mask-image: radial-gradient(ellipse 60% 80% at 80% 30%, #000 10%, transparent 70%);
	mask-image: radial-gradient(ellipse 60% 80% at 80% 30%, #000 10%, transparent 70%);
}
.d-phero .d-wrap { position: relative; }
.d-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; font-size: .875rem; color: var(--d-mute); }
.d-body .d-crumbs a { color: var(--d-mute); text-decoration: none; }
.d-body .d-crumbs a:hover { color: var(--d-orange-ink); }
.d-crumbs [aria-current] { color: var(--d-ink); font-weight: 500; }
.d-phero h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); line-height: 1; letter-spacing: -.045em; max-width: 16ch; }
.d-phero__lede { margin-top: 24px; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.55; max-width: 58ch; }

.d-system { background: #fff; border-top: 1px solid var(--d-line); border-bottom: 1px solid var(--d-line); }
.d-system .d-wrap { padding-left: 0; padding-right: 0; }
@media (min-width: 1280px) { .d-system .d-wrap { padding-left: 40px; padding-right: 40px; } }
.d-system__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(190px, 1fr); overflow-x: auto; scrollbar-width: none; }
.d-system__steps::-webkit-scrollbar { display: none; }
.d-system__steps li + li { border-left: 1px solid var(--d-line); }
.d-body .d-system__steps a { display: block; height: 100%; padding: 18px 20px 20px; text-decoration: none; border-top: 3px solid transparent; transition: background .2s; }
.d-system__steps a:hover { background: var(--d-orange-tint); }
.d-system__steps span { display: block; font-size: .78rem; font-weight: 600; color: var(--d-mute); font-variant-numeric: tabular-nums; }
.d-system__steps b { display: block; margin-top: 6px; font-size: 1.125rem; color: var(--d-ink); }
.d-system__steps small { display: block; margin-top: 4px; font-size: .85rem; line-height: 1.4; color: var(--d-mute); }
.d-body .d-system__steps .is-current a { background: var(--d-orange-tint); border-top-color: var(--d-orange); }
.d-system__steps .is-current b, .d-system__steps .is-current span { color: var(--d-orange-ink); }

.d-pbody { padding: 72px 0 104px; }
.d-pbody__grid { display: grid; gap: 56px; }
@media (min-width: 1024px) {
	.d-pbody__grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 80px; align-items: start; }
	.d-pside { position: sticky; top: 110px; }
}
.d-prose { max-width: 720px; font-size: 1.0625rem; line-height: 1.7; }
.d-prose > :first-child { margin-top: 0; }
.d-prose h2 { margin: 56px 0 16px; font-size: clamp(1.6rem, 2.6vw, 2.1rem); letter-spacing: -.03em; line-height: 1.15; }
.d-prose h3 { margin: 28px 0 8px; font-size: 1.2rem; letter-spacing: -.015em; line-height: 1.3; }
.d-prose p { margin: 0 0 18px; }
.d-prose ul { list-style: none; margin: 0 0 24px; padding: 0; }
.d-prose li { position: relative; margin: 12px 0; padding-left: 32px; }
.d-prose li::before {
	content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%;
	background: var(--d-orange-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23CC6630' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.d-prose strong { color: var(--d-ink); font-weight: 600; }
.d-body .d-prose a { color: var(--d-orange-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.d-body .d-prose a:hover { color: var(--d-orange); }

.d-pside { display: grid; gap: 16px; align-content: start; }
.d-pside__card { padding: 28px; border-radius: 20px; background: var(--d-forest); color: #E4DAD3; }
.d-body .d-pside h2 { font-size: 1.25rem; letter-spacing: -.02em; }
.d-body .d-pside__card h2 { color: #fff; }
.d-pside__card p { margin: 10px 0 20px; font-size: .95rem; line-height: 1.55; }
.d-pside__card .d-btn { width: 100%; }
.d-pside__links { padding: 24px; border: 1px solid var(--d-line); border-radius: 20px; background: #fff; }
.d-pside__links h2 { margin-bottom: 8px; }
.d-body .d-pside__links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--d-line); color: var(--d-ink); font-size: .95rem; font-weight: 500; text-decoration: none; }
.d-pside__links a svg { flex: none; width: 16px; height: 16px; color: var(--d-orange); transition: transform .2s; }
.d-pside__links a:hover svg { transform: translateX(3px); }

/* ─── Footer columns ────────────────────────────────────────────────── */
@media (min-width: 960px) { .d-footer__top { grid-template-columns: minmax(0, .9fr) minmax(0, 2.1fr); gap: 64px; } }
.d-footer__brand .d-social { margin-top: 24px; }
.d-footer__cols { display: grid; gap: 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .d-footer__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.d-body .d-footer h2 { margin-bottom: 14px; color: #fff; font-size: .875rem; font-weight: 600; letter-spacing: 0; }
.d-footer__cols a { display: block; padding: 5px 0; font-size: .9rem; line-height: 1.4; }

/* ─── Blog ──────────────────────────────────────────────────────────── */
.d-phero--post h1 { max-width: 20ch; font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
.d-post-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; font-size: .9rem; color: var(--d-mute); }
.d-post-meta span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 14px 2px -10px; border-radius: 50%; background: var(--d-line-2); vertical-align: middle; }
.d-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.d-body .d-chips a { padding: 8px 14px; border-radius: 999px; border: 1px solid #F2C9AE; background: var(--d-orange-tint); color: var(--d-orange-ink); font-size: .875rem; font-weight: 600; text-decoration: none; }
.d-body .d-chips a:hover, .d-body .d-chips a.is-current { background: var(--d-orange); border-color: var(--d-orange); color: #fff; }
.d-posts { display: grid; gap: 20px; }
@media (min-width: 768px) { .d-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .d-posts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.d-postcard { display: flex; flex-direction: column; align-items: flex-start; padding: 28px; border: 1px solid var(--d-line); border-top: 3px solid var(--d-orange); border-radius: 20px; background: #fff; }
.d-postcard h2 { margin-top: 18px; font-size: 1.3rem; line-height: 1.25; letter-spacing: -.02em; }
.d-body .d-postcard h2 a { color: var(--d-ink); text-decoration: none; }
.d-body .d-postcard h2 a:hover { color: var(--d-orange-ink); }
.d-postcard p { margin-top: 10px; font-size: .95rem; line-height: 1.55; }
.d-postcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin-top: auto; padding-top: 22px; font-size: .85rem; color: var(--d-mute); }
.d-pagination { margin-top: 48px; }
.d-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.d-body .d-pagination .page-numbers { padding: 10px 16px; border: 1px solid var(--d-line); border-radius: 999px; background: #fff; color: var(--d-ink); text-decoration: none; font-weight: 500; }
.d-body .d-pagination .page-numbers.current { background: var(--d-orange); border-color: var(--d-orange); color: #fff; }
.d-pagination .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.d-pside__service p { margin: 6px 0 4px; font-size: .9rem; line-height: 1.5; }

/* Article tables and callouts */
.d-prose .d-table { overflow-x: auto; margin: 8px 0 28px; border: 1px solid var(--d-line); border-radius: 14px; }
.d-prose table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.45; background: #fff; }
.d-prose th, .d-prose td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--d-line); vertical-align: top; }
.d-prose th { background: var(--d-orange-tint); color: var(--d-ink); font-weight: 600; }
.d-prose tr:last-child td { border-bottom: 0; }
.d-prose .d-callout { margin: 8px 0 28px; padding: 20px 22px; border-left: 3px solid var(--d-orange); border-radius: 0 14px 14px 0; background: var(--d-orange-tint); }
.d-prose .d-callout p:last-child { margin-bottom: 0; }
.d-prose ol { margin: 0 0 24px; padding-left: 22px; }
.d-prose ol li { padding-left: 6px; }
.d-prose ol li::before { display: none; }

/* Industries: 3 × 3 grid with icon beside text */
@media (min-width: 768px) {
	.d-industries { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.d-industry { flex-direction: row; align-items: center; justify-content: flex-start; gap: 18px; min-height: 0; padding: 22px; }
	.d-industry svg { flex: none; }
}

/* ─── Calculators and calculator lead forms ─────────────────────────── */
.d-calc { display: grid; gap: 20px; margin: 8px 0 28px; padding: 24px; border: 1px solid var(--d-line); border-top: 3px solid var(--d-orange); border-radius: 20px; background: #fff; }
@media (min-width: 760px) { .d-calc { grid-template-columns: 1fr 1fr; padding: 28px; } }
.d-calc__inputs { display: grid; gap: 14px; }
.d-calc__field span { display: block; margin-bottom: 6px; font-size: .875rem; font-weight: 600; color: var(--d-ink); line-height: 1.35; }
.d-calc__field input { display: block; width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--d-line-2); border-radius: 10px; font: inherit; font-size: 1rem; background: #fff; color: var(--d-ink); }
.d-calc__field input:focus { outline: none; border-color: var(--d-orange); box-shadow: 0 0 0 4px rgba(204, 102, 48, .15); }
.d-calc__results { align-self: start; padding: 20px; border-radius: 14px; background: var(--d-orange-tint); }
.d-calc__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid #f2d5c1; font-size: .9rem; line-height: 1.4; }
.d-calc__row b { flex: none; font-size: 1.05rem; color: var(--d-ink); font-variant-numeric: tabular-nums; }
.d-calc__row--key b { font-size: 1.4rem; color: var(--d-orange-ink); }
.d-prose .d-calc__note { margin: 14px 0 0; font-size: .85rem; color: var(--d-mute); }

.d-lead { position: relative; margin: 0 0 36px; padding: 26px; border-radius: 20px; background: var(--d-forest); color: #d2c6be; }
@media (min-width: 760px) { .d-lead { padding: 32px; } }
.d-body .d-lead h3 { margin: 0 0 8px; color: #fff; font-size: 1.4rem; letter-spacing: -.02em; }
.d-prose .d-lead > p { margin: 0 0 20px; font-size: .95rem; line-height: 1.55; color: #e4dad3; }
.d-lead__grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .d-lead__grid { grid-template-columns: 1fr 1fr; } }
.d-lead label { display: block; margin-bottom: 6px; font-size: .85rem; font-weight: 600; color: #e7e9ec; }
.d-lead input { display: block; width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(0, 0, 0, .2); color: #fff; font: inherit; font-size: 1rem; }
.d-lead input:focus { outline: none; border-color: var(--d-accent-dark); box-shadow: 0 0 0 4px rgba(227, 169, 135, .2); }
.d-lead input::placeholder { color: #9a8c83; }
.d-lead__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 20px; }
.d-lead__submit small { font-size: .8rem; color: #a8998f; }
.d-lead__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.d-lead__ok { padding: 16px 18px; border-radius: 12px; background: rgba(227, 169, 135, .14); border: 1px solid rgba(227, 169, 135, .4); color: #f3ded2; font-size: .95rem; line-height: 1.5; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.d-body *, .d-body *::before, .d-body *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
}
