:root {
  color-scheme: dark;
  --black: #050505;
  --ink: #111111;
  --panel: #101010;
  --panel-2: #171717;
  --white: #ffffff;
  --muted: #b8b8b8;
  --soft: #e8e2d2;
  --line: rgba(255, 255, 255, 0.13);
  --gold: #d7b56d;
  --gold-2: #f2d990;
  --gray: #777777;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

/* Ensure [hidden] always wins over component display rules */
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background: var(--black);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
  z-index: -3;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: -2;
}

.ambient-bg span {
  position: absolute;
  width: 32vw;
  aspect-ratio: 1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(215, 181, 109, 0.18), transparent 68%);
  filter: blur(10px);
  animation: drift 18s ease-in-out infinite alternate;
}

.ambient-bg span:nth-child(1) {
  top: -8vw;
  right: 10vw;
}

.ambient-bg span:nth-child(2) {
  top: 42vh;
  left: -12vw;
  animation-delay: -6s;
}

.ambient-bg span:nth-child(3) {
  right: -10vw;
  bottom: 5vh;
  animation-delay: -10s;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(22px, -28px, 0) scale(1.12);
  }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(18px, 5vw, 70px);
  color: var(--white);
  transition: background 220ms ease, border-color 220ms ease, padding 220ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  padding-top: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(215, 181, 109, 0.7);
  border-radius: 10px;
  color: var(--gold-2);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
  font-weight: 760;
}

.site-nav a,
.site-footer a {
  text-decoration: none;
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--gold-2);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: inherit;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-header.is-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.section {
  padding: clamp(36px, 5vw, 72px) clamp(18px, 6vw, 86px);
}

.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 120px;
  padding-bottom: 60px;
  overflow: hidden;
}

#hero-particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 860px;
  width: 100%;
}

.hero-copy > p {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  justify-content: center;
}

.hero-proof-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 22px;
  color: rgba(255,255,255,0.38);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-proof-row span + span::before {
  content: "·";
  margin-right: 22px;
  opacity: 0.4;
}

.eyebrow,
.panel-label {
  margin: 0 0 14px;
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(3.3rem, 7.4vw, 7.6rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 0;
}

h2 {
  max-width: 1020px;
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 4.4vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.24rem;
  line-height: 1.15;
}

.hero-copy p,
.section-head p,
.mission-grid p,
.tool-card p,
.lesson-card p,
.workflow-card p,
.founder-card p,
.newsletter-card p,
.faq-item p,
.site-footer p {
  color: var(--muted);
  font-size: 1.06rem;
}

.hero-copy > p {
  max-width: 710px;
  font-size: clamp(1.08rem, 2vw, 1.34rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 720px;
  margin-top: 24px;
}

.hero-mini-grid a {
  min-height: 76px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.045);
  text-decoration: none;
  font-weight: 850;
  transition: transform 180ms ease, border-color 180ms ease;
}

.hero-mini-grid a:hover {
  transform: translateY(-3px);
  border-color: rgba(215, 181, 109, 0.55);
}

.button,
.tool-card button,
.faq-item button,
.carousel-btn {
  border-radius: 10px;
  cursor: pointer;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  text-decoration: none;
  font-weight: 850;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #080808;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 18px 42px rgba(215, 181, 109, 0.18);
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

/* ── Quiz CTA pulse ring ────────────────────────────────────────────────── */
.hero-quiz-button {
  position: relative;
}

.hero-quiz-button::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 2px solid rgba(215, 181, 109, 0.7);
  animation: quiz-pulse 2.6s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  pointer-events: none;
}

@keyframes quiz-pulse {
  0%   { transform: scale(1);    opacity: 0.75; }
  50%  { transform: scale(1.08); opacity: 0;    }
  100% { transform: scale(1);    opacity: 0;    }
}

.hero-visual {
  min-height: 560px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(5, 5, 5, 0.55), rgba(5, 5, 5, 0.35)),
    radial-gradient(circle at 50% 0%, rgba(215, 181, 109, 0.18), transparent 50%),
    url(hero-bg.png) center / cover no-repeat,
    var(--panel);
  box-shadow: var(--shadow);
}

#market-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.floating-card {
  position: absolute;
  width: min(230px, 52vw);
  padding: 18px;
  border: 1px solid rgba(215, 181, 109, 0.32);
  border-radius: 18px;
  background: rgba(8, 8, 8, 0.72);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(14px);
  animation: floatCard 5.5s ease-in-out infinite;
}

.floating-card span,
.floating-card small {
  display: block;
  color: var(--muted);
  font-weight: 750;
}

.floating-card strong {
  display: block;
  margin: 8px 0 2px;
  color: var(--gold-2);
  font-size: 2rem;
}

.card-one {
  top: 12%;
  left: 8%;
}

.card-two {
  top: 38%;
  right: 8%;
  animation-delay: -1.8s;
}

.card-three {
  left: 13%;
  bottom: 10%;
  animation-delay: -3.4s;
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.stats-band div {
  padding: 28px clamp(18px, 4vw, 42px);
  background: rgba(255, 255, 255, 0.035);
}

.stats-band strong {
  display: block;
  color: var(--gold-2);
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
}

.stats-band span {
  color: var(--muted);
  font-weight: 800;
}

.section-head {
  max-width: 930px;
  margin-bottom: 38px;
}

.mission,
.education,
.impact,
.newsletter,
.automation {
  background: rgba(255, 255, 255, 0.025);
}

.mission-grid,
.education-grid,
.workflow-grid,
.automation-grid,
.tool-grid {
  display: grid;
  gap: 18px;
}

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

.feature-card,
.tool-card,
.lesson-card,
.workflow-card,
.automation-card,
.founder-card,
.newsletter-card,
.faq-item,
.testimonial-carousel {
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    var(--panel);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.22);
}

.feature-card,
.lesson-card,
.workflow-card,
.automation-card {
  padding: 26px;
}

.feature-card span,
.workflow-card span,
.automation-card span,
.tool-card .tool-kicker {
  color: var(--gold-2);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tool-card .tool-kicker {
  display: block;
  color: var(--muted);
}

.tool-brand-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  place-items: center;
  border: 1px solid rgba(215, 181, 109, 0.36);
  border-radius: 12px;
  color: #171510;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.65), transparent 42%),
    linear-gradient(145deg, #f2d990, #b8944d);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  font-size: 1.15rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
}

.tool-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.5fr);
  gap: 22px;
  align-items: start;
}

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

.tool-card {
  padding: 24px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.tool-card:hover,
.tool-card.is-active {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.28);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    var(--panel);
}

.tool-card button,
.card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  padding: 0 14px;
  font-weight: 850;
  text-decoration: none;
}

.card-link {
  margin-left: 8px;
  color: var(--white);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.045);
}

.tool-panel {
  position: sticky;
  top: 92px;
  min-height: 500px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(96, 165, 250, 0.08), transparent 50%),
    var(--panel-2);
  box-shadow: var(--shadow);
}

.tool-preview {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.tool-preview label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 760;
}

.tool-control-row span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tool-control-row strong {
  color: var(--gold-2);
  font-size: 0.92rem;
}

.tool-preview input,
.tool-preview select,
.signup-form input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.055);
  padding: 0 14px;
  outline: none;
}

.tool-preview input:focus,
.tool-preview select:focus,
.signup-form input:focus {
  border-color: rgba(96, 165, 250, 0.7);
  box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.12);
}

.tool-preview input[type="range"] {
  min-height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  accent-color: var(--gold);
}

.insight-chart {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.insight-row {
  display: grid;
  gap: 7px;
}

.insight-row-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.insight-row-top strong {
  color: var(--white);
}

.insight-track {
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.insight-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  transition: width 180ms ease;
}

.tool-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.tool-metric-grid div {
  display: grid;
  gap: 6px;
  min-height: 86px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.tool-metric-grid span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tool-metric-grid strong {
  color: var(--white);
  font-size: clamp(1rem, 1.8vw, 1.45rem);
  line-height: 1.1;
}

.result-box {
  display: grid;
  gap: 8px;
  margin-top: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.result-box strong {
  color: var(--white);
  font-size: 1.7rem;
}

.spark-bars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(42px, 1fr));
  gap: 8px;
  align-items: end;
  min-height: 130px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.spark-bars span {
  display: grid;
  align-items: end;
  min-height: 18px;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, #60a5fa, rgba(96, 165, 250, 0.3));
}

.spark-bars i {
  display: block;
  padding: 0 0 5px;
  color: #090909;
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 900;
  text-align: center;
}

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

.lesson-card,
.workflow-card,
.automation-card {
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease;
}

.lesson-card:hover,
.workflow-card:hover,
.automation-card:hover {
  transform: translateY(-4px);
  border-color: rgba(215, 181, 109, 0.52);
}

.lesson-card {
  min-height: 190px;
}

.lesson-card span {
  display: inline-flex;
  margin-top: 14px;
  color: var(--gold-2);
  font-weight: 850;
}

.workflows {
  background: var(--black);
}

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

.workflow-card {
  min-height: 220px;
}

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

.automation-card {
  min-height: 220px;
  background:
    radial-gradient(circle at 100% 0%, rgba(215, 181, 109, 0.12), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    var(--panel);
}

.founder-card {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(18px, 3vw, 28px);
  overflow: hidden;
}

.founder-photo {
  position: relative;
  min-height: 460px;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(215, 181, 109, 0.32);
  border-radius: 18px;
  background:
    linear-gradient(180deg, transparent 56%, rgba(0, 0, 0, 0.42)),
    rgba(255, 255, 255, 0.04);
}

.founder-photo img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
  object-position: 52% 42%;
  filter: saturate(0.92) contrast(1.04);
}

.founder-text {
  max-width: 640px;
  padding: clamp(18px, 3vw, 34px) clamp(10px, 2vw, 24px);
}

.founder-text h2 {
  max-width: 620px;
  margin-bottom: 18px;
  font-size: clamp(1.9rem, 3.2vw, 3.4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.founder-text p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.35vw, 1.08rem);
  line-height: 1.72;
}

.testimonial-carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  max-width: 980px;
  padding: 22px;
}

.testimonial-carousel article {
  padding: 14px 0;
}

.testimonial-carousel p {
  margin-bottom: 14px;
  color: var(--white);
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  line-height: 1.22;
}

.testimonial-carousel strong {
  color: var(--gold-2);
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  font-size: 1.8rem;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 980px;
}

.faq-item {
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  min-height: 62px;
  border: 0;
  color: var(--white);
  background: transparent;
  padding: 0 20px;
  text-align: left;
  font-weight: 850;
}

.faq-item p {
  display: none;
  margin: 0;
  padding: 0 20px 20px;
}

.faq-item.is-open p {
  display: block;
}

.newsletter-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: 30px;
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  background:
    radial-gradient(circle at 90% 10%, rgba(215, 181, 109, 0.2), transparent 40%),
    var(--panel);
}

.advice-card {
  display: grid;
  grid-template-columns: minmax(0, 820px);
  gap: clamp(20px, 3vw, 30px);
  align-items: start;
  justify-content: start;
  max-width: 1120px;
  margin-inline: auto;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 92% 8%, rgba(215, 181, 109, 0.18), transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    var(--panel);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.22);
}

.advice-copy h2 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.9rem, 5.6vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.advice-copy > p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.7;
}

.advice-email-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 28px;
}

.advice-mailto {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  padding: 14px 28px;
}

.advice-email-hint {
  max-width: 100%;
  font-size: 0.86rem;
  color: var(--muted);
  opacity: 0.78;
  margin: 0;
  overflow-wrap: anywhere;
}

.advice-form {
  display: grid;
  gap: 14px;
}

.advice-form label {
  display: grid;
  gap: 8px;
  color: var(--white);
  font-weight: 850;
}

.advice-form label span {
  color: var(--gray);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.advice-form input,
.advice-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  padding: 14px 16px;
  font: inherit;
  resize: vertical;
  outline: none;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.advice-form input:focus,
.advice-form textarea:focus {
  border-color: rgba(215, 181, 109, 0.62);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 0 4px rgba(215, 181, 109, 0.1);
}

.advice-form textarea {
  min-height: 180px;
  line-height: 1.55;
}

.advice-form .button {
  width: fit-content;
  min-width: 180px;
}

.signup-form label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-weight: 800;
}

.signup-row {
  display: flex;
  gap: 10px;
}

.form-message {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--muted);
}

.signup-form.is-success .form-message {
  color: var(--gold-2);
}

.signup-form.is-shaking {
  animation: shake 260ms ease;
}

@keyframes shake {
  25% {
    transform: translateX(-4px);
  }
  50% {
    transform: translateX(4px);
  }
  75% {
    transform: translateX(-3px);
  }
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  gap: 32px;
  align-items: start;
  padding: 42px clamp(18px, 6vw, 86px);
  border-top: 1px solid var(--line);
  background: #030303;
}

.footer-brand {
  margin-bottom: 16px;
}

.site-footer nav,
.social-links {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-weight: 780;
}

/* ── Hero topic grid ── */
.hero-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  max-width: 680px;
  margin-top: 22px;
}

.hero-topic-grid a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 800;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.hero-topic-grid a:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.09);
}

/* ── Founder story band ── */
.founder-story {
  padding: clamp(52px, 7vw, 88px) clamp(18px, 6vw, 86px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}

.story-intro {
  max-width: 820px;
  margin-bottom: 40px;
}

.story-intro h2 {
  margin-bottom: 12px;
}

.story-tagline {
  color: var(--muted);
  font-size: 1.06rem;
  font-style: italic;
  margin: 0;
}

.story-phases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.phase-card {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    var(--panel);
  transition: transform 180ms ease, border-color 180ms ease;
}

.phase-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.26);
}

.phase-num {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--gold-2);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.phase-card h3 {
  color: var(--white);
  font-size: 1.18rem;
  margin-bottom: 10px;
}

.phase-card p {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.65;
  margin: 0;
}

/* ── Workflow resource chips ── */
.workflow-tools-section {
  margin-top: 20px;
}

.workflow-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.workflow-tool-chip {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: inherit;
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.workflow-tool-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(215, 181, 109, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.workflow-tool-chip strong {
  color: var(--white);
  font-size: 0.95rem;
}

.workflow-tool-chip span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.footer-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 150ms;
}
.footer-linkedin:hover { color: var(--gold); }
.footer-linkedin svg { opacity: 0.7; flex-shrink: 0; }

.founder-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 10px 18px;
  border: 1px solid rgba(215, 181, 109, 0.25);
  border-radius: 40px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 200ms, color 200ms, background 200ms;
}
.founder-linkedin:hover {
  border-color: rgba(215, 181, 109, 0.6);
  color: var(--gold);
  background: rgba(215, 181, 109, 0.06);
}
.founder-linkedin svg { flex-shrink: 0; opacity: 0.8; }

/* ── Mission section ticker ─────────────────────────────────────────────── */
.mission-ticker-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  margin-bottom: clamp(24px, 3vw, 40px);
  opacity: 0.22;
  pointer-events: none;
}
.mission-ticker {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: ticker-scroll 38s linear infinite;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(0.95rem, 1.6vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold);
  white-space: nowrap;
}
.mission-ticker span::before { content: '·'; margin-right: 48px; color: var(--muted); }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Chapter progress checkmark ─────────────────────────────────────────── */
.chapter-progress.is-done {
  width: 100% !important;
  height: auto !important;
  background: none !important;
  position: absolute;
  top: 14px;
  right: 14px;
  left: auto;
  bottom: auto;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px !important;
  height: 22px !important;
  background: rgba(215, 181, 109, 0.15) !important;
  border: 1px solid rgba(215, 181, 109, 0.4) !important;
  border-radius: 50% !important;
  animation: check-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes check-pop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* ── Lesson hero canvas ─────────────────────────────────────────────────── */
#lesson-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ── Tool result flash animation ────────────────────────────────────────── */
@keyframes result-flash {
  0%   { opacity: 0.5; transform: translateY(-3px); }
  100% { opacity: 1;   transform: translateY(0); }
}
.result-flash {
  animation: result-flash 0.22s ease-out;
}

/* ── Advice form success state ──────────────────────────────────────────── */
.advice-form.is-success {
  pointer-events: none;
  opacity: 0.5;
}
.advice-success-msg {
  display: none;
  padding: 20px 24px;
  border: 1px solid rgba(215, 181, 109, 0.3);
  border-radius: 14px;
  background: rgba(215, 181, 109, 0.07);
  color: var(--gold);
  font-size: 0.95rem;
  line-height: 1.6;
  animation: result-flash 0.35s ease-out;
}
.advice-success-msg.is-visible { display: block; }

.subpage .site-header {
  position: sticky;
}

.subpage-nav {
  display: flex;
}

.detail-page {
  padding: 110px clamp(18px, 6vw, 86px) 90px;
}

.detail-hero {
  display: grid;
  gap: 18px;
  max-width: 1100px;
  margin-bottom: 44px;
}

.detail-hero p:not(.eyebrow) {
  max-width: 820px;
  color: var(--muted);
  font-size: 1.2rem;
}

.detail-grid,
.tool-lab {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.detail-stack {
  display: grid;
  gap: 20px;
  margin-bottom: 20px;
}

.detail-panel {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    var(--panel);
}

.detail-panel p,
.detail-panel li {
  color: var(--muted);
}

.detail-panel li + li {
  margin-top: 10px;
}

.prompt-panel {
  border-color: rgba(215, 181, 109, 0.42);
}

.copy-button {
  min-height: 42px;
  margin-top: 16px;
  border: 1px solid rgba(215, 181, 109, 0.45);
  border-radius: 10px;
  color: #080808;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  padding: 0 16px;
  font-weight: 900;
  cursor: pointer;
}

.module-shell {
  display: grid;
  grid-template-columns: minmax(250px, 320px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.module-sidebar {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 14px;
}

.module-sidebar-card,
.module-nav,
.module-card,
.module-lesson-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    var(--panel);
}

.module-sidebar-card {
  padding: 18px;
}

.module-nav {
  display: grid;
  gap: 2px;
  padding: 8px;
}

.module-nav a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 54px;
  padding: 10px;
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.module-nav a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.065);
}

.module-nav span,
.lesson-step-num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(215, 181, 109, 0.34);
  border-radius: 10px;
  color: var(--gold-2);
  background: rgba(215, 181, 109, 0.08);
  font-size: 0.72rem;
  font-weight: 950;
}

.module-nav strong {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.25;
}

.module-audience p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.module-main {
  display: grid;
  gap: 18px;
}

.module-overview,
.module-action-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 18px;
}

.module-card {
  padding: clamp(20px, 3vw, 28px);
}

.module-card h2,
.module-lesson-card h2 {
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 2.4vw, 2.45rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.module-card p,
.module-card li,
.module-lesson-card p {
  color: var(--muted);
}

.module-card-primary {
  background:
    radial-gradient(circle at 100% 0%, rgba(215, 181, 109, 0.14), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    var(--panel);
}

.module-card-quick {
  border-color: rgba(215, 181, 109, 0.34);
}

.module-lessons {
  display: grid;
  gap: 12px;
}

.module-lesson-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  padding: clamp(20px, 3vw, 28px);
  scroll-margin-top: 94px;
}

.module-lesson-card p:last-child {
  max-width: 980px;
  margin-bottom: 0;
  font-size: 0.98rem;
  line-height: 1.75;
}

.related-section {
  margin-top: 26px;
}

.apps-section {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(215, 181, 109, 0.1), transparent 38%),
    rgba(255, 255, 255, 0.025);
}

.apps-section-top {
  margin-top: 0;
}

.lesson-tools-section {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(96, 165, 250, 0.24);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(96, 165, 250, 0.14), transparent 40%),
    rgba(255, 255, 255, 0.025);
}

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

.lesson-tool-card {
  display: grid;
  gap: 10px;
  min-height: 174px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: inherit;
  background:
    linear-gradient(145deg, rgba(96, 165, 250, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.035);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.lesson-tool-card:hover {
  transform: translateY(-3px);
  border-color: rgba(96, 165, 250, 0.58);
  background:
    linear-gradient(145deg, rgba(96, 165, 250, 0.18), rgba(255, 255, 255, 0.055)),
    rgba(255, 255, 255, 0.05);
}

.lesson-tool-card span,
.lesson-tool-card small {
  width: fit-content;
  color: #93c5fd;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lesson-tool-card strong {
  color: var(--white);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.15;
}

.lesson-tool-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.section-head.compact {
  max-width: 820px;
  margin-bottom: 22px;
}

.section-head.compact h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

/* ── Next chapter guide banner ── */
/* ── Scroll progress bar ────────────────────────────────────────────────── */
#lesson-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  z-index: 10000;
  pointer-events: none;
  transition: width 80ms linear;
}

/* ── Money type badge ───────────────────────────────────────────────────── */
.money-type-badge {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px 9px 12px;
  background: rgba(8, 8, 8, 0.88);
  border: 1px solid rgba(215, 181, 109, 0.32);
  border-radius: 40px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.72rem;
  text-decoration: none;
  cursor: default;
  transition: border-color 200ms, transform 200ms;
  animation: badge-slide-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  animation-delay: 0.8s;
}
.money-type-badge:hover {
  border-color: rgba(215, 181, 109, 0.6);
  transform: translateY(-2px);
}
.money-type-badge .badge-emoji {
  font-size: 1rem;
  line-height: 1;
}
.money-type-badge .badge-name {
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.money-type-badge .badge-retake {
  color: rgba(184, 184, 184, 0.45);
  font-size: 0.65rem;
  margin-left: 3px;
  border-left: 1px solid rgba(255,255,255,0.1);
  padding-left: 7px;
  white-space: nowrap;
  text-decoration: none;
  transition: color 150ms;
}
.money-type-badge:hover .badge-retake {
  color: var(--muted);
}
@keyframes badge-slide-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Next chapter banner (bottom CTA) ──────────────────────────────────── */
.next-chapter-banner {
  margin: 0;
  padding: clamp(48px, 6vw, 80px) clamp(18px, 6vw, 86px);
  border-top: 1px solid rgba(215, 181, 109, 0.2);
  background: linear-gradient(160deg, rgba(215,181,109,0.065) 0%, rgba(215,181,109,0.01) 100%);
  position: relative;
  overflow: hidden;
}
.next-chapter-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(215,181,109,0.5), transparent);
}

.next-chapter-final {
  background: linear-gradient(160deg, rgba(255,255,255,0.03) 0%, rgba(215,181,109,0.05) 100%);
}

.next-chapter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 5vw, 60px);
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.next-chapter-copy {
  flex: 1;
  min-width: 260px;
}

.next-chapter-copy h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.8rem);
  margin-bottom: 12px;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.next-chapter-copy p {
  color: var(--muted);
  max-width: 540px;
  font-size: 1.05rem;
  line-height: 1.6;
}

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

.app-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: inherit;
  background: rgba(255, 255, 255, 0.045);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.app-card:hover {
  transform: translateY(-3px);
  border-color: rgba(215, 181, 109, 0.5);
  background: rgba(255, 255, 255, 0.075);
}

.app-logo-wrap {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  color: var(--gold-2);
  background: #fff;
  font-weight: 950;
  overflow: hidden;
}

.app-logo-wrap img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 6px;
}

.workflow-tool-chip {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.workflow-logo-wrap {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  color: var(--gold-2);
  background: #fff;
  font-weight: 950;
  overflow: hidden;
}

.workflow-logo-wrap img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 5px;
}

.workflow-tool-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.app-copy {
  display: grid;
  gap: 6px;
}

.app-copy strong {
  color: var(--white);
  font-size: 1rem;
}

.app-copy span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.48;
}

.app-copy small {
  display: inline-flex;
  width: fit-content;
  padding: 4px 9px;
  border: 1px solid rgba(215, 181, 109, 0.28);
  border-radius: 999px;
  color: var(--gold-2);
  background: rgba(215, 181, 109, 0.08);
  font-size: 0.75rem;
  font-weight: 850;
}

.related-section h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

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

.related-card {
  display: grid;
  gap: 10px;
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: inherit;
  background: rgba(255, 255, 255, 0.045);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease;
}

.related-card:hover {
  transform: translateY(-3px);
  border-color: rgba(215, 181, 109, 0.52);
}

.related-card span {
  color: var(--gold-2);
  font-weight: 900;
}

.related-card p {
  margin: 0;
  color: var(--muted);
}

/* ─────────────────────────────────────────────────────────────────────────
   FULL-PAGE BACKGROUND CANVAS
   Fixed canvas sits at z-index -4, behind the CSS grid and ambient orbs
───────────────────────────────────────────────────────────────────────── */
#page-bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -4;
}

/* ─────────────────────────────────────────────────────────────────────────
   BLUE AMBIENT ORB VARIANT
   Appears as 4th and 5th child spans in .ambient-bg
───────────────────────────────────────────────────────────────────────── */
.ambient-bg .orb-blue {
  background: radial-gradient(circle, rgba(96, 165, 250, 0.13), transparent 68%);
}

.ambient-bg span:nth-child(4) {
  top: 60vh;
  right: -8vw;
  animation-delay: -4s;
}

.ambient-bg span:nth-child(5) {
  top: 20vh;
  left: 35vw;
  animation-delay: -12s;
  width: 24vw;
}

/* ─────────────────────────────────────────────────────────────────────────
   HERO EXTRAS — disclaimer + tool link text
───────────────────────────────────────────────────────────────────────── */
.site-disclaimer {
  margin-top: 20px;
  padding: 12px 16px;
  border-left: 2px solid rgba(215, 181, 109, 0.4);
  color: var(--gray);
  font-size: 0.82rem;
  line-height: 1.55;
}

.hero-tool-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 780;
  text-decoration: none;
  transition: color 160ms ease;
}

.hero-tool-link:hover {
  color: var(--gold-2);
}

/* ─────────────────────────────────────────────────────────────────────────
   QUIZ SECTION
───────────────────────────────────────────────────────────────────────── */
.quiz-section {
  background: rgba(255, 255, 255, 0.025);
}

.quiz-shell {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    var(--panel);
  box-shadow: var(--shadow);
}

/* Start state */
.quiz-start {
  display: flex;
  justify-content: center;
}

.quiz-start-inner {
  display: grid;
  gap: 18px;
  max-width: 520px;
  text-align: center;
}

.quiz-start-copy {
  color: var(--muted);
  font-size: 1.06rem;
  margin: 0;
}

.quiz-disclaimer-inline {
  margin: 0;
  color: var(--gray);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

/* Question wrapper */
.quiz-question-wrap {
  display: grid;
  gap: 6px;
}

/* Progress bar */
.quiz-progress-bar-wrap {
  display: grid;
  gap: 8px;
  margin-bottom: 28px;
}

.quiz-progress-label {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.quiz-bar {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.quiz-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transition: width 300ms ease;
}

/* Question */
.quiz-q-text {
  font-size: clamp(1.12rem, 2.5vw, 1.52rem);
  line-height: 1.25;
  margin-bottom: 22px;
}

.quiz-options {
  display: grid;
  gap: 10px;
}

.quiz-options button {
  width: 100%;
  min-height: 52px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  text-align: left;
  font-size: 0.97rem;
  font-weight: 780;
  cursor: pointer;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}

.quiz-options button:hover {
  transform: translateY(-2px);
  border-color: rgba(215, 181, 109, 0.5);
  background: rgba(255, 255, 255, 0.1);
}

/* Result state */
.quiz-result {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(20px, 4vw, 40px);
  align-items: start;
}

.result-badge {
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  border: 1px solid rgba(215, 181, 109, 0.5);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(215, 181, 109, 0.18), rgba(255, 255, 255, 0.04));
  font-size: 2.2rem;
  flex-shrink: 0;
}

.result-body h3 {
  color: var(--gold-2);
  font-size: clamp(1.3rem, 2.8vw, 1.9rem);
  margin-bottom: 8px;
}

.result-body > p {
  color: var(--muted);
  max-width: 480px;
}

.result-recs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 20px 0;
}

.result-rec-col h4 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.result-rec-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.result-rec-col li {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.88rem;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 14px;
}

/* ─────────────────────────────────────────────────────────────────────────
   FINANCIAL CHAPTERS
───────────────────────────────────────────────────────────────────────── */
.chapters-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.chapter-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: clamp(20px, 3.5vw, 30px);
  border: 1px solid var(--line);
  border-radius: 22px;
  color: inherit;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    var(--panel);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.chapter-card:hover {
  transform: translateY(-4px);
  border-color: rgba(215, 181, 109, 0.5);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)),
    var(--panel);
}

.chapter-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(215, 181, 109, 0.4);
  border-radius: 12px;
  color: var(--gold-2);
  background: rgba(215, 181, 109, 0.08);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.chapter-body h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.chapter-body > p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 10px;
}

.chapter-for {
  color: var(--gray) !important;
  font-size: 0.8rem !important;
  font-style: italic;
  margin-bottom: 8px !important;
}

.chapter-meta {
  display: inline-flex;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted) !important;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.76rem !important;
  font-weight: 800;
  letter-spacing: 0.04em;
}

/* ─────────────────────────────────────────────────────────────────────────
   TOOLS SECTION — tool grid updated for 7 tools (3 col on wide)
───────────────────────────────────────────────────────────────────────── */
.tools-section .tool-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tools-disclaimer {
  margin-top: 22px;
  padding: 12px 18px;
  border: 1px solid rgba(215, 181, 109, 0.25);
  border-radius: 12px;
  color: var(--gray);
  background: rgba(215, 181, 109, 0.04);
  font-size: 0.82rem;
  line-height: 1.55;
}

.graph-panel {
  display: grid;
  gap: 18px;
}

#tool-page-controls {
  display: grid;
  gap: 12px;
}

#tool-page-controls label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

#tool-page-controls input {
  width: 100%;
  accent-color: var(--gold);
}

#tool-page-chart {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 640ms ease, transform 640ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 1120px) {
  .site-nav {
    gap: 14px;
    font-size: 0.84rem;
  }

  .hero,
  .tool-layout,
  .newsletter-card,
  .advice-card,
  .module-shell {
    grid-template-columns: 1fr;
  }

  .module-sidebar {
    position: static;
  }

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

  .hero-visual {
    min-height: 440px;
  }

  .workflow-grid,
  .automation-grid,
  .story-phases,
  .chapters-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .tool-panel {
    position: static;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 18px;
    right: 18px;
    display: grid;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(5, 5, 5, 0.94);
    box-shadow: var(--shadow);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 14px;
  }

  .stats-band,
  .mission-grid,
  .education-grid,
  .workflow-grid,
  .automation-grid,
  .tool-grid,
  .tool-metric-grid,
  .detail-grid,
  .apps-grid,
  .lesson-tools-grid,
  .module-overview,
  .module-action-grid,
  .tool-lab,
  .advice-card,
  .related-grid,
  .chapters-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quiz-result {
    grid-template-columns: 1fr;
  }

  .result-badge {
    width: 60px;
    height: 60px;
    font-size: 1.7rem;
  }

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

  .founder-photo {
    min-height: 420px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero {
    padding-top: 118px;
  }

  .hero-actions,
  .signup-row {
    flex-direction: column;
  }

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

  .advice-card {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .advice-copy h2 {
    font-size: clamp(2.4rem, 13vw, 4rem);
  }

  .advice-mailto,
  .advice-form .button {
    width: 100%;
    justify-content: center;
  }

  .mission-grid,
  .education-grid,
  .workflow-grid,
  .automation-grid,
  .tool-grid,
  .tool-metric-grid,
  .detail-grid,
  .apps-grid,
  .lesson-tools-grid,
  .module-nav,
  .module-overview,
  .module-action-grid,
  .tool-lab,
  .advice-card,
  .related-grid,
  .hero-topic-grid,
  .story-phases,
  .chapters-grid,
  .result-recs,
  .tools-section .tool-grid {
    grid-template-columns: 1fr;
  }

  .chapter-card {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .founder-card {
    padding: 14px;
  }

  .founder-photo {
    min-height: 340px;
  }

  .founder-text {
    padding: 16px 8px 8px;
  }

  .founder-text h2 {
    font-size: clamp(2.2rem, 13vw, 3.7rem);
    line-height: 0.96;
  }

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

  .quiz-shell {
    padding: 22px 18px;
  }

  .hero-visual {
    min-height: 500px;
  }

  .floating-card {
    width: 210px;
  }

  .card-two {
    top: 42%;
  }

  .testimonial-carousel {
    overflow: hidden;
  }
}

/* =============================================================
   BRAND ANIMATIONS
   Cormorant Garamond serif accents + motion system
   ============================================================= */

/* --- Fonts --- */
.brand-mark,
.chapter-num,
.stat-number,
.hero-kicker,
.result-badge-emoji {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
}

/* --- Keyframes --- */

/* Logo / brand-mark: B fades up, divider draws, wordmark fades */
@keyframes bigReveal {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes dividerDraw {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}

@keyframes wordmarkFade {
  from { opacity: 0; letter-spacing: 0.28em; }
  to   { opacity: 1; letter-spacing: 0.36em; }
}

@keyframes shimmerSweep {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes navStagger {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes borderTrace {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0% 0 0); }
}

@keyframes progressFill {
  from { width: 0; }
  to   { width: 100%; }
}

@keyframes floatUp {
  0%   { opacity: 0; transform: translateY(0) scale(1); }
  60%  { opacity: 0.7; }
  100% { opacity: 0; transform: translateY(-60px) scale(0.5); }
}

@keyframes typewriter {
  from { width: 0; }
  to   { width: 100%; }
}

@keyframes cursorBlink {
  0%, 100% { border-color: var(--gold); }
  50%       { border-color: transparent; }
}

/* --- Header brand-mark animation --- */
.site-header .brand-mark {
  overflow: hidden;
}

/* The "B" letter — fades up */
.site-header .brand-mark .bm-letter {
  display: inline-block;
animation: bigReveal 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.1s;
}

/* ═══════════════════════════════════════════════════════
   ENTRANCE ANIMATION OVERLAY
   ═══════════════════════════════════════════════════════ */

/* Overlay that covers everything */
#entrance-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #06060e;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.7s ease;
}
#entrance-overlay.fade-out {
  opacity: 0;
  pointer-events: none;
}
#entrance-overlay.hidden {
  display: none;
}

/* Canvas for particle network behind everything */
#entrance-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Two curtain panels */
.entrance-curtain {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  background: #0b0b18;
  border: 0 solid transparent;
  z-index: 2;
  transition: transform 0.72s cubic-bezier(0.76, 0, 0.24, 1);
}
.entrance-curtain-left  { left: 0;  transform-origin: left;  }
.entrance-curtain-right { right: 0; transform-origin: right; }
.entrance-curtain-left.open  { transform: translateX(-100%); }
.entrance-curtain-right.open { transform: translateX(100%);  }

/* Thin gold seam between curtains */
.entrance-curtain-left::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(201,168,76,0.6), transparent);
}
.entrance-curtain-right::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(201,168,76,0.6), transparent);
}

/* Center logo stage */
.entrance-stage {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

/* Logo mark circle */
.entrance-mark {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1.5px solid rgba(201,168,76,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  opacity: 0;
  transform: scale(0.3);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.entrance-mark.stamped {
  opacity: 1;
  transform: scale(1);
}
/* Pulse rings on the mark */
.entrance-mark::before,
.entrance-mark::after {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.25);
  opacity: 0;
}
.entrance-mark::after {
  inset: -24px;
  border-color: rgba(201,168,76,0.12);
}
.entrance-mark.stamped::before,
.entrance-mark.stamped::after {
  animation: entrance-ring 2s ease-out infinite;
}
.entrance-mark.stamped::after {
  animation-delay: 0.4s;
}
@keyframes entrance-ring {
  0%   { opacity: 0.7; transform: scale(0.85); }
  100% { opacity: 0;   transform: scale(1.4);  }
}

.entrance-mark-letter {
  font-size: 2.2rem;
  font-weight: 700;
  color: #c9a84c;
  line-height: 1;
  font-family: 'Cormorant Garamond', serif;
}

/* Gold shimmer sweep over the mark */
.entrance-mark-shimmer {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  pointer-events: none;
}
.entrance-mark-shimmer::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -150%;
  width: 80%;
  height: 200%;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255,255,255,0.35) 50%,
    transparent 70%
  );
  transform: skewX(-20deg);
  animation: entrance-shimmer 0.8s 0.35s ease-out forwards;
  opacity: 0;
}
@keyframes entrance-shimmer {
  0%   { left: -150%; opacity: 1; }
  100% { left: 200%;  opacity: 1; }
}

/* Wordmark */
.entrance-wordmark {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.entrance-wordmark.visible {
  opacity: 1;
  transform: translateY(0);
}
.entrance-wordmark-name {
  display: block;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #c9a84c;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: 'Cormorant Garamond', serif;
  line-height: 1;
}
.entrance-wordmark-sub {
  display: block;
  font-size: clamp(0.6rem, 1.2vw, 0.75rem);
  color: rgba(201,168,76,0.55);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  margin-top: 8px;
}

/* Typewriter tagline */
.entrance-tagline {
  margin-top: 28px;
  min-height: 1.4em;
  font-size: clamp(0.78rem, 1.4vw, 0.9rem);
  color: rgba(255,255,255,0.38);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  overflow: hidden;
  white-space: nowrap;
  border-right: 1.5px solid rgba(201,168,76,0.7);
  width: 0;
  opacity: 0;
}
.entrance-tagline.typing {
  opacity: 1;
  transition: opacity 0.2s ease;
  animation: entrance-cursor 0.75s step-end infinite;
}
.entrance-tagline.done {
  border-right-color: transparent;
  animation: none;
}
@keyframes entrance-cursor {
  0%, 100% { border-right-color: rgba(201,168,76,0.7); }
  50%       { border-right-color: transparent; }
}

/* Skip button */
.entrance-skip {
  position: absolute;
  bottom: 32px;
  right: 32px;
  z-index: 10;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 30px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.4s ease, color 0.2s, border-color 0.2s;
  font-family: inherit;
}
.entrance-skip.visible {
  opacity: 1;
}
.entrance-skip:hover {
  color: rgba(255,255,255,0.75);
  border-color: rgba(255,255,255,0.35);
}

/* Gold horizontal rule under logo */
.entrance-rule {
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.6), transparent);
  margin: 16px auto 0;
  transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.entrance-rule.expanded {
  width: 180px;
}

/* Stage logo/wordmark fade out before overlay dissolves */
.entrance-stage {
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.entrance-stage.fade-out {
  opacity: 0;
  transform: scale(0.94);
}

/* Body blocked from scroll during entrance */
body.entrance-active {
  overflow: hidden;
}
/* Quick-win polish: quiz results, copy rhythm, and mobile spacing */
.quiz-shell {
  max-width: 980px;
}

.quiz-result {
  grid-template-columns: 96px minmax(0, 1fr);
  gap: clamp(22px, 4vw, 46px);
}

.result-badge {
  width: 92px;
  height: 92px;
  border-radius: 24px;
  color: #171510;
  background:
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.68), transparent 42%),
    linear-gradient(145deg, #f2d990, #b8944d);
  font-size: 1.45rem;
  font-weight: 950;
  letter-spacing: 0.02em;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.result-body h3 {
  color: var(--white);
  font-size: clamp(1.65rem, 3.2vw, 2.55rem);
  line-height: 1.02;
}

.result-body > p {
  max-width: 740px;
  line-height: 1.72;
}

.result-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0;
}

.result-summary-grid div,
.result-action-plan {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
}

.result-summary-grid div {
  display: grid;
  gap: 6px;
  min-height: 88px;
  padding: 14px;
}

.result-summary-grid span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.result-summary-grid strong {
  color: var(--gold-2);
  font-size: clamp(0.98rem, 1.6vw, 1.12rem);
  line-height: 1.25;
}

.result-action-plan {
  padding: 18px;
  margin: 18px 0 20px;
}

.result-action-plan h4 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.result-action-plan ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.55;
}

.result-rec-col li a {
  color: inherit;
  text-decoration: none;
}

.result-rec-col li:hover {
  border-color: rgba(215, 181, 109, 0.45);
  background: rgba(215, 181, 109, 0.08);
}

@media (max-width: 900px) {
  .section {
    padding-top: clamp(52px, 8vw, 80px);
    padding-bottom: clamp(52px, 8vw, 80px);
  }

  .hero-copy h1,
  .section-head h2,
  .advice-copy h2 {
    max-width: 100%;
  }

  .quiz-result {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .result-persona-icon {
    margin: 0 auto;
  }

  .result-body {
    align-items: center;
    text-align: center;
  }

  .result-action-plan {
    text-align: left;
  }

  .result-actions {
    justify-content: center;
  }

  .result-badge {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    font-size: 1.15rem;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: auto;
    padding-top: 110px;
  }

  .hero-copy h1 {
    font-size: clamp(3.4rem, 17vw, 5.2rem);
  }

  .hero-proof-row {
    gap: 10px;
  }

  .quiz-shell {
    padding: 22px 16px;
    border-radius: 20px;
  }

  .quiz-options button {
    min-height: 58px;
    padding: 14px 14px;
    font-size: 0.94rem;
  }

  .result-summary-grid,
  .result-recs {
    grid-template-columns: 1fr;
  }

  .result-actions .button,
  .result-actions button {
    width: 100%;
    justify-content: center;
  }

  .chapter-card,
  .tool-card,
  .lesson-card,
  .workflow-card {
    border-radius: 18px;
  }
}

/* ============================================================
   BRAND UPGRADE — targeted premium layer
   ============================================================ */

/* --- Cormorant Garamond for all primary headings --- */
h1,
h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
}

/* Keep sub-headings that live inside panels feeling slightly
   lighter so they don't compete with section h2s */
.module-card h2,
.detail-panel h2,
.section-head h2 {
  font-weight: 600;
}

/* --- Chapter card: shimmer sweep + gold glow on hover --- */
.chapter-card {
  position: relative;
  overflow: hidden;
}

/* Shimmer layer — escapes grid flow via absolute positioning */
.chapter-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 25%,
    rgba(215, 181, 109, 0.07) 50%,
    transparent 75%
  );
  background-size: 250% 100%;
  background-position: -100% 0;
  pointer-events: none;
  border-radius: inherit;
  transition: background-position 0s;
}

.chapter-card:hover {
  box-shadow: 0 12px 44px rgba(215, 181, 109, 0.1);
}

.chapter-card:hover::after {
  background-position: 200% 0;
  transition: background-position 0.65s ease;
}

/* Chapter number: Cormorant for the decorative numeral */
.chapter-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.75;
  letter-spacing: 0.02em;
}

/* --- Progress bar on chapter card hover --- */
/* Only applies to the bar state — .is-done keeps its checkmark */
.chapter-progress:not(.is-done) {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  border-radius: 0 0 0 22px;
  transition: width 420ms ease;
  pointer-events: none;
}

.chapter-card:hover .chapter-progress:not(.is-done) {
  width: 100%;
}

/* --- Quiz result: Cormorant type name reveal --- */
.result-body h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.8rem, 3.8vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* --- Mission stat counter row --- */
.mission-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--line);
  margin-bottom: clamp(28px, 4vw, 48px);
}

.mission-stat {
  padding: 30px 24px;
  background: rgba(255, 255, 255, 0.025);
  position: relative;
  transition: background 220ms ease;
}

.mission-stat::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transition: width 400ms ease;
}

.mission-stat:hover::before {
  width: 100%;
}

.mission-stat:hover {
  background: rgba(215, 181, 109, 0.04);
}

.mission-stat-num {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  font-weight: 700;
  color: var(--gold-2);
  line-height: 1;
  letter-spacing: -0.02em;
}

.mission-stat-label {
  display: block;
  margin-top: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Mobile: collapse to 2x2 grid */
@media (max-width: 680px) {
  .mission-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* --- Testimonials marquee section --- */
.testimonials-section {
  padding: clamp(52px, 6vw, 80px) 0;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.testimonials-section .section-head {
  text-align: center;
  padding: 0 clamp(20px, 5vw, 60px);
  margin-bottom: clamp(28px, 3.5vw, 40px);
}

.testimonials-section .section-head .eyebrow {
  margin-bottom: 8px;
}

.testimonials-mask {
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    black 7%,
    black 93%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    black 7%,
    black 93%,
    transparent
  );
}

.testimonials-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: testi-scroll 42s linear infinite;
}

.testimonials-track:hover {
  animation-play-state: paused;
}

@keyframes testi-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.testimonial-item {
  flex-shrink: 0;
  width: 300px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.07),
    rgba(255, 255, 255, 0.02)
  ),
  var(--panel);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.testimonial-item:hover {
  border-color: rgba(215, 181, 109, 0.35);
  box-shadow: 0 8px 32px rgba(215, 181, 109, 0.07);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
}

.testimonial-stars span {
  font-size: 0.9rem;
  color: var(--gold);
}

.testimonial-quote {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 16px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonial-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), rgba(215, 181, 109, 0.35));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  color: #050505;
  flex-shrink: 0;
}

.testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-name {
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.02em;
}

.testimonial-role {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* --- Founder card: gold border + depth --- */
.founder-card {
  border: 1px solid rgba(215, 181, 109, 0.22);
  background: linear-gradient(
    135deg,
    rgba(215, 181, 109, 0.04),
    rgba(255, 255, 255, 0.02)
  ),
  var(--panel);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(