:root {
  --cream: #fbf6ec;
  --cream-2: #fff9ef;
  --cream-3: #fff1dd;
  --navy: #081d3a;
  --navy-2: #102d52;
  --orange: #f09a22;
  --orange-2: #d7760c;
  --ink: #172033;
  --muted: #687487;
  --line: #e8dcc8;
  --green-soft: #eaf8ef;
  --green: #1f8a5b;
  --blue-soft: #eaf2ff;
  --purple-soft: #f3efff;
  --shadow: 0 26px 60px rgba(8, 29, 58, .13);
  --shadow-soft: 0 18px 45px rgba(8, 29, 58, .09);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: 1.5;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
::selection { background: rgba(240, 154, 34, .25); }

.container {
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 236, .88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.navbar {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.logo {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--navy);
  white-space: nowrap;
}
.logo span { color: var(--orange); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  color: #43536d;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a { transition: color .2s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--orange-2); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--cream-2);
  color: var(--navy);
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  margin: 4px auto;
  border-radius: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 15px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 18px 40px rgba(240, 154, 34, .25); }
.btn-primary:hover { background: var(--orange-2); }
.btn-secondary { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-ghost { color: var(--orange-2); background: transparent; padding: 0; min-height: auto; }
.btn-wide { min-width: 220px; }

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream-3);
  color: var(--orange-2);
  font-size: 12px;
  font-weight: 700;
}
.badge.white { background: #fff; color: var(--orange-2); }
.badge.green { background: var(--green-soft); color: var(--green); }
.badge.blue { background: var(--blue-soft); color: #35608f; }

h1, h2, h3, .serif {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.08;
  margin: 0;
}
h1 { font-size: clamp(44px, 6vw, 76px); }
h2 { font-size: clamp(34px, 4vw, 54px); }
h3 { font-size: clamp(20px, 2.2vw, 28px); }
p { margin: 0; color: var(--muted); }
.lead { font-size: clamp(17px, 1.8vw, 21px); line-height: 1.7; }
.small { font-size: 14px; }
.tiny { font-size: 12px; }
.orange { color: var(--orange-2); }
.navy { color: var(--navy); }
.white { color: #fff; }
.muted { color: var(--muted); }

.section { padding: 86px 0; }
.section.tight { padding: 54px 0; }
.hero { padding: 46px 0 74px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  align-items: center;
  gap: 70px;
}
.hero-copy h1 { margin: 24px 0 26px; }
.hero-copy .actions { display: flex; gap: 16px; flex-wrap: wrap; margin: 32px 0 18px; }
.hero-note { color: var(--orange-2); font-size: 13px; font-weight: 700; }
.mock-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.mock-header {
  height: 64px;
  padding: 22px 28px;
  background: var(--cream-2);
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
}
.mock-body { padding: 44px 34px 52px; }
.progress-track { height: 10px; background: #e9dbc5; border-radius: 999px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--orange); border-radius: inherit; }
.next-card {
  margin-top: 24px;
  max-width: 305px;
  padding: 24px;
  border: 1px solid #f0c78f;
  border-radius: 22px;
  background: #fff0dc;
}
.leo-row { display: flex; align-items: center; gap: 20px; margin-top: 22px; justify-content: flex-end; }
.leo-img { width: 130px; height: 130px; object-fit: contain; }
.leo-bubble {
  max-width: 230px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 35px rgba(8,29,58,.11);
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}
.panel.pad { padding: clamp(24px, 3vw, 34px); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
  min-height: 180px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.card.soft-orange { background: #fff1dc; }
.card.soft-green { background: #eaf8ef; }
.card.soft-blue { background: #edf5ff; }
.card.soft-purple { background: #f5efff; }
.card.soft-yellow { background: #fff6d7; }
.card.soft-slate { background: #f3f6fa; }
.card h3 { margin: 18px 0 12px; font-family: "DM Sans", sans-serif; font-size: 22px; letter-spacing: -.03em; line-height: 1.25; }
.card p { font-size: 15px; }
.stat-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; padding: 34px; }
.feature-number {
  display: inline-flex; align-items: center; justify-content: center;
  height: 30px; min-width: 118px; padding: 0 20px;
  border-radius: 999px; border: 1px solid var(--line); background: #fff;
  color: var(--orange-2); font-size: 12px; font-weight: 700;
}
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 42px; }
.section-head p { max-width: 600px; }

.dark-band {
  background: var(--navy);
  color: #fff;
  border-radius: 28px;
  padding: clamp(32px, 5vw, 58px);
  display: grid;
  grid-template-columns: 1fr minmax(360px, .85fr);
  gap: 50px;
  align-items: center;
  box-shadow: var(--shadow);
}
.dark-band p { color: #c9d6e5; }
.opportunity-card, .faq-card-dark {
  background: #fff;
  color: var(--navy);
  border-radius: 22px;
  padding: 26px;
}
.progress-label { margin-top: 10px; color: var(--muted); font-size: 12px; }
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 26px;
  padding: 42px;
  background: var(--cream-3);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
}

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px; }
.step-card { min-height: 210px; padding: 32px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.step-num { width: 42px; height: 42px; border-radius: 50%; background: var(--orange); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 24px; }
.insights-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.insight-card { padding: 24px; min-height: 140px; border-radius: 18px; border: 1px solid var(--line); background: var(--cream-2); }
.faq-preview { background: var(--navy); border-radius: 28px; padding: 42px; color: #fff; box-shadow: var(--shadow); }
.faq-preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.faq-mini { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-radius: 16px; background: var(--navy-2); color: #fff; border: 1px solid rgba(255,255,255,.12); }

.community-hero { padding-bottom: 44px; }
.community-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; }
.community-stack { display: grid; gap: 18px; }
.community-pill-card { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.community-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.community-card { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-soft); }
.community-card .meta { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0; }
.hub-preview { display: grid; grid-template-columns: 1.15fr .85fr; gap: 36px; align-items: stretch; }
.hub-main, .hub-side { padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.list-lines { display: grid; gap: 12px; margin-top: 22px; }
.line-item { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--cream-2); }
.discord-card { display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: center; padding: 32px; border: 1px solid #284769; border-radius: 26px; background: var(--navy); color: #fff; }
.discord-card p { color: #c9d6e5; }

.pricing-grid { display: grid; grid-template-columns: 1fr 1.08fr 1fr; gap: 58px; align-items: center; }
.price-card { min-height: 570px; padding: 36px; background: #fff; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-soft); }
.price-card.featured { background: var(--navy); color: #fff; transform: translateY(-34px); }
.price-card.featured p, .price-card.featured li { color: #d7e1ee; }
.price { font-family: "Fraunces", Georgia, serif; font-size: 48px; line-height: 1; font-weight: 600; margin: 36px 0 30px; }
.check-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.check-list li { color: var(--ink); display: flex; gap: 12px; align-items: flex-start; }
.check-list li:before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--green-soft); flex: 0 0 auto; margin-top: 2px; box-shadow: inset 0 0 0 5px var(--green-soft); border: 4px solid var(--green-soft); }
.price-card.featured .check-list li:before { background: var(--green); border-color: rgba(255,255,255,.1); }
.waitlist-box { display: grid; grid-template-columns: 1.1fr 1.4fr; gap: 34px; align-items: center; padding: 42px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.form-row { display: flex; gap: 14px; }
.input, select.input, textarea.input {
  width: 100%; min-height: 54px; border: 1px solid var(--line); border-radius: 16px; background: #fff;
  color: var(--navy); padding: 0 18px; outline: none; transition: border-color .2s ease, box-shadow .2s ease;
}
textarea.input { min-height: 110px; padding-top: 16px; resize: vertical; }
.input:focus { border-color: rgba(240,154,34,.75); box-shadow: 0 0 0 4px rgba(240,154,34,.12); }
.form-message { min-height: 22px; font-size: 13px; font-weight: 700; margin-top: 12px; color: var(--muted); }
.form-message.success { color: var(--green); }
.form-message.error { color: #d94c3d; }
.form-legal { color: var(--muted); font-size: 12px; margin-top: 10px; }

.faq-list { display: grid; gap: 16px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 26px; border: 0; background: transparent; color: var(--navy); text-align: left; font-weight: 800; cursor: pointer; }
.faq-answer { display: none; padding: 0 26px 24px; color: var(--muted); }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .plus { transform: rotate(45deg); }
.plus { color: var(--orange-2); transition: transform .2s ease; }

.success-page { min-height: 100vh; display: grid; place-items: center; padding: 36px; background: var(--navy); }
.success-card { max-width: 760px; background: #fff; border-radius: 42px; padding: 70px; text-align: center; box-shadow: var(--shadow); }
.success-card .leo-img { margin: 0 auto 10px; width: 170px; height: 170px; }

.site-footer { padding: 54px 0; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; }
.footer-links { display: grid; gap: 12px; color: var(--muted); font-size: 14px; }
.footer-links strong { color: var(--navy); margin-bottom: 6px; }

@media (max-width: 1024px) {
  .container { width: min(100% - 40px, var(--max)); }
  .navbar { height: 76px; }
  .menu-toggle { display: block; }
  .nav-links, .nav-actions {
    position: fixed;
    left: 20px;
    right: 20px;
    display: none;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav-links {
    top: 86px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border-radius: 22px 22px 0 0;
  }
  .nav-links a { padding: 14px 12px; border-radius: 12px; }
  .nav-links a:hover { background: var(--cream-3); }
  .nav-actions {
    top: 332px;
    padding: 14px;
    border-top: 0;
    border-radius: 0 0 22px 22px;
    flex-direction: column;
  }
  body.menu-open .nav-links, body.menu-open .nav-actions { display: flex; }
  .nav-actions .btn { width: 100%; }
  .hero-grid, .community-showcase, .hub-preview, .dark-band, .waitlist-box { grid-template-columns: 1fr; }
  .hero { padding-top: 34px; }
  .card-grid, .steps-grid, .community-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .card-grid.four, .insights-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid .featured { transform: none; }
  .price-card { min-height: auto; }
  .stat-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, var(--max)); }
  .section { padding: 58px 0; }
  .hero-grid { gap: 38px; }
  .hero-copy .actions, .form-row { flex-direction: column; }
  .btn, .btn-wide { width: 100%; }
  .mock-body { padding: 28px 22px 34px; }
  .leo-row { flex-direction: column-reverse; align-items: flex-start; }
  .leo-img { width: 110px; height: 110px; }
  .stat-strip, .cta-band, .discord-card { grid-template-columns: 1fr; display: grid; padding: 24px; }
  .card-grid, .card-grid.two, .card-grid.four, .steps-grid, .insights-grid, .community-grid, .pricing-grid, .form-grid, .faq-preview-grid, .footer-grid { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .section-head p { margin-top: 16px; }
  .card, .step-card, .community-card, .price-card, .panel.pad { padding: 24px; }
  .dark-band, .faq-preview { padding: 28px; }
  .waitlist-box { padding: 24px; }
  .success-card { padding: 36px 22px; border-radius: 28px; }
  .logo { font-size: 24px; }
}

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

/* ============================================================
   Polyment additions (appended; nothing above is modified):
   - personalizer "One topic. Your path."
   - evidence stat numbers
   - manifesto band
   ============================================================ */

/* Personalizer */
.personalizer { padding: clamp(22px, 3vw, 36px); }
.persona-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.persona-tab {
  min-height: 46px; padding: 0 22px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--cream-2);
  color: var(--navy); font-weight: 700; font-size: 14px; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.persona-tab:hover { transform: translateY(-1px); }
.persona-tab.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }

.persona-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.persona-chip {
  min-height: 40px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: #43536d;
  font-weight: 700; font-size: 13px; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.persona-chip:hover { transform: translateY(-1px); }
.persona-chip.is-active { background: var(--cream-3); color: var(--orange-2); border-color: #f0c78f; }

.path-panel { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: start; }
.path-intro { color: var(--muted); font-size: 15px; margin: 0 0 22px; }
.path-intro strong { color: var(--navy); font-weight: 700; }
.path-track { counter-reset: step; list-style: none; margin: 0; padding: 0; }
.path-step { counter-increment: step; position: relative; padding: 0 0 24px 46px; }
.path-step:before {
  content: counter(step); position: absolute; left: 0; top: -2px;
  width: 32px; height: 32px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); color: var(--orange-2);
  font-family: "DM Sans", sans-serif; font-weight: 800; font-size: 13px;
  display: grid; place-items: center;
}
.path-step:after {
  content: ""; position: absolute; left: 15px; top: 32px; bottom: 2px;
  width: 2px; background: var(--line);
}
.path-step:last-child { padding-bottom: 0; }
.path-step:last-child:after { display: none; }
.path-step span {
  display: block; padding-top: 4px;
  font-family: "DM Sans", sans-serif; font-size: 16px; font-weight: 700;
  color: var(--navy); letter-spacing: -.01em; line-height: 1.4;
}

.path-aside { background: var(--cream-2); border: 1px solid var(--line); border-radius: 22px; padding: 26px; }
.path-goal { font-family: "Fraunces", Georgia, serif; font-size: 21px; line-height: 1.3; color: var(--navy); margin: 14px 0 18px; font-weight: 600; }
.leo-mini { display: flex; align-items: center; gap: 14px; margin: 18px 0; }
.leo-mini .leo-img { width: 66px; height: 66px; }
.leo-mini p { font-size: 13px; font-weight: 700; color: var(--navy); }
.path-aside .btn { width: 100%; }

.path-panel.swap .path-main, .path-panel.swap .path-aside { animation: pathfade .32s ease; }
@keyframes pathfade { from { opacity: .15; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Evidence numbers */
.stat-num { font-family: "Fraunces", Georgia, serif; font-weight: 600; letter-spacing: -.03em; line-height: 1; font-size: clamp(40px, 5vw, 58px); color: var(--orange-2); display: block; }

/* Manifesto band */
.manifesto { background: var(--navy); color: #fff; border-radius: 28px; padding: clamp(40px, 6vw, 74px); text-align: center; box-shadow: var(--shadow); }
.manifesto .badge { margin-bottom: 22px; }
.manifesto h2 { color: #fff; max-width: 900px; margin: 0 auto; }
.manifesto h2 em { font-style: italic; color: var(--orange); }
.manifesto p { color: #c9d6e5; max-width: 620px; margin: 22px auto 0; }

@media (max-width: 1024px) {
  .path-panel { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 680px) {
  .personalizer { padding: 20px; }
  .path-aside { padding: 22px; }
}
