/* ============================================================
   NORTHLEDGER — Shared Design System
   ============================================================ */

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── DESIGN TOKENS ── */
:root {
  /* Brand palette */
  --amber:        #ff9f1c;
  --amber-lt:     #ffbf69;
  --amber-dim:    rgba(255, 159, 28, 0.10);
  --amber-border: rgba(255, 159, 28, 0.28);

  --teal:         #2ec4b6;
  --teal-dim:     rgba(46, 196, 182, 0.10);
  --teal-border:  rgba(46, 196, 182, 0.28);

  --red:          #ef4444;
  --red-dim:      rgba(239, 68, 68, 0.10);

  /* Surfaces — warm parchment scale */
  --surface-0:    #faf4eb;   /* page bg */
  --surface-1:    #f3ead9;   /* card bg, section bg */
  --surface-2:    #ebe0ca;   /* card inset, border bg */
  --surface-inv:  #1c150a;   /* dark inset (CTA band) */

  /* Typography */
  --ink:          #1c150a;
  --ink-2:        #6b5535;
  --ink-3:        #b09878;
  --ink-inv:      #faf4eb;
  --ink-inv-2:    rgba(250, 244, 235, 0.65);

  /* Borders */
  --border:       rgba(100, 70, 30, 0.12);
  --border-md:    rgba(100, 70, 30, 0.20);
  --border-str:   rgba(100, 70, 30, 0.30);

  /* Shadows */
  --shadow-sm:    0 1px 3px rgba(28, 21, 10, 0.06), 0 1px 2px rgba(28, 21, 10, 0.04);
  --shadow-md:    0 4px 16px rgba(28, 21, 10, 0.08), 0 2px 6px rgba(28, 21, 10, 0.05);
  --shadow-lg:    0 12px 40px rgba(28, 21, 10, 0.12), 0 4px 14px rgba(28, 21, 10, 0.07);
  --shadow-glow:  0 0 0 3px var(--amber-border);

  /* Radii */
  --r-sm:   6px;
  --r-md:   10px;
  --r-lg:   14px;
  --r-xl:   20px;
  --r-pill: 100px;

  /* Motion */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:    cubic-bezier(0.4, 0, 1, 1);
  --ease-spring:cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast:   150ms;
  --dur-mid:    250ms;
  --dur-slow:   400ms;

  /* Semantic aliases */
  --accent:       var(--amber);
  --accent-lt:    var(--amber-lt);
  --accent-dim:   var(--amber-dim);

  /* Spacing scale — slightly opened up for comfortable density */
  --sp-1:  5px;
  --sp-2: 10px;
  --sp-3: 14px;
  --sp-4: 20px;
  --sp-5: 28px;
  --sp-6: 40px;
  --sp-7: 56px;
  --sp-8: 76px;
  --sp-9: 112px;
}

/* ── BASE ── */
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--surface-0);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ── TYPOGRAPHY ── */
h1 {
  font-size: clamp(36px, 6vw, 66px);
  font-weight: 700;
  letter-spacing: -2.5px;
  line-height: 1.06;
}
h2 {
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -1.2px;
  line-height: 1.18;
}
h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.3px;
  line-height: 1.3;
}
h4 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.1px;
}
h1 em, h2 em { font-style: normal; color: var(--accent); }

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-3);
}

/* ── LAYOUT ── */
.page { padding-top: 66px; }
section { padding: var(--sp-9) 48px; }
.container { max-width: 1080px; margin: 0 auto; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 66px;
  background: rgba(250, 244, 235, 0.88);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--dur-mid) var(--ease-out);
}
nav.scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--border-md);
}
.nav-logo {
  font-size: 16px; font-weight: 700; color: var(--ink);
  text-decoration: none; letter-spacing: -0.5px;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: var(--sp-8); align-items: center; }
.nav-links a {
  font-size: 14px; color: var(--ink-2);
  text-decoration: none;
  transition: color var(--dur-fast);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; right: 0;
  height: 1.5px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-mid) var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--ink); }

/* ── LANG TOGGLE ── */
.lang-toggle {
  display: flex; align-items: center; gap: 4px;
  background: var(--surface-2);
  border: 1px solid var(--border-md);
  border-radius: var(--r-pill);
  padding: 4px 10px;
  cursor: pointer;
  font-family: inherit;
  transition: border-color var(--dur-fast);
  flex-shrink: 0;
  margin-left: var(--sp-3);
}
.lang-toggle:hover { border-color: var(--border-str); }
.lang-opt {
  font-size: 12px; font-weight: 600;
  color: var(--ink-3);
  padding: 2px 4px;
  border-radius: var(--r-sm);
  transition: color var(--dur-fast), background var(--dur-fast);
  cursor: pointer;
}
.lang-opt.active {
  color: var(--ink);
  background: var(--surface-0);
}
.lang-sep { font-size: 11px; color: var(--border-str); }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: 14px; font-weight: 700; padding: 11px 22px;
  background: var(--accent); color: var(--ink);
  border: 1px solid transparent; border-radius: var(--r-md);
  cursor: pointer; text-decoration: none;
  transition: opacity var(--dur-fast), transform var(--dur-fast) var(--ease-spring), box-shadow var(--dur-mid);
  box-shadow: var(--shadow-sm), 0 0 0 0 var(--amber-border);
}
.btn-primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md), 0 0 0 0 var(--amber-border);
}
.btn-primary:active { transform: translateY(0); opacity: 1; }
.btn-primary:focus-visible { outline: none; box-shadow: var(--shadow-sm), var(--shadow-glow); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: 14px; font-weight: 500; padding: 11px 22px;
  background: transparent; color: var(--ink-2);
  border: 1px solid var(--border-md); border-radius: var(--r-md);
  cursor: pointer; text-decoration: none;
  transition: color var(--dur-fast), border-color var(--dur-fast), background var(--dur-fast), transform var(--dur-fast) var(--ease-spring);
}
.btn-ghost:hover {
  color: var(--ink);
  border-color: var(--border-str);
  background: rgba(100, 70, 30, 0.04);
  transform: translateY(-1px);
}
.btn-ghost:active { transform: translateY(0); }
.btn-ghost:focus-visible { outline: none; border-color: var(--accent); }

.btn-nav {
  font-size: 13px; font-weight: 700; padding: 7px 16px;
  background: var(--accent); color: var(--ink);
  border: none; border-radius: var(--r-sm);
  cursor: pointer; text-decoration: none;
  transition: opacity var(--dur-fast), transform var(--dur-fast) var(--ease-spring);
}
.btn-nav:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-nav:active { transform: translateY(0); }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }

/* ── HERO ── */
#hero {
  padding: 160px 40px 100px;
  text-align: center;
  position: relative; overflow: hidden;
}
.hero-glow {
  pointer-events: none;
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 700px 500px at 50% -60px, rgba(255,159,28,0.22) 0%, transparent 70%),
    radial-gradient(ellipse 400px 300px at 15% 60%, rgba(46,196,182,0.08) 0%, transparent 60%);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: 12px; font-weight: 600; color: var(--accent);
  background: var(--accent-dim); border: 1px solid var(--amber-border);
  border-radius: var(--r-pill); padding: 5px 14px; margin-bottom: var(--sp-5);
}
.hero-badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.75); }
}
#hero h1 { margin: 0 auto var(--sp-5); max-width: 820px; position: relative; z-index: 1; }
.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--ink-2); max-width: 540px;
  margin: 0 auto var(--sp-7); line-height: 1.75;
  position: relative; z-index: 1;
}
.hero-ctas {
  display: flex; gap: var(--sp-3);
  justify-content: center; flex-wrap: wrap;
  position: relative; z-index: 1;
}

/* ── STATS STRIP ── */
#stats { padding: 0 40px var(--sp-8); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.stat-item {
  background: var(--surface-1);
  padding: 36px 28px;
  text-align: center;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  transition: background var(--dur-fast);
}
.stat-item:hover { background: var(--surface-2); }
.stat-value {
  font-size: 36px; font-weight: 700; letter-spacing: -1.5px;
  line-height: 1; color: var(--ink);
  white-space: nowrap;
}
.stat-value em { font-style: normal; color: var(--accent); }
.stat-label {
  font-size: 13px; color: var(--ink-2);
  margin-top: 8px; line-height: 1.45;
  max-width: 140px;
}

/* ── PRODUCT SPOTLIGHT ── */
#product-spot { padding: 0 40px var(--sp-8); }
.spot-inner {
  background: var(--surface-1);
  border: 1px solid var(--amber-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-8);
  align-items: center;
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,0.5);
  position: relative; overflow: hidden;
}
.spot-inner::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,159,28,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.spot-inner .section-label { margin-bottom: var(--sp-3); }
.spot-headline {
  font-size: clamp(24px, 3.5vw, 42px);
  font-weight: 700; letter-spacing: -1.2px; line-height: 1.15;
  margin-bottom: var(--sp-3);
}
.spot-headline-static {
  color: var(--ink);
}
.spot-headline-rotate {
  color: var(--accent);
  height: 1.2em;
  overflow: hidden;
}
.spot-headline-rotate::after {
  content: '|';
  color: var(--accent);
  animation: blink-cursor 0.8s step-end infinite;
  margin-left: 1px;
}
@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.spot-inner > p {
  font-size: 15px; color: var(--ink-2); line-height: 1.75;
  max-width: 520px;
}
.spot-cta {
  display: flex; flex-direction: column;
  gap: var(--sp-3); align-items: flex-end; flex-shrink: 0;
}
.btn-spot {
  font-size: 14px; font-weight: 700; padding: 13px 28px;
  background: var(--accent); color: var(--ink);
  border-radius: var(--r-md); text-decoration: none;
  white-space: nowrap;
  transition: opacity var(--dur-fast), transform var(--dur-fast) var(--ease-spring);
  box-shadow: var(--shadow-sm);
  display: inline-block;
}
.btn-spot:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-spot:active { transform: translateY(0); }
.spot-cta-note { font-size: 12px; color: var(--ink-3); white-space: nowrap; }

/* pills (used on product.html) */
.spot-pills { display: flex; gap: var(--sp-2); flex-wrap: wrap; margin-top: var(--sp-4); }
.spot-pill {
  font-size: 12px; font-weight: 500; padding: 4px 12px;
  border-radius: var(--r-pill); border: 1px solid var(--border-md); color: var(--ink-2);
}
.spot-pill.teal { background: var(--teal-dim); border-color: var(--teal-border); color: var(--teal); }
.spot-pill.amber { background: var(--accent-dim); border-color: var(--amber-border); color: var(--accent); }

/* ── HOW IT WORKS ── */
#how {
  background: var(--surface-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.how-header { text-align: center; margin-bottom: var(--sp-8); }
.how-header p { font-size: 15px; color: var(--ink-2); margin-top: var(--sp-3); }
.how-steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; position: relative;
}
.how-steps::before {
  content: '';
  position: absolute; top: 27px;
  left: calc(16.67% + 20px); right: calc(16.67% + 20px);
  height: 1px;
  background: linear-gradient(90deg, var(--border-md), var(--amber-border), var(--border-md));
}
.how-step { padding: 0 var(--sp-6); text-align: center; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid var(--amber-border);
  background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; color: var(--accent);
  margin: 0 auto var(--sp-4); position: relative; z-index: 1;
  transition: background var(--dur-mid), box-shadow var(--dur-mid);
}
.how-step:hover .step-num {
  background: var(--accent-dim);
  box-shadow: 0 0 0 6px var(--amber-dim);
}
.how-step h3 { font-size: 16px; margin-bottom: var(--sp-2); }
.how-step p { font-size: 14px; color: var(--ink-2); line-height: 1.65; }

/* ── PIPELINE TABS ── */
#pipeline { border-bottom: 1px solid var(--border); }
.pipeline-header { text-align: center; margin-bottom: var(--sp-7); }
.pipeline-header p { font-size: 15px; color: var(--ink-2); max-width: 500px; margin: var(--sp-3) auto 0; }
.pipeline-tabs {
  display: flex; justify-content: center; gap: var(--sp-2); margin-bottom: var(--sp-5);
  padding: 4px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  width: fit-content;
  margin-left: auto; margin-right: auto;
}
.tab-btn {
  font-size: 13px; font-weight: 500; padding: 6px 18px;
  background: transparent; color: var(--ink-2);
  border: none; border-radius: var(--r-pill);
  cursor: pointer;
  transition: background var(--dur-fast), color var(--dur-fast), box-shadow var(--dur-fast);
}
.tab-btn:hover { color: var(--ink); }
.tab-btn.active {
  background: var(--surface-0);
  color: var(--ink);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.tab-content { display: none; }
.tab-content.active { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

/* ── NODE CARDS (shared across pages) ── */
.node-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px;
  transition: border-color var(--dur-mid), box-shadow var(--dur-mid), transform var(--dur-mid) var(--ease-out);
  cursor: default;
}
.node-card:hover {
  border-color: var(--amber-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.node-card h4 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.node-card p { font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.node-examples {
  margin-top: var(--sp-3); padding-top: var(--sp-3);
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 3px;
}
.node-example { font-size: 13px; color: var(--ink-3); }
.node-example::before { content: '→ '; color: var(--accent); }

/* ── USE CASES ── */
#usecases {
  background: var(--surface-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.usecase-header { text-align: center; margin-bottom: var(--sp-7); }
.usecase-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.usecase-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px;
  transition: border-color var(--dur-mid), box-shadow var(--dur-mid), transform var(--dur-mid) var(--ease-out);
}
.usecase-card:hover {
  border-color: var(--border-md);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.usecase-card h4 { font-size: 16px; font-weight: 600; margin-bottom: var(--sp-2); }
.usecase-card p { font-size: 14px; color: var(--ink-2); margin-bottom: var(--sp-3); line-height: 1.65; }
.usecase-meta { display: flex; gap: 7px; flex-wrap: wrap; }
.tag {
  font-size: 11px; font-weight: 500; padding: 3px 10px;
  border-radius: var(--r-pill); border: 1px solid var(--border-md); color: var(--ink-2);
}
.tag.green { background: var(--teal-dim); border-color: var(--teal-border); color: var(--teal); }

/* ── PRICING ── */
#pricing { border-bottom: 1px solid var(--border); }
.pricing-header { text-align: center; margin-bottom: var(--sp-7); }
.pricing-header p { font-size: 15px; color: var(--ink-2); margin-top: var(--sp-3); }
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px; align-items: start;
}
.pricing-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px;
  position: relative;
  transition: box-shadow var(--dur-mid), transform var(--dur-mid) var(--ease-out);
  box-shadow: var(--shadow-sm);
}
.pricing-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.pricing-card.featured {
  border-color: var(--amber-border);
  background: linear-gradient(160deg, var(--surface-1) 0%, rgba(255,159,28,0.04) 100%);
}
.featured-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  font-size: 11px; font-weight: 700; padding: 4px 14px;
  background: var(--accent); color: var(--ink);
  border-radius: var(--r-pill); white-space: nowrap;
  box-shadow: var(--shadow-sm);
}
.pricing-tier {
  font-size: 11px; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--ink-2); margin-bottom: var(--sp-2);
}
.pricing-price {
  font-size: 40px; font-weight: 700; letter-spacing: -1.5px;
  line-height: 1; color: var(--ink); margin-bottom: var(--sp-1);
}
.pricing-price span { font-size: 15px; font-weight: 400; color: var(--ink-2); }
.pricing-desc {
  font-size: 13px; color: var(--ink-2); margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-5); border-bottom: 1px solid var(--border);
  line-height: 1.6;
}
.pricing-features {
  list-style: none; display: flex; flex-direction: column;
  gap: 10px; margin-bottom: var(--sp-6);
}
.pricing-features li {
  font-size: 13px; color: var(--ink-2);
  display: flex; gap: var(--sp-2); align-items: flex-start; line-height: 1.5;
}
.pricing-features li::before {
  content: '✓'; color: var(--teal); font-weight: 700;
  flex-shrink: 0; margin-top: 1px;
}
.btn-pricing {
  width: 100%; font-size: 14px; font-weight: 600; padding: 11px;
  border-radius: var(--r-md); cursor: pointer; text-align: center;
  text-decoration: none; display: block;
  transition: all var(--dur-fast);
}
.btn-pricing.outline {
  background: transparent; color: var(--ink-2);
  border: 1px solid var(--border-md);
}
.btn-pricing.outline:hover { color: var(--ink); border-color: var(--border-str); background: rgba(100,70,30,0.04); }
.btn-pricing.filled {
  background: var(--accent); color: var(--ink);
  border: 1px solid transparent; box-shadow: var(--shadow-sm);
}
.btn-pricing.filled:hover { opacity: 0.9; box-shadow: var(--shadow-md); transform: translateY(-1px); }

/* ── CTA BAND ── */
#cta {
  text-align: center;
  background: var(--surface-inv);
  border-top: 1px solid rgba(255,255,255,0.06);
  position: relative; overflow: hidden;
}
#cta::before {
  content: '';
  position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(255,159,28,0.15) 0%, transparent 65%);
  pointer-events: none;
}
#cta .section-label { color: var(--amber-lt); }
#cta h2 { max-width: 540px; margin: 0 auto var(--sp-4); color: var(--ink-inv); }
#cta p {
  font-size: 16px; color: var(--ink-inv-2);
  max-width: 440px; margin: 0 auto var(--sp-7); line-height: 1.7;
}
.cta-btns { display: flex; gap: var(--sp-3); justify-content: center; flex-wrap: wrap; }
#cta .btn-ghost {
  color: var(--ink-inv-2); border-color: rgba(250,244,235,0.2);
}
#cta .btn-ghost:hover {
  color: var(--ink-inv); border-color: rgba(250,244,235,0.4);
  background: rgba(250,244,235,0.08);
}

/* ── FOOTER ── */
footer {
  padding: 28px 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: var(--surface-inv);
  display: flex; align-items: center; justify-content: space-between;
}
footer p { font-size: 13px; color: rgba(176,152,120,0.7); }
footer a { color: rgba(176,152,120,0.7); text-decoration: none; transition: color var(--dur-fast); }
footer a:hover { color: var(--ink-inv); }

/* ── PRODUCT PAGE — HERO ── */
.product-hero { padding: 120px 40px 80px; border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.product-hero .hero-glow {
  background: radial-gradient(ellipse 600px 400px at 50% -40px, rgba(255,159,28,0.18) 0%, transparent 70%);
}
.product-hero h1 { max-width: 700px; margin-bottom: var(--sp-4); }
.hero-sub { font-size: 18px; color: var(--ink-2); max-width: 560px; line-height: 1.75; margin-bottom: var(--sp-6); }

/* ── BEFORE / AFTER ── */
#beforeafter {
  background: var(--surface-1);
  border-bottom: 1px solid var(--border);
}
.ba-intro { margin-bottom: var(--sp-7); }
.ba-intro h2 { margin-top: var(--sp-3); max-width: 620px; }
.ba-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2px; background: var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.ba-col { background: var(--surface-2); padding: 36px; }
.ba-col-head {
  font-size: 11px; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; margin-bottom: 24px;
  display: flex; align-items: center; gap: var(--sp-2);
}
.ba-col-head::before {
  content: '';
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
}
.ba-col.before .ba-col-head { color: var(--red); }
.ba-col.before .ba-col-head::before { background: var(--red); }
.ba-col.after .ba-col-head { color: var(--teal); }
.ba-col.after .ba-col-head::before { background: var(--teal); }
.ba-item { display: flex; gap: var(--sp-3); align-items: flex-start; margin-bottom: var(--sp-4); }
.ba-item:last-child { margin-bottom: 0; }
.ba-dot {
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; flex-shrink: 0; margin-top: 2px;
}
.ba-col.before .ba-dot { background: var(--red-dim); color: var(--red); }
.ba-col.after .ba-dot { background: var(--teal-dim); color: var(--teal); }
.ba-item p { font-size: 14px; color: var(--ink-2); line-height: 1.65; }
.ba-item p strong { color: var(--ink); font-weight: 600; }

/* ── PIPELINE DEEP DIVE ── */
#pipeline-deep { border-bottom: 1px solid var(--border); }
.pipeline-header-left { margin-bottom: var(--sp-7); }
.pipeline-header-left p { font-size: 16px; color: var(--ink-2); max-width: 560px; margin-top: var(--sp-3); }

/* Flow diagram */
.flow-diagram {
  display: flex; align-items: center;
  margin-bottom: var(--sp-8); overflow-x: auto;
  padding: var(--sp-4) 0 var(--sp-3);
  gap: 0;
}
.flow-node {
  flex-shrink: 0; border-radius: var(--r-md);
  padding: 16px 22px; text-align: center; min-width: 140px;
  border: 1px solid; position: relative;
  transition: box-shadow var(--dur-mid), transform var(--dur-mid) var(--ease-out);
}
.flow-node:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.flow-node.trigger   { background: var(--accent-dim);        border-color: var(--amber-border); }
.flow-node.processor { background: rgba(255,191,105,0.08);   border-color: rgba(255,191,105,0.25); }
.flow-node.dest      { background: var(--teal-dim);          border-color: var(--teal-border); }
.fn-icon {
  width: 30px; height: 30px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 10px;
  flex-shrink: 0;
}
.flow-node.trigger   .fn-icon { background: rgba(255,159,28,0.2); }
.flow-node.processor .fn-icon { background: rgba(255,191,105,0.2); }
.flow-node.dest      .fn-icon { background: rgba(46,196,182,0.2); }
.fn-icon svg {
  width: 16px; height: 16px;
  display: block; flex-shrink: 0;
}
.flow-node.trigger   .fn-icon svg { color: var(--accent); }
.flow-node.processor .fn-icon svg { color: var(--amber-lt); }
.flow-node.dest      .fn-icon svg { color: var(--teal); }
.fn-label {
  font-size: 10px; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; margin-bottom: 3px;
}
.flow-node.trigger   .fn-label { color: var(--accent); }
.flow-node.processor .fn-label { color: var(--amber-lt); }
.flow-node.dest      .fn-label { color: var(--teal); }
.fn-name { font-size: 13px; font-weight: 600; color: var(--ink); }
.flow-arrow {
  flex-shrink: 0; width: 36px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.flow-arrow svg { color: var(--ink-3); width: 16px; height: 16px; }


/* Node sections */
.node-section { margin-bottom: var(--sp-8); }
.node-section:last-child { margin-bottom: 0; }
.node-section-header { display: flex; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-4); }
.node-type-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; padding: 5px 14px; border-radius: var(--r-pill);
}
.node-type-pill svg { width: 13px; height: 13px; flex-shrink: 0; }
.node-type-pill.trigger   { background: var(--accent-dim);         color: var(--accent);    border: 1px solid var(--amber-border); }
.node-type-pill.processor { background: rgba(255,191,105,0.08);    color: var(--amber-lt);  border: 1px solid rgba(255,191,105,0.25); }
.node-type-pill.dest      { background: var(--teal-dim);           color: var(--teal);      border: 1px solid var(--teal-border); }
.node-section-header p { font-size: 14px; color: var(--ink-2); }
.node-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

/* ── BENEFITS ── */
#benefits {
  background: var(--surface-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.benefits-header { margin-bottom: var(--sp-7); }
.benefits-header p { font-size: 16px; color: var(--ink-2); max-width: 520px; margin-top: var(--sp-3); }
.benefits-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.benefit-card {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px;
  transition: border-color var(--dur-mid), box-shadow var(--dur-mid), transform var(--dur-mid) var(--ease-out);
}
.benefit-card:hover {
  border-color: var(--border-md);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.benefit-role {
  font-size: 11px; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--accent); margin-bottom: var(--sp-3);
}
.benefit-card h3 { font-size: 18px; margin-bottom: var(--sp-3); }
.benefit-card > p { font-size: 15px; color: var(--ink-2); line-height: 1.75; margin-bottom: var(--sp-5); }
.benefit-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.benefit-list li {
  font-size: 13px; color: var(--ink-2);
  display: flex; gap: 9px; align-items: flex-start; line-height: 1.5;
}
.benefit-list li::before { content: '✓'; color: var(--teal); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.benefit-stat {
  display: inline-block; margin-top: var(--sp-5); padding: 10px 16px;
  background: var(--accent-dim); border: 1px solid var(--amber-border);
  border-radius: var(--r-md);
}
.benefit-stat span {
  font-size: 22px; font-weight: 700; color: var(--amber-lt);
  letter-spacing: -0.5px; display: block; line-height: 1.2;
}
.benefit-stat p { font-size: 12px; color: var(--ink-2); margin-top: 2px; }

/* ── EXAMPLE PIPELINES ── */
#example { border-bottom: 1px solid var(--border); }
.example-header { margin-bottom: var(--sp-6); }
.example-header p { font-size: 16px; color: var(--ink-2); max-width: 520px; margin-top: var(--sp-3); }
.pipeline-scenario {
  background: var(--surface-1); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden; margin-bottom: 20px;
  transition: box-shadow var(--dur-mid);
}
.pipeline-scenario:hover { box-shadow: var(--shadow-md); }
.scenario-header {
  padding: 18px 28px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.scenario-header h4 { font-size: 15px; font-weight: 600; }
.scenario-tag {
  font-size: 11px; font-weight: 600; padding: 3px 10px;
  border-radius: var(--r-pill); background: var(--teal-dim); color: var(--teal);
  border: 1px solid var(--teal-border);
}
.scenario-steps { padding: 28px; display: flex; flex-direction: column; gap: 0; }
.scenario-step {
  display: flex; gap: 20px;
  align-items: flex-start; position: relative;
}
.scenario-step:not(:last-child)::after {
  content: ''; position: absolute; left: 17px; top: 36px;
  width: 2px; height: calc(100% + 4px);
  background: linear-gradient(to bottom, var(--border-md), var(--border));
}
.step-icon {
  width: 36px; height: 36px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
  position: relative; z-index: 1; margin-bottom: var(--sp-4);
}
.step-icon.trigger   { background: var(--accent-dim);       border: 1px solid var(--amber-border); }
.step-icon.processor { background: rgba(255,191,105,0.08);  border: 1px solid rgba(255,191,105,0.25); }
.step-icon.dest      { background: var(--teal-dim);         border: 1px solid var(--teal-border); }
.step-body { padding-bottom: 20px; padding-top: 4px; }
.step-body h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.step-body p { font-size: 13px; color: var(--ink-2); line-height: 1.6; }

/* ── INTEGRATIONS ── */
#integrations {
  background: var(--surface-1);
  border-top: 1px solid var(--border);
}
.integrations-header { text-align: center; margin-bottom: var(--sp-6); }
.integrations-header p { font-size: 15px; color: var(--ink-2); max-width: 460px; margin: var(--sp-2) auto 0; }

/* centered chip grid — same pattern as logo strip on index */
.integration-chips {
  display: flex; flex-wrap: wrap;
  justify-content: center; gap: var(--sp-2);
}
.int-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: 13px; font-weight: 500; color: var(--ink-2);
  transition: border-color var(--dur-fast), box-shadow var(--dur-mid), transform var(--dur-fast) var(--ease-out);
}
.int-chip:hover {
  border-color: var(--amber-border);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
  color: var(--ink);
}
.int-chip img {
  width: 20px; height: 20px;
  min-width: 20px; max-width: 20px;
  object-fit: contain; display: block; flex-shrink: 0;
}
.int-chip .int-placeholder {
  width: 20px; height: 20px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: var(--ink-3);
  background: var(--surface-1); border-radius: 4px;
}

/* ── HERO TRUST STRIP ── */
.hero-trust {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: var(--sp-2);
  margin-top: var(--sp-6);
  position: relative; z-index: 1;
}
.trust-item {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--ink-3);
}
.trust-item svg { color: var(--ink-3); flex-shrink: 0; }
.trust-sep { color: var(--border-str); font-size: 12px; }

/* ── INTEGRATIONS STRIP ── */
#integrations-strip {
  padding: 0 40px var(--sp-8);
}
.integrations-label {
  text-align: center;
  font-size: 11px; font-weight: 600; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--ink-3);
  margin-bottom: var(--sp-5);
}
.logo-strip {
  display: flex; flex-wrap: wrap;
  justify-content: center; align-items: center;
  gap: var(--sp-2);
}
.logo-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: 13px; font-weight: 500; color: var(--ink-2);
  transition: border-color var(--dur-fast), box-shadow var(--dur-mid), transform var(--dur-fast) var(--ease-out);
  cursor: default;
}
.logo-chip:hover {
  border-color: var(--amber-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: var(--ink);
}
.logo-icon {
  width: 24px; height: 24px;
  object-fit: contain; flex-shrink: 0;
}

/* ── TESTIMONIALS ── */
#testimonials {
  background: var(--surface-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.testimonial-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px;
  display: flex; flex-direction: column; gap: var(--sp-5);
  transition: box-shadow var(--dur-mid), transform var(--dur-mid) var(--ease-out);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.testimonial-quote {
  font-size: 14px; color: var(--ink-2);
  line-height: 1.75; flex: 1;
  position: relative;
}
.testimonial-quote::before {
  content: '\201C';
  font-size: 48px; line-height: 1;
  color: var(--accent-dim);
  font-family: Georgia, serif;
  position: absolute; top: -10px; left: -4px;
  pointer-events: none;
}
.testimonial-author {
  display: flex; align-items: center; gap: var(--sp-3);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
}
.testimonial-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent-dim); border: 1px solid var(--amber-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: var(--accent);
  flex-shrink: 0; letter-spacing: 0.5px;
}
.testimonial-name { font-size: 13px; font-weight: 600; color: var(--ink); }
.testimonial-role { font-size: 12px; color: var(--ink-3); margin-top: 2px; }

@media (max-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  #integrations-strip { padding-left: 20px; padding-right: 20px; }
  .hero-trust { gap: var(--sp-2); }
  .trust-sep { display: none; }
  .hero-trust { flex-direction: column; gap: 6px; }
}

/* ── LANGUAGE TRANSITION ── */
body.lang-switching [data-i18n] {
  opacity: 0;
  transition: opacity 150ms ease;
}

/* ── SCROLL REVEAL JS HOOK ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-delay="1"] { transition-delay: 80ms; }
[data-reveal-delay="2"] { transition-delay: 160ms; }
[data-reveal-delay="3"] { transition-delay: 240ms; }
[data-reveal-delay="4"] { transition-delay: 320ms; }
[data-reveal-delay="5"] { transition-delay: 400ms; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  section, #hero, #stats, #product-spot { padding-left: 20px; padding-right: 20px; }
  nav { padding: 0 20px; height: 60px; }
  .page { padding-top: 60px; }
  .nav-links { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .spot-inner { grid-template-columns: 1fr; gap: var(--sp-5); }
  .spot-cta { align-items: flex-start; }
  .how-steps { grid-template-columns: 1fr; gap: var(--sp-7); }
  .how-steps::before { display: none; }
  .tab-content.active { grid-template-columns: 1fr; }
  .usecase-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .ba-grid { grid-template-columns: 1fr; }
  .node-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .integration-chips { gap: var(--sp-2); }
  footer { flex-direction: column; gap: var(--sp-2); text-align: center; }
}

/* ============================================================
   NORTHLEDGER v2 — Integrity-layer additions
   (appended; does not modify existing rules above)
   ============================================================ */

/* ── THE EDGE / WHERE WE FIT ── */
#edge {
  background: var(--surface-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.edge-header { text-align: center; margin-bottom: var(--sp-7); }
.edge-header p { font-size: 15px; color: var(--ink-2); max-width: 580px; margin: var(--sp-3) auto 0; line-height: 1.7; }
.edge-map { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; align-items: stretch; }
.edge-col {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 26px;
  display: flex; flex-direction: column;
  transition: box-shadow var(--dur-mid), transform var(--dur-mid) var(--ease-out);
}
.edge-col:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.edge-col.center {
  background: linear-gradient(160deg, var(--surface-1), rgba(255,159,28,0.06));
  border-color: var(--amber-border); box-shadow: var(--shadow-md);
}
.edge-col-label {
  font-size: 11px; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: var(--sp-2);
}
.edge-col.center .edge-col-label { color: var(--accent); }
.edge-col h3 { font-size: 16px; margin-bottom: var(--sp-2); }
.edge-col p { font-size: 13px; color: var(--ink-2); line-height: 1.6; margin-bottom: var(--sp-4); }
.edge-players { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.edge-player {
  font-size: 11px; font-weight: 500; padding: 4px 10px;
  border-radius: var(--r-pill); border: 1px solid var(--border-md);
  color: var(--ink-2); background: var(--surface-1);
}
.edge-tag {
  display: inline-block; margin-top: auto;
  font-size: 12px; font-weight: 700; color: var(--accent);
  padding: 6px 12px; background: var(--accent-dim);
  border: 1px solid var(--amber-border); border-radius: var(--r-pill);
}
.edge-takeaway {
  margin: var(--sp-6) auto 0; text-align: center;
  font-size: 15px; color: var(--ink); line-height: 1.7; max-width: 760px;
}
.edge-takeaway strong { color: var(--accent); }

/* ── CAPABILITIES GRID (reuses .node-card) ── */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

/* ── THE JOURNEY ── */
#journey { border-bottom: 1px solid var(--border); }
.journey-header { text-align: center; margin-bottom: var(--sp-6); }
.journey-header p { font-size: 15px; color: var(--ink-2); max-width: 580px; margin: var(--sp-3) auto 0; line-height: 1.7; }
.journey-rail {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 4px; margin-bottom: var(--sp-6);
}
.journey-stage-pill {
  font-size: 12px; font-weight: 600; padding: 8px 16px;
  background: var(--surface-1); border: 1px solid var(--border-md);
  border-radius: var(--r-pill); color: var(--ink-2); white-space: nowrap;
}
.journey-rail .arrow { color: var(--ink-3); padding: 0 8px; font-size: 14px; }
.journey-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; align-items: start; }
.journey-card {
  background: var(--surface-1); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 24px; position: relative;
  transition: box-shadow var(--dur-mid), transform var(--dur-mid) var(--ease-out);
  box-shadow: var(--shadow-sm);
}
.journey-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.journey-card.featured {
  border-color: var(--amber-border);
  background: linear-gradient(160deg, var(--surface-1) 0%, rgba(255,159,28,0.05) 100%);
}
.journey-featured-badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  font-size: 10px; font-weight: 700; padding: 3px 12px;
  background: var(--accent); color: var(--ink);
  border-radius: var(--r-pill); white-space: nowrap; box-shadow: var(--shadow-sm);
}
.journey-stage { font-size: 11px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.journey-card h3 { font-size: 16px; margin-bottom: 4px; }
.journey-size { font-size: 12px; color: var(--accent); font-weight: 600; margin-bottom: var(--sp-3); }
.journey-card > p { font-size: 13px; color: var(--ink-2); line-height: 1.6; }

/* ── v2 RESPONSIVE ── */
@media (max-width: 768px) {
  .edge-map { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: 1fr; }
  .journey-grid { grid-template-columns: 1fr; }
  .journey-rail { display: none; }
}

/* ============================================================
   v3 — McKinsey-style exhibits (edge positioning + journey staircase)
   ============================================================ */

/* EDGE — positioning flow exhibit */
.edge-exhibit {
  display: flex; align-items: stretch; justify-content: center;
  margin-top: var(--sp-6); gap: 0;
}
.edge-zone {
  flex: 1 1 0; background: var(--surface-2);
  border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 28px; display: flex; flex-direction: column;
  transition: box-shadow var(--dur-mid), transform var(--dur-mid) var(--ease-out);
}
.edge-zone:hover { box-shadow: var(--shadow-md); }
.edge-zone.core {
  flex: 1.3 1 0;
  background: linear-gradient(165deg, #fff7ea, rgba(255,159,28,0.12));
  border: 2px solid var(--amber-border);
  box-shadow: var(--shadow-lg);
  transform: translateY(-14px);
  position: relative; z-index: 2;
}
.zone-eyebrow {
  font-size: 10px; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: var(--sp-2);
}
.edge-zone.core .zone-eyebrow { color: var(--accent); }
.edge-zone h3 { font-size: 16px; margin-bottom: var(--sp-2); }
.edge-zone.core h3 { font-size: 20px; }
.edge-zone p { font-size: 13px; color: var(--ink-2); line-height: 1.6; margin-bottom: var(--sp-4); }
.zone-players { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.zone-chip {
  font-size: 11px; font-weight: 600; padding: 4px 10px;
  border-radius: var(--r-pill); border: 1px solid var(--border-md);
  color: var(--ink-2); background: var(--surface-1);
}
.edge-core-tag {
  margin-top: auto; align-self: flex-start;
  font-size: 12px; font-weight: 700; color: var(--accent);
  padding: 6px 14px; background: rgba(255,159,28,0.14);
  border: 1px solid var(--amber-border); border-radius: var(--r-pill);
}
.edge-conn {
  flex: 0 0 44px; display: flex; align-items: center; justify-content: center;
  color: var(--accent); position: relative; z-index: 1;
}
.edge-conn-arrow { font-size: 22px; font-weight: 700; }

.edge-gap-band {
  display: flex; align-items: center; gap: var(--sp-3);
  justify-content: center; text-align: left;
  margin: var(--sp-5) auto 0; padding: 14px 22px;
  background: var(--red-dim); border: 1px solid rgba(239,68,68,0.25);
  border-radius: var(--r-md);
  font-size: 13px; color: var(--ink-2); max-width: 780px;
}
.edge-gap-icon { color: var(--red); font-size: 16px; flex-shrink: 0; }
.edge-takeaway { margin: var(--sp-6) auto 0; text-align: center; font-size: 15px; color: var(--ink); line-height: 1.7; max-width: 760px; }
.edge-takeaway strong { color: var(--accent); }

/* JOURNEY — maturity staircase */
.stair {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; align-items: end; margin-top: var(--sp-6);
}
.stair-step {
  background: var(--surface-1); border: 1px solid var(--border);
  border-top: 3px solid var(--teal);
  border-radius: var(--r-md);
  padding: 20px 22px 24px; position: relative;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur-mid), transform var(--dur-mid) var(--ease-out);
}
.stair-step:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.stair-step.lvl1 { min-height: 212px; }
.stair-step.lvl2 { min-height: 252px; border-top-color: var(--amber-lt); }
.stair-step.lvl3 { min-height: 294px; }
.stair-step.lvl4 { min-height: 336px; border-top-color: var(--accent); }
.stair-step.featured {
  border: 2px solid var(--amber-border); border-top: 3px solid var(--accent);
  background: linear-gradient(165deg, var(--surface-1), rgba(255,159,28,0.06));
  box-shadow: var(--shadow-lg);
}
.stair-num {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--border-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--ink-2);
  margin-bottom: var(--sp-3);
}
.stair-step.featured .stair-num { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.stair-stage { font-size: 10px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.stair-step h3 { font-size: 17px; margin-bottom: 4px; }
.stair-size { font-size: 12px; color: var(--accent); font-weight: 600; margin-bottom: var(--sp-3); }
.stair-step p { font-size: 12.5px; color: var(--ink-2); line-height: 1.55; }
.stair-badge {
  position: absolute; top: -11px; right: 14px;
  font-size: 10px; font-weight: 700; padding: 3px 12px;
  background: var(--accent); color: var(--ink);
  border-radius: var(--r-pill); box-shadow: var(--shadow-sm);
}
.stair-base { position: relative; margin-top: var(--sp-4); text-align: center; }
.stair-base-line {
  position: absolute; left: 0; right: 0; top: 50%; height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--accent));
  border-radius: 2px;
}
.stair-base-label {
  position: relative; z-index: 1; display: inline-block;
  background: var(--surface-0); padding: 0 14px;
  font-size: 12px; font-weight: 600; color: var(--ink-2);
}

/* v3 responsive */
@media (max-width: 768px) {
  .edge-exhibit { flex-direction: column; }
  .edge-zone.core { transform: none; }
  .edge-conn { flex-basis: auto; padding: 8px 0; }
  .edge-conn-arrow { transform: rotate(90deg); display: inline-block; }
  .stair { grid-template-columns: 1fr; align-items: stretch; }
  .stair-step { min-height: 0 !important; }
  .stair-base { display: none; }
}

/* ============================================================
   v4 — Storytelling: stakes exhibit + proof header
   ============================================================ */

/* THE STAKES — situation/complication exhibit */
#stakes {
  background: var(--surface-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stakes-header { text-align: center; margin-bottom: var(--sp-6); }
.stakes-header p { font-size: 15px; color: var(--ink-2); max-width: 620px; margin: var(--sp-3) auto 0; line-height: 1.7; }
.stakes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stake-card {
  background: var(--surface-2); border: 1px solid var(--border);
  border-left: 3px solid var(--amber-lt);
  border-radius: var(--r-md); padding: 28px;
  transition: box-shadow var(--dur-mid), transform var(--dur-mid) var(--ease-out);
}
.stake-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.stake-card.sev2 { border-left-color: var(--accent); }
.stake-card.sev3 { border-left-color: var(--red); }
.stake-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: var(--sp-2);
}
.stake-card.sev3 .stake-eyebrow { color: var(--red); }
.stake-card h3 { font-size: 18px; margin-bottom: var(--sp-2); }
.stake-card p { font-size: 13px; color: var(--ink-2); line-height: 1.65; }

/* PROOF header (credibility section) */
.proof-header { text-align: center; margin-bottom: var(--sp-6); }
.proof-header h2 { max-width: 720px; margin: 0 auto; }

/* v4 responsive */
@media (max-width: 768px) {
  .stakes-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   v5 — API objection handler (edge section)
   ============================================================ */
.api-myth { margin: var(--sp-6) auto 0; max-width: 940px; }
.api-myth-q {
  text-align: center; font-size: 17px; font-weight: 600; font-style: italic;
  color: var(--ink); margin-bottom: var(--sp-5);
}
.api-myth-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.api-point {
  background: var(--surface-1); border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  border-radius: var(--r-md); padding: 20px;
  transition: box-shadow var(--dur-mid), transform var(--dur-mid) var(--ease-out);
}
.api-point:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.api-point h4 { font-size: 14px; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.api-point p { font-size: 12.5px; color: var(--ink-2); line-height: 1.6; }
@media (max-width: 768px) { .api-myth-grid { grid-template-columns: 1fr; } }
