/* ============================================================
   Be Audaciously You - shared discover-page brand shell
   Used by Style in 3 Words, Lifestyle Audit, and the Style Quiz.
   Linked relatively from each quiz at /discover/<slug>/index.html
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #b5a281;
  --gold-light: #e7c45a;
  --charcoal: #201e1d;
  --charcoal-light: #2e2b29;
  --hot-pink: #ef1284;
  --pink-deep: #c20d6b;
  --pink-soft-fill: rgba(239, 18, 132, 0.10);
  --pink-line: rgba(239, 18, 132, 0.35);
  --cream: #e7ded9;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--charcoal);
  color: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.dq-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 4rem 1.5rem 6rem;
}

/* Header */
.dq-header { text-align: center; margin-bottom: 3rem; }
.dq-header .logo-mark { width: 84px; height: 84px; display: block; margin: 0 auto 1.5rem; }
.dq-header .eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--hot-pink);
  font-size: 1rem;
  letter-spacing: 0.05em;
}
.dq-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 2.8rem);
  color: var(--gold);
  font-weight: 400;
  line-height: 1.15;
  margin: 0.5rem 0 1.25rem;
}
.dq-header .gold-rule {
  width: 80px;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem auto;
  opacity: 0.5;
}
.dq-header p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  line-height: 1.85;
  color: rgba(245, 240, 232, 0.78);
  max-width: 640px;
  margin: 0 auto;
}

/* Step indicator */
.dq-steps {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.4);
}
.dq-steps .step { padding-bottom: 0.5rem; border-bottom: 1px solid transparent; transition: all 0.25s ease; }
.dq-steps .step.is-active { color: var(--hot-pink); border-color: var(--hot-pink); }
.dq-steps .step.is-done { color: var(--gold); border-color: rgba(181, 162, 129, 0.4); }

/* Section block */
.dq-section {
  margin-bottom: 3rem;
}
.dq-section-head { margin-bottom: 1.5rem; text-align: center; }
.dq-section-head .tag {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  color: var(--hot-pink);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.dq-section-head h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.85rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}
.dq-section-head p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: rgba(245, 240, 232, 0.65);
  max-width: 540px;
  margin: 0 auto;
}

/* Word chip grid (Style in 3 Words) */
.dq-chips {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.5rem;
  margin: 1.5rem 0;
}
.dq-chip {
  padding: 0.65rem 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 169, 110, 0.2);
  color: var(--cream);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 400;
}
.dq-chip:hover {
  border-color: var(--pink-line);
  background: var(--pink-soft-fill);
}
.dq-chip.is-selected {
  background: var(--hot-pink);
  border-color: var(--hot-pink);
  color: #fff;
}

/* Question (Lifestyle Audit / generic) */
.dq-q {
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(201, 169, 110, 0.1);
}
.dq-q:last-child { border-bottom: none; }
.dq-q label.q {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--cream);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}
.dq-input, .dq-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 169, 110, 0.18);
  color: var(--cream);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.25s ease;
}
.dq-input:focus, .dq-textarea:focus { border-color: var(--hot-pink); }
.dq-textarea { min-height: 90px; resize: vertical; line-height: 1.55; }

/* Card-style radio set */
.dq-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
}
.dq-options.cols-3 { grid-template-columns: repeat(3, 1fr); }
.dq-options.cols-4 { grid-template-columns: repeat(4, 1fr); }
.dq-option {
  position: relative;
  display: block;
  cursor: pointer;
  margin: 0;
}
.dq-option input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.dq-option .opt-label {
  display: block;
  text-align: center;
  padding: 0.75rem 0.65rem;
  border: 1px solid rgba(201, 169, 110, 0.2);
  background: rgba(255, 255, 255, 0.025);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: var(--cream);
  transition: all 0.2s ease;
  line-height: 1.35;
}
.dq-option:hover .opt-label {
  border-color: var(--pink-line);
  background: var(--pink-soft-fill);
}
.dq-option input:checked ~ .opt-label {
  background: var(--hot-pink);
  border-color: var(--hot-pink);
  color: #fff;
}

/* CTA / next button */
.dq-cta-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.dq-btn {
  display: inline-block;
  padding: 1rem 2.2rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  text-align: center;
}
.dq-btn-pink {
  background: var(--hot-pink);
  color: #fff;
}
.dq-btn-pink:hover {
  background: var(--pink-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(239, 18, 132, 0.3);
}
.dq-btn-gold {
  background: var(--gold);
  color: var(--charcoal);
}
.dq-btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}
.dq-btn-ghost {
  background: transparent;
  border: 1px solid rgba(201, 169, 110, 0.4);
  color: var(--gold);
}
.dq-btn-ghost:hover {
  border-color: var(--gold);
  background: rgba(181, 162, 129, 0.06);
}

/* Result screen */
.dq-result {
  text-align: center;
  padding: 2.5rem 1rem;
  border: 1px solid rgba(201, 169, 110, 0.2);
  background: rgba(255, 255, 255, 0.02);
  margin: 2rem 0;
}
.dq-result .lead {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--hot-pink);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}
.dq-result h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  color: var(--gold);
  font-weight: 400;
  line-height: 1.15;
  margin: 0.8rem 0 1.25rem;
}
.dq-result .interpretation {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  line-height: 1.8;
  color: rgba(245, 240, 232, 0.78);
  max-width: 580px;
  margin: 0 auto;
}

/* Inline newsletter on result screen */
.dq-newsletter {
  margin: 2.5rem auto 0;
  max-width: 460px;
  padding-top: 2rem;
  border-top: 1px solid rgba(201, 169, 110, 0.15);
}
.dq-newsletter h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.dq-newsletter p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: rgba(245, 240, 232, 0.7);
  margin-bottom: 1rem;
}
.dq-newsletter-row {
  display: flex;
  gap: 0.5rem;
}
.dq-newsletter-row input[type="email"] {
  flex: 1;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 169, 110, 0.2);
  color: var(--cream);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  outline: none;
}
.dq-newsletter-row input[type="email"]:focus { border-color: var(--hot-pink); }
.dq-newsletter-row input::placeholder { color: rgba(245, 240, 232, 0.3); }
.dq-newsletter-status {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--cream);
  min-height: 1.2em;
}
.dq-newsletter-status.error { color: var(--hot-pink); }

/* Hidden / shown sections */
.dq-hide { display: none !important; }

/* Footer */
.dq-foot {
  text-align: center;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(201, 169, 110, 0.12);
}
.dq-foot a {
  color: var(--gold);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.dq-foot a:hover { color: var(--hot-pink); }
.dq-foot p { font-size: 0.7rem; color: rgba(245, 240, 232, 0.3); margin-top: 1rem; }

@media (max-width: 700px) {
  .dq-page { padding: 3rem 1.25rem 5rem; }
  .dq-options, .dq-options.cols-3, .dq-options.cols-4 { grid-template-columns: 1fr; }
  .dq-chips { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
  .dq-newsletter-row { flex-direction: column; }
  .dq-steps { flex-wrap: wrap; gap: 0.5rem 1rem; }
}

@media print, (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
