:root {
  --bg: #111111;
  --bg-soft: #171717;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-strong: rgba(255, 255, 255, 0.06);
  --text: #e0e0e0;
  --text-soft: #c4c1b7;
  --gold: #d4af37;
  --gold-soft: #f0d98b;
  --line: rgba(255, 255, 255, 0.11);
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: "Manrope", sans-serif;
  background: linear-gradient(180deg, #0e0e0e 0%, #111111 46%, #151515 100%);
  color: var(--text);
  min-height: 100dvh;
  overflow-x: hidden;
}

.shell {
  position: relative;
  z-index: 1;
  width: min(1100px, calc(100% - 28px));
  margin: 0 auto;
  padding: 28px 0 48px;
}

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hidden {
  display: none !important;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 22px;
  padding: 22px;
}

.hero-copy,
.quiz,
.result {
  padding: 26px;
}

.eyebrow,
.cta-eyebrow,
.question-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.32);
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
}

.hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(42px, 7vw, 66px);
  line-height: 0.95;
  margin: 18px 0 14px;
  max-width: 10ch;
}

.result-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  line-height: 1.25;
  margin: 10px 0 8px;
  max-width: 760px;
}

.subtitle {
  margin: 0 0 16px;
  color: var(--gold-soft);
  font-size: 14px;
  letter-spacing: 0.02em;
}

.lead,
.result-copy {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-soft);
  max-width: 60ch;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0;
}

.trust span,
.result-band span {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.05);
  padding: 10px 14px;
  font-size: 13px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.microcopy {
  margin: 0;
  color: #aba79c;
  font-size: 13px;
  line-height: 1.6;
  max-width: 48ch;
}

.hero-media {
  display: flex;
  align-items: stretch;
}

.hero-frame {
  position: relative;
  display: grid;
  align-items: end;
  width: 100%;
  min-height: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(180deg, #1b1b1b, #0c0c0c);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-frame img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: contain;
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.07), rgba(255, 255, 255, 0.02));
  padding: 26px;
}

.hero-panel {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  border-radius: 8px;
  background: rgba(17, 17, 17, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 18px;
}

.hero-panel strong,
.meta-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-soft);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-panel span,
.meta-grid span {
  color: var(--text);
  line-height: 1.6;
}

.btn {
  appearance: none;
  border: 0;
  border-radius: 8px;
  padding: 15px 24px;
  min-height: 52px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.btn.primary {
  background: linear-gradient(180deg, #efd37b, #d4af37);
  color: #171717;
  box-shadow: 0 14px 28px rgba(212, 175, 55, 0.18);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
}

.quiz,
.result {
  margin-top: 18px;
}

.progress-row {
  display: grid;
  gap: 12px;
}

.progress-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.progress-label {
  font-size: 14px;
  font-weight: 800;
}

.progress-meta,
.progress-aux,
.question-support,
.result-copy.secondary {
  color: #bcb7aa;
}

.progress-bar {
  height: 11px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.progress-bar div {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #8d6b10, #d4af37, #f0d98b);
}

.question-shell {
  padding-top: 24px;
}

#questionText {
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  line-height: 1.25;
  margin: 10px 0 10px;
  max-width: 760px;
}

.question-support {
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 20px;
  max-width: 62ch;
}

.answers {
  display: grid;
  gap: 12px;
}

.answer {
  position: relative;
  overflow: hidden;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
  padding: 18px 18px 18px 60px;
  text-align: left;
  color: var(--text);
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.answer:hover {
  transform: translateY(-1px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.answer.active {
  border-color: rgba(212, 175, 55, 0.58);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.16), rgba(212, 175, 55, 0.09));
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.08), 0 14px 30px rgba(0, 0, 0, 0.2);
}

.answer-key {
  position: absolute;
  left: 18px;
  top: 18px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.16);
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 800;
}

.answer strong {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
  line-height: 1.45;
}

.answer span:last-child {
  display: block;
  font-size: 13px;
  line-height: 1.55;
  color: #c0bcaf;
}

.nav-row,
.actions,
.result-band {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.nav-row {
  justify-content: space-between;
  margin-top: 20px;
}

.result-header {
  max-width: 760px;
}

.result-title {
  max-width: 760px;
  margin-bottom: 10px;
}

.result-band {
  margin: 24px 0;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.meta-grid > div {
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.meta-grid .wide {
  grid-column: 1 / -1;
}

.cta-box {
  margin-top: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.12), rgba(212, 175, 55, 0.06));
  border: 1px solid rgba(212, 175, 55, 0.24);
}

.cta-box h4 {
  margin: 6px 0 10px;
  font-size: 28px;
  line-height: 1.05;
  font-family: "Cormorant Garamond", serif;
}

.cta-box p {
  margin: 0;
  color: #ece5cf;
  line-height: 1.7;
  max-width: 58ch;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-frame img {
    min-height: 360px;
  }

  .cta-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100%, calc(100% - 18px));
    padding-top: 8px;
    padding-bottom: 16px;
  }

  .hero-copy,
  .quiz,
  .result {
    padding: 12px;
  }

  .hero {
    gap: 14px;
    padding: 14px;
  }

  .hero h1 {
    font-size: clamp(38px, 12vw, 50px);
    max-width: 100%;
  }

  .result-title {
    font-size: 20px;
    line-height: 1.25;
    max-width: 100%;
  }

  .lead,
  .result-copy {
    font-size: 15px;
  }

  .quiz {
    margin-top: 8px;
  }

  .progress-row {
    gap: 8px;
  }

  .progress-topline {
    align-items: center;
  }

  .progress-label {
    font-size: 13px;
  }

  .progress-meta,
  .progress-aux {
    font-size: 12px;
  }

  .progress-bar {
    height: 8px;
  }

  .question-shell {
    padding-top: 12px;
  }

  .question-kicker {
    padding: 5px 8px;
    font-size: 10px;
  }

  #questionText {
    font-size: 18px;
    line-height: 1.25;
    margin: 7px 0 7px;
    max-width: 100%;
  }

  .question-support {
    font-size: 12px;
    line-height: 1.35;
    margin: 0 0 10px;
  }

  .answers {
    gap: 8px;
  }

  .answer {
    min-height: 68px;
    padding: 11px 10px 10px 48px;
  }

  .answer strong {
    font-size: 14px;
    line-height: 1.28;
    margin-bottom: 3px;
  }

  .answer span:last-child {
    font-size: 12px;
    line-height: 1.3;
  }

  .answer-key {
    left: 11px;
    top: 11px;
    width: 26px;
    height: 26px;
    font-size: 11px;
  }

  .nav-row {
    margin-top: 10px;
    gap: 8px;
  }

  .btn {
    min-height: 46px;
    padding: 12px 14px;
    font-size: 14px;
  }

  .nav-row .btn,
  .actions .btn {
    flex: 1;
  }

  .meta-grid {
    grid-template-columns: 1fr;
  }
}
