/* D-086 "Zamp for {Platform}" use-case pages (UseCase.astro). Loaded on /for/* only, after site-compare.css (zv-*).
   Everything here sits on Design System v4 (site-v7.css): type sizes come from each element's data-zamp-type role,
   colours from the --ds-* tokens, square geometry, one shadow. The hero, feature cards, managed band, FAQ recipe,
   dark band and closing CTA are the site's own components; this file adds only what the page type needs:
   the hero lockup, the short answer, the centred section header, the multi-channel panel, the getting-started panel,
   proof, the Figma black comparison table, the "what to look for" checklist and the related links. */
.zu { --zv-body: #000; --zv-ink: #000; --zu-yellow: var(--ds-yellow, #ffec72); --zu-beige: var(--ds-ground-beige, #f6f5f3); --zu-rule: var(--ds-border, #e6e1da); }

/* Hero: the feature pages' split people hero (site markup). The partnership lockup takes the tag's place. */
.zu-lock { display: inline-flex; align-items: center; gap: 14px; margin: 0; padding: 12px 20px 12px 18px; background: #fff; box-shadow: 0 0 0 1px var(--zu-rule); }
.zu-lock__z { display: block; height: 22px; width: auto; }
.zu-lock__plus { position: relative; flex: 0 0 14px; height: 14px; }
.zu-lock__plus::before, .zu-lock__plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: #000; }
.zu-lock__plus::after { transform: rotate(90deg); }
.zu-lock__mark { display: block; height: 28px; width: auto; max-width: 96px; object-fit: contain; }
.zu-lock__name { font: 500 18px/1 var(--z-font-body); color: #000; letter-spacing: -.01em; white-space: nowrap; }
.zu-soon { display: inline-flex; align-items: center; margin-left: 4px; padding: 6px 12px; background: #000; color: #fff; font: 500 12px/1.2 var(--z-font-body); }
.zu-micro { margin: 12px 0 0; font-size: 14px; color: #000; }
.zu-micro a { color: #000; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.zu-hero__proof { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--zu-rule); }
.zu-hero__proof p { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; color: #000; }
.zu-hero__proof .zv-stars { display: inline-flex; gap: 2px; color: #000; }
.zu-hero__proof .zv-stars svg { width: 14px; height: 14px; }

/* Section header for this page type: H2 and its lead centred and stacked (Figma comparison page). */
.zu-sh { max-width: 48rem; margin: 0 auto 64px; text-align: center; }
.zu-sh h2 { margin: 0; color: #000; }
.zu-sh p { margin: 16px auto 0; max-width: 40rem; color: #000; }

/* The short answer */
.zu-answer { padding: var(--z-space-band, 64px) 0 0; background: #fff; }
.zu-answer__box { max-width: 56rem; margin: 0 auto; padding: 40px 48px; background: var(--zu-beige); text-align: center; }
.zu-answer__k { margin: 0 0 12px; font: 500 13px/1.3 var(--z-font-body); letter-spacing: .04em; text-transform: uppercase; color: var(--ds-ink-caption, #838383); }
.zu-answer__box h2 { margin: 0 0 12px; color: #000; }
.zu-answer__box p[data-zamp-type="lead"] { margin: 0 auto; max-width: 46rem; color: #000; }

/* What's possible: renderCards (D-046) on white, so the beige feature cards read as on the feature pages. */
.zu-out { background: #fff; }

/* Multi-channel: forest panel (square highlight from site-squares.css), the converge diagram drawn on the green itself. */
.zu-spot { background: #fff; padding-top: 0; }
.zu-spot__panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; padding: 80px; background: var(--ds-forest, #183e3d); color: var(--ds-on-dark-body, rgba(255,255,255,.8)); }
.zu-spot__copy .zv-tag { margin-bottom: 20px; }
html body main .zu-spot__copy h2 { margin: 0; color: #fff !important; }
html body main .zu-spot__copy > p[data-zamp-type="lead"] { margin: 24px 0 0; color: var(--ds-on-dark-body, rgba(255,255,255,.8)) !important; }
.zu-spot__points { display: grid; gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.zu-spot__points li { display: flex; gap: 12px; font-size: 16px; line-height: 1.5; }
.zu-spot__points b { color: #fff; font-weight: 500; }
.zu-spot__points i { display: grid; place-items: center; flex: 0 0 20px; height: 20px; margin-top: 2px; background: var(--ds-mint, #afecdb); color: var(--ds-forest, #183e3d); }
.zu-spot__points i svg { width: 13px; height: 13px; }
.zu-chan__art > .zc { aspect-ratio: auto; background: transparent !important; box-shadow: none !important; overflow: visible; }
.zu-chan__art .zb-conv__lines path { stroke: rgba(175, 236, 219, .75); }
.zu-chan__art .zb-conv__hub { background: #fff; box-shadow: 0 0 0 10px rgba(175, 236, 219, .22), 0 0 0 1px rgba(175, 236, 219, .6); }
.zu-chan__art .zb-conv__hub img { filter: brightness(0); }
.zu-chan__art .zb-conv__link { background: rgba(175, 236, 219, .75); }
.zu-chan__art .zb-conv__src li { box-shadow: 0 12px 28px -14px rgba(0, 0, 0, .45); }
.zu-chan__art .zb-conv__out { box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .5); }
.zu .zb-conv__src li img { width: auto; max-width: 52px; height: 16px; }

/* Getting started (Figma "How do you switch without missing a filing?"): beige panel with an icon checklist, photo. */
.zu-start__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 8px; align-items: stretch; }
.zu-start__panel { padding: 64px; background: var(--zu-beige); }
.zu-start__panel h2 { margin: 0; max-width: 16ch; color: #000; }
.zu-start__panel > p { margin: 20px 0 0; max-width: 36rem; color: #000; }
.zu-start__steps { display: grid; gap: 20px; margin: 36px 0 0; padding: 0; list-style: none; }
.zu-start__steps li { display: flex; gap: 16px; align-items: flex-start; }
.zu-start__steps li > span:last-child { display: flex; flex-direction: column; gap: 4px; font-size: 16px; line-height: 1.5; color: #000; }
.zu-start__steps b { font-weight: 500; }
.zu-start__links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 36px 0 0; }
.zu-start__photo { margin: 0; min-height: 100%; overflow: hidden; background: #ede9e2; }
.zu-start__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.zu-choose__ico { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; background: #000; color: #fff; }
.zu-choose__ico svg { width: 22px; height: 22px; }

/* Proof: the featured customer quote, or a verified G2 review on a forest quote plate; then the stats. */
.zu-proof__quote { margin-bottom: 24px; }
.zu-g2 { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: center; margin: 0 0 24px; padding: 56px; background: var(--ds-forest, #183e3d); color: #fff; }
html body:not(#zsq) .zu-g2 { background-image: url('/design-assets/squares/forest-quote-tl.svg'), url('/design-assets/squares/forest-quote-br.svg'); background-position: 0 0, 100% 100%; background-repeat: no-repeat; }
.zu-g2__k { margin: 0 0 20px; font-size: 14px; color: var(--ds-on-dark-body, rgba(255,255,255,.8)); }
html body main .zu-g2 blockquote { margin: 0 0 32px; padding: 0 !important; border: 0 !important; color: #fff; }
.zu-g2__card { margin: 0; padding: 20px 24px; background: #fff; color: #000; text-align: left; box-shadow: var(--ds-shadow-card, 0 24px 60px rgba(0,0,0,.1)); }
.zu-g2__card header { display: flex; align-items: center; justify-content: flex-start; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--zu-rule); }
.zu-g2__card header span { display: flex; flex-direction: column; }
.zu-g2__card header b { font-weight: 500; font-size: 15px; }
.zu-g2__card header small { font-size: 13px; color: var(--ds-ink-caption, #838383); }
.zu-g2__card dl { display: grid; gap: 10px; margin: 16px 0 0; }
.zu-g2__card dl div { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.zu-g2__card dt { color: var(--ds-ink-caption, #838383); }
.zu-g2__card dd { margin: 0; font-weight: 500; }
.zu-g2__stars { display: inline-flex; gap: 2px; color: #ff492c; }
.zu-g2__stars svg { width: 13px; height: 13px; }
.zu-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 0; padding: 0; list-style: none; background: var(--zu-rule); box-shadow: 0 0 0 1px var(--zu-rule); }
.zu-stats li { padding: 32px; background: #fff; }
.zu-stats b { display: block; color: #000; }
.zu-stats span { display: block; margin-top: 12px; font-size: 16px; color: #000; }

/* The comparison (Figma comparison page): black section with the muted cross matrix, H2 and tab bar left-aligned, a grey
   panel with a centred title, the table on a hairline grid, white text, yellow check tiles. */
.zu-dark { background: #000 !important; color: #fff; }
html body:not(#zsq) .zu-dark { background-image: url('/design-assets/squares/matrix-on-black-muted.svg') !important; background-position: 100% 100% !important; background-repeat: no-repeat !important; background-size: auto !important; }
html body main .zu-dark .zu-dark__h { margin: 0; max-width: 18ch; color: #fff !important; }
.zu-tabs { display: inline-flex; margin: 32px 0 40px; box-shadow: 0 0 0 1px #3a3a3a; }
.zu-tabs button { padding: 10px 18px; border: 0; background: transparent; color: #fff; font: 500 14px/1.2 var(--z-font-body); cursor: pointer; }
.zu-tabs button + button { box-shadow: -1px 0 0 #3a3a3a; }
.zu-tabs button[aria-selected="true"] { background: #fff; color: #000; }
.zu-tabs button:focus-visible { outline: 2px solid var(--ds-mint, #afecdb); outline-offset: 2px; }
.zu-tpanel { padding: 40px; background: #161616; }
.zu-tpanel__t { margin: 0; text-align: center; font: 400 24px/1.25 var(--z-font-heading); color: #fff; }
.zu-tpanel__s { margin: 8px auto 32px; max-width: 40rem; text-align: center; font-size: 14px; color: rgba(255,255,255,.62); }
.zu-tpanel--src ol { margin: 0 auto; max-width: 48rem; padding-left: 20px; color: rgba(255,255,255,.8); font-size: 14px; line-height: 1.6; }
.zu-tpanel--src a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.zu-dark .zv-table { background: #0b0b0b; box-shadow: 0 0 0 1px #2e2e2e; }
html body .zu .zu-dark .zv-table__head { background: #232323; border: 0; }
html body .zu .zu-dark .zv-table__head > span { background: transparent; color: #fff; font: 500 14px/1.3 var(--z-font-body); }
html body .zu .zu-dark .zv-table__row { background: #0b0b0b; border-color: #2e2e2e; }
html body .zu .zu-dark .zv-table__row > span { background: transparent; border-color: #2e2e2e; color: #fff; font-size: 14px; }
html body .zu .zu-dark .zv-table__row > span + span { box-shadow: -1px 0 0 #2e2e2e; }
html body .zu .zu-dark .zv-table__row > .zv-table__z { background: rgba(255, 255, 255, .03); }
.zu-dark .zv-table__t, .zu-dark .zv-table__t span { color: rgba(255,255,255,.72) !important; }
.zu-dark .zv-table__z i { background: var(--zu-yellow); color: #000; }
.zu-dark .zv-table__t i { color: rgba(255,255,255,.5); }
.zu-dark .zv-fn a { color: rgba(255,255,255,.55) !important; }

/* What to look for (Figma "How should you choose"): sticky heading with a hairline rule and the pixel-field texture
   under it; the checklist as beige rows with black icon tiles. */
.zu-choose { overflow: hidden; }
.zu-choose__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.zu-choose__l { grid-column: 1 / span 5; position: sticky; top: 120px; min-height: 420px; padding-bottom: 40px; background: url('/design-assets/squares/pixel-field.svg') no-repeat -60px 100%; }
.zu-choose__l h2 { margin: 0; max-width: 14ch; color: #000; }
.zu-choose__l::after { content: ""; position: absolute; left: calc(100% + 24px); width: 100vw; top: 24px; height: 1px; background: var(--zu-rule); }
.zu-choose__list { position: relative; grid-column: 7 / -1; display: grid; gap: 12px; margin: 88px 0 0; padding: 0; list-style: none; }
.zu-choose__list li { display: flex; align-items: flex-start; gap: 20px; padding: 24px 28px; background: var(--zu-beige); }
.zu-choose__list p { margin: 0; color: #000; }

/* FAQ: the site FAQ recipe (beige field, "FAQs.", contact line and the black demo button left, questions right). */
.zu-faq { background: var(--zu-beige); }
.zu-faq__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.zu-faq__l { grid-column: 1 / span 5; }
.zu-faq__l h2 { margin: 0 0 24px; color: #000; }
.zu-faq__l p { margin: 0 0 32px; max-width: 24rem; color: #000; }
.zu-faq__l p a { color: #000; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.zu-faq__list { grid-column: 7 / -1; border-top: 1px solid var(--zu-rule); }
.zu-faq__item { border-bottom: 1px solid var(--zu-rule); }
.zu-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 32px; cursor: pointer; list-style: none; }
.zu-faq__item summary::-webkit-details-marker { display: none; }
.zu-faq__item summary h3 { margin: 0; font-family: var(--z-font-body); color: #000; }
.zu-faq__item summary:focus-visible { outline: 2px solid var(--ds-forest, #183e3d); outline-offset: -2px; }
.zu-faq__ico { flex: 0 0 20px; width: 20px; height: 20px; color: #000; transition: transform .2s; }
.zu-faq__item[open] .zu-faq__ico { transform: rotate(180deg); }
.zu-faq__a { padding: 0 32px 24px; }
.zu-faq__a p { margin: 0; color: #000; }

/* Related use-case pages: one compact row of links before the closing CTA. */
.zu-related { padding: var(--z-space-band, 64px) 0 0; background: #fff; }
.zu .zu-related__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.zu-related__list a { display: flex; align-items: center; gap: 14px; height: 100%; padding: 16px; background: #fff; box-shadow: 0 0 0 1px var(--zu-rule); text-decoration: none; transition: box-shadow .2s; }
.zu-related__list a:hover { box-shadow: 0 0 0 1px var(--ds-neutral-deep, #c8bfb1), 0 12px 24px -16px rgba(12,10,8,.25); }
.zu-related__mark { display: grid; place-items: center; flex: 0 0 40px; height: 40px; padding: 6px; box-shadow: 0 0 0 1px var(--zu-rule); }
.zu-related__mark img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(1); transition: filter .2s; }
.zu-related__list a:hover .zu-related__mark img { filter: none; }
.zu-related__list a > span:nth-child(2) { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
.zu-related__list b { font-weight: 500; color: #000; font-size: 15px; }
.zu-related__list small { font-size: 13px; color: var(--ds-ink-caption, #838383); }
.zu-related__list i { font-style: normal; color: #000; }

@media (max-width: 1279px) {
  .zu-spot__panel { padding: 56px; gap: 40px; }
  .zu .zu-related__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .zu-spot__panel, .zu-start__grid { grid-template-columns: 1fr; }
  .zu-start__photo { max-height: 420px; }
  .zu-g2 { grid-template-columns: 1fr; padding: 40px; gap: 32px; }
  .zu-choose__grid, .zu-faq__grid { grid-template-columns: 1fr; row-gap: 32px; }
  .zu-choose__l, .zu-choose__list, .zu-faq__l, .zu-faq__list { grid-column: 1 / -1; }
  .zu-choose__l { position: static; min-height: 0; padding-bottom: 0; background: none; }
  .zu-choose__l::after { display: none; }
  .zu-choose__list { margin-top: 0; }
}
@media (max-width: 767px) {
  .zu-lock { gap: 10px; padding: 10px 14px; flex-wrap: wrap; }
  .zu-lock__z { height: 18px; } .zu-lock__mark { height: 24px; } .zu-lock__name { font-size: 16px; }
  .zu-sh { margin-bottom: 40px; text-align: left; }
  .zu-answer__box { padding: 28px 20px; text-align: left; }
  .zu-spot__panel { padding: 40px 20px; }
  .zu-start__panel { padding: 40px 20px; }
  .zu-g2 { padding: 28px 20px; }
  .zu-stats { grid-template-columns: 1fr; }
  .zu-stats li { padding: 24px 20px; }
  .zu-tpanel { padding: 20px 12px; } .zu-tpanel__t { font-size: 20px; }
  .zu-tabs { margin: 24px 0 28px; }
  .zu-choose__list li { padding: 20px; gap: 16px; }
  .zu-faq__item summary { padding: 20px 0; } .zu-faq__a { padding: 0 0 20px; }
  .zu .zu-related__list { grid-template-columns: 1fr; }
  .zu .zb-conv__lines { display: none !important; }
}
@media (prefers-reduced-motion: reduce) { .zu-faq__ico { transition: none; } }

/* rev 6: the half cards size to their graphics (no forced 300px copy block or 440px stage), so the graphic fills the
   card instead of leaving an empty middle; both half graphics carry a header, rows and a closing line. */
html body .zu-out .z5-card--half .z5-card__copy { min-height: 0; }
html body .zu-out .z5-card--half .z5-card__copy .z5-card__btn { margin-top: 28px; }
html body .zu-out .z5-card--half .z5-card__art:has(> .zc:not(.zc--photo)) { margin-top: 36px; }
html body .zu-out .z5-card--half .zc:not(.zc--photo) { min-height: 0; }
.zu-choose__l { min-height: 500px; }
@media (max-width: 767px) {
  html body .zu-out .zb-gauges { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  html body .zu-out .zb-alert { display: none; }
}
