/* Base Setup & Reset */
*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

:root {
	--primary-color: #27ae60; /* Vibrant green matching the success state */
	--primary-dark: #1e8449;
	--text-color: #2c3e50;
	--text-muted: #566573;
	--bg-light: #f8f9fa;
	--white: #ffffff;
    --accent: #c8381a;
    --accent-dk: #9e2a12;
	--accent-red: #e74c3c;
	--border-radius: 8px;
	--shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
	--ink: #1a1714;
    --rule: #cec6b8;
	--sidebar-w:   260px;
	--topbar-h:    56px;
	--border-lt:   #e3e8ec;
	--bg-sidebar:  #f0f2f4;
	--nav-active-bg: #e8f5f0;
	--nav-active-border: var(--primary-dark);
}

body {
	font-family: 'Source Serif 4', Georgia, serif;
	font-weight: 300;
	line-height: 1.6;
	color: var(--text-color);
	background-color: var(--bg-light);
}

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

/* Container Layout */
.container {
	width: 100%;
	max-width: 750px;
	margin: 0 auto;
	padding: 0 20px;
}

/* ── HERO KICKER ── */
.kicker {
	background: var(--ink);
	color: var(--white);
	text-align: center;
	padding: 0.55rem 1rem;
	font-family: 'DM Mono', monospace;
	font-size: 0.78rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

/* Header Image Styles */
header {
	background-color: var(--white);
	border-bottom: 1px solid #eaeded;
}

.header-image {
	width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
}

/* Typography & Layout elements */
h2 {
	font-size: 1.8rem;
	margin-top: 2.5rem;
	margin-bottom: 1.2rem;
	color: #111;
	font-weight: 800;
	line-height: 1.3;
}

h3 {
	font-size: 1.4rem;
	margin-top: 2rem;
	margin-bottom: 1rem;
	color: #111;
}

p {
	margin-bottom: 1.2rem;
	font-size: 1.1rem;
	color: var(--text-color);
}

.highlight {
	font-weight: 700;
	color: var(--primary-dark);
}

/* Story Section */
.story-section {
	background: var(--white);
	padding: 30px 20px;
	margin-top: 20px;
	border-radius: var(--border-radius);
	box-shadow: var(--shadow);
}

.backstory-tag {
	display: inline-block;
	background: #eaf2f8;
	color: #2980b9;
	padding: 4px 12px;
	border-radius: 20px;
	font-weight: 600;
	font-size: 0.85rem;
	margin-bottom: 15px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

/* Targeted Frustration Box */
.audience-box {
	padding: 25px 20px;
	margin: 30px 0;
	border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.audience-box h3 {
	margin-top: 0;
	color: #c0392b;
	font-size: 1.3rem;
}

.audience-list {
	list-style: none;
	margin: 1.5rem 0 2rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}
.audience-list li {
	padding: 0.9rem 1rem 0.9rem 1.2rem;
	border-left: 3px solid var(--accent);
	background: var(--white);
	font-size: 1.02rem;
	box-shadow: 2px 2px 0 var(--rule);
}
.audience-list li strong {
	display: block;
	font-family: 'Oswald', sans-serif;
	font-size: 0.68rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 0.25rem;
}

/* Compensation Plan Styling */
.plan-box {
	background: #f4fbf7;
	border: 2px solid #d4efdf;
	padding: 25px 20px;
	margin: 30px 0;
	border-radius: var(--border-radius);
}

.plan-box h3 {
	margin-top: 0;
	color: var(--primary-dark);
	font-size: 1.5rem;
	border-bottom: 2px solid #d4efdf;
	padding-bottom: 10px;
	margin-bottom: 15px;
}

.price-badge {
	display: inline-block;
	background: var(--primary-color);
	color: white;
	padding: 5px 15px;
	font-weight: bold;
	font-size: 1.2rem;
	border-radius: 4px;
	margin-bottom: 15px;
}

.plan-box ul {
	padding-left: 20px;
	margin-bottom: 20px;
}

.plan-box li {
	margin-bottom: 8px;
}

/* Table Styling for Levels */
.level-table {
	width: 100%;
	border-collapse: collapse;
	margin: 20px 0;
	background: var(--white);
	border-radius: var(--border-radius);
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.level-table th {
	background-color: #e8f8f0;
	color: var(--primary-dark);
	text-align: left;
	padding: 12px;
	font-weight: 700;
}

.level-table td {
	padding: 10px 12px;
	border-bottom: 1px solid #edf2f0;
	font-family: monospace;
	font-size: 1rem;
}

.level-table tr:hover {
	background-color: #f9fdfb;
}

/* Funnel Diagram Section */
.funnel-container {
	background: var(--white);
	padding: 25px 20px;
	border-radius: var(--border-radius);
	box-shadow: var(--shadow);
	margin: 30px 0;
	text-align: center;
}

.funnel-image {
	width: 100%;
	max-width: 100%;
	height: auto;
	border-radius: 6px;
	margin: 20px 0 10px 0;
	display: block;
}

.funnel-caption {
	font-size: 0.95rem;
	color: var(--text-muted);
	font-style: italic;
}

/* Strong Call to Action (CTA) Component */
.bonus-line {
	font-weight: bold;
}

.cta-section {
	background: linear-gradient(135deg, #27ae60 0%, #1e8449 100%);
	color: white;
	padding: 40px 25px;
	border-radius: var(--border-radius);
	text-align: center;
	margin-top: 40px;
	box-shadow: 0 10px 25px rgba(39, 174, 96, 0.25);
}

.cta-section h2 {
	color: white;
	margin-top: 0;
	font-size: 2rem;
	margin-bottom: 10px;
}

.cta-section p {
	color: #e8f8f0;
	font-size: 1.2rem;
	margin-bottom: 25px;
}

.cta-button {
	background-color: #ffffff;
	color: var(--primary-dark);
	border: none;
	padding: 16px 20px;
	font-size: 1.2rem;
	font-weight: 800;
	border-radius: 6px;
	cursor: pointer;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	transition: all 0.2s ease;
	box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.cta-button:hover {
	background-color: #f4fbf7;
	transform: translateY(-2px);
	box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.cta-button:active {
	transform: translateY(0);
}

    /* ── CTA BLOCK ── */
    .cta-block {
      background: var(--accent);
      color: var(--white);
      text-align: center;
      padding: 3rem 1.5rem;
      margin: 2.5rem 0 0;
    }
    .cta-block h2 {
      color: var(--white);
      font-family: 'Oswald', sans-serif;
      font-size: clamp(1.6rem, 5vw, 2.4rem);
      font-weight: 700;
      line-height: 1.15;
      margin-bottom: 0.75rem;
    }
    .cta-block p {
      font-size: 1.05rem;
      color: rgba(255,255,255,0.88);
      max-width: 520px;
      margin: 0 auto 1.75rem;
    }
    .cta-btn {
      display: inline-block;
      background: var(--white);
      color: var(--accent-dk);
      font-family: 'Oswald', sans-serif;
      font-size: 1.15rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      padding: 1rem 2.25rem;
      text-decoration: none;
      border: 3px solid var(--white);
      transition: background 0.18s, color 0.18s;
    }
    .cta-btn:hover {
      background: transparent;
      color: var(--white);
    }
    .cta-sub {
      font-size: 0.82rem;
      color: rgba(255,255,255,0.7);
      margin-top: 0.9rem;
      font-family: 'DM Mono', monospace;
      letter-spacing: 0.06em;
    }

    /* ── FOOTER ── */
    footer {
      background: var(--ink);
      color: rgba(255,255,255,0.45);
      text-align: center;
      padding: 1.5rem 1rem;
      font-family: 'DM Mono', monospace;
      font-size: 0.75rem;
      letter-spacing: 0.06em;
    }

/* ── TOP BAR ── */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--topbar-h);
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px 0 0;
  z-index: 100;
}

.topbar-brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  width: var(--sidebar-w);
  padding-left: 20px;
  flex-shrink: 0;
}

.topbar-brand .brand-name {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.topbar-brand .brand-divider {
  color: rgba(255,255,255,0.25);
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
}
.topbar-brand .brand-section {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-greeting {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.45);
}
.topbar-greeting strong {
  color: rgba(255,255,255,0.8);
}

.topbar-badge {
  background: var(--primary-color);
  color: var(--white);
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
}

/* ── SIDEBAR ── */
.sidebar {
  position: fixed;
  top: var(--topbar-h);
  left: 0;
  width: var(--sidebar-w);
  bottom: 0;
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border-lt);
  overflow-y: auto;
  z-index: 90;
  padding: 20px 0 40px;
}

.sidebar::-webkit-scrollbar { width: 5px; }
.sidebar::-webkit-scrollbar-thumb { background: var(--rule); }

.nav-section-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0 18px 6px;
  margin-top: 22px;
}
.nav-section-label:first-child { margin-top: 4px; }

.nav-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 18px;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  color: var(--text-color);
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
  border-left: 3px solid transparent;
}
.nav-item:hover {
  background: #e4e8ec;
  color: var(--ink);
}
.nav-item.active {
  background: var(--nav-active-bg);
  color: var(--primary-dark);
  border-left-color: var(--primary-dark);
  font-weight: 600;
}

.nav-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  opacity: 0.55;
}
.nav-item.active .nav-icon,
.nav-item:hover .nav-icon { opacity: 0.9; }

.nav-sub-item {
  display: flex;
  align-items: center;
  padding: 5px 18px 5px 44px;
  font-family: 'Source Serif 4', serif;
  font-weight: 300;
  font-size: 0.8rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.12s;
  border-left: 3px solid transparent;
  line-height: 1.4;
}
.nav-sub-item:hover { color: var(--text-color); }
.nav-sub-item.active {
  color: var(--accent);
  border-left-color: var(--accent);
}

.bonus-star {
  color: gold;
  transition: color 0.12s;
  margin-right: 4px;
}

.nav-sub-item.active .bonus-star {
  color: var(--accent);
}

.nav-divider {
  height: 1px;
  background: var(--border-lt);
  margin: 14px 18px;
}

.nav-badge {
  margin-left: auto;
  background: var(--primary-color);
  color: var(--white);
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  border-radius: 3px;
}

/* ── MAIN CONTENT ── */
.main {
  margin-left: var(--sidebar-w);
  margin-top: var(--topbar-h);
  padding: 32px 36px;
  min-height: calc(100vh - var(--topbar-h));
}

/* ── PAGE HEADER ── */
.page-header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-lt);
}
.page-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 5px;
}
.page-title {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: 0.02em;
}
.page-subtitle {
  margin-top: 5px;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 300;
}

/* ── WELCOME BANNER ── */
.welcome-banner {
  background: var(--white);
  border: 1px solid var(--border-lt);
  border-left: 4px solid var(--primary-color);
  border-radius: var(--border-radius);
  padding: 22px 26px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.welcome-icon { font-size: 1.6rem; flex-shrink: 0; margin-top: 2px; line-height: 1; }
.welcome-text h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 5px;
  letter-spacing: 0.02em;
}
.welcome-text p {
  font-size: 0.92rem;
  color: var(--text-color);
  line-height: 1.6;
  margin: 0;
  max-width: 620px;
  font-weight: 300;
}
.welcome-text p strong { color: var(--primary-dark); font-weight: 700; }

/* ── ANNOUNCEMENT ── */
.announcement {
  background: #fdf3ef;
  border: 1px solid #f0cfc4;
  border-left: 4px solid var(--accent);
  border-radius: var(--border-radius);
  padding: 13px 18px;
  margin-bottom: 24px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.announcement-icon { font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.announcement-text {
  font-size: 0.87rem;
  line-height: 1.55;
  color: var(--text-color);
  font-weight: 300;
}
.announcement-text strong { color: var(--accent); font-weight: 700; }

/* ── PROGRESS STRIP ── */
.progress-strip {
  background: var(--white);
  border: 1px solid var(--border-lt);
  border-radius: var(--border-radius);
  padding: 16px 22px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 18px;
}
.progress-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  flex-shrink: 0;
}
.progress-bar-wrap {
  flex: 1;
  background: #e8edf0;
  height: 7px;
  border-radius: 4px;
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-color), #7dce9b);
  border-radius: 4px;
  transition: width 1s ease;
}
.progress-pct {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-dark);
  flex-shrink: 0;
  min-width: 38px;
  text-align: right;
}

/* ── STAT CARDS ── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--border-lt);
  border-radius: var(--border-radius);
  padding: 18px 18px 14px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.stat-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}
.stat-card.green::after   { background: var(--primary-color); }
.stat-card.accent::after  { background: var(--accent); }
.stat-card.ink::after     { background: var(--ink); }
.stat-card.blue::after    { background: #2980b9; }

.stat-icon {
  position: absolute;
  right: 14px; top: 12px;
  font-size: 1.3rem;
  opacity: 0.18;
}
.stat-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.stat-value {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 3px;
}
.stat-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 300;
}

/* ── TWO-COLUMN ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 22px;
}

/* ── SECTION CARDS ── */
.section-card {
  background: var(--white);
  border: 1px solid var(--border-lt);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.section-card-head {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-lt);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fcfdfe;
}
.section-card-title {
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
}
.section-card-link {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--primary-dark);
  transition: color 0.12s;
}
.section-card-link:hover { color: var(--accent); }
.section-card-body { padding: 20px; }

/* ── ROADMAP CHECKLIST ── */
.checklist { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.87rem;
  line-height: 1.45;
  color: var(--text-color);
  font-weight: 300;
}
.check-icon {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  font-size: 0.55rem;
  font-weight: 900;
}
.check-done  { background: var(--primary-color); color: #fff; }
.check-next  { background: var(--accent); color: #fff; }
.check-todo  { border: 2px solid var(--rule); background: transparent; }
.checklist li.done { color: var(--text-muted); }
.checklist li.done .check-text { text-decoration: line-through; text-decoration-color: var(--rule); }

/* ── LESSON LIST ── */
.lesson-list { list-style: none; display: flex; flex-direction: column; gap: 3px; }
.lesson-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 5px;
  font-size: 0.87rem;
  cursor: pointer;
  transition: background 0.12s;
  border: 1px solid transparent;
  color: var(--text-color);
  font-weight: 300;
}
.lesson-item:hover {
  background: #f3f6f8;
  border-color: var(--border-lt);
}
.lesson-item.current {
  background: #eaf4ef;
  border-color: #c8e6d4;
  color: var(--ink);
}
.lesson-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e8edf0;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'DM Mono', monospace;
}
.lesson-item.done .lesson-num   { background: var(--primary-color); color: #fff; }
.lesson-item.current .lesson-num { background: var(--primary-dark); color: #fff; }
.lesson-name { flex: 1; line-height: 1.3; }
.lesson-tag {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.tag-current { background: #eaf4ef; color: var(--primary-dark); border: 1px solid #c8e6d4; }
.tag-new     { background: #fdf3ef; color: var(--accent); border: 1px solid #f0cfc4; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.15s;
  border: none;
  width: 100%;
  margin-top: 16px;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 3px 8px rgba(200,56,26,0.25);
}
.btn-primary:hover {
  background: var(--accent-dk);
  transform: translateY(-1px);
  box-shadow: 0 5px 12px rgba(200,56,26,0.3);
}
.btn-secondary {
  background: transparent;
  color: var(--primary-dark);
  border: 2px solid var(--primary-dark);
}
.btn-secondary:hover { background: #eaf4ef; }

/* ── QUICK LINKS ── */
.quick-links {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}
.quick-link {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-light);
  border: 1px solid var(--border-lt);
  border-radius: 6px;
  padding: 11px 14px;
  color: var(--text-color);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  box-shadow: 2px 2px 0 var(--rule);
}
.quick-link:hover {
  border-color: var(--primary-color);
  background: #f0faf4;
}
.quick-link-icon { font-size: 1.1rem; flex-shrink: 0; }
.quick-link-label { font-size: 0.8rem; line-height: 1.3; font-weight: 300; }
.quick-link-label strong {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink);
  letter-spacing: 0.02em;
}

/* ── STRONG FIX ──
   Weight change on Source Serif 4 300 causes glyph-width reflow mid-line.
   Match parent weight exactly; use colour only for emphasis. *
.action-list li strong,
.content-section p strong,
.step-card-body p strong,
.delay-desc strong,
.contrast-box p strong,
.insight-box p strong,
.announcement-text strong {
  font-weight: inherit;
  color: var(--primary-dark);
}

/* .action-text wraps all text content after the number badge so that
   strong/em tags inside are inline children of a single flex item,
   not separate flex children that get pulled out of the text flow. */
.action-text {
  flex: 1;
  min-width: 0;
}

.arrow-green {
  font-weight: 700;
  color: var(--primary-dark);
}

/* ── LOGIN PAGE LAYOUT ── */
/* No sidebar or topbar — standalone centred card. Scoped to body.page-login so it never leaks onto member pages. */

.login-card {
  background: var(--white);
  border: 1px solid var(--border-lt);
  border-radius: var(--border-radius);
  box-shadow: 0 8px 24px rgba(0,0,0,0.07);
  overflow: hidden;
}
.login-card-head {
  background: var(--ink);
  padding: 20px 28px;
}
.login-card-head h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0;
}
.login-card-head p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin: 4px 0 0;
  font-weight: 300;
}
.login-card-body {
  padding: 28px;
}

/* ── ALERTS ── */
.alert {
  border-radius: 5px;
  padding: 11px 15px;
  margin-bottom: 20px;
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.5;
}
.alert-error {
  background: #fdf3ef;
  border: 1px solid #f0cfc4;
  border-left: 4px solid var(--accent);
  color: var(--accent);
}
.alert-info {
  background: #f4fbf7;
  border: 1px solid #d4efdf;
  border-left: 4px solid var(--primary-color);
  color: var(--primary-dark);
}

/* ── FORM FIELDS ── */
.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 0.67rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.field input {
  width: 100%;
  padding: 10px 13px;
  font-family: 'Source Serif 4', serif;
  font-size: 0.97rem;
  font-weight: 300;
  color: var(--ink);
  background: var(--bg-light);
  border: 1px solid var(--border-lt);
  border-radius: 5px;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.field input:focus {
  border-color: var(--primary-color);
  background: var(--white);
}

.login-btn {
  width: 100%;
  padding: 11px;
  background: var(--accent);
  color: var(--white);
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  box-shadow: 0 3px 10px rgba(200,56,26,0.2);
  margin-top: 4px;
}
.login-btn:hover {
  background: var(--accent-dk);
  transform: translateY(-1px);
}
.login-btn:active {
  transform: translateY(0);
}

.login-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 300;
}
.login-footer a {
  color: var(--primary-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.login-footer a:hover { color: var(--accent); }

/* ── REGISTRATION PAGE LAYOUT ── */
/* Scoped to body.page-register so it never leaks onto member pages. */

/* Card */
.reg-card {
  background: var(--white);
  border: 1px solid var(--border-lt);
  border-radius: var(--border-radius);
  box-shadow: 0 8px 24px rgba(0,0,0,0.07);
  overflow: hidden;
}
.reg-card-head {
  background: var(--ink);
  padding: 22px 28px;
}
.reg-card-head h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 5px;
}
.reg-card-head p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin: 0;
  font-weight: 300;
  line-height: 1.5;
}
.reg-card-body { padding: 28px; }

/* Section labels within the form */
.form-section-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-lt);
  margin-bottom: 18px;
  margin-top: 24px;
}
.form-section-label:first-of-type { margin-top: 0; }

/* Fields */
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 0.67rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 5px;
}
.field input.has-error {
  border-color: var(--accent);
  background: #fffaf9;
}
.field-hint {
  margin-top: 4px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.4;
}
.field-error {
  display: block;
  margin-top: 4px;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 300;
}

/* Alert boxes */
.alert {
  border-radius: 5px;
  padding: 13px 16px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.55;
}
.alert strong { font-weight: 700; }

/* Info box (PayPal TXN ID helper) */
.info-box {
  background: #f4fbf7;
  border: 1px solid #d4efdf;
  border-left: 4px solid var(--primary-color);
  border-radius: 5px;
  padding: 11px 14px;
  margin-bottom: 20px;
  font-size: 0.83rem;
  color: var(--text-color);
  font-weight: 300;
  line-height: 1.55;
}
.info-box strong { color: var(--primary-dark); font-weight: 700; }

/* Submit button */
.reg-btn {
  width: 100%;
  margin-top: 6px;
  padding: 12px;
  background: var(--accent);
  color: var(--white);
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  box-shadow: 0 3px 10px rgba(200,56,26,0.2);
}
.reg-btn:hover {
  background: var(--accent-dk);
  transform: translateY(-1px);
}

/* ── SUCCESS STATE ── */
.success-card {
  background: var(--white);
  border: 1px solid var(--border-lt);
  border-radius: var(--border-radius);
  box-shadow: 0 8px 24px rgba(0,0,0,0.07);
  overflow: hidden;
  text-align: center;
}
.success-card-head {
  background: var(--primary-color);
  padding: 28px;
}
.success-icon {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 10px;
}
.success-card-head h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--white);
  margin: 0;
}
.success-card-body {
  padding: 28px;
}
.success-card-body p {
  font-size: 0.97rem;
  font-weight: 300;
  color: var(--text-color);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.success-card-body p:last-child { margin-bottom: 0; }
.success-card-body strong { color: var(--ink); font-weight: 700; }
.success-card-body .email-highlight {
  display: inline-block;
  font-family: 'DM Mono', monospace;
  font-size: 0.88rem;
  background: var(--bg-light);
  border: 1px solid var(--border-lt);
  border-radius: 4px;
  padding: 3px 8px;
  color: var(--ink);
}

/* Click to Copy */
.copy-indicator {
	position: fixed;
	bottom: 20px;
	right: 20px;
	background: #28a745;
	color: white;
	padding: 15px 25px;
	border-radius: 5px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.2);
	opacity: 0;
	transition: opacity 0.3s;
	pointer-events: none;
}
.copy-indicator.show {
	opacity: 1;
}

#pp-status { margin-top: 20px; font-size: 1em; }
.pp-success { color: green; }
.pp-error   { color: red; }

.verify-card {
  background: var(--white);
  border: 1px solid var(--border-lt);
  border-radius: var(--border-radius);
  box-shadow: 0 8px 24px rgba(0,0,0,0.07);
  overflow: hidden;
  text-align: center;
}

.verify-card-head {
  padding: 28px 28px 20px;
}
.verify-card-head.success { background: var(--primary-color); }
.verify-card-head.error   { background: var(--accent); }
.verify-card-head.info    { background: var(--ink); }

.verify-icon { font-size: 2.6rem; line-height: 1; margin-bottom: 10px; }

.verify-card-head h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--white);
  margin: 0;
}

.verify-card-body {
  padding: 26px 28px;
}
.verify-card-body p {
  font-size: 0.97rem;
  font-weight: 300;
  color: var(--text-color);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.verify-card-body p:last-child { margin-bottom: 0; }
.verify-card-body strong { color: var(--ink); font-weight: 700; }

.verify-link {
  display: inline-block;
  margin-top: 8px;
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.verify-link:hover { color: var(--accent); }

/* ── PAGE-SPECIFIC: Commissions ── */

.page-commissions .content-col { max-width: 860px; }

/* ── STATUS GRID (combined + per-table boxes) ── */
.status-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}

.status-card {
  background: var(--white);
  border: 1px solid var(--border-lt);
  border-radius: var(--border-radius);
  padding: 16px 18px 13px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.status-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}
.status-card.pending::after   { background: #f59e0b; }
.status-card.available::after { background: var(--primary-color); }
.status-card.requested::after { background: #2980b9; }
.status-card.paid::after      { background: var(--text-muted); }

.status-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.status-value {
  font-family: 'Oswald', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 2px;
}
.status-note {
  font-size: 0.73rem;
  color: var(--text-muted);
  font-weight: 300;
}

/* Combined box spans all 4 columns */
.combined-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.combined-card {
  background: var(--ink);
  border-radius: var(--border-radius);
  padding: 16px 18px 13px;
  color: var(--white);
}
.combined-card .status-label { color: rgba(255,255,255,0.45); }
.combined-card .status-value { color: var(--white); }
.combined-card.pending   .status-value { color: #fbbf24; }
.combined-card.available .status-value { color: #6ee7b7; }
.combined-card.requested .status-value { color: #93c5fd; }
.combined-card.paid      .status-value { color: rgba(255,255,255,0.55); }

/* Per-table section */
.table-section {
  background: var(--white);
  border: 1px solid var(--border-lt);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 14px;
}
.table-section-head {
  padding: 11px 18px;
  border-bottom: 1px solid var(--border-lt);
  background: #fcfdfe;
  display: flex;
  align-items: center;
  gap: 10px;
}
.table-section-title {
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
  flex: 1;
}
.table-section-body {
  padding: 14px 18px;
}
.table-section .status-grid {
  margin-bottom: 0;
}
.table-section .status-card {
  box-shadow: none;
  border-color: #edf0f3;
}
.table-section .status-value {
  font-size: 1.25rem;
}

/* ── DIVIDER ── */
.section-divider {
  height: 1px;
  background: var(--border-lt);
  margin: 28px 0;
}

/* ── CASHOUT FORM ── */
.cashout-card {
  background: var(--white);
  border: 1px solid var(--border-lt);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 28px;
}
.cashout-card-head {
  padding: 14px 22px;
  border-bottom: 1px solid var(--border-lt);
  background: #fcfdfe;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cashout-card-title {
  font-family: 'Oswald', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
}
.cashout-available-badge {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  background: #f4fbf7;
  color: var(--primary-dark);
  border: 1px solid #d4efdf;
  padding: 4px 10px;
  border-radius: 4px;
}
.cashout-card-body {
  padding: 22px;
}
.cashout-card-body p {
  font-size: 0.95rem;
  line-height: 1.7;
  font-weight: 300;
  color: var(--text-color);
  margin-bottom: 18px;
}

.cashout-form-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
  max-width: 420px;
}
.cashout-input-wrap {
  position: relative;
  flex: 1;
}
.cashout-input-wrap::before {
  content: '$';
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  pointer-events: none;
}
.cashout-input {
  width: 100%;
  padding: 10px 12px 10px 26px;
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--bg-light);
  border: 1px solid var(--border-lt);
  border-radius: 5px;
  outline: none;
  transition: border-color 0.15s;
}
.cashout-input:focus {
  border-color: var(--primary-color);
  background: var(--white);
}
.cashout-input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.cashout-btn {
  flex-shrink: 0;
  padding: 10px 22px;
  background: var(--accent);
  color: var(--white);
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  box-shadow: 0 3px 8px rgba(200,56,26,0.2);
}
.cashout-btn:hover:not(:disabled) {
  background: var(--accent-dk);
  transform: translateY(-1px);
}
.cashout-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}
.cashout-hint {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 300;
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}

/* ── ALERTS ── */
.alert {
  border-radius: var(--border-radius);
  padding: 13px 18px;
  margin-bottom: 18px;
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.55;
}
.alert-success {
  background: #f4fbf7;
  border: 1px solid #d4efdf;
  border-left: 4px solid var(--primary-color);
  color: var(--primary-dark);
}

/* ── STATUS KEY ── */
.status-key {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 14px 18px;
  background: var(--bg-light);
  border: 1px solid var(--border-lt);
  border-radius: var(--border-radius);
  margin-bottom: 28px;
}
.key-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 300;
}
.key-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.key-dot.pending   { background: #f59e0b; }
.key-dot.available { background: var(--primary-color); }
.key-dot.requested { background: #2980b9; }
.key-dot.paid      { background: var(--text-muted); }
.key-item strong {
  font-weight: 600;
  color: var(--text-color);
  font-weight: inherit;
}

.lesson-list .lesson-link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  color: inherit;
  text-decoration: none;
}
.lesson-item.completed {
  opacity: 0.78;
}
.lesson-item.completed .lesson-num {
  background: var(--primary-color);
  color: var(--white);
}
.lesson-item.completed .lesson-num::after {
  content: '✓';
  font-size: 0.72rem;
}
.lesson-item.completed .lesson-num {
  font-size: 0;
}
.tag-complete {
  background: #e5e7eb;
  color: var(--text-muted);
  border: 1px solid #d1d5db;
}

/* ── PAGE-SPECIFIC: Get Paid Now ── */

/* Reading column — comfortable line length for long-form content */
.page-introduction .content-col {
  max-width: 720px;
}

/* Section anchors — smooth scroll targets with offset for fixed topbar */
.page-introduction .content-section {
  scroll-margin-top: calc(var(--topbar-h) + 20px);
  margin-bottom: 40px;
}

/* Section heading style inside content */
.page-introduction .content-section h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-lt);
}

.page-introduction .content-section h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-color);
  letter-spacing: 0.03em;
  margin: 24px 0 10px;
}

.content-section p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-color);
  margin-bottom: 1rem;
  font-weight: 300;
}

.content-section p:last-child { margin-bottom: 0; }

/* Pull-quote / key insight box */
.insight-box {
  background: #f4fbf7;
  border: 1px solid #d4efdf;
  border-left: 4px solid var(--primary-color);
  border-radius: var(--border-radius);
  padding: 18px 22px;
  margin: 24px 0;
}
.insight-box p {
  margin: 0;
  font-size: 1.05rem;
  color: var(--primary-dark);
  font-style: italic;
  line-height: 1.65;
}
.insight-box p strong {
  font-style: normal;
  font-weight: 700;
}

/* Warning / contrast box */
.contrast-box {
  background: #fdf3ef;
  border: 1px solid #f0cfc4;
  border-left: 4px solid var(--accent);
  border-radius: var(--border-radius);
  padding: 18px 22px;
  margin: 24px 0;
}
.contrast-box p {
  margin: 0;
  font-size: 1rem;
  color: var(--text-color);
  line-height: 1.65;
}

/* The delay chain — visual timeline of payment delays */
.delay-chain {
  list-style: none;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.delay-chain li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-lt);
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 300;
}
.delay-chain li:last-child { border-bottom: none; }
.delay-step {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.delay-label {
  flex-shrink: 0;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  width: 160px;
  padding-top: 4px;
}
.delay-desc {
  color: var(--text-color);
}
.delay-total {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--border-radius);
  padding: 14px 18px;
  margin-top: 8px;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.delay-total span {
  color: var(--accent);
}

/* Comparison table: Affiliate vs. Vendor */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.92rem;
}
.compare-table thead th {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 2px solid var(--border-lt);
}
.compare-table thead th:first-child {
  color: var(--text-muted);
  width: 36%;
}
.compare-table thead th.col-affiliate {
  background: #fdf3ef;
  color: var(--accent);
  border-radius: 6px 6px 0 0;
}
.compare-table thead th.col-vendor {
  background: #f4fbf7;
  color: var(--primary-dark);
  border-radius: 6px 6px 0 0;
}
.compare-table tbody tr:nth-child(even) { background: #fafbfc; }
.compare-table tbody td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border-lt);
  font-weight: 300;
  vertical-align: top;
  line-height: 1.5;
}
.compare-table tbody td:first-child {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 400;
}
.compare-table tbody td.col-affiliate { background: #fffaf8; }
.compare-table tbody td.col-vendor    { background: #f9fefc; }
.compare-table .winner {
  font-weight: 700;
  color: var(--primary-dark);
}
.compare-table .loser {
  color: var(--text-muted);
}

/* Do-both callout */
.doboth-box {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--border-radius);
  padding: 24px 26px;
  margin: 28px 0;
}
.doboth-box .doboth-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 8px;
}
.doboth-box h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.03em;
  margin: 0 0 10px;
}
.doboth-box p {
  font-size: 0.93rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  margin: 0;
  font-weight: 300;
}
.doboth-box p strong { color: var(--white); font-weight: 700; }

/* Next-step CTA at the bottom */
.next-step {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  border-radius: var(--border-radius);
  padding: 30px 28px;
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 8px 20px rgba(39,174,96,0.2);
}
.next-step-text .next-step-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 6px;
}
.next-step-text h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  margin: 0 0 6px;
}
.next-step-text p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
  margin: 0;
  font-weight: 300;
}
.next-step-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--primary-dark);
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 22px;
  border-radius: 5px;
  border: 3px solid var(--white);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.next-step-btn:hover {
  background: transparent;
  color: var(--white);
}

/* Section nav pills (top of page) */
.section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.section-nav a {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--white);
  border: 1px solid var(--border-lt);
  border-radius: 4px;
  padding: 5px 10px;
  transition: color 0.12s, border-color 0.12s;
  box-shadow: 1px 1px 0 var(--rule);
}
.section-nav a:hover {
  color: var(--primary-dark);
  border-color: var(--primary-color);
}

/* Reading progress indicator on sidebar */
.sidebar-progress {
  padding: 14px 18px;
  border-top: 1px solid var(--border-lt);
  margin-top: auto;
}

/* ── PAGE-SPECIFIC: Knowledge Center ── */

.page-knowledge .content-section {
  scroll-margin-top: calc(var(--topbar-h) + 22px);
  margin-bottom: 46px;
}

.page-knowledge .content-section h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-lt);
}

.page-knowledge .content-section h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.03em;
  margin: 24px 0 10px;
}

.section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.section-nav a {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--white);
  border: 1px solid var(--border-lt);
  border-radius: 4px;
  padding: 5px 10px;
  transition: color 0.12s, border-color 0.12s, background 0.12s;
  box-shadow: 1px 1px 0 var(--rule);
}
.section-nav a:hover {
  color: var(--primary-dark);
  border-color: var(--primary-color);
  background: #f9fefc;
}

/* Intro explainer */
.strategy-box {
  background: var(--white);
  border: 1px solid var(--border-lt);
  border-left: 4px solid var(--primary-color);
  border-radius: var(--border-radius);
  padding: 22px 26px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}
.strategy-box h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
  margin: 0 0 8px;
  border: none;
  padding: 0;
}
.strategy-box p {
  font-size: 0.94rem;
  line-height: 1.65;
  margin: 0;
  max-width: 760px;
}
.strategy-box p + p { margin-top: 10px; }

/* System map */
.system-map {
  background: var(--white);
  border: 1px solid var(--border-lt);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 18px 18px 16px;
  margin-bottom: 28px;
}
.system-map-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.system-map-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}
.system-node {
  background: var(--bg-light);
  border: 1px solid var(--border-lt);
  border-radius: 6px;
  padding: 11px 10px;
  min-height: 82px;
  box-shadow: 2px 2px 0 var(--rule);
}
.system-node strong {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 0.84rem;
  color: var(--ink);
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}
.system-node span {
  display: block;
  font-size: 0.75rem;
  line-height: 1.35;
  color: var(--text-muted);
}
.system-node.green { border-top: 3px solid var(--primary-color); }
.system-node.accent { border-top: 3px solid var(--accent); }
.system-node.ink { border-top: 3px solid var(--ink); }

/* Step section shell */
.step-topline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--white);
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
}
.step-title-wrap { min-width: 0; }
.step-kicker {
  font-family: 'DM Mono', monospace;
  font-size: 0.63rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1;
  margin-bottom: 5px;
}
.step-title-wrap h2 { margin-bottom: 0; }

.step-lens {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0 20px;
}
.lens-card {
  background: var(--white);
  border: 1px solid var(--border-lt);
  border-radius: var(--border-radius);
  padding: 16px 17px;
  box-shadow: var(--shadow);
}
.lens-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 7px;
}
.lens-card p {
  font-size: 0.89rem;
  line-height: 1.58;
  margin: 0;
}
.lens-card.why { border-top: 3px solid var(--accent); }
.lens-card.outcome { border-top: 3px solid var(--primary-color); }
.lens-card.skill { border-top: 3px solid var(--ink); }

/* Action checklist style - explanatory, not interactive */
.page-knowledge .action-list {
  list-style: none;
  margin: 18px 0 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.page-knowledge .action-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--border-lt);
  border-radius: 6px;
  padding: 12px 14px;
  box-shadow: 1px 1px 0 var(--rule);
}
.action-step {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e8edf0;
  color: var(--text-muted);
  font-family: 'DM Mono', monospace;
  font-size: 0.67rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.action-body {
  flex: 1;
  min-width: 0;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--text-color);
  font-weight: 300;
}
.action-body strong {
  color: var(--ink);
  font-weight: 600;
}
.action-body .note {
  display: block;
  color: var(--text-muted);
  font-size: 0.84rem;
  margin-top: 4px;
  font-style: italic;
}

/* Output / warning / insight boxes */
.output-box,
.warning-box,
.skill-box {
  border-radius: var(--border-radius);
  padding: 17px 20px;
  margin: 20px 0;
}
.output-box {
  background: #f4fbf7;
  border: 1px solid #d4efdf;
  border-left: 4px solid var(--primary-color);
}
.warning-box {
  background: #fdf3ef;
  border: 1px solid #f0cfc4;
  border-left: 4px solid var(--accent);
}
.skill-box {
  background: var(--ink);
  border: 1px solid var(--ink);
  color: var(--white);
}
.output-box .box-label,
.warning-box .box-label,
.skill-box .box-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.output-box .box-label { color: var(--primary-dark); }
.warning-box .box-label { color: var(--accent); }
.skill-box .box-label { color: rgba(255,255,255,0.48); }
.output-box p,
.warning-box p,
.skill-box p {
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}
.output-box p strong,
.warning-box p strong { color: var(--ink); font-weight: 700; }
.skill-box p { color: rgba(255,255,255,0.78); }
.skill-box p strong { color: var(--white); font-weight: 700; }

/* Prompt blocks */
.page-knowledge .prompt-box {
  background: #fff;
  border: 1px solid var(--border-lt);
  border-radius: var(--border-radius);
  margin: 18px 0 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.prompt-head {
  background: #fcfdfe;
  border-bottom: 1px solid var(--border-lt);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.prompt-title {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.copy-btn {
  border: 1px solid var(--border-lt);
  background: var(--white);
  color: var(--primary-dark);
  border-radius: 4px;
  padding: 4px 9px;
  font-family: 'DM Mono', monospace;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
}
.copy-btn:hover {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}
.prompt-text {
  padding: 15px 17px;
  font-family: 'DM Mono', monospace;
  font-size: 0.78rem;
  line-height: 1.65;
  color: var(--ink);
  white-space: pre-wrap;
  background: #fff;
}
.copy-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  background: var(--primary-color);
  color: var(--white);
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 14px;
  border-radius: 5px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.18s, transform 0.18s;
  z-index: 999;
}
.copy-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* CTA copied from introduction.php DNA */
.next-step {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  border-radius: var(--border-radius);
  padding: 30px 28px;
  margin-top: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 8px 20px rgba(39,174,96,0.2);
}


.quiz-jump-box {
  background: #f4fbf7;
  border: 1px solid #d4efdf;
  border-left: 4px solid var(--primary-color);
  border-radius: var(--border-radius);
  padding: 14px 18px;
  margin: -8px 0 28px;
  font-size: 0.95rem;
  box-shadow: var(--shadow);
}
.quiz-jump-box a {
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: underline;
}

/* Interactive quiz */
.quiz-panel {
  background: var(--white);
  border: 1px solid var(--border-lt);
  border-radius: var(--border-radius);
  padding: 26px;
  margin-top: 46px;
  box-shadow: var(--shadow);
}
.quiz-panel h2 {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 8px;
}
.quiz-intro {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 780px;
}
.quiz-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 18px 0 20px;
}
.quiz-meta-card {
  background: var(--bg-light);
  border: 1px solid var(--border-lt);
  border-radius: 6px;
  padding: 13px 14px;
  box-shadow: 1px 1px 0 var(--rule);
}
.quiz-meta-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.quiz-meta-value {
  font-family: 'Oswald', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}
.quiz-alert {
  border-radius: var(--border-radius);
  padding: 14px 16px;
  margin: 16px 0;
  font-size: 0.92rem;
  line-height: 1.55;
}
.quiz-alert.warning {
  background: #fdf3ef;
  border: 1px solid #f0cfc4;
  border-left: 4px solid var(--accent);
}
.quiz-alert.success {
  background: #f4fbf7;
  border: 1px solid #d4efdf;
  border-left: 4px solid var(--primary-color);
}
.quiz-alert strong {
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.03em;
}
.quiz-progress-wrap {
  margin: 14px 0 22px;
  position: sticky;
  top: calc(var(--topbar-h) + 25px);
  z-index: 80;
  background: var(--white);
  border: 1px solid var(--border-lt);
  border-radius: 999px;
  padding: 10px 12px 8px;
  box-shadow: var(--shadow);
}
.quiz-progress-track {
  height: 8px;
  background: var(--border-lt);
  border-radius: 999px;
  overflow: hidden;
}
.quiz-progress-bar {
  height: 100%;
  width: 0;
  background: var(--primary-color);
  border-radius: 999px;
  transition: width 0.18s ease;
}
.quiz-progress-label {
  margin-top: 6px;
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: right;
}
.quiz-question {
  border: 1px solid var(--border-lt);
  border-radius: var(--border-radius);
  padding: 18px 18px 16px;
  margin-bottom: 14px;
  background: #fff;
}
.quiz-question-head {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.quiz-q-number {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
}
.quiz-section-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 3px;
}
.quiz-q-text {
  font-family: 'Oswald', sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}
.quiz-options {
  display: grid;
  gap: 8px;
}
.quiz-option {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border: 1px solid var(--border-lt);
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s;
}
.quiz-option:hover {
  background: #f9fefc;
  border-color: var(--primary-color);
}
.quiz-option input {
  margin-top: 4px;
}
.quiz-option span {
  font-size: 0.93rem;
  line-height: 1.45;
}
.quiz-option.is-correct {
  background: #f4fbf7;
  border-color: var(--primary-color);
}
.quiz-option.is-wrong {
  background: #fdf3ef;
  border-color: var(--accent);
}
.quiz-explanation {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-lt);
  font-size: 0.9rem;
  color: var(--text-color);
  line-height: 1.6;
}
.quiz-explanation strong {
  font-family: 'Oswald', sans-serif;
  color: var(--ink);
  letter-spacing: 0.03em;
}
.quiz-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}
.quiz-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  color: var(--white);
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid var(--primary-color);
  border-radius: 5px;
  padding: 12px 22px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}
.quiz-submit-btn:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
}
.quiz-study-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary-dark);
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.quiz-attempts {
  margin-top: 28px;
  border-top: 1px solid var(--border-lt);
  padding-top: 20px;
}
.quiz-attempts h3 {
  margin: 0 0 12px;
}
.quiz-attempt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.quiz-attempt-table th,
.quiz-attempt-table td {
  text-align: left;
  padding: 9px 10px;
  border-bottom: 1px solid var(--border-lt);
}
.quiz-attempt-table th {
  font-family: 'DM Mono', monospace;
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}
.quiz-attempt-table td {
  color: var(--text-color);
}

/* ── PAGE-SPECIFIC: Training ── */

.page-training .content-col {
  max-width: 920px;
}

/* ── SECTION ANCHORS ── */
.page-training .content-section {
  scroll-margin-top: calc(var(--topbar-h) + 20px);
  margin-bottom: 36px;
}

/* ── STEP PROGRESS BAR ── */
.step-progress {
  background: var(--white);
  border: 1px solid var(--border-lt);
  border-radius: var(--border-radius);
  padding: 18px 22px;
  margin-bottom: 28px;
  box-shadow: var(--shadow);
}
.step-progress-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.step-progress-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.step-progress-count {
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}
.step-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}
.step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--border-lt);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s;
  flex-shrink: 0;
  text-decoration: none;
}
.step-dot:hover {
  border-color: var(--primary-color);
  color: var(--primary-dark);
}
.step-dot.completed {
  background: var(--white);
  border-color: var(--primary-color);
  color: var(--primary-color);
}
.step-dot.completed::after {
  content: '✓';
  font-size: 0.7rem;
  font-weight: 700;
}
.step-dot.completed span { display: none; }
.step-dot.bonus {
  width: auto;
  border-radius: 4px;
  padding: 0 8px;
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── STEP CARD ── */
.step-card {
  background: var(--white);
  border: 1px solid var(--border-lt);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 28px;
  scroll-margin-top: calc(var(--topbar-h) + 20px);
}
.step-card-head {
  padding: 16px 22px;
  border-bottom: 1px solid var(--border-lt);
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fcfdfe;
}
.step-num-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-family: 'DM Mono', monospace;
  font-size: 0.78rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-card.active-step .step-num-badge {
  background: var(--accent);
}
.step-card.bonus-step .step-num-badge {
  background: var(--primary-dark);
  font-size: 0.55rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.step-card-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
  flex: 1;
}
.step-card-tag {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  flex-shrink: 0;
}
.tag-start  { background: #fdf3ef; color: var(--accent); border: 1px solid #f0cfc4; }
.tag-bonus  { background: #f4fbf7; color: var(--primary-dark); border: 1px solid #d4efdf; }

.step-card-body {
  padding: 22px;
}
.step-card-body p {
  font-size: 0.97rem;
  line-height: 1.75;
  color: var(--text-color);
  margin-bottom: 1rem;
  font-weight: 300;
}
.step-card-body p:last-child { margin-bottom: 0; }

.step-card-body h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
  letter-spacing: 0.03em;
  margin: 20px 0 10px;
}

/* ── ACTION LIST (numbered steps within a step) ── */
.page-training .action-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0;
}
.page-training .action-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.93rem;
  line-height: 1.6;
  font-weight: 300;
  color: var(--text-color);
}
.action-num {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-light);
  border: 1px solid var(--border-lt);
  color: var(--text-muted);
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

/* ── PROMPT BOX ── */
.page-training .prompt-box {
  background: #f7f9fa;
  border: 1px solid var(--border-lt);
  border-left: 4px solid var(--ink);
  border-radius: var(--border-radius);
  padding: 16px 18px;
  margin: 16px 0;
}
.prompt-box-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.prompt-box pre {
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--ink);
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
}
.prompt-box-note {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
  font-weight: 300;
}

/* ── TOOL PILL ── */
.tool-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 14px 0;
}
.tool-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--bg-light);
  border: 1px solid var(--border-lt);
  border-radius: 4px;
  padding: 4px 10px;
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-decoration: none;
  transition: border-color 0.12s, color 0.12s;
  box-shadow: 1px 1px 0 var(--rule);
}
.tool-pill:hover {
  border-color: var(--primary-color);
  color: var(--primary-dark);
}
.tool-pill-icon { font-size: 0.85rem; }

/* ── INSIGHT / NOTE BOX ── */
.insight-box {
  background: #f4fbf7;
  border: 1px solid #d4efdf;
  border-left: 4px solid var(--primary-color);
  border-radius: var(--border-radius);
  padding: 15px 18px;
  margin: 16px 0;
}
.insight-box p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--primary-dark);
  line-height: 1.65;
}
.insight-box p strong { font-weight: 700; }

.contrast-box {
  background: #fdf3ef;
  border: 1px solid #f0cfc4;
  border-left: 4px solid var(--accent);
  border-radius: var(--border-radius);
  padding: 15px 18px;
  margin: 16px 0;
}
.contrast-box p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--text-color);
  line-height: 1.65;
}

/* ── CHECKLIST (completion) ── */
.step-checklist {
  list-style: none;
  background: #f4fbf7;
  border: 1px solid #d4efdf;
  border-radius: var(--border-radius);
  padding: 14px 16px;
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.step-checklist-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-dark);
  margin-bottom: 4px;
}
.step-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-color);
  font-weight: 300;
}
.step-checklist li::before {
  content: '✅';
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── SECTION NAV PILLS ── */
.section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 28px;
}
.section-nav a {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--white);
  border: 1px solid var(--border-lt);
  border-radius: 4px;
  padding: 4px 9px;
  transition: color 0.12s, border-color 0.12s;
  box-shadow: 1px 1px 0 var(--rule);
}
.section-nav a:hover {
  color: var(--primary-dark);
  border-color: var(--primary-color);
}

/* ── IMPORTANT NOTE ── */
.important-note {
  border-top: 1px solid var(--border-lt);
  margin-top: 18px;
  padding-top: 14px;
  font-size: 0.83rem;
  color: var(--text-muted);
  font-style: italic;
  font-weight: 300;
  line-height: 1.6;
}
.important-note strong {
  font-style: normal;
  color: var(--text-color);
  font-weight: 700;
}

/* ── COMPLETION BANNER ── */
.completion-banner {
  background: var(--ink);
  border-radius: var(--border-radius);
  padding: 28px 28px;
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.completion-icon {
  font-size: 2.2rem;
  flex-shrink: 0;
  line-height: 1;
}
.completion-text .completion-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 5px;
}
.completion-text h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  margin: 0 0 6px;
}
.completion-text p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  margin: 0;
  font-weight: 300;
  line-height: 1.6;
}
.completion-text p strong { color: var(--white); font-weight: 700; }

/* ── DIVIDER ── */
.step-divider {
  height: 1px;
  background: var(--border-lt);
  margin: 6px 0 24px;
}

.section-nav a.active {
  color: var(--white);
  background: var(--accent);
  border-color: var(--accent);
  font-weight: 700;
}
.section-nav a.completed {
  color: var(--text-muted);
  background: #e5e7eb;
  border-color: #d1d5db;
}
.step-complete-wrap {
  padding: 0 22px 22px;
}
.step-complete-btn {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-dark);
  background: var(--white);
  border: 1px solid var(--primary-color);
  border-radius: 4px;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.12s;
  box-shadow: 1px 1px 0 var(--rule);
}
.step-complete-btn:hover {
  background: #f4fbf7;
}
.step-complete-btn.completed {
  color: var(--text-muted);
  background: #e5e7eb;
  border-color: #d1d5db;
}
.step-card.completed-step .step-num-badge {
  background: var(--primary-color);
}

@media (max-width: 1100px) {
  .system-map-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 860px) {
  .step-lens { grid-template-columns: 1fr; }
  .system-map-grid { grid-template-columns: repeat(2, 1fr); }
  .next-step { flex-direction: column; align-items: flex-start; }
  .quiz-meta-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .content-col { max-width: 100%; }
  .system-map-grid { grid-template-columns: 1fr; }
  .step-topline { align-items: flex-start; }
  .step-title-wrap h2 { font-size: 1.35rem; }
  .quiz-panel { padding: 20px 16px; }
  .quiz-attempt-table { font-size: 0.78rem; }
}

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
  .status-grid,
  .combined-row { grid-template-columns: 1fr 1fr; }
  .cashout-form-row { flex-direction: column; }
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .two-col   { grid-template-columns: 1fr; }
  .quick-links { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .main { margin-left: 0; padding: 16px; }
  .sidebar { display: none; }
}

/* Responsive Breakpoints */
@media (min-width: 600px) {
	.cta-form {
		flex-direction: row;
	}
	.cta-input {
		flex: 1;
	}
	.cta-button {
		width: auto;
		white-space: nowrap;
	}
	.story-section {
		padding: 40px 35px;
	}
}