/* Winston Dane — the assessment pages (/sellability-score, /one-move-check,
   /relaunch-review, /cash-vs-list). Shares the .quiz__* component vocabulary already used by
   /estate and /relocating, plus the result panel. White is the surface, gold is a spice,
   corners are square (tokens.css). */

.qz-hero { position: relative; color: #fff; overflow: hidden; background: var(--wd-navy); }
.qz-hero__bg { position: absolute; inset: 0; }
.qz-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.qz-hero__bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,17,38,0.95) 0%, rgba(8,17,38,0.88) 45%, rgba(8,17,38,0.62) 100%); }
.qz-hero__inner { position: relative; max-width: var(--wd-maxw); margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 3rem) var(--wd-gutter) clamp(2rem, 3.5vw, 3.5rem);
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 4vw, 4.5rem); align-items: start; }
.qz-hero .wd-eyebrow { color: var(--wd-gold); font-weight: 600; letter-spacing: 0.18em; }
.qz-hero h1 { color: #fff; font-size: clamp(2.1rem, 1.4rem + 2.9vw, 3.5rem); line-height: 1.06; margin: 0.7rem 0 0; max-width: 18ch; }
.qz-hero__sub { color: #fff; font-weight: 500; font-size: clamp(1rem, 0.9rem + 0.45vw, 1.15rem); line-height: 1.65; max-width: 48ch; margin: 1.2rem 0 1.4rem; }
.qz-ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.qz-ticks li { position: relative; padding-left: 1.7rem; color: #fff; font-weight: 500; font-size: 0.98rem; }
.qz-ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--wd-gold); font-weight: 700; }
.qz-hero__cta { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.2rem 0 0.4rem; }
.qz-hero__cta .wd-btn { padding: 0.8rem 1.4rem; }
.qz-hero__cta .wd-btn--ghost { border: 1px solid rgba(255,255,255,0.75); color: #fff; background: transparent; }
.qz-hero__cta .wd-btn--ghost:hover { background: #fff; color: var(--wd-navy); }
.qz-hero__phone { margin-top: 1.6rem; font-size: 0.9rem; color: rgba(255,255,255,0.85); }
.qz-hero__phone a { color: var(--wd-gold); font-weight: 600; text-decoration: none; }

/* Card */
.quiz { scroll-margin-top: 96px; background: #fff; box-shadow: 0 24px 60px rgba(8,17,38,0.45); padding: clamp(1.4rem, 2.5vw, 2rem); color: var(--wd-ink); }
.quiz__kicker { display: block; font-family: var(--wd-sans); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--wd-gold-deep, #a9762f); font-weight: 700; }
.quiz__q { font-family: var(--wd-serif); font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.6rem); color: var(--wd-ink); line-height: 1.2; margin: 0.5rem 0 0.6rem; }
.qz-help { font-size: 0.85rem; color: var(--wd-body); margin: 0 0 1rem; line-height: 1.5; }
.quiz__opts { display: flex; flex-direction: column; gap: 0.6rem; }
.quiz__opt { text-align: left; font-family: var(--wd-sans); font-size: 0.95rem; font-weight: 500; color: var(--wd-ink);
  background: #fff; border: 1px solid var(--wd-rule); padding: 0.85rem 1rem; cursor: pointer; transition: border-color .15s, background .15s; }
.quiz__opt:hover, .quiz__opt.is-on { border-color: var(--wd-gold); background: #fdf9f3; }
.quiz__progress { display: flex; align-items: center; gap: 0.8rem; margin-top: 1.2rem; }
.quiz__bar { flex: 1; height: 3px; background: var(--wd-slate-100); }
.quiz__bar i { display: block; height: 100%; background: var(--wd-gold); transition: width .25s var(--wd-ease); }
.quiz__count { font-size: 0.72rem; color: var(--wd-muted); letter-spacing: 0.08em; white-space: nowrap; }
.quiz__back { background: none; border: none; font-family: var(--wd-sans); font-size: 0.78rem; color: var(--wd-muted); cursor: pointer; padding: 0; margin-top: 0.9rem; }
.quiz__back:hover { color: var(--wd-ink); }
.quiz form { display: flex; flex-direction: column; gap: 0.6rem; margin: 0; }
.quiz input { width: 100%; padding: 0.85rem 1rem; border: 1px solid var(--wd-rule); border-radius: 0; font-family: var(--wd-sans); font-size: 0.95rem; }
.quiz input:focus { outline: none; border-color: var(--wd-gold); }
.quiz .wd-btn { width: 100%; text-align: center; }
.quiz__thanks { display: none; text-align: center; padding: 1rem 0.5rem; }
.quiz__thanks h3 { font-family: var(--wd-serif); font-weight: 400; font-size: 1.4rem; color: var(--wd-ink); margin: 0 0 0.5rem; }
.quiz__thanks p { font-size: 0.9rem; color: var(--wd-body); margin: 0; }
.step { display: none; } .step.on { display: block; }

/* Result */
.qz-result { display: flex; flex-direction: column; gap: 1rem; }
.qz-meter-wrap { text-align: center; margin: 0.4rem 0 0; }
.qz-meter { width: 180px; height: auto; display: block; margin: 0 auto; }
.qz-meter__num { font-family: var(--wd-serif); font-size: 34px; fill: var(--wd-ink); }
.qz-meter__cap { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wd-muted); margin-top: -0.2rem; }
.qz-result__title { font-family: var(--wd-serif); font-weight: 400; font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem); line-height: 1.15; margin: 0; color: var(--wd-ink); }
.qz-result__sum { font-size: 0.95rem; color: var(--wd-body); line-height: 1.6; margin: 0; }
.qz-drag { border-left: 3px solid var(--wd-gold); padding: 0.6rem 0 0.6rem 1rem; background: #fdf9f3; }
.qz-drag__k { display: block; font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--wd-gold-deep, #a9762f); font-weight: 700; margin-bottom: 0.3rem; }
.qz-drag strong { font-family: var(--wd-serif); font-weight: 400; font-size: 1.15rem; color: var(--wd-ink); display: block; }
.qz-drag p { font-size: 0.9rem; color: var(--wd-body); margin: 0.3rem 0 0; line-height: 1.55; }
.qz-facts { display: grid; grid-template-columns: 1fr auto; gap: 0.35rem 1rem; margin: 0; font-size: 0.9rem; border-top: 1px solid var(--wd-rule); padding-top: 0.8rem; }
.qz-facts dt { color: var(--wd-body); } .qz-facts dd { margin: 0; color: var(--wd-ink); font-weight: 600; text-align: right; }
.qz-facts__note { font-size: 0.68rem; color: var(--wd-muted); line-height: 1.5; margin: 0; }
.qz-next ol { margin: 0.4rem 0 0; padding-left: 1.2rem; font-size: 0.92rem; color: var(--wd-body); line-height: 1.55; }
.qz-next li + li { margin-top: 0.35rem; }
.qz-cta { border-top: 1px solid var(--wd-rule); padding-top: 1rem; }
.qz-cta__offer { font-family: var(--wd-serif); font-size: 1.15rem; line-height: 1.35; color: var(--wd-ink); margin: 0 0 0.8rem; }
.qz-send { border-top: 1px solid var(--wd-rule); padding-top: 1rem; }
.qz-send__lead { font-size: 0.85rem; color: var(--wd-body); margin: 0 0 0.6rem; }

/* Body sections */
.qz-body p { color: #3d3a36; font-size: 1.05rem; }
.qz-body .moves { display: flex; flex-direction: column; gap: 2.25rem; margin-top: 2.5rem; }
.qz-body .move h3 { margin: 0 0 0.6rem; }
.qz-body .move p { margin: 0; }
.qz-strip { background: #faf7f2; border-top: 1px solid var(--wd-rule); border-bottom: 1px solid var(--wd-rule); }
.qz-strip .wd-wrap { padding: 1.7rem var(--wd-gutter); text-align: center; }
.qz-strip blockquote { font-family: var(--wd-serif); font-size: clamp(1.3rem, 1rem + 1.4vw, 1.9rem); color: var(--wd-ink); margin: 0.5rem auto 0; max-width: 46ch; line-height: 1.25; }
.qz-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin-top: 1.5rem; }
.qz-table th, .qz-table td { text-align: left; padding: 0.8rem 0.6rem; border-bottom: 1px solid var(--wd-rule); vertical-align: top; }
.qz-table th { font-family: var(--wd-sans); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wd-gold-deep, #a9762f); }
.qz-table td:first-child { color: var(--wd-ink); font-weight: 600; width: 22%; }
.qz-faq details { border-top: 1px solid var(--wd-rule); padding: 0.9rem 0; }
.qz-faq details:last-child { border-bottom: 1px solid var(--wd-rule); }
.qz-faq summary { cursor: pointer; font-family: var(--wd-serif); font-size: 1.2rem; color: var(--wd-ink); list-style: none; }
.qz-faq summary::-webkit-details-marker { display: none; }
.qz-faq p { margin: 0.6rem 0 0; font-size: 0.98rem; }
.qz-attrib { font-size: 0.72rem; color: var(--wd-muted); line-height: 1.5; margin-top: 1.2rem; }
.qz-market { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.2rem; margin-top: 1.5rem; }
.qz-market div { border-top: 2px solid var(--wd-gold); padding-top: 0.7rem; }
.qz-market b { display: block; font-family: var(--wd-serif); font-weight: 400; font-size: 1.7rem; color: var(--wd-ink); line-height: 1; }
.qz-market span { display: block; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--wd-body); margin-top: 0.4rem; }
.qz-dark { background: var(--wd-navy); color: #fff; border-top: 3px solid var(--wd-gold); }
.qz-dark .wd-wrap { padding: clamp(2.5rem, 5vw, 4.5rem) var(--wd-gutter); }
.qz-dark h2 { color: #fff; margin-top: 0.8rem; max-width: 26ch; }
.qz-dark__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; margin-top: 2.5rem; }
.qz-dark__grid > div { border-top: 1px solid rgba(255,255,255,0.16); padding-top: 1.2rem; }
.qz-dark__grid h3 { color: var(--wd-gold); font-family: var(--wd-sans); font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; }
.qz-dark__grid p { color: rgba(255,255,255,0.92); font-weight: 500; font-size: 0.97rem; }

@media (max-width: 880px) {
  .qz-hero__inner { grid-template-columns: 1fr; gap: 1.6rem; padding-top: 3rem; }
  .qz-hero h1 { font-size: clamp(1.9rem, 7.5vw, 2.5rem); }
  .qz-ticks { display: none; }
}
@media (max-width: 600px) {
  .nav__right { display: none; }
  .qz-table td:first-child { width: auto; }
}

.qz-cta__sms { margin-left: .6rem; background: transparent; color: var(--wd-ink, #191919); border: 1px solid var(--wd-rule); }
