/* How it works cards: one design system for all four, plus the looping demo in each (card-motion.js).
   Each card: a bold colour, one big feature title in a darker shade of that colour, and one straight,
   dark app screen with readable type (15-21px). No tilts, no tiny captions, no disclaimers.
   Motion rules: no overshoot, no looping attention pulses, one "materialize" (opacity + 8px rise + 4px blur)
   per card for the result, exits quieter than enters, presses dip for 120ms. */

/* ---------- Card frame ---------- */
.story-scene{padding:0!important;box-shadow:0 30px 60px -28px rgb(20 12 0 / .28)!important}
.scene-survey{background:#ffc53d}
.scene-insights{background:#cdb8ff}
.scene-reviews{background:#a9d3ff}
.scene-recovery{background:#9fe3b4}
/* The card body fills the card. (motion.js otherwise centres and scales every child of a card.) */
.story-scene>.scene-card,.motion-enabled .story-scene>.scene-card.scene-card{position:absolute;inset:0;left:0;top:0;translate:none;scale:1;width:auto;height:auto;margin:0;max-width:none;
  display:flex;flex-direction:column;padding:30px 34px 34px;container-type:size;font-family:Inter,Arial,sans-serif}
.scene-title{margin:0;font-size:min(62px,11cqw);line-height:1;font-weight:650;letter-spacing:-.045em;color:rgb(0 0 0 / .13);white-space:nowrap}
.scene-screen{margin:auto;width:min(100%,540px);background:#141216;color:#fff;border-radius:26px;padding:24px 26px;
  box-shadow:0 1px 0 rgb(255 255 255 / .06) inset,0 24px 50px -22px rgb(0 0 0 / .55);font-size:17px;line-height:1.4;letter-spacing:-.01em}
.scene-screen p{margin:0}
.scene-screen small{display:block;font-size:14px;color:#9b97a3;letter-spacing:0}
.scene-screen strong{font-weight:600}
.screen-title{font-size:21px;font-weight:600;letter-spacing:-.02em}
.screen-muted{color:#9b97a3;font-size:15px;margin-top:6px!important}

.screen-head{display:flex;align-items:center;gap:12px;padding-bottom:18px;margin-bottom:18px;border-bottom:1px solid rgb(255 255 255 / .08)}
.screen-head>div{min-width:0}
.avatar{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;flex-shrink:0;font-size:15px;font-weight:650;letter-spacing:0}
.avatar-brand{background:#ffc53d;color:#1a1306;font-size:18px}
.avatar-ak{background:#f4a483;color:#3a1b0c}

/* Card 1 (QR surveys) */
.qr-stage{position:relative}
.qr-front{display:flex;align-items:center;gap:22px}
.qr-wrap{position:relative;flex-shrink:0;display:block}
.scene-survey .qr-wrap .qr-art{display:block;width:112px;height:112px;margin:0;background:#fff;border:7px solid #fff;border-radius:12px;image-rendering:pixelated}
.qr-finder{position:absolute;inset:-9px;pointer-events:none;opacity:0}
.qr-finder i{position:absolute;width:15px;height:15px;border:2px solid #ffc53d}
.qr-finder i:nth-child(1){left:0;top:0;border-right:0;border-bottom:0;border-radius:7px 0 0 0}
.qr-finder i:nth-child(2){right:0;top:0;border-left:0;border-bottom:0;border-radius:0 7px 0 0}
.qr-finder i:nth-child(3){left:0;bottom:0;border-right:0;border-top:0;border-radius:0 0 0 7px}
.qr-finder i:nth-child(4){right:0;bottom:0;border-left:0;border-top:0;border-radius:0 0 7px 0}
.qr-survey{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;gap:16px;opacity:0;pointer-events:none}
.qr-faces{display:flex;gap:10px}
.qr-faces span{flex:1;max-width:58px;aspect-ratio:1;display:grid;place-items:center;font-size:24px;border-radius:14px;background:rgb(255 255 255 / .06);box-shadow:inset 0 0 0 1px rgb(255 255 255 / .07)}

/* Card 2 (Mood Meter) */
.scene-insights .scene-screen{color:#fff}
.mood-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding-bottom:18px;margin-bottom:18px;border-bottom:1px solid rgb(255 255 255 / .08)}
.mood-score{display:block;font-size:54px;line-height:1;font-weight:650;letter-spacing:-.04em;margin:6px 0 8px}
.mood-delta{font-size:15px;color:#8fe0a3}
.mood-spark{width:46%;max-width:180px;height:auto;color:#cdb8ff;flex-shrink:0}
.echo-input{display:flex;align-items:center;gap:12px;background:rgb(255 255 255 / .06);border-radius:14px;padding:12px 12px 12px 16px;min-height:50px}
.echo-q{flex:1;min-width:0;font-size:16px}
.echo-q:empty::before{content:"Ask Echo about your guests";color:#77727f}
.echo-send{width:28px;height:28px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;background:#cdb8ff;color:#141216}
.echo-answer{display:flex;gap:12px;align-items:flex-start;margin-top:16px}
.echo-answer img{width:32px;height:32px;border-radius:50%;background:#221f26;padding:5px;flex-shrink:0}
.echo-answer p{font-size:17px;color:#ece8f3}

/* Card 3 (Google reviews) */
.google-g{width:34px;height:34px;flex-shrink:0;background:#fff;border-radius:50%;padding:6px}
.review-author{display:flex;align-items:center;gap:12px}
.review-stars{display:flex;gap:6px;margin:16px 0 12px}
.review-stars svg{width:26px;height:26px;fill:#fbbc05}
.review-text{position:relative;min-height:48px}
.review-text p{font-size:17px}
.review-placeholder{position:absolute;inset:0;color:#77727f;opacity:0}
.review-actions{display:flex;justify-content:flex-end;margin-top:14px}
.review-post{position:relative;display:inline-grid;place-items:center;min-width:92px;height:38px;padding:0 18px;border-radius:20px;background:#8ab4f8;color:#0d1a2e;font-size:15px;font-weight:600}
.review-post>span{grid-area:1/1}
.posted-label{opacity:0}

/* Card 4 (Guest recovery) */
.wa-logo{width:28px;height:28px;margin-left:auto;flex-shrink:0}
.chat-note{width:fit-content;margin:0 auto 14px!important;font-size:14px;color:#b9b5c0;background:rgb(255 255 255 / .06);border-radius:8px;padding:5px 10px}
.chat-thread{position:relative;min-height:96px}
.chat-bubble{width:fit-content;max-width:88%;background:#25302a;border-radius:4px 16px 16px 16px;padding:12px 14px 8px}
.chat-bubble p{font-size:16px;color:#eef3ef}
.chat-bubble small{display:flex;align-items:center;justify-content:flex-end;gap:5px;font-size:12px;color:#8fa296;margin-top:4px}
.chat-ticks{color:#53bdeb}
.chat-typing{position:absolute;left:0;top:0;display:flex;gap:5px;background:#25302a;border-radius:4px 16px 16px 16px;padding:14px 16px;opacity:0}
.chat-typing i{width:7px;height:7px;border-radius:50%;background:#8fa296;opacity:.45}

/* Wide, tall cards (desktop): the screen is drawn a little larger so it fills the card the way Paymo's do. */
@container (min-width:600px) and (min-height:470px){
  .scene-screen{width:min(100%,470px);zoom:1.15}
}
/* Shorter cards (short laptop screens): tighten so everything still fits. */
@container (max-height:470px){
  .scene-title{font-size:min(48px,9cqw)}
  .scene-screen{padding:18px 22px}
  .screen-head,.mood-head{padding-bottom:12px;margin-bottom:12px}
  .mood-score{font-size:44px}
  .review-stars{margin:10px 0 8px}
}
/* Phones: the card is narrow and tall. */
@container (max-width:420px){
  .scene-card{padding:22px 18px 20px}
  .scene-screen{padding:20px 18px;border-radius:22px;font-size:16px}
  .screen-title{font-size:19px}
  .qr-front{flex-direction:column;align-items:flex-start;gap:16px}
  .scene-survey .qr-wrap .qr-art{width:104px;height:104px}
  .qr-survey{justify-content:flex-end}
  .qr-faces{gap:7px}
  .qr-faces span{font-size:20px;border-radius:12px}
  .mood-score{font-size:46px}
  .echo-answer p,.review-text p{font-size:16px}
  .chat-bubble p{font-size:15px}
}
@media(max-width:600px){.motion-enabled .story-scene>.scene-card.scene-card{padding:22px 18px 20px}}

/* ---------- Demos ---------- */
.card-demo{
  --demo-out:cubic-bezier(.23,1,.32,1);      /* arriving: fast start, long gentle stop */
  --demo-in:cubic-bezier(.55,0,1,.45);       /* leaving: gentle start, quick exit */
  --demo-move:cubic-bezier(.65,0,.35,1);     /* changing state in place */
}
/* Loop resets are a short, quiet crossfade; the first rest on load happens with no motion at all. */
.card-demo.is-resetting *,.card-demo.is-resetting *::before,.card-demo.is-resetting *::after{transition-duration:.25s!important;transition-delay:0s!important;transition-timing-function:var(--demo-move)!important}
.card-demo.is-instant *,.card-demo.is-instant *::before,.card-demo.is-instant *::after{transition:none!important}
/* A press: the control dips and comes straight back. */
.card-demo .is-pressed{transform:scale(.94)!important;transition:transform .12s var(--demo-in)!important}
.card-demo .qr-faces span,.card-demo .echo-send,.card-demo .review-post{transition:transform .22s var(--demo-out),background .2s var(--demo-move),box-shadow .2s var(--demo-move),opacity .3s var(--demo-move)}

/* 1. The camera finds the code, the survey opens, the happiest face is chosen. */
.card-demo .qr-finder{transform:scale(1.06);transition:opacity .2s var(--demo-out),transform .35s var(--demo-out)}
.card-demo.s1 .qr-finder{opacity:1;transform:none}
.card-demo .qr-front{transition:opacity .2s var(--demo-in),transform .2s var(--demo-in)}
.card-demo.s2 .qr-front{opacity:0;transform:translateY(-6px)}
.card-demo.is-resetting .qr-front{transition-delay:.2s!important}
.card-demo .qr-survey{transform:translateY(8px);filter:blur(4px);transition:opacity .2s var(--demo-in),transform .2s var(--demo-in),filter .2s var(--demo-in)}
.card-demo.s2 .qr-survey{opacity:1;transform:none;filter:none;transition:opacity .45s var(--demo-out) .12s,transform .45s var(--demo-out) .12s,filter .45s var(--demo-out) .12s}
.card-demo.s3 .qr-faces span:not(:last-child){opacity:.35}
.card-demo.s3 .qr-faces span:last-child{background:rgb(255 197 61 / .18);box-shadow:inset 0 0 0 1.5px #ffc53d}

/* 2. A question is typed into Echo, sent, and answered. */
.card-demo.is-typing .echo-q::after{content:"";display:inline-block;width:1.5px;height:1.1em;margin-left:1px;vertical-align:-.18em;background:#cdb8ff}
.card-demo.s1 .echo-send{opacity:.4}
.card-demo .echo-answer{opacity:0;transform:translateY(8px);filter:blur(4px);transition:opacity .2s var(--demo-in),transform .2s var(--demo-in),filter .2s var(--demo-in)}
.card-demo.s1 .echo-answer{opacity:1;transform:none;filter:none;transition:opacity .45s var(--demo-out) .15s,transform .45s var(--demo-out) .15s,filter .45s var(--demo-out) .15s}

/* 3. Five stars, the words, then Post. */
.card-demo .review-stars svg{transition:fill .18s var(--demo-move) calc(var(--i,0) * 55ms)}
.card-demo:not(.s1) .review-stars svg{fill:#36323c;transition-delay:0s}
.card-demo .review-placeholder{transition:opacity .2s var(--demo-move)}
.card-demo:not(.s2) .review-placeholder{opacity:1}
.card-demo .review-body{transition:opacity .2s var(--demo-in),transform .2s var(--demo-in),filter .2s var(--demo-in)}
.card-demo:not(.s2) .review-body{opacity:0;transform:translateY(8px);filter:blur(4px)}
.card-demo.s2 .review-body{transition:opacity .45s var(--demo-out),transform .45s var(--demo-out),filter .45s var(--demo-out)}
.card-demo:not(.s2) .review-post{background:#2c2932;color:#6f6a77}
.card-demo .review-post>span{transition:opacity .2s var(--demo-move),transform .25s var(--demo-out)}
.card-demo.s3 .post-label{opacity:0;transform:translateY(-4px)}
.card-demo.s3 .posted-label{opacity:1}
.card-demo.s3 .review-post{background:#2a3d2f;color:#8fe0a3}

/* 4. Someone is typing, the message lands, it is read. */
.card-demo .chat-bubble{transition:opacity .2s var(--demo-in),transform .2s var(--demo-in),filter .2s var(--demo-in)}
.card-demo:not(.s2) .chat-bubble{opacity:0;transform:translateY(8px);filter:blur(4px)}
.card-demo.s2 .chat-bubble{transition:opacity .45s var(--demo-out),transform .45s var(--demo-out),filter .45s var(--demo-out)}
.card-demo .chat-typing{transition:opacity .2s var(--demo-move)}
.card-demo.s1:not(.s2) .chat-typing{opacity:1}
.card-demo.s1:not(.s2) .chat-typing i{animation:typingDot 1.1s var(--demo-move) infinite}
.chat-typing i:nth-child(2){animation-delay:.18s!important}
.chat-typing i:nth-child(3){animation-delay:.36s!important}
@keyframes typingDot{0%,70%,100%{opacity:.45}35%{opacity:1}}
.card-demo .chat-ticks{transition:color .2s var(--demo-move)}
.card-demo:not(.s3) .chat-ticks{color:#8fa296}

/* Reduced motion: card-motion.js never starts the stories, and nothing here moves. */
@media(prefers-reduced-motion:reduce){
  .card-demo *,.card-demo *::before,.card-demo *::after{transition:none!important;animation:none!important}
}

/* ---------- Loyalty passes (content built in app.js) ----------
   Same system as the How it works cards: bold flat colour, straight card, readable type, one real moment each.
   Sizes use container units so the pass reads the same from desktop (430px) down to phones (~285px). */
.loyalty-card,.loyalty-card-holder:hover .loyalty-card{transform:none;container-type:size;display:flex;flex-direction:column;justify-content:space-between;
  padding:26px 30px!important;border-radius:24px;color:#141216;font-family:Inter,Arial,sans-serif;letter-spacing:-.01em;box-shadow:0 30px 60px -24px rgb(0 0 0 / .6)}
.loyalty-card{background:#ffc53d}
.loyalty-card.purple{background:#cdb8ff;color:#141216}
.loyalty-card.green{background:#9fe3b4;color:#141216}
.loyalty-card::before{display:none}
.loyalty-back-card{background:#1d1b21}
.pass-top{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:3.9cqw;font-weight:600}
.pass-brand{display:flex;align-items:center;gap:2.6cqw}
.pass-brand b{width:8.4cqw;height:8.4cqw;border-radius:50%;display:grid;place-items:center;background:#141216;color:#ffc53d;font-size:4cqw;font-weight:650}
.pass-kind{font-weight:500;opacity:.6}
.pass-main{display:flex;flex-direction:column;gap:4.4cqw}
.loyalty-card .pass-title{margin:0;opacity:1;font-size:6cqw;font-weight:600;letter-spacing:-.025em;line-height:1.15}
.pass-swap{display:inline-grid}
.pass-swap>span{grid-area:1/1}
/* Stamp card */
.pass-stamps{display:flex;gap:2.6cqw}
.pass-stamps i{width:10.4cqw;aspect-ratio:1;border-radius:50%;display:grid;place-items:center}
.pass-stamps svg{width:58%;height:58%}
.stamp-on,.stamp-new{background:#141216;color:#ffc53d}
.stamp-gift{box-shadow:inset 0 0 0 1.5px rgb(20 18 22 / .35);color:rgb(20 18 22 / .55)}
/* Referral */
.pass-link{display:flex;align-items:center;justify-content:space-between;gap:3cqw;background:rgb(20 18 22 / .08);border-radius:3.6cqw;padding:2.2cqw 2.2cqw 2.2cqw 4cqw;font-size:4.1cqw;font-weight:500}
.pass-link>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pass-btn{place-items:center;min-width:20cqw;padding:2cqw 3.6cqw;border-radius:99px;background:#141216;color:#fff;font-size:3.8cqw;font-weight:600}
.pass-friends{display:flex;align-items:center}
.pass-friends span{width:8.4cqw;height:8.4cqw;border-radius:50%;display:grid;place-items:center;font-size:3cqw;font-weight:650;background:#141216;color:#cdb8ff;box-shadow:0 0 0 .7cqw #cdb8ff;margin-right:-1.6cqw}
.pass-friends span:nth-child(2){background:#3b2f57;color:#fff}
.pass-friends span:nth-child(3){background:#fff;color:#3b2f57}
.pass-friends small{margin-left:4.4cqw;font-size:3.8cqw;font-weight:500;opacity:.7}
/* Points */
.loyalty-card .pass-points{margin:0;opacity:1;display:flex;align-items:baseline;gap:2cqw;font-size:13cqw;font-weight:650;letter-spacing:-.045em;line-height:1}
.pass-points small{font-size:4.6cqw;font-weight:600;letter-spacing:0;opacity:.6}
.pass-progress{height:2.2cqw;border-radius:99px;background:rgb(20 18 22 / .14);overflow:hidden}
.pass-progress i{display:block;height:100%;width:100%;border-radius:inherit;background:#141216;transform-origin:0 50%;transform:scaleX(.833)}
.loyalty-card .pass-note{font-size:4.1cqw;font-weight:500;opacity:.7;margin:-1.6cqw 0 0}

/* Pass moments. Resting state (s1) is the finished one; a loop quietly resets, then plays the moment. */
.loyalty-card{--demo-out:cubic-bezier(.23,1,.32,1);--demo-in:cubic-bezier(.55,0,1,.45);--demo-move:cubic-bezier(.65,0,.35,1)}
.loyalty-card.is-resetting *{transition-duration:.25s!important;transition-delay:0s!important}
.loyalty-card .is-pressed{transform:scale(.94)!important;transition:transform .12s var(--demo-in)!important}
.pass-swap>span{transition:opacity .2s var(--demo-in),transform .2s var(--demo-in),filter .2s var(--demo-in)}
.loyalty-card:not(.s1) .swap-to,.loyalty-card.s1 .swap-from{opacity:0;filter:blur(3px)}
.loyalty-card:not(.s1) .swap-to{transform:translateY(.5em)}
.loyalty-card.s1 .swap-from{transform:translateY(-.3em)}
.loyalty-card.s1 .swap-to{transition:opacity .4s var(--demo-out) .08s,transform .4s var(--demo-out) .08s,filter .4s var(--demo-out) .08s}
.pass-btn{transition:transform .22s var(--demo-out),background .2s var(--demo-move)}
.loyalty-card.s1 .pass-btn{background:#3b2f57}
.stamp-new{transition:background .25s var(--demo-move),color .25s var(--demo-move),transform .35s var(--demo-out),box-shadow .25s var(--demo-move)}
.loyalty-card:not(.s1) .stamp-new{background:transparent;color:transparent;box-shadow:inset 0 0 0 1.5px rgb(20 18 22 / .35);transform:scale(.9)}
.pass-progress i{transition:transform .6s var(--demo-out)}
.loyalty-card:not(.s1) .pass-progress i{transform:scaleX(.8)}
@media(max-width:800px){.loyalty-card,.loyalty-card-holder:hover .loyalty-card{padding:20px 22px!important}}
@media(max-width:600px){.loyalty-card,.loyalty-card-holder:hover .loyalty-card{padding:15px 16px!important;border-radius:18px}}
@media(prefers-reduced-motion:reduce){.loyalty-card *{transition:none!important}}

/* The benefit checklist under the loyalty tabs was removed; keep the link clear of the tabs. */
.loyalty-info>.text-link{margin-top:30px}

/* ---------- Review replies (the #social section): light section, Echo's reply modal, reply settings ----------
   The modal cycles a Google review, an Instagram comment and a Facebook comment (card-motion.js sets
   data-item and the step classes rs1 writing, rs2 reply shown, rs3 posted). Echo, the AI agent, sits on
   the modal (echo-bot.js); the channel tab and the settings row for the item on screen are highlighted. */
.social{background:#f5f2ec!important;color:#141216!important;position:relative;z-index:6;margin-top:-48px;border-radius:48px 48px 0 0;padding-top:96px!important;padding-bottom:110px!important}
.faq{position:relative;z-index:7;margin-top:-48px;border-radius:48px 48px 0 0;padding-top:88px!important}
.reply-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:72px;align-items:center}
.reply-copy h2{color:#141216}
.reply-copy>p{font-size:17px;line-height:1.6;color:#6b6672;margin-top:20px;max-width:520px}
.reply-settings{margin-top:32px;background:#fff;border-radius:22px;padding:6px 8px 8px;box-shadow:0 1px 0 rgb(20 18 22 / .04),0 18px 40px -24px rgb(20 18 22 / .25)}
.reply-settings-title{display:flex;justify-content:space-between;font-size:13px;font-weight:600;color:#6b6672;padding:12px 14px 8px;margin:0}
.reply-settings-title span{font-weight:500;color:#a7a2ad}
.reply-row{display:grid;grid-template-columns:32px minmax(0,1fr) auto 92px;align-items:center;gap:12px;padding:12px 14px;border-radius:14px;font-size:15px;transition:background .3s cubic-bezier(.65,0,.35,1)}
.reply-row strong{font-weight:600}
.reply-mode{font-size:13px;font-weight:600;padding:6px 11px;border-radius:99px;background:#e5f5ea;color:#1d7a43;white-space:nowrap}
.reply-mode.is-approve{background:#fff1d1;color:#8a5a00}
.reply-delay{font-size:13px;color:#6b6672;text-align:right;white-space:nowrap}
.social[data-item="0"] .reply-row[data-channel="0"],.social[data-item="1"] .reply-row[data-channel="1"],.social[data-item="2"] .reply-row[data-channel="2"],.social[data-item="3"] .reply-row[data-channel="0"],.social[data-item="4"] .reply-row[data-channel="1"],.social[data-item="5"] .reply-row[data-channel="2"]{background:#f5f2ec}
.ch-icon{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;flex-shrink:0}
.ch-icon svg{width:62%;height:62%}
.ch-google{background:#fff;box-shadow:inset 0 0 0 1px #ece8e1}
.ch-instagram{background:linear-gradient(45deg,#f9a825,#e1306c 50%,#833ab4)}
.ch-facebook{background:#1877f2}

/* The modal: a white sheet with Echo sitting on its top edge. */
.reply-demo{position:relative;display:grid;place-items:center;padding-top:56px}
.reply-modal{--echo-size:104px;position:relative;width:min(100%,500px);background:#fff;border-radius:28px;padding:70px 22px 18px;
  box-shadow:0 0 0 1px rgb(20 18 22 / .05),0 1px 0 rgb(20 18 22 / .04),0 44px 80px -34px rgb(20 18 22 / .38)}
.echo-bot{position:absolute;left:50%;top:0;width:var(--echo-size);height:var(--echo-size);translate:-50% -58%;display:grid;place-items:center;opacity:0;transition:opacity .5s cubic-bezier(.23,1,.32,1)}
.echo-bot.is-ready{opacity:1}
.echo-bot canvas{display:block}
.modal-head{text-align:center}
.modal-head>strong{display:block;font-size:20px;font-weight:650;letter-spacing:-.02em}
.modal-head>small{display:block;font-size:13px;color:#8a8590;margin-top:2px}
.modal-channels{display:inline-flex;gap:4px;margin-top:16px;padding:4px;border-radius:14px;background:#f5f2ec}
.modal-channels>span{display:flex;align-items:center;gap:7px;padding:6px 12px 6px 6px;border-radius:10px;font-size:13px;font-weight:600;color:#8a8590;transition:background .3s cubic-bezier(.65,0,.35,1),color .3s cubic-bezier(.65,0,.35,1),box-shadow .3s cubic-bezier(.65,0,.35,1)}
.modal-channels .ch-icon{width:22px;height:22px;border-radius:6px}
.social[data-item="0"] .modal-channels>[data-channel="0"],.social[data-item="1"] .modal-channels>[data-channel="1"],.social[data-item="2"] .modal-channels>[data-channel="2"],.social[data-item="3"] .modal-channels>[data-channel="0"],.social[data-item="4"] .modal-channels>[data-channel="1"],.social[data-item="5"] .modal-channels>[data-channel="2"]{background:#fff;color:#141216;box-shadow:0 1px 2px rgb(20 18 22 / .08)}
.feed{display:grid;margin-top:16px}
.feed-item{grid-area:1/1;align-self:start;background:#faf8f4;border-radius:20px;padding:16px;box-shadow:inset 0 0 0 1px #efebe4}
.feed-author{display:flex;gap:10px;align-items:center}
.feed-author strong{display:block;font-size:15px}
.feed-avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:650;flex-shrink:0}
.av-4{background:#bfe3c0;color:#14341a}.av-5{background:#ffd9a0;color:#4a2d05}.av-6{background:#f7b8d0;color:#4a0f26}.av-1{background:#f4a483;color:#3a1b0c}.av-2{background:#cdb8ff;color:#2b1d52}.av-3{background:#a9d3ff;color:#0f2c47}
.feed-stars{color:#fbbc05;letter-spacing:1px}
.feed-meta{display:block;font-size:12.5px;color:#9a95a0}
.feed-text{font-size:15.5px;line-height:1.45;margin-top:12px!important;color:#252229}
.feed-reply{position:relative;margin-top:14px;background:#fff;border-radius:14px;padding:12px 14px;box-shadow:inset 3px 0 0 #ffb000,0 1px 2px rgb(20 18 22 / .06)}
.feed-reply-label{display:block;font-size:12px;font-weight:650;color:#9a6a00}
.feed-reply-text{font-size:15px;line-height:1.45;margin-top:6px!important;color:#252229}
.feed-typing{position:absolute;left:14px;top:38px;display:flex;gap:4px}
.feed-typing i{width:6px;height:6px;border-radius:50%;background:#c79a3a;opacity:.45}
.feed-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:10px}
.feed-edit,.feed-approve{font-size:13px;font-weight:600;border-radius:99px;padding:7px 14px}
.feed-edit{color:#3b3740;background:#fff;box-shadow:inset 0 0 0 1px #e3ded6}
.feed-approve{display:inline-grid;background:#141216;color:#fff}
.feed-approve>span{grid-area:1/1;text-align:center}
.modal-status{display:grid;margin:14px 2px 0!important;font-size:13.5px;font-weight:600;color:#6b6672;min-height:20px}
.modal-status>span{grid-area:1/1;display:flex;align-items:center;gap:8px}
.modal-status>span::before{content:"";width:8px;height:8px;border-radius:50%;background:#ffb000;flex-shrink:0}
.modal-status>.is-done{color:#1d7a43}
.modal-status>.is-done::before{width:16px;height:16px;background:center/16px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 8.5 3 3 6-7' fill='none' stroke='%231d7a43' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}

/* Motion: one item on screen at a time; enters with a small rise, leaves with a quick fade. No overshoot. */
.social{--r-out:cubic-bezier(.23,1,.32,1);--r-in:cubic-bezier(.55,0,1,.45);--r-move:cubic-bezier(.65,0,.35,1)}
.feed-item{opacity:0;transform:translateY(8px);filter:blur(4px);transition:opacity .2s var(--r-in),transform .2s var(--r-in),filter .2s var(--r-in)}
.social[data-item="0"] .feed-item[data-item="0"],.social[data-item="1"] .feed-item[data-item="1"],.social[data-item="2"] .feed-item[data-item="2"],.social[data-item="3"] .feed-item[data-item="3"],.social[data-item="4"] .feed-item[data-item="4"],.social[data-item="5"] .feed-item[data-item="5"]{opacity:1;transform:none;filter:none;transition:opacity .45s var(--r-out) .12s,transform .45s var(--r-out) .12s,filter .45s var(--r-out) .12s}
.feed-reply{transition:opacity .3s var(--r-out),transform .3s var(--r-out)}
.social:not(.rs1) .feed-reply{opacity:0;transform:translateY(6px)}
.feed-typing{opacity:0;transition:opacity .2s var(--r-move)}
.social.rs1:not(.rs2) .feed-typing{opacity:1}
.social.rs1:not(.rs2) .feed-typing i{animation:typingDot 1.1s var(--r-move) infinite}
.feed-typing i:nth-child(2){animation-delay:.18s!important}
.feed-typing i:nth-child(3){animation-delay:.36s!important}
.feed-reply-text,.feed-actions{transition:opacity .35s var(--r-move)}
.social:not(.rs2) .feed-reply-text,.social:not(.rs2) .feed-actions{opacity:0}
.feed-approve>span{transition:opacity .2s var(--r-move)}
.social:not(.rs3) .feed-approve .swap-to,.social.rs3 .feed-approve .swap-from{opacity:0}
.feed-approve{transition:background .2s var(--r-move),transform .22s var(--r-out)}
.social.rs3 .feed-approve{background:#1d7a43}
.social .is-pressed{transform:scale(.94)!important;transition:transform .12s var(--r-in)!important}
/* Status line: one message at a time, for the item on screen and the step it is on. */
.modal-status>span{opacity:0;transform:translateY(4px);transition:opacity .12s var(--r-in),transform .12s var(--r-in)}
.social[data-item="0"]:not(.rs1) .modal-status>[data-item="0"][data-when="new"],
.social[data-item="1"]:not(.rs1) .modal-status>[data-item="1"][data-when="new"],
.social[data-item="2"]:not(.rs1) .modal-status>[data-item="2"][data-when="new"],
.social[data-item="3"]:not(.rs1) .modal-status>[data-item="3"][data-when="new"],
.social[data-item="4"]:not(.rs1) .modal-status>[data-item="4"][data-when="new"],
.social[data-item="5"]:not(.rs1) .modal-status>[data-item="5"][data-when="new"],
.social[data-item="0"].rs1:not(.rs3) .modal-status>[data-item="0"][data-when="busy"],
.social[data-item="1"].rs1:not(.rs3) .modal-status>[data-item="1"][data-when="busy"],
.social[data-item="2"].rs1:not(.rs2) .modal-status>[data-item="2"][data-when="busy"],
.social[data-item="3"].rs1:not(.rs3) .modal-status>[data-item="3"][data-when="busy"],
.social[data-item="4"].rs1:not(.rs3) .modal-status>[data-item="4"][data-when="busy"],
.social[data-item="5"].rs1:not(.rs2) .modal-status>[data-item="5"][data-when="busy"],
.social[data-item="2"].rs2:not(.rs3) .modal-status>[data-item="2"][data-when="wait"],
.social[data-item="5"].rs2:not(.rs3) .modal-status>[data-item="5"][data-when="wait"],
.social[data-item="0"].rs3 .modal-status>[data-item="0"][data-when="done"],
.social[data-item="1"].rs3 .modal-status>[data-item="1"][data-when="done"],
.social[data-item="2"].rs3 .modal-status>[data-item="2"][data-when="done"],
.social[data-item="3"].rs3 .modal-status>[data-item="3"][data-when="done"],
.social[data-item="4"].rs3 .modal-status>[data-item="4"][data-when="done"],
.social[data-item="5"].rs3 .modal-status>[data-item="5"][data-when="done"]{opacity:1;transform:none;transition:opacity .35s var(--r-out) .18s,transform .35s var(--r-out) .18s}

@media(max-width:1100px){.reply-grid{gap:40px}}
@media(max-width:900px){
  .reply-grid{grid-template-columns:1fr;gap:40px}
  .reply-copy{max-width:620px}
}
@media(max-width:600px){
  .social{padding-top:72px!important;padding-bottom:96px!important;border-radius:32px 32px 0 0;margin-top:-32px}
  .faq{border-radius:32px 32px 0 0;margin-top:-32px;padding-top:64px!important}
  .reply-copy>p{font-size:15px}
  .reply-row{grid-template-columns:28px minmax(0,1fr) auto;font-size:14px;padding:11px 10px;gap:10px}
  .reply-row .reply-delay{display:none}
  .reply-mode{font-size:12px;padding:5px 9px}
  .reply-demo{padding-top:44px}
  .reply-modal{--echo-size:88px;padding:58px 14px 14px;border-radius:24px}
  .modal-channels>span{padding:5px 9px 5px 5px;font-size:12px;gap:5px}
  .feed-text{font-size:15px}
}
@media(prefers-reduced-motion:reduce){.social *{transition:none!important;animation:none!important}}

/* Channel tabs in Echo's reply card are clickable. */
.modal-channels>[data-channel]{cursor:pointer;-webkit-tap-highlight-color:transparent;user-select:none}
.modal-channels>[data-channel]:hover{color:#141216}
.modal-channels>[data-channel]:focus-visible{outline:2px solid #e4a23a;outline-offset:1px}

/* What automated replies do, under the settings card. */
.reply-points{list-style:none;margin:30px 0 0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:22px 32px;max-width:520px}
.reply-points li{display:flex;flex-direction:column;gap:5px;padding-top:14px;border-top:1px solid rgb(20 18 22 / .1)}
.reply-points strong{font-size:15px;font-weight:600;color:#141216}
.reply-points span{font-size:14px;line-height:1.55;color:#6b6672}
@media(max-width:600px){.reply-points{grid-template-columns:1fr;gap:16px;margin-top:24px}}

/* How automated replies work: three steps under the demo. */
.reply-steps{margin-top:84px}
.reply-steps-label{font-size:13px;font-weight:600;color:#6b6672;margin:0 0 18px}
.reply-steps ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
.reply-steps li{padding-top:20px;border-top:1px solid rgb(20 18 22 / .12)}
.reply-steps li>span{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#141216;color:#fff;font-size:12px;font-weight:600;margin-bottom:14px}
.reply-steps strong{display:block;font-size:18px;font-weight:600;letter-spacing:-.01em;color:#141216}
.reply-steps li p{font-size:15px;line-height:1.6;color:#6b6672;margin:8px 0 0;max-width:340px}
@media(max-width:800px){.reply-steps{margin-top:56px}.reply-steps ol{grid-template-columns:1fr;gap:24px}}

/* The brand in Echo's header follows the example on screen (item 3 is a hotel). */
.modal-head .brand-b{display:none}
.social[data-item="3"] .modal-head .brand-a{display:none}
.social[data-item="3"] .modal-head .brand-b{display:inline}
