/* Roster qualifier ("Start a brief"). Pairs with qualify.js. Reads brand.css tokens, with fallbacks. */
@property --qz-bg { syntax: "<color>"; inherits: true; initial-value: #F6F3EC; }
@property --qz-fg { syntax: "<color>"; inherits: true; initial-value: #141210; }
@property --qz-fg2 { syntax: "<color>"; inherits: true; initial-value: #332F2A; }
@property --qz-mute { syntax: "<color>"; inherits: true; initial-value: #6E675D; }
@property --qz-card { syntax: "<color>"; inherits: true; initial-value: #FBF9F4; }
@property --qz-field { syntax: "<color>"; inherits: true; initial-value: #FFFFFF; }
@property --qz-line { syntax: "<color>"; inherits: true; initial-value: rgba(20, 18, 16, .1); }
@property --qz-line2 { syntax: "<color>"; inherits: true; initial-value: rgba(20, 18, 16, .2); }
@property --qz-acc { syntax: "<color>"; inherits: true; initial-value: #141210; }
@property --qz-onacc { syntax: "<color>"; inherits: true; initial-value: #F6F3EC; }
@property --qz-on { syntax: "<color>"; inherits: true; initial-value: #141210; }
@property --qz-glow { syntax: "<color>"; inherits: true; initial-value: #FFB45A; }
@property --k { syntax: "<percentage>"; inherits: false; initial-value: 0%; }

/* page lock while the flow is open (qualify.js scales <body> and keeps fixed headers in place) */
html.qz-lock { overflow: hidden !important; background-color: #0E0C0A !important; }
html.qz-fixfix body::before { visibility: hidden; }

.qz-scrim { position: fixed; inset: 0; z-index: 2147482990; background: rgba(14, 12, 10, .52); opacity: 0; pointer-events: none; }
.qz-scrim[hidden] { display: none; }

.qz {
  --qz-spring: var(--ease-spring, cubic-bezier(.34, 1.36, .64, 1));
  --qz-out: var(--ease-out, cubic-bezier(.16, 1, .3, 1));
  --qz-display: var(--font-display, "Fraunces", "Fraunces Fallback", "Iowan Old Style", Georgia, serif);
  --qz-ui: var(--font-ui, "Inter", "Inter Fallback", ui-sans-serif, system-ui, sans-serif);
  position: fixed; inset: 0; z-index: 2147483000;
  font-family: var(--qz-ui); font-size: 16px; font-weight: 400; line-height: 1.5; letter-spacing: normal; text-align: left;
  color: var(--qz-fg); -webkit-font-smoothing: antialiased; font-feature-settings: "cv11", "ss01", "cv02", "calt";
  -webkit-tap-highlight-color: transparent; color-scheme: light;
  transition: --qz-bg .7s var(--qz-out), --qz-fg .7s var(--qz-out), --qz-fg2 .7s var(--qz-out), --qz-mute .7s var(--qz-out), --qz-card .7s var(--qz-out),
    --qz-field .7s var(--qz-out), --qz-line .7s var(--qz-out), --qz-line2 .7s var(--qz-out), --qz-acc .7s var(--qz-out), --qz-onacc .7s var(--qz-out),
    --qz-on .9s var(--qz-out), --qz-glow .7s var(--qz-out);
}
.qz[hidden] { display: none !important; }
.qz[data-theme="warm"], .qz[data-theme="cool"] { color-scheme: dark; }
.qz[data-theme="warm"] {
  --qz-bg: #0E0C0A; --qz-fg: #F6F3EC; --qz-fg2: rgba(246, 243, 236, .78); --qz-mute: rgba(246, 243, 236, .56); --qz-card: #161310; --qz-field: #1F1B17;
  --qz-line: rgba(246, 243, 236, .1); --qz-line2: rgba(246, 243, 236, .2); --qz-acc: #F6F3EC; --qz-onacc: #0E0C0A; --qz-glow: #FF6A45;
}
.qz[data-theme="cool"] {
  --qz-bg: #0D0C11; --qz-fg: #EEEAE2; --qz-fg2: rgba(238, 234, 226, .76); --qz-mute: rgba(238, 234, 226, .54); --qz-card: #121118; --qz-field: #18171F;
  --qz-line: rgba(238, 234, 226, .09); --qz-line2: rgba(238, 234, 226, .2); --qz-acc: #EEEAE2; --qz-onacc: #0D0C11; --qz-glow: #7FBDF2;
}
.qz *, .qz *::before, .qz *::after { box-sizing: border-box; }
:where(.qz) :is(h1, h2, h3, p, ol, ul, li, fieldset, legend, figure, form) { margin: 0; padding: 0; border: 0; font: inherit; color: inherit; list-style: none; }
:where(.qz) button { font: inherit; color: inherit; background: none; border: 0; margin: 0; padding: 0; cursor: pointer; text-align: inherit; letter-spacing: inherit; }
:where(.qz) a { color: inherit; }
:where(.qz) img { display: block; max-width: 100%; }
.qz .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.qz :focus-visible { outline: 2px solid var(--qz-acc); outline-offset: 3px; }
.qz .qz-field:focus-visible, .qz .qz-in:focus-visible { outline: none; }
.qz svg { display: block; }

/* ---------- sheet: aura (40) + paper (60) ---------- */
.qz-sheet { position: absolute; inset: 0; background: var(--qz-bg); display: grid; grid-template-columns: minmax(0, 40fr) minmax(0, 60fr); overflow: hidden; }

.qz-aura { position: relative; margin: 12px 0 12px 12px; border-radius: 28px; overflow: hidden; isolation: isolate; color: var(--qz-on); --qz-on: #141210; --grain: .16;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 30px 40px 34px; min-height: 0;
  background: linear-gradient(135deg, var(--g0, #FFB45A), var(--g1, #F49AB8) 45%, var(--g2, #F7E296)); }
.qz-aura.is-ondark { --qz-on: #F6F3EC; }
.qz-aura > canvas, .qz-aura > .qz-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.qz-aura::after { z-index: 2; }
.qz-veil { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .9s var(--qz-out);
  background: radial-gradient(120% 85% at 82% 8%, transparent 0%, rgba(14, 12, 10, .2) 38%, var(--qz-bg) 92%); }
.qz[data-theme="warm"] .qz-veil, .qz[data-theme="cool"] .qz-veil { opacity: 1; }
.qz-l { position: relative; z-index: 3; }
.qz-aura-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.qz-logo { display: block; width: 84px; color: var(--qz-on); }
.qz-logo svg { width: 100%; height: auto; }
.qz-aura-eb { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .72; }

.qz-live { flex: 1; display: flex; align-items: flex-end; min-height: 0; }
.qz-sent { font-family: var(--qz-display); font-weight: 350; font-size: clamp(28px, 2.6vw, 44px); line-height: 1.24; letter-spacing: -.022em;
  font-variation-settings: "opsz" 144, "SOFT" 50; max-width: 15em; text-wrap: pretty; overflow-wrap: break-word; }
.qz-idle { opacity: .72; }
.qz-chip { display: inline; padding: 0 .14em .02em; margin: 0 -.04em; border-radius: .22em; cursor: pointer;
  background: color-mix(in srgb, var(--qz-card) 44%, transparent); -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-color .35s var(--qz-out); }
.qz-aura.is-ondark .qz-chip { background: rgba(255, 255, 255, .11); }
@media (hover: hover) and (pointer: fine) {
  .qz-chip:hover { background: color-mix(in srgb, var(--qz-card) 86%, transparent); }
  .qz-aura.is-ondark .qz-chip:hover { background: rgba(255, 255, 255, .22); }
}
.qz-chip.is-new { animation: qz-chip .7s var(--qz-out) both; }
@keyframes qz-chip { 0% { opacity: 0; filter: blur(6px); } 100% { opacity: 1; filter: blur(0); } }
.qz-slot { opacity: .5; text-decoration: underline dotted; text-decoration-thickness: 1.5px; text-underline-offset: .16em; }

.qz-aura-foot { display: grid; gap: 14px; }
.qz-mono { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 1.3; min-height: 0; opacity: 0; transform: translateY(6px); filter: blur(4px);
  transition: opacity .5s var(--qz-out), transform .7s var(--qz-spring), filter .5s var(--qz-out); }
.qz-mono:empty { display: none; }
.qz-mono.is-on { opacity: 1; transform: none; filter: none; }
.qz-mono b { font-weight: 600; }
.qz .qz-mono-av { width: 30px; height: 30px; font-size: 13px; color: #141210; box-shadow: 0 0 0 2px color-mix(in srgb, var(--qz-card) 60%, transparent); }
.qz-trail { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; font-weight: 500; }
.qz-trail span { opacity: .5; display: inline-flex; align-items: center; transition: opacity .4s var(--qz-out); }
.qz-trail span.is-done { opacity: .78; }
.qz-trail span.is-cur { opacity: 1; }
.qz-trail span.is-cur::before { content: ""; width: 6px; height: 6px; border-radius: 9px; background: currentColor; margin-right: 7px; }

/* ---------- main column ---------- */
.qz-main { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.qz-top { position: relative; flex: none; height: 76px; display: flex; align-items: center; padding: 0 96px 0 64px; }
.qz-prog { position: absolute; left: 32px; right: 32px; top: 12px; height: 3px; border-radius: 9px; background: var(--qz-line); overflow: hidden; }
.qz-prog > i { display: block; height: 100%; border-radius: inherit; background: var(--qz-acc); transform-origin: left center; transform: scaleX(.04); transition: transform .7s var(--qz-spring), background-color .6s; }
.qz-count { font-size: 13px; font-weight: 500; color: var(--qz-mute); font-variant-numeric: tabular-nums; padding-top: 6px; }
.qz-close { position: absolute; z-index: 5; top: 26px; right: 28px; width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center;
  color: var(--qz-fg); box-shadow: inset 0 0 0 1px var(--qz-line2); transition: background-color .3s, box-shadow .3s, transform .1s ease-out; }
.qz-close svg { width: 16px; height: 16px; }
.qz-close:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .qz-close:hover { background: var(--qz-line); } }

.qz-stage { position: relative; flex: 1; min-height: 0; }
.qz-step { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-width: thin; }
.qz-step-in { min-height: 100%; width: 100%; max-width: 760px; margin: 0 auto; padding: 12px 64px 40px; display: flex; flex-direction: column; justify-content: center; }
.qz-q { font-family: var(--qz-display); font-weight: 400; font-size: clamp(34px, 3.2vw, 52px); line-height: 1.04; letter-spacing: -.025em; font-variation-settings: "opsz" 144, "SOFT" 50; color: var(--qz-fg); outline: none; text-wrap: balance; }
.qz-q:focus-visible { outline: none; }
.qz-q em { font-style: italic; }
.qz-hint { margin-top: 12px; font-size: 16px; color: var(--qz-mute); }
.qz-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--qz-mute); margin-bottom: 14px; }

/* ---------- options ---------- */
.qz-group { margin-top: 28px; min-width: 0; }
.qz-group + .qz-group { margin-top: 26px; }
.qz-legend { display: block; font-size: 13.5px; font-weight: 500; color: var(--qz-mute); margin-bottom: 12px; }
.qz-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.qz-opts.is-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.qz-types { display: grid; gap: 10px; }
.qz-in { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.qz-opt { position: relative; isolation: isolate; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 14px 12px 16px; border-radius: 16px;
  background: var(--qz-card); box-shadow: inset 0 0 0 1px var(--qz-line); cursor: pointer; user-select: none; -webkit-user-select: none; overflow: hidden;
  transition: box-shadow .45s var(--qz-spring), background-color .3s, transform var(--dur-press, 100ms) ease-out; }
.qz-opt::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .4s var(--qz-out);
  background: radial-gradient(180px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--qz-glow) 26%, transparent), transparent 70%); }
@media (hover: hover) and (pointer: fine) {
  .qz-opt:hover { box-shadow: inset 0 0 0 1px var(--qz-line2); }
  .qz-opt:hover::before { opacity: 1; }
}
.qz-opt:active { transform: scale(.97); }
.qz-opt.is-on { box-shadow: inset 0 0 0 1.5px var(--qz-acc), 0 10px 24px -18px rgba(20, 18, 16, .45); }
.qz-opt:has(.qz-in:focus-visible) { outline: 2px solid var(--qz-acc); outline-offset: 3px; }
.qz-lab { flex: 1; min-width: 0; font-size: 15.5px; font-weight: 500; line-height: 1.25; }
.qz-lab small { display: block; margin-top: 3px; font-size: 13.5px; font-weight: 400; color: var(--qz-mute); line-height: 1.35; }
.qz-num { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; font-size: 11.5px; font-weight: 600; color: var(--qz-mute);
  box-shadow: inset 0 0 0 1px var(--qz-line2); font-variant-numeric: tabular-nums; transition: color .3s, background-color .3s, box-shadow .3s; }
.qz-opt.is-on .qz-num { background: var(--qz-acc); color: var(--qz-onacc); box-shadow: none; }
@media (hover: none), (pointer: coarse) { .qz-num { display: none; } }
.qz-dot { position: relative; flex: none; width: 20px; height: 20px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--qz-line2); transition: box-shadow .45s var(--qz-spring); }
.qz-dot::after { content: ""; position: absolute; inset: 5px; border-radius: 999px; background: var(--qz-acc); transform: scale(0); transition: transform .5s var(--qz-spring); }
.qz-opt.is-on .qz-dot { box-shadow: inset 0 0 0 1.5px var(--qz-acc), 0 0 0 4px color-mix(in srgb, var(--qz-acc) 10%, transparent); }
.qz-opt.is-on .qz-dot::after { transform: scale(1); }
.qz-opts.is-pills .qz-opt { min-height: 44px; border-radius: 999px; padding: 0 16px 0 12px; gap: 9px; }
.qz-opts.is-pills .qz-dot { width: 16px; height: 16px; }
.qz-opts.is-pills .qz-dot::after { inset: 4px; }
.qz-opts.is-pills .qz-lab { font-size: 15px; white-space: nowrap; }
.qz-opt.has-desc { align-items: flex-start; }
.qz-opt.has-desc .qz-dot, .qz-opt.has-desc .qz-num { margin-top: 1px; }

/* the type step: big rows */
.qz-type { min-height: 76px; padding: 14px 18px 14px 16px; gap: 16px; border-radius: 20px; }
.qz-type .qz-lab b { display: block; font-family: var(--qz-display); font-weight: 400; font-size: 22px; line-height: 1.12; letter-spacing: -.015em; font-variation-settings: "opsz" 144, "SOFT" 50; }
.qz-type .qz-lab small { font-size: 14px; }
.qz-sw { position: relative; flex: none; width: 40px; height: 40px; border-radius: 999px; overflow: hidden; background: radial-gradient(circle at 30% 25%, var(--s1), transparent 62%), linear-gradient(135deg, var(--s0), var(--s2));
  transition: transform .6s var(--qz-spring); }
.qz-sw::after { content: ""; position: absolute; inset: 0; opacity: .3; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.qz-type.is-on .qz-sw { transform: scale(1.08); }


/* errors and notes */
.qz-err { display: grid; grid-template-rows: 0fr; opacity: 0; font-size: 13.5px; color: var(--qz-fg2); transition: grid-template-rows .4s var(--qz-spring), opacity .3s; }
.qz-err.is-on { grid-template-rows: 1fr; opacity: 1; padding-top: 10px; }
.qz-err.is-on::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 9px; background: #E8502C; margin-right: 8px; vertical-align: .12em; }
.qz-hintline { font-size: 13.5px; line-height: 1.45; color: var(--qz-fg2); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .45s var(--qz-spring), opacity .3s, margin .45s var(--qz-spring); }
.qz-hintline.is-on { max-height: 60px; opacity: 1; margin-top: -6px; }
.qz-hintline.is-on::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 9px; background: #FFB45A; margin-right: 8px; vertical-align: .12em; }

/* ---------- fields ---------- */
.qz-fields { margin-top: 30px; display: grid; gap: 18px; }
.qz-grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.qz-flab { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; color: var(--qz-fg); }
.qz-flab span { color: var(--qz-mute); font-weight: 400; margin-left: 4px; }
.qz-fw { position: relative; }
.qz-field { width: 100%; height: 56px; padding: 0 18px; border-radius: 14px; border: 0; background: var(--qz-field); color: var(--qz-fg); font: inherit; font-size: 16px; outline: none;
  box-shadow: inset 0 0 0 1px var(--qz-line2); transition: box-shadow .45s var(--qz-spring), background-color .3s; -webkit-appearance: none; appearance: none; }
.qz-field::placeholder { color: var(--qz-mute); opacity: .8; }
.qz-field:focus { box-shadow: inset 0 0 0 1.5px var(--qz-acc), 0 0 0 5px color-mix(in srgb, var(--qz-acc) 9%, transparent); }
.qz-field[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px #E8502C; }
.qz-ta { height: auto; min-height: 84px; padding: 14px 18px; resize: vertical; line-height: 1.5; }
.qz-f-email .qz-field, .qz-f[data-f="email"] .qz-field { padding-right: 56px; }
.qz .qz-fmono { position: absolute; right: 12px; top: 50%; width: 32px; height: 32px; margin-top: -16px; font-size: 13px; color: #141210; opacity: 0; transform: scale(.5); filter: blur(4px);
  transition: opacity .35s var(--qz-out), transform .55s var(--qz-spring), filter .35s var(--qz-out), --a0 .9s, --a1 .9s, --a2 .9s; }
.qz .qz-fmono.is-on { opacity: 1; transform: none; filter: none; }

/* ---------- bottom bar ---------- */
.qz-bar { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 64px 30px; }
.qz-bar-r { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.qz-kh { font-size: 13px; color: var(--qz-mute); white-space: nowrap; }
@media (hover: none), (pointer: coarse) { .qz-kh { display: none; } }
.qz-back { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 18px 0 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--qz-fg);
  transition: background-color .3s, opacity .3s, transform var(--dur-press, 100ms) ease-out; }
.qz-back svg { width: 16px; height: 16px; }
.qz-back:active { transform: scale(.97); }
.qz-back.is-hidden { opacity: 0; pointer-events: none; }
@media (hover: hover) and (pointer: fine) { .qz-back:hover { background: var(--qz-line); } }
.qz-go, .qz-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 52px; padding: 0 24px; border-radius: 999px; font-size: 15.5px; font-weight: 500; line-height: 1; white-space: nowrap; text-decoration: none;
  transition: background-color .3s var(--qz-out), color .3s, box-shadow .3s, transform var(--dur-press, 100ms) ease-out; }
.qz-go, .qz-btn-ink { background: var(--qz-acc); color: var(--qz-onacc); }
.qz-go svg, .qz-btn svg { width: 16px; height: 16px; transition: transform .45s var(--qz-spring); }
@media (hover: hover) and (pointer: fine) {
  .qz-go:hover, .qz-btn-ink:hover { background: color-mix(in srgb, var(--qz-acc) 86%, var(--qz-bg)); }
  .qz-go:hover svg, .qz-btn:hover svg { transform: translateX(3px); }
  .qz-btn-line:hover { box-shadow: inset 0 0 0 1px var(--qz-fg); }
  .qz-btn-ghost:hover { background: var(--qz-line); }
}
.qz-go:active, .qz-btn:active { transform: scale(.97); }
.qz-btn-line { color: var(--qz-fg); box-shadow: inset 0 0 0 1px var(--qz-line2); background: transparent; }
.qz-btn-ghost { color: var(--qz-fg); background: transparent; padding: 0 16px; }
.qz-btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }

/* ---------- draft offer ---------- */
.qz-draft { display: grid; grid-template-rows: 1fr; margin-top: 24px; transition: grid-template-rows .5s var(--qz-spring), opacity .3s, margin .5s var(--qz-spring); }
.qz-draft-in { overflow: hidden; min-height: 0; position: relative; padding: 2px 0 2px 18px; }
.qz-draft-in::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px; border-radius: 9px; background: linear-gradient(180deg, #FFB45A, #F49AB8, #B49CF2); }
.qz-draft.is-gone { grid-template-rows: 0fr; opacity: 0; margin-top: 0; }
.qz-draft-t { font-size: 14px; font-weight: 600; }
.qz-draft-s { margin-top: 2px; font-size: 14.5px; color: var(--qz-mute); line-height: 1.45; max-width: 46em; }
.qz-draft-a { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }

/* ---------- result ---------- */
.qz.is-result .qz-bar { display: none; }
.qz-res { justify-content: center; padding-top: 8px; }
.qz-rv { opacity: 0; transform: translateY(14px); filter: blur(4px); transition: opacity .8s var(--qz-out), transform .9s var(--qz-out), filter .8s var(--qz-out); transition-delay: var(--d, 0ms); }
.is-in .qz-rv { opacity: 1; transform: none; filter: none; }
.qz-sum { margin-top: 18px; font-size: clamp(18px, 1.4vw, 21px); line-height: 1.5; color: var(--qz-fg2); max-width: 32em; }
.qz-recap { margin-top: 26px; display: grid; border-top: 1px solid var(--qz-line); max-width: 36em; }
.qz-recap > div { display: grid; grid-template-columns: minmax(96px, 9em) 1fr; gap: 4px 18px; padding: 11px 0; border-bottom: 1px solid var(--qz-line); font-size: 14.5px; line-height: 1.45; }
.qz-recap dt { color: var(--qz-mute); font-weight: 500; }
.qz-recap dd { margin: 0; color: var(--qz-fg); overflow-wrap: anywhere; }
.qz-next { margin-top: 24px; font-size: 15.5px; color: var(--qz-fg2); }
.qz-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

/* ---------- mobile: aura band on top, sticky bar ---------- */
@media (max-width: 899px) {
  .qz-sheet { display: flex; flex-direction: column; }
  .qz-main { flex: 1 1 auto; }
  .qz-aura { flex: none; margin: 0; border-radius: 0 0 24px 24px; padding: calc(16px + env(safe-area-inset-top, 0px)) 16px 18px; gap: 14px; justify-content: flex-start; min-height: 0; max-height: 44vh; }
  .qz-logo { width: 70px; }
  .qz-aura-eb { display: none; }
  .qz-live { flex: none; }
  .qz-sent { font-size: 21px; line-height: 1.24; max-width: none; padding-right: 4px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .qz.is-contact .qz-sent, .qz.is-result .qz-sent { -webkit-line-clamp: 3; }
  .qz.is-contact .qz-sent { -webkit-line-clamp: 2; }
  .qz-veil { background: radial-gradient(150% 130% at 85% 0%, transparent 8%, rgba(14, 12, 10, .3) 52%, var(--qz-bg) 100%); }
  .qz-aura { gap: 10px; }
  .qz-aura-foot { gap: 0; }
  .qz-trail { display: none; }
  .qz-mono { font-size: 13px; margin-top: 2px; }
  .qz .qz-mono-av { width: 24px; height: 24px; font-size: 11px; }
  .qz-close { top: calc(8px + env(safe-area-inset-top, 0px)); right: 8px; width: 40px; height: 40px; color: var(--qz-on); box-shadow: none; }
  .qz-aura.is-ondark ~ .qz-close, .qz[data-theme="warm"] .qz-close, .qz[data-theme="cool"] .qz-close { color: #F6F3EC; }
  .qz-top { height: 44px; padding: 0 16px; }
  .qz-prog { left: 16px; right: 16px; top: 14px; }
  .qz-count { padding-top: 14px; font-size: 12.5px; }
  .qz-step-in { justify-content: flex-start; padding: 8px 16px 28px; }
  .qz-q { font-size: 30px; }
  .qz-hint { font-size: 15px; margin-top: 8px; }
  .qz-group { margin-top: 22px; }
  .qz-opts { gap: 8px; }
  .qz-opt { min-height: 52px; padding: 10px 12px 10px 14px; gap: 10px; border-radius: 14px; }
  .qz-lab { font-size: 14.5px; }
  .qz-opt .qz-dot { width: 16px; height: 16px; }
  .qz-opt .qz-dot::after { inset: 4px; }
  .qz-opts.is-pills .qz-opt { min-height: 42px; padding: 0 14px 0 11px; }
  .qz-opts.is-pills .qz-lab { font-size: 14.5px; }
  .qz-type { min-height: 68px; padding: 12px 14px; gap: 12px; border-radius: 18px; }
  .qz-type .qz-lab b { font-size: 19px; }
  .qz-type .qz-lab small { font-size: 13px; }
  .qz-sw { width: 34px; height: 34px; }
  .qz-grid2 { grid-template-columns: 1fr; }
  .qz-fields { margin-top: 22px; gap: 16px; }
  .qz-bar { padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--qz-line); background: var(--qz-bg); }
  .qz-bar-r { flex: 1; }
  .qz-go { flex: 1; height: 50px; }
  .qz-back { padding: 0 14px 0 10px; }
  .qz-back.is-hidden { display: none; }
  .qz-res { padding-top: 4px; }
  .qz-recap { margin-top: 20px; }
  .qz-recap > div { grid-template-columns: 1fr; gap: 1px; padding: 9px 0; font-size: 14px; }
  .qz-next { margin-top: 18px; font-size: 15px; }
  .qz-actions { gap: 8px; }
  .qz-actions .qz-btn { flex: 1 1 auto; }
}
@media (max-width: 380px) {
  .qz-opts:not(.is-pills) { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 900px) and (max-height: 760px) {
  .qz-top { height: 60px; }
  .qz-step-in { padding-top: 0; padding-bottom: 24px; }
  .qz-q { font-size: clamp(30px, 2.8vw, 44px); }
  .qz-type { min-height: 64px; padding-top: 10px; padding-bottom: 10px; }
  .qz-bar { padding-bottom: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .qz-opt, .qz-dot, .qz-dot::after, .qz-sw, .qz-mono, .qz .qz-fmono, .qz-prog > i, .qz-err, .qz-draft { transition-property: opacity, background-color, box-shadow !important; }
  .qz-opt:active, .qz-go:active, .qz-btn:active, .qz-back:active, .qz-close:active { transform: none; }
  .qz-dot::after { transform: none; opacity: 0; } .qz-opt.is-on .qz-dot::after { opacity: 1; }
  .qz-mono, .qz-mono.is-on, .qz .qz-fmono, .qz .qz-fmono.is-on, .qz-rv { transform: none !important; filter: none !important; }
  .qz-chip.is-new { animation: none; }
  .qz-type.is-on .qz-sw { transform: none; }
}
.qz-step.is-leaving { pointer-events: none; user-select: none; -webkit-user-select: none; }


/* ================= the morph layer (qualify.js drives it with one spring) ================= */
.qz-face { position: absolute; inset: 0; z-index: 40; pointer-events: none; display: none; }
.qz.is-morph .qz-face { display: block; }
/* the growing shape lifts off the page: the shadow sits on the root so the sheet's clip does not cut it */
.qz.is-morph { filter: drop-shadow(0 28px 50px rgba(8, 6, 4, .26)); }
.qz-face > .qz-face-l { position: absolute; z-index: 1; }
.qz.is-morph .qz-aura, .qz.is-morph .qz-main { will-change: opacity, transform; }
.qz-scrim { will-change: opacity; }

/* ================= "What can our team run for you?": the three services ================= */
.qz-group[data-kind="type"] { margin-top: 26px; }
.qz-types { grid-template-columns: minmax(0, 1fr); }
.qz-type .qz-num { order: 3; }
.qz-type .qz-dot { order: 4; }
/* the two dark services carry their register on the swatch: a night tile with its own aura */
.qz-type[data-t="ugc"] { --sb: #15110E; }
.qz-type[data-t="ai"] { --sb: #100F18; }
.qz-type[data-t="ugc"] .qz-sw, .qz-type[data-t="ai"] .qz-sw { background: radial-gradient(circle at 70% 25%, var(--s1), transparent 58%), radial-gradient(circle at 25% 80%, var(--s0), transparent 62%), var(--sb); }
.qz-alt { margin-top: 22px; font-size: 14px; line-height: 1.5; color: var(--qz-mute); }
.qz-alt a { color: var(--qz-fg); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--qz-line2); transition: text-decoration-color .3s; }
@media (hover: hover) and (pointer: fine) { .qz-alt a:hover { text-decoration-color: currentColor; } }

/* custom project: a few lines of free text */
.qz-area-g .qz-ta { min-height: 108px; font-size: 16px; }

@media (max-width: 899px) {
  .qz-group[data-kind="type"] { margin-top: 18px; }
  .qz-alt { margin-top: 18px; font-size: 13.5px; }
}
