/* =========================================================
   Total Cleanz — Interactive Infographic
   Core styles (layout, typography, components)
   ========================================================= */

:root {
  --purple-900: #2D1F5C;
  --purple-700: #4A3B8F;
  --purple-600: #6B5BAC;
  --purple-500: #7A6BBF;
  --purple-400: #8B7BC0;
  --purple-300: #9B8BD0;
  --purple-200: #AB9BE0;
  --teal: #5DBBC1;
  --teal-light: #C9ECEF;
  --warm: #E5E1DA;
  --ink: #1F1B2E;
  --ink-soft: #4A4658;
  --muted: #717182;
  --line: #E5E5E5;
  --bg: #FFFFFF;
  --bg-tinted: #F7F5FB;
  --bg-soft: #FAFAFC;

  --shadow-sm: 0 1px 2px rgba(45,31,92,0.06), 0 2px 6px rgba(45,31,92,0.04);
  --shadow-md: 0 6px 20px rgba(45,31,92,0.08), 0 2px 6px rgba(45,31,92,0.05);
  --shadow-lg: 0 16px 40px rgba(45,31,92,0.12), 0 4px 10px rgba(45,31,92,0.06);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --container: 1100px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

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

/* ---------- Layout ---------- */
.section {
  padding: 110px 24px;
  position: relative;
  overflow: hidden;
}
.container { max-width: var(--container); margin: 0 auto; }

.section-light    { background: var(--bg); }
.section-tinted   { background: var(--bg-tinted); }
.section-deep     { background: linear-gradient(160deg, #2D1F5C 0%, #4A3B8F 60%, #5A4B9F 100%); color: #fff; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
  color: var(--purple-900);
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  text-align: center;
  margin-bottom: 12px;
  color: var(--purple-700);
  letter-spacing: -0.02em;
}
.section-title.light { color: #fff; }

.section-sub {
  text-align: center;
  color: var(--muted);
  font-size: 18px;
  margin: 0 auto 24px;
  max-width: 720px;
}

.subsection-title {
  font-size: clamp(22px, 2.6vw, 28px);
  color: var(--purple-700);
  margin-top: 36px;
}

.prose p { margin: 0 0 18px; color: var(--ink-soft); font-size: 16px; }
.prose strong { color: var(--purple-700); font-weight: 700; }
.prose-light p { color: rgba(255,255,255,0.85); }
.prose-light strong { color: #fff; }

.lead { font-size: 18px; color: var(--ink); margin: 0 0 18px; }

.kicker {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--teal);
  margin: 0 0 10px;
}

.footnote { font-size: 13px; color: var(--muted); margin: 12px 0 0; }

.closing-line {
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  color: var(--purple-700);
  max-width: 800px;
  margin: 60px auto 0;
  line-height: 1.5;
}

.mt-md { margin-top: 28px; }
.mt-lg { margin-top: 48px; }
.mt-xl { margin-top: 72px; }
.mb-sm { margin-bottom: 12px; }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.align-center { align-items: center; }

/* =========================================================
   Side navigation
   ========================================================= */
.side-nav {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.nav-dot {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  flex-direction: row-reverse;
}
.nav-dot .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #C5C2D6;
  transition: all 0.35s var(--ease-out);
  box-shadow: 0 0 0 0 rgba(74,59,143,0);
}
.nav-dot:hover .dot { background: var(--teal); transform: scale(1.3); }
.nav-dot.active .dot {
  background: var(--purple-700);
  width: 14px; height: 14px;
  box-shadow: 0 0 0 6px rgba(74,59,143,0.18);
}
.nav-dot .label {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: #2D1F5C;
  color: #fff;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s var(--ease-out);
}
.nav-dot:hover .label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
@media (max-width: 900px) { .side-nav { display: none; } }

/* =========================================================
   1. Intro
   ========================================================= */
.section-intro {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  background: linear-gradient(135deg, #4A3B8F 0%, #6B5BAC 50%, #5DBBC1 100%);
  background-size: 200% 200%;
  animation: gradientShift 18s ease-in-out infinite;
  color: #fff;
  text-align: center;
  position: relative;
}
.intro-bg-orbs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}
.orb-1 { width: 480px; height: 480px; background: #5DBBC1; top: -10%; left: -10%; animation: orbFloat 22s ease-in-out infinite; }
.orb-2 { width: 380px; height: 380px; background: #9B8BD0; bottom: -10%; right: -10%; animation: orbFloat 28s ease-in-out infinite reverse; }
.orb-3 { width: 300px; height: 300px; background: #AB9BE0; top: 40%; right: 30%; animation: orbFloat 34s ease-in-out infinite; }

.intro-inner { position: relative; z-index: 1; max-width: 920px; }
.intro-eyebrow {
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.8);
  margin: 0 0 16px;
}
.logo-wordmark {
  display: flex;
  justify-content: center;
  margin-bottom: 56px;
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1;
  letter-spacing: -0.045em;
}
.logo-total  { color: #ffffff; }
.logo-cleanz { color: var(--teal); }

.intro-title {
  margin: 0 0 26px;
  font-size: clamp(40px, 7vw, 86px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
}
.intro-title .title-line { display: block; }
.intro-sub {
  font-size: clamp(15px, 1.6vw, 19px);
  max-width: 640px;
  margin: 0 auto;
  color: rgba(255,255,255,0.92);
  line-height: 1.6;
}

.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  letter-spacing: 0.04em;
  z-index: 2;
}
.scroll-cue svg { animation: bounceY 2.2s var(--ease-in-out) infinite; }

/* =========================================================
   2. Cleaning Is Never Done — components
   ========================================================= */
.stat-card {
  background: linear-gradient(135deg, #F2EEFB 0%, #E1F5F6 100%);
  border-radius: var(--radius-xl);
  padding: 44px 36px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.stat-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.stat-block { min-width: 120px; }
.stat-number {
  font-size: clamp(48px, 7vw, 76px);
  font-weight: 800;
  color: var(--purple-700);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-label {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 17px;
}
.stat-divider { font-size: 36px; color: #B6B0CB; font-weight: 300; }
.stat-caption { color: var(--muted); font-size: 14px; margin-top: 16px; }

.video-frame {
  background: #16142B;
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.video-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(93,187,193,0.25), transparent 60%);
}
.video-frame-light { background: #1B1640; }
.play-icon {
  width: 78px; height: 78px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: transform 0.4s var(--ease-out), background 0.3s;
}
.play-icon::after {
  content: '';
  width: 0; height: 0;
  border-style: solid;
  border-width: 12px 0 12px 22px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}
.video-frame:hover .play-icon { background: rgba(93,187,193,0.4); transform: scale(1.08); }
.video-caption { color: rgba(255,255,255,0.7); font-size: 13px; position: relative; }
.video-helper  { color: rgba(255,255,255,0.4); font-size: 12px; position: relative; }

.pull-quote {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  font-style: italic;
  color: var(--purple-700);
  line-height: 1.4;
  margin: 0;
}

.card-soft {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--line);
}

.range-input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--purple-700) 0%, var(--purple-700) 0%, #E1DEEB 0%);
  outline: none;
  margin: 14px 0 6px;
}
.range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  background: var(--purple-700);
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 0 0 1px var(--purple-700), 0 4px 10px rgba(74,59,143,0.3);
  cursor: pointer;
  transition: transform 0.2s;
}
.range-input::-webkit-slider-thumb:hover { transform: scale(1.15); }
.range-input::-moz-range-thumb {
  width: 22px; height: 22px;
  background: var(--purple-700);
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 0 0 1px var(--purple-700);
  cursor: pointer;
}
.range-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
}

.response-card {
  background: #F0EDFA;
  border-left: 4px solid var(--purple-700);
  padding: 18px 22px;
  border-radius: 10px;
  color: var(--ink-soft);
  font-size: 16px;
  text-align: center;
  margin-top: 16px;
}

/* Bar chart */
.chart-title { font-size: 14px; color: var(--muted); font-weight: 500; margin: 0 0 18px; }
.bar-chart { display: flex; flex-direction: column; gap: 14px; }
.bar-row { display: grid; grid-template-columns: 100px 1fr; gap: 14px; align-items: center; }
.bar-label { font-size: 14px; color: var(--ink-soft); font-weight: 500; }
.bar-track {
  background: #ECE9F4;
  height: 30px;
  border-radius: 8px;
  position: relative;
}
.bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--purple-700), var(--purple-500));
  border-radius: 8px;
  position: relative;
  transition: width 1.4s var(--ease-out);
}
.bar-value {
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 10px;
  color: var(--purple-700);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.4s 0.8s;
}
.bar-fill.animated .bar-value { opacity: 1; }

/* =========================================================
   3. Industry — components
   ========================================================= */
.expand-card {
  background: linear-gradient(135deg, #F4F1FB 0%, #EAF7F8 100%);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid #E2DCF4;
  transition: box-shadow 0.3s;
}
.expand-card:hover { box-shadow: var(--shadow-md); }
.expand-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 36px;
  text-align: left;
  gap: 24px;
}
.big-stat {
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 800;
  color: var(--purple-700);
  line-height: 1;
  letter-spacing: -0.02em;
}
.big-stat-label { font-size: 18px; color: var(--ink); margin-top: 6px; font-weight: 600; }
.big-stat-sub { font-size: 14px; color: var(--muted); margin-top: 4px; }
.expand-cta { color: var(--teal); font-weight: 600; font-size: 14px; white-space: nowrap; }
.expand-cta .arrow { display: inline-block; transition: transform 0.3s; }
.expand-card[data-expand].open .expand-cta .arrow { transform: rotate(90deg); }
.expand-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.55s var(--ease-out);
  padding: 0 36px;
}
.expand-card[data-expand].open .expand-body {
  max-height: 600px;
  padding: 0 36px 36px;
}
.mini-stat-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.mini-stat-list li {
  background: rgba(255,255,255,0.7);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 15px;
  color: var(--ink-soft);
}
.mini-stat-list strong { color: var(--purple-700); margin-right: 4px; }

.ranked-list {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.ranked-list h3 { color: var(--purple-700); font-size: 20px; margin: 0 0 18px; }
.ranked-list ol { list-style: none; padding: 0; margin: 0; }
.ranked-list li {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 16px;
}
.ranked-list li:first-child { border-top: none; }
.rank {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--purple-700);
  color: #fff;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700;
}
.rank-value { color: var(--purple-700); font-weight: 700; }

.info-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--line);
  position: relative;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.info-card-head { display: flex; justify-content: space-between; align-items: center; }
.info-card h4 { margin: 0; color: var(--purple-700); font-size: 17px; }
.info-toggle {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--purple-700);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  font-style: italic;
  font-family: Georgia, serif;
  display: grid; place-items: center;
}
.info-stat-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.info-stat-list li {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--ink-soft);
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
}
.info-stat-list li:last-child { border-bottom: none; }
.info-stat-list strong { color: var(--purple-700); font-weight: 700; }
.info-tooltip {
  position: absolute;
  inset: auto 24px 24px;
  background: var(--purple-900);
  color: #fff;
  font-size: 13px;
  padding: 14px 16px;
  border-radius: 10px;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: all 0.3s;
  box-shadow: var(--shadow-lg);
}
.info-card.show-tooltip .info-tooltip { opacity: 1; pointer-events: auto; transform: translateY(0); }

.market-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--line);
  text-align: center;
  transition: transform 0.3s var(--ease-out);
}
.market-card:hover { transform: translateY(-6px); }
.market-card h4 { font-size: 22px; color: var(--purple-700); margin: 0 0 6px; }
.market-card p { color: var(--muted); margin: 0; font-size: 14px; }

/* Bubble cluster */
.bubble-cluster {
  position: relative;
  width: 100%;
  height: 680px;
  background: linear-gradient(135deg, #F8F6FE 0%, #EAF7F8 100%);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.bubble {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  animation: bubbleFloat 6s ease-in-out infinite;
}
.bubble:nth-child(1) { animation-delay: 0s; }
.bubble:nth-child(2) { animation-delay: -1s; }
.bubble:nth-child(3) { animation-delay: -2s; }
.bubble:nth-child(4) { animation-delay: -3s; }
.bubble:nth-child(5) { animation-delay: -4s; }
.bubble:nth-child(6) { animation-delay: -5s; }
.bubble:nth-child(7) { animation-delay: -2.5s; }
.bubble-circle {
  width: var(--size, 100px);
  height: var(--size, 100px);
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  padding: 9%;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(74,59,143,0.18);
  transition: transform 0.4s var(--ease-out), box-shadow 0.3s;
  border: 1px solid rgba(74,59,143,0.08);
}
.bubble-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* For logos that ship with their own white padding — zoom in to crop it out */
.bubble-circle img.logo-zoom {
  transform: scale(1.55);
}
.bubble:hover { z-index: 5; }
.bubble:hover .bubble-circle {
  transform: scale(1.1);
  box-shadow: 0 14px 36px rgba(74,59,143,0.32);
}
.bubble-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1.15;
  pointer-events: none;
}
.bubble-pct {
  font-weight: 800;
  color: var(--purple-700);
  font-size: 20px;
  letter-spacing: -0.01em;
}
.bubble-name {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 2px;
  font-weight: 500;
}
.cluster-hint { text-align: center; color: var(--muted); font-size: 13px; margin: 14px 0 0; }

/* Quiz (cross-tabbed respect quiz) */
.quiz-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  border: 1px solid var(--line);
  margin-top: 60px;
  box-shadow: var(--shadow-sm);
  position: relative;
  min-height: 320px;
}

.quiz-header {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-bottom: 28px;
}
.quiz-top-icon {
  display: grid;
  place-items: center;
  color: var(--purple-700);
}
.quiz-top-icon svg { width: 40px; height: 40px; stroke-width: 1.8; }
.quiz-top-action {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background: #F4F1FB;
  color: var(--purple-700);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s, transform 0.2s;
}
.quiz-top-action:hover { background: #E5DEF5; transform: translateY(-50%) scale(1.04); }
.quiz-top-action[hidden] { display: none; }

.quiz-step {
  text-align: center;
  animation: slideInUp 0.4s var(--ease-out);
}
.quiz-question {
  font-size: clamp(19px, 2.2vw, 23px);
  font-weight: 600;
  color: var(--ink);
  margin: 0 auto 26px;
  max-width: 540px;
  line-height: 1.4;
}
.quiz-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.quiz-helper {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

/* Soften the answer buttons — purple as accent, not flood */
.quiz-buttons .btn {
  background: #F4F1FB;
  color: var(--purple-700);
  border: 1.5px solid transparent;
  box-shadow: none;
  font-weight: 600;
}
.quiz-buttons .btn:hover {
  background: #E8E2F5;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(74,59,143,0.12);
}
.quiz-buttons [data-q].chosen {
  background: var(--purple-700);
  color: #fff;
  border-color: var(--purple-700);
  transform: scale(1.04);
  box-shadow: 0 8px 20px rgba(74,59,143,0.35);
}
[data-q]:disabled { opacity: 0.45; cursor: default; }
[data-q].chosen { opacity: 1 !important; }

/* Result step */
.quiz-result-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  background: var(--muted);
  margin: 0 auto 20px;
  animation: scaleIn 0.5s var(--ease-out);
}
.quiz-result-icon.is-align    { background: var(--teal); }
.quiz-result-icon.is-misalign { background: #D9534F; }
@keyframes scaleIn {
  from { transform: scale(0.6); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.quiz-said {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin: 0 0 6px;
}
.quiz-said-text {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 22px;
}
.quiz-big-stat {
  font-size: clamp(40px, 6vw, 56px);
  font-weight: 800;
  color: var(--purple-700);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.quiz-stat-label {
  color: var(--ink-soft);
  font-size: 15px;
  margin: 0 auto 16px;
  max-width: 460px;
}
.quiz-takeaway {
  margin: 0 0 26px;
  font-size: 14px;
  font-weight: 600;
  color: var(--purple-700);
}
.quiz-bullets {
  list-style: none;
  padding: 0;
  margin: 8px auto 26px;
  display: inline-grid;
  gap: 6px;
  text-align: left;
}
.quiz-bullets li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--ink-soft);
}
.quiz-bullets li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}
.quiz-actions-center {
  display: flex;
  justify-content: center;
  margin-top: 6px;
}

/* Final */
.quiz-final-title {
  font-size: clamp(20px, 2.5vw, 26px);
  color: var(--purple-700);
  margin: 0 auto 14px;
  max-width: 600px;
  line-height: 1.4;
}
.quiz-final-message {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
  margin: 0 auto 26px;
  max-width: 600px;
}
.quiz-insight {
  background: linear-gradient(135deg, #F4F1FB 0%, #EAF7F8 100%);
  border-left: 4px solid var(--purple-700);
  border-radius: 10px;
  padding: 18px 22px;
  text-align: left;
  max-width: 600px;
  margin: 0 auto;
}
.quiz-insight-label {
  display: inline-block;
  background: var(--purple-700);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.quiz-insight p {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
}
.quiz-insight strong { color: var(--purple-700); }

@media (max-width: 600px) {
  .quiz-card { padding: 30px 22px; }
  .quiz-top-action span { display: none; }
  .quiz-top-action { padding: 8px; }
}

/* Buttons */
.btn {
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn-primary {
  background: var(--purple-700);
  color: #fff;
  box-shadow: 0 6px 18px rgba(74,59,143,0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(74,59,143,0.4); background: var(--purple-600); }
.btn-ghost {
  background: transparent;
  color: var(--purple-700);
  border: 1.5px solid var(--purple-700);
}
.btn-ghost:hover { background: var(--purple-700); color: #fff; }

/* =========================================================
   4. Brand — Carousel
   ========================================================= */
.carousel {
  background: linear-gradient(135deg, #F4F1FB 0%, #EAF7F8 100%);
  border-radius: var(--radius-xl);
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.carousel-track {
  position: relative;
  min-height: 320px;
}
.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
  pointer-events: none;
}
.carousel-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  position: relative;
}
.slide-title { font-size: 24px; color: var(--purple-700); margin: 0 0 28px; text-align: center; }
.slide-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: center;
}
.donut-wrap { position: relative; width: 220px; height: 220px; margin: 0 auto; }
.donut { width: 100%; height: 100%; transform: rotate(-90deg); }
.donut-bg { fill: none; stroke: #E2DCF4; stroke-width: 14; }
.donut-fg {
  fill: none;
  stroke: var(--purple-700);
  stroke-width: 14;
  stroke-linecap: round;
  stroke-dasharray: 314;
  stroke-dashoffset: 314;
  transition: stroke-dashoffset 1.6s var(--ease-out);
}
.donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.donut-percent {
  font-size: 38px;
  font-weight: 800;
  color: var(--purple-700);
  letter-spacing: -0.02em;
}
.donut-label { color: var(--muted); font-size: 13px; margin-top: 4px; }

.legend { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; font-size: 14px; color: var(--ink-soft); }
.legend li { display: flex; align-items: center; gap: 10px; }
.legend .dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  display: inline-block;
}
.dot-purple { background: var(--purple-700); }
.dot-teal { background: var(--teal); }

.word-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
}
.word {
  background: #fff;
  border-radius: 999px;
  padding: 10px 18px;
  color: var(--purple-700);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out);
}
.word:hover { transform: translateY(-3px) scale(1.04); }
.word small { color: var(--muted); font-weight: 500; font-size: 12px; }
.w-lg { font-size: 22px; padding: 14px 24px; }
.w-md { font-size: 17px; }
.w-sm { font-size: 14px; }

.metric-block { text-align: center; }

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
}
.carousel-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #fff;
  color: var(--purple-700);
  font-size: 18px;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, background 0.2s;
}
.carousel-btn:hover { background: var(--purple-700); color: #fff; transform: scale(1.08); }
.carousel-counter { color: var(--muted); font-size: 14px; font-weight: 500; }

/* =========================================================
   5. Empathy gap — cards
   ========================================================= */
.empathy-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
  position: relative;
  overflow: hidden;
}
.empathy-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--purple-700), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}
.empathy-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.empathy-card:hover::before { transform: scaleX(1); }
.tag {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.empathy-card h3 { font-size: 20px; color: var(--purple-700); margin: 0 0 12px; }
.empathy-card p { color: var(--ink-soft); margin: 0; font-size: 15px; }

.big-quote {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  color: var(--purple-700);
  line-height: 1.4;
  margin: 0;
}

/* =========================================================
   6. Strategy
   ========================================================= */
.strategy-list { display: grid; gap: 22px; }
.strategy-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.strategy-card:hover { box-shadow: var(--shadow-md); }
.strategy-card.open { box-shadow: var(--shadow-lg); }
.strategy-trigger {
  width: 100%;
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 24px;
  padding: 32px;
  align-items: center;
  text-align: left;
}
.strategy-num {
  font-size: 40px;
  font-weight: 800;
  color: var(--purple-200);
  line-height: 1;
  letter-spacing: -0.02em;
  transition: color 0.3s;
}
.strategy-card:hover .strategy-num,
.strategy-card.open .strategy-num { color: var(--purple-700); }
.strategy-trigger h3 { margin: 0 0 6px; font-size: 22px; color: var(--purple-700); }
.strategy-trigger p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.strategy-cta { color: var(--teal); font-weight: 600; font-size: 13px; white-space: nowrap; }
.strategy-cta .arrow { display: inline-block; transition: transform 0.3s; }
.strategy-card.open .strategy-cta .arrow { transform: rotate(90deg); }
.strategy-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.7s var(--ease-out);
}
.strategy-card.open .strategy-body { max-height: 1600px; }
.strategy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  padding: 0 32px 36px;
}
.strategy-grid h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin: 0 0 12px;
}
.strategy-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.strategy-grid li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.strategy-grid li::before {
  content: '';
  position: absolute;
  left: 2px; top: 8px;
  width: 6px; height: 6px;
  background: var(--purple-700);
  border-radius: 50%;
}

/* =========================================================
   7. Reflection
   ========================================================= */
.section-deep .prose-light p { color: rgba(255,255,255,0.88); }

.reflection-panel {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-xl);
  padding: 44px;
  backdrop-filter: blur(8px);
  position: relative;
}
.reflection-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 18px;
}
.reflection-top-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.2s, transform 0.2s;
}
.reflection-top-action:hover {
  background: rgba(255,255,255,0.24);
  transform: translateY(-1px);
}
.reflection-intro {
  text-align: center;
  padding: 16px 0 8px;
}
.reflection-icon {
  display: inline-flex;
  color: var(--teal);
  margin-bottom: 18px;
}
.reflection-intro h3 {
  color: #fff;
  font-size: clamp(20px, 2.4vw, 26px);
  margin: 0 auto 26px;
  max-width: 620px;
  line-height: 1.4;
}

.btn-bright {
  background: #fff;
  color: var(--purple-700);
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(0,0,0,0.18);
}
.btn-bright:hover {
  background: var(--teal);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(93,187,193,0.45);
}

.btn-ghost-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.45);
}
.btn-ghost-light:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}
.reflection-write p { color: rgba(255,255,255,0.85); margin: 0 0 18px; }
.reflection-write textarea {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 14px;
  padding: 16px 18px;
  font-family: inherit;
  color: #fff;
  font-size: 15px;
  resize: vertical;
  outline: none;
  transition: border 0.2s;
}
.reflection-write textarea:focus { border-color: var(--teal); }
.reflection-write textarea::placeholder { color: rgba(255,255,255,0.45); }
.reflection-actions { margin-top: 16px; display: flex; gap: 12px; flex-wrap: wrap; }
.reflection-feed h3 { color: #fff; margin: 0 0 22px; font-size: 22px; }
.reflection-list { display: grid; gap: 14px; }
.reflection-item {
  background: rgba(255,255,255,0.08);
  border-left: 3px solid var(--teal);
  padding: 14px 18px;
  border-radius: 10px;
  color: rgba(255,255,255,0.92);
  font-size: 15px;
  line-height: 1.55;
}
.reflection-item.new { animation: slideInUp 0.5s var(--ease-out); }
.reflection-feed .footnote { color: rgba(255,255,255,0.55); }

.path-forward {
  text-align: center;
  margin-top: 80px;
  padding: 40px 24px;
}
.path-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 13px;
  color: var(--teal);
  margin: 0 0 18px;
  font-weight: 700;
}
.path-forward blockquote {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin: 0 auto;
  max-width: 780px;
  font-style: italic;
}

.page-footer {
  text-align: center;
  margin-top: 80px;
  padding-top: 32px;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.noscript-banner {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 40px;
  text-align: center;
  color: var(--ink);
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 800px) {
  .section { padding: 80px 20px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 28px; }
  .strategy-grid { grid-template-columns: 1fr; gap: 24px; padding: 0 24px 28px; }
  .slide-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .donut-wrap { margin: 0 auto; }
  .stat-row { gap: 18px; }
  .carousel { padding: 32px 20px; }
  .reflection-panel { padding: 30px 22px; }
  .strategy-trigger { grid-template-columns: 1fr; gap: 12px; padding: 24px; text-align: center; }
  .strategy-num { text-align: center; }
  .expand-trigger { flex-direction: column; align-items: flex-start; padding: 28px; }
  .bubble-cluster { height: 460px; }
  .bubble-circle { transform: scale(0.55); transform-origin: center; }
  .bubble:hover .bubble-circle { transform: scale(0.62); }
  .bubble-pct { font-size: 14px; }
  .bubble-name { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .section-intro { animation: none; }
  .orb { display: none; }
}
