/* Lead Desk OS quick quiz (/start/), 2026-11-25. STAGED. Loaded after /pmi.css and /lp/lp.css.
   Tokens only from pmi.css. Blue = every action. Ember (--acc) = the one price on the result, nothing else.
   Glass only on the recommended plan block (DESIGN.md: "the recommended plan card"); the quiz and form stay flat graphite. */

.qz-lockup { height: 34px; width: auto; }
@media (min-width: 960px) { .qz-lockup { height: 40px; } }

/* ── Hero ── */
.qz-hero { position: relative; padding: 26px 0 48px; overflow: hidden; }
.qz-hero::before { /* the soft wash the card sits on: blue left, ember right, nothing else */
  content: ""; position: absolute; inset: -10% -10% auto auto; width: 90%; height: 640px; pointer-events: none;
  background: radial-gradient(closest-side at 70% 40%, rgba(88, 184, 255, .10), transparent 70%),
              radial-gradient(closest-side at 90% 70%, rgba(var(--acc-rgb), .06), transparent 70%);
}
.qz-grid { position: relative; display: grid; gap: 22px; align-items: start; }
.qz-copy .label { margin-bottom: 0; }
.qz-copy h1 { font-size: clamp(30px, 7.4vw, 56px); line-height: 1.06; letter-spacing: -0.025em; margin: 12px 0 12px; max-width: 16ch; }
.qz-lede { font-size: 17px; color: var(--silver); max-width: 36ch; }
.qz-points, .qz-photo { display: none; }
.qz-points a { color: var(--ice); text-underline-offset: 3px; white-space: nowrap; }
.qz-photo { margin-top: 30px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--border-soft); }
.qz-photo img { width: 100%; height: 280px; object-fit: cover; object-position: center 22%; filter: saturate(.9) contrast(1.02); }
@media (min-width: 960px) {
  .qz-hero { padding: 56px 0 84px; }
  .qz-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .qz-points, .qz-photo { display: block; }
  .qz-points { display: grid; font-size: 16px; }
  .qz-lede { font-size: 19px; }
}

/* ── Quiz card (flat graphite, like the /lp/ form card) ── */
.qz-card { display: none; background: var(--graphite); border: 1px solid var(--border); border-radius: var(--r);
  padding: 18px 16px 18px; box-shadow: inset 0 1px 0 rgba(255,255,255,.06), var(--shadow-2); min-height: 380px; }
.qz-js .qz-card { display: block; }
@media (min-width: 620px) { .qz-card { padding: 26px 28px 24px; min-height: 430px; } }
.qz-bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; min-height: 36px; }
.qz-back { grid-column: 1; display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; color: var(--silver);
  font: 500 14px/1 var(--font-display); padding: 10px 8px 10px 0; cursor: pointer; }
.qz-back:hover { color: var(--ice); }
.qz-back[hidden] { display: none; }
.qz-dots { grid-column: 2; list-style: none; display: flex; gap: 6px; justify-content: center; }
.qz-dots li { width: 22px; height: 4px; border-radius: 2px; background: var(--border); transition: background-color .2s ease; }
.qz-dots li.done { background: rgba(88, 184, 255, .45); }
.qz-dots li.now { background: var(--blue); }
.qz-count { grid-column: 3; font: 500 12px/1 var(--font-mono); color: var(--muted); letter-spacing: .02em; white-space: nowrap; }
.qz-q { font-size: clamp(22px, 5.6vw, 28px); line-height: 1.2; letter-spacing: -0.02em; margin: 18px 0 18px; color: var(--ice); outline: none; }
.qz-q:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.qz-opts { display: grid; gap: 10px; }
.qz-opts.is-grid { grid-template-columns: 1fr 1fr; }
.qz-opt { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 58px;
  padding: 14px 16px; text-align: left; cursor: pointer; border-radius: var(--r);
  background: var(--obsidian); border: 1px solid var(--border); color: var(--ice);
  font: 500 16px/1.3 var(--font-display); transition: border-color .15s ease, background-color .15s ease, transform .12s ease; }
.qz-opt:hover { border-color: #3E4854; background: var(--graphite-2); }
.qz-opt:active { transform: translateY(1px); }
.qz-opt-i { flex: none; color: var(--muted); transition: transform .15s ease, color .15s ease; }
.qz-opt:hover .qz-opt-i { color: var(--blue); transform: translateX(2px); }
.qz-opt[aria-pressed="true"] { border-color: var(--blue); background: rgba(88, 184, 255, .10); }
.qz-opt[aria-pressed="true"] .qz-opt-i { color: var(--blue); }
.qz-foot { margin-top: 16px; font-size: 13px; color: var(--muted); text-align: center; }
.qz-card.is-in .qz-screen { animation: qz-in .22s ease both; }
@keyframes qz-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.qz-nojs { background: var(--graphite); border: 1px solid var(--border); border-radius: var(--r); padding: 24px; }
.qz-nojs p { margin-top: 10px; color: var(--silver); }

/* ── Result dialog ── */
.qz-locked, .qz-locked body { overflow: hidden; }
.qz-result { margin: auto; padding: 0; border: 1px solid var(--border); border-radius: var(--r); color: var(--silver);
  background: var(--graphite); width: min(640px, calc(100% - 24px)); max-height: calc(100dvh - 24px); overflow-y: auto;
  overscroll-behavior: contain; box-shadow: var(--shadow-2); }
.qz-result::backdrop { background: rgba(5, 6, 8, .78); }
.qz-result[open] { animation: qz-pop .24s ease both; }
@keyframes qz-pop { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
@media (max-width: 619px) {
  .qz-result { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; border: 0; border-radius: 0; }
}
.qz-r-inner { position: relative; padding: 22px 18px 28px;
  background: radial-gradient(closest-side at 85% 12%, rgba(88, 184, 255, .10), transparent 70%),
              radial-gradient(closest-side at 15% 22%, rgba(var(--acc-rgb), .07), transparent 70%); }
@media (min-width: 620px) { .qz-r-inner { padding: 30px 32px 30px; } }
.qz-close { position: absolute; top: 12px; right: 10px; width: 44px; height: 44px; display: grid; place-items: center;
  background: none; border: 0; color: var(--muted); cursor: pointer; border-radius: var(--r); }
.qz-close:hover { color: var(--ice); background: var(--graphite-2); }
#qz-r-title { font-size: clamp(24px, 5.8vw, 30px); letter-spacing: -0.02em; color: var(--ice); padding-right: 48px; outline: none; }
#qz-r-title:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.qz-echo { margin-top: 8px; font-size: 15px; color: var(--muted); line-height: 1.55; }

.qz-plan { margin-top: 18px; padding: 18px 18px 16px; border-radius: var(--r);
  background: var(--glass-bg); border: 1px solid var(--glass-edge); box-shadow: inset 0 1px 0 var(--glass-hi);
  -webkit-backdrop-filter: blur(var(--glass-blur)); backdrop-filter: blur(var(--glass-blur)); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .qz-plan { background: rgba(20, 23, 27, .92); } }
.qz-plan-for { font: 500 12px/1 var(--font-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.qz-plan-name { margin-top: 8px; font-size: 24px; letter-spacing: -0.02em; color: var(--ice); outline: none; }
.qz-plan-price { margin-top: 4px; font-size: 15px; color: var(--silver); }
.qz-plan-price b { color: var(--acc); font: 700 26px/1.2 var(--font-display); letter-spacing: -0.01em; margin-right: 4px; }
.qz-plan-does { margin-top: 8px; font-size: 15px; color: var(--silver); line-height: 1.55; }

.qz-sub { margin-top: 20px; font-size: 16px; color: var(--ice); letter-spacing: -0.01em; }
.qz-roll { list-style: none; display: grid; gap: 10px; margin-top: 10px; }
.qz-roll li { display: grid; gap: 2px; padding-left: 14px; border-left: 2px solid var(--blue); font-size: 15px; line-height: 1.5; }
.qz-roll li b { font: 500 12px/1.4 var(--font-mono); color: var(--ice); text-transform: uppercase; letter-spacing: .06em; }
.qz-roll li span { color: var(--silver); }
.qz-roll li.later { border-left-color: var(--border); }
.qz-roll li.later b, .qz-roll li.later span { color: var(--muted); }
.qz-os-line { margin-top: 14px; font-size: 15px; color: var(--ice); }

.qz-form { margin-top: 20px; gap: 12px; }
.qz-form label { font-size: 13px; margin-bottom: 5px; }
form.pmi.qz-form input { padding: 12px 13px; }
.qz-form .cx-consent label { font-size: 12px; }
.qz-go { width: 100%; margin-top: 4px; }
.qz-go[disabled] { opacity: .75; cursor: progress; }
.qz-fine { font-size: 13px; color: var(--muted); text-align: center; }

.qz-more { margin-top: 18px; display: grid; gap: 12px; justify-items: center; text-align: center; }
.qz-link { background: none; border: 0; color: var(--blue); font: 500 15px/1.4 var(--font-display); cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; padding: 8px 4px; }
.qz-link:hover { color: #7CC7FF; }
.qz-others { width: 100%; display: grid; gap: 10px; text-align: left; }
.qz-others[hidden] { display: none; }
.qz-alt { display: grid; gap: 12px; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--r); background: var(--obsidian); }
.qz-alt b { display: block; color: var(--ice); font: 600 17px/1.3 var(--font-display); }
.qz-alt-p { display: block; margin-top: 2px; font-size: 14px; color: var(--silver); }
.qz-alt p { margin-top: 6px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.qz-alt .btn { justify-self: start; }
@media (min-width: 620px) { .qz-alt { grid-template-columns: 1fr auto; align-items: center; } .qz-alt .btn { justify-self: end; } }
.qz-talk { font-size: 15px; color: var(--muted); }
.qz-talk a { color: var(--blue); text-underline-offset: 3px; }
.qz-talk[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
  .qz-card.is-in .qz-screen, .qz-result[open] { animation: none; }
  .qz-opt, .qz-opt-i, .qz-dots li { transition: none; }
}
