/* Use cases and prompt library (/use-cases). Builds on hai-brand.css (nav, footer, hx-btn).
   Oct 20 (AK, use-cases revamp): split hero with a small assistant-window animation (.ucx), the ten use cases as a list and
   a preview (.ucl), the GitHub card moved down to just before the FAQ. The retired worked-example visuals (.ucv), team
   tabs and "run the prompts" band CSS went with them (backup: 04-build/backups/use-cases-revamp-oct20/).
   Brand only: gold #FFC61E, gold 300 #FFE8A5, violet #341D99 (focus only), ink #110A33, lavender #DDD6FF, mist #F6F4FF,
   slate #5B6478, white. 4px spacing, 24px corners, pill buttons, text 12px minimum. Motion: transform and opacity. */
body.ucp{--ink:#110a33;--slate:#5b6478;--lav:#ddd6ff;--mist:#f6f4ff;--cream:#fff4d2;--gold:#ffc61e;--gold3:#ffe8a5;--violet:#341d99;
  --line:rgba(17,10,51,.1);--sh-sm:0 2px 8px rgba(17,10,51,.08);--sh-md:0 12px 32px -12px rgba(17,10,51,.22);
  --ease:cubic-bezier(.23,1,.32,1);--mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  margin:0;background:#fff;color:var(--ink);font-family:Manrope,"Manrope Fallback",Arial,sans-serif;overflow-x:clip}
.ucp .skip{position:absolute;left:16px;top:-64px;z-index:1001;background:var(--ink);color:#fff;padding:8px 16px;border-radius:999px}
.ucp .skip:focus{top:16px}
.uc-shell{max-width:1160px;margin:0 auto;padding:0 24px}
/* Layout-shift fix: while Cabinet Grotesk loads, Arial Bold is about 10% wider; this fallback is sized to Cabinet's metrics. */
@font-face{font-family:"Cabinet Fallback";src:local("Arial Bold"),local("Arial-BoldMT"),local("Arial");font-weight:700;size-adjust:90.8%;ascent-override:95.8%;descent-override:30.8%;line-gap-override:0%}
body.ucp h1,body.ucp h2,body.ucp h3,body.ucp .ucl-tab b{font-family:"Cabinet Grotesk","Cabinet Fallback",Arial,sans-serif}
@font-face{font-family:"Manrope Fallback";src:local("Arial");font-weight:400 600;size-adjust:102%;ascent-override:104.9%;descent-override:29.4%;line-gap-override:0%}
@font-face{font-family:"Manrope Fallback";src:local("Arial Bold"),local("Arial-BoldMT");font-weight:700 800;size-adjust:100%;ascent-override:107%;descent-override:30%;line-gap-override:0%}
.ucp h1,.ucp h2,.ucp h3{text-wrap:balance}
.ucp p{text-wrap:pretty}
.uc-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.uc-live{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.uc-h2{font-size:clamp(28px,3.4vw,44px);line-height:1.12;text-align:center;margin:0}

/* ================= hero: words left, the assistant window right ================= */
.uc-hero{background:var(--mist);padding:112px 0 48px}
.uc-hero__in{display:grid;grid-template-columns:minmax(0,43fr) minmax(0,57fr);gap:48px;align-items:center}
.uc-hero h1{font-size:clamp(36px,4.2vw,56px);line-height:1.06;letter-spacing:-.01em;margin:0 0 16px}
.uc-lead{font-size:18px;line-height:1.55;margin:0 0 32px;max-width:30em;color:var(--slate)}
.uc-cta{display:flex;flex-wrap:wrap;gap:12px;align-items:center}

/* ---------- the assistant window (.ucx): a prompt types, sends, the answer card arrives, next team ---------- */
.ucx{position:relative;margin:0;border-radius:24px;background:#fff;border:1px solid rgba(52,29,153,.18);box-shadow:var(--sh-md);overflow:hidden;isolation:isolate;
  container-type:inline-size;font:500 13px/1.4 Manrope,"Manrope Fallback",Arial,sans-serif;color:var(--ink);text-align:left}
.ucx *,.ucx *::before,.ucx *::after{box-sizing:border-box}
.ucx p,.ucx ul{margin:0;padding:0;list-style:none}
.ucx i,.ucx em{font-style:normal}
.ucx-stage{position:relative;display:flex;flex-direction:column;pointer-events:none;cursor:default}
.ucx .pm{flex:none;display:block;width:20px;height:20px;border-radius:50%}
.ucx .pm--g,.ucl .pm--g{display:grid;place-items:center;background:var(--violet);color:var(--cream)}
.pm--g svg{width:12px;height:12px}

/* top bar: the Humantic logo and the four team tabs; the active team's gold underline grows in */
.ucx-bar{flex:none;display:flex;align-items:center;gap:16px;height:48px;padding:0 56px 0 16px;background:var(--mist);border-bottom:1px solid var(--line)}
.ucx-logo{flex:none;display:block;width:112px;height:auto}
.ucx-tabs{display:flex;align-self:stretch;margin-left:auto;gap:2px}
.ucx-tab{position:relative;display:flex;align-items:center;padding:0 8px;font:700 12px/1 Manrope,"Manrope Fallback",Arial,sans-serif;color:var(--slate);white-space:nowrap;transition:color .2s var(--ease)}
.ucx-tab::after{content:"";position:absolute;left:8px;right:8px;bottom:-1px;height:3px;border-radius:3px 3px 0 0;background:var(--gold);transform:scaleX(0);transition:transform .3s var(--ease)}
.ucx[data-k="0"] .ucx-tab[data-k="0"],.ucx[data-k="1"] .ucx-tab[data-k="1"],.ucx[data-k="2"] .ucx-tab[data-k="2"],.ucx[data-k="3"] .ucx-tab[data-k="3"]{color:var(--ink)}
.ucx[data-k="0"] .ucx-tab[data-k="0"]::after,.ucx[data-k="1"] .ucx-tab[data-k="1"]::after,.ucx[data-k="2"] .ucx-tab[data-k="2"]::after,.ucx[data-k="3"] .ucx-tab[data-k="3"]::after{transform:none}

/* pause button (WCAG 2.2.2): static label, aria-pressed carries the state */
.ucx-pause{position:absolute;z-index:5;top:8px;right:8px;display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:50%;background:var(--ink);color:#fff;cursor:pointer;transition:transform .16s var(--ease),background-color .16s ease}
.ucx-pause::before{content:"";position:absolute;inset:-6px}
.ucx-pause svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.ucx-pause .i-play{display:none;fill:currentColor;stroke:none}
.ucx-pause[aria-pressed="true"] .i-pause{display:none}
.ucx-pause[aria-pressed="true"] .i-play{display:inline}
.ucx-pause:active{transform:scale(.96)}
.ucx-pause:focus-visible{outline:2px solid var(--violet);outline-offset:3px}
@media (hover:hover) and (pointer:fine){.ucx-pause:hover{background:var(--violet)}}
.ucx-pause[hidden]{display:none}

/* answer area: the four answer cards share one grid cell, so the window is as tall as the tallest answer at every
   width (it never jumps between teams); only the active team's shows */
.ucx-body{display:grid;margin:16px 16px 0}
.ucx-ans{position:relative;grid-area:1/1;opacity:0;visibility:hidden;transition:opacity .2s ease-out,visibility 0s linear .2s}
.ucx[data-k="0"] .ucx-ans[data-k="0"],.ucx[data-k="1"] .ucx-ans[data-k="1"],.ucx[data-k="2"] .ucx-ans[data-k="2"],.ucx[data-k="3"] .ucx-ans[data-k="3"]{opacity:1;visibility:visible;transition:opacity .2s ease-out,visibility 0s}
/* before the answer arrives, the empty chat shows which use case is coming (like an assistant's new-chat screen) */
.ucx-hi{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;gap:4px;text-align:center;opacity:0;transform:translateY(4px);transition:opacity .2s ease-out,transform .3s var(--ease)}
.ucx-hi__m{display:flex;margin-bottom:6px}
.ucx-hi__m .pm{width:36px;height:36px;box-shadow:0 0 0 3px #fff}
.ucx-hi__m .pm+.pm{margin-left:-8px}
.ucx-hi__m .pm--g svg{width:18px;height:18px}
.ucx-hi b{font:700 22px/1.15 "Cabinet Grotesk","Cabinet Fallback",Arial,sans-serif}
.ucx-hi>span:last-child{font-size:12px;font-weight:700;color:var(--slate)}
.ucx.is-armed:not(.s3) .ucx-hi{opacity:1;transform:none}
.ucx-card{padding:12px 14px;border-radius:16px;background:#fff;border:1px solid var(--line);box-shadow:var(--sh-sm);transition:opacity .24s var(--ease),transform .32s var(--ease)}
.ucx-hd{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-bottom:10px !important}
.ucx-src{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 10px 0 4px;border-radius:999px;background:var(--lav);font-weight:800;font-size:12px;white-space:nowrap}
.ucx-uc{margin-left:auto;font-size:12px;font-weight:700;color:var(--slate);white-space:nowrap}
.ucx-k{font-size:12px;font-weight:700;color:var(--slate)}
.ucx-av,.ucx-lg,.ucx-stack i,.ucx-pp i,.ucx-dz i{flex:none;display:inline-grid;place-items:center;font:800 12px/1 Manrope,"Manrope Fallback",Arial,sans-serif;color:var(--ink)}
.ucx-av{width:40px;height:40px;border-radius:50%;background:var(--gold3);font-size:14px}
.ucx-nm{min-width:0;display:grid}
.ucx-nm b{font:700 15px/1.2 "Cabinet Grotesk","Cabinet Fallback",Arial,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ucx-nm small{font-size:12px;color:var(--slate);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ucx .r{transition:opacity .24s var(--ease),transform .32s var(--ease);transition-delay:calc(var(--i,0) * 110ms)}

/* Sales: Agent Pi's read on one buyer */
.ucx-who{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;column-gap:10px;padding-bottom:10px;border-bottom:1px solid var(--mist)}
.ucx-disc{display:flex;align-items:center;gap:8px;padding:4px 10px 4px 4px;border-radius:12px;background:var(--mist)}
.ucx-disc b{display:block;font-size:12px;font-weight:800}
.ucx-disc small{display:block;font-size:12px;color:var(--slate);white-space:nowrap}
.ucx-q4{display:grid;grid-template-columns:repeat(2,18px);grid-auto-rows:18px;gap:2px}
.ucx-q4 i{display:grid;place-items:center;border-radius:4px;background:#fff;font:800 12px/1 Manrope,"Manrope Fallback",Arial,sans-serif;color:var(--slate)}
.ucx-q4 i.is-on{background:var(--gold);color:var(--ink)}
.ucx-reads{display:grid;gap:2px;margin-top:8px !important}
.ucx-reads li{display:grid;grid-template-columns:20px 112px minmax(0,1fr);align-items:center;column-gap:10px;min-height:32px}
.ucx-reads b{font-size:13px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ucx-ic{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--mist);color:var(--ink)}
.ucx-ic.is-yes{background:var(--gold)}
.ucx-ic.is-no{background:var(--lav)}

/* Marketing: accounts in market, each with its committee and Iriis score band */
.ucx-accts{display:grid;gap:4px}
.ucx-accts li{display:grid;grid-template-columns:128px minmax(0,1fr) auto 40px;align-items:center;column-gap:10px;min-height:44px;padding:4px 6px;border-radius:12px}
.ucx-accts li:first-child{background:var(--mist)}
.ucx-lg{width:32px;height:32px;border-radius:8px;background:var(--lav)}
.ucx-lg.is-g{background:var(--gold3)}
.ucx-lg.is-logo{width:128px;border:1px solid var(--line);background:#fff;padding:0 10px}
.ucx-lg.is-logo img{display:block;max-width:100%;max-height:20px;width:auto;height:auto}
.ucx-mk{display:inline-block;width:12px;height:12px;vertical-align:-2px;margin-inline:2px 0}
.ucx-sample{grid-area:2/1;justify-self:end;margin:8px 0 0 !important;font-size:12px;line-height:16px;color:var(--slate)}
.ucx-stack{display:flex;align-items:center}
.ucx-stack i{width:28px;height:28px;border-radius:50%;background:var(--gold3);box-shadow:0 0 0 2px #fff;font-size:12px;letter-spacing:-.02em}
.ucx-stack i+i{margin-left:-4px}
.ucx-stack i:nth-child(2){background:var(--lav)}
.ucx-stack em{margin-left:6px;font-size:12px;font-weight:700;color:var(--slate)}
/* Oct 27 (Amar C14: bars, not scores): the intent score pill is a bar */
.ucx-sc{position:relative;display:block;align-self:center;height:8px;border-radius:999px;background:#fff;box-shadow:inset 0 0 0 1px var(--lav);overflow:hidden}
.ucx-sc i{position:absolute;inset:0 auto 0 0;width:var(--w);border-radius:999px;background:var(--lav)}
.ucx-sc.is-80 i{background:var(--gold)}
.ucx-sc.is-73 i{background:var(--gold3);box-shadow:inset 0 0 0 1px var(--gold)}
.ucx-sc.is-60 i{background:var(--lav)}
.ucx-ft{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px !important;padding-top:8px;border-top:1px solid var(--mist)}
.ucx-btn{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 12px 0 4px;border-radius:999px;background:var(--ink);color:#fff;font-weight:800;font-size:12px;white-space:nowrap}
.ucx-btn .pm{width:20px;height:20px}
.ucx-btn.is-done{padding:0 12px 0 8px;background:var(--gold);color:var(--ink)}

/* GTM Engineering: the contact table */
.ucx-th,.ucx-tr{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) minmax(0,1.1fr);column-gap:10px;align-items:center}
.ucx-th{padding-bottom:6px;font-size:12px;font-weight:700;color:var(--slate);border-bottom:1px solid var(--mist)}
.ucx-tr{min-height:36px;border-bottom:1px solid var(--mist);font-size:13px}
.ucx-tr:last-child{border-bottom:0}
.ucx-tr>span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ucx-pp,.ucx-dz{display:flex;align-items:center;gap:8px;font-weight:700}
.ucx-pp i{width:24px;height:24px;border-radius:50%;background:var(--gold3)}
.ucx-dz i{width:22px;height:22px;border-radius:6px;background:var(--lav)}
.ucx-tr:first-of-type .ucx-dz i{background:var(--gold)}

/* Product and AI: the buyer context an agent gets back */
.ucx-code{padding:10px 12px;border-radius:12px;background:var(--ink);color:#fff;font:500 12px/20px var(--mono)}
.ucx .ucx-cl{display:flex;align-items:baseline;white-space:nowrap;text-wrap:nowrap;overflow:hidden;border-radius:6px;padding:0 4px;margin:0 -4px !important}
.ucx-cl em{margin-left:auto;padding-left:12px;color:var(--gold3);font-family:Manrope,"Manrope Fallback",Arial,sans-serif;font-weight:700}
.ucx-cl.is-hl{background:rgba(255,198,30,.16)}
.c-fn{color:var(--gold)}
.c-k{color:var(--lav)}
.c-s{color:#fff;font-weight:700;padding-left:6px}
.ucx-cl:first-child .c-s{padding-left:0}

/* composer: the prompt types in word by word, then the send button presses */
.ucx-comp{flex:none;margin:12px 16px 16px;padding:12px 10px 10px 14px;border-radius:16px;background:#fff;border:1px solid var(--lav);box-shadow:var(--sh-sm)}
.ucx-pr{display:grid}
.ucx-ph,.ucx-q{grid-area:1/1;padding-right:4px;font-size:13px;line-height:19px}
.ucx-ph{color:var(--slate);opacity:0}
.ucx-q{opacity:0;visibility:hidden;font-weight:600}
.ucx[data-k="0"] .ucx-q[data-k="0"],.ucx[data-k="1"] .ucx-q[data-k="1"],.ucx[data-k="2"] .ucx-q[data-k="2"],.ucx[data-k="3"] .ucx-q[data-k="3"]{opacity:1;visibility:visible}
.ucx-q .w{transition:opacity .2s ease-out} /* Oct 27 (Amar C14: lighter): the prompt appears whole, no word-by-word typing */
.ucx-row{display:flex;align-items:center;justify-content:space-between;margin-top:8px}
.ucx-tool{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 10px 0 4px;border-radius:999px;background:var(--mist);box-shadow:inset 0 0 0 1px var(--lav);font-weight:800;font-size:12px}
.ucx-live{width:8px;height:8px;margin-left:2px;border-radius:50%;background:var(--gold);box-shadow:0 0 0 3px rgba(255,198,30,.3)}
.ucx-send{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--ink);color:#fff;transition:transform .16s var(--ease),background-color .16s ease,color .16s ease}

/* the step model. Shipped markup = finished frame (s1-s4 on, no .is-armed). JS arms it and steps through:
   s1 the prompt types, s2 send presses, s3 the answer card arrives, s4 its rows fill in. */
.ucx.is-armed:not(.s1) .ucx-ph{opacity:1}
.ucx.is-armed:not(.s1) .ucx-q .w{opacity:0;transition-delay:0s}
.ucx.is-armed.s2:not(.s3) .ucx-send{transform:scale(.88);background:var(--gold);color:var(--ink)}
.ucx.is-armed:not(.s3) .ucx-card{opacity:0;transform:translateY(10px) scale(.98)}
.ucx.is-armed:not(.s4) .r{opacity:0;transform:translateY(6px);transition-delay:0s}
/* end of a scene: the card and the prompt fade together, then snap back with no transition */
.ucx.is-out .ucx-card,.ucx.is-out .ucx-q{opacity:0 !important;transition:opacity .18s ease-out !important}
.ucx.is-snap .ucx-body *,.ucx.is-snap .ucx-comp *{transition:none !important}

/* narrow windows (tablet edges, phones): only the active team's tab shows; the busier columns step back */
@container (max-width:520px){
  .ucx-logo{width:96px}
  .ucx-tab{display:none}
  .ucx[data-k="0"] .ucx-tab[data-k="0"],.ucx[data-k="1"] .ucx-tab[data-k="1"],.ucx[data-k="2"] .ucx-tab[data-k="2"],.ucx[data-k="3"] .ucx-tab[data-k="3"]{display:flex}
  .ucx-reads li{grid-template-columns:20px minmax(0,1fr);row-gap:0;padding:2px 0}
  .ucx-reads .ucx-k{grid-column:2}
  .ucx-reads b{grid-column:2;white-space:normal}
  .ucx-reads .ucx-ic{grid-row:1/3}
}
@container (max-width:420px){
  .ucx-uc{display:none}
  .ucx-who{grid-template-columns:40px minmax(0,1fr)}
  .ucx-disc{grid-column:1/-1;margin-top:8px;justify-self:start}
  .ucx-accts li{grid-template-columns:minmax(0,1fr) 40px;row-gap:4px;padding:6px}
  .ucx-accts li>.ucx-lg{grid-column:1;grid-row:1}
  .ucx-accts li>.ucx-nm{grid-column:1;grid-row:2}
  .ucx-accts li>.ucx-sc{grid-column:2;grid-row:1/3}
  .ucx-lg.is-logo{width:112px}
  .ucx-stack{display:none}
  .ucx-accts .ucx-nm small{white-space:normal}
  .ucx-th,.ucx-tr{grid-template-columns:minmax(0,1fr) auto}
  .ucx-th span:nth-child(3),.ucx-tr>span:nth-child(3){display:none}
  .ucx-ft .ucx-k{display:none}
  .ucx-ft{justify-content:flex-end}
  /* the buyer context: each value drops under its key */
  .ucx .ucx-cl{display:block;white-space:normal;text-wrap:wrap}
  .ucx-cl .c-s{display:block;padding-left:16px}
  .ucx-cl:first-child .c-s{display:inline;padding-left:0}
  .ucx-cl em{display:none}
}

/* ================= the ten use cases: a list and a preview ================= */
.ucl-sec{padding:64px 0;background:#fff}
.ucl-anchor{display:block;height:0}
.ucl-sub{max-width:62ch;margin:12px auto 0;text-align:center;font-size:16px;line-height:1.55;color:var(--slate)}
.ucl-mcp{display:inline-flex;align-items:center;gap:6px;font-weight:800;color:var(--ink);white-space:nowrap;text-decoration:underline;text-decoration-color:var(--lav);text-decoration-thickness:2px;text-underline-offset:4px}
@media (hover:hover) and (pointer:fine){.ucl-mcp:hover{text-decoration-color:var(--ink)}}
/* team filter: one segmented control, the selected team on a white pill */
.ucl-filter{display:flex;gap:4px;width:max-content;max-width:100%;margin:24px auto 0;padding:4px;border-radius:999px;background:var(--mist);border:1px solid var(--lav)}
.ucl-filter button{min-height:40px;padding:0 16px;border:0;border-radius:999px;background:transparent;color:var(--slate);font:700 14px/1 Manrope,"Manrope Fallback",Arial,sans-serif;white-space:nowrap;cursor:pointer;touch-action:manipulation;transition:background-color .15s ease-out,color .15s ease-out,box-shadow .15s ease-out}
.ucl-filter button.is-on{background:#fff;color:var(--ink);box-shadow:var(--sh-sm)}
@media (hover:hover) and (pointer:fine){.ucl-filter button:not(.is-on):hover{color:var(--ink)}}
.ucl-filter button:active{transform:scale(.96)}

.ucl{max-width:1040px;margin:32px auto 0}
/* the list: one row per use case (name, its team); the selected row shares the preview's mist */
.ucl-tab{display:flex;align-items:center;gap:12px;width:100%;min-height:44px;padding:6px 16px;border:0;border-radius:16px;background:transparent;color:var(--ink);font:inherit;text-align:left;cursor:pointer;touch-action:manipulation;transition:background-color .15s ease-out,box-shadow .15s ease-out}
.ucl-tab b{flex:1;min-width:0;font-size:17px;line-height:1.2;font-weight:700}
.ucl-tab>span{font-size:12px;font-weight:700;color:var(--slate);white-space:nowrap}
.ucl-chev{flex:none;color:var(--ink);opacity:0;transition:opacity .15s ease-out,transform .2s var(--ease)}
.ucl-tab[aria-expanded="true"]{background:var(--mist);box-shadow:inset 0 0 0 1px var(--lav)}
.ucl-tab[aria-expanded="true"] .ucl-chev{opacity:1}
@media (hover:hover) and (pointer:fine){.ucl-tab:not([aria-expanded="true"]):hover{background:var(--mist)}}
.ucl-tab:focus-visible,.ucl-filter button:focus-visible,.ucl a:focus-visible,.ucl-sec a:focus-visible{outline:2px solid var(--violet);outline-offset:2px}
.ucl-tab[hidden],.ucl-panel[hidden]{display:none}

/* the preview */
.ucl-panel{padding:32px;border-radius:24px;background:var(--mist);border:1px solid var(--lav)}
.ucl-panel h3{margin:0 0 8px;font-size:30px;line-height:1.15}
.ucl-job{margin:0;font-size:18px;line-height:1.5;font-weight:600}
.ucl-def{margin:8px 0 0;font-size:15px;line-height:1.55;color:var(--slate);max-width:60ch}
.ucl-how{list-style:none;margin:24px 0 0;padding:0;display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:24px}
.ucl-how li{display:grid;grid-column:1/-1;grid-template-columns:subgrid;align-items:center;padding:10px 0;border-top:1px solid var(--lav)}
.ucl-how li:last-child{border-bottom:1px solid var(--lav)}
.ucl-chips{display:flex;flex-wrap:wrap;gap:6px}
.ucl-chip{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 12px 0 6px;border-radius:999px;background:var(--lav);color:var(--ink);font-size:13px;font-weight:800;text-decoration:none;white-space:nowrap;transition:background-color .15s ease-out}
.ucl-chip .pm{flex:none;width:20px;height:20px;border-radius:50%}
@media (hover:hover) and (pointer:fine){.ucl-chip:hover{background:var(--gold3)}}
.ucl-what{font-size:15px;line-height:1.45}

/* the single report CTA */
.ucl-cta{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px 16px;margin-top:32px;color:var(--slate);font-size:14px;font-weight:600}
.ucl-go{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:48px;padding:0 24px;border-radius:999px;background:var(--gold);color:var(--ink);font-weight:800;font-size:16px;text-decoration:none;transition:transform .16s var(--ease)}
.ucl-go:active{transform:scale(.96)}
.ucl-go--line{background:transparent;box-shadow:inset 0 0 0 1.5px var(--ink);transition:background-color .15s,color .15s,transform .16s var(--ease)}
.ucl-go--line:hover{background:var(--ink);color:#fff}
.ucl-go:focus-visible{outline:2px solid var(--ink);outline-offset:2px}

/* desktop and tablet (JS on): list left, the selected use case's preview right; every preview takes the same spot.
   The last row is 1fr, so a preview taller than the list grows that row, not the list rows. */
@media (min-width:900px){
  .ucl.is-js{display:grid;grid-template-columns:minmax(0,300px) minmax(0,1fr);grid-template-rows:repeat(10,auto) 1fr;column-gap:24px}
  .ucl.is-js .ucl-tab{grid-column:1;margin-bottom:2px}
  .ucl.is-js .ucl-panel{grid-column:2;grid-row:1/-1;align-self:start}
  /* Nov 1: with the prompt box gone the previews are shorter and differ more; use-cases.js sets --ucl-h to the tallest preview so every one
     takes the same height (the section never jumps when you switch), and the visual sits in the middle of any slack (no empty strip). */
  .ucl.is-js .ucl-panel:not([hidden]){display:flex;flex-direction:column;box-sizing:border-box}
  .ucl.is-js .ucl-panel .ucl-vis{flex:1;align-content:center}
}
/* no JS: every use case shows, one under the other */
.ucl:not(.is-js) .ucl-tab{pointer-events:none;margin-top:16px}
.ucl:not(.is-js) .ucl-chev{display:none}

/* every jump target lands clear of the fixed nav (with hai-brand's scroll-padding) */
.ucp [id]{scroll-margin-top:16px}
.ucp .ucl-panel{scroll-margin-top:16px}
.ucp [tabindex="-1"]:focus{outline:0}

/* ================= GitHub card (Oct 20, Krish: moved up above the use cases, brand gold with the Humantic logo) ================= */
/* AK Nov 7: the band sits under the logo strip, above the use cases: slimmer padding, 28px above and 32px below */
.ucb-ghb{padding:28px 0 0;background:#fff}
.ucb-ghb + .ucl-sec{padding-top:32px}
.ucb-ghc{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:20px;max-width:1040px;margin:0 auto;padding:14px 20px;border-radius:24px;background:var(--gold);color:var(--ink);text-decoration:none;box-shadow:var(--sh-md);transition:transform .2s var(--ease),box-shadow .2s var(--ease)}
.ucb-ghc__logo{display:grid;place-items:center;padding:8px 14px;border-radius:16px;background:#fff}
.ucb-ghc__logo img{display:block;width:120px;height:auto}
.ucb-ghc__txt b{display:block;font:700 20px/1.2 "Cabinet Grotesk","Cabinet Fallback",Arial,sans-serif;color:var(--ink)}
.ucb-ghc__txt span{display:block;margin-top:4px;font-size:15px;line-height:1.45;font-weight:600;color:var(--ink);text-wrap:pretty;max-width:52ch}
.ucb-ghc__txt b{text-wrap:balance}
.ucb-ghc__go{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 18px;border-radius:999px;background:var(--ink);color:#fff;font-weight:800;font-size:15px;white-space:nowrap;transition:background-color .15s ease-out}
.ucb-ghc__go svg{flex:none}
.ucb-ghc__go svg:last-child{width:16px;height:16px;transition:transform .2s var(--ease)}
@media (hover:hover) and (pointer:fine){.ucb-ghc:hover{transform:translateY(-2px);box-shadow:0 20px 40px -16px rgba(17,10,51,.35)}.ucb-ghc:hover .ucb-ghc__go{background:var(--violet)}.ucb-ghc:hover .ucb-ghc__go svg:last-child{transform:translateX(3px)}}
.ucb-ghc:active{transform:scale(.99)}
.ucb-ghc:focus-visible{outline:3px solid var(--violet);outline-offset:3px}
@media (max-width:820px){.ucb-ghc{grid-template-columns:auto minmax(0,1fr);gap:16px 20px}.ucb-ghc__go{grid-column:1/-1;justify-content:center}}
@media (max-width:640px){.ucb-ghc{grid-template-columns:minmax(0,1fr);padding:16px;gap:12px}.ucb-ghc__logo{justify-self:start;padding:8px 12px}.ucb-ghc__logo img{width:110px}.ucb-ghc__txt b{font-size:18px}}

/* ================= responsive ================= */
@media (max-width:1100px){
  .uc-hero__in{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:32px}
}
@media (max-width:960px){
  .uc-hero{padding:104px 0 48px}
  .uc-hero__in{grid-template-columns:minmax(0,1fr);gap:32px}
  .uc-hero__txt{max-width:640px}
  .ucx{width:100%}
}
@media (max-width:899px){
  /* tablets and phones: the list rows open their use case in place, one at a time */
  .ucl-tab{min-height:56px;border-radius:16px}
  .ucl-tab[aria-expanded="true"]{border-radius:16px 16px 0 0;box-shadow:inset 1px 1px 0 var(--lav),inset -1px 0 0 var(--lav)}
  .ucl-chev{opacity:.6;transform:rotate(90deg)}
  .ucl-tab[aria-expanded="true"] .ucl-chev{transform:rotate(-90deg)}
  .ucl.is-js .ucl-tab{margin-bottom:4px}
  .ucl.is-js .ucl-tab[aria-expanded="true"]{margin-bottom:0}
  .ucl.is-js .ucl-panel{margin-bottom:8px;padding:4px 16px 16px;border-top:0;border-radius:0 0 16px 16px}
  .ucl.is-js .ucl-panel h3{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .ucp .ucl-panel{scroll-margin-top:76px}
  .ucl-job{font-size:16px}
  .ucl-how{margin-top:16px}
}
@media (max-width:640px){
  .ucl-how{display:block}
  .ucl-how li{grid-template-columns:minmax(0,1fr);row-gap:6px}
  .ucl-what{font-size:14px}
  .ucl-filter button{min-height:44px}
  /* phones: product chips and the MCP link get a 44px tap height without growing (the hit area overhangs) */
  .ucl-chip,.ucl-mcp{position:relative}
  .ucl-chip::after,.ucl-mcp::after{content:"";position:absolute;inset:-6px -2px}
}
@media (max-width:560px){
  .uc-shell{padding:0 16px}
  .uc-hero{padding:96px 0 40px}
  .uc-lead{font-size:16px;margin-bottom:24px}
  .ucl-sec{padding:48px 0}
  /* five filter buttons: three over two, never one alone on a row */
  .ucl-filter{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));width:100%;border-radius:24px}
  .ucl-filter button{grid-column:span 2;padding:0 8px;font-size:14px}
  .ucl-filter button:nth-child(n+4){grid-column:span 3}
  .ucb-ghb{padding-top:16px}
}
/* Phones: the two hero buttons stack at full width (side by side they wrapped in the fallback font, CLS) */
@media (max-width:440px){.uc-cta{display:grid;grid-template-columns:minmax(0,1fr)}.uc-cta .hx-btn{justify-content:center}}
@media (max-width:767px){.ucx-pause{width:44px;height:44px;top:2px;right:2px}.ucx-bar{padding-right:56px}}

/* reduced motion: the finished frame, no movement (JS also never arms the animation) */
@media (prefers-reduced-motion:reduce){
  .ucx *,.ucl-tab,.ucl-chev,.ucl-filter button,.ucb-ghc,.ucb-ghc__go{transition:none !important}
}

/* MOBILE-B (Oct 21): a little less air on phones; the use-case list rows stay 48px tall */
@media (max-width:767px){
  .uc-hero{padding:92px 0 32px}
  .uc-lead{margin-bottom:16px}
  .ucl-sec{padding:36px 0}
  .ucl-tab{min-height:48px;padding-block:4px}
  .ucl.is-js .ucl-tab{margin-bottom:2px}
  .ucl.is-js .ucl-panel{padding:2px 14px 14px}
  .ucb-ghb{padding-top:16px}
  .ucb-ghb + .ucl-sec{padding-top:24px}
}

/* MOBILE-B (Oct 21): the hero's two CTAs share one row on phones (stack only below 360px) */
@media (min-width: 360px) and (max-width: 767px) {
  .uc-cta { display: flex; flex-wrap: nowrap; align-items: stretch; justify-content: center; gap: 8px; }
  .uc-cta .hx-btn { flex: 1 1 auto; width: auto; min-width: 0; justify-content: center; gap: 8px; white-space: nowrap; }
  .uc-cta .hx-btn-primary { padding-right: 14px; }
  .uc-cta .hx-btn-ghost { padding-left: 14px; padding-right: 14px; }
}

/* ================= AK Oct 27: hero teams row; the use case panel goes visual (scene + workflows + product chips) ================= */
.uc-lead:has(+ .uc-teams){margin-bottom:16px}
.uc-teams{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 32px;padding:0;list-style:none}
.uc-teams li{padding:6px 14px;border-radius:999px;background:#fff;border:1px solid var(--lav);font-size:14px;font-weight:800;color:var(--ink)}
.ucl-panel .ucl-job{margin-bottom:20px}
.ucl-vis{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:20px;align-items:start}
.ucl-flows{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.ucl-flows li{display:flex;align-items:center;gap:10px;min-height:48px;padding:6px 10px 6px 6px;border-radius:14px;background:#fff;border:1px solid var(--lav)}
.ucl-fi{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--cream);color:var(--ink)}
.ucl-fi svg{width:18px;height:18px}
.ucl-flows b{flex:1;min-width:0;font-size:14px;line-height:1.25;font-weight:800}
.ucl-roles{display:flex;gap:4px;flex-wrap:wrap;justify-content:flex-end}
.ucl-roles a{padding:3px 8px;border-radius:999px;background:var(--mist);border:1px solid var(--lav);font-size:12px;font-weight:800;color:var(--violet);text-decoration:none;white-space:nowrap}
@media (hover:hover) and (pointer:fine){.ucl-roles a:hover{background:var(--gold3);border-color:var(--gold)}}
.ucl-prods{display:flex;flex-wrap:wrap;gap:6px;margin:20px 0 0}

/* the scene: a small window of Humantic at work */
.ucs{display:grid;gap:10px;font:600 13px/1.3 Manrope,"Manrope Fallback",Arial,sans-serif;color:var(--ink)}
:where(.ucs) p,:where(.ucs) ul{margin:0;padding:0;list-style:none}
.ucs em{font-style:normal}
.ucs .pm{flex:none;display:block;width:20px;height:20px;border-radius:50%}
.ucs .pm--g{display:grid;place-items:center;background:var(--violet);color:var(--cream)}
.ucs .pm--g svg{width:12px;height:12px}
.ucs-win{display:grid;gap:8px;padding:14px;border-radius:18px;background:#fff;border:1px solid var(--lav);box-shadow:var(--sh-md)}
.ucs-top{display:flex;align-items:center;gap:8px;padding-bottom:8px;border-bottom:1px solid var(--line)}
.ucs-tool{display:inline-flex;align-items:center;gap:6px;font-weight:800;font-size:13px}
.ucs-tool img{width:18px;height:18px}
.ucs-ttl{font-size:15px;font-weight:800}
.ucs-pill{margin-left:auto;padding:3px 10px;border-radius:999px;background:var(--mist);border:1px solid var(--lav);font-size:12px;font-weight:800;color:var(--violet);white-space:nowrap}
.ucs-av{flex:none;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--lav);font-size:11px;font-weight:800;color:var(--ink);box-shadow:0 0 0 2px #fff,0 0 0 4px var(--lav)}
.ucs-av--g{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--gold)}
.ucs-av--s{background:#fff;color:var(--slate);box-shadow:0 0 0 2px #fff,0 0 0 4px var(--slate)}
.ucs-av--v{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--violet)}
.ucs-who{display:flex;align-items:center;gap:10px}
.ucs-who b{font-size:14px;font-weight:800}
.ucs-who > span:not(.ucs-av){color:var(--slate);font-size:12px;min-width:0}
.ucs-who > :last-child{margin-left:auto}
.ucs-disc{display:grid;place-items:center;min-width:30px;height:24px;padding:0 6px;border-radius:8px;background:var(--ink);color:var(--gold);font-size:12px;font-weight:800}
.ucs-score{display:grid;place-items:center;min-width:34px;height:24px;padding:0 6px;border-radius:999px;background:var(--gold);color:var(--ink);font-size:12px;font-weight:800}
.ucs-score--m{background:var(--mist);border:1px solid var(--lav);color:var(--slate)}
.ucs-dd{display:grid;gap:6px}
.ucs-dd li{display:flex;align-items:center;gap:8px;padding:6px 10px;border-radius:10px;font-weight:700}
.ucs-dd svg{width:14px;height:14px;flex:none}
.ucs-dd .is-ok{background:var(--cream)}
.ucs-dd .is-no{background:var(--mist);color:var(--slate)}
.ucs-com{display:flex;align-items:center;gap:8px;padding-top:4px}
.ucs-com span{margin-left:4px;font-size:12px;font-weight:800;color:var(--violet)}
.ucs-msg{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:12px;background:var(--mist)}
.ucs-msg b{font-weight:800}
.ucs-msg span{color:var(--slate)}
.ucs-btns{display:flex;gap:6px;flex-wrap:wrap}
.ucs-btn{padding:7px 14px;border-radius:999px;background:var(--gold);font-size:12px;font-weight:800}
.ucs-btn--line{background:#fff;box-shadow:inset 0 0 0 1.5px var(--ink)}
.ucs-mail{display:flex;align-items:center;gap:8px;padding:10px 12px;border-radius:14px;background:var(--ink);color:#fff}
.ucs-mail b{flex:1;min-width:0;font-weight:700}
.ucs-tag{padding:3px 8px;border-radius:999px;background:var(--gold);color:var(--ink);font-size:11px;font-weight:800;white-space:nowrap}
.ucs-tabs{display:flex;gap:4px;flex-wrap:wrap}
.ucs-tabs span{padding:4px 10px;border-radius:999px;font-size:12px;font-weight:800;color:var(--slate)}
.ucs-tabs .is-on{background:var(--ink);color:#fff}
.ucs-kv{display:grid;grid-template-columns:minmax(0,1fr) 45%;align-items:center;gap:10px;font-size:12px;font-weight:700}
.ucs-bar{display:block;height:8px;border-radius:999px;background:var(--mist);overflow:hidden}
.ucs-bar i{display:block;height:100%;border-radius:inherit;background:var(--lav)}
/* ANIM-P5 Oct 27: solid bars that say picked or not: gold for picked accounts and account priorities, lavender for the rest (was a lavender to gold gradient on every bar) */
.is-pick .ucs-bar i,.ucs-kv .ucs-bar i{background:var(--gold)}
.ucs-file{display:flex;align-items:center;gap:8px;padding:8px 12px;border-radius:12px;background:#fff;border:1.5px dashed var(--lav)}
.ucs-file b{font-weight:800}
.ucs-file span:last-child{margin-left:auto;color:var(--violet);font-weight:800;font-size:12px}
.ucs-xl{display:grid;place-items:center;width:30px;height:24px;border-radius:6px;background:var(--ink);color:var(--gold);font-size:10px;font-weight:800}
.ucs-row{display:grid;grid-template-columns:20px minmax(0,1fr) 42%;align-items:center;gap:8px} /* ANIM-P5: the score pill column is gone, so long names (JPMorgan Chase) fit on phones */
.ucs-row b{font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ucs-chk{display:grid;place-items:center;width:20px;height:20px;border-radius:6px;border:1.5px solid var(--lav)}
.ucs-chk svg{width:12px;height:12px}
.is-pick .ucs-chk,.ucs-chk.is-on{background:var(--ink);border-color:var(--ink);color:var(--gold)}
.ucs-grid{display:grid;grid-template-columns:minmax(0,1fr) 44px 44px 44px 40px;align-items:center;gap:6px}
.ucs-grid b{font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ucs-grid--h span{font-size:11px;font-weight:800;color:var(--slate);text-align:center}
.ucs-grid i{justify-self:center;width:36px;height:8px;border-radius:999px;background:linear-gradient(90deg,var(--violet) var(--f),var(--mist) var(--f));box-shadow:inset 0 0 0 1px var(--lav)}
.ucs-grid i.d1{--f:33%}.ucs-grid i.d2{--f:66%}.ucs-grid i.d3{--f:100%}
.ucs-grid em{justify-self:end}
.ucs-sync{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:10px 12px;border-radius:14px;background:var(--cream);font-weight:800;font-size:12px}
.ucs-sync .ucs-tool{font-size:12px}
.ucs-arrow{color:var(--violet)}
.ucs-one{display:flex;align-items:center;gap:8px}
.ucs-one > span:not(.ucs-av){flex:1;min-width:0;padding:7px 10px;border-radius:12px 12px 12px 4px;background:var(--mist);font-weight:700}
.ucs-fld{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1fr) 20px;align-items:center;gap:8px;padding:6px 0;border-bottom:1px dashed var(--lav)}
.ucs-fld:last-child{border-bottom:0}
.ucs-fld span{color:var(--slate);font-size:12px}
.ucs-fld b{font-weight:800}
.ucs-ask{justify-self:end;padding:8px 12px;border-radius:14px 14px 4px 14px;background:var(--ink);color:#fff;font-weight:700}
.ucs-call{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:12px;background:var(--mist);border:1px solid var(--lav)}
.ucs-call code{flex:1;font:700 12px/1.2 var(--mono);color:var(--violet)}
.ucs-ctx{display:flex;flex-wrap:wrap;gap:6px}
.ucs-ctx span{padding:5px 10px;border-radius:999px;background:var(--cream);border:1px solid var(--gold);font-size:12px;font-weight:800}
.ucs-reply{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:14px 14px 14px 4px;background:var(--mist)}
.ucs-reply b{flex:1;font-weight:800}
.ucs-lbl{font-size:12px;font-weight:700;letter-spacing:0;text-transform:none;color:var(--slate)} /* ANIM-P5: a plain label, not an eyebrow */
.ucs-win--sm .ucs-top{border-bottom:0;padding-bottom:0}
.ucs-up{margin-left:auto;padding:3px 10px;border-radius:999px;background:var(--gold);font-weight:800;font-size:12px}
.ucs-spark{display:block;width:100%;height:40px}

/* rows arrive one after another each time a use case opens (display:none -> shown restarts the animation) */
@keyframes ucs-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.ucl-panel .r{animation:ucs-in .45s var(--ease) both;animation-delay:calc(var(--i,0) * 120ms + 80ms)}
.ucl-flows .r{animation-delay:calc(var(--i,0) * 60ms + 200ms)}
/* ANIM-P5 Oct 27: each bar grows from the left with its row (transform only), 600 ms ease-out, 200 ms after the row lands */
@keyframes ucs-bar{from{transform:scaleX(0)}}
.ucl-panel .r .ucs-bar i{transform-origin:left center;animation:ucs-bar 600ms var(--ease) both;animation-delay:calc(var(--i,0) * 120ms + 200ms)}
@media (prefers-reduced-motion:reduce){.ucl-panel .r,.ucl-panel .r .ucs-bar i{animation:none}}

@media (max-width:1099px) and (min-width:900px){.ucl-vis{grid-template-columns:minmax(0,1fr)}}
@media (max-width:899px){
  .ucl-panel .ucl-job{margin-bottom:14px}
  .ucl-vis{grid-template-columns:minmax(0,1fr);gap:14px}
  .ucl-prods{margin-top:14px}
}
@media (max-width:480px){
  .ucs-win{padding:12px}
  .ucs-grid{grid-template-columns:minmax(0,1fr) 34px 34px 34px 36px}
  .ucs-grid i{width:28px}
  .ucl-flows b{font-size:13px}
}
/* compact: the scene leads, workflows sit tight beside it */
.ucl-vis{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}
.ucl-flows{gap:6px}
.ucl-flows li{min-height:40px;padding:4px 8px 4px 4px;border-radius:12px}
.ucl-fi{width:30px;height:30px;border-radius:9px}
.ucl-fi svg{width:16px;height:16px}
.ucl-flows b{font-size:13px}
.ucs-who{display:grid;grid-template-columns:auto minmax(0,1fr) auto;column-gap:10px;align-items:center}
.ucs-who > .ucs-av{grid-row:1/3}
.ucs-who b{grid-column:2}
.ucs-who > span:not(.ucs-av){grid-column:2;grid-row:2}
.ucs-who > :last-child{grid-column:3;grid-row:1/3;margin-left:0}
.ucs-win{padding:16px;gap:10px}
@media (max-width:1099px){.ucl-vis{grid-template-columns:minmax(0,1fr)}}

/* Nov 1 (AK): the prompt box is gone, so the preview is balanced: the scene sits centred beside the workflows list (list sizes unchanged, names stay on one line)
   and the product chips are a size up (one row). Backup: 04-build/backups/nov01-phase1a-fill/. Kept last so it wins over the earlier overrides. */
.ucl-vis{align-items:center}
.ucl-prods{gap:8px;margin-top:24px}
.ucl-chip{gap:8px;min-height:40px;padding:0 14px 0 6px;font-size:14px}
.ucl-chip .pm{width:28px;height:28px}
@media (max-width:640px){
  .ucl-prods{margin-top:16px}
  .ucl-chip{min-height:36px;padding:0 12px 0 5px;font-size:13px}
  .ucl-chip .pm{width:26px;height:26px}
}

/* Nov 2 final review (backup: 04-build/backups/nov02-final/review2): hero team chips wrapped 3+1 on phones (lone "Product and AI"); 2+2 there. */
@media (max-width: 479px){.uc-teams{display:grid;grid-template-columns:repeat(2,max-content)}}

/* AK Nov 5 (second round): the use case's screenshot tour (views/partials/hx-tour.ejs) in the scene's place; it fills its column */
.ucl-tour{min-width:0}
.ucl-tour .hxt{width:100%}

/* AK Nov 5 r3: the tour is the panel's main element. Beside it, a narrow column with the products; under it, the workflows in two columns.
   Phones: tour, then products, then workflows, one under the other. */
.ucl-vis--tour{display:grid;grid-template-columns:minmax(0,1fr) 196px;gap:20px;align-items:start}
.ucl-prods--side{display:grid;align-content:start;gap:8px;margin:0}
.ucl-prods--side .ucl-chip{justify-content:flex-start;white-space:normal;min-height:40px;padding:6px 12px 6px 6px;line-height:1.25}
.ucl-flows--below{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:16px}
.ucl-flows--below li{min-height:44px}
.ucl-flows--below li:last-child:nth-child(odd){grid-column:1/-1}
@media (min-width:900px){ .ucl-panel:has(.ucl-vis--tour){padding:28px} .ucl.is-js .ucl-panel .ucl-vis--tour{flex:0 0 auto} }
@media (max-width:899px){ .ucl-vis--tour{grid-template-columns:minmax(0,1fr)} .ucl-prods--side{display:flex;flex-wrap:wrap} }
@media (max-width:640px){ .ucl-flows--below{grid-template-columns:minmax(0,1fr)} }

/* Nov 5 r3 (QA: dead band inside the hero card): the body and the prompt take the active scene's height (use-cases.js fit());
   each prompt keeps its own height so it can be measured; the hero keeps the tallest scene's slot (desktop: the card centres in it,
   stacked: the slack sits under the card) so the page below never moves. */
.ucx-body{transition:height .32s var(--ease)}
.ucx-pr{overflow:hidden;transition:height .32s var(--ease)}
.ucx-q{align-self:start}
.ucx.is-measure .ucx-body,.ucx.is-measure .ucx-pr{transition:none}
@media (max-width:960px){.uc-hero__in{align-content:start}}

/* AK Nov 6 (Amar: "fix the hero, font sizes as we have discussed, bring the logos here"): the hero copies the home hero
   (views/hp2-hero-rep.ejs): 1200px frame with 24px sides, words 560px, H1 clamp(40px, 5.2vw, 72px)/1.04 at 700, the line
   clamp(18px, 1.6vw, 22px)/1.45 at 600; the hero and the logo strip under it (same mist background, no hairline) fill the first screen. */
body.ucp .uc-hero .uc-shell { max-width: 1152px; box-sizing: content-box; }
body.ucp .uc-hero h1 { font: 700 clamp(40px, 5.2vw, 72px)/1.04 "Cabinet Grotesk", Cabinetgrotesk, Arial, sans-serif; letter-spacing: -.02em; max-width: 560px; margin: 0 0 20px; color: var(--ink); }
body.ucp .uc-hero .uc-lead { max-width: 560px; font: 600 clamp(18px, 1.6vw, 22px)/1.45 Manrope, Arial, sans-serif; color: var(--ink); }
body.ucp #proof { background: var(--mist, #F6F4FF); }
body.ucp #proof.hx-seam { box-shadow: none; }
@media (min-width: 992px) {
  body.ucp .uc-hero { box-sizing: border-box; min-height: calc(100svh - 104px); display: grid; align-content: center; padding: 100px 0 32px; }
  body.ucp .uc-hero__in { grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 56px; }
}
/* every section after the hero fills one screen on desktop (the logo strip is part of the hero frame; the GitHub card is a short band) */
@media (min-width: 900px) and (min-height: 600px) {
  html body.ucp main section:not(#proof):not(.hxp):not(.ucb-ghb):not(section section) { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; box-sizing: border-box; }
  html body.ucp main section:not(#proof):not(.hxp):not(.ucb-ghb):not(section section) > * { width: 100%; box-sizing: border-box; }
}
body.ucp .uc-hero > .uc-shell { width: 100%; max-width: 1200px; box-sizing: border-box; }
@media (min-width: 992px) and (max-height: 800px) { body.ucp .uc-hero { padding: 88px 0 16px; } body.ucp .uc-hero h1 { margin-bottom: 14px; } body.ucp .uc-lead { margin-bottom: 14px; } body.ucp .uc-teams { margin-bottom: 20px; } }
@media (min-width: 992px) and (max-height: 800px) { body.ucp .uc-hero__in > :last-child { zoom: .9; } body.ucp .uc-hero { padding-bottom: 8px; } }
