/* ============================================
   Mollick + Signature System Website
   ============================================ */

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

:root {
  --navy: #1a2332;
  --navy-light: #243044;
  --navy-mid: #1e2b3d;
  --slate: #3a4a5c;
  --teal: #2ec4b6;
  --teal-dark: #1a9e92;
  --teal-glow: rgba(46, 196, 182, 0.15);
  --gold: #e8b931;
  --gold-soft: rgba(232, 185, 49, 0.12);
  --white: #ffffff;
  --off-white: #f0f2f5;
  --light-gray: #e2e6ec;
  --text-primary: #1a2332;
  --text-secondary: #5a6a7e;
  --text-light: #8a96a6;
  --text-on-dark: #c8d0dc;
  --section-dark: #1a2332;
  --section-light: #ffffff;
  --section-alt: #f5f7fa;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', monospace;
  --max-width: 1120px;
  --section-pad: 96px;
  --section-pad-sm: 64px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--white);
  overflow-x: hidden;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 680px;
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--teal-dark); }

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: var(--section-pad) 0;
}

.section-dark {
  background: var(--section-dark);
  color: var(--white);
}
.section-dark p { color: var(--text-on-dark); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }

.section-alt {
  background: var(--section-alt);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin-bottom: 12px;
}

.section-dark .section-label {
  color: var(--gold);
}

/* --- Nav --- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 35, 50, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.3s;
}

.site-nav.nav-hidden {
  transform: translateY(-100%);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.nav-logo {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-on-dark);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}
.nav-links a:hover { color: var(--white); }

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 4px;
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding-top: 56px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--teal-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--gold-soft) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero .subtitle {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: var(--text-on-dark);
  margin-bottom: 32px;
  font-weight: 400;
  max-width: 600px;
}

.hero .meta-note {
  font-size: 0.88rem;
  color: var(--text-light);
  border-left: 3px solid var(--teal);
  padding-left: 16px;
  margin-top: 40px;
  line-height: 1.6;
}

.hero .meta-note a {
  color: var(--teal);
}

.hero .attribution {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0;
}

.hero .attribution a {
  color: var(--gold);
}

/* --- Scroll indicator --- */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: float 2.5s ease-in-out infinite;
}

.scroll-indicator span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
}

.scroll-indicator svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-light);
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* --- Content Sections --- */
.section-intro {
  margin-bottom: 48px;
}

.section-intro p {
  margin-top: 16px;
}

/* --- Mollick Profile Section --- */
.mollick-profile {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 48px;
}

.mollick-content {
  flex: 1;
}

.mollick-content h2 {
  margin-bottom: 20px;
}

.mollick-bio {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-on-dark);
  margin-bottom: 14px;
  max-width: 760px;
}

.mollick-bio a {
  color: var(--gold);
}

.mollick-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
}

.mollick-link-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 24px;
  text-decoration: none;
  transition: border-color 0.3s, transform 0.2s, background 0.3s;
}

.mollick-link-card:hover {
  border-color: rgba(232, 185, 49, 0.4);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.mollick-link-featured {
  grid-column: 1 / -1;
  background: rgba(232, 185, 49, 0.06);
  border-color: rgba(232, 185, 49, 0.2);
}

.mollick-link-featured:hover {
  background: rgba(232, 185, 49, 0.1);
  border-color: rgba(232, 185, 49, 0.5);
}

.mollick-link-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
}

.mollick-link-text {
  flex: 1;
  min-width: 0;
}

.mollick-link-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 4px;
}

.mollick-link-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}

.mollick-link-desc {
  font-size: 0.85rem;
  color: var(--text-on-dark);
  line-height: 1.5;
}

.mollick-link-arrow {
  font-size: 1.2rem;
  color: var(--gold);
  flex-shrink: 0;
  align-self: center;
  opacity: 0.5;
  transition: opacity 0.2s, transform 0.2s;
}

.mollick-link-card:hover .mollick-link-arrow {
  opacity: 1;
  transform: translateX(3px);
}

.mollick-callout {
  text-align: center;
  padding: 28px 32px;
  background: rgba(232, 185, 49, 0.06);
  border: 1px solid rgba(232, 185, 49, 0.15);
  border-radius: 14px;
}

.mollick-callout p {
  font-size: 1rem;
  color: var(--text-on-dark);
  max-width: 700px;
  margin: 0 auto;
  font-style: italic;
}

@media (max-width: 700px) {
  .mollick-links {
    grid-template-columns: 1fr;
  }
  .mollick-link-featured {
    grid-column: auto;
  }
}

/* --- Problem Section --- */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 48px;
}

.problem-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.channel-overwhelm {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 320px;
}

.channel-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 10px;
  padding: 16px 12px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--slate);
  transition: transform 0.3s, box-shadow 0.3s;
}

.channel-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.channel-card .icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 6px;
}

.problem-text h3 {
  margin-bottom: 16px;
}

.problem-text p {
  margin-bottom: 12px;
}

.old-way-list {
  list-style: none;
  margin-top: 20px;
}

.old-way-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.old-way-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

/* --- Equation Section --- */
.equation-display {
  background: var(--navy-light);
  border-radius: 16px;
  padding: 40px;
  margin: 40px 0;
  text-align: center;
}

.equation-formula {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.eq-var {
  background: rgba(46, 196, 182, 0.1);
  border: 1px solid rgba(46, 196, 182, 0.25);
  border-radius: 10px;
  padding: 14px 22px;
  text-align: center;
}

.eq-var .label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  margin-bottom: 4px;
}

.eq-var .value {
  display: block;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
}

.eq-operator {
  font-size: 1.6rem;
  color: var(--text-light);
  font-weight: 300;
}

.equation-note {
  font-size: 0.85rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* --- Calculator --- */
.calculator {
  background: var(--navy-light);
  border-radius: 16px;
  padding: 40px;
  margin-top: 40px;
}

.calculator h3 {
  margin-bottom: 28px;
  text-align: center;
}

.calc-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.calc-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-on-dark);
  margin-bottom: 8px;
}

.calc-field .range-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.calc-field input[type="range"] {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  outline: none;
}

.calc-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--teal);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(46, 196, 182, 0.4);
}

.calc-field .range-value {
  min-width: 56px;
  text-align: right;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--teal);
  font-family: var(--font-mono);
}

.calc-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.calc-result-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.calc-result-card .result-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 6px;
}

.calc-result-card .result-value {
  font-size: 1.6rem;
  font-weight: 700;
  font-family: var(--font-mono);
}

.result-positive { color: var(--teal); }
.result-negative { color: #e74c3c; }
.result-neutral { color: var(--gold); }

.calc-verdict {
  margin-top: 24px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 14px;
  border-radius: 10px;
}

.verdict-delegate {
  background: rgba(46, 196, 182, 0.1);
  color: var(--teal);
  border: 1px solid rgba(46, 196, 182, 0.25);
}

.verdict-manual {
  background: rgba(231, 76, 60, 0.1);
  color: #e74c3c;
  border: 1px solid rgba(231, 76, 60, 0.25);
}

.verdict-borderline {
  background: var(--gold-soft);
  color: var(--gold);
  border: 1px solid rgba(232, 185, 49, 0.25);
}

/* --- Delegation Section --- */
.delegation-examples {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 32px 0;
}

.delegation-example {
  background: var(--section-alt);
  border-radius: 10px;
  padding: 18px 16px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.delegation-example strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text-primary);
  font-size: 0.8rem;
}

.question-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
}

.question-table th {
  text-align: left;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  padding: 12px 16px;
  border-bottom: 2px solid var(--light-gray);
}

.question-table td {
  padding: 14px 16px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--light-gray);
  vertical-align: top;
}

.question-table td:first-child {
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  width: 40%;
}

/* --- Levers Section --- */
.levers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.lever-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 32px 24px;
  transition: border-color 0.3s, transform 0.3s;
}

.lever-card:hover {
  border-color: rgba(46, 196, 182, 0.3);
  transform: translateY(-2px);
}

.lever-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(46, 196, 182, 0.15);
  color: var(--teal);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.lever-card h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.lever-card p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.lever-card .effect {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(46, 196, 182, 0.1);
}

.levers-footer {
  margin-top: 32px;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-on-dark);
  font-style: italic;
}

/* --- Case Study Section --- */
.case-roles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 36px 0;
}

.role-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 14px;
  padding: 28px 24px;
}

.role-icon {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.role-card h4 {
  margin-bottom: 8px;
}

.role-card p {
  font-size: 0.9rem;
}

/* --- Architecture Diagram --- */
.architecture-diagram {
  margin: 48px auto;
  max-width: 800px;
}

.arch-layer {
  border-radius: 14px;
  padding: 28px 32px;
  position: relative;
}

.arch-task {
  background: var(--white);
  border: 2px solid var(--teal);
  margin-bottom: 0;
  z-index: 2;
  position: relative;
}

.arch-connector {
  display: flex;
  justify-content: center;
  padding: 6px 0;
}

.arch-connector svg {
  width: 40px;
  height: 40px;
}

.arch-workunit {
  background: var(--navy);
  border: 2px solid var(--gold);
  color: var(--white);
  z-index: 1;
  position: relative;
}

.arch-layer-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin-bottom: 14px;
}

.arch-task .arch-layer-title { color: var(--teal); }
.arch-workunit .arch-layer-title { color: var(--gold); }

.arch-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.arch-field {
  font-size: 0.78rem;
  padding: 5px 12px;
  border-radius: 6px;
  font-weight: 500;
}

.arch-task .arch-field {
  background: rgba(46, 196, 182, 0.08);
  color: var(--slate);
}

.arch-task .arch-field.lookup {
  background: rgba(232, 185, 49, 0.1);
  color: var(--gold);
  border: 1px dashed rgba(232, 185, 49, 0.3);
}

.arch-workunit .arch-field {
  background: rgba(232, 185, 49, 0.1);
  color: var(--gold);
}

.arch-workunit .arch-field.computed {
  background: rgba(46, 196, 182, 0.1);
  color: var(--teal);
  border: 1px dashed rgba(46, 196, 182, 0.3);
}

.arch-systems {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 6px;
}

.arch-system {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.arch-system .sys-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: var(--section-alt);
  border: 1px solid var(--light-gray);
}

.arch-system .sys-label {
  font-size: 0.7rem;
  color: var(--text-light);
  font-weight: 500;
}

/* --- Cross-Check Section --- */
.crosscheck-matrix {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  grid-template-rows: auto 1fr 1fr;
  gap: 3px;
  max-width: 640px;
  margin: 40px auto;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  overflow: hidden;
}

.matrix-corner {
  background: transparent;
  padding: 16px;
}

.matrix-header {
  padding: 14px 20px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.matrix-header.col {
  background: rgba(46, 196, 182, 0.1);
  color: var(--teal);
}

.matrix-header.row {
  background: rgba(232, 185, 49, 0.1);
  color: var(--gold);
  writing-mode: vertical-lr;
  text-orientation: mixed;
  transform: rotate(180deg);
}

.matrix-cell {
  padding: 24px 20px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  border-radius: 2px;
}

.matrix-cell:hover {
  transform: scale(1.02);
  z-index: 1;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.matrix-cell .cell-status {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.matrix-cell .cell-label {
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.matrix-cell .cell-desc {
  font-size: 0.75rem;
  line-height: 1.4;
  opacity: 0.8;
}

.cell-aligned {
  background: rgba(46, 196, 182, 0.12);
  color: var(--teal);
}

.cell-escalation {
  background: rgba(231, 76, 60, 0.12);
  color: #e74c3c;
}

.cell-deescalation {
  background: rgba(232, 185, 49, 0.12);
  color: var(--gold);
}

.cell-parked {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-on-dark);
}

/* --- Escalation Ladder --- */
.escalation-ladder {
  max-width: 700px;
  margin: 40px auto;
  position: relative;
}

.ladder-timeline {
  position: relative;
  padding: 20px 0;
}

.ladder-track {
  position: relative;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  margin: 60px 0 20px;
  overflow: visible;
}

.ladder-fill {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--text-light), var(--gold), var(--teal), #e74c3c);
  transition: width 0.8s ease;
}

.ladder-marker {
  position: absolute;
  top: -48px;
  transform: translateX(-50%);
  text-align: center;
  transition: all 0.5s ease;
}

.ladder-marker .marker-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin: 0 auto 6px;
  border: 3px solid;
  background: var(--navy);
  transition: all 0.3s;
}

.ladder-marker .marker-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.ladder-marker .marker-days {
  font-size: 0.6rem;
  color: var(--text-light);
  margin-top: 2px;
}

.ladder-cursor {
  position: absolute;
  top: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(255, 255, 255, 0.3);
  transform: translateX(-50%);
  transition: left 0.8s ease;
  z-index: 2;
}

.ladder-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.ladder-controls label {
  font-size: 0.82rem;
  color: var(--text-on-dark);
  font-weight: 500;
}

.ladder-controls input[type="range"] {
  width: 200px;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  outline: none;
}

.ladder-controls input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
}

.ladder-controls .days-display {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
  min-width: 80px;
}

.ladder-current-band {
  text-align: center;
  margin-top: 20px;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  transition: all 0.3s;
}

/* --- Insight / Quote --- */
.insight-section {
  text-align: center;
  padding: var(--section-pad) 0;
}

.big-quote {
  font-size: clamp(1.3rem, 2.8vw, 1.8rem);
  font-weight: 400;
  font-style: italic;
  color: var(--white);
  max-width: 740px;
  margin: 0 auto 24px;
  line-height: 1.5;
}

.quote-attr {
  font-size: 0.88rem;
  color: var(--text-light);
}

.insight-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
  text-align: left;
}

.insight-point {
  border-left: 3px solid var(--teal);
  padding-left: 20px;
}

.insight-point h4 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.insight-point p {
  font-size: 0.88rem;
  line-height: 1.5;
}

/* --- Footer --- */
.site-footer {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-inner p {
  font-size: 0.82rem;
  color: var(--text-light);
  max-width: 600px;
}

.footer-inner a {
  color: var(--teal);
}

.footer-meta {
  font-size: 0.78rem;
  color: var(--text-light);
  opacity: 0.6;
  margin-top: 8px;
}

/* --- Tooling Section --- */
.tooling-map {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

.tooling-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 14px;
  padding: 32px 28px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.tooling-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.tooling-icon {
  margin-bottom: 16px;
}

.tooling-card h3 {
  margin-bottom: 4px;
  font-size: 1.3rem;
}

.tooling-role {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  margin-bottom: 14px;
}

.tooling-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 16px;
}

.tooling-maps-to {
  background: var(--section-alt);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 0.84rem;
  line-height: 1.55;
}

.mapping-label {
  font-weight: 600;
  color: var(--teal-dark);
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.mapping-value {
  color: var(--text-secondary);
}

/* Tooling flow diagram */
.tooling-flow {
  margin-top: 56px;
  padding: 40px 32px;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 14px;
}

.tooling-flow h3 {
  text-align: center;
  margin-bottom: 32px;
}

.flow-diagram {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 130px;
}

.flow-node {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 8px;
  white-space: nowrap;
}

.flow-node-claude {
  background: rgba(199, 125, 186, 0.12);
  color: #9b59b6;
  border: 1px solid rgba(199, 125, 186, 0.25);
}

.flow-node-airtable {
  background: rgba(46, 196, 182, 0.1);
  color: var(--teal-dark);
  border: 1px solid rgba(46, 196, 182, 0.25);
}

.flow-node-gmail {
  background: rgba(232, 185, 49, 0.1);
  color: #b8860b;
  border: 1px solid rgba(232, 185, 49, 0.25);
}

.flow-node-drive {
  background: rgba(66, 133, 244, 0.1);
  color: #2a6bc7;
  border: 1px solid rgba(66, 133, 244, 0.25);
}

.flow-desc {
  font-size: 0.72rem;
  color: var(--text-light);
  line-height: 1.4;
}

.flow-arrow {
  font-size: 1.2rem;
  color: var(--text-light);
  padding-top: 8px;
  flex-shrink: 0;
}

.flow-caption {
  text-align: center;
  margin-top: 28px;
  font-size: 0.88rem;
  color: var(--text-light);
  font-style: italic;
}

/* Delegation mapping grid */
.tooling-delegation {
  margin-top: 56px;
}

.tooling-delegation h3 {
  margin-bottom: 28px;
}

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

.delegation-map-item {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 12px;
  padding: 22px 20px;
}

.dq-question {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--light-gray);
}

.dq-answer {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.dq-answer strong {
  color: var(--teal-dark);
}

/* --- Hidden / Easter Egg Section --- */
.hidden-section {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hidden-section.revealed {
  display: block;
  opacity: 1;
}

.hidden-section-inner {
  text-align: center;
  padding: 40px 0;
}

@media (max-width: 900px) {
  .tooling-map {
    grid-template-columns: 1fr;
  }
  .delegation-map-grid {
    grid-template-columns: 1fr;
  }
  .flow-diagram {
    flex-direction: column;
    align-items: center;
  }
  .flow-arrow {
    transform: rotate(90deg);
    padding: 0;
  }
  .flow-step {
    max-width: 200px;
  }
}

/* --- Nav Divider & Page Links --- */
.nav-divider {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.15);
  align-self: center;
}

.nav-page-link {
  color: var(--gold) !important;
  font-weight: 600 !important;
}

/* --- Page Bridge --- */
.page-bridge {
  padding: 72px 0;
}

.bridge-inner {
  text-align: center;
}

.bridge-inner h2 {
  margin-bottom: 16px;
}

.bridge-cards {
  display: flex;
  gap: 20px;
  margin-top: 0;
  flex-wrap: wrap;
}

.bridge-card {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  min-width: 280px;
  background: var(--white);
  border: 2px solid var(--light-gray);
  border-radius: 14px;
  padding: 28px 24px;
  text-decoration: none;
  transition: border-color 0.3s, transform 0.2s, box-shadow 0.3s;
}

.bridge-card:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.bridge-card-coming {
  opacity: 0.55;
  cursor: default;
  position: relative;
}

.bridge-card-coming:hover {
  border-color: var(--light-gray);
  transform: none;
  box-shadow: none;
}

.bridge-card-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.bridge-card-content {
  flex: 1;
  text-align: left;
}

.bridge-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.bridge-card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.bridge-card-arrow {
  font-size: 1.3rem;
  color: var(--teal);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.bridge-card:hover .bridge-card-arrow {
  transform: translateX(4px);
}

.bridge-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  background: var(--section-alt);
  padding: 4px 10px;
  border-radius: 4px;
}

/* --- Co-Pilot Hero --- */
.copilot-hero,
.commissions-hero {
  min-height: 80vh;
}

.copilot-brand {
  margin-bottom: 20px;
}

.brand-link {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold) !important;
  padding: 6px 14px;
  border: 1px solid rgba(232, 185, 49, 0.3);
  border-radius: 6px;
  transition: background 0.2s;
}

.brand-link:hover {
  background: rgba(232, 185, 49, 0.1);
  color: var(--gold) !important;
}

/* --- Philosophy Cards --- */
.philosophy-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
}

.philosophy-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 14px;
  padding: 32px 28px;
}

.philosophy-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(46, 196, 182, 0.1);
  color: var(--teal);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.philosophy-card h3 {
  margin-bottom: 8px;
}

.philosophy-card p {
  font-size: 0.92rem;
}

/* --- Dark Tool Cards (co-pilot page) --- */
.tool-dark {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.tool-dark h3 { color: var(--white); }
.tool-dark p { color: var(--text-on-dark); }

.tool-dark:hover {
  border-color: rgba(46, 196, 182, 0.3) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.tool-detail {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.tool-detail-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 8px;
}

.tool-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tool-tag {
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-on-dark);
  font-weight: 500;
}

.tool-dark code {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--gold);
}

/* --- Workflow Steps --- */
.workflow-steps {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.wf-step {
  display: flex;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 12px;
  padding: 24px 20px;
}

.wf-step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.wf-step-content h4 {
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.wf-step-content p {
  font-size: 0.84rem;
  line-height: 1.55;
}

/* --- Dark Delegation Map Items --- */
.dm-dark {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.dm-dark .dq-question {
  color: var(--white);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.dm-dark .dq-answer {
  color: var(--text-on-dark);
}

.dm-dark .dq-answer strong {
  color: var(--gold);
}

@media (max-width: 900px) {
  .philosophy-cards {
    grid-template-columns: 1fr;
  }
  .workflow-steps {
    grid-template-columns: 1fr;
  }
  .bridge-cards {
    flex-direction: column;
  }
}

/* --- Pipeline Diagram (Commissions Page) --- */
.pipeline-diagram {
  max-width: 640px;
  margin: 40px auto 0;
}

.pipeline-stage {
  display: flex;
  gap: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 28px 24px;
  transition: border-color 0.3s;
}

.pipeline-stage:hover {
  border-color: rgba(46, 196, 182, 0.3);
}

.pipeline-stage-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.pipeline-stage-content h4 {
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.pipeline-stage-content p {
  font-size: 0.88rem;
  line-height: 1.6;
}

.pipeline-connector {
  display: flex;
  justify-content: center;
  padding: 0;
  height: 32px;
}

.pipeline-connector-line {
  width: 2px;
  height: 100%;
  background: repeating-linear-gradient(
    to bottom,
    var(--teal) 0px,
    var(--teal) 4px,
    transparent 4px,
    transparent 8px
  );
}

/* --- Rule Grid (Commissions Page) --- */
.rule-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.rule-card {
  display: flex;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 12px;
  padding: 20px 18px;
}

.rule-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(46, 196, 182, 0.1);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.78rem;
}

.rule-text {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* --- Admin Bucket Callout (Commissions Page) --- */
.admin-bucket-callout {
  margin-top: 48px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
}

.admin-bucket-callout h4 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.admin-bucket-callout > p {
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.admin-bucket-tags {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.admin-bucket-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 6px;
  white-space: nowrap;
}

.bucket-unknown {
  background: rgba(232, 185, 49, 0.15);
  color: var(--gold);
}

.bucket-missing {
  background: rgba(231, 76, 60, 0.15);
  color: #e74c3c;
}

.bucket-correction {
  background: rgba(138, 150, 166, 0.2);
  color: var(--text-on-dark);
}

.admin-bucket-label {
  font-size: 0.84rem;
  color: var(--text-on-dark);
}

.admin-bucket-threshold {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  color: var(--text-on-dark);
}

.admin-bucket-threshold strong {
  color: var(--gold);
}

/* --- Allocation Explorer (Commissions Page) --- */
.allocation-explorer {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 16px;
  padding: 36px;
  margin-top: 36px;
}

.allocation-explorer h3 {
  margin-bottom: 8px;
  text-align: center;
}

.allocation-explorer .explorer-desc {
  font-size: 0.88rem;
  text-align: center;
  margin-bottom: 28px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.allocation-explorer .calc-field label {
  color: var(--text-secondary);
}

.allocation-explorer .calc-field input[type="range"] {
  background: rgba(0, 0, 0, 0.08);
}

.allocation-explorer .calc-field .range-value {
  color: var(--teal);
}

.allocation-explorer .calc-result-card {
  background: var(--section-alt);
  border-color: var(--light-gray);
}

.allocation-explorer .calc-result-card .result-label {
  color: var(--text-light);
}

/* --- Stats Grid (Commissions Page) --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
}

.stat-value {
  font-size: 1.6rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--teal);
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  font-weight: 500;
}

/* --- Before/After Contrast (Commissions Page) --- */
.contrast-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 36px;
  margin-bottom: 12px;
}

.contrast-card {
  flex: 1;
  max-width: 280px;
  text-align: center;
  padding: 32px 24px;
  border-radius: 14px;
}

.contrast-before {
  background: var(--white);
  border: 2px solid var(--light-gray);
}

.contrast-after {
  background: var(--white);
  border: 2px solid var(--teal);
}

.contrast-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.contrast-before .contrast-label {
  color: var(--text-light);
}

.contrast-after .contrast-label {
  color: var(--teal);
}

.contrast-number {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 4px;
}

.contrast-before .contrast-number {
  color: var(--text-light);
  text-decoration: line-through;
  text-decoration-color: rgba(231, 76, 60, 0.5);
  text-decoration-thickness: 3px;
}

.contrast-after .contrast-number {
  color: var(--teal);
}

.contrast-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.contrast-arrow {
  flex-shrink: 0;
  color: var(--teal);
}

/* --- Pipeline I/O annotations --- */
.pipeline-io {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pipeline-io-in,
.pipeline-io-out {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  padding: 3px 10px;
  border-radius: 4px;
  line-height: 1.5;
}

.pipeline-io-in {
  background: rgba(232, 185, 49, 0.1);
  color: var(--gold);
}

.pipeline-io-out {
  background: rgba(46, 196, 182, 0.1);
  color: var(--teal);
}

/* --- Hero Stats (Commissions Page) --- */
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.stat-hero {
  padding: 32px 28px;
  border: 2px solid var(--teal);
  background: var(--white);
}

.stat-hero .stat-value {
  font-size: 2.4rem;
}

.stat-hero .stat-label {
  font-size: 0.82rem;
}

.stat-detail {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 8px;
  line-height: 1.4;
}

/* --- Equation Applied Table (Commissions Page) --- */
.equation-applied {
  margin-top: 40px;
}

.equation-table {
  width: 100%;
  border-collapse: collapse;
}

.equation-table th {
  text-align: left;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  padding: 14px 16px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.12);
}

.equation-table td {
  padding: 16px;
  font-size: 0.88rem;
  color: var(--text-on-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: top;
  line-height: 1.5;
}

.eq-lever-cell {
  font-weight: 600;
  color: var(--gold) !important;
  white-space: nowrap;
  width: 20%;
}

.eq-effect-cell {
  color: var(--text-light) !important;
  font-size: 0.84rem !important;
}

.equation-baseline {
  margin-top: 20px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  font-size: 0.88rem;
  color: var(--text-on-dark);
  line-height: 1.55;
}

.eq-baseline-label {
  font-weight: 600;
  color: var(--gold);
}

@media (max-width: 900px) {
  .pipeline-diagram {
    max-width: 100%;
  }
  .rule-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .contrast-visual {
    flex-direction: column;
    gap: 16px;
  }
  .contrast-card {
    max-width: 100%;
    width: 100%;
  }
  .contrast-arrow {
    transform: rotate(90deg);
  }
  .equation-table th:nth-child(3),
  .equation-table td:nth-child(3) {
    display: none;
  }
}

@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .admin-bucket-tags {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .pipeline-io {
    flex-direction: column;
    gap: 4px;
  }
}

/* --- Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* --- Responsive --- */
@media (max-width: 900px) {
  :root {
    --section-pad: 72px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-links.open { display: flex; }

  .nav-mobile-toggle { display: block; }

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

  .problem-visual { order: -1; }

  .calc-controls {
    grid-template-columns: 1fr;
  }

  .calc-results {
    grid-template-columns: 1fr;
  }

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

  .case-roles {
    grid-template-columns: 1fr;
  }

  .insight-points {
    grid-template-columns: 1fr;
  }

  .crosscheck-matrix {
    font-size: 0.85rem;
  }

  .matrix-cell {
    padding: 16px 12px;
  }
}

@media (max-width: 600px) {
  :root {
    --section-pad: 56px;
  }

  .equation-formula {
    flex-direction: column;
    gap: 12px;
  }

  .delegation-examples {
    grid-template-columns: 1fr 1fr;
  }

  .question-table td:first-child {
    white-space: normal;
  }

  .channel-overwhelm {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .crosscheck-matrix {
    grid-template-columns: auto 1fr 1fr;
  }

  .matrix-header.row {
    font-size: 0.65rem;
  }
}
