/* Homepage hero "The Workspace" (D-062). Concept B rev 3 (design-system/hero-concepts), user-approved 2026-10-28.
   Loaded last on / only. Product UI inside the window is on the D-057 graphic scale (12/13/14/15, 20 head, 24 figures);
   pills are its only rounded shapes. */

.zw-hero { --zw-forest: var(--ds-forest, #183e3d); --zw-mint: var(--ds-mint, #afecdb); --zw-line: var(--ds-border, #e6e1da); --zw-line-2: var(--ds-neutral-deep, #c8bfb1); --zw-beige: var(--ds-ground-beige, #f6f5f3); --zw-beige-l: var(--ds-ground-beige-light, #fafaf9); --zw-ink-2: var(--ds-ink-secondary, #323232); --zw-cap: var(--ds-ink-caption, #838383); --zw-g: var(--z3-g, clamp(20px, 4.2vw, 60px));
  position: relative; overflow: hidden; background: #fff; }

/* Copy: one centred stack, tag → H1 → lead → email capture → one proof line */
.zw-hero__copy { display: flex; flex-direction: column; align-items: center; max-width: calc(48rem + 2 * var(--zw-g)); margin: 0 auto; padding: 64px var(--zw-g) 0; text-align: center; }
html body .zw-hero .z14-pill { margin: 0; }
html body .zw-hero h1 { max-width: none; margin: 16px 0 0; text-wrap: balance; }
html body .zw-hero .z3-hero__lead { max-width: 46rem; margin: 16px auto 0; text-wrap: balance; }
html body .zw-hero .z3-hero__lead .z-nowrap { white-space: nowrap; }
/* The subheading breaks after "tax team" on wider screens; phones wrap naturally. */
html body .zw-hero .z3-hero__lead .zw-br { display: none; }
@media (min-width: 768px) { html body .zw-hero .z3-hero__lead .zw-br { display: inline; } }
html body .zw-hero .z3-hero__form { width: 100%; max-width: 32.5rem; margin: 32px auto 0; gap: 0; }
html body .zw-hero .z3-hero__input { border-right-width: 0; }
.zw-hero__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; margin-top: 16px; }
html body .zw-hero .z10-g2 { margin: 0; }
.zw-hero__link { padding-left: 20px; border-left: 1px solid var(--zw-line-2); font: 500 14px/1.4 var(--z-font-body); color: #000; text-decoration: underline; text-decoration-color: var(--zw-line-2); text-underline-offset: 4px; }
.zw-hero__link:hover { text-decoration-color: currentColor; }

/* Stage: a forest panel on the homepage grid (84rem, --z3-g gutter: the nav and logo-row edges); the window sits inside it and runs off the hero's foot like a crop of the app. */
.zw-stage { position: relative; isolation: isolate; overflow: hidden; width: calc(100% - 2 * var(--zw-g)); max-width: 84rem; height: 560px; margin: 48px auto 0; padding: 64px 56px 0; background: var(--zw-forest); }
/* Texture: the zamp.com green-section motif (green-square-right.svg). Stepped squares in #255A58 that fade to the
   field, each lit by a #4B7776 hairline on its inner edge. They sit behind the window and read in the margins. */
.zw-tex { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.zw-tex i { position: absolute; }
.zw-tex i::before { content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: linear-gradient(#4b7776, rgba(75, 119, 118, 0)); }
.zw-tex .l { left: 0; background: linear-gradient(270deg, #255a58, rgba(37, 90, 88, 0)); } .zw-tex .l::before { right: 0; }
.zw-tex .r { right: 0; background: linear-gradient(90deg, #255a58, rgba(37, 90, 88, 0)); } .zw-tex .r::before { left: 0; }
.zw-tex .l1 { top: 0; width: 312px; height: 168px; }
.zw-tex .l2 { top: 168px; width: 40px; height: 232px; }
.zw-tex .l3 { top: 400px; width: 24px; height: 400px; }
.zw-tex .r1 { top: 0; width: 248px; height: 112px; }
.zw-tex .r2 { top: 112px; width: 400px; height: 168px; opacity: .7; }
.zw-tex .r3 { top: 280px; width: 32px; height: 520px; }

/* Window: slim browser bar (three neutral dots, nothing else; an explicit exception to D-051) over the app. */
.zw-win { position: relative; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12), 0 24px 64px rgba(0, 0, 0, .3); text-align: left; }
.zw-win__bar { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; background: var(--zw-beige-l); border-bottom: 1px solid var(--zw-line); }
.zw-win__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--zw-line); box-shadow: inset 0 0 0 1px var(--zw-line-2); }
.zw-app { display: grid; grid-template-columns: 200px minmax(0, 1fr) 320px; height: 620px; font: 400 14px/1.45 var(--z-font-body); color: #000; }
.zw-app b { font-weight: 500; }
.zw-app small { display: block; }
.zw-avatar { flex: none; width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.zw-pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; background: var(--zw-mint); color: var(--zw-forest); font: 500 12px/1.3 var(--z-font-body); white-space: nowrap; }
.zw-pill--quiet { background: var(--zw-beige); color: var(--zw-ink-2); }
.zw-pill i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* sidebar */
.zw-side { display: flex; flex-direction: column; padding: 18px 12px; background: var(--zw-beige-l); border-right: 1px solid var(--zw-line); }
.zw-side__org { display: flex; align-items: center; gap: 10px; padding: 0 8px 16px; border-bottom: 1px solid var(--zw-line); }
.zw-side__org img { width: 54px; height: auto; }
.zw-side__org span { font-size: 12px; color: var(--zw-cap); }
.zw-side ul { margin: 14px 0 0; padding: 0; list-style: none; }
.zw-side li { display: flex; align-items: center; gap: 10px; margin: 0; padding: 7px 8px; font-size: 14px; color: var(--zw-ink-2); }
.zw-side li svg { flex: none; width: 15px; height: 15px; color: var(--zw-cap); }
.zw-side li.on { background: #fff; box-shadow: inset 0 0 0 1px var(--zw-line); color: #000; font-weight: 500; }
.zw-side li.on svg { color: var(--zw-forest); }
.zw-side li em { margin-left: auto; padding: 3px 6px; border-radius: 999px; background: var(--ds-yellow, #ffec72); font: 500 11px/1 var(--z-font-body); font-style: normal; }
.zw-side__team { margin-top: 20px; padding: 12px 8px 0; border-top: 1px solid var(--zw-line); font-size: 12px; color: var(--zw-cap); }
.zw-side__team div { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 13px; color: #000; }
.zw-side__team .zw-avatar { width: 24px; height: 24px; }

/* main */
.zw-main { min-width: 0; border-right: 1px solid var(--zw-line); }
.zw-main__h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--zw-line); }
.zw-main__h b { display: block; font: 400 20px/1.2 var(--z-font-heading); }
.zw-main__h small { margin-top: 2px; font-size: 12px; color: var(--zw-cap); }
.zw-flts { display: flex; gap: 8px; }
.zw-flts span { padding: 5px 10px; box-shadow: inset 0 0 0 1px var(--zw-line); font-size: 12px; color: var(--zw-ink-2); white-space: nowrap; }
.zw-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 16px 20px; }
.zw-kpi { padding: 12px 14px; background: var(--zw-beige-l); box-shadow: inset 0 0 0 1px var(--zw-line); }
.zw-kpi small { font-size: 12px; color: var(--zw-cap); }
.zw-kpi b { display: block; margin-top: 4px; font: 400 24px/1.1 var(--z-font-heading); color: var(--zw-forest); }
.zw-table { width: calc(100% - 40px); margin: 0 20px; border-collapse: collapse; font-size: 13px; }
.zw-table th { padding: 8px 10px; background: var(--zw-forest); color: #fff; font: 500 11px/1.2 var(--z-font-body); text-align: left; }
.zw-table :is(th, td):nth-child(3), .zw-table :is(th, td):nth-child(4) { text-align: right; }
.zw-table td { padding: 6px 10px; border-bottom: 1px solid var(--zw-line); vertical-align: middle; white-space: nowrap; }
.zw-table tr:nth-child(even) td { background: var(--zw-beige-l); }
.zw-table td b { display: block; font-size: 14px; }
.zw-table td small { font-size: 11px; color: var(--zw-cap); }
/* Fixed columns and tabular figures: the tax amounts and tile values count up (home-workspace-motion.css), and the
   table must not reflow or shift its headers while they do (user, 2026-10-31). Numbers stay right-aligned. */
.zw-table { table-layout: fixed; }
.zw-table th:nth-child(1) { width: 24%; } .zw-table th:nth-child(2) { width: 14%; } .zw-table th:nth-child(3) { width: 20%; }
.zw-table th:nth-child(4) { width: 17%; } .zw-table th:nth-child(5) { width: 25%; }
.zw-table td, .zw-kpi b { font-variant-numeric: tabular-nums; }
.zw-table td { overflow: hidden; text-overflow: ellipsis; }

/* activity */
.zw-act { display: flex; flex-direction: column; min-width: 0; }
.zw-act__h { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--zw-line); }
.zw-act__h b { font: 500 15px/1.3 var(--z-font-body); }
.zw-act ol { margin: 0; padding: 6px 18px; list-style: none; }
.zw-act li { display: flex; gap: 12px; margin: 0; padding: 12px 0; font-size: 13px; }
.zw-act li + li { border-top: 1px solid #f0ece6; }
.zw-act li > span:last-child { min-width: 0; }
.zw-who { display: block; font-size: 12px; color: var(--zw-cap); }
.zw-who b { color: #000; }
.zw-p { display: block; margin-top: 3px; font-size: 13px; line-height: 1.45; }
.zw-quote { display: block; margin-top: 6px; padding: 8px 10px; background: var(--zw-beige); font-size: 13px; line-height: 1.45; }
.zw-act .zw-pill { margin-top: 6px; }
.zw-sys { flex: none; display: grid; place-items: center; width: 28px; height: 28px; background: var(--zw-forest); color: #fff; }
.zw-sys svg { width: 14px; height: 14px; }
.zw-sys--mint { border-radius: 50%; background: var(--zw-mint); color: var(--zw-forest); }
.zw-act__msg { display: flex; align-items: center; justify-content: space-between; margin: auto 18px 16px; padding: 10px 12px; box-shadow: inset 0 0 0 1px var(--zw-line-2); font-size: 13px; color: var(--zw-cap); }
.zw-act__msg span:last-child { display: grid; place-items: center; width: 24px; height: 24px; background: var(--ds-black, #0d0d0d); color: #fff; }
.zw-act__msg svg { width: 12px; height: 12px; }

/* Narrower screens drop panels from the outside in: the feed, then the sidebar, then table columns. */
@media (max-width: 1199px) {
  .zw-app { grid-template-columns: 200px minmax(0, 1fr); }
  .zw-act { display: none; }
  .zw-main { border-right: 0; }
  .zw-stage { height: 520px; padding: 48px 40px 0; }
}
@media (max-width: 959px) {
  .zw-app { grid-template-columns: minmax(0, 1fr); }
  .zw-side { display: none; }
}
@media (max-width: 767px) {
  .zw-hero__copy { align-items: flex-start; padding-top: 40px; text-align: left; }
  html body .zw-hero .z3-hero__lead { margin-left: 0; }
  html body .zw-hero .z3-hero__form { gap: 8px; margin-left: 0; }
  html body .zw-hero .z3-hero__input { border-right-width: 1px; }
  .zw-hero__meta { flex-direction: column; align-items: flex-start; }
  .zw-hero__link { padding-left: 0; border-left: 0; }
  .zw-stage { width: 100%; height: 480px; margin-top: 40px; padding: 20px 20px 0; }
  .zw-app { height: 480px; }
  .zw-flts { display: none; }
  .zw-kpis { grid-template-columns: 1fr 1fr; } .zw-kpi:nth-child(3) { display: none; }
  .zw-table :is(th, td):nth-child(2), .zw-table :is(th, td):nth-child(3) { display: none; }
  .zw-table th:nth-child(1) { width: 42%; } .zw-table th:nth-child(4) { width: 24%; } .zw-table th:nth-child(5) { width: 34%; }
}
