/*
 * /business-dashboards/v4: the page rebuilt around the business system demo
 * (Lee, 2026-11-13). Sits on top of dash-variants.css (its tokens, type,
 * buttons and the job and overnight scenes). Class prefix .d4-.
 * Plan: prototype-plan/sales-page-plan.md.
 */
.dv { --d4-demo: #2c5be0; --d4-hl: #d03b6b; --d4-night: #0e1d45; }

/* A faint dot grid, the texture of the system's own canvas. */
.dv { --d4-dots: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Ccircle cx='2' cy='2' r='1.1' fill='%23fff' fill-opacity='.10'/%3E%3C/svg%3E") 0 0 / 22px 22px; --d4-dots-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Ccircle cx='2' cy='2' r='1.1' fill='%23224685' fill-opacity='.14'/%3E%3C/svg%3E") 0 0 / 22px 22px; --d4-grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Cpath d='M44 0H0v44' fill='none' stroke='%23224685' stroke-opacity='.07'/%3E%3C/svg%3E") 0 0 / 44px 44px; }
/* Every section carries a texture from the system's own canvas, and the
   ones without other movement let it drift slowly (Lee: no still sections). */
@keyframes d4-texture { to { background-position: 44px 44px, 0 0; } }
.dv .dv-h2 { text-wrap: balance; }
#one-job { background: var(--d4-dots-l), #fff; animation: d4-texture 30s linear infinite; }
#ways-in { background: var(--d4-grid), #fff; animation: d4-texture 30s linear infinite; }
#questions { background: var(--d4-dots-l), var(--dv-mist); animation: d4-texture 30s linear infinite; }
.dv-faq__intro a[href^="tel:"] { white-space: nowrap; }
#ways-in.dv-band, #prototype.dv-band { padding-block: clamp(56px, 6vw, 88px); }
#build.dv-band { padding-block: clamp(48px, 5vw, 64px); }
#build .d4-head { margin-bottom: 28px; }
/* The job's later steps: dimmed by colour, not opacity, so they stay readable. */
.d4-job-steps .dv-job__step { opacity: 1 !important; }
.d4-job-steps .dv-job__step:not(.is-on) .dv-job__label, .d4-job-steps .dv-job__step:not(.is-on) .dv-job__what { color: #64748b; }
.d4-job-steps .dv-job__step:not(.is-on) .dv-job__when { color: #b4235f; }
.d4-head { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 16px 56px; align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.d4-head .dv-lede { margin: 0; }
.d4-head--light .dv-h2 { color: #fff; }
.d4-head--light .dv-lede { color: #cdd8f0; }
@media (max-width: 1000px) { .d4-head { grid-template-columns: minmax(0, 1fr); } }

/* ---------- The opening section: the explorer (Lee, 2026-11-14) ----------
   The headline, the area tabs and the whole first area fit one screen. The
   section bar (subnav.php) sits over the top 48px at 1024 and up. */
.dv.d4-top.dv-band { padding-top: clamp(26px, 3vw, 36px); padding-bottom: clamp(20px, 2.4vw, 32px); }
/* The explorer is no longer the first section (the sweep hero is), so no room for the section bar. */
.dv.d4-top.dv-band { padding-top: clamp(40px, 4vw, 56px); }
.d4-top__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; margin-bottom: 14px; }
@media (min-width: 1101px) { .d4-top__head { flex-wrap: nowrap; } .d4-top__btns { flex: none; } }
.dv .dv-h2.d4-top__h1 { font-size: clamp(1.8rem, 1rem + 1.55vw, 2.4rem); line-height: 1.08; }
.d4-top__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.d4-top__btns .dv-btn { padding-block: .7rem; }
/* The big screen is sized from the window's height as well as its width. */
.d4-top .d4-area__shot { width: min(100%, calc((100svh - 376px) * 1.6)); }
.d4-top .d4-pane { margin-top: 14px; }
.d4-top .d4-tabs { margin-top: 0; }
@media (max-height: 820px) and (min-width: 1101px) { .d4-top .d4-area__blurb { display: none; } .d4-top .d4-sec__pic { aspect-ratio: 16 / 8; } .d4-top .d4-area__go { margin-top: 8px; } .d4-top .d4-tabs__btn { min-height: 56px; padding-block: 6px; } }

/* ---------- Swap the apps for one system ---------- */
/* Dark, so the tools' logos stand out and it reads apart from the reviews above. */
/* Light since 2026-11-14, so it does not touch the dark "built your way" band above. */
.d4-swap { background: var(--d4-dots-l), radial-gradient(circle at 76% 50%, #dfe8ff 0, transparent 46%), #f7f9ff; background-color: #f7f9ff; overflow: clip; }
.d4-swap p.dv-lede { text-wrap: wrap !important; text-wrap-style: auto !important; max-width: none; }
.d4-swap__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.d4-ticks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.d4-ticks li { position: relative; padding-left: 32px; color: var(--dv-heading); font-weight: 500; }
.d4-ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 6px; background: var(--d4-demo); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat, linear-gradient(#000, #000); -webkit-mask-composite: xor; mask-composite: exclude; }
.d4-swap__stage { position: relative; aspect-ratio: 1 / 1; max-height: 640px; }
.d4-chip { position: absolute; left: var(--x); top: var(--y); width: max-content; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 8px; border-radius: 10px; background: #fff; border: 1px solid #e2e8f0; box-shadow: 0 10px 24px -14px rgba(20,42,80,.4); font-size: .875rem; font-weight: 600; color: #0f172a; white-space: nowrap; animation: d4-bob 5s ease-in-out infinite; animation-delay: var(--d); }
.d4-chip img { width: 20px; height: 20px; }
.d4-chip i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 5px; color: #fff; font-style: normal; font-size: 11px; font-weight: 800; }
@keyframes d4-bob { 50% { translate: 0 -6px; } }
.d4-swap__core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 12px; padding: 18px 26px; border-radius: 18px; background: var(--dv-ink); color: #fff; font-weight: 800; font-size: 1.15rem; box-shadow: 0 30px 60px -24px rgba(20,42,80,.7); z-index: 2; }
.d4-swap__core::before { content: ""; position: absolute; inset: -10px; border-radius: 24px; border: 2px solid rgba(44,91,224,.35); animation: d4-ring 2.6s ease-out infinite; }
@keyframes d4-ring { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
@media (max-width: 1000px) { .d4-swap__grid { grid-template-columns: minmax(0, 1fr); } .d4-swap__stage { max-width: 560px; width: 100%; margin: 0 auto; } }
@media (max-width: 600px) { .d4-chip { font-size: .8rem; padding: 5px 9px 5px 6px; } .d4-chip img, .d4-chip i { width: 16px; height: 16px; } }

/* ---------- Inside: every area (Lee, 2026-11-14) ---------- */
.d4-inside { background: var(--d4-grid), var(--dv-mist); }
.d4-inside.dv-band { padding-block: clamp(48px, 5vw, 72px); }
.d4-inside .d4-head { margin-bottom: 20px; }
.d4-inside .d4-head .dv-lede { font-size: 1.05rem; }
.d4-tabs { position: relative; display: grid; grid-template-columns: repeat(15, minmax(0, 1fr)); gap: 4px; padding: 6px; border-radius: 16px; background: var(--d4-night); }
.d4-tabs__btn { display: grid; justify-items: center; align-content: start; gap: 5px; min-height: 64px; padding: 8px 2px 9px; letter-spacing: -.01em; border: 0; border-radius: 11px; background: transparent; color: #c9d4e7; font: inherit; font-size: .875rem; font-weight: 600; line-height: 1.2; text-align: center; cursor: pointer; transition: background .2s, color .2s; }
.d4-tabs__btn .bi { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.d4-tabs__btn:hover { background: rgba(255,255,255,.08); color: #fff; }
.d4-tabs__btn.is-on { background: #2c5be0; color: #fff; }
.d4-tabs__clock { position: absolute; left: 10px; right: 10px; bottom: 2px; height: 2px; border-radius: 2px; overflow: hidden; }
.d4-tabs__clock i { display: block; height: 100%; width: 100%; background: #d03b6b; transform-origin: left; transform: scaleX(0); }
.d4-pane { margin-top: 18px; min-width: 0; }
.d4-area { display: grid; grid-template-columns: minmax(0, 7.6fr) minmax(0, 4.4fr); gap: clamp(18px, 2.4vw, 32px); align-items: start; }
.d4-area[hidden], .d4-cfg__tiles[hidden], .d4-form__done[hidden], .d4-form__err[hidden] { display: none; }
.d4-area.is-on { animation: d4-in .5s cubic-bezier(.2,.8,.2,1); }
@keyframes d4-in { from { opacity: 0; transform: translateY(12px); } }
.d4-area__shot { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--dv-shadow); }
.d4-area__pic { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.d4-area__shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: opacity .25s; }
.d4-area__shot img.is-swap { opacity: .25; }
.d4-area__bar { display: flex; align-items: center; gap: 6px; padding: 9px 14px; background: #f1f4fa; border-bottom: 1px solid #dfe5ef; font-size: .875rem; color: #0f172a; }
.d4-area__bar > i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.d4-area__bar span { margin-left: 8px; font-weight: 600; }
.d4-area__title { display: flex; align-items: center; gap: 10px; margin: 0; font-size: clamp(1.35rem, 1.1rem + .7vw, 1.75rem); line-height: 1.15; color: var(--dv-heading); letter-spacing: -.015em; }
.d4-area__title .bi { width: 30px; height: 30px; flex: none; fill: none; stroke: var(--d4-demo); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.d4-area__blurb { margin: 8px 0 0; color: var(--dv-muted); font-size: 1rem; line-height: 1.5; }
.d4-area__swap { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 10px 0 0; }
.d4-area__swap > b { font-size: .875rem; color: var(--d4-hl); }
.d4-area__swap ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.d4-rlogo { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px 5px 6px; border-radius: 9px; background: #fff; border: 1px solid #dfe5ef; font-size: .875rem; font-weight: 600; color: var(--dv-heading); }
.d4-rlogo img { width: 18px; height: 18px; }
.d4-rlogo i { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; color: #fff; font-style: normal; font-size: 9px; font-weight: 800; }
.d4-secs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; list-style: none; margin: 14px 0 0; padding: 0; }
.d4-sec { display: grid; gap: 6px; width: 100%; padding: 6px; border: 2px solid transparent; border-radius: 12px; background: #fff; font: inherit; text-align: left; cursor: pointer; box-shadow: 0 6px 16px -12px rgba(20,42,80,.5); transition: border-color .2s, transform .2s; }
.d4-sec:hover { transform: translateY(-2px); border-color: #b9c9f5; }
.d4-sec.is-on { border-color: var(--d4-demo); }
.d4-sec__pic { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 7px; background: #f1f4fa; }
/* The small pictures leave out the demo's menu, so each shows its own page. */
.d4-sec__pic img, .d4-scard__pic img { display: block; width: 122%; max-width: none; height: auto; margin-left: -22%; }
.d4-sec__name { padding: 0 4px 2px; font-size: .875rem; font-weight: 700; line-height: 1.25; color: var(--dv-heading); }
.d4-area__go { margin-top: 14px; }
@media (max-width: 1280px) { .d4-tabs { display: flex; overflow-x: auto; scrollbar-width: none; } .d4-tabs::-webkit-scrollbar { display: none; } .d4-tabs__btn { flex: 0 0 92px; } }
@media (max-width: 1100px) { .d4-area { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .d4-secs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
    .d4-tabs { display: flex; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
    .d4-tabs::-webkit-scrollbar { display: none; }
    .d4-tabs__btn { flex: 0 0 92px; scroll-snap-align: start; }
}

/* ---------- Specialist modules (Lee, 2026-11-14) ---------- */
.d4-spec { background: var(--d4-dots-l), linear-gradient(180deg, #f3effc, #ece7fb); background-color: #f0ebfc; animation: d4-texture 30s linear infinite; }
.d4-spec__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.d4-scard { position: relative; display: grid; height: 100%; grid-template-rows: auto auto auto 1fr auto; padding: 10px 10px 16px; border-radius: 16px; background: #fff; color: var(--dv-heading) !important; text-decoration: none !important; box-shadow: 0 14px 30px -22px rgba(60,30,120,.55); transition: transform .25s, box-shadow .25s; }
.d4-scard:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -24px rgba(60,30,120,.6); }
.d4-scard__pic { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 10px; background: #f1f4fa; }
.d4-scard__pic img { transition: transform .6s; transform-origin: top right; }
.d4-scard:hover .d4-scard__pic img { transform: scale(1.06); }
.d4-scard__ico { display: grid; place-items: center; width: 52px; height: 52px; margin: -26px 0 0 12px; position: relative; border-radius: 14px; background: linear-gradient(135deg, #6a3fd0, #2c5be0); box-shadow: 0 10px 20px -10px rgba(60,30,120,.7); }
.d4-scard__ico .bi { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.d4-scard__name { margin: 10px 8px 0; font-size: 1.1rem; font-weight: 800; line-height: 1.2; }
.d4-scard__line { margin: 6px 8px 0; color: var(--dv-muted); font-size: .95rem; line-height: 1.45; }
.d4-scard__go { margin: 12px 8px 0; font-weight: 700; color: #6a3fd0; font-size: .95rem; }
.d4-scard__go::after { content: " \2197"; }
@media (max-width: 1100px) { .d4-spec__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px) { .d4-spec__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .d4-spec__grid { gap: 10px; } .d4-scard { padding: 6px 6px 12px; } .d4-scard__ico { width: 40px; height: 40px; margin: -20px 0 0 8px; } .d4-scard__ico .bi { width: 22px; height: 22px; } .d4-scard__name { margin: 8px 4px 0; font-size: 1rem; } .d4-scard__line { margin: 4px 4px 0; font-size: .875rem; } .d4-scard__go { margin: 8px 4px 0; font-size: .875rem; } }

/* The lifecycle's laptop shows the whole app window and holds still (Lee, 2026-11-14). */
.d4-laptop .dv-laptop__shot, .d4-laptop .dv-laptop__shot.is-on { object-fit: cover; object-position: top left; animation: none; }
.d4-life [data-job-stamp], .d4-life .dv-stamp { display: none !important; }
.d4-life .dv-job__head .dv-h2 { font-size: clamp(1.8rem, 1.2rem + 1.5vw, 2.6rem); }
.d4-life .dv-job__shot img { object-position: top left; }

/* ---------- Connects ---------- */
/* Dark since 2026-11-14: the logos sit on white cards on the night blue. */
.d4-connect { background: var(--d4-dots), radial-gradient(circle at 12% 0%, rgba(44,91,224,.4) 0, transparent 40%), var(--d4-night); background-color: #0e1d45; animation: d4-texture 30s linear infinite; }
.d4-connect .dv-h2 { color: #fff; } .d4-connect .dv-lede { color: #cdd8f0; }
.d4-connect__group { border-color: transparent; }
.d4-connect__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.d4-connect__group { padding: 22px 24px; border-radius: 16px; background: #fff; border: 1px solid #dfe5ef; box-shadow: var(--dv-shadow); }
.d4-connect__group--wide { grid-column: 1 / -1; }
.d4-connect__group h3 { margin: 0 0 14px; font-size: 1.15rem; color: var(--dv-heading); }
.d4-connect__group ul { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.d4-logo { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px 9px 10px; border-radius: 12px; background: #f7f9fc; border: 1px solid #e2e8f0; font-weight: 600; color: var(--dv-heading); transition: transform .2s, box-shadow .2s; }
.d4-logo:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -14px rgba(20,42,80,.45); }
.d4-logo img { width: 24px; height: 24px; }
.d4-logo i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; color: #fff; font-style: normal; font-size: 10px; font-weight: 800; }
.d4-logo--more { background: transparent; border-style: dashed; color: var(--dv-muted); font-weight: 500; }
@media (max-width: 800px) { .d4-connect__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Configurator ---------- */
.d4-cfg { background: var(--d4-dots), linear-gradient(160deg, #13265a 0%, #1c3a85 55%, #2a2f86 100%); color: #dbe4f7; overflow: clip; animation: d4-texture 30s linear infinite; }
.d4-cfg__bg { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 85% 10%, rgba(208,59,107,.28), transparent 38%), radial-gradient(circle at 5% 90%, rgba(44,91,224,.4), transparent 45%); }
.d4-cfg .dv-wrap { position: relative; }
.d4-cfg__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(20px, 3vw, 40px); align-items: start; }
.d4-cfg__tabs { display: inline-flex; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.08); margin-bottom: 18px; }
.d4-cfg__tabs button { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: #dbe4f7; font: inherit; font-weight: 700; cursor: pointer; }
.d4-cfg__tabs button.is-on { background: #fff; color: var(--d4-night); }
.d4-cfg__tabs span { min-width: 26px; padding: 1px 8px; border-radius: 999px; background: rgba(255,255,255,.16); font-size: .82rem; }
.d4-cfg__tabs button.is-on span { background: var(--d4-demo); color: #fff; }
.d4-cfg__stack { display: grid; }
.d4-cfg__stack > .d4-cfg__tiles { grid-area: 1 / 1; align-content: start; }
.d4-cfg__tiles.is-off { visibility: hidden; }
.d4-cfg__tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.d4-tile { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr) 40px; grid-template-rows: auto auto; column-gap: 12px; align-items: center; min-height: 64px; padding: 10px 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(255,255,255,.05); color: #fff; font: inherit; text-align: left; cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
.d4-tile:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.4); }
.d4-tile.is-on { background: #fff; border-color: #fff; color: var(--d4-night); }
.d4-tile__ico { grid-row: 1 / 3; display: grid; place-items: center; }
.d4-tile__ico .bi { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.d4-tile.is-on .d4-tile__ico { color: var(--d4-demo); }
.d4-tile__name { font-weight: 700; line-height: 1.25; }
.d4-tile__n { grid-column: 2; font-size: .875rem; color: #b9c7e6; }
.d4-tile.is-on .d4-tile__n { color: #475569; }
.d4-tile__sw { grid-column: 3; grid-row: 1 / 3; width: 40px; height: 24px; border-radius: 999px; background: rgba(255,255,255,.22); position: relative; transition: background .2s; }
.d4-tile__sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .25s cubic-bezier(.3,1.4,.5,1); }
.d4-tile.is-on .d4-tile__sw { background: var(--d4-demo); }
.d4-tile.is-on .d4-tile__sw::after { transform: translateX(16px); }
.d4-tile.is-part .d4-tile__sw { background: #93b0f5; }
.d4-cfg__note { margin: 16px 0 0; font-size: .95rem; color: #b9c7e6; }
.d4-sum { position: sticky; top: calc(var(--dv-head, 80px) + 16px); padding: 18px 20px; border-radius: 18px; background: #fff; color: var(--dv-text); box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.d4-sum__n { display: flex; align-items: baseline; gap: 10px; margin: 0; color: var(--dv-muted); }
.d4-sum__n b { font-size: 2.2rem; line-height: 1; color: var(--dv-heading); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.d4-sum__pay { display: grid; gap: 2px; margin-top: 12px; padding: 14px; border-radius: 14px; background: #eaf0ff; }
.d4-sum__k { font-size: .88rem; color: var(--dv-muted); }
.d4-sum__monthly { font-size: 1.6rem; line-height: 1.15; color: var(--d4-demo); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.d4-sum__stop { margin-top: 6px; font-weight: 700; color: var(--dv-heading); font-size: .95rem; }
.d4-sum__terms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 10px; padding: 4px; border-radius: 999px; background: #fff; }
.d4-sum__terms button { min-height: 44px; border: 0; border-radius: 999px; background: transparent; color: var(--d4-demo); font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer; }
.d4-sum__terms button[aria-pressed="true"] { background: var(--d4-demo); color: #fff; }
.d4-sum__total { display: grid; margin: 10px 0 0; }
.d4-sum__total span { font-size: .88rem; color: var(--dv-muted); }
.d4-sum__total b { font-size: 1.2rem; color: var(--dv-heading); font-variant-numeric: tabular-nums; }
.d4-sum__small { margin: 8px 0 0; font-size: .875rem; color: var(--dv-muted); line-height: 1.5; }
.d4-cfg__swap { margin-top: 18px; padding: 14px 18px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.d4-cfg__swap > span { font-size: .9rem; font-weight: 700; color: #ffb3c9; }
.d4-cfg__swap ul { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.d4-cfg__swap li { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px 5px 7px; border-radius: 9px; background: #fff; font-size: .875rem; font-weight: 600; color: var(--dv-heading); }
.d4-cfg__swap li img { width: 18px; height: 18px; }
.d4-cfg__swap li i { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; color: #fff; font-style: normal; font-size: 9px; font-weight: 800; }
.d4-cfg__swap li.is-more { background: transparent; border: 1px dashed rgba(255,255,255,.35); color: rgba(255,255,255,.85); font-weight: 500; padding: 5px 11px; }
.d4-sum__ctas { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 12px; }
.d4-sum__ctas > .dv-btn { justify-content: center; width: 100%; min-width: 0; white-space: normal !important; text-align: center; padding-inline: 1rem; font-size: .98rem; }
.d4-sum .dv-btn--light { color: var(--d4-demo) !important; border-color: var(--d4-demo); background: #fff; }
.d4-talk { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.d4-btn-call, .d4-btn-wa { justify-content: center; color: #fff !important; border-color: transparent !important; white-space: nowrap; font-size: .95rem; padding-inline: .9rem; }
.d4-btn-call { background: #006300; }
.d4-btn-call::before { content: ""; width: 16px; height: 16px; margin-right: 8px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E") center / contain no-repeat; }
.d4-btn-wa { background: #117a43; }
.d4-btn-wa::before { content: ""; width: 16px; height: 16px; margin-right: 8px; background: url("/assets/img/software/whatsapp-white.svg") center / contain no-repeat; }
.d4-btn-call:hover { background: #004f00; } .d4-btn-wa:hover { background: #0d6537; }
@media (max-width: 1200px) { .d4-cfg__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1000px) { .d4-cfg__grid { grid-template-columns: minmax(0, 1fr); } .d4-sum { position: static; } }
@media (max-width: 560px) { .d4-talk { grid-template-columns: minmax(0, 1fr); } .d4-cfg__tiles { grid-template-columns: minmax(0, 1fr); } .d4-cfg__tabs { display: flex; } .d4-cfg__tabs button { flex: 1; padding: 0 10px; font-size: .9rem; } }

/* ---------- The request ---------- */
.d4-req { background: var(--d4-dots-l), linear-gradient(180deg, #e6edff, #f1f5ff); background-color: #e9eefc; animation: d4-texture 30s linear infinite; }
.d4-req__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.d4-req__sys { margin-top: 26px; padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid #dbe3f3; }
.d4-req__k { margin: 0; font-size: .85rem; font-weight: 700; color: var(--d4-hl); }
.d4-req__line { margin: 6px 0 0; font-weight: 600; color: var(--dv-heading); }
.d4-req__price { margin: 4px 0 6px; color: var(--dv-muted); }
.d4-talk--req { grid-template-columns: auto auto auto; justify-content: start; align-items: center; margin-top: 22px; }
.d4-talk--req > span { font-weight: 600; color: var(--dv-heading); margin-right: 6px; }
.d4-form { display: grid; gap: 14px; padding: clamp(22px, 3vw, 32px); border-radius: 20px; background: #fff; box-shadow: 0 40px 80px -48px rgba(20,42,80,.55); border: 1px solid #dfe5ef; }
.d4-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.d4-field { display: grid; gap: 6px; font-weight: 600; color: var(--dv-heading); font-size: .95rem; }
.d4-field small { font-weight: 400; color: var(--dv-muted); }
.d4-field input, .d4-field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid #cdd6e6; border-radius: 12px; background: #fbfcfe; font: inherit; font-weight: 400; color: var(--dv-heading); }
.d4-field input:focus, .d4-field textarea:focus { outline: 3px solid rgba(44,91,224,.25); border-color: var(--d4-demo); }
.d4-form__go { justify-content: center; width: 100%; }
.d4-form__small { margin: 0; font-size: .86rem; color: var(--dv-muted); }
.d4-form__err { margin: 0; padding: 10px 14px; border-radius: 12px; background: #fbe9e9; color: #a12a2a; font-size: .95rem; }
.d4-form__done { padding: 18px; border-radius: 14px; background: #e8f6ec; border: 1px solid #b6e0c2; }
.d4-form__done h3 { margin: 0; color: #0f5132; font-size: 1.2rem; }
.d4-form__done p { margin: 6px 0 0; color: #1f4d33; }
.d4-form.is-sent > :not(.d4-form__done) { display: none; }
form.d4-form[hidden] { display: none; }
@media (max-width: 1000px) { .d4-req__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .d4-form__row { grid-template-columns: minmax(0, 1fr); } .d4-talk--req { grid-template-columns: 1fr 1fr; } .d4-talk--req > span { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
    .d4-glow, .d4-chip, .d4-swap__core::before, #one-job, #ways-in, #questions, .d4-connect, .d4-cfg, .d4-req, .d4-spec, .d4-slide.is-on > * { animation: none; }
    .d4-show__wipe { display: none; }
}
/* The timeline line runs behind the step markers. */
.d4-job-steps::before { z-index: 0; }
.d4-job-steps .dv-job__step { z-index: 1; }

/* Buttons in the explorer and the slides are full tap size on phones. */
.d4-area__go, .d4-slide__try { min-height: 44px; }
/* Short laptop screens: the small print under the buttons gives way so the module strip stays on the first screen. */
@media (min-width: 1101px) and (max-height: 780px) { .d4-hero__proof { display: none; } .d4-hero__go { margin-top: 14px; padding-top: 14px; } .d4-show__copy { padding-top: 0; } .dv .d4-slide__h { margin-top: 10px; } }

/* ---------- Made to fit your business (Lee, 2026-11-14) ---------- */
.d4-cust { background: var(--d4-dots), radial-gradient(circle at 80% 30%, rgba(208,59,107,.35), transparent 45%), radial-gradient(circle at 10% 90%, rgba(106,63,208,.4), transparent 45%), #1d1240; background-color: #1d1240; color: #e4dcf7; overflow: clip; }
.d4-cust .dv-h2 { color: #fff; }
.d4-cust .dv-lede { color: #d6cdee; }
.d4-cust__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.d4-cust__pts { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; }
.d4-cust__pts li { position: relative; display: grid; gap: 2px; padding-left: 34px; }
.d4-cust__pts li::before { content: ""; position: absolute; left: 0; top: .15em; width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(135deg, #d03b6b, #6a3fd0); }
.d4-cust__pts li::after { content: ""; position: absolute; left: 6px; top: calc(.15em + 5px); width: 10px; height: 6px; border: solid #fff; border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg); }
.d4-cust__pts b { color: #fff; font-size: 1.05rem; }
.d4-cust__pts span { color: #cfc4ea; font-size: .95rem; line-height: 1.45; }
.d4-cust__stage { position: relative; padding: 8px 0; }
.d4-rec { border-radius: 16px; background: #fff; color: #0f172a; box-shadow: 0 40px 80px -40px rgba(0,0,0,.7); overflow: hidden; }
.d4-rec__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f1f4fa; border-bottom: 1px solid #dfe5ef; font-size: .875rem; }
.d4-rec__bar > i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.d4-rec__bar span { margin-left: 8px; font-weight: 700; }
.d4-rec__edit { margin-left: auto; padding: 3px 10px; border-radius: 999px; background: #f6e6ff; color: #6a3fd0; font-size: .875rem; }
.d4-rec__body { padding: 18px 20px 20px; }
.d4-rec__who { display: flex; align-items: center; gap: 12px; }
.d4-rec__who b { display: block; font-size: 1.1rem; }
.d4-rec__who small { color: #64748b; font-size: .875rem; }
.d4-rec__av { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #e9eefc; color: #2c5be0; font-weight: 800; }
.d4-rec__fields { margin: 14px 0 0; display: grid; }
.d4-f { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; align-items: center; padding: 0 10px; border-radius: 8px; overflow: hidden; max-height: 46px; border-bottom: 1px solid #eef1f6; }
.d4-f dt { color: #64748b; font-size: .875rem; padding: 11px 0; }
.d4-f dd { margin: 0; font-weight: 600; font-size: .95rem; }
.d4-rec__auto { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: #f6f7fb; font-weight: 600; font-size: .95rem; }
.d4-sw { position: relative; flex: none; width: 42px; height: 24px; border-radius: 999px; background: #cbd5e1; }
.d4-sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.d4-newmod { position: relative; margin: 16px 0 0; display: grid; grid-template-columns: 46px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 14px 18px; border-radius: 14px; background: #fff; color: #0f172a; border: 2px dashed #b9a6f0; box-shadow: 0 24px 50px -28px rgba(0,0,0,.7); }
.d4-newmod__ico { grid-row: 1 / 3; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, #6a3fd0, #2c5be0); }
.d4-newmod__ico .bi { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.d4-newmod__txt b { display: block; font-size: 1rem; }
.d4-newmod__txt small { color: #64748b; font-size: .875rem; }
.d4-newmod__bar { grid-column: 2; height: 6px; margin-top: 8px; border-radius: 999px; background: #ece7fb; overflow: hidden; }
.d4-newmod__bar i { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, #d03b6b, #6a3fd0); transform-origin: left; }
.d4-cust__tag { position: absolute; padding: 6px 12px; border-radius: 999px; font-size: .875rem; font-weight: 700; color: #fff; box-shadow: 0 10px 22px -10px rgba(0,0,0,.6); opacity: 0; }
.d4-cust__tag--a { right: -12px; top: 44%; background: #16a34a; }
.d4-cust__tag--b { right: -12px; top: 34%; background: #d03b6b; }
.d4-cust__tag--c { right: -12px; top: 58%; background: #2c5be0; }

/* The loop, 14 seconds: the fax field goes, two fields arrive, the
   automation switches on and the new module builds; then it starts again. */
.d4-f--in { max-height: 0; opacity: 0; border-bottom-color: transparent; animation: d4-fin 14s ease-in-out infinite; }
.d4-f--b { animation-delay: .9s; }
.d4-f--out { animation: d4-fout 14s ease-in-out infinite; }
.d4-sw { animation: d4-swbg 14s ease-in-out infinite; }
.d4-sw::after { animation: d4-swknob 14s ease-in-out infinite; }
.d4-newmod { animation: d4-mod 14s ease-in-out infinite; }
.d4-newmod__bar i { animation: d4-modbar 14s ease-in-out infinite; }
.d4-cust__tag--b { animation: d4-tag 14s ease-in-out infinite; animation-delay: 1.4s; }
.d4-cust__tag--a { animation: d4-tag 14s ease-in-out infinite; animation-delay: 3.6s; }
.d4-cust__tag--c { animation: d4-tag 14s ease-in-out infinite; animation-delay: 6.4s; }
@keyframes d4-fout { 0%, 10% { max-height: 46px; opacity: 1; background: transparent; } 14%, 20% { max-height: 46px; opacity: 1; background: #fde7ee; text-decoration: line-through; } 26%, 94% { max-height: 0; opacity: 0; } 100% { max-height: 46px; opacity: 1; } }
@keyframes d4-fin { 0%, 26% { max-height: 0; opacity: 0; } 32% { max-height: 46px; opacity: 1; background: #e3f6e9; } 44%, 92% { max-height: 46px; opacity: 1; background: transparent; border-bottom-color: #eef1f6; } 100% { max-height: 0; opacity: 0; } }
@keyframes d4-swbg { 0%, 46% { background: #cbd5e1; } 50%, 94% { background: #2c5be0; } 100% { background: #cbd5e1; } }
@keyframes d4-swknob { 0%, 46% { transform: none; } 50%, 94% { transform: translateX(18px); } 100% { transform: none; } }
@keyframes d4-mod { 0%, 56% { border-style: dashed; border-color: #b9a6f0; transform: translateY(8px); opacity: .55; } 60% { opacity: 1; transform: none; } 80%, 94% { border-style: solid; border-color: #6a3fd0; opacity: 1; transform: none; } 100% { border-style: dashed; opacity: .55; transform: translateY(8px); } }
@keyframes d4-modbar { 0%, 58% { transform: scaleX(0); } 80%, 94% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes d4-tag { 0% { opacity: 0; transform: translateY(6px) scale(.9); } 3%, 14% { opacity: 1; transform: none; } 18%, 100% { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 1000px) { .d4-cust__grid { grid-template-columns: minmax(0, 1fr); } .d4-cust__stage { max-width: 560px; width: 100%; margin: 0 auto; } }
@media (max-width: 600px) { .d4-cust__pts { grid-template-columns: minmax(0, 1fr); } .d4-f { grid-template-columns: 110px minmax(0, 1fr); } .d4-cust__tag { right: 0 !important; } }
@media (prefers-reduced-motion: reduce) {
    .d4-f--in, .d4-f--out, .d4-sw, .d4-sw::after, .d4-newmod, .d4-newmod__bar i, .d4-cust__tag { animation: none; }
    .d4-f--out { max-height: 0; opacity: 0; }
    .d4-f--in { max-height: 46px; opacity: 1; border-bottom-color: #eef1f6; }
    .d4-sw { background: #2c5be0; } .d4-sw::after { transform: translateX(18px); }
    .d4-newmod { border-style: solid; border-color: #6a3fd0; }
}

/* The section pictures in "What's inside": names one line where they fit,
   and every card the same height whichever way they wrap (Lee, 2026-11-14). */
.d4-sec { grid-template-rows: auto 1fr; height: 100%; }
.d4-secs > li { display: flex; }
.d4-sec__name { display: flex; align-items: center; min-height: calc(2 * 1.2em + 4px); line-height: 1.2; letter-spacing: -.01em; }
