:root {
  --ink: #1a1410;
  --ink2: #3d2e24;
  --ink3: #6b5040;
  --gold: #b8823a;
  --gold-light: #e8c97a;
  --cream: #f7f1e8;
  --cream2: #efe5d4;
  --cream3: #e4d5bf;
  --white: #ffffff;
  --border: #d8c8b0;
  --claude: #c47a2e;
  --chatgpt: #10a37f;
  --gemini: #4285f4;
  --grok: #1a1a1a;
  --copilot: #0078d4;
  --deepseek: #6366f1;
  --mistral: #f97316;
  --llama: #8b5cf6;
  --perplexity: #20808d;
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  min-height: 100vh;
  color: var(--ink);
  overflow-x: hidden;
}

/* ── SCREENS ── */
.screen { display: none; min-height: 100vh; padding: 24px 20px 60px; flex-direction: column; align-items: center; }
.screen.active { display: flex; }

/* ── INTRO ── */
.intro-wrap { width: 100%; max-width: 720px; display: flex; flex-direction: column; gap: 0; }

.masthead {
  text-align: center;
  padding: 48px 24px 36px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}
.masthead-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 18px;
}
.masthead-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 6vw, 58px);
  font-weight: 700; line-height: 1.1;
  color: var(--ink); margin-bottom: 14px;
}
.masthead-title em { font-style: italic; color: var(--gold); }
.masthead-sub {
  font-size: 15px; line-height: 1.8;
  color: var(--ink3); max-width: 500px; margin: 0 auto 24px;
}
.masthead-rule {
  display: flex; align-items: center; gap: 16px; justify-content: center; margin-bottom: 28px;
}
.masthead-rule span { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink3); }
.masthead-rule::before, .masthead-rule::after {
  content: ''; flex: 1; max-width: 80px; height: 1px; background: var(--border);
}

.ai-orbs {
  display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 32px;
}
.ai-orb {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: white;
  letter-spacing: 0.02em; flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.ai-orb-img {
  width: 44px; height: 44px; border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.intro-section {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 2px; padding: 32px; margin-bottom: 20px;
}
.intro-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 600; color: var(--ink);
  margin-bottom: 14px;
}
.intro-body { font-size: 15px; line-height: 1.8; color: var(--ink2); }
.intro-body strong { color: var(--gold); font-weight: 600; }

.name-row { margin-top: 20px; }
.field-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink3); margin-bottom: 8px; display: block;
}
.name-input {
  width: 100%; padding: 13px 16px;
  border: 1px solid var(--border); border-radius: 2px;
  font-family: 'DM Sans', sans-serif; font-size: 16px;
  color: var(--ink); background: var(--cream); outline: none;
  transition: border-color 0.2s;
}
.name-input:focus { border-color: var(--gold); background: var(--white); }
.name-error { font-size: 12px; color: #c0392b; margin-top: 6px; display: none; }

.start-btn {
  width: 100%; padding: 18px; background: var(--ink); color: var(--white);
  border: none; border-radius: 2px; font-family: 'Cormorant Garamond', serif;
  font-size: 19px; font-weight: 600; cursor: pointer; letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.1s; margin-top: 10px;
}
.start-btn:hover { background: var(--ink2); transform: translateY(-1px); }

.disclaimer { font-size: 12px; color: var(--ink3); text-align: center; margin-top: 14px; line-height: 1.6; }

/* ── QUESTIONS ── */
.q-wrap { width: 100%; max-width: 680px; display: flex; flex-direction: column; gap: 0; padding-top: 20px; padding-bottom: 40px; }

.q-nav {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 28px; padding-bottom: 16px; border-bottom: 1px solid var(--border);
}
.q-nav-logo { font-family: 'Cormorant Garamond', serif; font-size: 18px; font-weight: 600; color: var(--ink); }
.q-progress-wrap { flex: 1; margin: 0 24px; }
.q-progress-track { height: 2px; background: var(--cream3); border-radius: 1px; position: relative; }
.q-progress-fill { height: 2px; background: var(--gold); border-radius: 1px; transition: width 0.4s ease; }
.q-counter { font-size: 12px; color: var(--ink3); text-align: right; margin-top: 5px; }

.q-section-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 8px; display: block;
}

.q-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 2px; padding: 28px 24px 24px;
  margin-bottom: 14px;
}
.q-text { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 600; color: var(--ink); line-height: 1.45; margin-bottom: 18px; }
.q-hint { font-size: 13px; color: var(--ink3); margin-bottom: 16px; line-height: 1.5; }

.options-col { display: flex; flex-direction: column; gap: 9px; }
.option-btn {
  width: 100%; padding: 13px 16px; border: 1px solid var(--border);
  border-radius: 2px; background: var(--cream); cursor: pointer;
  text-align: left; font-family: 'DM Sans', sans-serif; font-size: 14px;
  color: var(--ink2); line-height: 1.55; transition: all 0.15s;
  position: relative; padding-left: 42px;
}
.option-btn::before {
  content: attr(data-letter); position: absolute; left: 14px; top: 50%;
  transform: translateY(-50%); font-size: 11px; font-weight: 700;
  color: var(--ink3); letter-spacing: 0.06em;
}
.option-btn:hover { border-color: var(--gold); background: var(--white); }
.option-btn.selected { border-color: var(--gold); background: var(--cream2); color: var(--ink); font-weight: 500; }
.option-btn.selected::before { color: var(--gold); }

.chips-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 16px; border: 1px solid var(--border); border-radius: 2px;
  background: var(--cream); cursor: pointer; font-family: 'DM Sans', sans-serif;
  font-size: 13px; color: var(--ink2); transition: all 0.15s;
}
.chip:hover { border-color: var(--gold); background: var(--white); }
.chip.selected { border-color: var(--gold); background: var(--cream2); color: var(--ink); font-weight: 500; }
.chip-hint { font-size: 12px; color: var(--ink3); margin-bottom: 10px; }

.continue-btn {
  width: 100%; padding: 15px; background: var(--ink); color: var(--white);
  border: none; border-radius: 2px; font-family: 'Cormorant Garamond', serif;
  font-size: 17px; font-weight: 600; cursor: pointer;
  transition: background 0.2s, transform 0.1s; margin-top: 8px; letter-spacing: 0.03em;
}
.continue-btn:hover { background: var(--ink2); transform: translateY(-1px); }
.continue-btn:disabled { background: var(--cream3); color: var(--ink3); cursor: not-allowed; transform: none; }

/* ── CALCULATING ── */
.calc-wrap {
  width: 100%; max-width: 480px; display: flex; flex-direction: column;
  align-items: center; gap: 28px; padding-top: 100px; text-align: center;
}
.calc-title { font-family: 'Cormorant Garamond', serif; font-size: 32px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.calc-title em { font-style: italic; color: var(--gold); }
.calc-subtitle { font-size: 15px; color: var(--ink3); line-height: 1.7; }
.calc-orbs {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:0.6;transform:scale(0.97)} 50%{opacity:1;transform:scale(1.03)} }

/* ── RESULTS TEASER ── */
.results-wrap { width: 100%; max-width: 680px; display: flex; flex-direction: column; gap: 20px; padding-top: 28px; padding-bottom: 60px; }

.results-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold); text-align: center;
}
.results-name {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(26px, 5vw, 40px);
  font-weight: 700; color: var(--ink); text-align: center; line-height: 1.2;
}

/* APMI type card */
.apmi-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 2px; padding: 28px 24px; text-align: center;
}
.apmi-letters {
  font-family: 'Cormorant Garamond', serif; font-size: 52px;
  font-weight: 700; color: var(--gold); letter-spacing: 0.12em; line-height: 1;
  margin-bottom: 8px;
}
.apmi-desc { font-size: 13px; color: var(--ink3); line-height: 1.6; margin-top: 12px; }
.apmi-dims {
  display: flex; justify-content: center; gap: 8px;
  flex-wrap: wrap; margin-top: 16px;
}
.apmi-dim {
  padding: 4px 12px; background: var(--cream2); border: 1px solid var(--border);
  border-radius: 2px; font-size: 12px; font-weight: 600; color: var(--ink2);
  letter-spacing: 0.04em;
}

/* Primary match teaser */
.match-teaser {
  background: var(--white); border: 1px solid var(--border); border-radius: 2px;
  overflow: hidden;
}
.match-teaser-header {
  padding: 14px 24px; background: var(--cream2);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 12px;
}
.match-label-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink3);
}
.match-type-badge {
  font-size: 11px; font-weight: 700; padding: 3px 10px;
  border-radius: 2px; letter-spacing: 0.06em;
}
.match-teaser-body { padding: 24px; }
.match-ai-name {
  font-family: 'Cormorant Garamond', serif; font-size: 34px;
  font-weight: 700; color: var(--ink); margin-bottom: 6px; line-height: 1;
}
.match-tagline { font-size: 14px; color: var(--gold); font-weight: 500; margin-bottom: 16px; font-style: italic; }
.match-rationale { font-size: 14.5px; line-height: 1.75; color: var(--ink2); }
.match-blur-row { position: relative; margin-top: 16px; }
.match-blur {
  filter: blur(5px); user-select: none; pointer-events: none;
  font-size: 14px; line-height: 1.75; color: var(--ink2);
}
.match-blur-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.85) 40%);
}
.match-blur-cta {
  background: var(--ink); color: var(--white);
  padding: 8px 20px; border-radius: 2px; font-size: 13px; font-weight: 600;
  letter-spacing: 0.04em; white-space: nowrap;
}

/* runners up teaser */
.runners-teaser {
  background: var(--white); border: 1px solid var(--border); border-radius: 2px;
  padding: 24px; position: relative; overflow: hidden;
}
.runners-teaser::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60px;
  background: linear-gradient(to bottom, transparent, var(--white));
  pointer-events: none;
}
.runners-title {
  font-family: 'Cormorant Garamond', serif; font-size: 18px; font-weight: 600;
  color: var(--ink); margin-bottom: 16px;
}
.ru-row { display: flex; gap: 12px; margin-bottom: 10px; filter: blur(4px); }
.ru-chip {
  padding: 8px 16px; border: 1px solid var(--border); border-radius: 2px;
  font-size: 13px; font-weight: 600; color: var(--ink2); background: var(--cream);
}

/* email gate */
.gate-box {
  background: var(--cream2); border: 1px solid var(--border);
  border-radius: 2px; padding: 36px 28px; text-align: center;
}
.gate-title {
  font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 700;
  color: var(--ink); margin-bottom: 10px; line-height: 1.3;
}
.gate-sub { font-size: 14.5px; color: var(--ink3); line-height: 1.7; margin-bottom: 24px; }
.gate-includes {
  list-style: none; text-align: left; margin-bottom: 28px;
  display: flex; flex-direction: column; gap: 10px;
}
.gate-includes li {
  font-size: 14px; color: var(--ink2); padding-left: 22px;
  position: relative; line-height: 1.55;
}
.gate-includes li::before { content: '→'; position: absolute; left: 0; color: var(--gold); font-weight: 600; }
.email-input {
  width: 100%; padding: 13px 16px; border: 1px solid var(--border);
  border-radius: 2px; font-family: 'DM Sans', sans-serif; font-size: 15px;
  color: var(--ink); background: var(--white); outline: none;
  transition: border-color 0.2s; margin-bottom: 12px;
}
.email-input:focus { border-color: var(--gold); }
.pay-btn {
  width: 100%; padding: 17px; background: var(--gold); color: var(--white);
  border: none; border-radius: 2px; font-family: 'Cormorant Garamond', serif;
  font-size: 19px; font-weight: 700; cursor: pointer; letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.1s;
}
.pay-btn:hover { background: #9a6820; transform: translateY(-1px); }
.gate-price { font-size: 22px; font-weight: 700; color: var(--gold); font-family: 'Cormorant Garamond', serif; margin-bottom: 6px; }
.gate-fine { font-size: 12px; color: var(--ink3); margin-top: 12px; line-height: 1.6; }

.restart-link {
  text-align: center; font-size: 13px; color: var(--ink3);
  cursor: pointer; text-decoration: underline; margin-top: 8px;
}
.restart-link:hover { color: var(--gold); }

/* ── QUIZ OPTIONS (v6.41 port, 2026-05-24) ──────────

/* ──────────────────────────────────────────────────────────
   Reveal screen + email gate (between calculating and results)
   ────────────────────────────────────────────────────────── */
.reveal-wrap {
  text-align: center;
  padding: 60px 20px;
  max-width: 600px;
  margin: 0 auto;
}
.reveal-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.reveal-apmi {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(80px, 14vw, 140px);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 20px;
}
.reveal-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(18px, 2.5vw, 26px);
  color: var(--ink2);
  margin: 0 auto 50px;
  line-height: 1.4;
  max-width: 500px;
}
.reveal-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 36px 28px;
  text-align: left;
}
.reveal-prompt {
  font-size: 15px;
  color: var(--ink2);
  margin-bottom: 20px;
  line-height: 1.6;
}
.reveal-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--cream);
  font-family: inherit;
  margin-bottom: 8px;
  box-sizing: border-box;
}
.reveal-input:focus {
  outline: none;
  border-color: var(--gold);
}
.reveal-error {
  color: #c44;
  font-size: 13px;
  margin-bottom: 12px;
  min-height: 18px;
}
.reveal-btn {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--ink);
  color: var(--cream);
  border: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 16px;
  transition: background 0.15s ease;
}
.reveal-btn:hover { background: var(--gold); color: var(--ink); }
.reveal-btn[disabled] { opacity: 0.6; cursor: wait; }
.reveal-fine {
  font-size: 12px;
  color: var(--ink3);
  margin-top: 18px;
  line-height: 1.6;
}

/* ──────────────────────────────────────────────────────────
   Landing page (screen-intro)
   ────────────────────────────────────────────────────────── */

  /* Preview-only styles. Inlined so index.css stays untouched.
     When integrated, these get promoted into index.css under a "landing" section. */

  
  

  
  .landing-wrap { width: 100%; max-width: 720px; }

  /* Section spacing between landing-only blocks */
  .landing-section + .landing-section { margin-top: 20px; }

  /* "How the matching happens" three-step row */
  .steps-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    margin-top: 20px;
  }
  .step-card {
    background: var(--cream2);
    border: 1px solid var(--border);
    border-radius: 2px;
    padding: 18px 16px;
    text-align: center;
  }
  .step-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 8px;
  }
  .step-title {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 6px;
  }
  .step-body {
    font-size: 13px;
    line-height: 1.6;
    color: var(--ink2);
  }
  @media (max-width: 600px) {
    .steps-row { grid-template-columns: 1fr; }
  }

  /* "Meet the panel" grid: orbs already exist; we add names underneath */
  .panel-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-top: 20px;
  }
  .panel-cell { text-align: center; }
  .panel-cell .ai-orb {
    margin: 0 auto 8px;
  }
  .panel-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--ink2);
    letter-spacing: 0.02em;
  }
  @media (max-width: 600px) {
    .panel-grid { grid-template-columns: repeat(5, 1fr); gap: 10px; }
    .panel-name { font-size: 11px; }
  }

  /* Three-tier card row */
  .tier-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    margin-top: 20px;
  }
  .tier-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 2px;
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
  }
  .tier-card.featured {
    border: 1px solid var(--gold);
    box-shadow: 0 2px 12px rgba(184, 130, 58, 0.12);
  }
  .tier-eyebrow {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
  }
  .tier-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 4px;
  }
  .tier-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 12px;
  }
  .tier-blurb {
    font-size: 13px;
    line-height: 1.6;
    color: var(--ink2);
    margin-bottom: 14px;
    flex-grow: 1;
  }
  .tier-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .tier-list li {
    font-size: 12px;
    line-height: 1.6;
    color: var(--ink2);
    padding-left: 14px;
    position: relative;
    margin-bottom: 4px;
  }
  .tier-list li::before {
    content: '·';
    position: absolute;
    left: 4px;
    color: var(--gold);
    font-weight: 700;
  }
  @media (max-width: 720px) {
    .tier-row { grid-template-columns: 1fr; }
  }

  /* FAQ */
  .faq-item {
    border-top: 1px solid var(--border);
    padding: 18px 0;
  }
  .faq-item:first-child { border-top: none; padding-top: 0; }
  .faq-item:last-child { padding-bottom: 0; }
  .faq-q {
    font-family: 'Cormorant Garamond', serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 6px;
  }
  .faq-a {
    font-size: 14px;
    line-height: 1.7;
    color: var(--ink2);
  }

  /* Research / credibility row */
  .credibility-row {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 14px;
  }
  .credibility-tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink3);
    padding: 6px 12px;
    background: var(--cream2);
    border: 1px solid var(--border);
    border-radius: 2px;
  }

  /* Inline body-prose highlight: bold gold, no italic.
     Used sparingly to make load-bearing concept words pop in scan-read. */
  .hl { font-weight: 700; color: var(--gold); }

  /* Inline link styling for body prose */
  .intro-body a, .faq-a a {
    color: var(--gold);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
  }
  .intro-body a:hover, .faq-a a:hover { color: var(--ink); }

  /* Footer */
  .landing-footer {
    margin-top: 60px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 12px;
    color: var(--ink3);
    line-height: 1.8;
  }
  .landing-footer a {
    color: var(--ink3);
    text-decoration: none;
    margin: 0 8px;
  }
  .landing-footer a:hover { color: var(--gold); text-decoration: underline; }

  /* Secondary link button (under primary CTA) */
  .secondary-link {
    display: block;
    text-align: center;
    margin-top: 10px;
    font-size: 13px;
    color: var(--ink3);
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .secondary-link:hover { color: var(--ink); }

  /* Site banner: banner.png with fade-in logo overlay + tagline bar.
     Pattern adapted from FYAIOther/findyourpersonality_banner (13).html so the
     image stays as a separate high-quality file (deployed to GoDaddy in production).
     The banner breaks out of the 720px content column to span wider (capped at 1200px). */
  .landing-banner {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-bottom: 24px;
    max-width: none;
  }
  .landing-banner-img-wrap {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
  }
  .landing-banner-img {
    display: block;
    width: 100%;
    height: auto;
  }
  /* Logo sits in the UPPER PORTION of the banner image, clear of the AI tile names
     that appear around the 40-46% vertical mark. Height reduced from 50% to 38%
     so the centered logo lands higher up. */
  .landing-banner-overlay {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 38%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(13, 11, 8, 0.50) 0%, transparent 100%);
    pointer-events: none;
  }
  .landing-banner-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(36px, 6vw, 76px);
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #c8a86a;
    text-shadow: 0 2px 32px rgba(0, 0, 0, 0.95), 0 1px 8px rgba(0, 0, 0, 0.98);
    opacity: 0;
    animation: bannerFadeIn 1s ease 0.3s forwards;
    white-space: nowrap;
  }
  .landing-banner-logo span { color: #f5d080; }
  /* Tagline overlays the black strip already present at the bottom of banner.png.
     Sits inside .landing-banner-img-wrap as an absolute-positioned overlay sized to
     cover the black strip only, with text vertically centered within it.
     Fades in after the logo and stays via `forwards` fill mode. */
  .landing-banner-tagline {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 15%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(22px, 3.4vw, 48px);
    font-weight: 500;
    color: #f5f0e8;
    letter-spacing: -0.01em;
    line-height: 1;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95);
    opacity: 0;
    animation: bannerFadeIn 0.9s ease 1.0s forwards;
  }
  .landing-banner-tagline em {
    font-style: italic;
    color: #f5d080;
    font-weight: 600;
    /* Italic glyphs lean left and visually eat the space on both sides.
       Small horizontal margins restore the gaps around "same." and "you." */
    margin-left: 0.12em;
    margin-right: 0.12em;
  }
  @keyframes bannerFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* Per-AI panel thumbnails (replace colored orbs in "Meet the panel") */
  .panel-orb-img {
    display: block;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  @media (max-width: 600px) {
    .panel-orb-img { width: 56px; height: 56px; }
  }
  /* Each panel-cell is wrapped in an <a> linking to that AI's anchor in
     APMI-AI-PROFILES-VISUAL-v2.html. Strip the default link styling and
     add a gentle hover lift. */
  .panel-link {
    text-decoration: none;
    color: inherit;
    display: block;
  }
  .panel-link:hover .panel-orb-img {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  }
  .panel-link:hover .panel-name {
    color: var(--gold);
  }
  .panel-name {
    transition: color 0.2s ease;
  }

  /* Big-spacing rule between major sections (eyebrow + serif title pattern) */
  .section-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    text-align: center;
    margin-bottom: 14px;
  }
  .section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 600;
    line-height: 1.2;
    color: var(--ink);
    text-align: center;
    margin-bottom: 26px;
  }
  .section-title em { font-style: italic; color: var(--gold); }

/* ───────────────────────────────────────────────────────────────
   QUIZ BUTTONS — matches class names emitted by app/quiz-flow.js
   (.option, .likert-row, .chip with .chip-label/.chip-example)
   Added: stronger selected state for mobile visibility +
   chip-example block spacing so phone users see the example
   text on its own line beneath the label.
   ─────────────────────────────────────────────────────────────── */

.options { display: flex; flex-direction: column; gap: 9px; }

.option {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--cream);
  cursor: pointer;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--ink2);
  line-height: 1.55;
  transition: all 0.15s;
}
.option:hover { border-color: var(--gold); background: var(--white); }
.option.selected {
  border-color: var(--gold);
  background: var(--cream3);
  color: var(--ink);
  font-weight: 500;
  box-shadow: inset 0 0 0 2px var(--gold);
}

/* Likert (1–5) rows */
.likert-wrap { display: flex; flex-direction: column; gap: 8px; }
.likert-row {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--cream);
  cursor: pointer;
  transition: all 0.15s;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  font-size: 14.5px;
  color: var(--ink2);
  width: 100%;
}
.likert-row:hover { border-color: var(--gold); background: var(--white); }
.likert-row.selected {
  border-color: var(--gold);
  background: var(--cream3);
  color: var(--ink);
  font-weight: 500;
  box-shadow: inset 0 0 0 2px var(--gold);
}
.likert-num {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  color: var(--gold);
  font-size: 20px;
  text-align: center;
}

/* Use-case chips (multi-select with example text) */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
}
.chip-label {
  display: block;
  font-weight: 500;
}
.chip-example {
  display: block;
  font-size: 12px;
  color: var(--ink3);
  margin-top: 6px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.4;
  /* Desktop: collapse until hover/selected */
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.2s ease, opacity 0.2s ease, margin-top 0.2s ease;
}
.chip:hover .chip-example,
.chip.selected .chip-example {
  max-height: 60px;
  opacity: 1;
}
.chip.selected {
  box-shadow: inset 0 0 0 2px var(--gold);
}

/* ── Mobile: stronger selected state + always-show chip examples ── */
@media (max-width: 720px) {
  /* Stronger visual indicator for selected answers on touch devices */
  .option.selected,
  .likert-row.selected,
  .chip.selected {
    background: #f3e6c8;            /* warmer cream so selection pops */
    box-shadow: inset 0 0 0 2px var(--gold);
    color: var(--ink);
  }
  .option.selected::after,
  .likert-row.selected::after {
    content: '✓';
    float: right;
    color: var(--gold);
    font-weight: 700;
    margin-left: 8px;
  }

  /* Hover doesn't exist on phones — show examples by default,
     with proper spacing between the label and the explanation. */
  .chip-example {
    max-height: none;
    opacity: 1;
    overflow: visible;
    margin-top: 6px;
  }
  .chip {
    /* Give each chip enough room so label + example don't crowd */
    padding: 10px 14px;
  }
}
