/* =============================================================================
 * Scooby, the landing page's guide (landing/assets/js/cnq-scooby-guide.js)
 * -----------------------------------------------------------------------------
 * The guide in the corner and his speech bubble, the tour's spotlight, the
 * "before you go" card, the reading-progress bar he rides, and the two
 * sections he runs: "Ten apps or one CNQ" (.cnq-vs-area) and "Ask Scooby"
 * (.cnq-ask-area). Light and dark follow the template's body.dark.
 * ========================================================================== */
:root {
  --sg-blue: #3f8cff;
  --sg-blue-2: #2f5bff;
  --sg-sky: #67dcff;
  --sg-ink: #0f1424;
  --sg-dim: #5b6478;
  --sg-card: #ffffff;
  --sg-line: rgba(16, 24, 40, .1);
  --sg-shadow: 0 18px 50px -18px rgba(18, 32, 84, .45), 0 2px 8px rgba(18, 32, 84, .08);
  --sg-grad: linear-gradient(135deg, #67dcff 0%, #3f8cff 52%, #2f5bff 100%);
}
body.dark {
  --sg-ink: #eef2fb;
  --sg-dim: #a3adc2;
  --sg-card: #1b2133;
  --sg-line: rgba(255, 255, 255, .1);
  --sg-shadow: 0 18px 50px -18px rgba(0, 0, 0, .8), 0 2px 8px rgba(0, 0, 0, .4);
}
.sg-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------------------------------------------------------------- guide -- */
.sg-guide {
  position: fixed; left: 16px; bottom: 10px; z-index: 9990;
  width: 150px; height: 150px;
  transition: transform .55s cubic-bezier(.34, 1.4, .64, 1), opacity .3s ease;
  -webkit-tap-highlight-color: transparent;
}
.sg-guide.is-away { transform: translateY(125%); opacity: 0; pointer-events: none; }
.sg-guide.is-waiting { opacity: 0; pointer-events: none; transition: none; }  /* not visibility: the rig's layers set their own */
.sg-guide.is-tucked { transform: translateY(125%); opacity: 0; pointer-events: none; }
.sg-rig { position: absolute; inset: 0; cursor: pointer; }
.sg-rig .cnq-scooby-rig { position: absolute; inset: 0; }
.sg-rig:focus-visible { outline: 3px solid var(--sg-blue); outline-offset: 4px; border-radius: 50%; }
.sg-shadow-glow {
  position: absolute; left: 12%; right: 12%; bottom: 2px; height: 22px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(63, 140, 255, .35), transparent);
  pointer-events: none;
}
.sg-tuck {
  position: absolute; right: 6px; top: 10px; width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--sg-line); background: var(--sg-card); color: var(--sg-dim);
  font: 600 15px/1 system-ui, sans-serif; cursor: pointer; opacity: 0; transform: scale(.8);
  transition: opacity .2s, transform .2s; box-shadow: var(--sg-shadow); display: grid; place-items: center;
}
.sg-guide:hover .sg-tuck, .sg-tuck:focus-visible { opacity: 1; transform: none; }

/* The bubble: above him, to the right. Its size is the whole line's from the
   first letter (a hidden copy sets it), so typing never reflows the page. */
.sg-bubble {
  position: absolute; left: 104px; bottom: 118px; z-index: 2;
  width: max-content; max-width: min(340px, calc(100vw - 140px));
  padding: 14px 16px 13px; border-radius: 18px 18px 18px 6px;
  background: var(--sg-card); color: var(--sg-ink); box-shadow: var(--sg-shadow);
  border: 1px solid var(--sg-line);
  font: 500 15px/1.5 "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  transform-origin: 0 100%;
  transition: opacity .22s ease, transform .3s cubic-bezier(.34, 1.56, .64, 1);
}
.sg-bubble.is-hidden { opacity: 0; transform: scale(.6) translateY(10px); pointer-events: none; }
.sg-bubble::after {
  content: ""; position: absolute; left: -7px; bottom: 10px; width: 16px; height: 16px;
  background: var(--sg-card); border-left: 1px solid var(--sg-line); border-bottom: 1px solid var(--sg-line);
  transform: rotate(45deg); border-bottom-left-radius: 4px;
}
.sg-say { position: relative; display: block; padding-right: 14px; }
.sg-ghost { visibility: hidden; }
.sg-typed { position: absolute; inset: 0 14px 0 0; }
.sg-caret {
  display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -.16em;
  background: var(--sg-blue); border-radius: 1px; animation: sgcaret 1s steps(2, start) infinite;
}
.sg-say.is-said .sg-caret { animation: sgcaretgo .9s ease 1.4s forwards; }
@keyframes sgcaret { to { visibility: hidden; } }
@keyframes sgcaretgo { to { opacity: 0; } }
.sg-x {
  position: absolute; right: 6px; top: 6px; width: 22px; height: 22px; border: 0; border-radius: 50%;
  background: transparent; color: var(--sg-dim); font: 500 16px/1 system-ui, sans-serif; cursor: pointer;
}
.sg-x:hover { background: rgba(127, 140, 170, .14); }
.sg-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 11px; }
.sg-btn {
  display: inline-flex; align-items: center; gap: 6px; border: 0; cursor: pointer; text-decoration: none;
  padding: 8px 14px; border-radius: 999px; font: 600 13.5px/1.2 "Instrument Sans", system-ui, sans-serif;
  background: var(--sg-grad); color: #fff !important; box-shadow: 0 6px 16px -6px rgba(47, 91, 255, .7);
  transition: transform .15s ease, box-shadow .15s ease;
}
.sg-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -8px rgba(47, 91, 255, .8); }
.sg-btn.is-quiet { background: transparent; color: var(--sg-ink) !important; box-shadow: inset 0 0 0 1px var(--sg-line); }
.sg-btn.is-quiet:hover { box-shadow: inset 0 0 0 1px var(--sg-blue); }
.sg-dots { display: flex; gap: 5px; margin: 0 0 8px; }
.sg-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--sg-line); }
.sg-dots i.is-on { background: var(--sg-blue); width: 16px; border-radius: 3px; }

/* Tucked away: his head peeks up from the corner, to bring him back. */
.sg-tab {
  position: fixed; left: 14px; bottom: -6px; z-index: 9990; width: 64px; height: 64px; padding: 0;
  border: 0; background: none; cursor: pointer; transform: translateY(70%);
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1);
}
.sg-tab:hover, .sg-tab:focus-visible, .sg-tab.is-peek { transform: translateY(18%); }
.sg-tab img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(18, 32, 84, .3)); }
.sg-tab[hidden] { display: none; }

/* ------------------------------------------------------------ the tour -- */
.sg-spot {
  position: fixed; z-index: 9980; border-radius: 22px; pointer-events: none;
  box-shadow: 0 0 0 200vmax rgba(8, 14, 34, .58), 0 0 0 3px rgba(103, 220, 255, .9), 0 0 40px 6px rgba(63, 140, 255, .45);
  transition: top .45s ease, left .45s ease, width .45s ease, height .45s ease, opacity .3s ease;
}
.sg-spot[hidden] { display: block; opacity: 0; }
.cnq-tour-btn {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 10px 18px 10px 10px;
  border: 1px solid rgba(63, 140, 255, .35); border-radius: 999px; background: rgba(255, 255, 255, .6);
  color: #0f1424; font: 600 15px/1.2 "Instrument Sans", system-ui, sans-serif; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s;
}
.cnq-tour-btn:hover { transform: translateY(-2px); border-color: var(--sg-blue); box-shadow: 0 10px 24px -12px rgba(47, 91, 255, .7); }
.cnq-tour-btn img { width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle, #e8f6ff, #cdeaff); object-fit: contain; }
.cnq-tour-btn .cnq-tour-play { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--sg-grad); color: #fff; font-size: 9px; }
body.dark .cnq-tour-btn { background: rgba(255, 255, 255, .06); color: #eef2fb; border-color: rgba(103, 220, 255, .35); }

/* ------------------------------------------------- before you go (exit) -- */
.sg-exit {
  position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; padding: 16px;
  background: rgba(8, 14, 34, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  animation: sgfade .25s ease;
}
.sg-exit[hidden] { display: none; }
.sg-exit-card {
  position: relative; display: grid; grid-template-columns: 170px 1fr; gap: 18px; align-items: center;
  width: min(620px, 100%); padding: 26px 28px 26px 18px; border-radius: 26px;
  background: var(--sg-card); color: var(--sg-ink); box-shadow: var(--sg-shadow); border: 1px solid var(--sg-line);
  animation: sgpop .45s cubic-bezier(.34, 1.56, .64, 1);
}
.sg-exit-who { position: relative; width: 170px; height: 170px; }
.sg-exit-who img, .sg-exit-who .cnq-scooby-rig { position: absolute; inset: 0; width: 100%; height: 100%; }
.sg-exit-card h2 { margin: 0 0 8px; font: 700 clamp(22px, 3vw, 30px)/1.15 "Instrument Sans", system-ui, sans-serif; color: var(--sg-ink); }
.sg-exit-card p { margin: 0 0 16px; font-size: 16px; line-height: 1.55; color: var(--sg-dim); }
.sg-exit-card .sg-actions { margin-top: 0; }
.sg-exit-card .sg-btn { padding: 11px 18px; font-size: 15px; }
.sg-exit-card .sg-x { right: 12px; top: 12px; width: 30px; height: 30px; font-size: 20px; }
@keyframes sgfade { from { opacity: 0; } }
@keyframes sgpop { from { opacity: 0; transform: scale(.85) translateY(20px); } }
@media (max-width: 575px) {
  .sg-exit-card { grid-template-columns: 1fr; text-align: center; padding: 22px 18px; }
  .sg-exit-who { margin: -70px auto 0; width: 140px; height: 140px; }
  .sg-exit-card .sg-actions { justify-content: center; }
}

/* ------------------------------------------- reading progress, he rides -- */
.sg-progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 9995; pointer-events: none; }
.sg-progress i { display: block; height: 100%; width: 100%; background: var(--sg-grad); transform-origin: 0 50%; transform: scaleX(0); }
.sg-rider {
  position: fixed; top: 2px; left: 0; z-index: 9995; width: 30px; height: 30px; margin-left: -15px;
  pointer-events: none; transform: translateX(0); will-change: transform;
  opacity: 0; transition: opacity .35s ease;
}
.sg-rider.is-on { opacity: 1; }
.sg-rider img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 3px 4px rgba(18, 32, 84, .35)); }
.sg-rider.is-hop img { animation: sghop .5s ease; }
@keyframes sghop { 40% { transform: translateY(-9px) rotate(-8deg); } }

/* --------------------------------------------------------------- confetti */
.sg-confetti { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.sg-confetti i {
  position: absolute; top: -12px; width: 8px; height: 13px; border-radius: 2px;
  animation: sgfall var(--d, 1.6s) cubic-bezier(.2, .6, .4, 1) var(--w, 0s) forwards;
}
@keyframes sgfall {
  to { transform: translate3d(var(--x, 0), var(--y, 420px), 0) rotate(var(--r, 540deg)); opacity: 0; }
}

/* =================================================== Ten apps, or one CNQ */
.cnq-vs-area { padding: clamp(64px, 9vw, 130px) 0; position: relative; overflow: hidden; }
.cnq-vs-head { max-width: 760px; margin: 0 auto clamp(26px, 4vw, 48px); text-align: center; }
.cnq-vs-head .section-title { font-size: clamp(34px, 5vw, 68px); line-height: 1.04; margin: 0 0 16px; }
.cnq-vs-head p { font-size: 18px; line-height: 1.6; color: rgba(17, 17, 17, .66); margin: 0 auto; max-width: 600px; }
body.dark .cnq-vs-head p { color: rgba(255, 255, 255, .66); }
.cnq-vs-stage {
  position: relative; height: clamp(420px, 46vw, 560px); max-width: 1080px; margin: 0 auto;
  border-radius: 32px; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 100%, rgba(103, 220, 255, .22), transparent 60%), rgba(63, 140, 255, .06);
  border: 1px solid rgba(63, 140, 255, .16);
}
.cnq-vs-win {
  position: absolute; left: var(--x); top: var(--y); width: clamp(116px, 13vw, 150px);
  padding: 10px 10px 12px; border-radius: 14px; background: var(--sg-card); color: var(--sg-ink);
  box-shadow: 0 14px 30px -16px rgba(18, 32, 84, .5); border: 1px solid var(--sg-line);
  font: 600 13px/1.25 "Instrument Sans", system-ui, sans-serif;
  transform: translate(-50%, -50%) rotate(var(--r, 0deg));
  transition: left .8s cubic-bezier(.6, -.2, .3, 1.2) var(--w, 0s), top .8s cubic-bezier(.6, -.2, .3, 1.2) var(--w, 0s),
              transform .8s cubic-bezier(.6, -.2, .3, 1.2) var(--w, 0s), opacity .5s ease calc(var(--w, 0s) + .35s);
}
.cnq-vs-win .bar { display: flex; gap: 4px; margin-bottom: 8px; }
.cnq-vs-win .bar i { width: 7px; height: 7px; border-radius: 50%; background: #ff6b6b; }
.cnq-vs-win .bar i + i { background: #ffc94d; }
.cnq-vs-win .bar i + i + i { background: #4cd964; }
.cnq-vs-win .ico { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; color: #fff; font-size: 13px; margin-right: 6px; vertical-align: middle; }
.cnq-vs-win .tag {
  display: inline-block; margin-top: 8px; padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 700;
  color: #b42318; background: rgba(240, 68, 56, .12);
}
.cnq-vs-stage[data-state="many"] .cnq-vs-win { animation: sgjitter var(--j, 3s) ease-in-out var(--w, 0s) infinite; }
@keyframes sgjitter {
  0%, 100% { transform: translate(-50%, -50%) rotate(var(--r, 0deg)); }
  50% { transform: translate(-50%, calc(-50% - 9px)) rotate(calc(var(--r, 0deg) * -1)); }
}
.cnq-vs-stage[data-state="one"] .cnq-vs-win { left: 50%; top: 40%; opacity: 0; transform: translate(-50%, -50%) scale(.2) rotate(0deg); }
.cnq-vs-one {
  position: absolute; left: 50%; top: 40%; width: min(560px, 86%); padding: 16px 18px 20px; border-radius: 24px;
  background: var(--sg-card); color: var(--sg-ink); box-shadow: 0 30px 60px -24px rgba(18, 32, 84, .55); border: 1px solid var(--sg-line);
  transform: translate(-50%, -50%) scale(.6); opacity: 0; pointer-events: none;
  transition: transform .7s cubic-bezier(.34, 1.56, .64, 1) .55s, opacity .35s ease .5s;
}
.cnq-vs-stage[data-state="one"] .cnq-vs-one { transform: translate(-50%, -50%) scale(1); opacity: 1; pointer-events: auto; }
.cnq-vs-one-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font: 700 15px/1 "Instrument Sans", system-ui, sans-serif; }
.cnq-vs-one-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--sg-grad); box-shadow: 0 0 0 4px rgba(63, 140, 255, .15); }
.cnq-vs-one-bar .who { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--sg-dim); }
.cnq-vs-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px 8px; }
.cnq-vs-grid figure { margin: 0; text-align: center; font: 600 11.5px/1.2 "Instrument Sans", system-ui, sans-serif; color: var(--sg-dim); opacity: 0; transform: translateY(10px) scale(.7); }
.cnq-vs-grid img { display: block; width: 44px; height: 44px; margin: 0 auto 6px; }
.cnq-vs-stage[data-state="one"] .cnq-vs-grid figure { opacity: 1; transform: none; transition: opacity .3s ease, transform .45s cubic-bezier(.34, 1.56, .64, 1); transition-delay: calc(.9s + var(--i, 0) * 45ms); }
.cnq-vs-scooby { position: absolute; left: 50%; bottom: -4px; width: clamp(130px, 15vw, 180px); aspect-ratio: 1; transform: translateX(-50%); z-index: 3; cursor: pointer; }
.cnq-vs-scooby > img, .cnq-vs-scooby .cnq-scooby-rig { position: absolute; inset: 0; width: 100%; height: 100%; }
.cnq-vs-scooby.is-live > img { display: none; }
.cnq-vs-stage[data-state="one"] .cnq-vs-scooby { left: 88%; }
.cnq-vs-bubble {
  position: absolute; left: 50%; bottom: clamp(140px, 15vw, 186px); z-index: 4; transform: translateX(-50%);
  padding: 10px 14px; border-radius: 16px; background: var(--sg-card); color: var(--sg-ink); box-shadow: var(--sg-shadow);
  border: 1px solid var(--sg-line); font: 600 14.5px/1.35 "Instrument Sans", system-ui, sans-serif; white-space: nowrap;
  transition: left .8s cubic-bezier(.6, -.2, .3, 1.2);
}
.cnq-vs-stage[data-state="one"] .cnq-vs-bubble { left: 80%; }
.cnq-vs-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(14px, 3vw, 34px);
  max-width: 1080px; margin: 22px auto 0;
}
.cnq-vs-stats { display: flex; gap: clamp(14px, 3vw, 30px); margin: 0; padding: 0; list-style: none; }
.cnq-vs-stats li { text-align: center; font: 600 13px/1.2 "Instrument Sans", system-ui, sans-serif; color: rgba(17, 17, 17, .6); text-transform: uppercase; letter-spacing: .08em; }
body.dark .cnq-vs-stats li { color: rgba(255, 255, 255, .62); }
.cnq-vs-stats b { display: block; font-size: clamp(30px, 4vw, 44px); line-height: 1; letter-spacing: 0; color: #f04438; transition: color .4s; }
.cnq-vs-stage[data-state="one"] ~ .cnq-vs-bar .cnq-vs-stats b { color: var(--sg-blue); }
.cnq-vs-switch {
  display: inline-flex; align-items: center; gap: 12px; padding: 8px 20px 8px 8px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--sg-ink); color: var(--sg-card); font: 700 16px/1 "Instrument Sans", system-ui, sans-serif;
  box-shadow: 0 14px 30px -14px rgba(18, 32, 84, .7);
}
body.dark .cnq-vs-switch { background: #fff; color: #0f1424; }
.cnq-vs-switch .knob { position: relative; width: 58px; height: 32px; border-radius: 999px; background: #c8cede; transition: background .3s; }
.cnq-vs-switch .knob::after { content: ""; position: absolute; left: 4px; top: 4px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.cnq-vs-switch[aria-pressed="true"] .knob { background: var(--sg-blue); }
.cnq-vs-switch[aria-pressed="true"] .knob::after { transform: translateX(26px); }
@media (max-width: 767px) {
  .cnq-vs-win { width: 104px; padding: 8px; font-size: 11.5px; }
  .cnq-vs-win .tag { display: none; }
  .cnq-vs-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cnq-vs-grid img { width: 36px; height: 36px; }
  .cnq-vs-stage[data-state="one"] .cnq-vs-scooby { left: 50%; bottom: -36px; opacity: 0; }
  .cnq-vs-stage[data-state="one"] .cnq-vs-bubble { left: 50%; bottom: 14px; }
}

/* ============================================================ Ask Scooby */
.cnq-ask-area { padding: clamp(64px, 9vw, 130px) 0 clamp(40px, 6vw, 90px); }
.cnq-ask-inner { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.cnq-ask-stage { position: relative; display: grid; place-items: center; min-height: clamp(300px, 32vw, 440px); }
.cnq-ask-stage .halo { position: absolute; width: min(90%, 420px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 45%, rgba(103, 220, 255, .34), rgba(63, 140, 255, .14) 46%, transparent 70%); }
.cnq-ask-who { position: relative; width: clamp(230px, 28vw, 360px); aspect-ratio: 1; cursor: pointer; }
.cnq-ask-who > img, .cnq-ask-who .cnq-scooby-rig { position: absolute; inset: 0; width: 100%; height: 100%; }
.cnq-ask-who.is-live > img { display: none; }
.cnq-ask-chat {
  border-radius: 26px; background: var(--sg-card); color: var(--sg-ink); border: 1px solid var(--sg-line);
  box-shadow: var(--sg-shadow); overflow: hidden; display: flex; flex-direction: column; min-height: 460px;
}
.cnq-ask-top { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--sg-line); font: 700 15px/1.2 "Instrument Sans", system-ui, sans-serif; }
.cnq-ask-top .live { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); }
.cnq-ask-top small { margin-left: auto; font-weight: 500; color: var(--sg-dim); font-size: 12.5px; }
.cnq-ask-log { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 18px; overflow-y: auto; max-height: 360px; scroll-behavior: smooth; }
.cnq-ask-msg { max-width: 86%; padding: 10px 14px; border-radius: 18px; font: 500 15px/1.5 "Instrument Sans", system-ui, sans-serif; animation: sgpop .3s ease; }
.cnq-ask-msg.is-me { align-self: flex-end; background: var(--sg-grad); color: #fff; border-bottom-right-radius: 6px; }
.cnq-ask-msg.is-him { align-self: flex-start; background: rgba(63, 140, 255, .09); border-bottom-left-radius: 6px; }
body.dark .cnq-ask-msg.is-him { background: rgba(103, 220, 255, .1); }
.cnq-ask-msg .sg-actions { margin-top: 9px; }
.cnq-ask-msg.is-typing { display: inline-flex; gap: 4px; padding: 13px 14px; }
.cnq-ask-msg.is-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--sg-blue); opacity: .4; animation: sgdot 1s infinite; }
.cnq-ask-msg.is-typing i:nth-child(2) { animation-delay: .15s; }
.cnq-ask-msg.is-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes sgdot { 30% { opacity: 1; transform: translateY(-3px); } }
.cnq-ask-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 14px; }
.cnq-ask-chips button {
  padding: 8px 13px; border-radius: 999px; border: 1px solid rgba(63, 140, 255, .32); background: transparent; cursor: pointer;
  color: var(--sg-ink); font: 600 13.5px/1.2 "Instrument Sans", system-ui, sans-serif; transition: background .15s, border-color .15s, transform .15s;
}
.cnq-ask-chips button:hover { background: rgba(63, 140, 255, .1); border-color: var(--sg-blue); transform: translateY(-1px); }
.cnq-ask-chips button[disabled] { opacity: .45; cursor: default; transform: none; }
.cnq-ask-form { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--sg-line); }
.cnq-ask-form input {
  flex: 1; min-width: 0; padding: 11px 14px; border-radius: 999px; border: 1px solid var(--sg-line); background: transparent;
  color: var(--sg-ink); font: 500 15px/1.2 "Instrument Sans", system-ui, sans-serif;
}
.cnq-ask-form input:focus { outline: none; border-color: var(--sg-blue); box-shadow: 0 0 0 3px rgba(63, 140, 255, .18); }
.cnq-ask-form button { padding: 0 18px; border: 0; border-radius: 999px; background: var(--sg-grad); color: #fff; font: 700 14px/1 "Instrument Sans", system-ui, sans-serif; cursor: pointer; }
@media (max-width: 991px) {
  .cnq-ask-inner { grid-template-columns: 1fr; }
  .cnq-ask-stage { min-height: 0; }
  .cnq-ask-who { width: 200px; }
}

/* ----------------------------------------------------------------- phones */
@media (max-width: 767px) {
  .sg-guide { width: 96px; height: 96px; left: 6px; bottom: 6px; }
  .sg-bubble { left: 70px; bottom: 82px; max-width: calc(100vw - 92px); font-size: 14px; padding: 12px 13px 11px; }
  .sg-tuck { opacity: 1; transform: none; width: 22px; height: 22px; right: 0; top: 2px; font-size: 13px; }
  .sg-rider { display: none; }
}

/* ---------------------------------------------------------- less motion */
@media (prefers-reduced-motion: reduce) {
  .sg-guide, .sg-bubble, .sg-tab, .sg-spot, .cnq-vs-win, .cnq-vs-one, .cnq-vs-bubble, .cnq-vs-scooby, .cnq-vs-switch .knob::after { transition: none !important; }
  .cnq-vs-stage[data-state="many"] .cnq-vs-win, .sg-caret, .sg-exit, .sg-exit-card, .cnq-ask-msg, .sg-rider.is-hop img { animation: none !important; }
  .cnq-vs-stage[data-state="one"] .cnq-vs-grid figure { transition: none; }
  .sg-confetti { display: none; }
}
