/* Rebuilt Quiz v3. Look carried over from the old quiz page:
   design tokens, header, start screen, progress bar, question screen,
   nav buttons, contact form, results layout, footer. One brand palette. */

:root {
  --gold: #D4AF37;
  --gold-dim: rgba(212,175,55,0.15);
  --gold-mid: rgba(212,175,55,0.4);
  --black: #0A0A0A;
  --gray: #333333;
  --gray-light: #A3A3A3;
  --text: rgba(255,255,255,0.92);
  --text-soft: rgba(255,255,255,0.72);
  --white: #FFFFFF;
  --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-mono: 'DM Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.container {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* HEADER */
header {
  padding: 40px 0 32px;
  border-bottom: 1px solid rgba(212,175,55,0.2);
}

.logo { display: inline-flex; align-items: center; }
.brand-logo { height: 38px; width: auto; display: block; }

/* START SCREEN */
#intro { padding: 64px 0 48px; animation: fadeUp 0.6s ease both; }

h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 7vw, 58px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 24px;
}

.intro-body {
  color: var(--text-soft);
  font-size: 19px;
  line-height: 1.55;
  max-width: 520px;
  margin-bottom: 12px;
}

.intro-line { color: var(--white); font-size: 19px; font-weight: 500; margin-bottom: 36px; max-width: 520px; }

.start-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 18px 36px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.start-btn:hover { background: var(--white); transform: translateY(-1px); }

.under-btn {
  margin-top: 14px;
  font-size: 15px;
  color: var(--gray-light);
}

.trust-row {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.trust-photo {
  width: 88px;
  height: 88px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(212,175,55,0.25);
}

.trust-name {
  font-size: 15px;
  color: var(--gray-light);
  line-height: 1.4;
}

.trust-proof { font-size: 17px; font-weight: 500; color: var(--white); margin-top: 4px; line-height: 1.4; }

/* QUIZ */
#quiz { padding: 48px 0 80px; }

.progress-bar-wrap { margin-bottom: 40px; }

.progress-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-light);
}

.progress-track { height: 2px; background: rgba(255,255,255,0.08); overflow: hidden; }
.progress-fill { height: 100%; background: var(--gold); transition: width 0.4s ease; }

.question-wrap { animation: fadeUp 0.35s ease both; }

.q-text {
  font-family: var(--font-display);
  font-size: clamp(24px, 5vw, 32px);
  font-weight: 500;
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 12px;
}

.q-text:focus { outline: none; }

.q-helper {
  color: var(--text-soft);
  font-size: 16px;
  margin-bottom: 8px;
}

.options-grid { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }

.option-btn {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.4;
  padding: 18px 18px;
  min-height: 60px;
  cursor: pointer;
  transition: all 0.18s ease;
  text-align: left;
  width: 100%;
}

.option-btn:hover { border-color: var(--gold-mid); background: var(--gold-dim); }
.option-btn.selected { border-color: var(--gold); background: var(--gold-dim); }

.option-letter {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gray-light);
  margin-top: 1px;
  transition: all 0.18s;
}

.option-btn.selected .option-letter {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

.quiz-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
}

.nav-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--gray-light);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 22px;
  cursor: pointer;
  transition: all 0.18s;
}

.nav-btn:hover:not(:disabled) { border-color: var(--white); color: var(--white); }
.nav-btn:disabled { opacity: 0.2; cursor: default; }

.nav-btn.primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
  font-weight: 500;
}

.nav-btn.primary:hover:not(:disabled) { background: var(--white); border-color: var(--white); color: var(--black); }

/* GATE */
#email-gate { padding: 48px 0 80px; animation: fadeUp 0.4s ease both; }

.gate-eyebrow, .result-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.gate-heading {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 42px);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--gold);
}

.gate-sub {
  color: var(--text);
  font-size: 18px;
  margin-bottom: 32px;
  max-width: 480px;
}

.email-form { display: flex; flex-direction: column; gap: 10px; max-width: 420px; }

.email-input {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 17px;
  padding: 15px 18px;
  outline: none;
  transition: border-color 0.18s;
  width: 100%;
  border-radius: 0;
}

.email-input::placeholder { color: var(--gray-light); }
.email-input:focus { border-color: var(--gold); }
.email-input.error { border-color: #d05a5a; }

.field-label {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.form-error { color: #e89a9a; font-size: 15px; min-height: 0; }

.typo-box {
  border: 1px solid var(--gold-mid);
  padding: 14px 16px;
  font-size: 16px;
}

.typo-actions { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }

.email-submit {
  background: var(--gold);
  border: none;
  color: var(--black);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 18px 24px;
  cursor: pointer;
  transition: all 0.18s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

.email-submit:hover:not(:disabled) { background: var(--white); }
.email-submit:disabled { opacity: 0.5; cursor: default; }

.gate-disclaimer {
  margin-top: 14px;
  font-size: 14px;
  color: var(--gray-light);
  line-height: 1.55;
  max-width: 420px;
}

.gate-disclaimer a { color: var(--white); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* REPORT */
#results { padding: 48px 0 60px; animation: fadeUp 0.4s ease both; }

.result-accent { height: 3px; width: 64px; margin-bottom: 24px; background: var(--gold); }

.report-title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-light);
  margin-bottom: 20px;
}

.result-type-name {
  font-family: var(--font-display);
  font-size: clamp(32px, 6vw, 52px);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 8px;
  color: var(--gold);
}

.result-divider { height: 1px; background: rgba(212,175,55,0.15); margin: 32px 0; }

.insight-heading {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 400;
}

.report-section { margin-bottom: 40px; }

.insight-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }

.insight-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 18px;
  line-height: 1.5;
  color: var(--text);
}

.insight-list li::before { content: ''; width: 14px; height: 2px; background: var(--gold); flex-shrink: 0; margin-top: 13px; }

.cost-line {
  font-family: var(--font-display);
  font-size: clamp(20px, 3.4vw, 24px);
  font-weight: 500;
  line-height: 1.4;
  color: var(--white);
  border-left: 3px solid var(--gold);
  padding-left: 18px;
  margin-bottom: 40px;
}

.result-desc {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 14px;
}

.report-subhead {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  margin: 24px 0 12px;
}

.report-subhead:first-child { margin-top: 0; }

.card {
  border: 1px solid rgba(255,255,255,0.14);
  padding: 18px 20px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 10px;
}

.safety-line {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-soft);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 12px;
  margin: 16px 0;
}

.report-ol { margin: 0 0 14px 22px; display: flex; flex-direction: column; gap: 10px; font-size: 18px; line-height: 1.5; color: var(--text); }
.report-ol li::marker { color: var(--gold); }

/* Route block */
.route-block {
  border: 1px solid rgba(212,175,55,0.2);
  padding: 26px 22px;
  position: relative;
  overflow: hidden;
}

.route-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 100%;
  background: var(--gold);
}

.route-head { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.route-photo { width: 76px; height: 76px; }

.route-headline {
  font-family: var(--font-display);
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 600;
  line-height: 1.15;
}

.route-text {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 12px;
}

.route-credentials {
  font-size: 16px;
  font-weight: 500;
  color: var(--gold);
  line-height: 1.5;
  margin: -6px 0 14px;
}

.booking-steps {
  margin: 18px 0 6px;
  padding: 16px 18px 14px;
  border: 1px solid var(--gold-mid);
  background: var(--gold-dim);
}
.booking-steps-head {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.booking-steps-list { margin-left: 22px; display: flex; flex-direction: column; gap: 8px; font-size: 18px; line-height: 1.45; color: var(--white); font-weight: 500; }
.booking-steps-list li::marker { color: var(--gold); font-weight: 600; }

.route-guarantee { color: var(--white); font-weight: 500; }
.route-meta { font-size: 16px; line-height: 1.5; color: var(--text-soft); margin-bottom: 8px; }

.result-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 17px 24px;
  text-decoration: none;
  transition: background 0.18s;
  cursor: pointer;
  border: none;
  margin: 10px 0 12px;
}

.result-cta-primary:hover { background: var(--white); }

.result-cta-secondary, .result-cta-small {
  display: block;
  width: fit-content;
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  background: none;
  border: none;
  padding: 6px 0;
  cursor: pointer;
  transition: color 0.18s;
}

.result-cta-secondary:hover, .result-cta-small:hover { color: var(--white); }

.route-small { font-size: 16px; color: var(--text-soft); margin-top: 10px; }

.route-disclaimer {
  font-size: 13px;
  line-height: 1.55;
  color: var(--gray-light);
  margin-top: 14px;
}

/* Phone ask */
.phone-ask { margin-top: 24px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.08); }
.route-block .phone-ask { margin-top: 12px; }
.phone-line { font-family: var(--font-display); font-size: 20px; font-weight: 500; margin-bottom: 12px; }
.phone-form { display: flex; flex-direction: column; gap: 10px; max-width: 420px; }
.phone-consent { font-size: 13px; line-height: 1.55; color: var(--gray-light); max-width: 460px; margin-top: 10px; }
.phone-thanks { font-size: 18px; color: var(--white); }

/* Direct number: big, easy to grab */
.direct-text {
  margin: 20px 0 4px;
  padding: 18px 20px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-mid);
}
.direct-label { font-size: 17px; font-weight: 500; color: var(--white); margin-bottom: 6px; }
.direct-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.direct-number {
  font-family: var(--font-display);
  font-size: clamp(30px, 7vw, 40px);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--gold);
  text-decoration: none;
  line-height: 1.1;
  user-select: all;
  -webkit-user-select: all;
}
a.direct-number { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.direct-copy {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 14px;
  cursor: pointer;
}
.direct-copy:hover { background: var(--gold); color: var(--black); }
.direct-hint { font-size: 15px; color: var(--text-soft); margin-top: 8px; }

.share-row {
  margin-top: 40px;
  font-size: 17px;
  color: var(--text-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
}

.share-row .result-cta-secondary { display: inline; padding: 0; font-size: 17px; }
.share-status { font-size: 15px; color: var(--gray-light); }
.self-row { margin-top: 40px; }
.self-row + .share-row { margin-top: 14px; }

.compliance-note {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 14px;
  color: var(--gray-light);
  line-height: 1.55;
}

.retake-link {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-light);
  text-underline-offset: 3px;
}

.retake-link:hover { color: var(--white); }

/* FOOTER */
footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 32px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy { font-size: 14px; color: var(--gray-light); }

.footer-link {
  font-size: 14px;
  color: var(--gray-light);
  text-underline-offset: 3px;
  transition: color 0.18s;
}

.footer-link:hover { color: var(--gold); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  header { padding: 28px 0 24px; }
  #intro { padding: 44px 0 40px; }
  .start-btn { width: 100%; justify-content: center; }
  .quiz-nav { gap: 10px; }
  .result-cta-primary { width: 100%; justify-content: center; text-align: center; }
  .route-block { padding: 22px 18px; }
  .trust-photo { width: 76px; height: 76px; }
  .route-photo { width: 64px; height: 64px; }
  .direct-text { padding: 16px; }
}
