/* ============================================================
   Essential Innovations — variant-2 "BRAIDED"
   Warm, human, flowing. Cream base + orange→teal braided ribbon.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --orange: #F97316;
  --orange-hover: #EA6A0D;
  --orange-soft: #FFE9D6;
  --teal: #15B3B3;
  --teal-deep: #138B8B;
  --teal-soft: #D6F2F1;
  --navy: #0E2233;
  --navy-2: #063A66;
  --olive: #7C9C3A;
  --olive-soft: #EAF0D8;
  --ink-70: #3D4B57;
  --ink-50: #6B7884;
  --cream: #FBF7F1;
  --cream-2: #F4ECE0;
  --card: #FFFFFF;
  --card-tint: #FFFBF6;
  --line: #EAE0D2;
  --line-2: #DFD3C2;
  --navy-band: #0E2233;
  --navy-band-2: #13314A;

  --shadow-sm: 0 2px 8px rgba(120, 80, 30, 0.06);
  --shadow-md: 0 12px 30px -10px rgba(120, 80, 30, 0.14);
  --shadow-lg: 0 28px 60px -22px rgba(110, 70, 25, 0.20);

  --ribbon: linear-gradient(135deg, #F97316 0%, #FB8A4A 30%, #4FC9C0 70%, #15B3B3 100%);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;

  --container: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-feature-settings: "cv05","ss01";
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0.005em;
  color: var(--ink-70);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--teal-deep); text-decoration: none; }
h1, h2, h3, h4 { color: var(--navy); margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
  position: relative;
  z-index: 1;
}

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 999px;
}
.skip-link:focus { left: 16px; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.8125rem; font-weight: 600; line-height: 1;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--teal-deep);
  margin: 0 0 1rem;
}
.eyebrow-dash {
  display: inline-block; width: 24px; height: 4px; border-radius: 999px;
  background: var(--ribbon);
}

.ribbon-text {
  background: var(--ribbon);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

h1 {
  font-size: clamp(2.6rem, 1.6rem + 4.4vw, 4.4rem);
  font-weight: 800; line-height: 1.04; letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  font-weight: 700; line-height: 1.1; letter-spacing: -0.015em;
}
h3 {
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  font-weight: 700; line-height: 1.2; letter-spacing: -0.01em;
}
.lead {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.375rem);
  font-weight: 400; line-height: 1.55; color: var(--ink-70);
}

.section-head { max-width: 760px; margin: 0 0 clamp(40px, 5vw, 64px); }
.section-head h2 { margin-top: 0.4rem; }

.section-band { background: var(--cream-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font-family: inherit; font-size: 1rem; font-weight: 600; line-height: 1;
  border-radius: 999px; padding: 0.95em 1.6em; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
  text-align: center; min-height: 44px;
}
.btn-sm { padding: 0.7em 1.25em; font-size: 0.9375rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--orange); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--orange-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--card); transform: translateY(-1px); box-shadow: var(--shadow-sm); border-color: var(--orange); }

.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: #fff; transform: translateY(-1px); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,247,241,0.85);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner {
  display: flex; align-items: center; gap: 24px;
  min-height: 72px;
}
.lockup { display: inline-flex; align-items: center; gap: 12px; }
.lockup-mark { border-radius: 9px; }
.lockup-word {
  font-weight: 700; font-size: 1.125rem; letter-spacing: -0.01em; color: var(--navy);
}
.lockup-light .lockup-word { color: #fff; }

.primary-nav { display: flex; gap: 28px; margin-left: auto; }
.primary-nav a {
  position: relative; color: var(--ink-70); font-weight: 500; font-size: 0.95rem;
  padding: 6px 0;
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--ribbon); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease);
}
.primary-nav a:hover { color: var(--navy); }
.primary-nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.primary-nav + .header-actions { margin-left: 0; }
.primary-nav { margin-left: auto; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line-2); border-radius: var(--r-sm);
  cursor: pointer; padding: 0;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }

/* mobile nav sheet */
.mobile-nav {
  position: fixed; inset: 0; z-index: 150;
  background: var(--cream);
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: 80px clamp(24px, 8vw, 48px) 48px;
  transform: translateX(100%); transition: transform .3s var(--ease);
  visibility: hidden;
}
.mobile-nav.open { transform: translateX(0); visibility: visible; }
.mobile-nav-ribbon { position: absolute; left: 18px; top: 0; bottom: 0; height: 100%; width: 40px; opacity: 0.4; }
.mobile-nav nav { display: flex; flex-direction: column; gap: 4px; padding-left: 40px; }
.mobile-nav nav a { font-size: 1.6rem; font-weight: 700; color: var(--navy); padding: 12px 0; }
.mobile-nav nav a:hover { color: var(--orange); }
.mobile-nav .btn { margin: 24px 0 0 40px; }
.mobile-nav-close {
  position: absolute; top: 22px; right: 24px; width: 44px; height: 44px;
  font-size: 2rem; line-height: 1; background: transparent; border: none; color: var(--navy); cursor: pointer;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(56px, 8vw, 110px) 0 clamp(72px, 9vw, 120px);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero-copy h1 { margin: 1rem 0 1.25rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 2rem 0 1.1rem; }
.hero-micro { font-size: 0.9375rem; color: var(--ink-50); }
.hero-micro strong { color: var(--navy); }

.hero-ribbon {
  position: absolute; top: 0; right: 0; height: 100%;
  width: min(560px, 70vw); z-index: 0; pointer-events: none;
}
.hero-blob {
  position: absolute; border-radius: 50%; filter: blur(60px); z-index: 0; pointer-events: none;
}
.hero-blob-orange { width: 380px; height: 380px; background: rgba(249,115,22,0.16); top: -80px; right: 8%; }
.hero-blob-teal { width: 340px; height: 340px; background: rgba(21,179,179,0.14); bottom: -100px; left: -60px; }

/* hero capital card */
.hero-visual { display: flex; justify-content: center; }
.capital-card {
  position: relative; z-index: 1;
  background: linear-gradient(170deg, #fff 0%, var(--card-tint) 100%);
  border: 1px solid var(--line-2); border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg); padding: clamp(28px, 3.5vw, 40px);
  width: 100%; max-width: 420px;
}
.capital-eyebrow {
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--ink-50); margin-bottom: 0.5rem;
}
.capital-figure {
  font-size: clamp(2.8rem, 2rem + 3vw, 4rem); font-weight: 800; line-height: 1;
  letter-spacing: -0.02em; color: var(--orange);
}
.capital-sub { color: var(--ink-50); font-size: 0.95rem; margin-bottom: 1.5rem; }

.stream-bar {
  display: flex; height: 16px; border-radius: 999px; overflow: hidden; gap: 3px; margin-bottom: 0.6rem;
}
.stream-seg { width: var(--w); border-radius: 4px; }
.stream-bar-label { font-size: 0.8125rem; color: var(--ink-50); font-weight: 500; }

.spark-wrap { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.spark-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-50); margin-bottom: 0.5rem; }
.spark { width: 100%; height: 48px; }

/* ============================================================
   TRUST STRIP + STATS
   ============================================================ */
.trust { padding: 0; margin-top: clamp(-40px, -4vw, -56px); }
.trust-panel {
  background: var(--cream-2); border: 1px solid var(--line);
  border-radius: var(--r-xl); box-shadow: var(--shadow-md);
  padding: clamp(28px, 4vw, 44px);
}
.trust-backed {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding-bottom: clamp(24px, 3vw, 32px); margin-bottom: clamp(24px, 3vw, 32px);
  border-bottom: 1px solid var(--line);
}
.trust-backed-label {
  font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-50);
}
.techstars-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line-2); border-radius: 999px;
  padding: 8px 18px; box-shadow: var(--shadow-sm);
}
.techstars-year { font-weight: 700; color: var(--navy); font-size: 0.95rem; }

.stat-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.stat {
  text-align: center; padding: 0 clamp(12px, 2vw, 24px);
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: none; }
.stat-fig {
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); font-weight: 800; line-height: 1.1;
  letter-spacing: -0.02em; color: var(--navy); margin-bottom: 0.4rem;
}
.stat-accent { color: var(--orange); }
.stat-label { font-size: 0.875rem; font-weight: 500; color: var(--ink-50); line-height: 1.4; }

/* ============================================================
   PILLARS
   ============================================================ */
.pillars { padding: clamp(72px, 10vw, 140px) 0; }
.pillar-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 32px);
}
.pillar-card {
  position: relative; overflow: hidden;
  background: var(--card-tint); border: 1px solid var(--line-2);
  border-radius: var(--r-lg); box-shadow: var(--shadow-md);
  padding: clamp(24px, 3vw, 36px);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.pillar-ribbon {
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--ribbon); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pillar-card:hover .pillar-ribbon { transform: scaleX(1); }
.pillar-orange:hover { border-color: var(--orange); }
.pillar-teal:hover { border-color: var(--teal); }
.pillar-olive:hover { border-color: var(--olive); }

.icon-chip {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: var(--r-md); margin-bottom: 1.25rem;
}
.icon-chip svg { width: 28px; height: 28px; }
.chip-orange { background: var(--orange-soft); color: var(--orange); }
.chip-teal { background: var(--teal-soft); color: var(--teal-deep); }
.chip-olive { background: var(--olive-soft); color: var(--olive); }

.pillar-card h3 { margin-bottom: 0.75rem; }
.pillar-card p { color: var(--ink-70); margin-bottom: 1rem; font-size: 1.0625rem; }
.pillar-card p strong { color: var(--navy); }
.pillar-flavor { font-style: italic; color: var(--ink-50) !important; font-size: 0.95rem !important; }
.text-link {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--teal-deep);
}
.text-link span { transition: transform .2s var(--ease); }
.text-link:hover span { transform: translateX(4px); }
.pillar-orange .text-link { color: var(--orange); }

/* connector segment */
.connector { position: relative; height: 120px; z-index: 0; pointer-events: none; }
.connector svg { position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 40px; height: 120px; opacity: 0.6; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how { padding: clamp(72px, 10vw, 140px) 0; }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 32px); }
.steps-track {
  position: absolute; top: 28px; left: 6%; right: 6%; width: 88%; height: 24px; z-index: 0;
  pointer-events: none;
}
.step { position: relative; z-index: 1; text-align: center; }
.step-node {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--ribbon); color: #fff; font-weight: 800; font-size: 1.4rem;
  margin: 0 auto 1.25rem; box-shadow: var(--shadow-md);
  border: 4px solid var(--cream);
}
.step-icon { display: inline-flex; color: var(--teal-deep); margin-bottom: 0.6rem; }
.step-icon svg { width: 26px; height: 26px; }
.step h3 { margin-bottom: 0.5rem; }
.step p { color: var(--ink-70); font-size: 1rem; }
.how-foot {
  text-align: center; margin-top: clamp(40px, 5vw, 64px);
  font-size: 1.05rem; color: var(--ink-50);
}
.how-foot strong { color: var(--navy); }

/* ============================================================
   BRAIDED FUNDING
   ============================================================ */
.braid { padding: clamp(72px, 10vw, 140px) 0; }
.braid-panel {
  display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(32px, 5vw, 64px);
  align-items: center;
  background: var(--card); border: 1px solid var(--line-2);
  border-radius: var(--r-xl); box-shadow: var(--shadow-md);
  padding: clamp(32px, 5vw, 64px);
}
.braid-copy h2 { margin: 0.4rem 0 1rem; }
.braid-copy .lead { margin-bottom: 1.75rem; }

.braid-legend { display: flex; flex-direction: column; gap: 6px; margin-bottom: 1.5rem; }
.legend-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 12px; border-radius: var(--r-sm); cursor: pointer;
  border: 1px solid transparent; transition: background .2s, border-color .2s;
}
.legend-item:hover, .legend-item.active { background: var(--cream); border-color: var(--line); }
.legend-dot { width: 14px; height: 14px; border-radius: 50%; margin-top: 5px; flex-shrink: 0; }
.legend-item span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.legend-item strong { color: var(--navy); font-size: 1rem; }
.legend-item em { color: var(--ink-50); font-style: normal; font-size: 0.875rem; }
.braid-micro { font-size: 0.9375rem; color: var(--ink-50); }

.braid-diagram { position: relative; }
#braidSvg { width: 100%; height: auto; overflow: visible; }
.braid-tag { font: 600 12px/1 'Inter', sans-serif; fill: var(--ink-50); letter-spacing: 0.04em; }
.braid-exit rect { fill: var(--navy); }
.braid-exit-line1 { font: 700 13px/1 'Inter', sans-serif; fill: #fff; text-anchor: middle; }
.braid-exit-line2 { font: 600 12px/1 'Inter', sans-serif; fill: #4FC9C0; text-anchor: middle; }
.strand { transition: opacity .25s var(--ease), stroke-width .25s var(--ease); }
.braid-strands.dimmed .strand:not(.hot) { opacity: 0.22; }
.strand.hot { stroke-width: 17; }

/* ============================================================
   RESULTS
   ============================================================ */
.results { padding: clamp(72px, 10vw, 140px) 0; }
.results-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(24px, 4vw, 44px);
  align-items: stretch;
}
.story-card {
  position: relative; background: var(--card); border: 1px solid var(--line-2);
  border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
  padding: clamp(32px, 4vw, 52px);
  display: flex; flex-direction: column; justify-content: center;
}
.quote-mark { width: 48px; height: 48px; margin-bottom: 1.25rem; }
.story-card blockquote {
  margin: 0 0 1.5rem; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem);
  font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; color: var(--navy);
}
.story-card figcaption { color: var(--ink-50); font-weight: 500; }
.illustrative { font-style: italic; font-weight: 400; opacity: 0.8; }

.result-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 24px); }
.result-tile {
  background: var(--card-tint); border: 1px solid var(--line-2);
  border-radius: var(--r-lg); padding: clamp(20px, 2.5vw, 32px);
  box-shadow: var(--shadow-sm);
}
.tile-fig {
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); font-weight: 800; line-height: 1.1;
  letter-spacing: -0.02em; color: var(--orange); margin-bottom: 0.4rem;
}
.tile-label { font-size: 0.9rem; color: var(--ink-50); line-height: 1.4; }

/* ============================================================
   CTA BAND + ESTIMATOR
   ============================================================ */
.cta-band { padding: clamp(40px, 6vw, 80px) 0 clamp(72px, 9vw, 120px); }
.cta-panel {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-band) 0%, var(--navy-band-2) 100%);
  border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
  padding: clamp(36px, 5vw, 72px);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.cta-knot {
  position: absolute; left: -40px; top: 50%; transform: translateY(-50%);
  width: 360px; height: 280px; opacity: 0.5; z-index: 0; pointer-events: none;
}
.cta-copy { position: relative; z-index: 1; }
.cta-copy h2 { color: #fff; }
.cta-sub { color: rgba(255,255,255,0.82); margin: 1rem 0 1.75rem; font-size: 1.1rem; line-height: 1.55; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 1.25rem; }
.cta-micro { color: rgba(255,255,255,0.6); font-size: 0.9rem; }

/* estimator */
.estimator {
  position: relative; z-index: 1;
  background: var(--card); border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
  padding: clamp(24px, 3vw, 36px);
}
.est-title { font-size: 1.25rem; margin-bottom: 1.25rem; }
.est-field { margin-bottom: 1.25rem; }
.est-field label {
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 600; color: var(--navy); font-size: 0.95rem; margin-bottom: 0.5rem;
}
.est-field output { color: var(--orange); font-weight: 800; }
.est-input-row { display: flex; align-items: center; gap: 12px; }
.est-input-row input[type=range] { flex: 1; }
.est-help { font-size: 0.8125rem; color: var(--ink-50); margin-top: 0.4rem; line-height: 1.4; }

input[type=number], select {
  font-family: inherit; font-size: 1rem; color: var(--navy);
  background: var(--cream); border: 1px solid var(--line-2); border-radius: var(--r-sm);
  padding: 0.6em 0.75em; min-height: 44px;
}
input[type=number] { width: 86px; text-align: center; font-weight: 700; }
select { width: 100%; cursor: pointer; }

/* range slider */
input[type=range] {
  -webkit-appearance: none; appearance: none; height: 6px; border-radius: 999px;
  background: var(--line-2); cursor: pointer; margin: 10px 0;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--orange); border: 3px solid #fff; box-shadow: var(--shadow-sm);
}
input[type=range]::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--orange); border: 3px solid #fff; box-shadow: var(--shadow-sm);
}

.est-result {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.25rem 1.5rem; margin: 1.5rem 0 1rem;
}
.est-result-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-50); margin-bottom: 0.3rem; }
.est-result-fig {
  font-size: clamp(1.9rem, 1.4rem + 2vw, 2.6rem); font-weight: 800; line-height: 1;
  letter-spacing: -0.02em; color: var(--orange); margin-bottom: 1rem;
}
.est-stream-bar { display: flex; height: 14px; border-radius: 999px; overflow: hidden; gap: 3px; margin-bottom: 0.5rem; }
.est-stream-key { font-size: 0.8125rem; color: var(--ink-50); }
.est-disclaimer { font-size: 0.8125rem; color: var(--ink-50); line-height: 1.45; margin-bottom: 1.25rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, var(--navy-band) 0%, var(--navy-band-2) 100%);
  color: rgba(255,255,255,0.7);
  padding: clamp(56px, 7vw, 88px) 0 clamp(28px, 4vw, 40px);
}
.footer-ribbon { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--ribbon); }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(24px, 4vw, 48px);
  padding-bottom: clamp(32px, 4vw, 48px); border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-desc { margin: 1rem 0; max-width: 32ch; color: rgba(255,255,255,0.65); }
.footer-backed { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.techstars-pill-light { background: rgba(255,255,255,0.95); padding: 6px 12px; }
.techstars-pill-light .techstars-year { color: var(--navy); }

.footer-col h4 { color: #fff; font-size: 0.9rem; margin-bottom: 1rem; letter-spacing: 0.02em; }
.footer-col a { display: block; color: rgba(255,255,255,0.7); padding: 6px 0; font-size: 0.95rem; }
.footer-col a:hover { color: #fff; }

.footer-legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-top: clamp(20px, 3vw, 28px);
}
.footer-legal p { font-size: 0.8125rem; color: rgba(255,255,255,0.5); }

/* ============================================================
   SCROLL REVEAL + RIBBON DRAW
   ============================================================ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

.ribbon-path {
  stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.2s ease-out;
}
.ribbon-path.drawn { stroke-dashoffset: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1023px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: 2; }
  .braid-panel { grid-template-columns: 1fr; }
  .braid-diagram { order: 2; }
  .results-grid { grid-template-columns: 1fr; }
  .cta-panel { grid-template-columns: 1fr; }
  .pillar-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps-track { display: none; }
}

@media (max-width: 859px) {
  .primary-nav { display: none; }
  .header-actions .btn-primary { display: none; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 639px) {
  body { font-size: 16px; }
  .hero-ribbon { width: 40px; left: 12px; right: auto; opacity: 0.5; }
  .stat-row { grid-template-columns: 1fr 1fr; gap: 24px 0; }
  .stat { padding: 0 12px; }
  .stat:nth-child(odd) { border-left: none; }
  .stat:nth-child(3) { border-top: 1px solid var(--line); padding-top: 24px; }
  .stat:nth-child(4) { border-top: 1px solid var(--line); padding-top: 24px; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { text-align: left; display: grid; grid-template-columns: 56px 1fr; gap: 0 18px; padding-bottom: 28px; position: relative; }
  .step-node { margin: 0; grid-row: span 1; }
  .step::before {
    content: ""; position: absolute; left: 28px; top: 56px; bottom: 0; width: 3px;
    background: var(--ribbon); opacity: 0.4;
  }
  .step:last-child::before { display: none; }
  .step-icon { grid-column: 2; }
  .step h3, .step p { grid-column: 2; }
  .result-tiles { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-legal { flex-direction: column; }
  .cta-actions .btn, .hero-cta .btn { width: 100%; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .ribbon-path { stroke-dashoffset: 0 !important; }
}
