/* ============================================================================
   Explore the full suite: the closing band of every Platform module page.

   One card per other module, a mockup of it lying on a slate field with the
   module's name and line at the bottom; the whole card links to its page. The
   row is a native scroll-snap strip, so touch and trackpad swipes work; the
   arrows and dots above it move it one card at a time (assets/suite.js). On
   desktop three cards show and a sliver of the fourth says there is more.
   ========================================================================= */
.suite { padding-block:var(--hv-lg) var(--hv-2xl); }
.suite-head { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom:var(--hv-md); }
.suite-head .hv-h4 { font-weight:400; }  /* Manrope Regular, not the section heads' semibold */
.suite-nav { display:flex; align-items:center; gap:6px; flex:none; }
.suite.is-static .suite-nav { display:none; }
.suite-arrow { width:40px; height:40px; display:grid; place-items:center; padding:0; border:0; border-radius:999px;
  background:none; color:var(--hv-ink); cursor:pointer; transition:background .2s ease, opacity .2s ease; }
.suite-arrow:hover { background:rgba(26,23,20,.06); }
.suite-arrow[disabled] { opacity:.3; cursor:default; background:none; }
.suite-arrow svg { width:18px; height:18px; }
.suite-dots { display:flex; align-items:center; gap:6px; padding:12px 14px; border-radius:999px; background:rgba(26,23,20,.07); }
.suite-dot { width:6px; height:6px; padding:0; border:0; border-radius:50%; background:rgba(26,23,20,.25); cursor:pointer; transition:background .2s ease; }
.suite-dot.is-on { background:var(--hv-ink); }

.suite-row { display:flex; gap:18px; margin:0; padding:0; list-style:none; overflow-x:auto;
  scroll-snap-type:x mandatory; overscroll-behavior-x:contain; scrollbar-width:none; }
.suite-row::-webkit-scrollbar { display:none; }
.suite-row > li { flex:none; width:82%; scroll-snap-align:start; }
@media (min-width:640px)  { .suite-row > li { width:calc((100% - 18px) / 2.15); } }
@media (min-width:1025px) { .suite-row > li { width:calc((100% - 36px) / 3.12); } }

.suite-card { position:relative; isolation:isolate; display:block; container:suite-card / inline-size; aspect-ratio:14 / 15; overflow:hidden; border-radius:4px;
  color:#FAFAF7; text-decoration:none;
  background:radial-gradient(90% 60% at 50% 0%, rgba(206,211,221,.9), rgba(206,211,221,0) 70%),
             linear-gradient(180deg, #B6BDCA 0%, #929BAB 100%); }
/* the mockup from its top-left corner, running off the right and bottom edges;
   a wide canvas whose interest is in the middle sets a smaller --h */
.suite-card > img { position:absolute; left:15%; top:15%; height:var(--h, 90%); width:auto; max-width:none; border-radius:10px;
  box-shadow:0 18px 40px -12px rgba(15,26,46,.35); opacity:.92; transition:transform .5s cubic-bezier(.2,.7,.2,1);
  /* faded out above the name and line, so no text of the screenshot runs
     under them: at 90% the image hangs 5.4cqw below the card */
  -webkit-mask-image:linear-gradient(0deg, transparent calc(5.4cqw + 100px), #000 calc(13.4cqw + 100px));
          mask-image:linear-gradient(0deg, transparent calc(5.4cqw + 100px), #000 calc(13.4cqw + 100px)); }
.suite-card:hover > img, .suite-card:hover .suite-chat, .suite-card:hover .suite-flow, .suite-card:hover .suite-cnx { transform:translateY(-6px); }
/* Agents: no screenshot but the ask box itself, as the product draws it, on
   the slate, with both dropdowns hanging below it, tops level: the + menu
   (Attach files, Link Sources with its switch, Sources, Workflows) flush with the
   box's left edge and, close beside it, a narrower list of the desk's
   workflows.
   Laid out in cqw of the card (a 100 x 107 box). */
.suite-chat { position:absolute; inset:0; font-family:'Manrope',system-ui,sans-serif; font-size:2.6cqw; color:#2B303A;
  transition:transform .5s cubic-bezier(.2,.7,.2,1); }
.suite-chat-box, .suite-chat-menu, .suite-chat-sub { position:absolute; box-sizing:border-box;
  background:rgba(255,255,255,.9); border:1px solid rgba(15,26,46,.08);
  -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px); box-shadow:0 2cqw 5cqw rgba(15,26,46,.16); }
.suite-chat svg { display:block; flex:none; width:3.2cqw; height:3.2cqw; color:#4A515C; }
.suite-chat-box { left:4cqw; top:14cqw; width:92cqw; height:17cqw; border-radius:3.6cqw; }
.suite-chat-ph { position:absolute; left:3.6cqw; top:3.2cqw; color:#8A8F98; white-space:nowrap; }
.suite-chat-bar { position:absolute; left:2.2cqw; bottom:2.2cqw; display:flex; align-items:center; gap:1.4cqw; }
.suite-chat-btn { width:6cqw; height:6cqw; display:grid; place-items:center; border-radius:1.6cqw; }
.suite-chat-btn.is-on { background:rgba(15,26,46,.07); }
.suite-chat-btn svg { color:#1F242C; }
.suite-chat-pick { display:flex; align-items:center; gap:1cqw; padding:0 1cqw; color:#4A515C; }
.suite-chat-pick svg:last-child { width:2.6cqw; height:2.6cqw; }
.suite-chat-send { position:absolute; right:2.2cqw; bottom:2.2cqw; width:6.4cqw; height:6.4cqw; display:grid; place-items:center;
  border-radius:50%; background:#E4E2DD; }
.suite-chat-send svg { color:#8A8F98; }
.suite-chat-menu { left:4cqw; top:33cqw; width:40cqw; padding:1.2cqw; border-radius:3cqw; display:flex; flex-direction:column; }
.suite-chat-item { display:flex; align-items:center; gap:1.8cqw; height:6.4cqw; padding:0 1.6cqw; border-radius:2cqw; white-space:nowrap; }
.suite-chat-item.is-on { background:#ECEDF0; }
.suite-chat-item .suite-chat-more { margin-left:auto; width:2.6cqw; height:2.6cqw; color:#7A818C; }
.suite-chat-toggle { position:relative; margin-left:auto; width:6.4cqw; height:3.4cqw; border-radius:999px; background:rgba(15,26,46,.1); }
.suite-chat-toggle::after { content:''; position:absolute; left:.4cqw; top:.4cqw; width:2.6cqw; height:2.6cqw; border-radius:50%; background:#fff;
  box-shadow:0 .2cqw .5cqw rgba(15,26,46,.2); }
.suite-chat-sub { left:45cqw; top:33cqw; width:44cqw; padding:1.4cqw; border-radius:3cqw; display:flex; flex-direction:column; }
.suite-chat-wf { display:flex; align-items:center; gap:1.8cqw; height:5.6cqw; padding:0 1.4cqw; white-space:nowrap; min-width:0; }
.suite-chat-wf span { overflow:hidden; text-overflow:ellipsis; }
.suite-chat-all { margin:1cqw 1.4cqw 0; padding-top:1.4cqw; height:4.6cqw; border-top:1px solid rgba(15,26,46,.1); }
/* on a phone-sized card the arrow and the label take more of the height:
   the box drops clear of the arrow and the list stops at four workflows,
   above the name */
@container (max-width:340px) {
  .suite-chat { top:7cqw; }
  .suite-chat-wf:nth-child(n+5) { display:none; }
}
/* Workflows: a workflow as the builder draws it, on the slate: two inputs
   feeding an AI analysis that writes a PDF, the peer comparison of the Codify
   panel on the Workflows page, standing still. The graph's box is 100 of its
   units wide, so inside it 1cqw is one unit and the cards keep that page's
   numbers; the graph takes 66 x 61.4 of them, centred, below the arrow. The
   layer sits over the card's dark foot, so the Output step is as light as the
   rest, and fades out just above the name and line, which on a narrow card it
   would otherwise run under. */
.suite-flow { position:absolute; inset:0; z-index:2; font-family:'Manrope',system-ui,sans-serif;
  -webkit-mask-image:linear-gradient(0deg, transparent 82px, #000 calc(82px + 8cqw));
          mask-image:linear-gradient(0deg, transparent 82px, #000 calc(82px + 8cqw));
  transition:transform .5s cubic-bezier(.2,.7,.2,1); }
.suite-flow-graph { position:absolute; left:13.7cqw; top:max(13cqw, 60px); width:110cqw; height:67.5cqw; container-type:inline-size; }
.suite-flow-lines { position:absolute; left:0; top:0; width:66cqw; height:61.4cqw; overflow:visible; }
.suite-flow-lines path { fill:none; stroke:#F4F6F9; stroke-width:.22; stroke-linejoin:round; }
.suite-flow-lines circle { fill:#F4F6F9; stroke:#8C96A6; stroke-width:.24; }
.suite-flow-card { position:absolute; box-sizing:border-box; display:flex; flex-direction:column; padding:1.2cqw 1.8cqw; border-radius:1.8cqw;
  background:rgba(244,246,249,.92); border:1px solid rgba(255,255,255,.85); box-shadow:0 1.2cqw 3.6cqw rgba(15,26,46,.2); }
.suite-flow-head { display:flex; align-items:center; gap:1.1cqw; margin:0 -1.8cqw; padding:0 1.8cqw 1cqw; border-bottom:1px solid rgba(15,26,46,.08); }
.suite-flow-ic { width:2.6cqw; height:2.6cqw; flex:none; padding:.5cqw; box-sizing:border-box; border-radius:.7cqw; box-shadow:inset 0 0 0 1px rgba(15,26,46,.1); }
.suite-flow-ic svg { display:block; width:100%; height:100%; }
.suite-flow-k { font-size:1.7cqw; line-height:1; color:#2B2F36; }
.suite-flow-t { display:block; margin-top:1cqw; font-size:2cqw; line-height:1.25; letter-spacing:-.01em; color:#1A1714; white-space:nowrap; }
.suite-flow-d { margin-top:.3cqw; font-size:1.55cqw; line-height:1.35; color:#5F6672;
  overflow:hidden; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.suite-flow-f { display:block; margin-top:auto; padding-top:.8cqw; border-top:1px solid rgba(15,26,46,.08); font-size:1.4cqw; line-height:1.2; color:#8A909A; }
/* on a phone-sized card the line can take two rows: the graph stops at the AI
   analysis, which then clears the name with nothing to fade */
@container suite-card (max-width:340px) {
  .suite-flow { -webkit-mask-image:none; mask-image:none; }
  .suite-flow-out { display:none; }
}
/* Connections: the sources as the Connections page draws them, white tiles
   on a lighter ring, in two rows across the slate: the upper row cut by both
   edges, the lower one set half a tile over, like courses of brick. Above the
   dark foot, between the arrow and the name. */
.suite-cnx { position:absolute; left:0; right:0; top:27cqw; z-index:2; display:flex; flex-direction:column; gap:4cqw;
  transition:transform .5s cubic-bezier(.2,.7,.2,1); }
.suite-cnx-row { display:flex; gap:4cqw; margin-left:-8cqw; }
.suite-cnx-row + .suite-cnx-row { margin-left:4cqw; }
.suite-cnx-tile { flex:none; width:20cqw; aspect-ratio:1; display:grid; place-items:center; border-radius:4.4cqw; background:#fff;
  box-shadow:0 0 0 1.2cqw rgba(255,255,255,.24), 0 3.6cqw 6cqw -2.4cqw rgba(15,26,46,.45); }
.suite-cnx-tile img { width:56%; height:56%; object-fit:contain; }
.suite-cnx-ic { width:58%; height:58%; border-radius:22%; display:grid; place-items:center; }
.suite-cnx-ic svg { display:block; width:78%; height:78%; }
/* the line takes two rows on a phone-sized card: the tiles move up to stay clear of it */
@container suite-card (max-width:340px) { .suite-cnx { top:23cqw; } }
/* a dark fade at the foot so the name reads over the mockup */
.suite-card::after { content:''; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:linear-gradient(180deg, rgba(44,52,68,0) 50%, rgba(44,52,68,.85) 100%); }
.suite-go { position:absolute; top:20px; right:20px; z-index:2; width:52px; height:36px; display:grid; place-items:center;
  border-radius:999px; background:rgba(250,250,247,.32); -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px);
  transition:background .2s ease; }
.suite-card:hover .suite-go { background:rgba(250,250,247,.55); }
.suite-go svg { width:16px; height:16px; }
.suite-label { position:absolute; left:28px; right:28px; bottom:26px; z-index:2; font-family:'Manrope',system-ui,sans-serif; }
.suite-name { display:block; font-size:1.25rem; font-weight:500; line-height:1.25; letter-spacing:-.01em; }
.suite-line { display:block; margin-top:4px; font-size:1rem; line-height:1.35; color:rgba(250,250,247,.72); }
@media (max-width:639px) {
  .suite-dots { display:none; }
  .suite-label { left:22px; right:22px; bottom:20px; }
}
@media (prefers-reduced-motion:reduce) { .suite-card > img, .suite-chat, .suite-flow, .suite-cnx { transition:none; } }
