/* ================= Scroll-built walkthrough (same recipe as the homepage) ================= */
.dp-head { position: absolute; z-index: 40; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 16px clamp(16px, 4vw, 40px); pointer-events: none; }
.dp-head > * { pointer-events: auto; }
.dp-head .brand { color: #f6f2e4; }
.dp-head a.dp-signin { padding: 10px 18px; border: 1px solid var(--dp-line); border-radius: 999px; background: rgba(10, 10, 14, 0.7); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: #f6f2e4; font-size: 0.82rem; font-weight: 800; text-decoration: none; }

.dp-scene {
  position: relative;
  height: 470vh;
  --p: 0;
  --open: clamp(0, calc(var(--p) * 8), 1);
  --s1: clamp(0, calc((var(--p) - 0.10) * 7), 1);   /* workspace builds */
  --s2: clamp(0, calc((var(--p) - 0.22) * 7), 1);   /* invoices fill in */
  --s3: clamp(0, calc((var(--p) - 0.40) * 7), 1);   /* the new-invoice form */
  --s4: clamp(0, calc((var(--p) - 0.56) * 7), 1);   /* sent: link goes to the customer */
  --s5: clamp(0, calc((var(--p) - 0.72) * 7), 1);   /* paid */
}
.dp-pin { position: sticky; top: 0; height: 100svh; min-height: 640px; overflow: visible; }
.dp-pin::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 12% 20%, rgba(255, 69, 216, 0.16), transparent 26%), radial-gradient(circle at 88% 18%, rgba(117, 241, 231, 0.13), transparent 26%), radial-gradient(circle at 68% 90%, rgba(255, 227, 63, 0.11), transparent 30%); }
.dp-inner { position: relative; z-index: 1; width: min(100% - 48px, 1240px); height: 100%; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); grid-template-areas: "copy stage"; gap: clamp(28px, 4vw, 60px); align-items: center; padding: 96px 0 70px; }
.dp-copy { grid-area: copy; }
.dp-stage { grid-area: stage; position: relative; perspective: 1500px; min-height: clamp(380px, 60vh, 560px); display: grid; place-items: center; }

.dp-caps { display: grid; align-items: center; }
.dp-cap { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transform: translateY(26px); transition: opacity 520ms ease, transform 700ms var(--dp-ease), visibility 0s 520ms; }
.dp-cap.on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dp-cap.past { opacity: 0; visibility: hidden; transform: translateY(-22px); }
.dp-cap.hero { opacity: 1; visibility: visible; transform: none; }
.dp-cap.hero.past { opacity: 0; visibility: hidden; transform: translateY(-22px); }
.dp-cap > strong { display: block; font-size: clamp(2.3rem, 4.4vw, 4.2rem); line-height: 0.96; letter-spacing: -0.045em; white-space: nowrap; background: linear-gradient(100deg, #fffaf0 40%, var(--dp-yellow)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dp-cap > span { display: block; margin-top: 14px; max-width: 30ch; color: rgba(246, 242, 228, 0.72); font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.4; }
.dp-eyebrow { display: inline-block; margin: 0 0 18px; color: var(--dp-yellow); font-size: 0.78rem; font-weight: 1000; letter-spacing: 0.08em; text-transform: uppercase; }
.dp-cap.hero h1 { margin: 0 0 18px; color: var(--dp-yellow); font-size: clamp(2.5rem, 4.7vw, 4.7rem); line-height: 0.95; font-weight: 1000; text-shadow: 5px 5px 0 rgba(255, 69, 216, 0.5); text-wrap: balance; }
.dp-cap.hero p.lede { max-width: 500px; margin: 0 0 22px; color: rgba(246, 242, 228, 0.82); font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.6; }
.dp-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.dp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border: 1px solid var(--dp-line); border-radius: 999px; background: rgba(255, 255, 255, 0.06); color: #f6f2e4; font-weight: 900; text-decoration: none; }
.dp-btn.go { border: 0; background: linear-gradient(90deg, var(--dp-yellow), #ff7a2f 62%, var(--dp-pink)); color: #101010; box-shadow: 0 10px 28px rgba(255, 122, 47, 0.28); }
.dp-fine { margin: 14px 0 0; color: rgba(246, 242, 228, 0.45); font-size: 0.78rem; font-weight: 700; }
.dp-steps { display: flex; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.dp-steps li { width: 26px; height: 5px; border-radius: 4px; background: rgba(255, 244, 223, 0.18); transition: background 300ms ease, width 400ms var(--dp-ease); }
.dp-steps li.done { background: rgba(255, 244, 223, 0.55); }
.dp-steps li.now { width: 54px; background: linear-gradient(90deg, var(--dp-yellow), var(--dp-pink)); }

/* laptop */
.dp-laptop { position: relative; width: 100%; transform-style: preserve-3d; transform: rotateX(calc((1 - var(--open)) * 34deg)) translateY(calc((1 - var(--open)) * 24px)) scale(calc(0.86 + var(--open) * 0.14)); }
.dp-lid { position: relative; transform-origin: 50% 100%; border: 1px solid rgba(255, 244, 223, 0.2); border-radius: 16px 16px 4px 4px; background: linear-gradient(160deg, #23232a, #0c0c10); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 50px 120px rgba(0, 0, 0, 0.65); overflow: hidden; transform: rotateX(calc((1 - var(--open)) * -86deg + (4deg - var(--s5) * 4deg) * var(--open))) rotateY(calc((-6deg + var(--s5) * 6deg) * var(--open))); transform-style: preserve-3d; }
.dp-lid > *:not(.dp-logo) { opacity: clamp(0, calc((var(--open) - 0.55) * 3), 1); }
.dp-logo { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; opacity: clamp(0, calc(1 - var(--open) * 2.4), 1); }
.dp-logo span { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--dp-yellow); color: #101010; font-size: 1.7rem; font-weight: 1000; box-shadow: 6px 6px 0 var(--dp-pink), -6px -6px 0 var(--dp-teal), 0 0 60px rgba(255, 227, 63, 0.25); }
.dp-base { position: relative; height: 14px; margin: 0 -5%; border-radius: 0 0 22px 22px; background: linear-gradient(#34343c, #121216); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.dp-base i { position: absolute; left: 50%; top: 0; width: 18%; height: 5px; transform: translateX(-50%); border-radius: 0 0 8px 8px; background: #08080b; }
.dp-bar { display: flex; align-items: center; gap: 8px; padding: 11px 15px; border-bottom: 1px solid rgba(255, 244, 223, 0.12); }
.dp-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 244, 223, 0.25); }
.dp-url { margin-left: 10px; flex: 1; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); color: rgba(246, 242, 228, 0.7); font-size: 0.74rem; font-weight: 700; white-space: nowrap; overflow: hidden; }

/* the dashboard inside the laptop screen */
.dp-dash { position: relative; display: grid; grid-template-columns: 5.2em 1fr; font-size: clamp(0.56rem, 0.86vw, 0.76rem); min-height: 20em; }
.dd-side { display: grid; align-content: start; gap: 0.7em; padding: 1.1em 0.8em; border-right: 1px solid rgba(255, 244, 223, 0.1); opacity: var(--s1); transform: translateX(calc((1 - var(--s1)) * -14px)); }
.dd-side b { display: grid; place-items: center; width: 2.4em; height: 2.4em; margin-bottom: 0.4em; border-radius: 50%; background: var(--dp-yellow); color: #101010; font-size: 0.9em; }
.dd-side span { height: 1.6em; border-radius: 0.5em; background: rgba(255, 255, 255, 0.07); }
.dd-side span:nth-child(2) { background: rgba(255, 227, 63, 0.22); }
.dd-main { display: grid; align-content: start; gap: 0.9em; padding: 1.1em 1.2em; }
.dd-top { display: flex; align-items: center; justify-content: space-between; opacity: var(--s1); }
.dd-top strong { font-size: 1.25em; letter-spacing: -0.02em; }
.dd-new { padding: 0.5em 1em; border-radius: 999px; background: linear-gradient(90deg, var(--dp-yellow), #ff7a2f, var(--dp-pink)); color: #101010; font-weight: 900; font-size: 0.85em; }
.dd-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.7em; }
.dd-metrics div { padding: 0.8em; border: 1px solid rgba(255, 244, 223, 0.12); border-radius: 0.9em; background: rgba(255, 255, 255, 0.04); opacity: var(--s1); transform: translateY(calc((1 - var(--s1)) * 14px)); }
.dd-metrics small { display: block; color: rgba(246, 242, 228, 0.5); font-size: 0.78em; font-weight: 700; }
.dd-metrics b { display: block; margin-top: 0.4em; font-size: 1.45em; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.dd-metrics .ach { background: linear-gradient(135deg, rgba(255, 227, 63, 0.18), rgba(255, 69, 216, 0.08)); }
.dd-table { border: 1px solid rgba(255, 244, 223, 0.12); border-radius: 0.9em; overflow: hidden; background: rgba(255, 255, 255, 0.03); opacity: var(--s2); }
.dd-row { display: grid; grid-template-columns: 1fr 1.3fr 0.8fr 0.8fr; align-items: center; gap: 0.6em; padding: 0.7em 0.9em; border-bottom: 1px solid rgba(255, 244, 223, 0.07); font-weight: 700; color: rgba(246, 242, 228, 0.7); }
.dd-row:last-child { border-bottom: 0; }
.dd-row.h { color: rgba(246, 242, 228, 0.4); font-size: 0.75em; text-transform: uppercase; letter-spacing: 0.06em; }
.dd-row strong { color: #f6f2e4; }
.dd-row.r { --k: clamp(0, calc((var(--p) - var(--t, 0.24)) * 12), 1); opacity: var(--k); transform: translateX(calc((1 - var(--k)) * -14px)); }
.dd-row.new { max-height: calc(var(--s4) * 3.2em); padding-top: calc(var(--s4) * 0.7em); padding-bottom: calc(var(--s4) * 0.7em); overflow: hidden; opacity: var(--s4); border-bottom-width: calc(var(--s4) * 1px); }
.pill { position: relative; display: inline-grid; justify-self: start; }
.pill i { grid-area: 1 / 1; padding: 0.15em 0.6em; border-radius: 999px; font-style: normal; font-size: 0.8em; font-weight: 900; text-transform: uppercase; }
.pill .paid { background: rgba(168, 255, 159, 0.16); color: var(--dp-mint); }
.pill .open { background: rgba(255, 227, 63, 0.16); color: var(--dp-yellow); }
.dd-row.new .pill .open { opacity: calc(1 - var(--s5)); }
.dd-row.new .pill .paid { opacity: var(--s5); }
.dd-row .amt { text-align: right; }

.dd-form { position: absolute; left: 50%; top: 50%; width: min(68%, 22em); padding: 1.2em 1.3em; border: 1px solid rgba(255, 244, 223, 0.2); border-radius: 1.2em; background: rgba(14, 14, 18, 0.97); box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7); opacity: calc(var(--s3) * (1 - var(--s4) * 1.6)); transform: translate(-50%, calc(-50% + (1 - var(--s3)) * 30px)) scale(calc(0.94 + var(--s3) * 0.06)); pointer-events: none; }
.dd-form small { color: rgba(246, 242, 228, 0.5); font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.7em; }
.dd-form strong { display: block; margin: 0.2em 0 0.9em; font-size: 1.15em; }
.ff { display: grid; gap: 0.3em; margin-bottom: 0.7em; color: rgba(246, 242, 228, 0.55); font-size: 0.78em; font-weight: 800; }
.ff .tp { min-height: 2.3em; padding: 0.6em 0.9em; border: 1px solid rgba(255, 244, 223, 0.16); border-radius: 0.8em; background: rgba(255, 255, 255, 0.05); color: #f6f2e4; font-size: 1.05em; font-weight: 700; }
.ff .tp span { display: inline-block; clip-path: inset(0 calc((1 - var(--k2, 0)) * 100%) 0 0); }
.ff.f1 { --k2: clamp(0, calc((var(--p) - 0.42) * 14), 1); }
.ff.f2 { --k2: clamp(0, calc((var(--p) - 0.48) * 14), 1); }
.dd-form button { width: 100%; margin-top: 0.4em; padding: 0.8em; border: 0; border-radius: 999px; background: linear-gradient(90deg, var(--dp-yellow), #ff7a2f, var(--dp-pink)); color: #101010; font-weight: 900; transform: scale(calc(1 - clamp(0, calc((var(--p) - 0.54) * 30), 1) * 0.05)); }

/* phone: text with the pay link, then the bank payment */
.dp-phone { position: absolute; right: -2%; bottom: 4%; width: clamp(120px, 15vw, 168px); aspect-ratio: 9 / 18.5; padding: 12px 10px; border-radius: 26px; border: 2px solid rgba(255, 244, 223, 0.32); background: linear-gradient(170deg, #17171d, #08080b); box-shadow: 0 40px 90px rgba(0, 0, 0, 0.7); overflow: hidden; opacity: var(--s4); transform: translate3d(calc((1 - var(--s4)) * 80px), calc((1 - var(--s4)) * 40px), 70px) rotate(calc(7deg - var(--s4) * 7deg)); }
.dp-phone .notch { width: 34%; height: 8px; margin: 0 auto 12px; border-radius: 6px; background: #000; }
.dp-phone .sms { position: absolute; inset: 34px 10px auto; padding: 10px; border-radius: 14px; background: rgba(255, 255, 255, 0.1); font-size: 0.68rem; line-height: 1.35; opacity: calc(var(--s4) * (1 - var(--s5))); }
.dp-phone .sms small { display: block; color: var(--dp-teal); font-weight: 900; margin-bottom: 4px; }
.dp-phone .sms u { text-decoration: none; color: #6ab3ff; font-weight: 900; }
.dp-phone .pay { position: absolute; inset: 34px 10px 12px; display: grid; align-content: start; gap: 8px; opacity: var(--s5); transform: translateY(calc((1 - var(--s5)) * 22px)); }
.dp-phone .pay small { color: rgba(246, 242, 228, 0.6); font-size: 0.64rem; font-weight: 800; }
.dp-phone .pay b { font-size: 1.2rem; letter-spacing: -0.03em; }
.dp-phone .bank { padding: 8px; border: 1px solid rgba(255, 244, 223, 0.22); border-radius: 10px; font-size: 0.64rem; font-weight: 800; }
.dp-phone .ok { display: grid; place-items: center; width: 40px; height: 40px; margin: 6px auto 0; border-radius: 50%; background: #1f9d55; color: #fff; font-weight: 1000; font-size: 1.2rem; opacity: clamp(0, calc((var(--p) - 0.84) * 14), 1); transform: scale(calc(0.3 + clamp(0, calc((var(--p) - 0.84) * 14), 1) * 0.7)); }
.dp-note { position: absolute; left: 50%; bottom: -10px; display: grid; gap: 2px; padding: 12px 18px; border: 1px solid rgba(168, 255, 159, 0.4); border-radius: 14px; background: rgba(10, 10, 14, 0.94); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55); white-space: nowrap; opacity: clamp(0, calc((var(--p) - 0.86) * 10), 1); transform: translate(-50%, calc((1 - clamp(0, calc((var(--p) - 0.86) * 10), 1)) * 30px)); }
.dp-note strong { color: var(--dp-mint); font-size: 0.85rem; }
.dp-note span { color: rgba(246, 242, 228, 0.75); font-size: 0.78rem; font-weight: 700; }

.dp-prompt { position: absolute; left: 50%; bottom: 26px; z-index: 3; display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 20px; border: 1px solid rgba(255, 244, 223, 0.22); border-radius: 999px; background: rgba(10, 10, 14, 0.7); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: #f6f2e4; font-size: 0.8rem; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; transform: translateX(-50%); pointer-events: none; opacity: clamp(0, calc(1 - var(--p) * 16), 1); }
.dp-prompt .chev { width: 9px; height: 9px; border-right: 2.5px solid var(--dp-yellow); border-bottom: 2.5px solid var(--dp-yellow); animation: dpBob 1.8s ease-in-out infinite; }
@keyframes dpBob { 0%, 100% { transform: translateY(-3px) rotate(45deg); } 50% { transform: translateY(3px) rotate(45deg); } }
.dp-prompt .m { display: none; }

/* the real, interactive demo */
.dp-try { padding: 90px clamp(16px, 4vw, 48px) 28px; max-width: 1240px; margin: 0 auto; }
.dp-try h2 { margin: 0 0 10px; font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -0.04em; }
.dp-try p { max-width: 56ch; color: rgba(246, 242, 228, 0.65); line-height: 1.55; }
body.dp #app-view { border: 1px solid var(--dp-line); border-radius: 24px; overflow: hidden; margin: 0 clamp(12px, 3vw, 40px) 80px; background: rgba(8, 8, 12, 0.72); }
body.dp .sidebar { height: auto; min-height: 100%; position: relative; }
body.dp .app { min-height: 820px; }

@media (max-width: 900px) {
  .dp-scene { height: 420vh; }
  .dp-inner { grid-template-columns: 1fr; grid-template-rows: auto auto; grid-template-areas: "copy" "stage"; align-content: start; gap: 14px; width: min(100% - 32px, 1240px); padding: 72px 0 76px; }
  .dp-stage { min-height: 0; padding-bottom: 46px; }
  .dp-cap > strong { font-size: clamp(2.1rem, 11vw, 3.2rem); }
  .dp-cap.hero h1 { font-size: clamp(1.9rem, 9vw, 2.35rem); margin-bottom: 10px; text-shadow: 2px 2px 0 rgba(255, 69, 216, 0.5); }
  .dp-caps { align-items: start; }
  .dp-stage { transform-origin: 50% 0; }
  .dp-cap.hero .dp-fine { display: none; }
  .dp-cap > span { font-size: 0.95rem; margin-top: 8px; }
  .dp-cap.hero p.lede { font-size: 0.86rem; line-height: 1.42; margin-bottom: 12px; }
  .dp-cta .dp-btn:not(.go) { display: none; }
  .dp-cta .dp-btn.go { width: 100%; }
  .dp-btn { min-height: 46px; padding: 0 18px; font-size: 0.9rem; }
  .dp-dash { grid-template-columns: 1fr; }
  .dd-side { display: none; }
  .dd-metrics { grid-template-columns: repeat(2, 1fr); }
  .dp-phone { width: 96px; right: 0; bottom: -8%; }
  .dp-prompt { bottom: 18px; font-size: 0.72rem; padding: 9px 16px 9px 18px; }
  .dp-prompt .d { display: none; } .dp-prompt .m { display: inline; }
  .dp-note { bottom: -30px; }
  body.dp .app { min-height: 0; }
}

/* The interactive workspace is embedded below the cinematic demo, so it cannot
   use the real portal's body.dp-app mobile shell. Keep its mobile treatment
   scoped here while sharing the same readable, card-based invoice layout. */
@media (max-width: 720px) {
  body.dp #app-view .topbar {
    position: sticky;
    z-index: 40;
    top: 0;
    min-height: 0;
    padding: 14px 0 12px;
    background: rgba(10, 10, 14, 0.96);
    border-bottom-color: var(--dp-line);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
  body.dp #app-view .topbar h1 { font-size: 22px; }
  body.dp #app-view .top-actions { flex-wrap: wrap; justify-content: flex-end; }

  body.dp #app-view .table-wrap {
    margin: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  body.dp #app-view .table-wrap table,
  body.dp #app-view .table-wrap tbody { display: block; width: 100%; }
  body.dp #app-view .table-wrap thead { display: none; }
  body.dp #app-view .table-wrap tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "inv amt" "cust stat" "due due" "act act";
    gap: 8px 12px;
    align-items: center;
    margin-bottom: 10px;
    padding: 14px;
    border: 1px solid var(--dp-line);
    border-radius: 16px;
    background: var(--dp-glass);
  }
  body.dp #app-view .table-wrap td {
    display: block;
    height: auto;
    min-width: 0;
    padding: 0;
    border: 0;
    white-space: normal;
  }
  body.dp #app-view .table-wrap td:nth-child(1) { grid-area: inv; }
  body.dp #app-view .table-wrap td:nth-child(2) { grid-area: cust; }
  body.dp #app-view .table-wrap td:nth-child(3) { grid-area: due; color: var(--dp-muted); font-size: 12px; }
  body.dp #app-view .table-wrap td:nth-child(3)::before { content: "Due "; }
  body.dp #app-view .table-wrap td:nth-child(4) { grid-area: stat; justify-self: end; }
  body.dp #app-view .table-wrap td:nth-child(5) { grid-area: amt; text-align: right; }
  body.dp #app-view .table-wrap td:nth-child(5) strong { font-size: 20px; }
  body.dp #app-view .table-wrap td:nth-child(6) { grid-area: act; display: flex; gap: 8px; }
  body.dp #app-view .table-wrap td:nth-child(6) .row-text { flex: 1; margin-left: 0; }
  body.dp #app-view .table-wrap td small { max-width: none; }
}

.dp-sub, .dp-mobile-cta { display: none; }
/* ===== Phones: an iPhone that wakes up; headline first; progress bar under the phone; button after the build ===== */
@media (max-width: 900px) {
  .dp-copy { display: contents; }
  .dp-inner { grid-template-areas: "caps" "stage" "steps"; grid-template-rows: auto auto auto; align-items: start; }
  .dp-caps { grid-area: caps; align-items: start; }
  .dp-stage { grid-area: stage; margin-top: 8px; padding-bottom: 60px; }
  .dp-steps { grid-area: steps; justify-self: center; margin: 4px 0 0; }
  .dp-cap.hero .lede, .dp-cap.hero .dp-cta, .dp-cap.hero .dp-fine, .dp-cap.hero .dp-eyebrow { display: none; }
  .dp-cap.hero h1 { font-size: clamp(2.5rem, 11.8vw, 3.3rem); line-height: 0.94; letter-spacing: -0.02em; margin-bottom: 12px; text-shadow: 3px 3px 0 rgba(255, 69, 216, 0.45); }
  .dp-cap.hero .dp-sub { display: block; margin: 0 0 4px; color: rgba(246, 242, 228, 0.8); font-size: 1.02rem; line-height: 1.35; font-weight: 600; }
  .dp-cap > strong { font-size: clamp(2.4rem, 12vw, 3.3rem); }
  .dp-cap > span { font-size: 1rem; line-height: 1.35; color: rgba(246, 242, 228, 0.78); }
  .dp-stage, .dp-steps { transition: transform 600ms var(--dp-ease); }
  .dp-scene.shifted .dp-stage, .dp-scene.shifted .dp-steps { transform: translateY(calc(var(--shift, 0px) * -1)); }

  .dp-laptop { transform: none; width: 196px; margin: 0 auto; }
  .dp-base { display: none; }
  .dp-lid { height: 408px; padding-top: 30px; border: 3px solid #3d3d46; border-radius: 34px; background: #07070a; box-shadow: 0 0 0 2px #0b0b0e, 0 40px 90px rgba(0, 0, 0, 0.65); transform: none; display: flex; flex-direction: column; }
  .dp-lid::before { content: ""; position: absolute; top: 9px; left: 50%; z-index: 3; width: 66px; height: 18px; margin-left: -33px; border-radius: 12px; background: #000; }
  .dp-bar { display: none; }
  .dp-dash { flex: 1; font-size: 0.6rem; min-height: 0; align-content: start; }
  .dd-main { padding: 0.8em; gap: 0.7em; }
  .dd-top strong { font-size: 1.3em; }
  .dd-metrics { gap: 0.5em; }
  .dd-metrics b { font-size: 1.25em; }
  .dd-row { grid-template-columns: 1.4fr 0.8fr 0.8fr; padding: 0.6em 0.7em; }
  .dd-row > :first-child { display: none; }
  .dd-form { width: 92%; }
  .dp-phone { display: none; }
  .dp-note { bottom: -52px; }
  .dp-mobile-cta { display: inline-flex; position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 3; opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity 400ms ease, transform 500ms var(--dp-ease); }
  .dp-scene.finale .dp-mobile-cta { opacity: 1; pointer-events: auto; transform: none; }
}


/* ---- "keep more of every invoice" comparison ---- */
.dp-compare { width: min(100% - 32px, 1000px); margin: 80px auto 0; }
.dp-compare h2 { margin: 0 0 18px; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.04em; }
.dp-amt { display: inline-grid; gap: 6px; margin-bottom: 18px; color: var(--dp-muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }
.dp-amt input { width: 200px; height: 46px; padding: 0 14px; border: 1px solid var(--dp-line); border-radius: 12px; background: rgba(255, 255, 255, 0.05); color: var(--dp-ink); font: 800 1.1rem Inter, system-ui, sans-serif; color-scheme: dark; }
.cmp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cmp-card { display: grid; gap: 8px; align-content: start; padding: 18px; border: 1px solid var(--dp-line); border-radius: 16px; background: var(--dp-glass); }
.cmp-card small { color: var(--dp-muted); font-size: 12px; font-weight: 800; }
.cmp-card b { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.cmp-card span { color: var(--dp-muted); font-size: 13px; line-height: 1.4; }
.cmp-card.best { border-color: rgba(168, 255, 159, 0.45); background: linear-gradient(135deg, rgba(168, 255, 159, 0.12), rgba(255, 227, 63, 0.05)); }
.cmp-card.best b { color: var(--dp-mint); }
.cmp-foot { margin: 14px 0 0; color: rgba(246, 242, 228, 0.45); font-size: 11.5px; line-height: 1.55; }
@media (max-width: 720px) { .cmp-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .dp-scene { height: auto; --p: 1; --open: 1; --s1: 1; --s2: 1; --s3: 0; --s4: 1; --s5: 1; }
  .dp-pin { position: static; height: auto; min-height: 0; }
  .dp-inner { height: auto; }
  .dp-cap { grid-area: auto; opacity: 1; visibility: visible; transform: none; margin-bottom: 18px; }
  .dp-caps { display: block; }
  .dp-steps, .dp-prompt { display: none; }
  body.dp *, body.dp *::before, body.dp *::after { animation: none !important; transition: none !important; }
}
