:root {
  --bg: #FFFCF5;
  --bg-alt: #F7F4EE;
  --fg: #1B2D1E;
  --fg-muted: #5A7260;
  --primary: #1B4332;
  --accent: #E07643;
  --accent-light: #F4A261;
  --surface: #EEF4F0;
  --surface-2: #E4EDE8;
  --border: #D4E4D9;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

*, *::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: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 252, 245, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 6rem 2rem 8rem;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
}
.hero-blob-1 {
  width: 600px; height: 500px;
  background: radial-gradient(circle, #1B4332 0%, transparent 70%);
  top: -100px; right: -100px;
  opacity: 0.12;
}
.hero-blob-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #E07643 0%, transparent 70%);
  bottom: -50px; left: 10%;
  opacity: 0.1;
}
.hero-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--primary);
  margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2rem;
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.pill {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.3rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--fg-muted);
  transition: all 0.2s;
}
.pill:hover { background: var(--surface-2); color: var(--primary); }

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.dash-card {
  background: white;
  border-radius: 18px;
  border: 1px solid var(--border);
  padding: 1.5rem;
  box-shadow: 0 4px 24px rgba(27, 67, 50, 0.06), 0 1px 4px rgba(0,0,0,0.04);
  width: 100%;
  max-width: 360px;
}
.dash-card-main {
  position: relative;
}
.dash-card-main::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-light) 100%);
  z-index: -1;
  opacity: 0.15;
}
.dash-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.dash-avatar {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--primary);
  color: white;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dash-meta {
  display: flex;
  flex-direction: column;
}
.dash-name { font-weight: 600; font-size: 0.95rem; color: var(--fg); }
.dash-date { font-size: 0.78rem; color: var(--fg-muted); }
.dash-streak {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface);
  border-radius: 100px;
  padding: 0.4rem 0.8rem;
  width: fit-content;
  margin-bottom: 1.25rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
}
.streak-icon { font-size: 0.9rem; }
.dash-tasks { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.25rem; }
.dash-task {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--fg);
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
}
.dash-task.done { opacity: 0.5; text-decoration: line-through; }
.dash-task.urgent { border-color: var(--accent); background: rgba(224, 118, 67, 0.06); }
.task-check {
  width: 18px; height: 18px;
  border-radius: 5px;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--primary);
  flex-shrink: 0;
}
.dash-task.done .task-check { background: var(--primary); border-color: var(--primary); color: white; }
.dash-ai {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, var(--primary), #264D3E);
  border-radius: 12px;
  color: white;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
}
.ai-icon {
  width: 24px; height: 24px;
  border-radius: 6px;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}
.dash-card-float {
  position: absolute;
  bottom: -1.5rem;
  right: -1rem;
  width: 200px;
  transform: rotate(3deg);
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border: none;
  color: white;
  box-shadow: 0 8px 32px rgba(224, 118, 67, 0.3);
}
.float-label { font-size: 0.72rem; opacity: 0.8; margin-bottom: 0.25rem; }
.float-date { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; line-height: 1; }
.float-name { font-size: 0.8rem; font-weight: 500; margin-top: 0.3rem; }
.float-amount { font-size: 0.85rem; font-weight: 600; opacity: 0.9; margin-top: 0.15rem; }

/* Features */
.features {
  padding: 6rem 2rem 8rem;
  background: var(--bg-alt);
}
.features-intro {
  max-width: 680px;
  margin: 0 auto 4rem;
  text-align: center;
}
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.section-body {
  color: var(--fg-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}
.feature-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.feature-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.25s;
}
.feature-card:hover { border-color: var(--surface-2); box-shadow: 0 8px 32px rgba(27,67,50,0.08); transform: translateY(-2px); }
.feature-card:hover::after { opacity: 1; }
.feature-icon { margin-bottom: 1.25rem; }
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.6rem;
}
.feature-card p { color: var(--fg-muted); font-size: 0.92rem; line-height: 1.65; margin-bottom: 1rem; }
.feature-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--accent);
  background: rgba(224, 118, 67, 0.08);
  border-radius: 100px;
  padding: 0.25rem 0.7rem;
}

/* Lifecycle */
.lifecycle {
  padding: 6rem 2rem 8rem;
}
.lifecycle-header {
  max-width: 1200px;
  margin: 0 auto 4rem;
  text-align: center;
}
.lifecycle-track {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.stage {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
  position: relative;
}
.stage-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stage-dot {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--primary);
  flex-shrink: 0;
  margin-top: 0.4rem;
}
.stage-line {
  width: 2px;
  flex: 1;
  background: linear-gradient(to bottom, var(--primary), var(--border));
  margin: 0.5rem 0;
}
.stage:last-child .stage-line { display: none; }
.stage-body {
  padding-bottom: 2.5rem;
}
.stage-body h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.6rem;
}
.stage-body p { color: var(--fg-muted); font-size: 0.95rem; line-height: 1.7; margin-bottom: 1rem; }
.stage-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.stage-tools span {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--fg-muted);
}

/* Manifesto */
.manifesto {
  padding: 6rem 2rem;
  background: var(--primary);
  color: white;
}
.manifesto-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.manifesto-quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.55;
  opacity: 0.9;
  margin-bottom: 1.25rem;
}
.manifesto-quote cite {
  font-size: 0.85rem;
  opacity: 0.6;
  font-style: normal;
  font-weight: 500;
}
.manifesto-stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.stat { display: flex; flex-direction: column; gap: 0.3rem; }
.stat-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent-light);
}
.stat-label { font-size: 0.88rem; opacity: 0.7; }

/* Closing */
.closing {
  padding: 8rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.closing-glow {
  position: absolute;
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(224,118,67,0.12) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.closing-content { position: relative; }
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.closing-sub {
  color: var(--fg-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}
.closing-cta {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.85rem 2rem;
  background: var(--primary, #1B4332);
  color: white;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
}
.closing-cta:hover {
  background: #264D3E;
  transform: translateY(-1px);
}
a.feature-card { display: block; text-decoration: none; color: inherit; }

/* Footer */
.footer {
  background: var(--fg);
  color: white;
  padding: 4rem 2rem 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-bottom: 3rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.footer-brand p { font-size: 0.85rem; opacity: 0.5; line-height: 1.5; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.4; margin-bottom: 0.3rem; }
.footer-col a, .footer-col span { font-size: 0.88rem; opacity: 0.7; text-decoration: none; color: white; cursor: pointer; transition: opacity 0.2s; }
.footer-col a:hover { opacity: 1; }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
  opacity: 0.4;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { display: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .manifesto-inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .feature-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero-headline { font-size: 2.2rem; }
}