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

:root {
  --bg: #F5F3EE;
  --ink: #0D0D0F;
  --ink-soft: #4A4A52;
  --ink-muted: #8A8A94;
  --accent: #E8943A;
  --accent-soft: rgba(232, 148, 58, 0.12);
  --good: #1A8A5A;
  --warn: #C47D1A;
  --bad: #B83232;
  --card: #FFFFFF;
  --border: #E0DDD6;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --mono: 'DM Mono', monospace;
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Navigation ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 243, 238, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
}
.nav-wordmark {
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.nav-tagline {
  font-size: 0.8rem;
  color: var(--ink-muted);
  font-weight: 400;
}

/* ── Hero ── */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.hero-kicker {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.hero-headline {
  font-family: var(--serif);
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.75rem;
  color: var(--ink);
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 42ch;
  margin-bottom: 2.5rem;
}
.hero-pulse {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 0 rgba(26, 138, 90, 0.4);
  animation: pulse-ring 2s ease-out infinite;
}
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(26,138,90,0.4); }
  70% { box-shadow: 0 0 0 8px rgba(26,138,90,0); }
  100% { box-shadow: 0 0 0 0 rgba(26,138,90,0); }
}
.pulse-label {
  font-size: 0.78rem;
  color: var(--ink-muted);
  font-family: var(--mono);
}

/* Hero data panel */
.hero-data {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-top: 0.5rem;
}
.data-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(13,13,15,0.06);
}
.data-card-header {
  padding: 0.75rem 1.25rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--border);
  background: #FAFAF8;
}
.data-rows { padding: 1rem 1.25rem; display: flex; flex-direction: column; gap: 0.6rem; }
.data-row { display: flex; justify-content: space-between; align-items: center; }
.data-label { font-size: 0.82rem; color: var(--ink-soft); }
.data-val { font-family: var(--mono); font-size: 0.9rem; font-weight: 500; }
.data-good { color: var(--good); }
.data-warn { color: var(--warn); }
.data-bad { color: var(--bad); }

.data-actions {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(13,13,15,0.06);
}
.action-header {
  padding: 0.75rem 1.25rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--border);
  background: #FAFAF8;
}
.action-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.action-item:last-child { border-bottom: none; }
.action-icon {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  margin-top: 0.1rem;
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}
.action-text { font-size: 0.8rem; color: var(--ink-soft); line-height: 1.5; }

/* ── Loop Section ── */
.loop-section {
  background: var(--ink);
  color: #fff;
  padding: 5rem 2rem;
}
.loop-inner { max-width: 1100px; margin: 0 auto; }
.loop-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.loop-headline {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  letter-spacing: -0.02em;
  margin-bottom: 3.5rem;
  color: #F5F3EE;
}
.loop-steps {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.step {
  flex: 1;
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
}
.step-num {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--accent);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}
.step h3 {
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #F5F3EE;
}
.step p { font-size: 0.88rem; color: rgba(245,243,238,0.6); line-height: 1.65; }
.step-arrow {
  width: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: rgba(255,255,255,0.2);
}

/* ── Features ── */
.features-section { padding: 5rem 2rem; }
.features-inner { max-width: 1100px; margin: 0 auto; }
.features-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2.5rem;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: box-shadow 0.2s ease;
}
.feature-card:hover {
  box-shadow: 0 4px 24px rgba(13,13,15,0.1);
}
.feature-icon {
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--ink);
}
.feature-card p { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.65; }

/* ── Outcomes ── */
.outcomes-section {
  background: #0D0D0F;
  padding: 5rem 2rem;
  color: #fff;
}
.outcomes-inner { max-width: 1100px; margin: 0 auto; }
.outcomes-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.outcomes-statement {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: #F5F3EE;
  max-width: 68ch;
  margin-bottom: 3.5rem;
}
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  overflow: hidden;
}
.outcome {
  padding: 2rem 1.75rem;
  border-right: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}
.outcome:last-child { border-right: none; }
.outcome-metric {
  font-family: var(--mono);
  font-size: 2rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.outcome-desc {
  font-size: 0.82rem;
  color: rgba(245,243,238,0.55);
  line-height: 1.55;
}

/* ── Closing ── */
.closing-section {
  padding: 6rem 2rem;
  background: var(--bg);
}
.closing-inner { max-width: 1100px; margin: 0 auto; }
.closing-headline {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: var(--ink);
}
.closing-body {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 60ch;
  line-height: 1.75;
}

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
}
.footer-wordmark {
  font-family: var(--serif);
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.4rem;
}
.footer-desc {
  font-size: 0.8rem;
  color: var(--ink-muted);
  max-width: 32ch;
  line-height: 1.5;
}
.footer-note {
  font-size: 0.75rem;
  color: var(--ink-muted);
  font-family: var(--mono);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 3rem 1.25rem 2.5rem;
    gap: 2.5rem;
  }
  .loop-steps {
    flex-direction: column;
  }
  .step-arrow {
    width: 100%;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .features-grid { grid-template-columns: 1fr; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .outcome { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .outcome:last-child { border-bottom: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .hero { padding: 2.5rem 1rem 2rem; }
}