/* Homepage quiz. One question per screen, big tap targets, no navigation. */
body.hq {
  margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column;
  background: var(--color-bg, #07223d); color: var(--color-text, #f4ecdc);
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
  -webkit-font-smoothing: antialiased;
}
.hq-top { display: flex; align-items: center; justify-content: space-between; padding: 18px clamp(20px, 4vw, 44px); }
.hq-brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 600; font-size: 1rem; }
.hq-brand img { width: 34px; height: 34px; }
.hq-back { background: none; border: 0; color: inherit; font: 500 .95rem/1 var(--font-body, sans-serif); opacity: .75; cursor: pointer; padding: 10px 4px; }
.hq-back:hover { opacity: 1; }
.hq-progress { height: 3px; background: rgba(244, 236, 220, .1); }
.hq-progress span { display: block; height: 100%; width: 25%; background: #eb4171; transition: width .4s cubic-bezier(.16, 1, .3, 1); }

.hq-main { flex: 1; width: 100%; max-width: 980px; margin: 0 auto; padding: clamp(28px, 6vh, 64px) clamp(20px, 4vw, 44px) 40px; box-sizing: border-box; }
.hq-kicker { margin: 0 0 14px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--color-text-muted, rgba(244, 236, 220, .66)); text-align: center; }
.hq-kicker[hidden] { display: none; }
.hq-step[hidden] { display: none; }
.hq-step.is-active { animation: hq-in .42s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes hq-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hq-step.is-active { animation: none; } .hq-progress span { transition: none; } }

.hq-q {
  margin: 0 0 clamp(22px, 4vh, 36px); text-align: center; outline: none;
  font-family: var(--font-display, 'Fraunces', Georgia, serif); font-weight: 500;
  font-size: clamp(2rem, 1.3rem + 3vw, 3.5rem); line-height: 1.08; letter-spacing: -.015em; color: var(--color-text-strong, #fff);
}
.hq-lede { text-align: center; margin: -14px 0 28px; font-size: 1.125rem; color: var(--color-text-muted, rgba(244, 236, 220, .75)); }
.hq-note, .hq-fine { text-align: center; margin: 22px 0 0; font-size: .875rem; color: var(--color-text-faint, rgba(244, 236, 220, .5)); }

.hq-options { display: grid; gap: 14px; max-width: 620px; margin: 0 auto; }
.hq-options--grid { grid-template-columns: 1fr 1fr; }
.hq-options--photo { grid-template-columns: 1fr 1fr; max-width: 900px; gap: 18px; }
@media (max-width: 640px) { .hq-options--photo { grid-template-columns: 1fr; gap: 12px; } }

.hq-opt {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px;
  width: 100%; min-height: 72px; padding: 18px 22px; box-sizing: border-box; text-align: left;
  background: rgba(255, 255, 255, .04); color: inherit; cursor: pointer;
  border: 1.5px solid rgba(244, 236, 220, .16); border-radius: 16px;
  font: inherit; transition: border-color .16s ease, background .16s ease, transform .16s ease;
}
.hq-opt:hover { border-color: rgba(244, 236, 220, .5); background: rgba(255, 255, 255, .07); transform: translateY(-1px); }
.hq-opt:focus-visible { outline: 3px solid #eb4171; outline-offset: 2px; }
.hq-opt.is-picked { border-color: #eb4171; background: rgba(235, 65, 113, .14); }
.hq-opt__label { font-size: 1.125rem; font-weight: 600; line-height: 1.3; color: var(--color-text-strong, #fff); }
.hq-opt__sub { font-size: .9rem; line-height: 1.4; color: var(--color-text-muted, rgba(244, 236, 220, .66)); }

.hq-opt--photo { padding: 0; overflow: hidden; min-height: 0; justify-content: flex-start; }
.hq-opt--photo img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
.hq-opt--photo:hover img { transform: scale(1.03); }
.hq-opt--photo .hq-opt__label { padding: 18px 20px 20px; font-size: 1.25rem; }
@media (max-width: 640px) {
  .hq-opt--photo { flex-direction: row; align-items: center; }
  .hq-opt--photo img { width: 38%; aspect-ratio: 1 / 1; flex: none; }
  .hq-opt--photo .hq-opt__label { font-size: 1.1rem; padding: 14px 16px; }
}

.hq-phone { display: flex; flex-wrap: wrap; gap: 12px; max-width: 520px; margin: 0 auto; }
.hq-phone input {
  flex: 1 1 240px; min-height: 60px; padding: 0 20px; box-sizing: border-box;
  border-radius: 999px; border: 1.5px solid rgba(244, 236, 220, .3); background: rgba(255, 255, 255, .06);
  color: var(--color-text-strong, #fff); font: 500 1.25rem/1 var(--font-body, sans-serif); letter-spacing: .02em;
}
.hq-phone input::placeholder { color: rgba(244, 236, 220, .35); }
.hq-phone input:focus { outline: none; border-color: #eb4171; }
.hq-submit {
  flex: 0 0 auto; min-height: 60px; padding: 0 34px; border: 0; border-radius: 999px; cursor: pointer;
  background: #eb4171; color: #fff; font: 600 1.125rem/1 var(--font-body, sans-serif);
  box-shadow: 0 10px 30px rgba(235, 65, 113, .35); transition: background .16s ease;
}
.hq-submit:hover { background: #ff5a87; }
@media (max-width: 520px) { .hq-submit { flex: 1 1 100%; } }
.hq-error { flex-basis: 100%; margin: 0; text-align: center; color: #ff8aa8; font-size: .9rem; }
.hq-error[hidden] { display: none; }
.hq-skip { display: block; margin: 20px auto 0; background: none; border: 0; color: var(--color-text-muted, rgba(244, 236, 220, .66)); font: 500 .95rem/1 var(--font-body, sans-serif); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; padding: 8px; }
.hq-skip:hover { color: var(--color-text, #f4ecdc); }
.hq-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.hq-foot { padding: 24px clamp(20px, 4vw, 44px) 30px; text-align: center; font-size: .8125rem; color: var(--color-text-faint, rgba(244, 236, 220, .45)); }
.hq-foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; margin-bottom: 10px; }
.hq-foot a { color: inherit; text-decoration: none; }
.hq-foot a:hover { color: var(--color-text, #f4ecdc); }
.hq-foot p { margin: 0; }
