/* The compatibility quiz (/compatibility). Part 1 is CC's chat on the Coach ground, like the Coach screens in the app;
   part 2 is the result on beige, like a match and a profile with no picture; part 3 is the site's waitlist block,
   a little more compact. Built from the site's tokens (assets/site.css); the waitlist is the home page's own (dir.css .v6-join). */

/* the purple ground sits behind the page and fades out to the beige at the result */
.qz-bg{position:fixed;inset:0;z-index:-1;background:var(--coach-ground);transition:opacity .7s ease}
.qz-out .qz-bg{opacity:0}
.qz{min-height:100vh;min-height:100dvh}

/* under the site's floating header (inc/header.php): "Coach" and the CC pill, then the 7 steps. The bar starts at the
   top of the screen so the chat never shows between the two while it scrolls */
.qz-bar{position:sticky;top:0;z-index:10;padding-top:80px;color:var(--coach-ink);background:rgba(124,35,239,.42);-webkit-backdrop-filter:blur(18px) saturate(1.2);backdrop-filter:blur(18px) saturate(1.2)}
.qz-bar-in{max-width:592px;margin:0 auto;padding:0 16px;height:44px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center}
.qz-title{grid-column:2;font:600 17px/22px var(--font-sans)}
.qz-pill{justify-self:end;color:var(--coach-ink)}
.qz-pill i{width:6px;height:6px;border-radius:50%;background:currentColor}
.qz-prog{max-width:560px;margin:0 auto;padding:0 16px 12px;display:grid;grid-template-columns:repeat(7,1fr);gap:4px}
.qz-prog li{height:3px;border-radius:2px;background:rgba(255,253,250,.26);transition:background-color .4s ease}
.qz-prog li.on{background:var(--coach-ink)}

/* the chat: a centred column, newest at the bottom */
.qz-chat{max-width:592px;margin:0 auto;padding:0 16px;min-height:calc(100dvh - 140px);display:flex;flex-direction:column;justify-content:flex-end;color:var(--coach-ink);transition:opacity .4s ease}
.qz-log{display:flex;flex-direction:column;gap:10px;padding-top:32px}
.qz-note{margin:24px 0;text-align:center;font:400 13px/18px var(--font-sans);color:var(--coach-ink-2)}
.qz-in{animation:qz-in .36s var(--ease-out) both}
@keyframes qz-in{from{opacity:0;transform:translateY(8px)}}

/* CC's message: the CC icon and a translucent bubble */
.qz-cc{display:flex;align-items:flex-end;gap:8px;max-width:88%}
.qz-av{flex:none;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:var(--surface-raised);color:var(--coach);box-shadow:0 2px 8px rgba(46,13,92,.24)}
.qz-bub{padding:10px 14px;border-radius:var(--radius-bubble) var(--radius-bubble) var(--radius-bubble) 4px;background:var(--coach-glass);box-shadow:inset 0 0 0 1px var(--coach-glass-ring);font:400 15px/21px var(--font-sans);text-wrap:pretty}
.qz-typing{display:flex;gap:5px;padding:16px 16px}
.qz-typing i{width:7px;height:7px;border-radius:50%;background:var(--coach-ink);animation:dot 1.2s ease-in-out infinite}
.qz-typing i:nth-child(2){animation-delay:.15s}
.qz-typing i:nth-child(3){animation-delay:.3s}

/* the question: a white card with a small label and serif text, like BIO and YOUR QUESTION in the app */
.qz-card{padding:12px 16px 14px;border-radius:var(--radius-card);background:var(--surface);color:var(--ink);box-shadow:0 10px 28px rgba(46,13,92,.2)}
.qz-lab{display:block;font:600 12px/16px var(--font-sans);letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3)}
.qz-q{margin-top:4px;font:400 21px/27px var(--font-serif);letter-spacing:-.006em;text-wrap:pretty}

/* the visitor's answer: an off-white bubble on the right; tapping it opens the question again */
.qz-me{align-self:flex-end;max-width:84%;padding:10px 14px;border:0;border-radius:var(--radius-bubble) var(--radius-bubble) 4px var(--radius-bubble);background:var(--surface);color:var(--ink);font:400 15px/21px var(--font-sans);text-align:left;text-wrap:pretty;box-shadow:0 4px 14px rgba(46,13,92,.18)}
button.qz-me{cursor:pointer;transition:transform .16s var(--ease-out),box-shadow .16s ease}
button.qz-me:hover:not(:disabled){box-shadow:0 0 0 3px var(--coach-glass-ring),0 4px 14px rgba(46,13,92,.18)}
button.qz-me:disabled{cursor:default}
.qz-me:focus-visible,.qz-opt:focus-visible{outline:2px solid var(--coach-ink);outline-offset:2px}

/* answer buttons: full width, stacked, 44px high (the smallest comfortable tap); pressed fills off-white before it moves into the chat */
.qz-opts{display:grid;gap:6px}
.qz-opt{width:100%;min-height:44px;padding:10px 16px;border:0;border-radius:12px;background:var(--coach-glass);box-shadow:inset 0 0 0 1px var(--coach-glass-ring);color:var(--coach-ink);font:400 15px/21px var(--font-sans);text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background-color .16s ease,color .16s ease,transform .16s var(--ease-out)}
.qz-opt:hover{background:rgba(255,253,250,.24)}
.qz-opt:active{transform:scale(.985)}
.qz-opt.on,.qz-opt[aria-pressed="true"]{background:var(--surface);color:var(--ink);box-shadow:none}
.qz-go{min-height:48px;text-align:center;font-weight:600;background:var(--surface);color:var(--ink);box-shadow:0 6px 18px rgba(46,13,92,.24)}
.qz-go:hover{background:var(--surface-raised)}

/* to the result: the chat and the Coach bar fade out; the site's header stays */
.qz-out .qz-chat,.qz-out .qz-bar{opacity:0;transition:opacity .4s ease}
.is-result .qz-chat,.is-result .qz-bar{display:none}
/* the site's footer sits on the beige; during the chat it's below the fold, on the purple */
.qz:not(.is-result) .v6-foot{display:none}

/* the match: "You" with no photo next to the blurred Unblurred logo, then the % */
.qz-result{max-width:672px;margin:0 auto;padding:104px var(--gutter) 0;text-align:center;animation:qz-fade .5s ease both}
@keyframes qz-fade{from{opacity:0}}
.qz-match{outline:none}
.qz-orbs{display:flex;justify-content:center;margin:12px 0 16px}
.qz-orb{width:164px;aspect-ratio:1;border-radius:50%;display:grid;place-items:center;transition:transform 1s var(--ease-out),opacity .6s ease}
.qz-you{position:relative;z-index:1;margin-right:-30px;background:var(--surface-raised);box-shadow:inset 0 0 0 1px #DCCBBB,0 10px 30px rgba(74,26,10,.1);font:400 30px/1 var(--font-serif);color:var(--ink);transform:translateX(-56px);opacity:0}
.qz-ub{background:#EADFFB;box-shadow:inset 0 0 0 2px var(--surface-raised);color:var(--ink-hi);transform:translateX(56px);opacity:0}
/* the blur sits on a wrapper: on the wordmark itself its mask would cut the blurred edges sharp again */
.qz-blur{filter:blur(4px);opacity:.8}
.qz-ub .mark{height:18px}
.qz-met .qz-orb{transform:none;opacity:1}
.qz-matched{font:400 15px/20px var(--font-sans);color:var(--ink-2)}
.qz-pct{margin-top:4px;font:400 28px/1.1 var(--font-serif);color:var(--ink)}
.qz-num{font-size:clamp(60px,9vw,76px);letter-spacing:-.02em;color:var(--violet);font-variant-numeric:tabular-nums}
.qz-warm .qz-num{color:var(--rust)}

/* the profile card: Bio, then How you match */
.qz-profile{margin-top:28px;padding:24px 24px 28px;border-radius:var(--radius-card);background:var(--surface-raised);box-shadow:inset 0 0 0 1px var(--line),0 16px 40px rgba(74,26,10,.08);text-align:left;animation:qz-in .6s .5s var(--ease-out) both}
.qz-who{display:flex;align-items:baseline;gap:10px;margin-bottom:18px}
.qz-who b{font:400 30px/36px var(--font-serif);color:var(--ink)}
.qz-who small{font:400 13px/18px var(--font-sans);color:var(--ink-3)}
.qz-profile .eyebrow{display:block;color:var(--ink-3)}
.qz-bio{margin-top:6px;font:400 20px/29px var(--font-serif);color:var(--ink);text-wrap:pretty}
.qz-profile hr{margin:22px 0 18px;border:0;border-top:1px solid var(--line)}
.qz-head{margin-top:6px;font:400 30px/36px var(--font-serif);letter-spacing:-.006em;color:var(--ink);text-wrap:balance}
.qz-text{margin-top:10px;font:400 18px/28px var(--font-sans);color:var(--ink);text-wrap:pretty}
.qz-cue{display:inline-block;margin:22px 0 28px;padding:6px 4px;font:600 15px/20px var(--font-sans);color:var(--violet);text-decoration:none}
.qz-cue:hover{text-decoration:underline;text-underline-offset:3px}

/* the waitlist: the home page's block and form (inc/join-form.php), exactly as there; on wide screens only the
   column is narrower, to sit under the profile card */
.qz-join{max-width:640px;margin:0 auto 48px}

@media (max-width:767px){
  .qz-q{font-size:19px;line-height:25px}
  .qz-orb{width:124px}
  .qz-you{font-size:26px;margin-right:-24px}
  .qz-ub .mark{height:15px}
  .qz-blur{filter:blur(3.5px)}
  .qz-profile{padding:20px 20px 24px}
  .qz-who b,.qz-head{font-size:28px;line-height:34px}
  .qz-bio{font-size:19px;line-height:28px}
  .qz-text{font-size:17px;line-height:26px}
}
@media (prefers-reduced-motion:reduce){
  .qz-in,.qz-result,.qz-profile{animation:none}
  .qz-typing i{animation:none;opacity:.7}
  .qz-orb{transform:none;transition:opacity .4s ease}
}
