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

:root {
  --bg: #f5f0e8;
  --bg-alt: #eae4d8;
  --fg: #161412;
  --fg-muted: #6b6157;
  --accent: #e8a530;
  --accent-dark: #c4881f;
  --card-bg: #ffffff;
  --border: #d5cdc4;
  --radius: 6px;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Figtree', system-ui, sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== NAV ===== */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  position: sticky;
  top: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.nav-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ===== HERO ===== */
.hero {
  padding: 80px 48px 96px;
  background: var(--bg);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.hero-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-dark);
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 440px;
  line-height: 1.65;
  font-weight: 400;
}

/* ===== WIDGET CARD ===== */
.widget-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(22,20,18,0.08), 0 1px 4px rgba(22,20,18,0.04);
}

.widget-header {
  background: var(--bg-alt);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}

.widget-dots { display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #e05252; }
.dot-yellow { background: #e8a530; }
.dot-green { background: #52c47a; }

.widget-title { font-size: 0.75rem; font-weight: 500; color: var(--fg-muted); }

.widget-body { padding: 20px; }

.widget-section { margin-bottom: 20px; }
.widget-section-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  font-weight: 600;
  margin-bottom: 10px;
}

.flow-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.flow-node {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 10px;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--fg-muted);
}

.flow-node-active { border-color: var(--accent); color: var(--accent-dark); background: #fdf5e6; }
.flow-node-done { border-color: #52c47a; color: #2a7a45; background: #f0fbf4; }

.flow-icon { display: flex; align-items: center; }
.flow-arrow { color: var(--border); display: flex; align-items: center; }

.widget-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.metric-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
}

.metric-value {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 2px;
}

.metric-label {
  font-size: 0.62rem;
  color: var(--fg-muted);
  line-height: 1.3;
  margin-bottom: 4px;
}

.metric-change {
  font-size: 0.65rem;
  font-weight: 600;
  color: #2a7a45;
}
.metric-change.positive { color: #2a7a45; }
.metric-change.neutral { color: var(--fg-muted); }

.widget-footer { padding-top: 12px; border-top: 1px solid var(--border); }
.status-badge { display: flex; align-items: center; gap: 6px; font-size: 0.7rem; color: var(--fg-muted); }
.status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #52c47a;
  box-shadow: 0 0 0 2px rgba(82,196,122,0.3);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(82,196,122,0.3); }
  50% { box-shadow: 0 0 0 5px rgba(82,196,122,0.1); }
}

/* ===== MANIFESTO ===== */
.manifesto {
  background: var(--fg);
  color: var(--bg);
  padding: 96px 48px;
}

.manifesto-inner { max-width: 860px; margin: 0 auto; }

.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--bg);
  margin-bottom: 40px;
  font-style: italic;
}

.manifesto-body {
  font-size: 1rem;
  color: #c4bdb4;
  line-height: 1.75;
  margin-bottom: 20px;
  max-width: 680px;
}

.manifesto-body em { color: var(--bg); font-style: normal; }

/* ===== SECTION SHARED ===== */
.section-eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-dark);
  font-weight: 600;
  margin-bottom: 16px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.7;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: 96px 48px;
  background: var(--bg-alt);
}

.hiw-inner { max-width: 1100px; margin: 0 auto; }

.hiw-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  margin-top: 56px;
  align-items: center;
}

.hiw-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px;
}

.hiw-card-icon {
  width: 52px; height: 52px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
  margin-bottom: 20px;
}

.hiw-card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
}

.hiw-card-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.hiw-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hiw-list li {
  font-size: 0.85rem;
  color: var(--fg);
  padding-left: 20px;
  position: relative;
}

.hiw-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hiw-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0 32px;
}

.hiw-divider-line { flex: 1; width: 1px; background: var(--border); }
.hiw-divider-label {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--border);
}

/* ===== OUTCOMES ===== */
.outcomes {
  padding: 96px 48px;
  background: var(--bg);
}

.outcomes-inner { max-width: 1100px; margin: 0 auto; }

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.outcome-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}

.outcome-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
}

.outcome-metric {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.outcome-label {
  font-size: 0.8rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* ===== PRICING ===== */
.pricing {
  padding: 96px 48px;
  background: var(--bg-alt);
}

.pricing-inner { max-width: 1100px; margin: 0 auto; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card-featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--fg);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: 20px;
}

.pricing-tier {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 12px;
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.03em;
}

.pricing-period {
  font-size: 0.9rem;
  color: var(--fg-muted);
}

.pricing-desc {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.55;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  margin-bottom: 24px;
}

.pricing-features li {
  font-size: 0.85rem;
  color: var(--fg);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.pricing-features li::before {
  content: '';
  display: inline-block;
  width: 16px; height: 16px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23c4881f' stroke-width='2.5'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 1px;
}

.pricing-setup {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
}

.setup-label { color: var(--fg-muted); }
.setup-value { color: var(--fg); font-weight: 600; }

.pricing-note {
  margin-top: 28px;
  font-size: 0.8rem;
  color: var(--fg-muted);
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ===== CLOSE ===== */
.close-section {
  padding: 120px 48px;
  background: var(--bg);
  text-align: center;
}

.close-inner { max-width: 760px; margin: 0 auto; }

.close-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 24px;
}

.close-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.75;
  max-width: 580px;
  margin: 0 auto;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--fg);
  color: var(--bg);
  padding: 48px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 0.8rem;
  color: #6b6157;
  line-height: 1.6;
  max-width: 340px;
}

.footer-legal {
  font-size: 0.75rem;
  color: #6b6157;
  text-align: right;
  line-height: 1.6;
  max-width: 280px;
}

.footer-legal a { color: var(--accent); text-decoration: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero { padding: 56px 24px 72px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-right { order: -1; }
  .widget-metrics { grid-template-columns: repeat(3, 1fr); }

  .hiw-grid { grid-template-columns: 1fr; }
  .hiw-divider { flex-direction: row; padding: 20px 0; gap: 16px; }
  .hiw-divider-line { flex: 1; height: 1px; width: auto; }
  .hiw-divider-label { font-size: 1.2rem; }

  .outcomes-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 56px auto 0; }

  .manifesto, .how-it-works, .outcomes, .pricing, .close-section { padding: 64px 24px; }
  .site-nav { padding: 16px 24px; }
  .site-footer { padding: 40px 24px; }
  .footer-inner { flex-direction: column; }
  .footer-legal { text-align: left; }
}

@media (max-width: 560px) {
  .outcomes-grid { grid-template-columns: 1fr; }
  .widget-metrics { grid-template-columns: 1fr; }
  .flow-row { flex-direction: column; align-items: flex-start; }
  .flow-arrow { transform: rotate(90deg); }
}