/* styles.css — Personawithin
 * Vibrant, modern, gradient-driven UI matching the brand logo
 * (purple → pink → orange).
 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&display=swap');

:root {
  /* Brand gradient — same colors as the logo */
  --grad-primary: linear-gradient(135deg, #9b4dff 0%, #ff6b9d 50%, #ff9a5a 100%);
  --grad-soft:    linear-gradient(135deg, #c08aff 0%, #ff8dbb 50%, #ffb46e 100%);
  --grad-deep:    linear-gradient(135deg, #4c1d95 0%, #ec4899 55%, #f97316 100%);

  --c-purple:      #9b4dff;
  --c-pink:        #ff6b9d;
  --c-orange:      #ff9a5a;
  --c-purple-deep: #6d28d9;

  --tint-purple:   #f4ebff;
  --tint-pink:     #fff0f5;
  --tint-orange:   #fff3e8;

  --ink:    #1e1a2f;
  --body:   #45415a;
  --muted:  #6b6480;
  --faint:  #a89ec0;
  --line:   #ece7f3;
  --bg:     #ffffff;
  --bg-alt: #fafbff;

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(30,26,47,0.04);
  --shadow-md: 0 8px 24px -8px rgba(155,77,255,0.12), 0 1px 2px rgba(30,26,47,0.04);
  --shadow-lg: 0 24px 60px -20px rgba(155,77,255,0.20), 0 4px 12px rgba(30,26,47,0.05);

  --serif: 'Playfair Display', Georgia, serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}
.container.narrow { max-width: 720px; }
.container.medium { max-width: 960px; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--sans);
  letter-spacing: -0.02em;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 16px;
}
h1 { font-size: clamp(36px, 5.4vw, 60px); }
h2 { font-size: clamp(28px, 3.5vw, 40px); margin-top: 0; }
h3 { font-size: 20px; font-weight: 700; }
h4 { font-size: 15px; font-weight: 600; }
p  { color: var(--body); margin: 0 0 14px; }

.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.serif { font-family: var(--serif); font-weight: 500; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}

.muted { color: var(--muted); }
.tiny  { font-size: 13px; }
.center { text-align: center; }

/* ============================================================
   NAV / HEADER
   ============================================================ */
.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0 18px;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  line-height: 1;
}
/* Head silhouette — always visible (Asset 5, viewBox 178x262, ~0.68 ratio).
   At height 44 → width ~30px. */
.brand .brand-logo-mark {
  height: 44px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
/* Wordmark text + tagline (Asset 4, viewBox 536x96, ~5.6:1 ratio).
   At height 36 → width ~200px. Stays visible on mobile, just smaller. */
.brand .brand-logo-text {
  height: 36px;
  width: auto;
  display: block;
  flex-shrink: 1;
  min-width: 0;
}
/* On phones, scale both pieces down a step but keep them BOTH visible. */
@media (max-width: 640px) {
  .brand { gap: 8px; }
  .brand .brand-logo-mark { height: 38px; }
  .brand .brand-logo-text { height: 28px; }
}

/* Footer brand — smaller than the nav so it doesn't dominate */
.footer-grid .brand { gap: 8px; }
.footer-grid .brand .brand-logo-mark { height: 36px; }
.footer-grid .brand .brand-logo-text { height: 28px; }
/* Backwards-compat aliases — older HTML may still reference these classes */
.brand .brand-logo-full { display: none !important; }
.brand .brand-logo-small { display: none !important; }
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 15px;
}
.nav-links a {
  text-decoration: none;
  color: var(--body);
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--c-purple); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--sans);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  letter-spacing: 0.1px;
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn.large { padding: 16px 36px; font-size: 16px; }
.btn.full  { width: 100%; }

.btn.primary {
  background: var(--grad-primary);
  color: white;
  box-shadow: 0 6px 20px -6px rgba(155,77,255,0.5);
}
.btn.primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -8px rgba(236,72,153,0.45);
}
.btn.outline {
  background: white;
  color: var(--c-purple-deep);
  border: 2px solid transparent;
  background-image: linear-gradient(white, white), var(--grad-primary);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}
.btn.outline:hover:not(:disabled) {
  background-image: var(--grad-primary), var(--grad-primary);
  color: white;
}
.btn.ghost {
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn.ghost:hover { border-color: var(--c-purple); color: var(--c-purple); }

/* ============================================================
   BADGES + CHIPS
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--tint-purple);
  color: var(--c-purple-deep);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}
.badge.pink { background: var(--tint-pink); color: #be185d; }
.badge.orange { background: var(--tint-orange); color: #c2410c; }

.chip {
  background: white;
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  cursor: default;
}
.chip:hover {
  border-color: var(--c-purple);
  background: var(--tint-purple);
  color: var(--c-purple-deep);
  transform: translateY(-1px);
}
.chip-dot {
  width: 8px; height: 8px;
  background: var(--c, var(--c-purple));
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 72px 0 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 600px at 20% 0%,  rgba(155,77,255,0.10), transparent 60%),
    radial-gradient(ellipse 700px 500px at 80% 30%, rgba(255,107,157,0.10), transparent 60%),
    radial-gradient(ellipse 600px 400px at 50% 100%, rgba(255,154,90,0.08), transparent 60%);
  pointer-events: none;
  z-index: -1;
}
.hero h1 { max-width: 820px; margin: 0 auto 20px; }
.hero .subhead {
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--body);
  max-width: 620px;
  margin: 0 auto 24px;
  line-height: 1.55;
}
.hero .empathy {
  display: inline-block;
  background: var(--tint-pink);
  color: #be185d;
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 28px;
}
.hero .cta-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.hero .cta-meta {
  font-size: 13px;
  letter-spacing: 1.2px;
  color: var(--muted);
  margin-top: 18px;
}

/* ============================================================
   12 ARCHETYPES SHOWCASE
   ============================================================ */
.section {
  padding: 64px 0;
}
.section .eyebrow { display: block; text-align: center; margin-bottom: 14px; }
.section h2.center,
.section h2 { text-align: center; max-width: 820px; margin-left: auto; margin-right: auto; }
.section .lede {
  font-size: 17.5px;
  color: var(--body);
  max-width: 620px;
  margin: 0 auto 36px;
  text-align: center;
}

.archetype-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 32px;
}
.atile {
  --c: var(--c-purple);
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
  text-align: left;
}
.atile .adot {
  width: 10px; height: 10px;
  background: var(--c);
  border-radius: 50%;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 18%, transparent);
  flex-shrink: 0;
}
.atile:hover {
  border-color: var(--c);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -10px color-mix(in srgb, var(--c) 30%, transparent);
}

/* ============================================================
   TWO-COL FEATURE
   ============================================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.two-col h2 { text-align: left; margin: 0 0 16px; max-width: none; }
.two-col p { font-size: 16.5px; line-height: 1.7; }

.testimonial-card {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--line);
}
.testimonial-card .quote-mark {
  font-family: var(--serif);
  font-size: 56px;
  line-height: 0.6;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 4px;
}
.testimonial-card blockquote {
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
}
.testimonial-card cite {
  font-style: normal;
  color: var(--muted);
  font-size: 14px;
}
.testimonial-card hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 22px 0;
}
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}
.checklist li {
  font-size: 15px;
  color: var(--body);
  padding: 6px 0 6px 28px;
  position: relative;
}
.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  width: 18px; height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--grad-primary);
  color: white;
  font-size: 10px;
  font-weight: 800;
  top: 9px;
}

/* ============================================================
   FEATURE CARDS (3-up)
   ============================================================ */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 16px;
}
.feature-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-soft);
  opacity: 0;
  transition: opacity 0.25s;
  z-index: 0;
}
.feature-card > * { position: relative; z-index: 1; }
.feature-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow-md);
}
.feature-card .feature-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--tint-purple);
  margin-bottom: 18px;
  font-size: 24px;
}
.feature-card.pink  .feature-icon { background: var(--tint-pink); }
.feature-card.orange .feature-icon { background: var(--tint-orange); }
.feature-card h3 { margin: 0 0 8px; font-size: 19px; font-weight: 700; }
.feature-card p  { margin: 0; font-size: 15px; line-height: 1.6; color: var(--body); }

/* ============================================================
   HOW IT WORKS — numbered steps
   ============================================================ */
.steps-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.step-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: left;
  position: relative;
}
.step-card .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: white;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 16px;
  box-shadow: 0 6px 16px -4px rgba(155,77,255,0.4);
}
.step-card h3 { margin: 0 0 6px; font-size: 18px; }
.step-card p  { margin: 0; font-size: 14.5px; line-height: 1.55; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  max-width: 820px;
  margin: 32px auto 0;
}
.faq-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item:hover { border-color: var(--c-purple); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 300;
  color: var(--c-purple);
  transition: transform 0.2s;
  line-height: 1;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item .faq-answer {
  padding: 0 24px 20px;
  color: var(--body);
  font-size: 15px;
  line-height: 1.65;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--grad-primary);
  border-radius: var(--radius-xl);
  padding: 64px 40px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
  margin: 24px 0;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 400px 300px at 20% 0%, rgba(255,255,255,0.18), transparent 60%),
    radial-gradient(ellipse 500px 300px at 90% 100%, rgba(255,255,255,0.12), transparent 60%);
  pointer-events: none;
}
.cta-section > * { position: relative; }
.cta-section h2 { color: white; max-width: 720px; margin: 0 auto 14px; }
.cta-section p {
  color: rgba(255,255,255,0.9);
  font-size: 17px;
  max-width: 580px;
  margin: 0 auto 28px;
}
.cta-section .btn.primary {
  background: white;
  color: var(--c-purple-deep);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.25);
}
.cta-section .btn.primary:hover { background: var(--tint-purple); }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-grid p { font-size: 16.5px; line-height: 1.75; }
.about-image {
  border-radius: var(--radius-lg);
  background: var(--grad-soft);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.about-image::before {
  content: '';
  position: absolute;
  inset: 18px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: var(--radius-lg);
}
.about-image svg { width: 60%; height: 60%; opacity: 0.96; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 28px;
  margin-top: 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}
.footer-grid h4 {
  font-size: 13px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
}
.footer-grid a {
  display: block;
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 8px;
  transition: color 0.2s;
}
.footer-grid a:hover { color: var(--c-purple); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 13px;
  color: var(--faint);
}
.footer-bottom a { color: var(--c-purple); text-decoration: none; }

/* ============================================================
   QUIZ STYLES (preserved & restyled to match)
   ============================================================ */
.quiz-wrap {
  padding: 48px 0 72px;
  position: relative;
}
.quiz-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  font-size: 12.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.quiz-topbar .qphase {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.quiz-timer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--tint-purple);
  color: var(--c-purple-deep);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: 0.5px;
  font-size: 12.5px;
  text-transform: none;
}
.quiz-timer .timer-dot {
  width: 6px; height: 6px;
  background: var(--c-purple);
  border-radius: 50%;
  animation: timer-pulse 1.6s infinite;
}
@keyframes timer-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.35; }
}

.progress {
  height: 4px;
  background: var(--line);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 36px;
}
.progress > div {
  height: 100%;
  background: var(--grad-primary);
  width: 0;
  border-radius: 4px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.q-glyph {
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--c-purple);
  opacity: 0.85;
}
.q-glyph svg { width: 44px; height: 44px; }

.q-text {
  font-size: 26px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 30px;
  letter-spacing: -0.4px;
  text-align: center;
}

.options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.option {
  text-align: left;
  background: white;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px 18px 56px;
  font-size: 15.5px;
  font-family: var(--sans);
  line-height: 1.5;
  cursor: pointer;
  color: var(--ink);
  transition: all 0.18s ease;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.option::before {
  content: '';
  position: absolute;
  left: 22px; top: 50%;
  transform: translateY(-50%);
  width: 20px; height: 20px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  background: white;
  transition: all 0.15s ease;
}
@media (hover: hover) and (pointer: fine) {
  .option:hover {
    border-color: var(--c-purple);
    background: var(--tint-purple);
    transform: translateX(2px);
  }
  .option:hover::before {
    border-color: var(--c-purple);
    box-shadow: inset 0 0 0 5px var(--c-purple);
  }
}
.option:active { transform: translateX(0) scale(0.997); }
.option:focus { outline: none; }
.option:focus:not(:focus-visible) {
  border-color: var(--line);
  background: white;
  box-shadow: var(--shadow-sm);
}
.option.selected {
  border-color: var(--c-purple);
  background: var(--tint-purple);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-purple) 20%, transparent);
}
.option.selected::before {
  border-color: var(--c-purple);
  box-shadow: inset 0 0 0 5px var(--c-purple);
}

.quiz-nav {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1.5px solid var(--line);
  color: var(--body);
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s ease;
}
.btn-back:hover:not(:disabled) {
  border-color: var(--c-purple);
  color: var(--c-purple);
}
.btn-back:disabled { opacity: 0.4; cursor: not-allowed; }
.quiz-hint { letter-spacing: 0.4px; }

.fade-swap { animation: fadeIn 0.32s ease both; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   FORM (info step)
   ============================================================ */
.field { margin-bottom: 18px; }
label {
  display: block;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 6px;
  color: var(--ink);
  letter-spacing: 0.3px;
}
input[type=text], input[type=email] {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-size: 16px;
  font-family: var(--sans);
  background: white;
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
input:focus {
  outline: none;
  border-color: var(--c-purple);
  box-shadow: 0 0 0 4px var(--tint-purple);
}
input::placeholder { color: var(--faint); }

/* generic card used on info / checkout */
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.card.feature {
  background: linear-gradient(180deg, #ffffff 0%, var(--tint-purple) 200%);
}
.divider {
  height: 1px;
  background: var(--line);
  margin: 28px 0;
}
.field + .field { margin-top: 0; }

/* ============================================================
   PAYWALL REVEAL
   ============================================================ */
.reveal {
  text-align: center;
  padding: 32px 0 8px;
}
.reveal .label {
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 20px;
}
.reveal .name {
  font-family: var(--sans);
  font-size: clamp(40px, 6vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  margin: 12px 0 8px;
  letter-spacing: -0.04em;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: reveal 0.7s cubic-bezier(0.25, 1, 0.3, 1) both;
}
@keyframes reveal {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.archetype-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 4px auto 0;
  padding: 36px 20px;
}
.archetype-badge-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  margin: auto;
  pointer-events: none;
  color: var(--c-purple);
  animation: slow-spin 100s linear infinite;
}
@keyframes slow-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.reveal .italic {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--body);
  max-width: 460px;
  margin: 18px auto 0;
}

/* ---- checkout illustration teaser (dark reveal card, name locked) ---- */
.archetype-reveal-card.is-teaser {
  padding: 44px 28px 38px;
}
/* Blurred, locked archetype name on the dark teaser card. */
.archetype-reveal-card .teaser-name-blur {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(34px, 6vw, 52px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #ffffff;
  filter: blur(12px);
  opacity: 0.55;
  user-select: none;
  margin: 2px 0 0;
}
.archetype-reveal-card .teaser-lock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(2px);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #ffffff;
}

/* ---- trust / reassurance row on checkout ---- */
.trust-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  margin: 22px 0 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--body);
  line-height: 1.35;
}
.trust-item svg {
  flex: 0 0 auto;
  color: var(--c-purple);
}
@media (max-width: 520px) {
  .trust-row { grid-template-columns: 1fr; gap: 12px; }
}

/* ---- trust / reassurance row on checkout ---- */
.trust-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  margin: 22px 0 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--body);
  line-height: 1.35;
}
.trust-item svg {
  flex: 0 0 auto;
  color: var(--c-purple);
}
@media (max-width: 520px) {
  .trust-row { grid-template-columns: 1fr; gap: 12px; }
}

/* ============================================================
   RESULT PAGE — big archetype reveal card
   ============================================================ */
.archetype-reveal-card {
  --archetype-color: #9b4dff;
  position: relative;
  border-radius: var(--radius-xl);
  padding: 56px 28px 48px;
  background: linear-gradient(180deg, #1a1530 0%, #2d2550 100%);
  color: white;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  text-align: center;
  isolation: isolate;
}
.archetype-reveal-glow {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 50% 35%, var(--archetype-color) 0%, transparent 55%);
  opacity: 0.45;
  z-index: 0;
  pointer-events: none;
}
.archetype-reveal-rings {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  margin: auto;
  color: var(--archetype-color);
  z-index: 0;
  pointer-events: none;
  animation: reveal-spin 180s linear infinite;
}
@keyframes reveal-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.archetype-reveal-inner {
  position: relative;
  z-index: 1;
}

/* Central glyph disk — the focal point inside the rings.
   The disk is intentionally light (off-white) so the per-archetype image or
   SVG glyph reads cleanly without competing with the dark card behind it.
   The colored glow + concentric rings still carry the archetype's hue. */
.archetype-disk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  margin: 0 auto 22px;
  position: relative;
  background:
    radial-gradient(circle at 50% 38%, #ffffff 0%, #f6f1e6 75%, #ece6d5 100%);
  box-shadow:
    0 16px 50px -12px var(--archetype-color),
    inset 0 1px 0 rgba(255,255,255,0.9),
    inset 0 -2px 6px rgba(0,0,0,0.05);
  animation: disk-in 0.9s cubic-bezier(0.25, 1, 0.3, 1) both;
  overflow: hidden;
}
.archetype-disk::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.22);
  pointer-events: none;
}
.archetype-disk::after {
  content: '';
  position: absolute;
  inset: -22px;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,0.22);
  pointer-events: none;
}
/* The fallback SVG glyph now uses the archetype's accent color so it's
   visible on the light disk. PNG archetype images keep their own colors. */
.archetype-disk svg { color: var(--archetype-color); }
.archetype-disk img { display: block; max-width: 86%; max-height: 86%; object-fit: contain; }
@keyframes disk-in {
  from { opacity: 0; transform: scale(0.7); }
  to   { opacity: 1; transform: scale(1); }
}

.archetype-reveal-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 10px;
}
.archetype-reveal-name {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(40px, 7vw, 64px);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0;
  color: white;
  background: linear-gradient(180deg, #ffffff 0%, #ffd0e8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.archetype-reveal-quad {
  display: inline-block;
  margin-top: 14px;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  font-weight: 600;
}
.archetype-reveal-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 22px auto 16px;
  color: var(--archetype-color);
  opacity: 0.85;
}
.archetype-reveal-divider span {
  display: block;
  height: 1px;
  width: 60px;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
}
.archetype-reveal-motto {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  color: white;
  max-width: 480px;
  margin: 0 auto;
}
.archetype-reveal-tagline {
  margin: 14px auto 0;
  max-width: 440px;
  font-size: 15px;
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
}

@media (max-width: 700px) {
  .archetype-reveal-card { padding: 44px 22px 36px; border-radius: 22px; }
  .archetype-disk { width: 108px; height: 108px; }
  .archetype-disk svg { width: 96px; height: 96px; }
  .archetype-reveal-motto { font-size: 18px; }
  .archetype-reveal-tagline { font-size: 14px; }
}

/* ============================================================
   COOKIE CONSENT
   ============================================================ */
.cookie-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 100;
  background: var(--ink);
  color: white;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(30,26,47,0.4);
  border: 1px solid rgba(255,255,255,0.08);
  animation: cookie-slide-up 0.35s cubic-bezier(0.25, 1, 0.3, 1) both;
}
@keyframes cookie-slide-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-consent-inner {
  display: flex; align-items: center; gap: 24px;
  padding: 18px 22px;
  max-width: 1080px; margin: 0 auto;
}
.cookie-consent-text { flex: 1; font-size: 13.5px; line-height: 1.5; }
.cookie-consent-text strong { display: block; font-size: 14.5px; margin-bottom: 4px; }
.cookie-consent-text p { margin: 0; color: rgba(255,255,255,0.78); }
.cookie-consent-text a { color: var(--c-orange); text-decoration: underline; }
.cookie-consent-actions { display: flex; gap: 10px; flex-shrink: 0; }
.btn-cookie {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--sans);
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
  color: white;
  transition: background 0.15s, border-color 0.15s;
}
.btn-cookie:hover { border-color: rgba(255,255,255,0.5); }
.btn-cookie.accept {
  background: var(--grad-primary);
  border-color: transparent;
  font-weight: 700;
}

/* ============================================================
   FREE QUIZ — listing cards + per-quiz player
   ============================================================ */
.free-quiz-card {
  --c: var(--c-purple);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}
.free-quiz-card .card-foot {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  letter-spacing: 1.2px;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 600;
}
.free-quiz-card .card-arrow {
  font-size: 22px;
  font-weight: 400;
  color: var(--c);
  line-height: 1;
  transition: transform 0.2s;
}
.free-quiz-card:hover .card-arrow {
  transform: translateX(4px);
}
.free-quiz-card:hover {
  border-color: var(--c);
  box-shadow: 0 12px 28px -10px color-mix(in srgb, var(--c) 30%, transparent);
}

/* Inline cross-promo card on the result page */
.free-quiz-promo {
  background: linear-gradient(180deg, white 0%, var(--tint-purple) 200%);
  border-color: color-mix(in srgb, var(--c-purple) 18%, var(--line));
}

/* Floating "try a free quiz" popup on the result page */
.free-quiz-popup {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  width: 340px;
  max-width: calc(100vw - 32px);
  padding: 22px 24px 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px -16px rgba(155,77,255,0.30), 0 8px 16px rgba(30,26,47,0.06);
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  transition: opacity 0.35s cubic-bezier(0.25, 1, 0.3, 1), transform 0.35s cubic-bezier(0.25, 1, 0.3, 1);
}
.free-quiz-popup.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.free-quiz-popup.hide {
  opacity: 0;
  transform: translateY(20px) scale(0.96);
}
.free-quiz-popup .fqp-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 6px;
}
.free-quiz-popup .fqp-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.free-quiz-popup .fqp-body {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--body);
  margin: 0 0 14px;
}
.free-quiz-popup .fqp-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.free-quiz-popup .fqp-actions .btn {
  padding: 10px 18px;
  font-size: 13px;
}
.fqp-close {
  position: absolute;
  top: 10px; right: 14px;
  width: 28px; height: 28px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.15s, color 0.15s;
}
.fqp-close:hover { background: var(--tint-purple); color: var(--c-purple-deep); }

@media (max-width: 580px) {
  .free-quiz-popup {
    left: 12px; right: 12px; bottom: 12px;
    width: auto; max-width: none;
  }
}

/* "Try another quick one" links shown below the result */
.other-quizzes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.other-quiz {
  --c: var(--c-purple);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  font-size: 14px;
  transition: all 0.2s;
}
.other-quiz:hover {
  border-color: var(--c);
  background: color-mix(in srgb, var(--c) 6%, white);
  transform: translateY(-1px);
}
.other-quiz .oq-title {
  font-weight: 600;
  color: var(--ink);
}
.other-quiz .oq-meta {
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--c);
  font-weight: 600;
}

/* ============================================================
   LEGAL PAGES (privacy, terms)
   ============================================================ */
.legal-page {
  padding: 32px 0 56px;
}
.legal-header {
  text-align: center;
  margin-bottom: 28px;
}
.legal-header h1 {
  margin: 6px 0 8px;
}
.legal-section {
  margin-bottom: 28px;
  padding: 24px 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.legal-section h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 10px;
  text-align: left;
}
.legal-section h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-purple-deep);
  margin: 16px 0 8px;
  text-transform: none;
  letter-spacing: 0;
}
.legal-section p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--body);
}
.legal-section ul {
  margin: 8px 0 14px;
  padding-left: 22px;
}
.legal-section ul li {
  font-size: 15px;
  line-height: 1.6;
  color: var(--body);
  margin-bottom: 6px;
}
.legal-section a {
  color: var(--c-purple-deep);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--c-purple) 35%, transparent);
}
.legal-section a:hover { border-bottom-color: var(--c-purple); }

/* spinner */
.spinner {
  display: inline-block;
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- emotional hook that collapses into the email step ---- */
.bridge-wrap {
  max-width: 580px;
  margin: min(8vh, 60px) auto 0;
  transition: margin 0.6s ease;
}
.bridge-eyebrow { display: inline-block; margin-bottom: 18px; }
.bridge-headline {
  font-family: var(--serif);
  font-size: clamp(30px, 5.2vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
}
.bridge-body {
  font-size: 18px;
  line-height: 1.65;
  color: var(--body);
  max-width: 520px;
  margin: 0 auto 16px;
}
.bridge-emph {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--ink);
  margin-top: 22px;
}
.bridge-final {
  font-family: var(--serif);
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 600;
  color: var(--ink);
  margin-top: 30px;
}

/* Each line fades up in sequence for a cinematic, weighty feel. */
.bridge-line { opacity: 0; animation: bridgeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.bridge-eyebrow            { animation-delay: 0.15s; }
.bridge-headline           { animation-delay: 0.7s; }
.bridge-body:nth-of-type(1){ animation-delay: 1.7s; }
.bridge-body:nth-of-type(2){ animation-delay: 2.6s; }
.bridge-body:nth-of-type(3){ animation-delay: 3.6s; }
.bridge-final              { animation-delay: 4.7s; }
@keyframes bridgeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* These size/space properties aren't animated by bridgeUp, so they transition
   cleanly when the block collapses (bridgeUp only touches opacity/transform). */
.bridge-headline, .bridge-final, .bridge-mid {
  transition: font-size 0.55s ease, margin 0.55s ease,
              max-height 0.55s ease, padding 0.55s ease;
}
.bridge-mid { overflow: hidden; max-height: 200px; }

/* Collapsed state: the explanatory lines fold away and the headline + final
   line shrink and lift, becoming a compact intro above the email form. */
.bridge-wrap.is-collapsed { margin-top: 8px; margin-bottom: 8px; }
.bridge-wrap.is-collapsed .bridge-eyebrow,
.bridge-wrap.is-collapsed .bridge-mid {
  max-height: 0;
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
  overflow: hidden;
}
.bridge-wrap.is-collapsed .bridge-headline {
  font-size: clamp(19px, 3.2vw, 24px);
  margin-bottom: 6px;
}
.bridge-wrap.is-collapsed .bridge-final {
  font-size: clamp(16px, 2.6vw, 19px);
  margin-top: 4px;
}

/* The email step starts hidden and reveals once the hook collapses. */
.info-reveal {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s, max-height 0.7s ease;
}
.info-reveal.is-visible {
  opacity: 1;
  max-height: 1200px;
  transform: translateY(0);
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .bridge-line { animation: none; opacity: 1; }
}

/* ---- generating / processing screen ---- */
.gen-wrap { max-width: 560px; margin: 0 auto; }

.gen-ring {
  position: relative;
  width: 120px; height: 120px;
  margin: 0 auto 28px;
}
.gen-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gen-ring-track {
  fill: none;
  stroke: var(--line);
  stroke-width: 6;
}
.gen-ring-arc {
  fill: none;
  stroke: url(#genGrad);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 327; /* 2*pi*52 */
  stroke-dashoffset: 327;
  transition: stroke-dashoffset 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.gen-ring-pct {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.gen-eyebrow { display: inline-block; margin-bottom: 6px; }
.gen-msg {
  margin-top: 4px;
  min-height: 1.3em;
}
.gen-msg.is-swapping, .gen-sub.is-swapping { animation: genFade 0.4s ease both; }
@keyframes genFade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.gen-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  justify-content: center;
  margin-top: 30px;
}
.gen-step {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--faint);
  padding: 7px 14px 7px 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  position: relative;
  transition: color 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}
.gen-step::before {
  content: "";
  position: absolute;
  left: 12px; top: 50%;
  width: 9px; height: 9px;
  margin-top: -4.5px;
  border-radius: 50%;
  border: 1.5px solid var(--faint);
  transition: all 0.35s ease;
}
.gen-step.is-active {
  color: var(--ink);
  border-color: rgba(155,77,255,0.35);
  background: var(--tint-purple);
}
.gen-step.is-active::before {
  border-color: var(--c-purple);
  box-shadow: 0 0 0 3px rgba(155,77,255,0.15);
}
.gen-step.is-done { color: var(--body); }
.gen-step.is-done::before {
  background: var(--c-purple, #9b4dff);
  border-color: var(--c-purple, #9b4dff);
}

/* utilities */
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 920px) {
  .two-col, .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .two-col h2 { text-align: center; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .steps-flow { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .container { padding: 0 28px; }
  .site-nav { padding: 18px 4px 14px; }
  .nav-links { gap: 14px; font-size: 14px; }
  .nav-links a:not(.btn) { display: none; }     /* keep only the CTA on mobile nav */
  /* Slightly tighter primary button so it doesn't crowd the edge */
  .nav-links .btn { padding: 12px 22px; }

  h1 { font-size: clamp(30px, 8vw, 42px); }
  .hero { padding: 48px 0 36px; }
  .hero .subhead { font-size: 16.5px; padding: 0 4px; }

  .section { padding: 48px 0; }
  .archetype-grid { grid-template-columns: 1fr 1fr; }
  .feature-cards { grid-template-columns: 1fr; }

  .q-text { font-size: 22px; }
  .option {
    padding: 16px 16px 16px 50px;
    font-size: 15px;
    line-height: 1.45;
  }
  .option::before { left: 18px; width: 18px; height: 18px; }
  .quiz-hint { display: none; }

  .cta-section { padding: 44px 24px; border-radius: 24px; }
  .card { padding: 24px; border-radius: 18px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .cookie-consent { left: 12px; right: 12px; bottom: 12px; }
  .cookie-consent-inner { flex-direction: column; align-items: stretch; gap: 14px; padding: 18px; }
  .cookie-consent-actions { justify-content: stretch; }
  .btn-cookie { flex: 1; padding: 12px 14px; }
}
@media (max-width: 380px) {
  .container { padding: 0 24px; }
  .site-nav { padding: 16px 2px 12px; }
  .archetype-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .brand .brand-logo-small { height: 48px; }
  .nav-links .btn { padding: 11px 20px; font-size: 13.5px; }
}

/* ============================================================
   QUIZ COPY-PROTECTION
   ------------------------------------------------------------
   The browser cannot truly block screenshots — that's an OS
   capability. What we CAN do is make casual copying harder by
   disabling text selection, the right-click menu, native drag,
   and Print Screen-style actions on the quiz section. This is
   deterrence, not a vault. Pair with watermark + legal terms.
   ============================================================ */
.no-copy,
.no-copy * {
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  -webkit-touch-callout: none !important;     /* iOS long-press menu */
  -webkit-tap-highlight-color: transparent;
}
.no-copy img,
.no-copy svg {
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: auto;
}
/* Preserve interaction on the quiz answer buttons + nav */
.no-copy button,
.no-copy [role="button"],
.no-copy a {
  pointer-events: auto;
}
/* Discourage printing the quiz */
@media print {
  .no-copy {
    display: none !important;
  }
  body::after {
    content: "Printing of this page is disabled.";
    display: block;
    text-align: center;
    margin: 80px auto;
    font-family: serif;
    font-size: 18px;
    color: #333;
  }
}

/* When the window loses focus while the quiz is open (e.g. the user
   triggered the OS screenshot picker), blur the quiz body. This is a
   deterrent — once focus returns, the blur lifts. */
.quiz-blurred .quiz-wrap,
.quiz-blurred #qSwap {
  filter: blur(14px) saturate(0.6);
  transition: filter 220ms ease;
}
.quiz-blurred .quiz-wrap::after {
  content: 'Quiz hidden — return to this tab to continue';
  position: absolute;
  inset: 50% 0 auto 0;
  text-align: center;
  font-family: var(--sans, system-ui, sans-serif);
  font-weight: 600;
  color: #2d2550;
  background: rgba(255,255,255,0.85);
  padding: 12px 18px;
  border-radius: 999px;
  width: fit-content;
  margin: -22px auto 0;
  filter: none;
  pointer-events: none;
}
.quiz-wrap { position: relative; }

/* ============================================================
   Result-page archetype logo — overrides the disk styling when
   a per-archetype PNG from public/assets/archetypes/result/ is
   in use. The logo becomes the focal element of the reveal
   illustration: bigger (reaches the first decorative ring),
   transparent background (sits directly on the dark card), and
   the archetype name + text continue below.
   ============================================================ */
.archetype-disk.archetype-disk--logo {
  width: clamp(190px, 56%, 280px);
  height: auto;
  aspect-ratio: 1;
  background: transparent;
  box-shadow: 0 18px 70px -12px var(--archetype-color);
  margin: 0 auto 28px;
  overflow: visible;
}
.archetype-disk.archetype-disk--logo::before,
.archetype-disk.archetype-disk--logo::after {
  display: none;
}
.archetype-disk.archetype-disk--logo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  /* Slight drop-shadow so the logo lifts off the dark card */
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.35));
}

@media (max-width: 700px) {
  .archetype-disk.archetype-disk--logo {
    width: clamp(160px, 62%, 220px);
  }
}

/* Inline payment — "or pay with card" divider between Express Checkout
   (Apple Pay / Google Pay / Link) and the card form below. Stripe shows
   the express buttons only when the device supports a wallet, so we
   reveal this divider from JS only when there's something above it. */
.express-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0 12px;
  color: var(--faint);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.express-or::before,
.express-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* In-app browser (TikTok/Instagram/etc.) Apple Pay notice on the checkout step. */
.inapp-note {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--c-purple) 28%, var(--line));
  background: var(--tint-purple);
  border-radius: var(--radius-sm, 10px);
  font-size: 13px;
  line-height: 1.5;
  color: var(--body);
}
.inapp-note strong { color: var(--ink); margin-right: 4px; }
.inapp-copy {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 12px;
  border: 1px solid color-mix(in srgb, var(--c-purple) 45%, transparent);
  background: #fff;
  color: var(--c-purple-deep);
  border-radius: 999px;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.inapp-copy:hover { background: var(--tint-pink); border-color: var(--c-purple); }

/* Tiny parent-company attribution line shown beneath each footer. */
.footer-parent {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--faint);
  opacity: 0.85;
}
.footer-parent a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted color-mix(in srgb, var(--faint) 65%, transparent);
}
.footer-parent a:hover { color: var(--c-purple); border-bottom-color: var(--c-purple); }
