/* ========================================================
   MoneyABC Design System - Realtime Edition
   Typography: Outfit (Display) & Figtree (Body)
   ======================================================== */

:root {
  --bg: #fafafa;
  --surface: #ffffff;
  --surface-raised: #f3f5f7;
  --ink: #1b232b;
  --muted: #56626d;
  --line: #dfe3e6;
  --gold: #f7b731;
  --gold-glow: rgba(247, 183, 49, 0.28);
  --green: #10b981;
  --green-glow: rgba(16, 185, 129, 0.25);
  --band: #f1f4f8;
  --bandtext: #1b232b;
  --bandmuted: #56626d;
  --bandline: #dfe3e6;
  --d: 'Outfit', system-ui, -apple-system, sans-serif;
  --b: 'Figtree', system-ui, -apple-system, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 12px 30px -10px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 24px 50px -28px rgba(0, 0, 0, 0.35);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #12181d;
    --surface: #1a222a;
    --surface-raised: #222c36;
    --ink: #f1f3f4;
    --muted: #9aa6af;
    --line: #2b3640;
    --band: #0b0f13;
    --bandtext: #f1f3f4;
    --bandline: #202830;
    --bandmuted: #8895a0;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #12181d;
  --surface: #1a222a;
  --surface-raised: #222c36;
  --ink: #f1f3f4;
  --muted: #9aa6af;
  --line: #2b3640;
  --band: #0b0f13;
  --bandtext: #f1f3f4;
  --bandline: #202830;
  --bandmuted: #8895a0;
  color-scheme: dark;
}

*, *::before, *::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--b);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

h1, h2, h3, h4 {
  font-family: var(--d);
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.7rem, 6.5vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

p {
  margin: 0;
}

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

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 clamp(20px, 3.5vw, 48px);
}

section {
  padding: 80px 0;
}

.lead {
  font-size: 1.18rem;
  color: var(--muted);
  max-width: 58ch;
  margin-top: 18px;
}

.dot {
  display: inline-block;
  width: 0.32em;
  height: 0.32em;
  border-radius: 50%;
  background: var(--gold);
  margin: 0 0.04em;
}

/* Header & Nav */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 68px;
}

.logo {
  font: 800 1.4rem var(--d);
  letter-spacing: -0.03em;
  color: var(--ink);
  display: flex;
  align-items: center;
}

nav ul {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--muted);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

nav a:hover, nav a.active {
  color: var(--ink);
}

nav a.active {
  border-color: var(--gold);
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile Header Controls & Hamburger */
.mobile-header-controls {
  display: none;
  align-items: center;
  gap: 10px;
}

.mobile-nav-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
  color: var(--ink);
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.mobile-nav-btn:hover {
  background: var(--surface-raised);
}

.hamburger-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Off-Canvas Mobile Drawer */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.mobile-nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: var(--surface);
  border-left: 1px solid var(--line);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.35);
}

.mobile-nav-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.mobile-nav-close-btn {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.15s ease;
}

.mobile-nav-close-btn:hover {
  color: var(--ink);
  background: var(--surface-raised);
}

.mobile-drawer-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  overflow-y: auto;
}

.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-list a {
  display: flex;
  align-items: center;
  padding: 13px 16px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--muted);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.15s ease;
}

.mobile-nav-list a:hover,
.mobile-nav-list a.active {
  color: var(--ink);
  background: var(--surface-raised);
}

.mobile-nav-list a.active {
  color: var(--gold);
}

.mobile-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  margin-top: 20px;
}

/* Pulsating live beacon */
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: color-mix(in srgb, var(--green) 12%, transparent);
  color: var(--green);
  border: 1px solid color-mix(in srgb, var(--green) 30%, transparent);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font: 700 0.78rem var(--d);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.live-beacon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 var(--green-glow);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gold);
  color: #1b232b !important;
  font: 700 1rem var(--d);
  padding: 13px 26px;
  border-radius: var(--radius-full);
  border: 0;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 12px var(--gold-glow);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px var(--gold-glow);
}

.btn:active {
  transform: translateY(0);
}

.btn.sm {
  padding: 8px 18px;
  font-size: 0.9rem;
}

.btn.ghost {
  background: transparent;
  color: var(--ink) !important;
  border: 2px solid var(--ink);
  box-shadow: none;
}

.btn.ghost:hover {
  background: color-mix(in srgb, var(--ink) 6%, transparent);
}

.btn.dark {
  background: #1b232b;
  color: #ffffff !important;
  box-shadow: var(--shadow-sm);
}

:root[data-theme="dark"] .btn.dark {
  background: var(--surface-raised);
  border: 1px solid var(--line);
  color: var(--ink) !important;
}

/* Theme Toggle */
.theme-btn {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1rem;
  transition: border-color 0.15s, color 0.15s;
}

.theme-btn:hover {
  border-color: var(--gold);
  color: var(--ink);
}

/* Hero Section */
.hero {
  padding: 60px 0 80px;
}

.hero .wrap, .two {
  display: grid;
  gap: 56px;
  align-items: center;
}

.hero .wrap {
  grid-template-columns: 1.15fr 0.85fr;
}

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

.facts {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 42px;
  color: var(--muted);
  font-size: 0.95rem;
}

.facts b {
  display: block;
  font: 800 1.6rem var(--d);
  color: var(--ink);
  line-height: 1.1;
}

/* Live Ledger & Tracker Cards */
.ledger {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.ledger::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), #ff8f00);
}

.ledger h3 {
  font-size: 1.05rem;
  color: var(--muted);
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.96rem;
  transition: background-color 0.3s;
}

.row span:last-child {
  color: var(--muted);
  white-space: nowrap;
}

.row.win {
  border-bottom: 0;
  padding-bottom: 0;
  font-weight: 700;
}

.row.win span:last-child {
  color: #1b232b;
  background: var(--gold);
  padding: 3px 14px;
  border-radius: var(--radius-full);
}

.row.highlight-new {
  animation: flashGreen 2.5s ease-out;
}

@keyframes flashGreen {
  0% {
    background-color: rgba(16, 185, 129, 0.35);
  }
  100% {
    background-color: transparent;
  }
}

/* Band Sections */
.band {
  background: var(--band);
  color: var(--bandtext);
  border-top: 1px solid var(--bandline);
  border-bottom: 1px solid var(--bandline);
}

.band .lead {
  color: var(--bandmuted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  border-top: 1px solid var(--bandline);
  padding-top: 24px;
}

.step {
  padding: 12px 16px 20px 0;
}

.step .n {
  font: 800 2.5rem var(--d);
  color: var(--gold);
  line-height: 1;
}

.step h3 {
  margin: 12px 0 8px;
}

.step p {
  color: var(--bandmuted);
  font-size: 0.98rem;
}

/* Pan-African Regional Rollout */
.pan {
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}

.pan .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.pan .c {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  transition: transform 0.2s, border-color 0.2s;
}

.pan .c:hover {
  transform: translateY(-3px);
}

.pan .c b {
  font: 800 1.35rem var(--d);
  display: block;
}

.pan .c span {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 4px;
  display: block;
}

.pan .c.on {
  border-color: var(--gold);
  box-shadow: inset 0 0 0 1px var(--gold), var(--shadow-sm);
  background: color-mix(in srgb, var(--gold) 4%, var(--surface));
}

/* Curriculum Weeks */
.weeks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.week {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.tag {
  display: inline-block;
  background: var(--gold);
  color: #1b232b;
  font: 700 0.85rem var(--d);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  width: max-content;
}

.week p {
  color: var(--muted);
  margin: 10px 0 16px;
}

.out {
  border-top: 1px dashed var(--line);
  padding-top: 16px;
  margin-top: auto;
  font-size: 0.95rem;
}

.clip {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1.5px dashed var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* 90-Day Runway Track */
.track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 48px;
  position: relative;
}

.track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 11px;
  height: 2px;
  background: var(--bandline);
}

.stage {
  position: relative;
  padding: 44px 28px 0 0;
}

.stage::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px var(--band);
}

.stage small {
  color: var(--gold);
  font: 700 0.85rem var(--d);
  text-transform: uppercase;
}

.stage h3 {
  margin: 4px 0 8px;
}

.stage p {
  color: var(--bandmuted);
  font-size: 0.96rem;
}

/* ========================================================
   Founder Stories Video Grid - Rich & Well-Balanced Cards
   ======================================================== */
.vids {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 26px;
  margin-top: 36px;
  width: 100%;
}

/* First video (oldest/first uploaded) gets center spotlight treatment */
.vid:first-child {
  grid-column: 1 / -1;
  max-width: 900px;
  margin: 0 auto 20px;
}

/* On larger screens with multiple columns, center the first video */
@media (min-width: 1200px) {
  .vids {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .vid:first-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 100%;
  }
  
  .vid:first-child .thumb {
    aspect-ratio: 16/9 !important;
  }
  
  .vid:first-child .meta {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  .vids {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .vid:first-child {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
  }
  
  .vid:first-child .meta {
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

.vid {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s, border-color 0.22s;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
}

.vid:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
  border-color: var(--gold);
}

.thumb {
  aspect-ratio: 16/10 !important;
  background: linear-gradient(145deg, #1d2834 0%, #10161e 100%);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Dark gradient overlay for thumbnails - ensures badges/play/footer stay readable */
.thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.08) 40%,
    rgba(0, 0, 0, 0.08) 60%,
    rgba(0, 0, 0, 0.55) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.thumb-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
  gap: 8px;
}

.plat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font: 700 0.74rem var(--d);
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.plat.tt {
  background: #010101;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.plat.yt {
  background: #ff0000;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 8px rgba(255, 0, 0, 0.3);
}

.category-pill {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  color: var(--gold);
  border: 1px solid rgba(245, 166, 35, 0.35);
  font: 700 0.7rem var(--d);
  padding: 3px 9px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.play-wrapper {
  position: relative;
  z-index: 2;
}

.play {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--gold);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s;
}

.vid:hover .play {
  transform: scale(1.12);
  background: #ffb733;
}

.play::after {
  content: "";
  border-left: 14px solid #1b232b;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin-left: 4px;
}

.thumb-footer {
  position: absolute;
  bottom: 10px;
  left: 12px;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
  font-weight: 500;
}

.verified-dot {
  color: #10b981;
  font-size: 0.8rem;
}

.meta {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.founder-identity {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
  gap: 8px;
}

.founder-identity b {
  font: 750 1.18rem var(--d);
  color: var(--ink);
}

.country-pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(245, 166, 35, 0.12);
  color: var(--gold);
  border: 1px solid rgba(245, 166, 35, 0.25);
  white-space: nowrap;
}

.business-title {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.founder-quote {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink);
  font-style: italic;
  background: color-mix(in srgb, var(--ink) 4%, transparent);
  border-left: 3px solid var(--gold);
  padding: 10px 14px;
  border-radius: 0 8px 8px 0;
  margin: 0 0 16px 0;
}

.vid-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--ink) 4%, transparent);
  border: 1px solid var(--line);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  transition: all 0.2s;
  margin-top: auto;
}

.vid:hover .vid-action {
  background: var(--gold);
  color: #1b232b;
  border-color: var(--gold);
}

.vid-arrow {
  font-size: 1.05rem;
  font-weight: 700;
  transition: transform 0.2s;
}

.vid:hover .vid-arrow {
  transform: translate(2px, -2px);
}

/* Filters */
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.filters button, .filter-btn {
  font: 600 0.95rem var(--b);
  color: var(--ink);
  background: transparent;
  border: 2px solid var(--line);
  border-radius: var(--radius-full);
  padding: 8px 20px;
  cursor: pointer;
  transition: all 0.15s;
}

.filters button.active, .filter-btn.active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

/* Fee & FAQ */
.fee-hero {
  background: var(--gold);
  color: #1b232b;
}

.fee-hero .price {
  font: 800 clamp(4.5rem, 12vw, 7.5rem)/0.9 var(--d);
  letter-spacing: -0.05em;
}

.faq {
  max-width: 800px;
  margin: 36px auto 0;
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

summary {
  cursor: pointer;
  font: 700 1.15rem var(--d);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--muted);
}

details[open] summary::after {
  content: "−";
}

details p {
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.65;
}

/* Forms */
form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid;
  gap: 18px;
  box-shadow: var(--shadow-sm);
}

label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 0.92rem;
}

label small {
  font-weight: 400;
  color: var(--muted);
}

input, select, textarea {
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.chk {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
  font-size: 0.92rem;
}

.chk input {
  width: auto;
  margin-top: 5px;
}

/* Tables */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-top: 24px;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

th, td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

th {
  background: var(--surface-raised);
  font: 700 0.88rem var(--d);
  letter-spacing: 0.02em;
  color: var(--muted);
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

/* Real-Time Toast Notifications */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 380px;
  pointer-events: none;
}

.toast {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
  pointer-events: auto;
  animation: slideIn 0.35s ease-out;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.toast.sale {
  border-left-color: var(--green);
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 64px;
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: auto;
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}

footer p {
  max-width: 58ch;
  margin-top: 10px;
}

footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

/* ========================================================
   Login Split Layout - Carousel Left, Form Right
   ======================================================== */
.login-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 72px);
  padding: 0;
}

.login-carousel-side {
  position: relative;
  background: var(--band);
  color: var(--bandtext);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 48px 56px;
  overflow: hidden;
}

.login-carousel-side::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(247, 183, 49, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(16, 185, 129, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.carousel-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--band), transparent);
  pointer-events: none;
  z-index: 2;
}

.login-logo {
  font: 800 1.45rem var(--d);
  color: var(--ink);
  position: relative;
  z-index: 3;
  margin-bottom: 0;
}

.login-mobile-logo {
  display: none;
  font-size: 1.4rem;
  justify-content: center;
  margin-bottom: 12px;
}

.carousel-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 3;
  padding: 40px 0;
  max-width: 580px;
  width: 100%;
  margin: 0 auto;
}

.carousel-track {
  position: relative;
  min-height: 400px;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  justify-content: center;
  pointer-events: none;
}

.carousel-slide.active {
  display: flex;
  pointer-events: auto;
  animation: slideFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-tag {
  display: inline-block;
  width: max-content;
  background: rgba(247, 183, 49, 0.15);
  color: var(--gold);
  font: 700 0.78rem var(--d);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(247, 183, 49, 0.3);
  margin-bottom: 18px;
}

.slide-headline {
  font: 800 clamp(2rem, 3.2vw, 2.75rem)/1.15 var(--d);
  letter-spacing: -0.03em;
  color: var(--bandtext);
  margin-bottom: 16px;
}

.slide-desc {
  color: var(--bandmuted);
  font-size: 1.06rem;
  line-height: 1.65;
  max-width: 54ch;
  margin-bottom: 28px;
}

.slide-stat {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font: 800 2.2rem var(--d);
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--bandmuted);
  margin-top: 4px;
}

/* Testimonial Card */
.slide-testimonial {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-top: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

:root[data-theme="dark"] .slide-testimonial {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.testimonial-quote {
  font-size: 1.06rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--bandtext);
  margin-bottom: 18px;
}

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

.testimonial-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #ff8f00);
  color: #1b232b;
  font: 800 0.9rem var(--d);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--bandtext);
}

.testimonial-author span {
  font-size: 0.82rem;
  color: var(--bandmuted);
}

/* Mini Steps */
.slide-steps {
  display: grid;
  gap: 12px;
}

.mini-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--ink);
  transition: all 0.2s;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.mini-step:hover {
  border-color: var(--gold);
  transform: translateX(2px);
}

:root[data-theme="dark"] .mini-step {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.07);
  color: var(--bandmuted);
  box-shadow: none;
}

:root[data-theme="dark"] .mini-step:hover {
  background: rgba(255, 255, 255, 0.07);
}

.mini-step-n {
  font: 800 0.85rem var(--d);
  color: var(--gold);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: rgba(247, 183, 49, 0.12);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Carousel Dots */
.carousel-dots {
  display: flex;
  gap: 8px;
  margin-top: 28px;
}

.carousel-dot {
  width: 32px;
  height: 4px;
  border-radius: var(--radius-full);
  background: color-mix(in srgb, var(--ink) 25%, transparent);
  border: 0;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}

:root[data-theme="dark"] .carousel-dot {
  background: rgba(255, 255, 255, 0.2);
}

.carousel-dot.active {
  width: 48px;
  background: var(--gold);
}

.carousel-dot:hover {
  background: rgba(255, 255, 255, 0.4);
}

.carousel-footer {
  position: relative;
  z-index: 3;
}

/* Login Form Side */
.login-form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 48px;
  background: var(--bg);
}

.login-form-container {
  width: 100%;
  max-width: 620px;
}

.login-form-header {
  margin-bottom: 28px;
}

.login-title {
  font: 800 clamp(2.1rem, 3.2vw, 2.7rem)/1.1 var(--d);
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 8px;
}

.login-subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.5;
}

.login-error {
  display: flex;
  align-items: center;
  gap: 10px;
  background: color-mix(in srgb, #ef4444 10%, var(--surface));
  border: 1px solid color-mix(in srgb, #ef4444 30%, var(--line));
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 22px;
  color: #ef4444;
  font-size: 0.94rem;
  font-weight: 600;
}

.login-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 42px 40px;
  display: grid;
  gap: 20px;
  box-shadow: 0 20px 48px -12px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.04);
}

:root[data-theme="dark"] .login-form {
  box-shadow: 0 24px 56px -12px rgba(0, 0, 0, 0.55);
  border-color: rgba(255, 255, 255, 0.09);
}

.login-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
}

.login-form input {
  height: 52px;
  padding: 14px 18px;
  font-size: 1.02rem;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.login-form input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

/* Demo Accounts Section */
.demo-accounts {
  margin-top: 10px;
  padding: 20px 22px;
  background: var(--surface-raised);
  border: 1px dashed var(--line);
  border-radius: 14px;
}

.demo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.demo-header-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 700 0.84rem var(--d);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.demo-hint {
  font-size: 0.78rem;
  color: var(--muted);
}

.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.demo-card-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
  text-align: left;
  width: 100%;
}

.demo-card-btn:hover {
  border-color: var(--gold);
  background: color-mix(in srgb, var(--gold) 6%, var(--bg));
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.demo-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 8px;
}

.demo-card-top svg {
  color: var(--muted);
  transition: transform 0.18s, color 0.18s;
}

.demo-card-btn:hover .demo-card-top svg {
  color: var(--gold);
  transform: translateX(3px);
}

.demo-email {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink);
  word-break: break-all;
  margin-bottom: 3px;
}

.demo-meta {
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.35;
}

.demo-role {
  font: 700 0.72rem var(--d);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.demo-role.admin {
  background: color-mix(in srgb, var(--gold) 18%, transparent);
  color: #92400e;
  border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent);
}

:root[data-theme="dark"] .demo-role.admin {
  color: var(--gold);
}

.demo-role.founder {
  background: color-mix(in srgb, var(--green) 18%, transparent);
  color: #065f46;
  border: 1px solid color-mix(in srgb, var(--green) 40%, transparent);
}

:root[data-theme="dark"] .demo-role.founder {
  color: var(--green);
}

.login-footer-link {
  text-align: center;
  font-size: 0.94rem;
  color: var(--muted);
  margin-top: 10px;
}

.login-footer-link a {
  font-weight: 700;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.login-footer-link a:hover {
  color: var(--gold);
}

/* ========================================================
   Expansive, Well-Balanced Centered Hero Banner
   ======================================================== */
.hero-banner {
  padding: 52px 0 36px !important;
  position: relative;
  background: radial-gradient(ellipse 75% 55% at 50% 0%, rgba(245, 166, 35, 0.1) 0%, transparent 75%);
}

.hero-banner .wrap.hero-wrap-centered {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  grid-template-columns: 1fr !important;
  max-width: 1160px !important;
  margin: 0 auto !important;
  padding: 0 clamp(20px, 4vw, 48px) !important;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 166, 35, 0.12);
  border: 1px solid rgba(245, 166, 35, 0.32);
  color: var(--gold);
  border-radius: 999px;
  padding: 7px 20px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 18px !important;
  transition: transform 0.15s ease, background 0.15s ease;
}

.hero-badge-pill:hover {
  transform: translateY(-1px);
  background: rgba(245, 166, 35, 0.18);
}

.hero-banner h1.hero-title {
  font-size: clamp(3.2rem, 5.8vw, 4.8rem);
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin: 0 0 16px 0 !important;
  text-align: center;
  max-width: 1020px;
}

.hero-banner .hero-lead {
  font-size: clamp(1.15rem, 1.55vw, 1.34rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 860px;
  margin: 0 auto 30px auto !important;
  text-align: center;
}

.hero-banner .hero-cta {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
  margin: 0 0 34px 0 !important;
}

.hero-banner .hero-cta .btn {
  padding: 15px 32px !important;
  font-size: 1.06rem !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.18s;
}

.hero-banner .hero-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 166, 35, 0.28);
}

.hero-banner .hero-cta .btn.ghost {
  border-width: 2px !important;
  padding: 14px 30px !important;
}

.hero-banner .hero-facts {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(24px, 4.5vw, 64px) !important;
  flex-wrap: wrap !important;
  padding: 16px 42px !important;
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12) !important;
  margin: 0 !important;
}

.hero-banner .hero-facts .fact-item {
  text-align: center;
}

.hero-banner .hero-facts .fact-item b {
  font: 850 clamp(1.45rem, 2.2vw, 1.95rem) var(--d);
  color: var(--ink);
  line-height: 1.15;
  display: block;
}

.hero-banner .hero-facts .fact-item span {
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 4px;
  display: block;
}

.hero-banner .hero-facts .fact-divider {
  width: 1px;
  height: 36px;
  background: var(--line);
}

@media (max-width: 640px) {
  .hero-banner {
    padding: 32px 0 20px !important;
  }
  .hero-banner .hero-facts {
    padding: 14px 20px !important;
    gap: 18px !important;
  }
  .hero-banner .hero-facts .fact-divider {
    display: none;
  }
}

/* ========================================================
   Tracker Showcase Section (Balanced & Expansive)
   ======================================================== */
.section-tracker {
  padding: 30px 0 72px;
}

.section-tracker .tracker-container {
  max-width: 960px;
  margin: 0 auto;
}

.tracker-header-intro {
  text-align: center;
  margin-bottom: 20px;
}

.tracker-kicker {
  display: inline-block;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 6px;
}

.tracker-header-intro h2 {
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 6px;
}

.tracker-header-intro .lead {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto;
}

.tracker-centered-card {
  width: 100%;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.tracker-sales-box {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.tracker-sales-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.tracker-view-all {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.85rem;
  transition: opacity 0.2s;
}

.tracker-view-all:hover {
  text-decoration: underline;
  opacity: 0.85;
}

.section-fullwidth .wrap {
  max-width: 100%;
  padding: 0 clamp(24px, 5vw, 80px);
}

.section-fullwidth .lead {
  max-width: none;
}

/* ========================================================
   COMPREHENSIVE MOBILE & TABLET RESPONSIVENESS
   ======================================================== */

/* Tables mobile container helper */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 16px;
}

/* Tablet & Mobile Nav breakpoint (max-width: 920px) */
@media (max-width: 920px) {
  .desktop-nav,
  .desktop-actions {
    display: none !important;
  }

  .mobile-header-controls {
    display: flex !important;
  }

  header .nav {
    min-height: 60px;
  }

  /* Two column layout collapses to 1 column */
  .two {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }

  /* Three column grid becomes 2 cols */
  .three {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px;
  }

  /* Four column pan becomes 2 cols */
  .four, .pan .grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px;
  }

  /* Steps and weeks */
  .steps {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }

  .weeks {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .track {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }

  .track::before {
    left: 11px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 2px;
    height: auto;
  }

  .stage {
    padding: 0 0 0 48px;
  }

  .hero .wrap {
    grid-template-columns: 1fr !important;
    gap: 36px;
  }

  /* Login split becomes stacked */
  .login-split {
    grid-template-columns: 1fr;
  }

  .login-carousel-side {
    padding: 28px 24px;
    min-height: 400px;
  }

  .carousel-track {
    min-height: 280px;
  }

  .login-form-side {
    padding: 36px 24px;
  }

  .demo-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile Devices (max-width: 680px) */
@media (max-width: 680px) {
  /* Page Padding & Spacing */
  section {
    padding: 45px 0;
  }

  .wrap {
    padding: 0 16px;
  }

  h1 {
    font-size: clamp(2rem, 7vw, 2.7rem);
    line-height: 1.15;
  }

  h2 {
    font-size: clamp(1.6rem, 5.5vw, 2.1rem);
    line-height: 1.2;
  }

  .lead {
    font-size: 1rem;
    line-height: 1.5;
    margin-top: 12px;
  }

  /* All Grids collapse to single column on mobile */
  .three,
  .four,
  .cards,
  .pan .grid,
  .pair {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  /* Cards Mobile Styling */
  .card,
  .week,
  .step,
  .pan .c {
    padding: 20px 18px;
    border-radius: var(--radius-md);
  }

  /* Video Cards */
  .vids {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .vid-player-wrap {
    border-radius: var(--radius-sm);
  }

  .vid-body {
    padding: 16px;
  }

  /* Touch Targets for interactive elements */
  .btn {
    min-height: 46px;
    font-size: 0.95rem;
    padding: 11px 22px;
  }

  .btn.sm {
    min-height: 38px;
    padding: 7px 16px;
  }

  /* Hero Section Mobile */
  .hero {
    padding: 32px 0 24px;
  }

  .hero-stats {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }

  /* Ticker Banner */
  .live-ticker {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  /* Curriculum and pricing mobile */
  .curriculum-module {
    padding: 18px 16px;
  }

  .fee-card {
    padding: 24px 18px;
  }

  /* Login on small screens */
  .login-carousel-side {
    display: none;
  }

  .login-mobile-logo {
    display: flex;
  }

  .login-form-side {
    padding: 28px 16px;
  }

  .login-form {
    padding: 24px 18px;
  }

  .login-split {
    min-height: 100vh;
  }

  /* Form Elements */
  input, select, textarea {
    font-size: 16px !important; /* Prevents auto-zoom on iOS */
    min-height: 42px;
  }

  /* Footer stacks on mobile */
  footer .wrap {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  footer ul {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  footer {
    padding: 32px 0 40px;
  }

  /* Toast container mobile positioning */
  #toast-container {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }

  .toast {
    font-size: 0.88rem;
    padding: 12px 16px;
  }

  /* Checkout page - inline style overrides */
  .checkout-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Fix checkout inline 2-col key-value grid */
  [style*="grid-template-columns:repeat(2, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  /* Fix checkout tuition flex row */
  [style*="justify-content:space-between"][style*="padding-top:14px"] {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 10px;
  }

  [style*="justify-content:space-between"][style*="padding-top:14px"] [style*="text-align:right"] {
    text-align: left !important;
  }

  /* Fix checkout header bar */
  [style*="justify-content:space-between"][style*="margin-bottom:20px"][style*="border-bottom:1px solid"] {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 8px;
  }

  [style*="justify-content:space-between"][style*="margin-bottom:20px"][style*="border-bottom:1px solid"] [style*="text-align:right"] {
    text-align: left !important;
  }

  /* Dashboard pane header inline flex overrides */
  [style*="display:flex"][style*="justify-content:space-between"][style*="flex-wrap:wrap"][style*="margin-bottom:28px"],
  [style*="display:flex"][style*="justify-content:space-between"][style*="align-items:flex-start"][style*="flex-wrap:wrap"] {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 14px !important;
  }

  /* Dashboard action button row wrapping on mobile */
  [style*="display:flex"][style*="gap:10px"][style*="align-items:center"][style*="flex-wrap:wrap"] {
    width: 100%;
  }

  [style*="display:flex"][style*="gap:10px"][style*="align-items:center"][style*="flex-wrap:wrap"] .btn.sm {
    flex: 1;
    min-width: 0;
    font-size: 0.82rem;
    padding: 8px 12px;
    text-align: center;
    justify-content: center;
  }

  /* Hero banner mobile adjustments */
  .hero-banner h1.hero-title {
    font-size: clamp(2rem, 7vw, 3rem) !important;
  }

  .hero-banner .hero-lead {
    font-size: clamp(0.95rem, 3vw, 1.1rem) !important;
  }

  .hero-banner .hero-cta .btn {
    width: 100% !important;
    padding: 13px 24px !important;
    font-size: 0.95rem !important;
  }

  /* Ledger card mobile */
  .ledger {
    padding: 18px;
  }

  .row {
    font-size: 0.88rem;
    padding: 10px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .row span:last-child {
    white-space: normal;
  }

  /* FAQ on mobile */
  summary {
    font-size: 1rem;
  }

  /* Section tracker mobile */
  .section-tracker {
    padding: 20px 0 40px;
  }

  .tracker-header-intro h2 {
    font-size: clamp(1.3rem, 4vw, 1.6rem);
  }
}

/* Extra Small Phones (max-width: 420px) */
@media (max-width: 420px) {
  .wrap {
    padding: 0 12px;
  }

  .logo {
    font-size: 1.25rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  /* Extra compact sections */
  section {
    padding: 30px 0;
  }

  /* Hero facts strip */
  .hero-banner .hero-facts {
    padding: 10px 14px !important;
    gap: 14px !important;
    flex-direction: column !important;
    border-radius: 12px !important;
  }

  .hero-banner .hero-facts .fact-item b {
    font-size: clamp(1.2rem, 3vw, 1.5rem) !important;
  }

  .hero-banner .hero-facts .fact-item span {
    font-size: 0.82rem;
  }

  /* Fee hero compact */
  .fee-hero .price {
    font-size: clamp(3rem, 10vw, 5rem) !important;
  }

  /* Filters wrap better */
  .filters {
    gap: 6px;
    margin-top: 20px;
  }

  .filters button,
  .filter-btn {
    padding: 6px 14px;
    font-size: 0.85rem;
  }

  /* Pan cards smaller */
  .pan .c {
    padding: 16px 18px;
  }

  .pan .c b {
    font-size: 1.15rem;
  }

  /* Checkout form button */
  #pay-submit-btn {
    font-size: 0.95rem !important;
    padding: 13px !important;
  }

  /* Fix inline checkout payment badges */
  [style*="display:flex"][style*="gap:8px"][style*="flex-wrap:wrap"] span {
    font-size: 0.74rem !important;
  }

  /* Join form action bar */
  .join-action-bar {
    flex-direction: column;
    gap: 12px;
  }

  .join-submit-group {
    width: 100%;
    justify-content: space-between;
  }

  .join-agreements {
    max-width: 100%;
  }
}

/* ========================================================
   COMPACT NON-SCROLLABLE JOIN APPLICATION FORM
   ======================================================== */
.join-section {
  padding: 30px 0 45px;
}

.join-grid-compact {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  align-items: start;
}

.join-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.join-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font: 700 0.76rem var(--d);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: color-mix(in srgb, var(--gold) 15%, transparent);
  border: 1px solid var(--gold);
  color: #1b232b;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  width: max-content;
}

:root[data-theme="dark"] .join-badge {
  color: var(--gold);
}

.join-title {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
}

.join-lead {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 2px;
}

.join-steps-compact {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.step-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}

.step-mini span {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  color: #1b232b;
  font: 800 0.75rem var(--d);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.join-tip-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 0.84rem;
  line-height: 1.5;
}

.join-tip-box strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.join-tip-box p {
  color: var(--muted);
  margin: 0;
}

.join-guarantee-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  color: var(--green);
  font-weight: 600;
}

/* Compact Form Card */
.join-form-compact {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-md);
}

.join-form-row {
  display: grid;
  gap: 12px;
}

.join-form-row.cols-4 {
  grid-template-columns: 1.3fr 0.8fr 1fr 1.3fr;
}

.join-form-row.cols-3 {
  grid-template-columns: 1.3fr 1.3fr 1fr;
}

.join-form-row.cols-2 {
  grid-template-columns: 1fr 1fr;
}

.join-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.join-field label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.join-field label small {
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--muted);
}

.join-field input,
.join-field select,
.join-field textarea {
  width: 100%;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 0.88rem;
  transition: all 0.15s ease;
}

.join-field input:focus,
.join-field select:focus,
.join-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

.join-field textarea {
  min-height: 62px;
  height: 62px;
  line-height: 1.45;
  resize: vertical;
}

/* Bottom Action & Agreement Bar */
.join-action-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  margin-top: 4px;
  flex-wrap: wrap;
}

.join-agreements {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.8rem;
  color: var(--muted);
  max-width: 55%;
}

.join-chk {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  margin: 0;
  font-size: 0.8rem;
}

.join-chk input {
  margin: 0;
  width: 15px;
  height: 15px;
  accent-color: var(--gold);
  flex-shrink: 0;
}

.join-submit-group {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.join-fee-badge {
  text-align: right;
  line-height: 1.15;
}

.join-fee-badge strong {
  font: 800 1.35rem var(--d);
  color: var(--ink);
  display: block;
}

.join-fee-badge small {
  font-size: 0.75rem;
  color: var(--muted);
}

.btn-join-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gold);
  color: #1b232b;
  font: 700 0.95rem var(--d);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 14px var(--gold-glow);
  transition: all 0.15s ease;
}

.btn-join-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px var(--gold-glow);
}

@media (max-width: 960px) {
  .join-grid-compact {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .join-form-row.cols-4,
  .join-form-row.cols-3 {
    grid-template-columns: 1fr 1fr;
  }
  .join-agreements {
    max-width: 100%;
  }
}

@media (max-width: 580px) {
  .join-form-row.cols-4,
  .join-form-row.cols-3,
  .join-form-row.cols-2 {
    grid-template-columns: 1fr;
  }
  .join-action-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .join-submit-group {
    justify-content: space-between;
    width: 100%;
  }
}

/* ========================================================
   Campus Students Entrepreneurship Section (Ages 18-24)
   ======================================================== */
.campus-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.campus-section-band {
  background: var(--surface-raised);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.campus-container {
  max-width: 1120px;
  margin: 0 auto;
}

.campus-header {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 48px;
}

.campus-badge-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.campus-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: color-mix(in srgb, var(--gold) 14%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--line));
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font: 700 0.82rem var(--d);
  color: var(--ink);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 2px 10px rgba(247, 183, 49, 0.12);
}

.campus-title {
  font: 800 2.45rem var(--d);
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 16px;
}

.campus-title .gradient-text {
  background: linear-gradient(135deg, var(--gold) 0%, #e08b00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.campus-lead {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto 20px;
}

.campus-lead strong {
  color: var(--ink);
}

.campus-motto-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: color-mix(in srgb, var(--green) 10%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--green) 35%, transparent);
  border-radius: var(--radius-full);
  font: 600 0.95rem var(--b);
  color: var(--ink);
  margin-top: 6px;
}

.campus-motto-icon {
  color: var(--green);
  font-size: 1.1rem;
}

/* Grid of 6 Benefits */
.campus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 48px;
}

.campus-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.campus-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.campus-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--gold) 65%, var(--line));
  box-shadow: 0 14px 32px -10px rgba(0, 0, 0, 0.08), 0 0 0 1px color-mix(in srgb, var(--gold) 35%, transparent);
}

.campus-card:hover::before {
  opacity: 1;
}

.campus-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.campus-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--gold) 14%, var(--surface));
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--gold) 30%, transparent);
  transition: transform 0.2s ease;
}

.campus-card:hover .campus-icon-box {
  transform: scale(1.08);
  background: color-mix(in srgb, var(--gold) 22%, var(--surface));
}

.campus-card-tag {
  font: 700 0.74rem var(--d);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--surface-raised);
  color: var(--muted);
  border: 1px solid var(--line);
}

.campus-card h3 {
  font: 700 1.22rem var(--d);
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.3;
}

.campus-card p {
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
  flex-grow: 1;
}

.campus-card-highlight {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 6px;
}

.campus-card-highlight svg {
  color: var(--green);
  flex-shrink: 0;
}

/* Callout & Registration Action Box */
.campus-callout {
  background: linear-gradient(135deg, var(--surface) 0%, color-mix(in srgb, var(--gold) 6%, var(--surface)) 100%);
  border: 1.5px solid color-mix(in srgb, var(--gold) 45%, var(--line));
  border-radius: var(--radius-lg);
  padding: 36px 38px;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.campus-callout-info {
  flex: 1;
}

.campus-callout-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.campus-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font: 700 0.8rem var(--d);
  background: var(--surface-raised);
  border: 1px solid var(--line);
  color: var(--ink);
}

.campus-pill-badge.price {
  background: var(--gold);
  color: #1b232b;
  border-color: var(--gold);
  font-weight: 800;
}

.campus-pill-badge.urgency {
  background: color-mix(in srgb, #e63946 12%, var(--surface));
  color: #d90429;
  border-color: color-mix(in srgb, #e63946 35%, transparent);
}

.campus-pill-badge.date {
  background: color-mix(in srgb, var(--green) 12%, var(--surface));
  color: var(--green);
  border-color: color-mix(in srgb, var(--green) 35%, transparent);
}

.campus-callout h4 {
  font: 800 1.5rem var(--d);
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.25;
}

.campus-callout-desc {
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.campus-callout-desc strong {
  color: var(--ink);
}

.campus-callout-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
  min-width: 260px;
}

.btn-campus-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gold);
  color: #1b232b;
  font: 700 1.05rem var(--d);
  padding: 15px 26px;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 6px 20px var(--gold-glow);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.btn-campus-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px var(--gold-glow);
  background: #f8c24f;
  color: #1b232b;
}

.btn-campus-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  color: var(--ink);
  font: 600 0.92rem var(--b);
  padding: 11px 20px;
  border-radius: var(--radius-full);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: all 0.18s ease;
  text-align: center;
}

.btn-campus-secondary:hover {
  border-color: var(--ink);
  background: color-mix(in srgb, var(--ink) 4%, transparent);
}

/* Hybrid Curriculum Highlights */
.campus-curriculum-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin: 40px 0 48px;
}

.campus-split-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
}

.campus-split-card h3 {
  font: 800 1.35rem var(--d);
  color: var(--ink);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.campus-split-card p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
  margin-bottom: 20px;
}

.campus-schedule-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.campus-schedule-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.93rem;
  line-height: 1.45;
  color: var(--ink);
}

.campus-schedule-item svg {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.campus-schedule-item strong {
  color: var(--ink);
}

@media (max-width: 960px) {
  .campus-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .campus-callout {
    flex-direction: column;
    align-items: stretch;
    padding: 28px 24px;
  }
  .campus-callout-actions {
    min-width: 100%;
  }
  .campus-curriculum-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .campus-grid {
    grid-template-columns: 1fr;
  }
  .campus-title {
    font-size: 1.85rem;
  }
  .campus-lead {
    font-size: 1.02rem;
  }
  .campus-callout-pills {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ========================================================
   MONEYABC COMMUNITY & REFERRAL NETWORK STYLES
   ======================================================== */

.principle-callout {
  background: linear-gradient(135deg, rgba(247, 183, 49, 0.16) 0%, rgba(16, 185, 129, 0.12) 100%);
  border: 1px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 32px 0;
  box-shadow: 0 4px 18px rgba(247, 183, 49, 0.08);
}

.principle-callout .principle-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
}

.principle-callout p {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.5;
  font-weight: 600;
  color: var(--ink);
}

.principle-callout strong {
  color: var(--ink);
  font-weight: 800;
}

/* 3 Pillars of Strength */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}

.pillar-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.pillar-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--surface-raised);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--gold);
  border: 1px solid var(--line);
}

.pillar-card h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
  color: var(--ink);
}

.pillar-card p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* 5 Core Member Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.benefit-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(247, 183, 49, 0.6);
}

.benefit-card.featured {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-raised) 100%);
  border-color: var(--gold);
}

.benefit-num {
  font-family: var(--d);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--gold);
  background: var(--surface-raised);
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border: 1px solid var(--line);
}

.benefit-card h3 {
  font-size: 1.28rem;
  margin-bottom: 12px;
  color: var(--ink);
  line-height: 1.25;
}

.benefit-card p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.benefit-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--surface-raised);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 999px;
  width: fit-content;
}

/* Membership Commitment Table Card */
.commitment-table-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  margin-top: 36px;
}

.commitment-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 14px;
}

.commitment-table th {
  text-align: left;
  padding: 14px 18px;
  font-family: var(--d);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--surface-raised);
  border-bottom: 2px solid var(--line);
}

.commitment-table th:first-child {
  border-top-left-radius: 10px;
  width: 32%;
}

.commitment-table th:last-child {
  border-top-right-radius: 10px;
}

.commitment-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 0.97rem;
  vertical-align: middle;
}

.commitment-table tr:last-child td {
  border-bottom: none;
}

.commitment-table tr:hover td {
  background: rgba(247, 183, 49, 0.04);
}

.commitment-table td.element-name {
  font-weight: 700;
  color: var(--ink);
}

.commitment-table td.element-desc {
  color: var(--muted);
}

/* 4-Step MoneyABC Model */
.model-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.model-step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.model-step-badge {
  font-family: var(--d);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
}

.model-step-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--ink);
}

.model-step-card p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 960px) {
  .pillar-grid {
    grid-template-columns: 1fr;
  }
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .model-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .commitment-table th,
  .commitment-table td {
    padding: 12px 14px;
    font-size: 0.9rem;
  }
}

@media (max-width: 640px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .model-steps {
    grid-template-columns: 1fr;
  }
  .principle-callout {
    flex-direction: column;
    padding: 20px;
    text-align: center;
  }
  .commitment-table-card {
    padding: 20px 14px;
  }
  .commitment-table th:first-child {
    width: 40%;
  }
}

