:root {
  color-scheme: dark;
  --bg: #0d0b08;
  --bg-soft: #15120e;
  --card: #17130f;
  --card-2: #1f1a13;
  --text: #f4ede0;
  --muted: #9c9283;
  --faint: rgba(244, 237, 224, 0.08);
  --line: rgba(244, 237, 224, 0.12);
  --gold: #c9a84c;
  --gold-2: #efd88c;
  --green: #45c78f;
  --blue: #61b5e7;
  --pink: #e97ba4;
  --orange: #f2a05d;
  --whatsapp: #25d366;
  --radius: 8px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
.display {
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: 0;
}

.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dq-shell {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(13, 11, 8, 0.3), var(--bg) 720px),
    radial-gradient(circle at 50% 0, rgba(201, 168, 76, 0.11), transparent 42%);
}

.dq-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px clamp(16px, 4vw, 48px);
  border-bottom: 1px solid rgba(244, 237, 224, 0.08);
  background: rgba(13, 11, 8, 0.88);
  backdrop-filter: blur(18px);
}

.dq-brand-lockup,
.dq-parent-brand,
.dq-sub-brand {
  display: inline-flex;
  align-items: center;
}

.dq-brand-lockup {
  gap: 12px;
  min-width: 0;
}

.dq-parent-brand {
  gap: 10px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
  font-weight: 700;
}

.dq-parent-brand img {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(239, 216, 140, 0.32);
  background: rgba(239, 216, 140, 0.08);
}

.dq-sub-brand {
  position: relative;
  gap: 8px;
  color: rgba(239, 216, 140, 0.82);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 19px;
  font-weight: 700;
  white-space: nowrap;
}

.dq-sub-brand::before {
  content: "";
  width: 1px;
  height: 22px;
  background: rgba(239, 216, 140, 0.28);
}

.dq-links,
.dq-actions,
.hero-actions,
.meta-row,
.button-row,
.chip-row,
.score-row {
  display: flex;
  align-items: center;
}

.dq-links {
  gap: 4px;
}

.dq-links a,
.dq-links button {
  padding: 9px 12px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.dq-links a:hover,
.dq-links button:hover {
  color: var(--text);
  background: rgba(244, 237, 224, 0.06);
}

.dq-main {
  min-height: calc(100vh - 72px);
}

.hero {
  position: relative;
  min-height: calc(100vh - 64px);
  display: grid;
  place-items: center;
  padding: 72px clamp(16px, 4vw, 48px);
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 11, 8, 0.5), rgba(13, 11, 8, 0.88)),
    linear-gradient(90deg, rgba(13, 11, 8, 0.88), rgba(13, 11, 8, 0.42), rgba(13, 11, 8, 0.88)),
    url("/assets/findmyquest-hero.png") center / cover;
  transform: scale(1.02);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
}

.eyebrow {
  margin-bottom: 16px;
  color: rgba(239, 216, 140, 0.82);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  margin: 0 auto;
  font-size: clamp(50px, 8vw, 94px);
  font-weight: 700;
  line-height: 0.94;
}

.hero-copy {
  max-width: 600px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.65;
}

.hero-actions {
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.microcopy {
  margin-top: 12px;
  color: rgba(156, 146, 131, 0.72);
  font-size: 12px;
}

.quick-grid,
.answer-grid,
.results-grid,
.proof-grid,
.steps-grid,
.saved-grid,
.route-grid {
  display: grid;
  gap: 14px;
}

.quick-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(920px, 100%);
  margin: 34px auto 0;
}

.quick-card,
.answer-card,
.plan-card,
.detail-panel,
.route-stop,
.saved-card,
.proof-card,
.step-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(23, 19, 15, 0.82);
  box-shadow: var(--shadow);
}

.quick-card,
.answer-card {
  min-width: 0;
  padding: 16px;
  color: var(--text);
  text-align: left;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.quick-card {
  border-color: var(--quick-line, var(--line));
  background: linear-gradient(180deg, var(--quick-bg, rgba(23, 19, 15, 0.84)), rgba(23, 19, 15, 0.78));
}

.quick-card:hover,
.answer-card:hover,
.plan-card:hover {
  transform: translateY(-2px);
  border-color: rgba(239, 216, 140, 0.34);
}

.quick-card span,
.answer-card span.emoji {
  display: block;
  margin-bottom: 8px;
  font-size: 24px;
}

.quick-card strong,
.answer-card strong {
  display: block;
  font-size: 14px;
}

.quick-card small,
.answer-card small,
.hint {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
}

.button.primary {
  color: #17130f;
  background: var(--gold);
  box-shadow: 0 0 36px rgba(201, 168, 76, 0.2);
}

.button.ghost {
  color: var(--text);
  border-color: var(--line);
  background: rgba(244, 237, 224, 0.04);
}

.button.whatsapp {
  color: var(--whatsapp);
  border-color: rgba(37, 211, 102, 0.22);
  background: rgba(37, 211, 102, 0.09);
}

.button.slim {
  min-height: 38px;
  padding: 9px 13px;
  font-size: 13px;
}

.section {
  padding: clamp(56px, 8vw, 96px) clamp(16px, 4vw, 48px);
}

.section-inner {
  width: min(1080px, 100%);
  margin: 0 auto;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 700;
  line-height: 0.98;
}

.section-heading p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.proof-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.proof-card,
.step-card {
  padding: 22px;
}

.proof-card .icon {
  margin-bottom: 14px;
  color: var(--gold);
}

.proof-card h3,
.step-card h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.proof-card p,
.step-card p {
  color: var(--muted);
  line-height: 1.55;
}

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-num {
  display: block;
  margin-bottom: 16px;
  color: rgba(201, 168, 76, 0.26);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
}

.page {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(38px, 7vw, 78px) 0;
}

.page.narrow {
  width: min(720px, calc(100% - 32px));
}

.top-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 14px;
  font-weight: 700;
}

.top-button:hover {
  color: var(--text);
}

.progress {
  display: flex;
  gap: 5px;
  margin-bottom: 12px;
}

.progress span {
  height: 3px;
  flex: 1;
  border-radius: 999px;
  background: rgba(244, 237, 224, 0.1);
}

.progress span.done {
  background: var(--gold);
}

.question-count {
  color: var(--muted);
  font-size: 12px;
}

.question-title {
  margin: 18px 0 28px;
  font-size: clamp(34px, 6vw, 50px);
  font-weight: 700;
  line-height: 1;
}

.answer-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.answer-card.active {
  border-color: rgba(239, 216, 140, 0.62);
  background: rgba(201, 168, 76, 0.09);
}

.detect-card,
.notice-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid rgba(201, 168, 76, 0.22);
  border-radius: var(--radius);
  background: rgba(201, 168, 76, 0.06);
}

.detect-card p,
.notice-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
}

.loading {
  display: grid;
  place-items: center;
  min-height: 52vh;
  text-align: center;
}

.spinner {
  position: relative;
  width: 58px;
  height: 58px;
  margin: 0 auto 22px;
  border: 2px solid rgba(201, 168, 76, 0.18);
  border-top-color: var(--gold);
  border-radius: 999px;
  animation: spin 0.9s linear infinite;
}

.spinner::after {
  content: "";
  position: absolute;
  inset: 25px;
  border-radius: 999px;
  background: var(--gold);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

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

.plan-card {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  text-align: left;
}

.role-pill,
.tag,
.status-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.role-pill {
  padding: 7px 9px;
  color: #17130f;
  background: var(--gold);
}

.plan-card h3 {
  margin-top: 10px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 30px;
  line-height: 1;
}

.plan-card p,
.detail-panel p,
.saved-card p,
.route-stop p {
  color: var(--muted);
  line-height: 1.55;
}

.fit-note {
  margin-top: 10px;
  padding: 10px 12px;
  border-left: 2px solid rgba(201, 168, 76, 0.55);
  color: rgba(244, 237, 224, 0.86) !important;
  background: rgba(201, 168, 76, 0.06);
}

.meta-row {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tag {
  padding: 6px 8px;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(244, 237, 224, 0.03);
}

.score-row {
  justify-content: end;
  gap: 9px;
}

.score {
  min-width: 74px;
  padding: 9px;
  border-radius: var(--radius);
  background: rgba(244, 237, 224, 0.04);
  text-align: center;
}

.score strong {
  display: block;
  color: var(--gold-2);
  font-size: 19px;
}

.score span {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.refine {
  margin-top: 30px;
  text-align: center;
}

.chip-row {
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.chip-row button,
.chip-row a {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--card);
  font-size: 13px;
  font-weight: 700;
}

.chip-row button:hover,
.chip-row a:hover {
  color: var(--text);
  border-color: rgba(239, 216, 140, 0.34);
}

.detail-hero {
  margin-bottom: 28px;
}

.detail-hero h1 {
  margin: 10px 0;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 0.95;
}

.detail-hero .lead {
  color: var(--muted);
  font-size: 18px;
  font-style: italic;
}

.detail-panel {
  margin-bottom: 16px;
  padding: 20px;
}

.detail-panel.gold {
  border-color: rgba(201, 168, 76, 0.22);
  background: rgba(201, 168, 76, 0.06);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.comfort-grid,
.conversation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.comfort-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-stat {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(244, 237, 224, 0.03);
}

.detail-stat span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.detail-stat strong {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-size: 16px;
}

.awkwardness-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.awkwardness-row strong {
  display: grid;
  place-items: center;
  min-height: 58px;
  border-radius: var(--radius);
  color: #17130f;
  background: var(--gold);
  font-size: 18px;
}

.plain-list {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.plain-list li {
  padding: 10px 12px;
  border-radius: var(--radius);
  color: rgba(244, 237, 224, 0.86);
  background: rgba(244, 237, 224, 0.04);
  line-height: 1.45;
}

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

.stop-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
}

.stop-number {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(201, 168, 76, 0.32);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
  font-weight: 900;
}

.stop-body {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(244, 237, 224, 0.03);
}

.stop-body h3 {
  margin: 3px 0 8px;
  font-size: 20px;
}

.mini-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}

.mini-meta span {
  padding: 5px 7px;
  border-radius: 999px;
  background: rgba(244, 237, 224, 0.05);
}

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

.callout {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(244, 237, 224, 0.03);
}

.callout strong {
  display: block;
  margin-bottom: 6px;
}

.whatsapp-box {
  border-color: rgba(37, 211, 102, 0.2);
  background: rgba(37, 211, 102, 0.06);
}

.whatsapp-box strong {
  color: var(--whatsapp);
}

.button-row {
  flex-wrap: wrap;
  gap: 10px;
}

.saved-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.saved-card {
  padding: 18px;
}

.saved-card h3 {
  margin: 7px 0;
  font-size: 24px;
  line-height: 1.05;
}

.empty-state {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  text-align: center;
}

.route-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.route-stop {
  padding: 18px;
}

.route-stop .order {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  border-radius: 999px;
  color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
  font-size: 13px;
  font-weight: 900;
}

.transition {
  margin: 12px 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(244, 237, 224, 0.03);
  font-size: 12px;
}

.footer {
  padding: 28px clamp(16px, 4vw, 48px);
  border-top: 1px solid rgba(244, 237, 224, 0.08);
  color: var(--muted);
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 920px) {
  .dq-links {
    display: none;
  }

  .quick-grid,
  .proof-grid,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plan-card {
    grid-template-columns: 1fr;
  }

  .score-row {
    justify-content: start;
  }

  .route-grid,
  .detail-grid,
  .comfort-grid,
  .conversation-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .dq-nav {
    padding: 14px 16px;
  }

  .dq-parent-brand {
    font-size: 21px;
  }

  .dq-sub-brand {
    font-size: 17px;
  }

  .hero {
    padding: 44px 16px 64px;
  }

  .hero h1 {
    font-size: 52px;
  }

  .quick-grid,
  .answer-grid,
  .proof-grid,
  .steps-grid,
  .saved-grid,
  .callout-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions .button,
  .button-row .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
