:root {
  --bg: #f7f6f3;
  --bg-alt: #eeeee9;
  --fg: #1a1917;
  --fg-muted: #6b6a66;
  --accent: #c2410c;
  --accent-light: #fed7aa;
  --success: #166534;
  --warning: #92400e;
  --border: #e0dfd9;
}

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

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

/* Nav */
.nav {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.02em;
}
.nav-logo-mark {
  color: var(--accent);
  font-size: 1.2rem;
}
.nav-links {
  display: flex;
  gap: 1.5rem;
}
.nav-links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--fg); }

/* Hero */
.hero {
  padding: 5rem 0 4rem;
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.hero-label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 540px;
  line-height: 1.65;
  margin-bottom: 2.5rem;
}
.hero-visual {
  margin-bottom: 2rem;
}
.contract-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  max-width: 500px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.contract-card-header {
  background: var(--fg);
  color: white;
  padding: 0.875rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.contract-name {
  font-size: 0.9rem;
  font-weight: 500;
}
.contract-status {
  font-size: 0.75rem;
  font-family: 'DM Mono', monospace;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
}
.contract-status.ok {
  background: var(--success);
  color: white;
}
.contract-card-body {
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.contract-issue {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--fg-muted);
}
.issue-icon { font-size: 1rem; }
.contract-issue strong { color: var(--fg); }
.hero-note {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

/* Problem */
.problem {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}
.problem-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}
.problem-item {}
.problem-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
.problem-item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.problem-item p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
}
.problem-quote {
  background: var(--bg-alt);
  border-left: 3px solid var(--accent);
  padding: 1.25rem 1.5rem;
  border-radius: 0 6px 6px 0;
}
.problem-quote blockquote {
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
.problem-quote cite {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* Features */
.features {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
  background: white;
}
.features-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.feature-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
}
.feature-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}
.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.feature-card p {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* How */
.how {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}
.how-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.how-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}
.how-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.step-num {
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 500;
  min-width: 2rem;
  padding-top: 0.2rem;
}
.step-content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.step-content p {
  font-size: 0.9rem;
  color: var(--fg-muted);
}
.how-pricing {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
}
.pricing-label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 1.25rem;
}
.pricing-plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.pricing-plan {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
}
.pricing-plan.featured {
  border-color: var(--accent);
  background: var(--accent-light);
}
.plan-name {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  color: var(--fg-muted);
}
.pricing-plan.featured .plan-name { color: var(--accent); }
.plan-price {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.plan-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--fg-muted);
}
.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.plan-features li {
  font-size: 0.875rem;
  color: var(--fg-muted);
}
.pricing-plan.featured .plan-features li { color: var(--fg); }

/* Closing */
.closing {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.closing-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.closing-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.closing-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* Footer */
.footer {
  padding: 2.5rem 0;
}
.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-logo {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
}
.footer-brand p {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-top: 0.25rem;
  max-width: 250px;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-links a:hover { color: var(--fg); }
.footer-copy {
  width: 100%;
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* Mobile */
@media (max-width: 640px) {
  .pricing-plans { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero { padding: 3rem 0 2.5rem; }
  .how-pricing { padding: 1.25rem; }
}