/* ===========================================================
   SERVICE HERO — premium "work delivered" deliverable mockups
   Window-chrome cards + overlapping registration stack.
   Reuses brand/ink/soft tokens from styles.css.
   Wrapper stays .mock (inherits hero responsive rules).
   =========================================================== */

/* ---- Floating deliverable tags (reinforce "handled by us") ---- */
.dtag {
  position: absolute; z-index: 6; display: flex; align-items: center; gap: 11px;
  background: var(--surface); border-radius: 14px;
  box-shadow: var(--sh-md), inset 0 0 0 1px var(--line);
  padding: 11px 15px;
}
.dtag .ic { width: 36px; height: 36px; border-radius: 10px; flex: none;
  display: grid; place-items: center; background: var(--green-100); color: var(--green); }
.dtag .ic.brand { background: var(--brand-50); color: var(--brand); }
.dtag .ic [data-lucide] { width: 19px; height: 19px; }
.dtag b { display: block; color: var(--ink); font-size: 13.5px; line-height: 1.25; }
.dtag small { display: block; color: var(--muted); font-size: 12px; margin-top: 1px; }
.dtag.tl { top: -24px; left: -26px; }
.dtag.br { bottom: -22px; right: -22px; }
.dtag.bl { bottom: -22px; left: -22px; }
.dtag.tr { top: -24px; right: -22px; }

/* ---- caption under the mock ---- */
.dmock-note { position: relative; z-index: 1; margin: 18px auto 0; max-width: 480px;
  font-size: 12px; line-height: 1.5; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.dmock-note [data-lucide] { width: 14px; height: 14px; color: var(--muted); flex: none; }

/* ---- Window-chrome card ---- */
.wcard {
  position: relative; z-index: 2; max-width: 480px; margin-inline: auto;
  background: var(--surface); border-radius: 22px; overflow: hidden;
  box-shadow: var(--sh-lg), inset 0 0 0 1px var(--line);
}
.wbar {
  display: flex; align-items: center; gap: 14px; padding: 15px 20px;
  background: linear-gradient(180deg, color-mix(in oklab, var(--soft) 55%, #fff), var(--surface));
  border-bottom: 1px solid var(--line-2);
}
.wlights { display: flex; gap: 8px; flex: none; }
.wlights i { width: 12px; height: 12px; border-radius: 50%; display: block; }
.wlights i:nth-child(1) { background: #FF5F57; }
.wlights i:nth-child(2) { background: #FEBC2E; }
.wlights i:nth-child(3) { background: #28C840; }
.wtitle { flex: 1 1 auto; min-width: 0; font-size: 14.5px; font-weight: 600; color: var(--ink-2); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wtitle-stack { display: flex; flex-direction: column; gap: 1px; line-height: 1.25; }
.wtitle-stack b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.wtitle-stack small { font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: 0; overflow: hidden; text-overflow: ellipsis; }
.wbody { padding: 22px 24px; }

/* ---- Integrated status badge in the window bar (replaces top floating tag) ---- */
.wstat { flex: none; display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600; line-height: 1; white-space: nowrap;
  color: var(--green); background: var(--green-100);
  padding: 6px 11px; border-radius: var(--r-pill); }
.wstat.brand { color: var(--brand); background: var(--brand-50); }
.wstat [data-lucide] { width: 14px; height: 14px; stroke-width: 3; }

/* ---- Integrated preparer footer inside the card (replaces bottom floating tag) ---- */
.wcard-by { display: flex; align-items: center; gap: 12px; padding: 14px 24px;
  border-top: 1px solid var(--line-2);
  background: color-mix(in oklab, var(--soft) 50%, var(--surface)); }
.wcard-by .av { width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: var(--brand-50); color: var(--brand); }
.wcard-by .av [data-lucide] { width: 18px; height: 18px; }
.wcard-by .by-tx { min-width: 0; flex: 1; }
.wcard-by .by-tx b { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.25; }
.wcard-by .by-tx small { display: block; font-size: 12px; color: var(--muted); margin-top: 1px; }
.wcard-by .by-end { flex: none; display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: var(--muted); }
.wcard-by .by-end [data-lucide] { width: 14px; height: 14px; }

/* =========================================================
   1 · INCORPORATION CHECKLIST (startup)
   ========================================================= */
.inc-row { display: flex; align-items: center; gap: 15px; padding: 15px 2px; border-top: 1px solid var(--line-2); }
.inc-row:first-child { border-top: 0; }
.inc-ic { width: 24px; height: 24px; border-radius: 50%; flex: none; display: grid; place-items: center; }
.inc-ic.done { background: var(--brand); color: #fff; }
.inc-ic.done [data-lucide] { width: 15px; height: 15px; stroke-width: 3; }
.inc-ic.now { background: #fff; box-shadow: inset 0 0 0 2.5px var(--brand); }
.inc-ic.now::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.inc-ic.wait { background: #fff; box-shadow: inset 0 0 0 2px var(--line); }
.inc-tx { flex: 1; min-width: 0; }
.inc-tx b { display: block; font-size: 15.5px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.inc-tx.muted b { color: var(--muted); }
.inc-tx small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.inc-end { flex: none; }
.inc-chk { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand); }
.inc-chk [data-lucide] { width: 16px; height: 16px; stroke-width: 2.6; }
.inc-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; white-space: nowrap;
  color: #fff; background: var(--brand); padding: 6px 11px; border-radius: var(--r-pill);
  box-shadow: 0 8px 16px -8px color-mix(in oklab, var(--brand) 60%, transparent); }
.inc-pill .pulse { width: 7px; height: 7px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 3px rgba(255,255,255,.35); }

/* =========================================================
   2 · OVERLAPPING REGISTRATION STACK (registrations)
   ========================================================= */
.rstack { position: relative; display: flex; flex-direction: column; max-width: 480px; margin-inline: auto; padding: 4px 0; }
.scard { width: 84%; border-radius: 20px; padding: 21px 26px;
  background: var(--surface); box-shadow: var(--sh-lg), inset 0 0 0 1px var(--line); }
.scard + .scard { margin-top: -30px; }
.scard.l { align-self: flex-start; }
.scard.r { align-self: flex-end; }
.scard .se { font-size: 11.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--brand); }
.scard h4 { font-size: clamp(21px, 2.4vw, 26px); font-weight: 700; letter-spacing: -.02em; margin: 9px 0 0; color: var(--ink); }
.scard .sm { font-size: 14px; color: var(--muted); margin-top: 10px; }
.scard .sm b { color: var(--ink-2); font-weight: 600; }
.scard .ok { color: var(--green); font-weight: 600; }
.scard .s-badge { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px;
  font-size: 12px; font-weight: 600; line-height: 1; white-space: nowrap;
  color: var(--green); background: var(--green-100); padding: 6px 11px; border-radius: var(--r-pill); }
.scard .s-badge [data-lucide] { width: 14px; height: 14px; stroke-width: 3; }
.scard.blue .s-badge { color: #fff; background: rgba(255,255,255,.18); }
/* blue variant */
.scard.blue { background: linear-gradient(155deg, var(--brand), var(--brand-600)); border: 0;
  box-shadow: 0 34px 66px -26px color-mix(in oklab, var(--brand) 62%, transparent), inset 0 0 0 1px color-mix(in oklab, var(--brand) 50%, #fff); }
.scard.blue .se { color: rgba(255,255,255,.78); }
.scard.blue h4 { color: #fff; }
.scard.blue .sm { color: rgba(255,255,255,.82); }
.scard.blue .sm b { color: #fff; }
/* dark variant */
.scard.dark { background: var(--ink); box-shadow: var(--sh-lg), inset 0 0 0 1px rgba(255,255,255,.07); }
.scard.dark .se { color: var(--on-dark-mut); }
.scard.dark h4 { color: #fff; }
.scard.dark .sm { color: var(--on-dark-mut); }
.scard.dark .sm b { color: #fff; }
.scard.dark .ok { color: #fff; }

/* =========================================================
   3 · P&L REPORT CARD (accounting)
   ========================================================= */
.pl-chart { display: flex; align-items: flex-end; gap: 14px; height: 168px; padding: 4px 2px 0; }
.pl-bar { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 12px; height: 100%; justify-content: flex-end; }
.pl-bar .col { width: 100%; border-radius: 12px 12px 7px 7px; background: var(--brand-50);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--brand) 10%, transparent); }
.pl-bar.hi .col { background: linear-gradient(180deg, var(--brand), var(--brand-600));
  box-shadow: 0 18px 30px -12px color-mix(in oklab, var(--brand) 58%, transparent); }
.pl-bar span { font-size: 13px; color: var(--muted); font-weight: 500; }
.pl-bar.hi span { color: var(--ink-2); font-weight: 600; }
.pl-div { height: 1px; background: var(--line-2); margin: 20px 0 18px; }
.pl-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pl-stat .k { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.pl-stat .v { font-size: clamp(22px, 2.4vw, 27px); font-weight: 700; letter-spacing: -.02em; color: var(--ink); margin-top: 7px; }
.pl-stat .d { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--green); margin-top: 7px; }
.pl-stat .d .tri { font-size: 10px; line-height: 1; }

/* =========================================================
   4 · GST FILING CALENDAR (gst)
   ========================================================= */
.cal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; }
.cal-cell { border-radius: 13px; padding: 13px 8px; text-align: center; background: var(--brand-50);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--brand) 9%, transparent); }
.cal-cell b { display: block; font-size: 15px; font-weight: 700; color: var(--brand); letter-spacing: -.01em; }
.cal-cell small { display: block; font-size: 11px; color: color-mix(in oklab, var(--brand) 50%, var(--muted)); margin-top: 4px; }
.cal-cell.now { background: linear-gradient(155deg, var(--brand), var(--brand-600));
  box-shadow: 0 16px 28px -12px color-mix(in oklab, var(--brand) 55%, transparent); }
.cal-cell.now b, .cal-cell.now small { color: #fff; }
.cal-cell.wait { background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.cal-cell.wait b, .cal-cell.wait small { color: var(--muted); }
.cal-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.cal-foot .lbl { font-size: 16px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.cal-foot .amt { font-size: 18px; font-weight: 700; color: var(--brand); }
.cal-sub { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.cal-sub .k, .cal-sub .v { font-size: 13px; color: var(--muted); }
.cal-sub .v { font-weight: 600; color: var(--ink-2); }

/* =========================================================
   5 · ITR SUMMARY (income tax)
   ========================================================= */
.itr-line { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; }
.itr-line .k { font-size: 15.5px; color: var(--ink-2); font-weight: 500; }
.itr-line .v { font-size: 16.5px; font-weight: 600; color: var(--ink); }
.itr-div { height: 1px; background: var(--line-2); margin: 6px 0; }
.itr-line.total .k { font-weight: 700; color: var(--ink); font-size: 16.5px; }
.itr-line.total .v { font-weight: 700; font-size: 19px; }
.itr-line.refund .k, .itr-line.refund .v { color: var(--brand); font-weight: 700; }
.itr-line.refund .v { font-size: 17.5px; }
.itr-prog { height: 8px; border-radius: var(--r-pill); background: var(--soft-2); margin-top: 20px; overflow: hidden; }
.itr-prog i { display: block; height: 100%; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--brand-600), var(--brand)); }
.itr-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.itr-meta .k { font-size: 12.5px; color: var(--muted); }
.itr-meta .v { font-size: 13px; font-weight: 700; color: var(--brand); }
.itr-status { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.itr-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600;
  color: var(--green); background: var(--green-100); padding: 7px 12px; border-radius: var(--r-pill); }
.itr-chip [data-lucide] { width: 14px; height: 14px; stroke-width: 3; }

/* =========================================================
   Mobile: pull floating tags onto the card edge
   ========================================================= */
@media (max-width: 640px) {
  .dtag { padding: 9px 12px; }
  .dtag.tl { top: -14px; left: -6px; }
  .dtag.br { bottom: -14px; right: -6px; }
  .dtag.bl { bottom: -14px; left: -6px; }
  .dtag.tr { top: -14px; right: -6px; }
  .scard { width: 90%; }
}
