/* Base */
:root {
  --bg: #faf8f5;
  --bg-alt: #f0ece5;
  --fg: #111111;
  --fg-muted: #6b6763;
  --accent: #FF4D00;
  --accent-light: #FFF0E6;
  --border: #e0dbd4;
  --terminal-bg: #1a1a1a;
  --terminal-fg: #e8e8e8;
  --terminal-dim: #888888;
  --terminal-green: #4ade80;
  --terminal-yellow: #facc15;
  --terminal-red: #f87171;
}

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

html { scroll-behavior: smooth; }

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

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.nav-tagline {
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-muted);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Hero */
.hero {
  padding: 80px 32px 80px;
  background: var(--bg);
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid #ffd4bc;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 24px;
  letter-spacing: 0.03em;
}
.hero-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 40px;
}
.hero-stats {
  display: flex;
  gap: 40px;
}
.hero-stat {
  display: flex;
  flex-direction: column;
}
.stat-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 28px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 13px;
  color: var(--fg-muted);
  font-weight: 500;
}

/* Terminal */
.hero-terminal {
  background: var(--terminal-bg);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0,0,0,0.18), 0 0 0 1px rgba(255,255,255,0.05);
}
.terminal-header {
  background: #252525;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }
.terminal-title {
  margin-left: 8px;
  font-size: 12px;
  color: var(--terminal-dim);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.terminal-body {
  padding: 20px 24px;
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 13px;
  line-height: 1.9;
  color: var(--terminal-fg);
}
.t-line { color: var(--terminal-fg); }
.t-dim { color: var(--terminal-dim); }
.t-bright { color: #ffffff; font-weight: 500; }
.t-success { color: var(--terminal-green); }
.t-warning { color: var(--terminal-yellow); }
.t-line + .t-line { margin-top: 2px; }

/* Problem */
.problem {
  padding: 96px 32px;
  background: var(--fg);
  color: var(--bg);
}
.problem-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.problem-header {
  margin-bottom: 64px;
}
.section-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
  font-family: 'Figtree', sans-serif;
}
.problem-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--bg);
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.problem-card {
  background: #1e1e1e;
  padding: 40px 36px;
  border: 1px solid rgba(255,255,255,0.06);
}
.problem-icon {
  display: block;
  font-size: 28px;
  margin-bottom: 20px;
  line-height: 1;
}
.problem-card h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--bg);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.problem-card p {
  font-size: 15px;
  color: #999999;
  line-height: 1.65;
}

/* How It Works */
.howitworks {
  padding: 96px 32px;
  background: var(--bg-alt);
}
.howitworks-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.howitworks-header {
  margin-bottom: 64px;
}
.howitworks-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--fg);
}
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.step {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 40px;
  align-items: start;
  padding: 40px 0;
  border-top: 1px solid var(--border);
}
.step:last-child {
  border-bottom: 1px solid var(--border);
}
.step-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 56px;
  color: var(--accent);
  line-height: 1;
  opacity: 0.3;
  letter-spacing: -0.03em;
}
.step-content h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--fg);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.step-content p {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 600px;
}

/* Features */
.features {
  padding: 96px 32px;
  background: var(--bg);
}
.features-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.features-header {
  margin-bottom: 64px;
}
.features-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--fg);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
}
.feature {
  background: var(--bg);
  padding: 40px 36px;
}
.feature h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--fg);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.feature p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* Closing */
.closing {
  padding: 96px 32px 120px;
  background: var(--fg);
}
.closing-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}
.closing-content {
  max-width: 720px;
  text-align: center;
}
.closing-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--bg);
  margin-bottom: 24px;
}
.closing-sub {
  font-size: 18px;
  color: #999999;
  line-height: 1.65;
  margin-bottom: 48px;
}
.closing-quote {
  border-left: 3px solid var(--accent);
  padding-left: 24px;
  text-align: left;
}
.closing-quote blockquote {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--bg);
  font-style: normal;
  margin-bottom: 12px;
  line-height: 1.4;
}
.closing-quote cite {
  font-size: 14px;
  color: #666666;
  font-style: normal;
}

/* Footer */
.footer {
  padding: 32px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: var(--fg);
}
.footer-desc {
  font-size: 14px;
  color: var(--fg-muted);
  margin-left: 12px;
}
.footer-links a {
  font-size: 14px;
  color: var(--fg-muted);
  text-decoration: none;
}
.footer-links a:hover { color: var(--fg); }
.footer-brand {
  display: flex;
  align-items: center;
}

/* Mobile */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-right {
    order: -1;
  }
  .hero-stats { gap: 24px; }
  .problem-grid {
    grid-template-columns: 1fr;
  }
  .step {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .step-num { font-size: 40px; }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}