:root {
  --bg: #FAF8F5;
  --fg: #1A1A1A;
  --muted: #6B6860;
  --accent: #C8873A;
  --accent-warm: #E8B866;
  --border: #E0DDD5;
  --node-known: #A8C4B0;
  --node-gapping: #C8873A;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Instrument Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Instrument Serif', serif; font-weight: 400; }

/* NAV */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 2.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
}
.nav-logo {
  font-family: 'Instrument Serif', serif;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.nav-links { display: flex; gap: 2rem; }
.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--fg); }

/* HERO */
.hero {
  padding: 9rem 2.5rem 6rem;
  max-width: 1100px;
  margin: 0 auto;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.hero-headline {
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.hero-lede {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 44ch;
  line-height: 1.65;
}

/* Gap Finder Visual */
.hero-visual { display: flex; justify-content: center; }
.gap-finder {
  background: #F2EFE9;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  width: 100%;
  max-width: 380px;
}
.gf-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.gf-nodes {
  position: relative;
  height: 220px;
  margin-bottom: 1.25rem;
}
.node {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  transform: translate(calc(-50% + var(--x) * 1%), calc(-50% + var(--y) * 1%));
  transition: all 0.4s ease;
}
.node-known { background: var(--node-known); opacity: 0.6; }
.node-gapping {
  background: var(--node-gapping);
  box-shadow: 0 0 0 4px rgba(200, 135, 58, 0.15);
  animation: pulse-glow 2.4s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 4px rgba(200, 135, 58, 0.15); }
  50% { box-shadow: 0 0 0 8px rgba(200, 135, 58, 0.05); }
}
.gf-legend {
  display: flex;
  gap: 1.25rem;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.legend-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 0.4rem;
}
.legend-dot.known { background: var(--node-known); }
.legend-dot.gapping { background: var(--node-gapping); }
.gf-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 500;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* DEMO SECTION */
.demo {
  background: #F2EFE9;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 7rem 2.5rem;
}
.demo-inner { max-width: 1100px; margin: 0 auto; }
.demo-label, .outcomes-label, .principles-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1rem;
}
.demo-headline {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 22ch;
  margin-bottom: 4rem;
}
.demo-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.step {
  display: flex;
  gap: 1.5rem;
  padding: 2.5rem;
  border-top: 1px solid var(--border);
}
.step:nth-child(odd) { border-right: 1px solid var(--border); }
.step:nth-child(1), .step:nth-child(2) { border-top: none; }
.step-num {
  font-family: 'Instrument Serif', serif;
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
  width: 2.5rem;
}
.step-title {
  font-family: 'Instrument Serif', serif;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.step-desc {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* OUTCOMES */
.outcomes { padding: 7rem 2.5rem; max-width: 1100px; margin: 0 auto; }
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 2rem;
}
.outcome-card {
  background: var(--bg);
  padding: 2.5rem 2rem;
}
.oc-metric {
  font-family: 'Instrument Serif', serif;
  font-size: 3.5rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.oc-label {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
}
.outcomes-note {
  font-size: 0.875rem;
  color: var(--muted);
  font-style: italic;
}

/* PRINCIPLES */
.principles {
  background: var(--fg);
  color: #FAF8F5;
  padding: 7rem 2.5rem;
}
.principles-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}
.principles-quote {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
  color: var(--accent-warm);
}
.principles-body {
  font-size: 0.9375rem;
  color: #9E9A93;
  line-height: 1.7;
  margin-top: 1rem;
}
.principles-list { display: flex; flex-direction: column; gap: 1.5rem; }
.p-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.p-marker {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 0.5rem;
}
.p-item p {
  font-size: 0.9375rem;
  color: #C8C5BE;
  line-height: 1.6;
}

/* CLOSING */
.closing {
  padding: 7rem 2.5rem 6rem;
  max-width: 1100px;
  margin: 0 auto;
}
.closing-headline {
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  max-width: 22ch;
}
.closing-body {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 50ch;
  margin-bottom: 2.5rem;
}
.closing-meta {
  font-size: 0.8125rem;
  color: var(--muted);
  border-left: 2px solid var(--accent);
  padding-left: 1rem;
}

/* FOOTER */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 2.5rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.footer-logo {
  font-family: 'Instrument Serif', serif;
  font-size: 1rem;
  display: block;
  margin-bottom: 0.2rem;
}
.footer-tagline {
  font-size: 0.75rem;
  color: var(--muted);
}
.footer-meta {
  font-size: 0.75rem;
  color: var(--muted);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { order: -1; }
  .gap-finder { max-width: 100%; }
  .demo-steps { grid-template-columns: 1fr; }
  .step:nth-child(odd) { border-right: none; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .principles-inner { grid-template-columns: 1fr; gap: 3rem; }
  .site-nav { padding: 1rem 1.25rem; }
  .hero { padding: 7rem 1.25rem 4rem; }
  .demo, .outcomes, .closing { padding-left: 1.25rem; padding-right: 1.25rem; }
  .principles { padding-left: 1.25rem; padding-right: 1.25rem; }
  .nav-links { display: none; }
}
