/* PREMONITION · /customers (2026-10-11) — the page for a head of customer success. The same ground as the homepage
   (site.css: white, Archivo, lilac is Pip's hand), told for new customers. One story down the page: the line and the
   field that asks for the map · the live scenes (css/cu-live.css, js/cu/: Pip at work inside a product, any question by
   voice or by message, the four layers, the ways it helps, a long setup through day one, teach Pip once, Pip in a
   company's colours and tone, a customer's agent onboarded headless) · what the team sees. One field, at the top.
   The example company is Atoll (an invoicing product), its new customer Quillon. Every class here starts
   with cu-, because site.css owns the short names. One action on the page: "Send me our map" (js/customers.js). */

/* the bar's button comes once the field has left the screen, so the first screen holds one button */
.cu-nav .btn-sm { opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .3s, transform .5s var(--soft), visibility 0s .3s, background-color .3s, box-shadow .3s; }
.cu-nav.cu-past .btn-sm { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

/* ---- the line and the field ------------------------------------------------------------------------------------------------ */
.cu-hero .h-copy { gap: 14px; }
.cu-hero .h-copy .d1 { max-width: none; }
.cu-hero .h-copy .sub { max-width: 56ch; color: var(--ink-2); }
.cu-form { max-width: 580px; margin-top: 12px; scroll-margin-top: calc(var(--nav-h) + 40px); }
.cu-form [hidden] { display: none !important; }
.cu-form .try-globe { stroke: none; color: var(--ink-3); }
.cu-site { padding-right: 18px; }
.cu-form.cu-sent .try-row { opacity: .5; pointer-events: none; }
.cu-form.cu-sent .try-say { color: var(--ok); font-weight: 500; }
.cu-form button:disabled { opacity: .6; cursor: default; }
.cu-go svg { fill: none; }

/* ---- shared pieces of the scenes ------------------------------------------------------------------------------------------- */
.cu-cap { position: relative; z-index: 1; width: fit-content; max-width: 100%; margin: 0 auto clamp(16px, 1.6vw, 22px); display: flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px;
  border-radius: 999px; background: rgba(255, 255, 255, .74); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font: 500 13.5px/1.3 var(--body); color: var(--ink-2); }
.cu-cap b { flex: none; padding: 6px 9px; border-radius: 999px; background: var(--ai-soft); color: var(--ai-ink); font: 600 11px/1 var(--display); font-stretch: 112%; letter-spacing: .06em; text-transform: uppercase; }
.cu-win { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); overflow: hidden; text-align: left;
  border-radius: 24px; background: #fff; box-shadow: var(--shadow), 0 0 0 1px rgba(22, 20, 29, .05); font: 400 14.5px/1.5 var(--body); color: var(--ink); }
.cu-top { flex: none; height: 58px; display: flex; align-items: center; gap: 10px; padding: 0 18px 0 20px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.cu-top .fc, .cu-m .fc { width: 30px; height: 30px; background: var(--ai-soft); }
.cu-top b { font: 600 16.5px/1 var(--display); font-stretch: 116%; letter-spacing: -.01em; }
.cu-top span { font-size: 13px; color: var(--ink-3); }
.cu-top .cu-sp { margin-left: auto; }
.cu-m { display: flex; align-items: flex-start; gap: 10px; }
.cu-b { flex: 1 1 auto; min-width: 0; display: grid; gap: 9px; justify-items: start; padding-top: 3px; }
.cu-b p { margin: 0; text-wrap: pretty; }
.cu-me { align-self: flex-end; max-width: 84%; padding: 10px 14px; border-radius: 18px 18px 5px 18px; background: var(--ink); color: #fff; line-height: 1.45; }
.cu-side { min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: 28px clamp(18px, 2.6vw, 34px) 30px; background: var(--bg-2); }
.cu-lab { margin: 0; font: 600 11.5px/1 var(--display); font-stretch: 112%; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.cu-card + .cu-lab { margin-top: 8px; }
.cu-card { border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.cu-chip { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--bg-3); color: var(--ink-2); font: 600 12px/1 var(--body); font-style: normal; white-space: nowrap; }
.cu-chip.ok { background: var(--ok-soft); color: #147a4a; }
.cu-chip.wait { background: #fdf0d5; color: #8a5a06; }
.cu-chip.live { background: var(--ink); color: #fff; }
.cu-chip.pip { background: var(--ai-soft); color: var(--ai-ink); }
.cu-logo { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--navy); color: #fff; font: 600 16px/1 var(--display); font-stretch: 116%; }
.cu-logo.h { background: #0f6e56; }
.cu-logo.b { background: var(--coral); }
.cu-logo.n { background: var(--ai); }
.cu-added { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 9px; border-radius: 999px; background: var(--ok-soft); color: #147a4a; font: 600 12.5px/1 var(--body); }
.cu-added svg { width: 14px; height: 14px; }

/* a scene plays once, when it comes on screen (js adds .in); with scripts off everything simply shows */
.cu-js .cu-rv .cu-st { opacity: 0; translate: 0 14px; transition: opacity .7s var(--soft), translate .8s var(--soft); transition-delay: calc(var(--i, 0) * .3s + .1s); }
.cu-js .cu-rv.in .cu-st { opacity: 1; translate: 0 0; }

/* ---- the first picture's field (the picture itself, Pip at work in a product, is css/cu-live.css) ---------------------------- */
.cu-field { padding-top: clamp(20px, 2.4vw, 32px); padding-bottom: clamp(28px, 4.4vw, 64px); }
/* the road of a customer's first 30 days (the plan tile) */

/* ---- the sections under it --------------------------------------------------------------------------------------------------- */
.cu-sec { padding-top: clamp(90px, 14vh, 160px); }
.cu-sec .head { margin-bottom: clamp(30px, 5vh, 54px); }
.cu-sec .d2 { max-width: 26ch; font-size: clamp(30px, 3.4vw, 54px); }
.cu-box { max-width: 1184px; margin: 0 auto; padding: 0 var(--gutter); }





/* for your team: every customer in view, every question counted */
.cu-box .cu-win { box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.cu-desk { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
.cu-dk { min-width: 0; padding-bottom: 10px; }
.cu-dkh { display: flex; align-items: center; gap: 10px; height: 62px; padding: 0 22px; }
.cu-dkh b { font: 600 17px/1 var(--display); font-stretch: 114%; letter-spacing: -.01em; }
.cu-dkh span { font-size: 13px; color: var(--ink-3); }
.cu-dkh .cu-chip { margin-left: auto; }
.cu-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) 72px 172px 28px; align-items: center; gap: 14px; padding: 14px 22px; border-top: 1px solid var(--line); }
.cu-row b { display: block; font-weight: 600; }
.cu-row small { display: block; font-size: 12.5px; color: var(--ink-3); }
.cu-seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }
.cu-seg i { height: 6px; border-radius: 3px; background: #e4e1ee; }
.cu-seg i.on { background: var(--ai); }
.cu-row .cu-chip { justify-self: start; }
.cu-row .fc { width: 28px; height: 28px; }
.cu-asked { gap: 10px; }
.cu-q { display: grid; gap: 9px; padding: 13px 15px; }
.cu-q p { margin: 0; font-weight: 500; }
.cu-q span { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cu-q b { font: 500 12.5px/1 var(--body); color: var(--ink-3); }
.cu-q.gap { box-shadow: 0 0 0 1.5px rgba(214, 150, 32, .55); }
.cu-gapline { margin: 4px 2px 0; font-size: 13px; color: var(--ink-2); }


  font: 600 14px/1 var(--display); color: var(--ai-ink); }

/* ---- narrow screens: every scene stacks, the road reads top to bottom ------------------------------------------------------- */
@media (max-width: 1000px) { .cu-nav .btn-sm { margin-left: auto; } }
@media (max-width: 900px) {
  .cu-box { max-width: 584px; }
  .cu-win, .cu-once, .cu-desk { grid-template-columns: minmax(0, 1fr); }
  .cu-side { padding: 22px 16px 20px; }
  .cu-row { grid-template-columns: 36px minmax(0, 1fr) auto; row-gap: 8px; padding: 14px 16px; }
  .cu-row .cu-seg, .cu-row .fc { display: none; }
  .cu-dkh { padding: 0 16px; }
}
@media (max-width: 700px) { .cu-br { display: none; } }
@media (max-width: 520px) {
  .cu-cap { font-size: 12.5px; padding-right: 13px; }
  .cu-top .cu-sp { display: none; }
  .cu-win { border-radius: 20px; font-size: 14px; }
  .cu-row .cu-chip { grid-column: 2 / -1; }
  .cu-row { grid-template-columns: 36px minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .cu-nav .btn-sm { transition: none; }
  .cu-js .cu-rv .cu-st { opacity: 1; translate: 0 0; transition: none; }
}
