/*
 * DoubleScale home page.
 *
 * Scoped to .dsh so nothing leaks into the header, footer or shared template
 * parts. Colours, radii and icon treatment follow the DoubleScale dashboard:
 * indigo #3A3A99, the sidebar's indigo-to-violet gradient, lavender tints,
 * the orange accent, Sora headings and Inter body text.
 */

.dsh {
	--ink: #09090b;
	--body: #52525b;
	--muted: #71717a;
	--line: #e4e4e7;
	--line-soft: #eceef3;
	--bg: #f6f7fb;
	--indigo: #3a3a99;
	--indigo-600: #4747b3;
	--indigo-800: #2a2a7a;
	--violet: #6d5cf6;
	--lavender: #eeeeff;
	--lilac: #e9e3fc;
	--orange: #cb5301;
	--orange-soft: #fff1e6;
	--green: #16a34a;
	--green-soft: #dcfce7;
	--wa: #25d366;
	--night-1: #3a3a99;
	--night-2: #2b1f73;
	--night-3: #1b1347;
	--radius: 16px;
	--radius-lg: 24px;
	--shadow-card: 0 1px 2px rgba(16, 16, 40, 0.04), 0 8px 24px -12px rgba(42, 42, 122, 0.18);
	--shadow-float: 0 18px 48px -18px rgba(27, 19, 71, 0.45);
	--max: 1200px;
	color: var(--body);
	font-family: Inter, system-ui, sans-serif;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
.dsh *,
.dsh *::before,
.dsh *::after { box-sizing: border-box; }
.dsh h1, .dsh h2, .dsh h3, .dsh h4 {
	font-family: Sora, Inter, sans-serif;
	color: var(--ink);
	margin: 0;
	letter-spacing: -0.02em;
}
.dsh p { margin: 0; }
.dsh a { text-decoration: none; }
.dsh img { max-width: 100%; height: auto; display: block; }
.dsh .dsh-wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.dsh .screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

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

.dsh-section { padding: 112px 0; position: relative; }
@media (max-width: 767px) { .dsh-section { padding: 72px 0; } }

.dsh-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.dsh-head--left { margin-left: 0; text-align: left; }
.dsh-eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font: 600 13px/1 Inter, sans-serif; letter-spacing: 0.08em; text-transform: uppercase;
	color: var(--indigo); background: var(--lavender);
	padding: 8px 12px; border-radius: 999px; margin-bottom: 18px;
}
.dsh-eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.dsh-eyebrow--orange { color: var(--orange); background: var(--orange-soft); }
.dsh-eyebrow--night { color: #d9d6ff; background: rgba(255, 255, 255, 0.1); }
.dsh h2.dsh-title { font-size: clamp(30px, 4.2vw, 48px); line-height: 1.12; font-weight: 600; }
.dsh .dsh-lead { margin-top: 18px; font-size: 18px; line-height: 1.65; color: var(--body); }

.dsh-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	height: 48px; padding: 0 22px; border-radius: 12px;
	font: 600 15px/1 Inter, sans-serif; border: 1px solid transparent;
	transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
	cursor: pointer; white-space: nowrap;
}
.dsh .dsh-btn--primary { background: var(--indigo); color: #fff; box-shadow: 0 8px 20px -10px rgba(58, 58, 153, 0.8); }
.dsh .dsh-btn--primary:hover { background: var(--indigo-800); transform: translateY(-1px); }
.dsh .dsh-btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.dsh .dsh-btn--ghost:hover { border-color: var(--indigo); color: var(--indigo); }
.dsh .dsh-btn--light { background: #fff; color: var(--indigo); }
.dsh .dsh-btn--light:hover { background: var(--lavender); }
.dsh .dsh-btn--outline-light { color: #fff; border-color: rgba(255, 255, 255, 0.35); background: transparent; }
.dsh .dsh-btn--outline-light:hover { border-color: #fff; }
.dsh-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--indigo); }
.dsh-link span { transition: transform 0.2s; }
.dsh-link:hover span { transform: translateX(3px); }

/* Icon tile, like the dashboard's module icons. */
.dsh-ico {
	width: 44px; height: 44px; border-radius: 12px; flex: none;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--lavender); color: var(--indigo);
}
.dsh-ico svg { width: 24px; height: 24px; }

/* Browser frame around product screenshots. */
.dsh-frame {
	position: relative; border-radius: 14px; overflow: hidden; background: #fff;
	border: 1px solid rgba(58, 58, 153, 0.14);
	box-shadow: 0 40px 80px -40px rgba(27, 19, 71, 0.45), 0 2px 6px rgba(16, 16, 40, 0.06);
}
.dsh-frame-bar {
	display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px;
	background: #f4f4f8; border-bottom: 1px solid var(--line-soft);
}
.dsh-frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #dcdce5; }
.dsh-frame-bar i:nth-child(1) { background: #ff6058; }
.dsh-frame-bar i:nth-child(2) { background: #ffbe2f; }
.dsh-frame-bar i:nth-child(3) { background: #2aca44; }
.dsh-frame-url {
	margin: 0 auto; padding: 4px 14px; border-radius: 8px; background: #fff;
	font: 500 12px/1 Inter, sans-serif; color: var(--muted); border: 1px solid var(--line-soft);
	transform: translateX(-24px);
}
.dsh-frame img { width: 100%; }

/* Reveal on scroll. */
.dsh-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.dsh-reveal.is-in { opacity: 1; transform: none; }

/* ---------- 1. Hero ---------- */

/* The hero runs up behind the site header so the header and hero share one
   background; the theme's own header/hero background is off on this page. */
.header-hero-background { display: none !important; }
.dsh-hero {
	position: relative; margin-top: calc(-1 * var(--dsh-header-h, 96px)); padding: calc(var(--dsh-header-h, 96px) + 88px) 0 0; text-align: center; isolation: isolate;
	background:
		radial-gradient(60% 50% at 50% 0%, rgba(109, 92, 246, 0.16), transparent 70%),
		radial-gradient(40% 40% at 90% 30%, rgba(203, 83, 1, 0.08), transparent 70%),
		linear-gradient(180deg, #f3f2ff 0%, #fbfbff 55%, #fff 100%);
}
.dsh-hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background-image:
		linear-gradient(rgba(58, 58, 153, 0.06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(58, 58, 153, 0.06) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(70% 60% at 50% 20%, #000 30%, transparent 80%);
	mask-image: radial-gradient(70% 60% at 50% 20%, #000 30%, transparent 80%);
}
@media (max-width: 1023px) { .dsh-hero { padding-top: calc(var(--dsh-header-h, 96px) + 56px); } }

.dsh-badge {
	display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center;
	padding: 7px 14px 7px 8px; border-radius: 999px; background: #fff;
	border: 1px solid rgba(58, 58, 153, 0.14); box-shadow: var(--shadow-card);
	font: 500 13.5px/1.2 Inter, sans-serif; color: var(--ink);
}
.dsh-badge-wp {
	display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px;
	background: var(--lavender); color: var(--indigo); font-weight: 600;
}
.dsh-badge-stars { color: #f59e0b; letter-spacing: 1px; }
.dsh-badge-sep { width: 1px; height: 14px; background: var(--line); }
.dsh-badge-muted { color: var(--muted); }

.dsh-hero h1 {
	max-width: 980px; margin: 26px auto 0;
	font-size: clamp(38px, 6.2vw, 72px); line-height: 1.04; font-weight: 600; letter-spacing: -0.035em;
}
.dsh-mark {
	position: relative; white-space: nowrap; color: var(--indigo);
	background: linear-gradient(100deg, #3a3a99 0%, #6d5cf6 55%, #cb5301 120%);
	-webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.dsh-hero .dsh-lead { max-width: 720px; margin: 24px auto 0; font-size: 19px; }
.dsh-hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.dsh-hero-sub { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 22px; margin-top: 20px; }
.dsh-play {
	display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; padding: 0; cursor: pointer;
	font: 600 15px/1 Inter, sans-serif; color: var(--ink);
}
.dsh-play-ico {
	width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
	background: #fff; color: var(--indigo); box-shadow: 0 4px 14px -4px rgba(58, 58, 153, 0.5);
	transition: transform 0.2s;
}
.dsh-play:hover .dsh-play-ico { transform: scale(1.08); }
.dsh-play small { color: var(--muted); font-weight: 500; }
.dsh-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin: 26px 0 0; padding: 0; list-style: none; }
.dsh-points li { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--body); }
.dsh-points svg { color: var(--green); flex: none; }

/* Product stage */
.dsh-stage { position: relative; max-width: 1120px; margin: 64px auto 0; padding: 0 24px; }
.dsh-stage::before {
	content: ""; position: absolute; inset: 8% 6% -6%; z-index: -1; border-radius: 40px;
	background: radial-gradient(60% 60% at 50% 40%, rgba(109, 92, 246, 0.35), transparent 70%);
	filter: blur(30px);
}
.dsh-stage .dsh-frame { transform: perspective(2000px) rotateX(4deg); transform-origin: 50% 0; }
.dsh-float {
	position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
	padding: 12px 16px 12px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.96);
	border: 1px solid rgba(58, 58, 153, 0.12); box-shadow: var(--shadow-float);
	text-align: left; min-width: 230px;
	opacity: 0; transform: translateY(16px) scale(0.97);
	transition: opacity 0.6s ease, transform 0.6s ease;
}
.dsh-float.is-in { opacity: 1; transform: none; animation: dsh-bob 6s ease-in-out infinite; }
.dsh-float b { display: block; font: 600 14px/1.3 Inter, sans-serif; color: var(--ink); }
.dsh-float small { display: block; font-size: 12.5px; line-height: 1.4; color: var(--muted); margin-top: 2px; }
.dsh-float-ico { width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; flex: none; }
.dsh-float-ico svg { width: 20px; height: 20px; }
.dsh-float--deal { left: -8px; top: 22%; }
.dsh-float--deal .dsh-float-ico { background: var(--green-soft); color: var(--green); }
.dsh-float--wa { right: -14px; top: 12%; animation-delay: -1.5s; }
.dsh-float--wa .dsh-float-ico { background: #dcfbe7; color: #10a14f; }
.dsh-float--book { left: 4%; bottom: 8%; animation-delay: -3s; }
.dsh-float--book .dsh-float-ico { background: var(--lavender); color: var(--indigo); }
.dsh-float--paid { right: 3%; bottom: 18%; animation-delay: -4.5s; }
.dsh-float--paid .dsh-float-ico { background: var(--orange-soft); color: var(--orange); }
a.dsh-float { text-decoration: none; cursor: pointer; }
a.dsh-float:hover { border-color: rgba(58, 58, 153, 0.35); box-shadow: 0 24px 50px -20px rgba(42, 42, 122, 0.55); }
a.dsh-float:hover b { color: var(--indigo); }
.dsh-float--send { left: -22px; top: 56%; min-width: 260px; animation-delay: -2.2s; }
.dsh-float--send .dsh-float-ico { position: relative; background: var(--lavender); color: var(--indigo); transition: background 0.3s, color 0.3s; }
.dsh-send-done { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(0.6); transition: opacity 0.3s, transform 0.3s; }
.dsh-float--send.is-sent .dsh-float-ico { background: var(--green-soft); color: var(--green); }
.dsh-float--send.is-sent .dsh-float-ico > svg { opacity: 0; }
.dsh-float--send.is-sent .dsh-send-done { opacity: 1; transform: none; }
.dsh-send-txt { flex: 1; min-width: 0; }
.dsh-send-bar { display: block; height: 4px; margin-top: 8px; border-radius: 4px; background: #ececf6; overflow: hidden; }
.dsh-send-bar i { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, #3a3a99, #6d5cf6); }
.dsh-float--send.is-sent .dsh-send-bar i { background: var(--green); }
.dsh-float-amount { margin-left: auto; padding-left: 10px; font: 600 14px/1 Inter, sans-serif; color: var(--green); }
@keyframes dsh-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@media (max-width: 1023px) { .dsh-float { display: none; } .dsh-stage .dsh-frame { transform: none; } }

/* Logos */
.dsh-logos { padding: 72px 0 24px; text-align: center; }
.dsh-logos p { font-size: 14px; font-weight: 500; color: var(--muted); }
.dsh-logos ul { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 44px; align-items: center; }
.dsh-logos li { display: flex; align-items: center; gap: 10px; font: 600 15px/1 Inter, sans-serif; color: #8a8a96; transition: color 0.2s; }
.dsh-logos li img { width: 30px; height: 30px; object-fit: contain; filter: grayscale(1) opacity(0.7); transition: filter 0.2s; }
.dsh-logos li:hover { color: var(--ink); }
.dsh-logos li:hover img { filter: none; }

/* ---------- 2. Modules ---------- */

.dsh-modules { background: #fff; }
.dsh-grid { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .dsh-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .dsh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .dsh-grid { grid-template-columns: 1fr; } }
.dsh-grid .dsh-card { padding: 22px; }
.dsh-grid .dsh-card p { font-size: 14.5px; }
.dsh-card {
	position: relative; display: flex; flex-direction: column; gap: 14px; padding: 26px;
	background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius);
	transition: border-color 0.2s, box-shadow 0.25s, transform 0.25s;
}
.dsh-card:hover { border-color: rgba(58, 58, 153, 0.25); box-shadow: var(--shadow-card); transform: translateY(-2px); }
.dsh-card h3 { font-size: 18px; font-weight: 600; line-height: 1.3; }
.dsh-card p { font-size: 15px; line-height: 1.6; }
.dsh-card .dsh-link { margin-top: auto; font-size: 14px; }
.dsh-card-pro {
	position: absolute; top: 22px; right: 22px; font: 600 11px/1 Inter, sans-serif; letter-spacing: 0.04em;
	color: var(--orange); background: var(--orange-soft); padding: 5px 8px; border-radius: 6px;
}
.dsh-stats {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: 56px;
	background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden;
}
.dsh-stats div { background: #fff; padding: 26px 24px; text-align: center; }
.dsh-stats b { display: block; font: 600 30px/1.1 Sora, sans-serif; color: var(--indigo); letter-spacing: -0.02em; }
.dsh-stats span { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); }
@media (max-width: 767px) { .dsh-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- 3. Product tour ---------- */

.dsh-tour { background: var(--bg); }
.dsh-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 40px; }
.dsh-tab {
	position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 9px;
	padding: 11px 16px 11px 12px; border-radius: 12px; border: 1px solid var(--line);
	background: #fff; color: var(--body); font: 600 14.5px/1 Inter, sans-serif; cursor: pointer;
	transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.dsh-tab .dsh-ico { width: 28px; height: 28px; border-radius: 8px; }
.dsh-tab .dsh-ico svg { width: 18px; height: 18px; }
.dsh-tab:hover { border-color: rgba(58, 58, 153, 0.35); color: var(--ink); }
.dsh-tab[aria-selected="true"] { border-color: var(--indigo); color: var(--indigo); background: #fbfbff; }
.dsh-tab[aria-selected="true"] .dsh-ico { background: var(--indigo); color: #fff; }
.dsh-tab-progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--indigo); }
.dsh-tab[aria-selected="true"] .dsh-tab-progress.is-running { animation: dsh-progress var(--dsh-tour-ms, 8000ms) linear forwards; }
@keyframes dsh-progress { to { width: 100%; } }
.dsh-panel { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.dsh-panel[hidden] { display: none; }
.dsh-panel.is-entering .dsh-frame { animation: dsh-in 0.5s ease both; }
.dsh-panel.is-entering .dsh-panel-copy { animation: dsh-in 0.5s 0.08s ease both; }
@keyframes dsh-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.dsh-panel-copy h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; font-weight: 600; }
.dsh-panel-copy p { margin-top: 14px; font-size: 16.5px; line-height: 1.7; }
.dsh-checks { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; gap: 12px; }
.dsh-checks li { position: relative; padding-left: 30px; font-size: 15.5px; line-height: 1.55; color: var(--ink); }
.dsh-checks li::before {
	content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
	background: var(--lavender) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233A3A99' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat;
}
@media (max-width: 1023px) { .dsh-panel { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- 4. Messaging ---------- */

.dsh-msg { background: #fff; }
.dsh-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
@media (max-width: 1023px) { .dsh-split { grid-template-columns: 1fr; gap: 48px; } }
.dsh-channels { display: grid; gap: 14px; margin-top: 32px; }
.dsh-channel { display: flex; gap: 16px; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line-soft); background: #fff; }
.dsh-channel h3 { font-size: 16.5px; font-weight: 600; }
.dsh-channel p { margin-top: 4px; font-size: 14.5px; line-height: 1.6; }
.dsh-channel--wa .dsh-ico { background: #dcfbe7; color: #10a14f; }
.dsh-channel--sms .dsh-ico { background: var(--orange-soft); color: var(--orange); }

.dsh-phone-wrap { position: relative; display: flex; justify-content: center; padding: 20px 0; }
.dsh-phone-wrap::before {
	content: ""; position: absolute; width: 440px; height: 440px; max-width: 100%; border-radius: 50%; top: 50%; left: 50%;
	transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(37, 211, 102, 0.18), transparent 65%);
}
.dsh-phone {
	position: relative; width: 340px; max-width: 100%; border-radius: 42px; padding: 12px; background: #15122e;
	box-shadow: 0 50px 90px -40px rgba(21, 18, 46, 0.6), inset 0 0 0 2px #2b2750;
}
.dsh-phone-screen { border-radius: 32px; overflow: hidden; background: #efeae2; min-height: 600px; display: flex; flex-direction: column; }
.dsh-phone-head { display: flex; align-items: center; gap: 10px; padding: 34px 16px 12px; background: #075e54; color: #fff; }
.dsh-phone-head b { display: block; font: 600 14.5px/1.2 Inter, sans-serif; }
.dsh-phone-head small { font-size: 12px; opacity: 0.8; }
.dsh-avatar { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font: 700 13px/1 Inter, sans-serif; color: #fff; background: var(--indigo); flex: none; }
.dsh-chat { flex: 1; padding: 16px 12px 20px; display: flex; flex-direction: column; gap: 10px; }
.dsh-bubble {
	max-width: 82%; padding: 9px 12px 18px; border-radius: 12px; font-size: 14px; line-height: 1.45; color: #111b21;
	position: relative; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
	opacity: 0; transform: translateY(10px) scale(0.98); transition: opacity 0.4s ease, transform 0.4s ease;
}
.dsh-bubble.is-in { opacity: 1; transform: none; }
.dsh-bubble time { position: absolute; right: 8px; bottom: 4px; font-size: 10.5px; color: #667781; }
.dsh-bubble--out { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 4px; }
.dsh-bubble--in { align-self: flex-start; background: #fff; border-top-left-radius: 4px; }
.dsh-bubble-btns { display: grid; gap: 1px; margin: 10px -12px -18px; border-top: 1px solid rgba(0, 0, 0, 0.08); }
.dsh-bubble-btns span { text-align: center; padding: 9px; font-weight: 600; color: #027eb5; font-size: 13.5px; }
.dsh-bubble-btns span + span { border-top: 1px solid rgba(0, 0, 0, 0.08); }
.dsh-event {
	align-self: center; display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px;
	font: 600 12px/1.2 Inter, sans-serif; background: rgba(255, 255, 255, 0.92); color: var(--indigo);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
	opacity: 0; transform: scale(0.95); transition: opacity 0.4s ease, transform 0.4s ease;
}
.dsh-event.is-in { opacity: 1; transform: none; }
.dsh-event--green { color: var(--green); }
.dsh-typing { align-self: flex-start; display: none; gap: 4px; padding: 12px 14px; background: #fff; border-radius: 12px; }
.dsh-typing.is-in { display: inline-flex; }
.dsh-typing i { width: 6px; height: 6px; border-radius: 50%; background: #9aa5ac; animation: dsh-dot 1.2s infinite ease-in-out; }
.dsh-typing i:nth-child(2) { animation-delay: 0.15s; }
.dsh-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dsh-dot { 0%, 80%, 100% { transform: translateY(0); opacity: 0.5; } 40% { transform: translateY(-4px); opacity: 1; } }
.dsh-chip-stat {
	position: absolute; z-index: 2; display: flex; flex-direction: column; gap: 3px; padding: 12px 16px; border-radius: 14px;
	background: #fff; border: 1px solid var(--line-soft); box-shadow: var(--shadow-float);
}
.dsh-chip-stat b { font: 600 20px/1 Sora, sans-serif; color: var(--ink); }
.dsh-chip-stat span { font-size: 12.5px; color: var(--muted); }
.dsh-chip-stat--a { left: 2%; top: 18%; }
.dsh-chip-stat--b { right: 0; bottom: 16%; }
@media (max-width: 1100px) { .dsh-chip-stat { display: none; } }

/* ---------- 5. MCP ---------- */

.dsh-mcp {
	color: #c9c6ef; isolation: isolate; overflow: hidden;
	background:
		radial-gradient(50% 60% at 15% 0%, rgba(109, 92, 246, 0.35), transparent 70%),
		radial-gradient(40% 50% at 100% 100%, rgba(203, 83, 1, 0.18), transparent 70%),
		linear-gradient(160deg, var(--night-1) 0%, var(--night-2) 45%, var(--night-3) 100%);
}
.dsh-mcp::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
	background-size: 22px 22px;
	-webkit-mask-image: linear-gradient(180deg, #000, transparent 90%);
	mask-image: linear-gradient(180deg, #000, transparent 90%);
}
.dsh-mcp h2.dsh-title { color: #fff; }
.dsh-mcp .dsh-lead { color: #c9c6ef; }
.dsh-mcp .dsh-lead code { font-size: 0.9em; color: #fff; background: rgba(255, 255, 255, 0.1); padding: 2px 6px; border-radius: 6px; }

.dsh-scenarios { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 30px; }
.dsh-scenario {
	position: relative; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.05);
	color: #d9d6ff; padding: 10px 16px; border-radius: 999px; font: 600 14px/1 Inter, sans-serif; cursor: pointer;
	transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.dsh-scenario:hover { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.dsh-scenario[aria-pressed="true"] { background: #fff; color: var(--indigo); border-color: #fff; }

.dsh-mcp-stage {
	position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr) minmax(0, 1fr);
	gap: 44px; align-items: stretch;
}
@media (max-width: 1023px) { .dsh-mcp-stage { grid-template-columns: 1fr; gap: 40px; } }
.dsh-pane {
	position: relative; display: flex; flex-direction: column; min-height: 600px; border-radius: 18px; overflow: hidden;
	background: rgba(14, 10, 40, 0.55); border: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6); backdrop-filter: blur(6px);
}
@media (max-width: 1023px) { .dsh-pane { min-height: 0; backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(14, 10, 40, 0.82); } .dsh-pane--crm { background: #fff; } .dsh-mcp-stage { contain: layout; } }
.dsh-pane-head {
	display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	font: 600 13px/1 Inter, sans-serif; color: #fff;
}
.dsh-pane-head small { margin-left: auto; font-weight: 500; color: #a7a3d8; font-size: 12px; }
.dsh-pane-dot { width: 8px; height: 8px; border-radius: 50%; background: #7c7aa8; }
.dsh-pane.is-live .dsh-pane-dot { background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2); }
.dsh-pane-body { flex: 1; padding: 18px 16px; display: flex; flex-direction: column; gap: 14px; }
.dsh-pane-label { font: 600 11px/1 Inter, sans-serif; letter-spacing: 0.1em; text-transform: uppercase; color: #8f8bc9; }

.dsh-ai-logo { width: 22px; height: 22px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #d97757, #b4552f); color: #fff; }
.dsh-ai-logo svg { width: 14px; height: 14px; }
.dsh-prompt {
	align-self: flex-end; max-width: 92%; padding: 12px 14px; border-radius: 14px 14px 4px 14px;
	background: rgba(255, 255, 255, 0.1); color: #fff; font-size: 14.5px; line-height: 1.55; min-height: 48px;
}
.dsh-caret { display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: #fff; animation: dsh-blink 1s steps(1) infinite; }
@keyframes dsh-blink { 50% { opacity: 0; } }
.dsh-using {
	display: none; align-items: center; gap: 8px; font-size: 13px; color: #b9b6ea;
}
.dsh-using.is-in { display: flex; }
.dsh-spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.25); border-top-color: #fff; animation: dsh-spin 0.8s linear infinite; }
@keyframes dsh-spin { to { transform: rotate(360deg); } }
.dsh-reply { color: #e8e6ff; font-size: 14.5px; line-height: 1.65; min-height: 1.6em; }
.dsh-reply strong { color: #fff; }

.dsh-server-id { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08); }
.dsh-server-id .dsh-logo-tile { width: 40px; height: 40px; border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.dsh-server-id b { display: block; color: #fff; font: 600 14px/1.3 Inter, sans-serif; }
.dsh-server-id code { display: block; margin-top: 3px; font-size: 12px; color: #a7a3d8; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.dsh-calls { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dsh-call {
	display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: start;
	padding: 11px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.07);
	opacity: 0; transform: translateX(-8px); transition: opacity 0.35s ease, transform 0.35s ease, border-color 0.3s;
}
.dsh-call.is-in { opacity: 1; transform: none; }
.dsh-call.is-done { border-color: rgba(34, 197, 94, 0.35); }
.dsh-call-state { width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; }
.dsh-call-state svg { width: 18px; height: 18px; color: #22c55e; }
.dsh-call code { display: block; font: 600 13px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; color: #fff; }
.dsh-call small { display: block; margin-top: 4px; font: 12px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; color: #a7a3d8; word-break: break-word; }
.dsh-call em { font-style: normal; font: 600 12px/1 Inter, sans-serif; color: #86efac; white-space: nowrap; padding-top: 2px; }
.dsh-server-foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.dsh-server-foot { gap: 6px; }
.dsh-server-foot span { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: #b9b6ea; padding: 5px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); white-space: nowrap; }

.dsh-pane--crm { background: #fff; border-color: transparent; color: var(--body); }
.dsh-pane--crm .dsh-pane-head { color: var(--ink); border-bottom-color: var(--line-soft); background: #fbfbfe; }
.dsh-pane--crm .dsh-pane-head small { color: var(--muted); }
.dsh-pane--crm .dsh-pane-label { color: var(--muted); }
.dsh-crm-side { display: flex; align-items: center; gap: 8px; }
.dsh-crm-side .dsh-ico { width: 26px; height: 26px; border-radius: 8px; }
.dsh-crm-side .dsh-ico svg { width: 16px; height: 16px; }
.dsh-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dsh-row {
	display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; border: 1px solid var(--line-soft); background: #fff;
	opacity: 0; transform: translateY(8px); transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.4s, border-color 0.4s;
}
.dsh-row.is-in { opacity: 1; transform: none; }
.dsh-row.is-new { border-color: rgba(58, 58, 153, 0.35); box-shadow: 0 0 0 4px rgba(58, 58, 153, 0.07); }
.dsh-row b { display: block; font: 600 13.5px/1.3 Inter, sans-serif; color: var(--ink); }
.dsh-row small { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); }
.dsh-row .dsh-avatar { width: 30px; height: 30px; font-size: 11px; }
.dsh-pill { margin-left: auto; flex: none; font: 600 11.5px/1 Inter, sans-serif; padding: 5px 8px; border-radius: 999px; white-space: nowrap; }
.dsh-pill--green { color: #15803d; background: var(--green-soft); }
.dsh-pill--amber { color: #b45309; background: #fef3c7; }
.dsh-pill--red { color: #b91c1c; background: #fee2e2; }
.dsh-pill--indigo { color: var(--indigo); background: var(--lavender); }
.dsh-crm-empty { margin: auto; text-align: center; font-size: 13px; color: var(--muted); }

/* Beams between panes */
.dsh-col { position: relative; display: flex; flex-direction: column; }
.dsh-col > .dsh-pane { flex: 1; }
.dsh-beam { position: absolute; top: 50%; right: -44px; height: 2px; width: 44px; background: rgba(255, 255, 255, 0.16); overflow: hidden; }
.dsh-beam::after {
	content: ""; position: absolute; top: 0; left: -40%; width: 40%; height: 100%;
	background: linear-gradient(90deg, transparent, #a5f3c4, transparent);
	opacity: 0;
}
.dsh-beam.is-on::after { opacity: 1; animation: dsh-beam 0.9s ease-in-out infinite; }
@keyframes dsh-beam { to { left: 100%; } }
@media (max-width: 1023px) { .dsh-beam { display: none; } }

.dsh-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 56px; }
@media (max-width: 767px) { .dsh-steps { grid-template-columns: 1fr; } }
.dsh-step { padding: 22px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); }
.dsh-step-n { display: inline-flex; width: 30px; height: 30px; border-radius: 9px; align-items: center; justify-content: center; font: 700 14px/1 Sora, sans-serif; color: var(--indigo); background: #fff; }
.dsh-step h3 { margin-top: 14px; font-size: 17px; font-weight: 600; color: #fff; }
.dsh-step p { margin-top: 6px; font-size: 14.5px; line-height: 1.6; color: #c9c6ef; }
.dsh-clients { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 36px; }
.dsh-clients > span { font-size: 14px; color: #a7a3d8; margin-right: 4px; }
.dsh-clients b { font: 600 13.5px/1 Inter, sans-serif; color: #fff; padding: 9px 13px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); }
.dsh-mcp-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }

/* ---------- Mobile app ---------- */

.dsh-app { padding: 112px 0; background: #fff; }
@media (max-width: 767px) { .dsh-app { padding: 72px 0; } }
.dsh-app-card {
	position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; align-items: center;
	padding: 64px; border-radius: 28px;
	background:
		radial-gradient(60% 80% at 100% 0%, rgba(109, 92, 246, 0.25), transparent 70%),
		linear-gradient(135deg, #f4f2ff 0%, #fbf7ff 50%, #fff4ec 100%);
	border: 1px solid rgba(58, 58, 153, 0.1);
}
.dsh-app-card .dsh-checks { margin-bottom: 28px; }
.dsh-app-phones { justify-self: center; max-width: 420px; }
@media (max-width: 1023px) { .dsh-app-card { grid-template-columns: 1fr; padding: 40px 24px; text-align: left; } }

/* Product tour video, on the hero screenshot */
.dsh-video { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.dsh-video img { transition: filter 0.3s ease, transform 0.6s ease; }
.dsh-video::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: radial-gradient(60% 60% at 50% 50%, rgba(27, 19, 71, 0.38), rgba(27, 19, 71, 0.12) 70%, transparent);
	transition: opacity 0.3s ease;
}
.dsh-video:hover img, .dsh-video:focus-visible img { filter: saturate(1.05) brightness(0.96); }
.dsh-video-cta {
	position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%);
	display: inline-flex; align-items: center; gap: 16px; padding: 12px 26px 12px 12px; border-radius: 999px;
	background: rgba(255, 255, 255, 0.96); box-shadow: 0 24px 60px -18px rgba(27, 19, 71, 0.55), 0 0 0 1px rgba(58, 58, 153, 0.12);
	text-align: left; transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.dsh-video:hover .dsh-video-cta, .dsh-video:focus-visible .dsh-video-cta { transform: translate(-50%, -50%) scale(1.04); }
.dsh-video:focus-visible { outline: 3px solid var(--violet); outline-offset: -3px; }
.dsh-video-btn {
	position: relative; width: 72px; height: 72px; border-radius: 50%; flex: none;
	display: flex; align-items: center; justify-content: center; color: #fff;
	background: linear-gradient(135deg, var(--indigo), var(--violet));
	box-shadow: 0 10px 24px -8px rgba(58, 58, 153, 0.8);
}
.dsh-video-btn svg { margin-left: 4px; }
.dsh-video-btn::before, .dsh-video-btn::after {
	content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(109, 92, 246, 0.55);
	animation: dsh-pulse 2.4s ease-out infinite;
}
.dsh-video-btn::after { animation-delay: 1.2s; }
@keyframes dsh-pulse { from { transform: scale(1); opacity: 0.9; } to { transform: scale(1.75); opacity: 0; } }
.dsh-video-label b { display: block; font: 600 18px/1.25 Sora, Inter, sans-serif; color: var(--ink); letter-spacing: -0.01em; white-space: nowrap; }
.dsh-video-label small { display: block; margin-top: 3px; font: 500 14px/1.3 Inter, sans-serif; color: var(--muted); white-space: nowrap; }
@media (max-width: 639px) {
	.dsh-video-cta { gap: 10px; padding: 8px 16px 8px 8px; }
	.dsh-video-btn { width: 48px; height: 48px; }
	.dsh-video-btn svg { width: 20px; height: 20px; }
	.dsh-video-label b { font-size: 14px; }
	.dsh-video-label small { display: none; }
}

/* Video lightbox */
.dsh-lightbox { position: fixed; inset: 0; z-index: 100000; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(9, 9, 20, 0.8); backdrop-filter: blur(6px); }
.dsh-lightbox.is-open { display: flex; flex-direction: column; gap: 14px; }
.dsh .dsh-lightbox-yt { color: rgba(255, 255, 255, 0.8); font: 500 14px/1 Inter, sans-serif; }
.dsh .dsh-lightbox-yt:hover { color: #fff; }
.dsh-lightbox-box { position: relative; width: min(1100px, 100%); aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6); }
.dsh-lightbox-box iframe { width: 100%; height: 100%; border: 0; display: block; }
.dsh-lightbox-close {
	position: absolute; top: -48px; right: 0; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
	background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 22px; line-height: 40px;
}

@media (prefers-reduced-motion: reduce) {
	.dsh *, .dsh *::before, .dsh *::after { animation: none !important; transition: none !important; }
	.dsh-reveal, .dsh-float, .dsh-bubble, .dsh-event, .dsh-call, .dsh-row { opacity: 1 !important; transform: none !important; }
}

/* The theme sets its own heading and span sizes on small screens; keep this page's. */
.dsh .dsh-hero h1 { font-size: clamp(36px, 6.2vw, 72px) !important; line-height: 1.06 !important; }
.dsh .dsh-hero h1 .dsh-mark { font-size: inherit !important; line-height: inherit !important; }
.dsh h2.dsh-title { font-size: clamp(28px, 4.2vw, 48px) !important; line-height: 1.14 !important; }
.dsh .dsh-card h3 { font-size: 18px !important; }
.dsh .dsh-panel-copy h3 { font-size: clamp(24px, 2.6vw, 32px) !important; line-height: 1.2 !important; }
.dsh .dsh-channel h3, .dsh .dsh-step h3 { font-size: 17px !important; }
@media (max-width: 639px) {
	.dsh .dsh-hero h1 { font-size: 36px !important; }
	.dsh-card { padding: 20px; gap: 10px; }
	.dsh-badge { font-size: 12.5px; }
}

/* ---------- Hero heading (v2) ---------- */

.dsh .dsh-hero h1.dsh-h1 {
	max-width: none; margin: 28px auto 0; display: flex; flex-direction: column; align-items: center; gap: 0.06em;
	font-size: clamp(36px, 5.6vw, 70px) !important; line-height: 1.04 !important; font-weight: 600; letter-spacing: -0.04em;
	text-wrap: balance;
}
.dsh-h1-line { display: block; }
/* The theme shrinks every span on phones; the heading's lines keep the heading size. */
.dsh .dsh-hero h1.dsh-h1 span { font-size: inherit !important; line-height: inherit !important; }
.dsh-h1-key { position: relative; display: inline-block; color: var(--indigo); white-space: nowrap; }
.dsh-swash { position: absolute; left: -2%; right: -2%; bottom: -0.14em; width: 104%; height: 0.32em; overflow: visible; }
.dsh-swash path {
	fill: none; stroke: var(--orange); stroke-width: 7; stroke-linecap: round;
	stroke-dasharray: 420; stroke-dashoffset: 420; animation: dsh-draw 1.1s 0.35s cubic-bezier(.65,0,.35,1) forwards;
}
@keyframes dsh-draw { to { stroke-dashoffset: 0; } }
.dsh-h1-line--2 { color: var(--ink); }
.dsh-rotator {
	position: relative; display: inline-block; vertical-align: bottom; height: 1.18em; overflow: hidden;
	transition: width 0.45s cubic-bezier(.4,0,.2,1); text-align: left; padding-right: 0.04em;
}
.dsh-rotator > span {
	display: inline-block; white-space: nowrap;
	background: linear-gradient(95deg, #3a3a99 0%, #6d5cf6 70%, #8b5cf6 100%);
	-webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.dsh-rotator.is-ready > span { position: absolute; left: 0; top: 0; transform: translateY(105%); opacity: 0; transition: transform 0.55s cubic-bezier(.4,0,.2,1), opacity 0.4s ease; }
.dsh-rotator:not(.is-ready) > span:not(.is-on) { display: none; }
.dsh-rotator.is-ready > span.is-on { transform: none; opacity: 1; }
.dsh-rotator.is-ready > span.is-out { transform: translateY(-105%); opacity: 0; }

/* ---------- Modules bento ---------- */

.dsh-head-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: 48px; }
.dsh-head-split .dsh-lead { margin: 0; }
@media (max-width: 900px) { .dsh-head-split { grid-template-columns: 1fr; } }

.dsh-bento {
	display: grid; gap: 18px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-template-areas:
		"record mkt mkt"
		"record sales service"
		"delivery delivery insights";
}
.dsh-tile--record { grid-area: record; }
.dsh-tile--mkt { grid-area: mkt; }
.dsh-tile--sales { grid-area: sales; }
.dsh-tile--service { grid-area: service; }
.dsh-tile--delivery { grid-area: delivery; }
.dsh-tile--insights { grid-area: insights; }
@media (max-width: 1023px) {
	.dsh-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "record mkt" "record mkt" "sales service" "delivery insights"; }
}
@media (max-width: 720px) {
	.dsh-bento { grid-template-columns: 1fr; grid-template-areas: "record" "mkt" "sales" "service" "delivery" "insights"; }
}

.dsh-tile {
	position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 20px; padding: 26px;
	background: #fff; border: 1px solid var(--line-soft); border-radius: 22px;
	transition: border-color 0.25s, box-shadow 0.25s;
}
.dsh-tile::before {
	content: ""; position: absolute; width: 320px; height: 320px; right: -140px; top: -170px; border-radius: 50%; pointer-events: none;
	background: radial-gradient(circle, color-mix(in srgb, var(--tc, #3a3a99) 14%, transparent), transparent 70%);
}
.dsh-tile:hover { border-color: rgba(58, 58, 153, 0.22); box-shadow: var(--shadow-card); }
.dsh-tile--record { --tc: #3a3a99; background: linear-gradient(180deg, #fbfaff 0%, #fff 40%); }
.dsh-tile--mkt { --tc: #ea580c; }
.dsh-tile--sales { --tc: #16a34a; }
.dsh-tile--service { --tc: #0284c7; }
.dsh-tile--delivery { --tc: #7c3aed; }
.dsh-tile--insights { --tc: #3a3a99; }
.dsh-tile-head { position: relative; }
.dsh-tile-tag {
	display: inline-flex; align-items: center; gap: 7px; font: 600 12px/1 Inter, sans-serif; letter-spacing: 0.06em; text-transform: uppercase;
	color: var(--c);
}
.dsh-tile-tag::before { content: ""; width: 8px; height: 8px; border-radius: 3px; background: var(--c); }
.dsh .dsh-tile h3 { margin-top: 12px; font-size: 21px !important; line-height: 1.25; font-weight: 600; }
.dsh-tile-head p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--body); max-width: 520px; }

/* Visual area */
.dsh-viz { position: relative; flex: 1; border-radius: 16px; background: #f7f7fb; border: 1px solid var(--line-soft); padding: 16px; font-family: Inter, sans-serif; }
.dsh-viz b { color: var(--ink); font-weight: 600; }
.dsh-viz small { color: var(--muted); }

/* Contact record */
.dsh-person { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line-soft); box-shadow: 0 6px 16px -12px rgba(42, 42, 122, 0.35); }
.dsh-person > div { flex: 1; min-width: 0; }
.dsh-person b { display: block; font-size: 15.5px; }
.dsh-person small { display: block; font-size: 12.5px; margin-top: 2px; }
.dsh-avatar--lg { width: 44px; height: 44px; font-size: 15px; background: linear-gradient(135deg, #3a3a99, #6d5cf6); }
.dsh-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.dsh-tags span { font: 600 11px/1 Inter, sans-serif; padding: 5px 8px; border-radius: 999px; background: var(--lavender); color: var(--indigo); }
.dsh-tags span:first-child { background: var(--orange-soft); color: var(--orange); }
.dsh-score { position: relative; width: 52px; height: 52px; flex: none; }
.dsh-score svg { width: 52px; height: 52px; transform: rotate(-90deg); }
.dsh-score circle { fill: none; stroke: #ececf6; stroke-width: 3.5; }
.dsh-score .dsh-score-arc { stroke: var(--green); stroke-linecap: round; stroke-dasharray: 97.4; stroke-dashoffset: 97.4; transition: stroke-dashoffset 1.2s 0.3s cubic-bezier(.4,0,.2,1); }
.dsh-tile--record.is-in .dsh-score-arc, .dsh-timeline.is-static ~ * .dsh-score-arc { stroke-dashoffset: 18.5; }
.dsh-score b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 700 15px/1 Sora, sans-serif; }
.dsh-timeline { list-style: none; margin: 18px 0 0; padding: 0 0 0 4px; position: relative; display: grid; gap: 4px; }
.dsh-timeline::before { content: ""; position: absolute; left: 21px; top: 14px; bottom: 14px; width: 2px; background: linear-gradient(180deg, #e3e3f0, #ececf6); }
.dsh-timeline li {
	position: relative; display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 4px; border-radius: 12px;
	opacity: 0; transform: translateY(8px); transition: opacity 0.45s ease, transform 0.45s ease, background 0.4s;
}
.dsh-timeline li.is-in { opacity: 1; transform: none; }
.dsh-timeline li.is-new { background: #fff; box-shadow: 0 4px 14px -10px rgba(42, 42, 122, 0.4); }
.dsh-tl-ico {
	position: relative; z-index: 1; width: 34px; height: 34px; border-radius: 11px; flex: none; display: flex; align-items: center; justify-content: center;
	color: var(--c); background: #fff; border: 1px solid color-mix(in srgb, var(--c) 22%, #fff);
	box-shadow: 0 0 0 4px #f7f7fb;
}
.dsh-tl-ico svg { width: 18px; height: 18px; }
.dsh-timeline b { display: block; font-size: 14px; }
.dsh-timeline small { display: block; font-size: 12.5px; margin-top: 2px; }

/* Campaign */
.dsh-viz--campaign { display: grid; gap: 12px; }
.dsh-camp { padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line-soft); }
.dsh-camp-head { display: flex; align-items: center; justify-content: space-between; }
.dsh-camp-head b { font-size: 15px; }
.dsh-camp-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.dsh-camp-stats span { display: flex; flex-direction: column; gap: 4px; padding-left: 10px; border-left: 2px solid #f0eefc; }
.dsh-camp-stats small { font-size: 11.5px; }
.dsh-camp-stats b { font: 600 18px/1.1 Sora, Inter, sans-serif; letter-spacing: -0.01em; }
.dsh-bars { display: flex; align-items: flex-end; gap: 6px; height: 70px; margin-top: 16px; }
.dsh-bars i { flex: 1; height: 8%; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #fb923c, #ea580c); opacity: 0.85; transition: height 0.9s cubic-bezier(.4,0,.2,1); }
.dsh-bars i:nth-child(odd) { background: linear-gradient(180deg, #a5a5e8, #6d6dcc); }
.dsh-tile.is-in .dsh-bars i { height: var(--h); }
.dsh-channels-mini { display: flex; flex-wrap: wrap; gap: 8px; }
.dsh-channels-mini span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 999px; background: #fff; border: 1px solid var(--line-soft); font: 600 12.5px/1 Inter, sans-serif; color: var(--ink); }
.dsh-channels-mini svg { width: 16px; height: 16px; color: var(--indigo); }
.dsh-channels-mini span:nth-child(2) svg { color: #16a34a; }
.dsh-channels-mini span:nth-child(3) svg { color: var(--orange); }

/* Mini pipeline */
.dsh-viz--pipe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.dsh-pipe-col { display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: 12px; background: #eef0fb; }
.dsh-pipe-col:nth-child(2) { background: #fdf3e7; }
.dsh-pipe-col--won { background: #e8f8ee; }
.dsh-pipe-col small { font: 600 11px/1 Inter, sans-serif; text-transform: uppercase; letter-spacing: 0.05em; padding: 2px 2px 4px; }
.dsh-deal { display: block; padding: 8px; border-radius: 9px; background: #fff; box-shadow: 0 2px 6px -4px rgba(16, 16, 40, 0.3); }
.dsh-deal b { display: block; font-size: 12px; line-height: 1.3; }
.dsh-deal i { display: block; font-style: normal; font: 600 11.5px/1.3 Inter, sans-serif; color: var(--green); margin-top: 3px; }
.dsh-tile.is-in .dsh-deal.is-move { animation: dsh-nudge 3.2s 1s ease-in-out infinite; }
@keyframes dsh-nudge { 0%, 70%, 100% { transform: none; } 80% { transform: translateX(6px) rotate(1.5deg); box-shadow: 0 10px 18px -10px rgba(16, 16, 40, 0.45); } }

/* Tickets */
.dsh-viz--tickets { display: grid; gap: 8px; align-content: start; }
.dsh-ticket { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line-soft); }
.dsh-ticket b { font-size: 13px; line-height: 1.3; flex: 1; min-width: 0; }

/* Work */
.dsh-viz--work { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 12px; align-items: start; }
@media (max-width: 720px) { .dsh-viz--work { grid-template-columns: 1fr; } }
.dsh-project { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 10px; align-items: center; padding: 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line-soft); }
.dsh-project > div { grid-column: 1 / -1; }
.dsh-project b { display: block; font-size: 14px; }
.dsh-project small { display: block; font-size: 12px; margin-top: 2px; }
.dsh-progress { height: 8px; border-radius: 999px; background: #efeafd; overflow: hidden; }
.dsh-progress i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #7c3aed, #a78bfa); transition: width 1.2s 0.3s cubic-bezier(.4,0,.2,1); }
.dsh-tile.is-in .dsh-progress i { width: var(--w); }
.dsh-project em { font: 600 12.5px/1 Inter, sans-serif; font-style: normal; color: #7c3aed; }
.dsh-tasks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.dsh-tasks li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 11px; background: #fff; border: 1px solid var(--line-soft); font-size: 13px; color: var(--ink); }
.dsh-tasks li > i { width: 16px; height: 16px; border-radius: 5px; border: 2px solid #c9c9d6; flex: none; }
.dsh-tasks li.is-done { color: var(--muted); text-decoration: line-through; text-decoration-color: #c9c9d6; }
.dsh-tasks li.is-done > i { border-color: var(--green); background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 11px no-repeat; }
.dsh-tasks .dsh-pill, .dsh-tasks .dsh-avatar { margin-left: auto; }
.dsh-tasks .dsh-avatar { width: 24px; height: 24px; font-size: 10px; }

/* Insights */
.dsh-viz--insight { display: grid; gap: 10px; align-content: start; }
.dsh-kpi { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 10px; padding: 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line-soft); }
.dsh-kpi small { grid-column: 1 / -1; font-size: 12px; }
.dsh-kpi b { font: 600 26px/1 Sora, Inter, sans-serif; letter-spacing: -0.02em; }
.dsh-up { font: 600 12.5px/1 Inter, sans-serif; color: var(--green); background: var(--green-soft); padding: 5px 8px; border-radius: 999px; }
.dsh-ai { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 14px; font-size: 13px; line-height: 1.5; color: #fff; background: linear-gradient(135deg, #3a3a99, #5b4fd6); }
.dsh-ai-spark { width: 26px; height: 26px; border-radius: 8px; flex: none; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.16); color: #fff; }
.dsh-ai-spark svg { width: 16px; height: 16px; }

/* Module chips */
.dsh-chips { position: relative; display: flex; flex-wrap: wrap; gap: 8px; }
.dsh .dsh-chip {
	display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 7px; border-radius: 12px;
	border: 1px solid var(--line-soft); background: #fff; color: var(--ink); font: 600 13.5px/1 Inter, sans-serif;
	transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.dsh-chip-ico { width: 26px; height: 26px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; background: var(--lavender); color: var(--indigo); }
.dsh-chip-ico svg { width: 16px; height: 16px; }
.dsh-chip-go { color: var(--muted); transition: transform 0.2s, color 0.2s; }
.dsh .dsh-chip[href]:hover { border-color: rgba(58, 58, 153, 0.35); background: #fbfbff; color: var(--indigo); }
.dsh .dsh-chip[href]:hover .dsh-chip-go { transform: translateX(2px); color: var(--indigo); }

@media (prefers-reduced-motion: reduce) {
	.dsh-timeline li { opacity: 1 !important; transform: none !important; }
	.dsh-bars i { height: var(--h) !important; }
	.dsh-progress i { width: var(--w) !important; }
	.dsh-score .dsh-score-arc { stroke-dashoffset: 18.5 !important; }
	.dsh-swash path { stroke-dashoffset: 0 !important; }
}

/* Bento refinements */
.dsh-viz--record, .dsh-viz--tickets { display: flex; flex-direction: column; }
.dsh-viz--tickets { gap: 8px; }
.dsh-tags { flex-wrap: nowrap; }
.dsh-tags span { white-space: nowrap; }
.dsh-viz-foot {
	margin-top: auto; padding-top: 14px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px;
	border-top: 1px dashed #e1e1ec;
}
.dsh-viz--record .dsh-viz-foot { margin-top: auto; padding-top: 16px; }
.dsh-viz--record .dsh-timeline { margin-bottom: 16px; }
.dsh-viz-foot span { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dsh-viz-foot small { font-size: 11.5px; }
.dsh-viz-foot b { font: 600 14.5px/1.2 Inter, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dsh-tile--sales .dsh-chip, .dsh-tile--service .dsh-chip { font-size: 13px; }
@media (max-width: 560px) {
	.dsh-tile { padding: 20px; }
	.dsh-viz { padding: 12px; }
	.dsh-person { flex-wrap: wrap; position: relative; padding-right: 72px; }
	.dsh-person .dsh-score { position: absolute; right: 12px; top: 12px; }
	.dsh-tags { flex-wrap: wrap; }
	.dsh-camp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; }
	.dsh-viz-foot span:nth-child(2):not(:last-child) { display: none; }
	.dsh-viz-foot { grid-auto-columns: auto; }
	.dsh-bars { height: 56px; gap: 4px; }
}

/* Contact card: the score ring sits in its own column so the tags never run under it. */
.dsh-person { position: relative; padding-right: 80px; }
.dsh-person .dsh-score { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); }
.dsh .dsh-tags { flex-wrap: wrap; }

/* ---------- Modules are optional (Control Modules) ---------- */
.dsh-modctl { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px; align-items: center; margin-top: 28px; padding: 40px; border-radius: 28px; background: linear-gradient(160deg, #f4f3ff 0%, #fbfbff 55%, #fff 100%); border: 1px solid #e6e4fa; }
.dsh .dsh-modctl h3 { margin: 16px 0 0; font: 600 clamp(24px, 2.6vw, 32px)/1.2 Sora, Inter, sans-serif !important; letter-spacing: -0.02em; color: var(--ink); }
.dsh-modctl-copy p { margin: 14px 0 0; font-size: 16.5px; line-height: 1.7; }
.dsh-modctl-copy p b { color: var(--ink); }
.dsh-modctl-points { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.dsh-modctl-points li { display: flex; align-items: center; gap: 10px; margin: 0; font: 600 15px/1.3 Inter, sans-serif; color: var(--ink); }
.dsh-modctl-points svg { width: 20px; height: 20px; color: var(--green); flex: none; }
.dsh-modctl-panel { border-radius: 20px; background: #fff; border: 1px solid var(--line-soft); box-shadow: 0 30px 60px -36px rgba(42, 42, 122, 0.45); overflow: hidden; }
.dsh-modctl-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); background: #fbfbfe; }
.dsh .dsh-modctl-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; border: 1px solid #f3c7a6; background: #fff7f1; color: var(--orange); font: 600 13px/1 Inter, sans-serif; }
.dsh-modctl-btn svg { width: 16px; height: 16px; }
.dsh .dsh-modctl-count { font: 500 13px/1 Inter, sans-serif !important; color: #71717a; }
.dsh .dsh-modctl-count b { color: var(--ink); font-weight: 700; }
.dsh-modctl-list { list-style: none; margin: 0; padding: 8px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 8px; }
.dsh-modctl-list li { display: flex; align-items: center; gap: 12px; margin: 0; padding: 10px; border-radius: 12px; transition: background 0.2s, opacity 0.2s; }
.dsh-modctl-list li:hover { background: #f8f8fc; }
.dsh-modctl-ico { width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; flex: none; background: var(--lavender); color: var(--indigo); transition: background 0.2s, color 0.2s; }
.dsh-modctl-ico svg { width: 20px; height: 20px; }
.dsh-modctl-list li:not(.is-on) .dsh-modctl-ico { background: #f2f2f5; color: #a1a1aa; }
.dsh-modctl-name { flex: 1; min-width: 0; }
.dsh .dsh-modctl-name b { display: block; font: 600 14.5px/1.2 Inter, sans-serif; color: var(--ink); transition: color 0.2s; }
.dsh .dsh-modctl-name small { display: block; margin-top: 3px; font: 500 12px/1.3 Inter, sans-serif !important; color: #71717a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dsh-modctl-list li:not(.is-on) .dsh-modctl-name b { color: #a1a1aa; }
/* A plugin stylesheet on the site sets button:hover{background:inherit!important}; keep the switch colours. */
.dsh .dsh-switch { position: relative; width: 40px; height: 22px; flex: none; margin: 0; padding: 0; border: 0; border-radius: 999px; cursor: pointer; background: #d4d4dc !important; transition: background 0.25s; }
.dsh .dsh-switch[aria-checked="true"] { background: var(--indigo) !important; }
.dsh-switch i { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); transition: transform 0.25s cubic-bezier(.4,0,.2,1); }
.dsh-switch[aria-checked="true"] i { transform: translateX(18px); }
.dsh .dsh-switch:focus-visible { outline: 3px solid rgba(58, 58, 153, 0.35); outline-offset: 2px; }
.dsh .dsh-modctl-soon { display: inline-block; margin-top: 5px; padding: 4px 8px; border-radius: 999px; background: #fff1e6; color: var(--orange); font: 700 10px/1 Inter, sans-serif !important; letter-spacing: 0.05em; text-transform: uppercase; white-space: nowrap; }
.dsh-modctl-list li.is-soon .dsh-modctl-ico { background: #fff1e6; color: var(--orange); }
.dsh .dsh-modctl-list li.is-soon .dsh-modctl-name b { color: var(--ink); }
@media (max-width: 960px) { .dsh-modctl { grid-template-columns: 1fr; gap: 28px; padding: 28px; } }
@media (max-width: 560px) { .dsh-modctl { padding: 22px 16px; border-radius: 22px; } .dsh-modctl-list { grid-template-columns: 1fr; } }
