/* The extension's own panel ("Biblioteca de mensagens prontas"), redrawn inside a .ps-window.
   Colours are the product's tokens (collections/colors.css). 1em here is the panel's 14px text. */

.xl-window .ps-frame { font-size: clamp(8px, 1.75cqw, 13.5px); background: #fff; color: #3d3d3d; font-family: var(--leadzy-font); }
.xl { display: flex; flex-direction: column; height: 100%; }
.xl .i { width: 1.15em; height: 1.15em; flex: none; }

/* LeadzyHeader.vue: logo, product switch, text tabs, bell and avatar. */
.xl-top { display: flex; align-items: center; gap: .85em; height: 4em; padding: 0 1.6em; border-bottom: 1px solid #e7e7e7; }
.xl-top .ps-logo { width: auto; height: 1.7em; }
.xl-rule { width: 1px; height: 1.4em; background: #e7e7e7; }
.xl-product { display: flex; align-items: center; gap: .3em; font-weight: 500; color: #454545; }
.xl-product .i { width: .95em; height: .95em; }
.xl-tabs { display: flex; gap: .2em; margin-left: .6em; }
.xl-tabs > span { display: flex; align-items: center; height: 2.3em; padding: 0 .85em; border: 1px solid transparent; border-radius: .57em; font-weight: 500; color: #4f4f4f; white-space: nowrap; }
.xl-tabs > .is-on { color: var(--demo-copper); background: var(--demo-peach-wash); border-color: transparent; }
.xl-user { display: flex; align-items: center; gap: .9em; margin-left: auto; color: #6d6d6d; }
.xl-user .ps-face { width: 2.1em; height: 2.1em; }

.xl-body { flex: 1; min-height: 0; padding: 1.7em 1.6em 0; overflow: hidden; }
/* TitleAndAction.vue */
.xl-title { display: flex; align-items: center; gap: .85em; padding-bottom: 1.4em; }
.xl-tile { display: grid; place-items: center; padding: .43em; border-radius: 0 1.15em 1.15em 1.15em; background: var(--demo-peach-wash); color: var(--demo-copper); }
.xl-tile .i { width: 2em; height: 2em; }
.xl-title > p { margin-right: auto; }
.xl-title b { display: block; font-size: 1.28em; font-weight: 600; line-height: 1.3; }
.xl-title small { display: block; font-size: .92em; color: #6d6d6d; }
.xl-toggle { display: flex; align-items: center; gap: .55em; height: 2.3em; padding: .28em .6em .28em .28em; border-radius: .86em; background: #f7f7f7; color: #757575; }
.xl-toggle em { display: flex; align-items: center; gap: .4em; height: 100%; padding: 0 .7em; border-radius: .57em; background: #fff; font-style: normal; font-size: .86em; font-weight: 600; color: #3d3d3d;  }
.xl-add { display: flex; align-items: center; gap: .5em; height: 2.57em; padding: 0 1.15em; border-radius: .57em; background: var(--action-coral); color: var(--on-coral); font-weight: 500; white-space: nowrap; }

.xl-tools { display: flex; align-items: center; justify-content: space-between; gap: 1em; margin: .6em 0 1.4em; }
.xl-search { display: flex; align-items: center; gap: .6em; width: 22.8em; height: 2.57em; padding: 0 .85em; border: 1px solid #e7e7e7; border-radius: .86em; color: #757575; }
.xl-chips { display: flex; gap: .45em; }
.xl-chips > span { display: flex; align-items: center; gap: .3em; height: 2em; padding: 0 .6em; border: 1px solid #e7e7e7; border-radius: 99px; font-size: .79em; font-weight: 500; color: #6d6d6d; white-space: nowrap; }
.xl-chips .i { width: 1.1em; height: 1.1em; }

.xl-label { display: flex; align-items: center; justify-content: space-between; margin-bottom: .8em; }
.xl-label b { font-size: .86em; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #757575; }
.xl-label span { font-size: .86em; font-weight: 500; color: #6d6d6d; }

/* MessagesCardsView.vue: Finder-style folder tiles. */
.xl-folders { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .85em 1.15em; margin-bottom: 1.7em; }
.xl-folder { position: relative; height: 5.7em; }
.xl-folder > i { position: absolute; top: .5em; right: 16%; left: 16%; height: 2em; border: 1px solid #d1d1d1; border-radius: .3em; background: #fff; }
.xl-folder > i + i { top: .3em; rotate: -3deg; }
.xl-front { position: absolute; inset: 1.35em 0 0; display: flex; align-items: flex-end; justify-content: space-between; gap: .5em; padding: .57em .7em; border: 1px solid rgb(209 209 209 / 42%); border-radius: 0 .86em .57em .57em; background: var(--tint); }
.xl-front::before { content: ''; position: absolute; top: -.8em; left: -1px; width: 36%; height: .8em; border: 1px solid rgb(209 209 209 / 42%); border-bottom: 0; border-radius: .5em .5em 0 0; background: var(--tint); }
.xl-front b { min-width: 0; overflow: hidden; font-size: .93em; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.xl-front strong { font-size: 1.28em; font-weight: 800; line-height: 1; }
.xl-new { display: flex; align-items: center; justify-content: center; gap: .4em; height: 4.35em; margin-top: 1.35em; border: 2px dashed #d1d1d1; border-radius: .57em; background: #f7f7f7; font-size: .93em; font-weight: 500; color: #6d6d6d; white-space: nowrap; }

/* MessageGridCard.vue: the message as a bubble on the chat ground. */
.xl-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1em; }
.xl-card { display: flex; flex-direction: column; gap: .7em; padding: .86em; border: 1px solid #e7e7e7; border-radius: 1em; background: #f6f5f3 radial-gradient(rgb(230 228 225 / 55%) 1px, transparent 1.5px) 0 0 / .8em .8em; }
.xl-card-head { display: flex; align-items: flex-start; gap: .6em; }
.xl-card-head i { flex: none; width: 1.28em; height: 1.28em; border-radius: 50%; background: #fff; outline: 1px solid #d1d1d1; }
.xl-card-head b { font-size: .93em; font-weight: 600; line-height: 1.4; letter-spacing: -.01em; }
.xl-bubble { align-self: flex-end; max-width: 95%; padding: .57em .7em; border: 1px solid color-mix(in srgb, var(--action-coral) 30%, white); border-radius: .86em .86em .28em .86em; background: var(--demo-peach-wash); font-size: .86em; line-height: 1.45; color: #454545; }
.xl-audio { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0 .5em; width: 86%; color: #6d6d6d; }
.xl-audio .i { width: 1.6em; height: 1.6em; }
.xl-wave { display: flex; align-items: center; gap: .18em; height: 1.4em; }
.xl-wave i { flex: 1; max-width: .25em; border-radius: 99px; background: #b0b0b0; }
.xl-wave .is-played { background: var(--action-wine); }
.xl-audio small { grid-column: 2; font-size: .83em; color: #6d6d6d; }
.xl-doc { display: flex; align-items: center; gap: .6em; }
.xl-doc .i { width: 2em; height: 2em; color: #757575; }
.xl-doc b { display: block; font-weight: 500; }
.xl-doc small { display: block; color: #757575; }
.xl-pill { display: flex; align-items: center; gap: .3em; align-self: flex-start; margin-top: auto; padding: .15em .6em; border-radius: 99px; background: rgb(231 231 231 / 80%); font-size: .79em; font-weight: 500; color: #5d5d5d; }
.xl-pill .i { width: 1em; height: 1em; }

/* Narrow frame (phones): the same screen, with only what fits. */
@container (max-width: 520px) {
  .xl-window .ps-frame { font-size: clamp(9.5px, 3cqw, 12.5px); }
  .xl-top { padding: 0 1em; gap: .6em; }
  .xl-tabs > span:not(.is-on), .xl-rule, .xl-product, .xl-toggle, .xl-chips, .xl-title small { display: none; }
  .xl-body { padding: 1.2em 1em 0; }
  .xl-add { font-size: 0; gap: 0; padding: 0 .7em; }
  .xl-add .i { font-size: 12px; }
  .xl-search { width: 100%; }
  .xl-folders { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xl-folders > :nth-child(n+5) { display: none; }
  .xl-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xl-cards > :nth-child(n+3) { display: none; }
}

/* ---------------------------------------------------------------- page blocks */
/* Chrome Web Store: the store mark, the rating and the installs, as one linked badge with room
   above and below, so it is neither glued to the screen nor to the section that follows. */
.store-strip { display: flex; justify-content: center; padding-block: 28px clamp(48px, 6vw, 76px); }
.store-badge { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 22px; padding: 13px 24px; border: 1px solid var(--ground-line); border-radius: 16px; background: var(--ground-raised); color: var(--on-ground-soft); font-size: 15px; transition: border-color 150ms ease; }
.store-mark { flex: none; width: 30px; height: 30px; }
.store-name { margin-left: -10px; font-size: 16px; font-weight: 600; line-height: 1; color: var(--on-ground); }
.store-rating { display: flex; align-items: center; gap: 8px; }
.store-rating b { font-weight: 600; color: var(--on-ground); font-variant-numeric: tabular-nums; }
.store-rating, .store-installs { padding-left: 22px; border-left: 1px solid var(--ground-line); }
.store-stars { display: inline-flex; gap: 2px; }
.store-stars svg { width: 16px; height: 16px; fill: var(--brand-2); }
@media (hover: hover) and (pointer: fine) { .store-badge:hover { border-color: var(--ghost-line); } }
@media (max-width: 560px) {
  .store-badge { gap: 12px 16px; padding: 14px 16px; font-size: 14px; }
  .store-rating, .store-installs { padding-left: 16px; }
}
.xb-head h2 { margin-top: 16px; }

/* Each tool has its own shape, so the page does not read as a list: a split for the audio,
   a wide block with two screens for the library, two cards side by side for the rest.
   Little to read in each: a small label, one title, one sentence. */
.xb-section .head-row { margin-bottom: clamp(26px, 3vw, 40px); }
.xb { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: center; gap: clamp(32px, 5vw, 84px); padding-block: clamp(44px, 5.5vw, 76px); border-top: 1px solid var(--ground-hairline); scroll-margin-top: 80px; }
.xb-copy h3 { margin-top: 16px; font-size: clamp(25px, 2.35vw, 34px); line-height: 1.16; letter-spacing: -.035em; font-weight: 500; }
.xb-copy > p:not(.product-label) { max-width: 40ch; margin-top: 16px; font-size: 17px; line-height: 1.6; }
.xb-steps { margin-top: 28px; border-top: 1px solid var(--ground-line); }
.xb-steps li { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--ground-line); font-size: 16px; color: var(--on-ground); }
.xb-steps span { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border: 1px solid var(--ghost-line); border-radius: 50%; font-size: 13px; font-weight: 600; color: var(--on-ground-soft); }
.xb-scene { height: 480px; overflow: hidden; border: 1px solid #ded8d3; border-radius: 14px; background: var(--demo-thread); }
html[data-site-theme="night"] .xb-scene { border-color: var(--ground-line); }
/* A closer view: only the conversation, without the bars around it. */
.xb-focus :is(.lz-bar, .wa-chat-head) { display: none; }
.xb > .xb-focus { height: 300px; }

/* The library block: title across the top, then the panel and the chat side by side. */
.xb-wide { grid-template-columns: 1fr; gap: clamp(28px, 3.5vw, 40px); }
.xb-copy-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: end; gap: clamp(32px, 5vw, 84px); }
.xb-copy-row > p { max-width: 42ch; font-size: 17px; line-height: 1.6; }
.xb-pair { display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr); gap: 20px; }
.xb-pair figure { display: flex; flex-direction: column; min-width: 0; margin: 0; }
/* The panel is as tall as its content, never taller; the popup beside it takes the same height. */
.xb-pair .xb-scene { flex: 1; height: auto; }
.xb-pair .xb-panel { background: #fff; }
.xb-panel :is(.ps-window, .ps-frame, .xl) { height: auto; }
.xb-panel .xl-body { padding-bottom: 1.7em; overflow: visible; }
.xb-pair figcaption { margin-top: 12px; font-size: 13px; color: var(--on-ground-faint); }

/* Triggers and scheduling: two cards, each with its screen resting on the bottom edge. */
.xb-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-top: clamp(44px, 5.5vw, 76px); border-top: 1px solid var(--ground-hairline); }
.xb-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; padding: 32px 32px 0; border: 1px solid var(--ground-line); border-radius: 20px; background: var(--ground-raised); scroll-margin-top: 80px; }
.xb-card .xb-copy { padding-bottom: 28px; }
.xb-card .xb-art { margin-top: auto; }

/* ------------------------------------------------ screens drawn at their real size */
/* The extension inside WhatsApp Web. 1em is the extension's own 13.5px text; the chat ground
   and the white sheets use the same colours as the WhatsApp screens in scenes.css. */
.xv { font: 500 13.5px / 1.4 var(--leadzy-font); color: #3d3d3d; text-align: left; }
.xv p, .xv small { margin: 0; color: inherit; }
.xv b { font-weight: 600; }
.xv .i { flex: none; width: 1.2em; height: 1.2em; }
.xv-ground { background: var(--demo-thread); }
.xv-sheet { display: grid; gap: .78em; padding: 1.2em; border-radius: .9em; background: #fff; outline: 1px solid #e7e7e7; }
.xv-sheet > small { font-size: .89em; color: #6d6d6d; }
.xv-head { display: flex; align-items: center; justify-content: space-between; font-size: 1.18em; }
.xv-head .i { color: #757575; }
.xv-seg { display: flex; gap: .3em; padding: .3em; border-radius: .75em; background: #f7f7f7; }
.xv-seg span { flex: 1; padding: .42em 0; border-radius: .52em; text-align: center; font-size: .93em; color: #6d6d6d; }
.xv-seg .is-on { background: #fff; color: #3d3d3d; outline: 1px solid #e7e7e7; }
.xv-find { display: flex; align-items: center; gap: .6em; height: 2.7em; padding: 0 .9em; border: 1px solid #e7e7e7; border-radius: .75em; color: #757575; }
.xv-row { display: flex; align-items: center; gap: .85em; padding: .68em .8em; border: 1px solid #e7e7e7; border-radius: .9em; background: #fff; }
.xv-row > span { flex: 1; min-width: 0; }
.xv-row b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xv-row small { display: block; font-size: .89em; color: #757575; }
.xv-row > .i { color: #757575; }
.xv-tile { display: grid; place-items: center; flex: none; width: 2.37em; height: 2.37em; border-radius: .6em; background: var(--demo-peach-wash); color: var(--demo-copper); }
.xv-send { display: grid; place-items: center; flex: none; width: 2.37em; height: 2.37em; border-radius: .6em; color: #757575; }
.xv-send.is-on { background: var(--action-coral); color: var(--on-coral); }
.xv-foot { text-align: center; font-size: .89em; color: #757575; }
.xv-face { flex: none; width: 2.37em; height: 2.37em; border-radius: 50%; object-fit: cover; }

/* Messages on the chat ground. */
.xv-in, .xv-out { width: fit-content; max-width: 88%; padding: .55em .75em; border-radius: .7em; background: #fff; line-height: 1.45; }
.xv-in { border-top-left-radius: 0; }
.xv .xv-out { background: var(--demo-reply); color: var(--demo-reply-ink); justify-self: end; margin-left: auto; border-top-right-radius: 0; }
.xv-file { display: flex; align-items: center; gap: .6em; }
.xv-file .i { color: #757575; }
.xv-in time, .xv-out time { margin-left: .8em; font-size: .8em; color: #757575; white-space: nowrap; }
.xv-out :is(time, .i), .xv .xv-out .xd-foot { color: var(--demo-reply-meta); }
.xv-out .xl-wave i { background: var(--demo-reply-meta); }
.xv-out .xl-wave .is-played { background: var(--action-coral); }
.xv-in mark { padding: 0 .25em; border-radius: .3em; background: var(--demo-peach-wash); color: var(--demo-copper); }
.xv-voice { display: flex; align-items: center; gap: .6em; width: 15.5em; }
.xv-voice .xl-wave { flex: 1; }
.xv-voice > .i { width: 1.4em; height: 1.4em; color: inherit; }
.xv .xv-note { display: flex; align-items: center; gap: .35em; width: fit-content; justify-self: center; margin: 0 auto; padding: .2em .75em; border: 1px solid var(--action-coral); border-radius: 99px; background: var(--demo-peach-wash); font-size: .89em; color: var(--demo-copper); }
.xv-note .i { width: 1em; height: 1em; }

/* The library popup: scales with its column, so it always matches the panel beside it. */
.xb-pop-scene { container-type: inline-size; }
.xv-pop { display: flex; align-items: center; justify-content: center; height: 100%; padding: 1.4em; font-size: clamp(9.5px, 2.8cqw, 13.5px); }
.xv-pop .xv-sheet { width: 100%; max-width: 30em; }

/* A trigger: the rule, then what happens in the chat. */
.xb-art { border: 1px solid #ded8d3; border-bottom: 0; border-radius: 12px 12px 0 0; overflow: hidden; }
html[data-site-theme="night"] .xb-art { border-color: var(--ground-line); }
.xv-trigger, .xv-schedule { display: grid; gap: 1em; padding: 1.2em 1.2em 0; background: var(--demo-thread); }
.xv-sentence { display: flex; flex-wrap: wrap; align-items: center; gap: .45em; }
.xv-sentence em { padding: .28em .75em; border: 1px solid #e7e7e7; border-radius: .6em; font-style: normal; }
.xv-sentence b { padding: .25em .7em; border-radius: .45em; background: var(--demo-peach-wash); color: var(--demo-copper); }
.xv-wait { font-size: .89em; font-style: normal; color: #6d6d6d; white-space: nowrap; }
.xv-chat { display: grid; gap: .6em; padding-bottom: 1.3em; }

/* Scheduling: the form, then the item waiting. */
.xv-quick { display: flex; flex-wrap: wrap; gap: .45em; }
.xv-quick span { padding: .2em .75em; border: 1px solid #e7e7e7; border-radius: 99px; font-size: .89em; color: #6d6d6d; }
.xv-quick .is-on { border-color: var(--demo-copper); background: var(--demo-peach-wash); color: var(--demo-copper); }
.xv-fields { display: grid; grid-template-columns: 1fr 1fr; gap: .6em; }
.xv-fields span { display: flex; align-items: center; gap: .6em; height: 2.8em; padding: 0 .9em; border: 1px solid #e7e7e7; border-radius: .75em; font-variant-numeric: tabular-nums; }
.xv-fields .i { color: #757575; }
.xv-pending { display: grid; gap: .6em; padding-bottom: 1.3em; }
.xv-pending > small { font-size: .89em; font-weight: 600; color: #6d6d6d; }
.xv-when { padding: .2em .7em; border-radius: 99px; background: var(--demo-peach-wash); font-size: .89em; font-style: normal; color: var(--demo-copper); white-space: nowrap; }

/* -------------------------------------------------------------- the small extras */
/* Six cards, each with a small picture of the detail it names. */
.xb-extras { margin-top: clamp(48px, 6vw, 84px); padding-top: clamp(48px, 6vw, 84px); border-top: 1px solid var(--ground-hairline); }
.xe-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.xe-grid > li { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--ground-line); border-radius: 16px; background: var(--ground-raised); }
.xe-art { display: flex; align-items: center; justify-content: center; height: 128px; padding: 0 22px; background: var(--demo-thread); }
.xe-art > * { width: 100%; max-width: 270px; }
.xe-grid h3 { margin: 0; line-height: 1.3; padding: 20px 22px 0; font-size: 17px; font-weight: 600; letter-spacing: -.015em; color: var(--on-ground); }
.xe-grid li > p { padding: 7px 22px 22px; font-size: 15px; line-height: 1.55; color: var(--on-ground-soft); }
.xe-art .xv-voice { position: relative; width: 100%; margin-top: 1.5em; }
.xe-art .xv-voice s { position: absolute; top: -1.75em; right: 0; display: flex; align-items: center; gap: .3em; font-size: .86em; font-style: italic; color: #8a8a8a; text-decoration-thickness: 1.5px; text-decoration-color: var(--demo-copper); }
.xe-art .xv-voice s .i { width: 1em; height: 1em; }
.xe-art .xv-out { max-width: 100%; }
.xe-contact { display: flex; align-items: center; gap: .85em; padding: .7em .9em; border-radius: .9em; background: #fff; }
.xe-contact b, .xe-contact small { display: block; }
.xe-contact small { display: flex; align-items: center; gap: .45em; font-size: .89em; color: var(--demo-copper); }
.xe-dots { display: inline-flex; gap: 3px; }
.xe-dots i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; animation: xe-dot 1.2s ease-in-out infinite; }
.xe-dots i:nth-child(2) { animation-delay: .2s; }
.xe-dots i:nth-child(3) { animation-delay: .4s; }
@keyframes xe-dot { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }
html[data-motion="paused"] .xe-dots i { animation: none; }
@media (prefers-reduced-motion: reduce) { .xe-dots i { animation: none; } }
.xe-number { display: flex; gap: .6em; }
.xe-number span { display: flex; align-items: center; flex: 1; min-width: 0; height: 2.8em; padding: 0 .9em; border: 1px solid #e7e7e7; border-radius: .75em; background: #fff; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .93em; color: #6d6d6d; white-space: nowrap; }
.xe-number b { display: flex; align-items: center; height: 2.8em; padding: 0 1em; border-radius: .75em; background: var(--action-coral); font-weight: 500; color: var(--on-coral); }
.xe-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: .5em; }
.xe-tags span { display: flex; align-items: center; gap: .3em; padding: .3em .8em; border-radius: .5em; background: #fff; outline: 1px solid #e7e7e7; white-space: nowrap; }
.xe-tags .is-new { background: var(--demo-peach-wash); color: var(--demo-copper); outline: 1px solid var(--action-coral); }
.xe-tags .i { width: 1em; height: 1em; }

@media (max-width: 1000px) {
  .xb-pair { grid-template-columns: 1fr; gap: 28px; }
  .xv-pop { font-size: 13.5px; padding: 1.4em 1.2em; }
  .xe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .xb, .xb-copy-row, .xb-duo { grid-template-columns: 1fr; gap: 28px; }
  .xb-copy > p:not(.product-label), .xb-copy-row > p { font-size: 16px; }
  .xb > .xb-focus { height: 290px; }
  .xb-card { padding: 24px 20px 0; }
}
@media (max-width: 560px) {
  .xe-grid { grid-template-columns: 1fr; gap: 14px; }
  .xe-art { height: 116px; }
  .xv-voice { width: 13.5em; }
}
/* The extras title is a block title, not a page title. */
.xb-extras .head-row { margin-bottom: clamp(24px, 3vw, 40px); }
.xb-extras .head-row h2 { font-size: clamp(25px, 2.35vw, 34px); line-height: 1.16; letter-spacing: -.035em; }
.xb-extras .head-row p { font-size: 17px; }
/* Grids inside the screens never grow past their column (long names are cut with an ellipsis). */
.xv-trigger, .xv-schedule, .xv-sheet, .xv-chat, .xv-pending { grid-template-columns: minmax(0, 1fr); }
.xv-sheet, .xv-chat, .xv-pending { min-width: 0; }

/* ------------------------------------------------------------------------ colour */
/* Same identity as the Workspace page: neutral paper, white cards, hairlines. The tools section
   sits on the warm paper with grain that the Workspace tools section uses; no tinted cards. */
.xb-section { --x-shade: rgb(237 155 127 / 14%); --x-shade-soft: rgb(162 121 151 / 10%); --x-grain: .045; position: relative; isolation: isolate; border-block: 1px solid rgb(32 24 28 / 8%); background-image: radial-gradient(ellipse 90% 40% at 0% 0%, var(--x-shade), transparent 72%), radial-gradient(ellipse 85% 36% at 100% 100%, var(--x-shade-soft), transparent 72%); }
html[data-site-theme="night"] .xb-section { --x-shade: rgb(191 169 150 / 6%); --x-shade-soft: rgb(191 169 150 / 3.5%); --x-grain: .028; border-color: rgb(255 255 255 / 7%); }
.xb-section::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: url("/assets/textures/paper-grain.svg?v=2") repeat; opacity: var(--x-grain); -webkit-mask-image: linear-gradient(transparent, #000 80px, #000 calc(100% - 80px), transparent); mask-image: linear-gradient(transparent, #000 80px, #000 calc(100% - 80px), transparent); }
.xb-warm { margin-bottom: clamp(44px, 5.5vw, 76px); padding: clamp(28px, 4vw, 56px); border: 1px solid var(--ground-line); border-radius: 20px; background: var(--ground-raised); }
.xb-warm + .xb-wide { border-top: 0; padding-top: 0; }
.cross-sell-name { gap: 6px; }
.cross-sell-name::before { display: none; }
@media (max-width: 900px) { .xb-warm { padding: 24px 20px; } }

/* Skeleton bars: parts of the real screen that are not the subject of the picture. */
.xl-ghost { display: inline-block; flex: none; height: .72em; border-radius: 99px; background: #ececec; }
.xl-ghost-dot { width: 2.1em; height: 2.1em; border-radius: 50%; }
.xl-tabs .xl-ghost { margin: 0 .85em; }
.xl-title > .xl-ghost { height: 2.2em; border-radius: .86em; background: #f4f4f4; }
.xl-top { overflow: hidden; }
@container (max-width: 520px) {
  .xl-top > .xl-ghost, .xl-tabs .xl-ghost, .xl-title > .xl-ghost, .xl-user .xl-ghost + .xl-ghost { display: none; }
}

/* Triggers and scheduling belong together: one introduction, then one frame with two halves.
   No rule above them: the introduction is what separates this part from the library. */
.xb-auto { display: grid; gap: clamp(28px, 3.5vw, 40px); padding-top: clamp(56px, 7vw, 96px); scroll-margin-top: 80px; }
.xb-duo { gap: 0; padding-top: 0; overflow: hidden; border: 1px solid var(--ground-line); border-top: 1px solid var(--ground-line); border-radius: 20px; background: var(--ground-raised); }
.xb-duo .xb-card { border: 0; border-radius: 0; background: none; }
.xb-duo .xb-card + .xb-card { border-left: 1px solid var(--ground-line); }
.xb-duo .xb-copy h3 { font-size: clamp(21px, 1.9vw, 27px); }
/* Side by side, the two cards share their rows: the words take the same height, and both screens
   start on the same line and reach the bottom edge, so neither leaves a gap above its screen. */
@media (min-width: 901px) {
  .xb-duo { grid-template-rows: auto 1fr; }
  .xb-duo .xb-card { display: grid; grid-row: span 2; grid-template-rows: subgrid; }
  .xb-duo .xb-art { display: flex; flex-direction: column; margin-top: 0; }
  .xb-duo .xb-art > div { display: flex; flex: 1; flex-direction: column; }
  .xb-duo .xb-art .xv { flex: 1; align-content: start; }
}
.xb-wide { padding-bottom: 0; }
@media (max-width: 900px) {
  .xb-duo { gap: 0; }
  .xb-duo .xb-card + .xb-card { border-left: 0; border-top: 1px solid var(--ground-line); }
}

/* The quiet line under the two automatic tools. */
.xb-note { margin-top: -12px; text-align: center; }

/* The opening screen shows the Biblioteca open; a little more height keeps it clear of the shortcut bar. */
@media (min-width: 901px) { .product-hero-scene { height: 612px; } }
.xb-head .product-label { max-width: none; font-size: 14px; }

/* On a phone the opening title wraps on its own; the fixed break would leave a short line. */
@media (max-width: 560px) { .detail-hero h1 br { display: none; } }

/* ---------------------------------------------------------------- measured spacing */
/* The rhythm of the page, set against the measures of the site method:
   76px from the menu to the first line of the hero and 78px from its last line to the screen
   (64 and 70 on a phone); about 101px of breathing room inside each section (64 on a phone);
   one same distance between the blocks of the features section; 44 to 60px from a title to
   its picture; touch targets of 44px or more. */
.detail-hero-direct { padding-top: clamp(64px, 5.3vw, 76px); }
.detail-hero-extension { padding-bottom: 78px; }
/* Both columns of the hero start on the same line, instead of the title hanging lower. */
.detail-hero-extension .detail-hero-row { align-items: start; }
.detail-hero-extension h1 { margin-top: 18px; }
.xb-section { --xb-gap: clamp(72px, 8.4vw, 120px); }
.xb-section .head-row, .xb-extras .head-row { margin-bottom: clamp(28px, 3.4vw, 48px); }
.xb-wide, .xb-auto { gap: clamp(28px, 3.4vw, 48px); }
.xb-warm { margin-bottom: var(--xb-gap); }
.xb-auto { padding-top: var(--xb-gap); }
/* The extras follow at the same distance, with no rule cutting the section in two. */
.xb-extras { margin-top: var(--xb-gap); padding-top: 0; border-top: 0; }
.price-section { padding-block: var(--sect); }
@media (max-width: 900px) { .detail-hero-extension { padding-bottom: 70px; } }

/* Testimonials turn by themselves; small dots show which one is on. */
.quotes-dots { display: flex; gap: 7px; margin-top: 30px; }
.quotes-dots[hidden] { display: none; }
.quotes-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--ghost-line); transition: width 260ms cubic-bezier(.22, 1, .36, 1), background-color 200ms ease; }
.quotes-dots .is-on { width: 22px; border-radius: 99px; background: var(--on-ground); }

/* ------------------------------------------------- the opening screen, in motion */
/* One working session in WhatsApp Web, played in a loop by js/site.js while the screen is in
   view ([data-story]); the script there switches the states below. Each popup hangs from the
   button that opens it: the Biblioteca and Remarketing from the top bar, Agendar from the contact
   bar. The markup as written is the resting picture (motion reduced or paused): the Biblioteca
   open, the audio and the table sent. */
[data-story] .lz-pop { display: flex; visibility: hidden; opacity: 0; transform: translateY(-.7em) scale(.97); transition: opacity .18s ease, transform .3s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .3s; }
[data-story] .lz-pop.is-on { visibility: visible; opacity: 1; transform: none; transition: opacity .18s ease, transform .3s cubic-bezier(.22, 1, .36, 1), visibility 0s; }
[data-story] :is(.hx-lib, .hx-camp) { top: .6em; }
[data-story] .hx-lib { transform-origin: 16% 0; }
[data-story] .hx-camp { transform-origin: 45% 0; }
[data-story] .hx-sched { top: 9.6em; right: auto; left: calc(50% - 4.6em); transform-origin: 12% 0; }
.hx-close { display: grid; place-items: center; }
/* The buttons: the one whose popup is open stays marked, a press flashes coral. */
[data-story] .lz-tools i, .hx-agendar, .hx-close, .hx-tab, .hx-presets span, .hx-go, [data-story] .lz-pill, [data-story] .lz-row > .i { transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease; }
[data-story] .lz-tools i.is-on, .hx-agendar.is-on { background: var(--demo-peach-wash); color: var(--demo-copper); }
.hx-agendar.is-on { border-color: var(--demo-copper); }
[data-story] .lz-tools i.is-pressed { background: var(--action-coral); color: var(--on-coral); transform: scale(.9); }
:is(.hx-agendar, .hx-close, .hx-tab, .hx-presets span, .hx-go, .lz-pill, .wa-contact).is-pressed { transform: scale(.95); }
[data-story] .lz-row > .i.is-pressed { color: var(--demo-copper); transform: scale(.86); }
/* Biblioteca: the Mensagens and Scripts tabs. */
.hx-list { display: flex; flex-direction: column; gap: .7em; }
.hx-lib[data-tab="msgs"] .hx-in-scripts, .hx-lib[data-tab="scripts"] .hx-in-msgs { display: none; }
.hx-lib[data-tab="msgs"] .hx-tab-msgs, .hx-lib[data-tab="scripts"] .hx-tab-scripts, [data-story] .lz-seg .is-current { background: #fff; outline: 1px solid var(--p-line); color: var(--p-ink); }
/* The conversations: what is sent appears in turn; Marina's and Carlos's swap with the header. */
.hx-step:not(.is-on) { display: none !important; }
[data-story] .msg-doc.is-on { display: flex; }
[data-story] .hx-step.is-on { animation: cue-rise .4s cubic-bezier(.22, 1, .36, 1) both; }
[data-story][data-chat="marina"] :is(.hx-head-carlos, .hx-thread-carlos), [data-story][data-chat="carlos"] :is(.hx-head-marina, .hx-thread-marina) { display: none; }
[data-story] .wa-contact { transition: background-color .2s ease; }
[data-story][data-chat="marina"] .hx-row-marina, [data-story][data-chat="carlos"] .hx-row-carlos { background: #f3f1ef; }
.hx-fade { transition: opacity .3s ease; }
.hx-fade:not(.is-on) { opacity: 0; }
.hx-note { display: flex; align-items: center; align-self: center; gap: .5em; padding: .45em 1em; border-radius: 2em; background: #fff; outline: 1px solid var(--p-line); font-size: .9em; color: var(--p-text); }
.hx-note .i { width: 1.1em; height: 1.1em; color: var(--action-wine); }
/* Carlos answers the campaign: new last message, the time in green and the unread count. */
.hx-side { display: flex; flex-direction: column; align-items: flex-end; gap: .35em; }
.hx-row-carlos .hx-now, .hx-badge { display: none; }
.hx-row-carlos.is-new .hx-was { display: none; }
.hx-row-carlos.is-new .hx-now { display: block; }
.hx-row-carlos.is-new small.hx-now { font-weight: 600; color: var(--p-ink); }
.hx-row-carlos.is-new time.hx-now { font-weight: 600; color: #1b7f45; }
.hx-row-carlos.is-new .hx-badge { display: grid; place-items: center; min-width: 1.7em; height: 1.7em; padding: 0 .45em; border-radius: 99px; background: #25d366; color: #0a2e18; font-size: .72em; font-style: normal; font-weight: 700; }
[data-story][data-chat="carlos"] .hx-row-carlos .hx-badge { display: none; }
[data-story][data-chat="carlos"] .hx-row-carlos :is(small, time).hx-now { font-weight: 400; color: inherit; }
[data-story][data-chat="carlos"] .hx-row-carlos time.hx-now { color: #6b6b6b; }
/* Agendar: "+1 dia" moves the date to tomorrow. */
.hx-presets { display: flex; gap: .4em; }
.hx-presets span { padding: .35em .65em; border: 1px solid var(--p-line); border-radius: 2em; font-size: .86em; white-space: nowrap; }
.hx-sched.is-picked .hx-plus1 { border-color: var(--demo-copper); background: var(--demo-peach-wash); color: var(--demo-copper); }
.hx-when { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: .5em; }
.hx-when b { font-weight: 500; }
.hx-sched .hx-now, .hx-sched.is-picked .hx-was { display: none; }
.hx-sched.is-picked .hx-now { display: inline; }
.hx-go { display: grid; place-items: center; height: 2.7em; border-radius: .8em; background: var(--action-wine); color: #fff; font-weight: 600; }
/* Remarketing: the campaign under review, then running with its counts. */
.hx-card { display: grid; gap: .6em; padding: .95em; border: 1px solid var(--p-line); border-radius: .9em; }
.hx-card-head { display: flex; align-items: center; justify-content: space-between; gap: .6em; }
.hx-status { padding: .15em .65em; border-radius: 2em; font-size: .8em; font-weight: 600; }
.hx-status.hx-was { background: #f2f0ee; color: var(--p-text); }
.hx-status.hx-now { background: #eaf5ec; color: #2b6a3a; }
.hx-fact { display: flex; justify-content: space-between; gap: .6em; font-size: .92em; }
.hx-fact span { color: #6b6b6b; }
.hx-fact b { font-weight: 500; }
.hx-camp .hx-now, .hx-camp.is-running .hx-was { display: none; }
.hx-camp.is-running .hx-status.hx-now { display: inline; }
.hx-camp.is-running .hx-progress { display: grid; }
.hx-progress { gap: .5em; align-content: center; height: 2.7em; }
.hx-bar { display: block; height: .45em; overflow: hidden; border-radius: 99px; background: #eee9e5; }
.hx-bar > i { display: block; width: calc(var(--p, 0) * 100%); height: 100%; border-radius: inherit; background: var(--action-wine); transition: width .4s ease; }
.hx-progress p { display: flex; justify-content: space-between; font-size: .88em; color: #6b6b6b; }
.hx-progress b { font-weight: 600; color: var(--p-ink); }
/* A script on its way: the shortcut bar shows it, message by message. */
.hx-run { display: none; flex: none; align-items: center; gap: .7em; height: 2.7em; margin: 0 1.4em .7em; padding: 0 .4em 0 .35em; border: 1px solid var(--p-line); border-radius: 2em; background: #fff; }
.hx-run.is-on { display: flex; }
.hx-run.is-on + .wa-quick { display: none; }
.hx-run-mark { display: grid; flex: none; place-items: center; width: 2em; height: 2em; border-radius: 50%; background: var(--demo-peach-wash); color: var(--demo-copper); }
.hx-run-mark .i { width: 1.1em; height: 1.1em; }
.hx-run > span:nth-child(2) { display: flex; align-items: baseline; gap: .7em; white-space: nowrap; }
.hx-run small { font-size: .86em; color: #6b6b6b; }
.hx-run .hx-run-n { font-style: normal; }
.hx-run > .hx-bar { flex: 1; max-width: 12em; margin: 0 .8em 0 auto; }
/* The shortcut: a first touch shows "Enviar", the second sends. */
.hx-pill-table.is-armed { border-color: var(--demo-copper); background: var(--demo-peach-wash); }
[data-story] .lz-pill :is(b, em) { transition: opacity .15s ease; }
.hx-pill-table.is-armed b { opacity: 0; }
.hx-pill-table.is-armed em { opacity: 1; }
/* On a phone the screen is one conversation at its real size: the popups still float under their
   buttons, and the contact bar and the Remarketing button stay, since the story uses them. */
@container (max-width: 720px) {
  [data-story] .lz-pop { position: absolute; }
  [data-story] :is(.hx-lib, .hx-camp) { right: 1em; }
  [data-story] .lz-contact { position: static; display: flex; align-self: center; margin-top: .7em; transform: none; }
  [data-story] .lz-tools i.hx-mega { display: grid; }
  [data-story] .lz-tools i:nth-child(3) { display: none; }
  [data-story] .hx-run { order: 3; margin-inline: 1em; }
  [data-story] .hx-sched { top: 9.5em; right: 1em; left: 1em; width: auto; transform-origin: 50% 0; }
  [data-story] .hx-presets { flex-wrap: wrap; }
}
/* Between two takes the window empties for a moment. */
[data-story] .wa { transition: opacity .45s ease; }
[data-story].is-turning .wa { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  [data-story] :is(.lz-pop, .wa, .hx-fade, .hx-bar > i) { transition: none; }
  [data-story] .hx-step.is-on { animation: none; }
}
html[data-motion="paused"] [data-story] .hx-step.is-on { animation: none; }

/* The pointer that does the clicking. js/site.js measures each button where it rests and walks
   the pointer to it just before the press; at rest, and with motion reduced or paused, it is not
   shown. */
.product-hero-scene .ps-frame { position: relative; }
.hero-cursor { position: absolute; z-index: 5; top: 0; left: 0; width: 2.9em; height: 2.9em; opacity: 0; pointer-events: none; transform-origin: 8.3% 8.3%; transition: opacity .25s ease; will-change: transform, opacity; }
.hero-cursor svg { display: block; width: 100%; height: 100%; overflow: visible; }

/* ------------------------------------------------- the opening, side by side */
/* The standard hero: title, subtitle and buttons on the left, the screen at work on the right. */
.hero-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.22fr); align-items: center; gap: clamp(32px, 4.4vw, 60px); }
.detail-hero-split { padding-bottom: 36px; }
.detail-hero-split h1 { margin-top: 18px; font-size: clamp(36px, 3.5vw, 50px); }
.hero-split-copy > p:not(.product-label, .small-note) { max-width: 46ch; margin-top: 20px; font-size: 17px; }
.detail-hero-split .small-note { margin-top: 14px; }
/* The screen stays whole at every width and shrinks like a picture, instead of being rearranged
   into one panel: the window is laid out three times wider and scaled back down. */
.detail-hero-split .product-hero-scene { position: relative; height: auto; aspect-ratio: 100 / 66; }
.detail-hero-split .product-hero-scene > .ps-window { position: absolute; top: 0; left: 0; width: 300%; height: 300%; transform: scale(.33334); transform-origin: 0 0; }
.detail-hero-split .ps-frame { font-size: 1.06cqw; }
/* The picture is smaller than a full screen, so the pointer is drawn larger to stay visible. */
.detail-hero-split .hero-cursor { width: 3.6em; height: 3.6em; }
@media (max-width: 900px) {
  .hero-split { grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 4vw, 40px); }
  .detail-hero-split { padding-bottom: 0; }
  .detail-hero-split h1 { font-size: 39px; }
  .hero-split-copy > p:not(.product-label, .small-note) { font-size: 16px; }
  .detail-hero-split .small-note { margin-top: 10px; }
  .detail-hero-split .hero-cursor { width: 4.6em; height: 4.6em; }
}
@media (max-width: 560px) {
  .detail-hero.detail-hero-split { padding-block: 24px; }
  .detail-hero-split .detail-actions { flex-direction: row; justify-content: flex-start; gap: 10px 16px; }
  .detail-hero-split .small-note { text-align: left; }
  .detail-hero-extension .product-hero-scene { aspect-ratio: auto; height: 450px; }
  .detail-hero-extension .product-hero-scene > .ps-window {
    position: static; width: 100%; height: 100%; transform: none;
  }
  .detail-hero-extension .ps-frame { font-size: 12px; }
  .detail-hero-extension .lz-pop { width: min(24em, calc(100% - 2em)); }
  .detail-hero-extension .hero-cursor { width: 2.3em; height: 2.3em; }
}


/* A signed message: the name and role on their own line, as the signature appears. */
.xe-signed b { display: block; margin-bottom: .15em; }

/* ------------------------------------------------- the Workspace invitation, last thing before the footer */
/* A slim band in the fill of the brand's main button, with the same dark text the button uses. */
.ws-ribbon { padding-block: clamp(30px, 3.2vw, 40px); background: var(--cta-fill); color: var(--on-brand); }
.ws-ribbon-row { display: flex; align-items: center; justify-content: space-between; gap: 20px 48px; }
.ws-ribbon h2 { font-size: clamp(21px, 1.9vw, 26px); line-height: 1.2; letter-spacing: -.02em; color: inherit; }
.ws-ribbon p { margin-top: 6px; font-size: 15px; line-height: 1.45; color: inherit; opacity: .82; }
.ws-ribbon .btn { flex: none; }
/* The closing call and the band touch: one rule between them is enough. */
.product-end:has(+ .ws-ribbon) { border-bottom: 0; }
@media (max-width: 760px) {
  .ws-ribbon-row { flex-direction: column; align-items: stretch; }
  .ws-ribbon .btn { width: 100%; }
}
/* The Extensão's question title reads in two lines instead of three. */
@media (min-width: 901px) { .faq-extension h2 { max-width: 16ch; } }
/* The Workspace mark sits in the white button, where its own colours read. */
.ws-ribbon .btn { padding-inline: 18px 22px; }
.ws-ribbon .workspace-icon { width: 30px; height: 30px; margin: 0 -1px 0 0; }

/* ------------------------------------------------- the Workspace invitation, on the Workspace's paper */
/* Replaces the pink band. Same ground as the Workspace page: warm paper with grain, white pieces
   with hairlines, and the brand colour only in the mark and in the button. */
.ws-band { --x-shade: rgb(161 117 153 / 17%); --x-shade-soft: rgb(239 159 125 / 15%); --x-grain: .05; position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(44px, 5vw, 68px); border-top: 1px solid rgb(32 24 28 / 8%); background-image: radial-gradient(ellipse 70% 120% at 100% 50%, var(--x-shade), transparent 70%), radial-gradient(ellipse 60% 100% at 0% 100%, var(--x-shade-soft), transparent 72%); }
html[data-site-theme="night"] .ws-band { --x-shade: rgb(191 169 150 / 7%); --x-shade-soft: rgb(191 169 150 / 4%); --x-grain: .03; border-color: rgb(255 255 255 / 7%); }
.ws-band::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: url("/assets/textures/paper-grain.svg?v=2") repeat; opacity: var(--x-grain); }
.ws-band-row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 72px); }
.ws-band h2 { font-size: clamp(28px, 2.7vw, 38px); }
.ws-band-copy > p { max-width: 44ch; margin-top: 14px; font-size: 16px; }
.ws-band-copy .btn { margin-top: 26px; }
/* The picture: the wheel in the middle of a fine ring, the three tags resting on the ring. */
.ws-band-art { position: relative; justify-self: center; width: min(100%, 400px); aspect-ratio: 400 / 250; }
.ws-band-art > svg { position: absolute; top: 50%; left: 50%; width: 33%; height: auto; transform: translate(-50%, -50%); }
.ws-orbit { position: absolute; top: 50%; left: 50%; width: 56%; aspect-ratio: 1; border: 1px solid rgb(32 24 28 / 11%); border-radius: 50%; transform: translate(-50%, -50%); }
html[data-site-theme="night"] .ws-orbit { border-color: rgb(255 255 255 / 12%); }
.ws-tag { position: absolute; display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px 0 9px; border: 1px solid var(--ground-line); border-radius: 99px; background: var(--ground-raised); color: var(--on-ground); font-size: 14px; font-weight: 600; line-height: 1; white-space: nowrap; }
.ws-tag i { display: inline-flex; flex: none; }
.ws-tag .i { width: 15px; height: 15px; }
.ws-tag-wa, .ws-tag-ig, .ws-tag-ai { align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; color: #fff; }
.ws-tag-wa { background: #25d366; }
.ws-tag-ig { margin-left: -13px; background: #d6249f; outline: 2px solid var(--ground-raised); }
.ws-tag-ai { background: #20181c; }
.ws-tag-faces img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; outline: 2px solid var(--ground-raised); }
.ws-tag-faces img + img { margin-left: -8px; }
.ws-tag-channels { top: 4%; left: 0; }
.ws-tag-team { top: 40%; right: 0; }
.ws-tag-agents { bottom: 2%; left: 6%; }
.ws-band[data-cue="wait"] .ws-tag { opacity: 0; }
.ws-band[data-cue="play"] .ws-tag { animation: cue-rise .45s cubic-bezier(.22, 1, .36, 1) var(--d, 0s) both; }
.product-end:has(+ .ws-band) { border-bottom: 0; }
.end-note { margin-top: 14px; }
@media (max-width: 900px) {
  .ws-band-row { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .ws-band-art { order: -1; width: min(100%, 340px); }
  .ws-band h2 br { display: none; }
  .ws-band-copy .btn { width: 100%; margin-top: 22px; }
  .ws-tag { min-height: 36px; font-size: 13px; }
}
.ws-tag .brand-icon { width: 14px; height: 14px; }
.ws-tag .ws-tag-ig { margin-left: -6px; }

/* Four tags now, each one a concrete thing the Workspace has. The picture is a little wider. */
.ws-band-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.ws-band h2 { font-size: clamp(28px, 2.6vw, 36px); }
.ws-band-art { width: min(100%, 500px); aspect-ratio: 500 / 290; }
.ws-band-art > svg { width: 25%; }
.ws-orbit { width: 46%; }
.ws-tag-claude { margin-left: -6px; background: #d97757; outline: 2px solid var(--ground-raised); }
.ws-tag-channels { top: 2%; left: 0; }
.ws-tag-team { top: 18%; right: 0; left: auto; }
.ws-tag-mcp { right: 0; bottom: 16%; }
.ws-tag-agents { bottom: 0; left: 5%; }
/* On a narrow screen the tags leave the ring and line up under the mark. */
@media (max-width: 900px) {
  .ws-band-art { display: flex; flex-wrap: wrap; align-content: center; align-items: center; justify-content: center; gap: 8px; width: 100%; height: auto; aspect-ratio: auto; }
  .ws-band-art > svg { position: static; flex: 0 0 100%; width: 96px; height: 96px; margin-bottom: 10px; transform: none; }
  .ws-orbit { display: none; }
  .ws-tag { position: static; }
}

/* The four tags take the four corners of the ring, slightly out of step, so the picture is balanced. */
@media (min-width: 901px) {
  .ws-tag-channels { top: 5%; left: 0; }
  .ws-tag-team { top: 13%; right: 0; }
  .ws-tag-agents { bottom: 13%; left: 13%; }
  .ws-tag-mcp { right: 0; bottom: 5%; }
}
@media (max-width: 900px) { .ws-band-row { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------- who it is for: the areas, each with its folder */
/* A section of its own, between the features and the testimonials. On the left the twelve areas
   as a quiet list; on the right the Biblioteca with the chosen area's folder open and its first
   message landing in the chat. */
.areas-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5.4vw, 80px); }
.areas-copy h2 { margin-top: 18px; }
.areas-copy > p:not(.product-label) { max-width: 42ch; margin-top: 16px; font-size: 17px; }
.areas-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 6px; margin-top: 30px; }
.areas-nav button { position: relative; display: flex; align-items: center; min-height: 44px; padding: 0 12px 0 28px; border: 1px solid transparent; border-radius: 12px; background: none; color: var(--on-ground-soft); font: inherit; font-size: 15px; font-weight: 500; text-align: left; cursor: pointer; transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease; }
.areas-nav button::before { content: ""; position: absolute; top: 50%; left: 12px; width: 6px; height: 6px; margin-top: -3px; border-radius: 2px; background: var(--ghost-line); transition: background-color 150ms ease, transform 200ms cubic-bezier(.22, 1, .36, 1); }
.areas-nav [aria-selected="true"] { border-color: var(--ground-line); background: var(--ground-raised); color: var(--on-ground); font-weight: 600; }
.areas-nav [aria-selected="true"]::before { background: var(--brand); transform: scale(1.15); }
.areas-nav button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .areas-nav button:hover { color: var(--on-ground); } }
.areas-stage { min-width: 0; }
.areas-panel { overflow: hidden; border: 1px solid #ded8d3; border-radius: 18px; }
.xa-view { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 1.1em; padding: clamp(22px, 3.4vw, 44px) clamp(18px, 3.4vw, 44px) clamp(22px, 3vw, 36px); font-size: 14.5px; }
.xa-view .xv-sheet { width: 100%; max-width: 27.5em; }
.xa-path { display: flex; align-items: center; gap: .5em; font-size: .93em; color: #6d6d6d; }
.xa-path .i { color: var(--demo-copper); }
.xa-path i { font-style: normal; color: #b9b3ae; }
.xa-path b { color: #3d3d3d; }
.xa-view > .xv-out { display: flex; align-items: center; min-height: 2.9em; margin-right: max(0px, (100% - 27.5em) / 2); }
.areas-note { margin-top: 12px; text-align: center; }
/* Changing area replays the small story: the folder's messages come in, then the first is sent. */
.areas-panel [data-cue="wait"] :is(.xv-row, .xv-out) { opacity: 0; }
.areas-panel [data-cue="play"] .xv-row { animation: cue-rise .34s cubic-bezier(.22, 1, .36, 1) both; }
.areas-panel [data-cue="play"] .xv-row:nth-of-type(4) { animation-delay: 70ms; }
.areas-panel [data-cue="play"] .xv-row:nth-of-type(5) { animation-delay: 140ms; }
@keyframes xa-press {
  0% { background: transparent; color: #757575; transform: none; }
  45% { background: var(--action-coral); color: var(--on-coral); transform: scale(.88); }
  100% { background: var(--action-coral); color: var(--on-coral); transform: none; }
}
.areas-panel [data-cue="play"] .xv-send.is-on { animation: xa-press .45s cubic-bezier(.22, 1, .36, 1) .55s both; }
.areas-panel [data-cue="play"] .xv-out { animation: cue-rise .4s cubic-bezier(.22, 1, .36, 1) .85s both; }
@media (max-width: 900px) {
  .areas-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .areas-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 24px; }
  .areas-copy > p:not(.product-label) { font-size: 16px; }
  .xa-view { font-size: 13.5px; }
}

/* ------------------------------------------------- a PDF, sent, as WhatsApp shows it */
.xv .xd { display: block; width: 17.5em; max-width: 100%; padding: .28em; }
.xd-page { display: block; width: 100%; height: 7.4em; border: 1px solid #eeeae6; border-bottom: 0; border-radius: .5em .5em 0 0; background: #fff; }
.xv .xd-info { display: flex; align-items: center; gap: .65em; padding: .6em .7em; border-radius: 0 0 .5em .5em; background: #f5f3f0; }
.xd-mark { flex: none; width: 1.75em; height: 2em; }
.xd-info > span { min-width: 0; }
.xd-info b { display: block; overflow: hidden; font-weight: 500; color: #1f1f1f; text-overflow: ellipsis; white-space: nowrap; }
.xd-info small { display: block; font-size: .82em; color: #8a8580; }
.xv .xd-foot { display: flex; align-items: center; justify-content: flex-end; gap: .3em; padding: .28em .35em .05em; font-size: .78em; color: #8a8580; }
.xd-foot time { margin: 0; font-size: 1em; }
.xd-ticks { width: 1.35em; height: .9em; }

/* Areas, second pass: the words stay on the left; the areas sit under the screen they change,
   each on a light tint of the brand's orange, and the chosen one takes the brand fill. */
.areas-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.areas-nav button { min-height: 44px; padding: 0 16px; border: 1px solid rgb(245 118 78 / 24%); border-radius: 99px; background: rgb(245 118 78 / 9%); color: var(--on-ground); font-size: 14px; }
.areas-nav button::before { display: none; }
.areas-nav [aria-selected="true"] { border-color: transparent; background: var(--cta-fill); color: var(--on-brand); font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .areas-nav button:not([aria-selected="true"]):hover { background: rgb(245 118 78 / 16%); } }
html[data-site-theme="night"] .areas-nav button:not([aria-selected="true"]) { border-color: rgb(245 118 78 / 34%); background: rgb(245 118 78 / 14%); }
/* Every area keeps the same height, whether its first message is a voice note or a PDF. */
.xa-view { align-content: start; min-height: 37.5em; }
.xa-view > .xd { display: block; min-height: 0; }
@media (max-width: 900px) {
  .areas-nav { display: flex; justify-content: flex-start; margin-top: 14px; }
  .areas-nav button { padding: 0 14px; }
}

/* Workspace invitation, third pass: no big mark and no ring. A small lockup in the middle with
   fine lines running to the four things it brings together. */
.ws-band-art { aspect-ratio: 500 / 250; }
.ws-band-art > .ws-links { position: absolute; top: 0; left: 0; width: 100%; height: 100%; transform: none; overflow: visible; }
.ws-links path { fill: none; stroke: rgb(32 24 28 / 15%); stroke-width: 1; vector-effect: non-scaling-stroke; }
html[data-site-theme="night"] .ws-links path { stroke: rgb(255 255 255 / 16%); }
.ws-hub { position: absolute; top: 50%; left: 50%; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px 0 9px; border: 1px solid var(--ground-line); border-radius: 99px; background: var(--ground-raised); color: var(--on-ground); font-size: 16px; line-height: 1; white-space: nowrap; transform: translate(-50%, -50%); }
.ws-hub svg { flex: none; width: 34px; height: 34px; }
.ws-hub b { font-weight: 600; letter-spacing: -.01em; }
@media (min-width: 901px) {
  .ws-tag-channels { top: 4%; left: 2%; }
  .ws-tag-team { top: 8%; right: 2%; }
  .ws-tag-agents { bottom: 8%; left: 8%; }
  .ws-tag-mcp { right: 0; bottom: 2%; }
}
@media (max-width: 900px) {
  .ws-band-art > .ws-links { display: none; }
  .ws-hub { position: static; margin: 0 20% 8px; transform: none; }
}

/* Areas, proportions: the title fits in two lines and the screen is a little more compact. */
.areas-copy h2 { max-width: none; font-size: clamp(30px, 2.8vw, 40px); }
.areas-nav { justify-content: flex-start; }
.xa-view { gap: .95em; min-height: 0; padding: clamp(20px, 2.4vw, 30px) clamp(18px, 2.6vw, 34px); font-size: 13px; }
.xa-view > .xv-out { align-self: start; }
/* The slot of the sent message is as tall as the PDF, so no area changes the height of the screen. */
.xa-view { grid-template-rows: auto 13.4em; }
@media (max-width: 900px) { .xa-view { font-size: 13px; } }
/* In the trigger's small chat the preview is shorter, so the card keeps its height. */
.xv-trigger .xd-page { height: 4.6em; }

/* Areas, fourth pass: the words, the areas and the note together on the left; on the right a screen
   as tall as its folder. A sent PDF shows its file bar, the size of a voice note, so the slow turn
   through the areas never changes the height of the block. */
.areas-grid { align-items: start; }
.areas-copy { padding-top: 6px; }
.areas-copy > p:not(.product-label) { margin-bottom: 0; }
.areas-nav { justify-content: flex-start; gap: 8px; margin-top: 28px; }
.areas-nav button { min-height: 40px; padding: 0 14px; font-size: 14px; }
.areas-note { margin-top: 16px; text-align: left; }
.xa-view { grid-template-rows: auto 4.4em; padding-bottom: 26px; }
.xa-view > .xv-out { justify-self: end; align-self: start; min-height: 2.9em; margin: -1.6em 0 0; }
.xa-view > .xd { width: 15em; }
.xa-view > .xd .xd-page { display: none; }
@media (max-width: 900px) {
  /* Phones: the areas in one row that scrolls sideways, right above the screen; the note under it. */
  .areas-grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .areas-copy { display: contents; }
  .areas-stage { order: 1; }
  .areas-note { order: 2; margin-top: 12px; text-align: center; }
  .areas-nav { flex-wrap: nowrap; gap: 8px; min-width: 0; margin: 22px calc(-1 * var(--gutter)) 14px; padding: 2px var(--gutter); overflow-x: auto; scrollbar-width: none; }
  .areas-nav::-webkit-scrollbar { display: none; }
  .areas-nav button { flex: none; white-space: nowrap; }
}

/* Extras on phones: the six cards in one row that slides sideways, each card a little narrower than
   the screen so the next one shows at the edge. Six stacked cards took almost 1,800px. */
@media (max-width: 560px) {
  .xe-grid { display: flex; gap: 12px; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .xe-grid::-webkit-scrollbar { display: none; }
  .xe-grid > li { flex: 0 0 82%; scroll-snap-align: start; }
  .xe-grid li > p { flex: 1; }
}

/* ------------------------------------------------------------------ how it works */
/* What an extension is and the three steps from the store to the conversation. Each step has a
   small screen of the product (the store listing, the extension window, the chat); the steps take
   turns in focus, so the eye follows the order. */
.xh-section { background: var(--ground); }
/* Right under the store badge, on the same ground: the badge already gives the room above. */
.store-strip + .xh-section { padding-top: clamp(24px, 3vw, 40px); }
.xh-head { margin-bottom: clamp(26px, 3vw, 40px); }
.xh-head > p { max-width: 50ch; font-size: 17px; line-height: 1.6; }
.xh-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 22px); }
.xh-step { display: flex; flex-direction: column; min-width: 0; padding-bottom: 26px; overflow: hidden; border: 1px solid var(--ground-line); border-radius: 20px; background: var(--ground-raised); animation: xh-turn 9s infinite; }
.xh-step:nth-child(2), .xh-step:nth-child(2) .xh-n { animation-delay: 3s; }
.xh-step:nth-child(3), .xh-step:nth-child(3) .xh-n { animation-delay: 6s; }
.xh-art { display: grid; place-items: center; height: 188px; padding: 16px 18px; border-bottom: 1px solid var(--ground-hairline); background: var(--demo-thread); }
.xh-art > div { display: grid; place-items: center; width: 100%; }
.xh-n { display: grid; place-items: center; width: 30px; height: 30px; margin: 22px 24px 0; border: 1px solid var(--ghost-line); border-radius: 50%; font-size: 14px; font-weight: 600; color: var(--on-ground-soft); animation: xh-turn-n 9s infinite; }
.xh-step > h3 { margin: 14px 24px 0; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.xh-step > p { margin: 8px 24px 0; font-size: 15.5px; line-height: 1.55; color: var(--on-ground-soft); }
.xh-needs { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 26px; }
.xh-needs li { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--on-ground-soft); }
.xh-needs .i { width: 18px; height: 18px; color: var(--prompt-wine-light); }
html[data-site-theme="night"] .xh-needs .i { color: #edbdce; }
@keyframes xh-turn { 0%, 30% { border-color: var(--prompt-wine-light); } 36%, 100% { border-color: var(--ground-line); } }
@keyframes xh-turn-n { 0%, 30% { border-color: transparent; background: var(--action-wine); color: #fff; } 36%, 100% { border-color: var(--ghost-line); background: transparent; color: var(--on-ground-soft); } }
html[data-motion="paused"] :is(.xh-step, .xh-n) { animation: none; }
@media (prefers-reduced-motion: reduce) { :is(.xh-step, .xh-n) { animation: none; } }

/* The three small screens: product UI, light in both themes. */
:is(.xh-store, .xh-pop) { width: min(100%, 290px); border: 1px solid #e3ddd8; border-radius: 14px; background: #fff; color: #20181c; font-size: 13px; text-align: left; }
.xh-store { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; padding: 14px; }
.xh-app { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid #ece7e3; border-radius: 12px; }
.xh-mark { width: 26px; height: 26px; }
.xh-listing b { display: block; font-size: 15px; }
.xh-listing small { display: flex; align-items: center; gap: 5px; margin-top: 1px; font-size: 11.5px; color: #6d6d6d; }
.xh-listing .store-mark { width: 13px; height: 13px; }
.xh-stars { display: flex; align-items: center; gap: 1px; margin-top: 4px; }
.xh-stars svg { width: 11px; height: 11px; fill: var(--brand-2); }
.xh-stars em { margin-left: 5px; font-size: 11.5px; font-style: normal; color: #594f54; }
.xh-add, .xh-btn { display: grid; place-items: center; height: 34px; border-radius: 9px; background: var(--action-wine); color: #fff; font-size: 12.5px; font-weight: 600; }
.xh-add { grid-column: 1 / -1; }
.xh-pop { display: grid; gap: 8px; width: min(100%, 270px); padding: 12px 14px; }
.xh-pop-head { display: flex; align-items: center; gap: 8px; font-size: 14px; color: inherit; }
.xh-pop-head .xh-mark { width: 22px; height: 22px; }
.xh-status { display: flex; align-items: center; gap: 7px; padding: 7px 10px; white-space: nowrap; border-radius: 9px; background: #f0f6f1; color: #2b6a3a; font-size: 12.5px; }
.xh-status i { width: 8px; height: 8px; border-radius: 50%; background: #25d366; }
.xv.xh-chat { display: grid; gap: 10px; width: min(100%, 290px); }
.xh-chat .xv-in { max-width: 100%; }
.xh-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.xh-chips span { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border: 1px solid #e3ddd8; border-radius: 99px; background: #fff; font-size: 12px; color: #20181c; }
.xh-chips .i { width: 13px; height: 13px; color: var(--action-wine); }

/* ------------------------------------------------------------------------ scripts */
/* Mirrored split (screen first), so the tools do not repeat the same shape twice in a row. */
.xb-flip { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); }
.xb-flip > .xb-scene { order: -1; }
.xb-script { height: auto; }
.xv-script { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1em; padding: 1.2em 1.2em 0; background: var(--demo-thread); }
.xv-seq { display: grid; gap: .45em; }
.xv-seq li { display: flex; align-items: center; gap: .7em; min-width: 0; padding: .55em .75em; border: 1px solid #e7e7e7; border-radius: .75em; background: #fff; }
.xv-seq li > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xv-seq li em { flex: none; font-size: .85em; font-style: normal; color: #757575; }
.xv-seq li .i { color: #757575; }
.xv-seq .is-sent .i { color: var(--action-wine); }
.xv-seq .is-next { border-color: var(--action-coral); background: var(--demo-peach-wash); }
.xv .xv-typing { display: inline-flex; align-items: center; gap: .45em; justify-self: end; width: fit-content; margin-left: auto; padding: .45em .8em; border-radius: .7em .7em 0 .7em; background: var(--demo-reply); color: var(--demo-reply-meta); font-size: .85em; }

/* Guarantee under the closing button. */
.end-guarantee { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 8px; font-size: 14px; color: var(--on-ground-soft); }
.end-guarantee .i { width: 17px; height: 17px; color: var(--prompt-wine-light); }
html[data-site-theme="night"] .end-guarantee .i { color: #edbdce; }

@media (max-width: 900px) {
  .xb-flip { grid-template-columns: 1fr; }
  .xb-flip > .xb-scene { order: 0; }
  .xh-steps { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------ flows */
/* A flow drawn as its canvas, beside the words like the other tools: the trigger, an audio, the
   wait for the customer and its two exits. The taken path lights up in order (the trigger in
   coral, every action in wine); the path not taken stays grey. Plays when the screen comes into
   view; at rest the finished run is shown. The screen stays light in both themes, like the product. */
.xf-scene { display: grid; place-items: center; height: auto; min-height: 440px; padding: 40px 28px; container-type: inline-size; background: #fbf9f7 radial-gradient(circle, #e2dcd6 1px, transparent 1.3px) 0 0 / 20px 20px; }
.xf { width: 100%; font-size: 14.5px; }
.xf p { margin: 0; }
.xf-tree { display: grid; justify-items: center; width: 100%; max-width: 31em; margin: 0 auto; }
.xf-node { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .75em; width: 100%; max-width: 15.5em; padding: .7em .9em .7em .7em; border: 1px solid #e6e1dc; border-radius: .9em; background: #fff; text-align: left; }
.xf-tile { display: grid; place-items: center; width: 2.2em; height: 2.2em; border-radius: .65em; background: #f4f0ec; color: #6b6b6b; }
.xf-tile .i { width: 1.15em; height: 1.15em; }
.xf-text { display: grid; min-width: 0; }
.xf-text b { overflow: hidden; font-size: .95em; font-weight: 600; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.xf-text em { overflow: hidden; font-size: .84em; font-style: normal; color: #6b6b6b; text-overflow: ellipsis; white-space: nowrap; }
.xf-node.is-lit { border-color: var(--action-wine); }
.xf-node.is-lit .xf-tile { background: var(--action-wine); color: #fff; }
.xf-node.is-start.is-lit { border-color: var(--action-coral); }
.xf-node.is-start.is-lit .xf-tile { background: var(--action-coral); color: var(--on-coral); }
/* The connections: a grey track, filled in wine as the run passes. */
.xf-wire, .xf-line { position: relative; display: block; background: #ddd6d0; }
.xf-wire { width: 2px; height: 1.6em; }
.xf-wire::after, .xf-line::after { content: ""; position: absolute; inset: 0; background: var(--action-wine); transform: scaleY(0); transform-origin: 50% 0; }
:is(.xf-wire, .xf-line).is-lit::after { transform: none; }
.xf-fork { position: relative; width: 100%; height: 3.5em; }
.xf-line { position: absolute; }
.xf-stem { top: 0; left: calc(50% - 1px); width: 2px; height: 1.1em; }
.xf-arm-yes, .xf-arm-no { top: calc(1.1em - 1px); width: 25%; height: 2px; }
.xf-arm-yes { left: 25%; }
.xf-arm-no { left: 50%; }
.xf-arm-yes::after { transform: scaleX(0); transform-origin: 100% 50%; }
.xf-arm-no::after { transform: scaleX(0); transform-origin: 0 50%; }
.xf-drop-yes, .xf-drop-no { top: calc(1.1em - 1px); width: 2px; height: calc(2.4em + 1px); }
.xf-drop-yes { left: calc(25% - 1px); }
.xf-drop-no { left: calc(75% - 1px); }
.xf-exit { position: absolute; top: 1.6em; padding: .1em .6em; border: 1px solid #e6e1dc; border-radius: 99px; background: #fff; font-size: .76em; color: #6b6b6b; white-space: nowrap; transform: translateX(-50%); }
.xf-exit-yes { left: 25%; }
.xf-exit-no { left: 75%; }
.xf-exit.is-lit { border-color: var(--action-wine); color: var(--action-wine); }
.xf-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
.xf-path { display: grid; justify-items: center; padding-inline: .45em; }
.xf-path .xf-node { max-width: 14.5em; }
.xf-path.is-idle { opacity: .55; }
/* The note on WhatsApp Web closes the automatic tools. */
.xf-note { margin-top: 0; padding-top: 4px; }

/* The run, in order. --d is when each part lights; --t how long a connection takes to fill. */
.xf-n1 { --d: .5s; } .xf-w1 { --d: .8s; } .xf-n2 { --d: 1.15s; } .xf-w2 { --d: 1.6s; } .xf-n3 { --d: 1.95s; }
.xf-stem { --d: 3.4s; --t: .15s; } .xf-arm-yes { --d: 3.55s; --t: .18s; } .xf-exit-yes { --d: 3.6s; } .xf-drop-yes { --d: 3.73s; --t: .27s; } .xf-n4 { --d: 4s; }
@keyframes xf-node-on { from { border-color: #e6e1dc; } }
@keyframes xf-tile-on { from { background: #f4f0ec; color: #6b6b6b; } }
@keyframes xf-grow-y { from { transform: scaleY(0); } }
@keyframes xf-grow-x { from { transform: scaleX(0); } }
@keyframes xf-exit-on { from { border-color: #e6e1dc; color: #6b6b6b; } }
@keyframes xf-waiting { 0%, 100% { border-color: var(--action-wine); } 50% { border-color: #e6e1dc; } }
.xf-scene[data-cue="wait"] .xf-node.is-lit { border-color: #e6e1dc; }
.xf-scene[data-cue="wait"] .xf-node.is-lit .xf-tile { background: #f4f0ec; color: #6b6b6b; }
.xf-scene[data-cue="wait"] :is(.xf-wire, .xf-stem, .xf-drop-yes).is-lit::after { transform: scaleY(0); }
.xf-scene[data-cue="wait"] .xf-arm-yes.is-lit::after { transform: scaleX(0); }
.xf-scene[data-cue="wait"] .xf-exit.is-lit { border-color: #e6e1dc; color: #6b6b6b; }
.xf-scene[data-cue="play"] .xf-node.is-lit { animation: xf-node-on .3s ease var(--d) both; }
.xf-scene[data-cue="play"] .xf-node.is-lit .xf-tile { animation: xf-tile-on .3s ease var(--d) both; }
/* While it waits for the customer, the wait block breathes once a second until the answer comes. */
.xf-scene[data-cue="play"] .xf-n3 { animation: xf-node-on .3s ease var(--d) both, xf-waiting 1.1s ease-in-out 2.3s 1; }
.xf-scene[data-cue="play"] :is(.xf-wire, .xf-stem, .xf-drop-yes).is-lit::after { animation: xf-grow-y var(--t, .35s) cubic-bezier(.4, 0, .2, 1) var(--d) both; }
.xf-scene[data-cue="play"] .xf-arm-yes.is-lit::after { animation: xf-grow-x var(--t) linear var(--d) both; }
.xf-scene[data-cue="play"] .xf-exit.is-lit { animation: xf-exit-on .3s ease var(--d) both; }

@media (max-width: 900px) { .xf-scene { min-height: 0; padding: 32px 12px; } }
@container (max-width: 420px) {
  .xf { font-size: 12.5px; }
  .xf-node { gap: .55em; padding: .6em .65em .6em .55em; }
  .xf-path { padding-inline: .25em; }
  .xf-path .xf-text :is(b, em) { white-space: normal; }
}

/* ------------------------------------------------------------------ testimonials */
/* What customers say: the title and the dots on the left, centred against the quote; on the right
   each quote in its own card, at a reading size, with the person under a hairline. The cards slide
   one at a time (js/site.js, [data-quotes]) and all take the height of the longest. */
.quote-section .quote-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(32px, 6vw, 88px); }
.quote-section .quote-grid h2 { max-width: 16ch; font-size: clamp(30px, 3vw, 42px); line-height: 1.12; letter-spacing: -.035em; text-wrap: balance; }
.quote-section .quotes-track { gap: 24px; }
.quote-section .quotes-track > figure { display: flex; flex-direction: column; padding: clamp(26px, 3vw, 40px); border: 1px solid var(--ground-line); border-radius: 20px; background: var(--ground-raised); }
.quote-section blockquote { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; letter-spacing: -.01em; color: var(--on-ground); text-wrap: pretty; }
.quote-section blockquote::before { content: "“"; display: block; height: .5em; margin-bottom: .35em; font-size: 3em; line-height: 1; color: var(--prompt-wine-light); }
html[data-site-theme="night"] .quote-section blockquote::before { color: #edbdce; }
.quote-section blockquote { margin-bottom: 28px; }
.quote-section .quotes-track > figure > figcaption { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--ground-hairline); }
.quote-section .quote-grid img { width: 48px; height: 48px; }
@media (max-width: 900px) {
  .quote-section .quote-grid { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 28px; }
  .quote-section .quote-grid h2 { max-width: 16ch; font-size: 32px; }
  .quote-section .quotes-dots { margin-top: 18px; }
  .quote-section blockquote { font-size: 18px; }
}
@media (max-width: 560px) { .quote-section .quotes-track > figure { padding: 24px 22px; } }
