/* === TOKENS === */
:root {
  --bg: #F4F1EC;
  --bg-alt: #ECEAE4;
  --fg: #1C3A2E;
  --fg-muted: #5A6B60;
  --accent: #E8A838;
  --accent-dark: #C4892A;
  --white: #FFFFFF;
  --font-display: 'Bitter', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: 17px; line-height: 1.6; }

/* === NAV === */
.site-nav {
  padding: 22px 48px;
  border-bottom: 1px solid rgba(28,58,46,0.1);
}
.nav-inner { display: flex; align-items: baseline; gap: 16px; }
.nav-logo { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.3px; color: var(--fg); }
.nav-tagline { font-size: 14px; color: var(--fg-muted); font-weight: 400; }

/* === HERO === */
.hero { padding: 80px 48px 72px; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; max-width: 1100px; margin: 0 auto; }
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--fg);
}
.hero-sub { margin-top: 24px; font-size: 19px; color: var(--fg-muted); line-height: 1.65; max-width: 480px; }

/* Flow diagram */
.flow-diagram { display: flex; align-items: center; gap: 0; }
.flow-node { padding: 20px 28px; border-radius: 10px; font-weight: 600; font-size: 15px; text-align: center; color: var(--white); line-height: 1.3; }
.node-patient { background: var(--fg); }
.node-moveflow { background: var(--accent); color: var(--fg); }
.node-pt { background: var(--fg); }
.node-label { display: block; }
.flow-arrow { flex-shrink: 0; display: flex; align-items: center; }

/* === WHAT IT IS === */
.what-it-is { background: var(--fg); color: var(--bg); padding: 80px 48px; }
.what-inner { max-width: 1100px; margin: 0 auto; }
.what-statement { font-size: clamp(20px, 2.5vw, 27px); line-height: 1.5; font-weight: 400; max-width: 780px; }
.what-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 56px; padding-top: 48px; border-top: 1px solid rgba(244,241,236,0.2); }
.what-stat {}
.stat-num { font-family: var(--font-display); font-size: 48px; font-weight: 800; color: var(--accent); display: block; }
.stat-desc { font-size: 14px; color: rgba(244,241,236,0.65); margin-top: 8px; display: block; line-height: 1.4; }

/* === FEATURES === */
.features { padding: 96px 48px; }
.features-inner { max-width: 1100px; margin: 0 auto; }
.section-eyebrow { display: block; font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.section-heading { font-family: var(--font-display); font-size: clamp(30px, 3.5vw, 44px); font-weight: 700; color: var(--fg); line-height: 1.15; margin-bottom: 56px; letter-spacing: -0.5px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--fg-muted); border: 2px solid var(--fg-muted); }
.feature-card { background: var(--bg); padding: 36px 32px; }
.feature-num { font-family: var(--font-display); font-size: 48px; font-weight: 800; color: var(--accent); display: block; line-height: 1; }
.feature-card h3 { font-family: var(--font-display); font-size: 19px; font-weight: 600; color: var(--fg); margin: 16px 0 10px; line-height: 1.3; }
.feature-card p { font-size: 15px; color: var(--fg-muted); line-height: 1.55; }

/* === HOW IT WORKS === */
.how-works { background: var(--bg-alt); padding: 80px 48px; }
.how-inner { max-width: 1100px; margin: 0 auto; }
.step-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 0; }
.step { padding: 0; }
.step-num { font-family: var(--font-display); font-size: 56px; font-weight: 800; color: var(--accent); display: block; line-height: 1; margin-bottom: 16px; }
.step h3 { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--fg); margin-bottom: 12px; }
.step p { font-size: 15px; color: var(--fg-muted); line-height: 1.55; }

/* === MANIFESTO === */
.manifesto { padding: 96px 48px; background: var(--fg); color: var(--bg); }
.manifesto-inner { max-width: 900px; margin: 0 auto; }
blockquote { font-family: var(--font-display); font-size: clamp(22px, 2.8vw, 30px); font-weight: 600; line-height: 1.45; color: var(--bg); font-style: normal; border-left: 4px solid var(--accent); padding-left: 28px; }
.manifesto-body { font-size: 17px; color: rgba(244,241,236,0.65); margin-top: 36px; line-height: 1.65; max-width: 680px; }

/* === FOOTER === */
.site-footer { padding: 40px 48px; border-top: 1px solid rgba(28,58,46,0.12); }
.footer-inner { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.footer-logo { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--fg); }
.footer-desc { font-size: 14px; color: var(--fg-muted); }
.footer-copy { margin-left: auto; font-size: 13px; color: var(--fg-muted); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-sub { max-width: 100%; }
  .what-stat-row { grid-template-columns: 1fr; gap: 28px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .step-row { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 600px) {
  .site-nav, .hero, .what-it-is, .features, .how-works, .manifesto, .site-footer { padding-left: 24px; padding-right: 24px; }
  .feature-grid { grid-template-columns: 1fr; }
  .flow-diagram { flex-direction: column; gap: 12px; }
  .flow-arrow { transform: rotate(90deg); }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-copy { margin-left: 0; }
}