/*
   QA Coverage Plan funnel (v3) — /coverage/ and /coverage/plan/.
   "Work Order: QA Coverage Plan Funnel (v3)", Nov 9 2026 (AIO-81).

   A thin `qa3-` layer over qa-offer.css, which these pages load first: the
   type ramp (.qa-h2, .qa-lead, .qa-micro), the inputs, the buttons (ds.css),
   the bands and the colour variables are v2's, so the funnel matches v2 by
   construction. What is here is only what v2 has no shape for: the flow's
   shell (progress bar, back arrow, summary strip), the answer rows, the
   chips, the plan reveal, and the landing page's narrower close.

   Mobile first at 390px. Desktop is the same single column, 640px wide,
   centred. Hover styles sit behind (hover: hover) so an iOS tap never needs
   a second tap to "leave" a hover state.
*/

/* ------------------------------------------------------------- the shell */

.qa3 { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.qa3-col { width: 100%; max-width: 640px; margin-inline: auto; padding-inline: 20px; box-sizing: border-box; }

.qa3-top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(0 0 0 / 0.92);
  backdrop-filter: blur(12px);
}
.qa3-top__row { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; height: 56px; }
.qa3-top__logo { justify-self: center; display: block; }
.qa3-top__logo img { display: block; width: 90px; height: 32px; }
.qa3-back {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: -10px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--color-neutral-white);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.qa3-back[hidden] { display: grid; visibility: hidden; }
.qa3-back svg { width: 22px; height: 22px; }
.qa3-progress { height: 4px; background: var(--color-white-alpha-10); }
.qa3-progress span { display: block; height: 100%; width: 8%; background: var(--color-brand-red); transition: width 0.25s ease; }
.qa3-pct {
  margin: 10px 0 0;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
}
.qa3-strip {
  margin: 8px 0 0;
  padding: 8px 12px;
  border: 1px solid var(--color-white-alpha-10);
  border-radius: var(--r-sm);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--color-text-primary);
}
.qa3-strip[hidden] { display: none; }

.qa3-main { flex: 1; padding: 28px 0 56px; }
.qa3-screen[hidden] { display: none; }
.qa3-screen:focus { outline: none; }

.qa3 .ds-eyebrow { margin-bottom: 12px; }
.qa3 .qa-h2 { font-size: clamp(1.75rem, 6.4vw, 2.375rem); }
.qa3-sub { margin: 0 0 24px; font-family: var(--font-sans); font-size: 1.0625rem; line-height: 1.5; color: var(--color-text-secondary); }
.qa3-body { margin: 0 0 16px; font-family: var(--font-sans); font-size: 1.125rem; line-height: 1.55; color: var(--color-text-primary); }
.qa3-body--dim { color: var(--color-text-secondary); }
.qa3-note { margin: 12px 0 0; font-family: var(--font-sans); font-size: 0.875rem; line-height: 1.5; color: var(--color-text-tertiary); }
.qa3-error { margin: 10px 0 0; font-family: var(--font-sans); font-size: 0.9375rem; color: var(--color-brand-red-on-glow); }
.qa3-error[hidden] { display: none; }

/* ------------------------------------------------------------- answers */

.qa3-options { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.qa3-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 14px 18px;
  box-sizing: border-box;
  border: 1px solid var(--color-white-alpha-10);
  border-radius: var(--r-sm);
  background: rgb(255 255 255 / 0.04);
  color: var(--color-neutral-white);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.qa3-opt[aria-pressed="true"],
.qa3-opt[aria-checked="true"] { border-color: var(--color-brand-red); background: rgb(255 50 46 / 0.12); }
.qa3-opt:active { background: rgb(255 255 255 / 0.1); }
@media (hover: hover) { .qa3-opt:hover { border-color: var(--color-white-alpha-60); } }
/* The multi-select's box. */
.qa3-box {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--color-white-alpha-60);
  border-radius: 5px;
}
.qa3-opt[aria-checked="true"] .qa3-box { border-color: var(--color-brand-red); background: var(--color-brand-red); }
.qa3-opt[aria-checked="true"] .qa3-box::after { content: ""; width: 10px; height: 6px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }

.qa3-field { margin-bottom: 16px; }
.qa3-field .qa-label { font-weight: 500; }
.qa3-field .qa-label small { font-weight: 400; color: var(--color-text-tertiary); }
.qa3 .qa-input { font-size: 1.0625rem; min-height: 52px; } /* ≥16px: no iOS zoom on focus */
.qa3-continue { width: 100%; margin-top: 20px; justify-content: center; }
.qa3-continue[disabled], .qa3-continue[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }
.qa3-consent { margin: 10px 0 0; font-family: var(--font-sans); font-size: 0.875rem; color: var(--color-text-secondary); }

/* ------------------------------------------------------------- interstitials */

.qa3-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 20px; padding: 0; list-style: none; }
.qa3-chips li {
  padding: 7px 14px;
  border: 1px solid var(--color-white-alpha-10);
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--color-neutral-white);
  background: rgb(255 255 255 / 0.06);
}
.qa3-wait { display: flex; align-items: center; gap: 10px; font-family: var(--font-sans); color: var(--color-text-secondary); }
.qa3-wait[hidden] { display: none; }
.qa3-wait::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid var(--color-white-alpha-10);
  border-top-color: var(--color-brand-red);
  border-radius: 50%;
  animation: qa3-spin 0.8s linear infinite;
}
@keyframes qa3-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .qa3-wait::before { animation: none; } .qa3-progress span { transition: none; } }

.qa3-cost { margin: 0 0 8px; }
.qa3-cost p { margin: 0 0 14px; font-family: var(--font-sans); font-size: 1.1875rem; line-height: 1.5; color: var(--color-text-primary); }
.qa3-cost p.is-big { font-family: var(--font-display); font-size: 1.625rem; line-height: 1.25; color: var(--color-neutral-white); }
.qa3-cost strong { color: var(--color-brand-red-on-glow); font-weight: 600; }

/* ------------------------------------------------------------- plan reveal */

.qa3-plan {
  margin: 0 0 20px;
  padding: 22px 20px;
  border: 1px solid var(--color-white-alpha-10);
  border-top: 3px solid var(--color-brand-red);
  border-radius: var(--r-sm);
  background: rgb(255 255 255 / 0.04);
}
.qa3-plan .qa-h2 { margin-bottom: 14px; }
.qa3-plan__suggested { margin: -4px 0 14px; font-family: var(--font-sans); font-size: 0.9375rem; color: var(--color-text-secondary); }
.qa3-check { margin: 18px 0 0; }
.qa3-check ul { margin: 0; padding: 0; list-style: none; }
.qa3-check li { display: flex; gap: 10px; padding: 6px 0; font-family: var(--font-sans); font-size: 1rem; color: var(--color-text-primary); }
.qa3-check li .icon { color: var(--color-brand-red); flex-shrink: 0; }
.qa3-others { margin: 0 0 16px; border-top: 1px solid var(--color-white-alpha-10); border-bottom: 1px solid var(--color-white-alpha-10); }
.qa3-others summary {
  padding: 14px 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-neutral-white);
  cursor: pointer;
  list-style: none;
}
.qa3-others summary::-webkit-details-marker { display: none; }
.qa3-others summary::after { content: "+"; float: right; color: var(--color-text-secondary); }
.qa3-others[open] summary::after { content: "–"; }
.qa3-others ul { margin: 0 0 14px; padding: 0; list-style: none; }
.qa3-others li { padding: 4px 0; font-family: var(--font-sans); font-size: 0.9375rem; color: var(--color-text-secondary); }
.qa3-terms { margin: 0 0 8px; font-family: var(--font-sans); font-size: 0.9375rem; line-height: 1.5; color: var(--color-text-secondary); }
.qa3-season {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-left: 3px solid var(--color-brand-red);
  background: rgb(255 255 255 / 0.04);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--color-text-primary);
}
.qa3-season[hidden] { display: none; }

/* ------------------------------------------------------------- close */

/* Calendly's iframe is height="100%", so the box needs a real height (a
   min-height alone collapses it). The loading line sits behind the iframe
   until Calendly paints over it; Calendly's own spinner needs its CSS,
   which we don't load, so it is hidden. */
.qa3-cal { position: relative; height: 1000px; margin: 8px -20px 16px; background: var(--color-neutral-offwhite); border-radius: var(--r-sm); overflow: hidden; }
.qa3-cal::before { content: "Loading the calendar…"; position: absolute; inset: 0 auto auto 0; padding: 24px; font-family: var(--font-sans); color: var(--ink-soft); }
.qa3-cal iframe { position: relative; display: block; width: 100%; height: 100%; border: 0; }
.qa3-cal .calendly-spinner { display: none; }
.qa3-cal:has(> a)::before { content: none; }
.qa3-cal:has(> a) { height: auto; padding: 24px; }
@media (min-width: 640px) { .qa3-cal { height: 720px; } }
@media (min-width: 640px) { .qa3-cal { margin-inline: 0; } }
.qa3-textlink {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-neutral-white);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--color-white-alpha-60);
  cursor: pointer;
}
.qa3-done { margin: 12px 0 0; font-family: var(--font-sans); font-size: 1rem; color: var(--color-neutral-white); }
.qa3-done[hidden] { display: none; }

.qa3-foot { padding: 24px 0 32px; border-top: 1px solid var(--color-white-alpha-10); font-family: var(--font-sans); font-size: 0.8125rem; color: var(--color-text-footer); }
.qa3-foot p { margin: 0 0 6px; }
.qa3-foot a { color: inherit; }

/* ------------------------------------------------------------- landing (/coverage/) */

.qa3-land .qa-hero__grid { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.qa3-land .qa-hero { padding-bottom: 56px; }
/* The hero recording sits under the copy in the single column (v2 stacks
   it the same way under 992px). */
.qa3-land .qa3-hero-video { max-width: 640px; }
.qa3-land .qa3-hero-video .qa-media--video { border-radius: var(--r-sm); }

/* Screen 7: the report walkthrough under the cost lines. */
.qa3-video { margin: 24px 0 8px; }
.qa3-video__cap { margin: 0 0 10px; font-family: var(--font-sans); font-size: 1rem; font-weight: 600; color: var(--color-neutral-white); }
.qa3-video .qa-media--video { display: block; width: 100%; border-radius: var(--r-sm); }
.qa3-price-line { margin: 14px 0 0; font-family: var(--font-sans); font-size: 0.9375rem; color: var(--color-text-secondary); }
.qa3-land .qa-actions { margin-top: 28px; }
.qa3-land .qa-self__out { display: block; padding: 24px; }
.qa3-land .qa-self__out[hidden] { display: none; }
.qa3-land .qa-caught__card { grid-column: auto; }
.qa3-land .qa3-proof .qa-caught { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 991px) { .qa3-land .qa3-proof .qa-caught { grid-template-columns: minmax(0, 1fr); } }
.qa3-land .qa3-after { margin-top: 32px; }
.qa3-close .qa-h2 { max-width: 760px; }
.qa3-close .qa-lead { max-width: 640px; }
.qa3-close__more { margin: 18px 0 0; font-family: var(--font-sans); font-size: 1rem; color: var(--color-text-secondary); }
.qa3-close__more a { color: var(--color-neutral-white); text-decoration: underline; text-underline-offset: 3px; }
.qa3-land .qa-bar__main .ds-btn { flex: 1; justify-content: center; }
.qa3-land .qa-bar__meta { justify-content: center; }

/* Landing order (Nov 10): proof under the hero, then the quick check, the
   seasonal holiday band, the close, and the logos at the foot of the close. */
.qa3-holiday__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 32px 0 0; padding: 0; list-style: none; }
.qa3-holiday__facts li { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: var(--radius-card); background: var(--color-neutral-white); border: 1px solid var(--color-black-alpha-10); }
.qa3-holiday__facts strong { font-family: var(--font-display); font-size: clamp(1.75rem, 2.6vw, 2.25rem); font-weight: 500; line-height: 1.1; letter-spacing: 0.02em; color: var(--color-brand-red-fill); }
.qa3-holiday__facts span { font-family: var(--font-sans); font-size: 1.0625rem; line-height: 1.4; color: var(--color-neutral-850); }
.qa3-holiday[hidden] { display: none; }
@media (max-width: 767px) {
  .qa3-holiday__facts { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .qa3-holiday__facts li { padding: 18px 20px; }
}
.qa3-land .qa3-logos { margin-top: 72px; }
@media (max-width: 991px) { .qa3-land .qa3-logos { margin-top: 56px; } }

/* Logos under the hero video (Nov 13): the hero's single 760px column,
   label stacked over the row so it lines up with the copy and the video. */
.qa3-land .qa3-logos--hero { max-width: 760px; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 48px; padding-top: 32px; }
.qa3-land .qa3-logos--hero .qa-logos__label { max-width: none; }
@media (max-width: 991px) { .qa3-land .qa3-logos--hero { margin-top: 40px; } }

/* Logos under every flow step (Nov 13): one compact row of four, so it
   never pushes a step's Continue button far down on a phone. */
.qa3 .qa3-logos--flow { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 40px; padding-top: 24px; }
.qa3 .qa3-logos--flow .qa-logos__label { max-width: none; font-size: 0.9375rem; }
.qa3 .qa3-logos--flow .qa-logos__row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.qa3 .qa3-logos--flow .qa-logos__row li { height: 72px; padding: 0 6px; }
.qa3 .qa3-logos--flow .qa-logos__row img { height: 60px; }
@media (max-width: 767px) {
  .qa3 .qa3-logos--flow { margin-top: 32px; }
  .qa3 .qa3-logos--flow .qa-logos__row li { height: 56px; padding: 0 4px; }
  .qa3 .qa3-logos--flow .qa-logos__row img { height: 46px; }
}
