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

:root {
  --bg: #f7f3ed;
  --bg-dark: #0f1f14;
  --fg: #1a1a14;
  --fg-muted: #6b6b5a;
  --accent: #d4900a;
  --accent-2: #2d8f6f;
  --green-deep: #1a3a2a;
  --surface: #ffffff;
  --border: rgba(26, 58, 42, 0.12);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  line-height: 1.15;
}

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 243, 237, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Instrument Serif', serif;
  font-size: 1.2rem;
  color: var(--green-deep);
}

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

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

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

.hero-text h1 {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  color: var(--green-deep);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-text h1 br { display: block; }

.lede {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 36px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-family: 'Instrument Serif', serif;
  font-size: 1.6rem;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== WORKFLOW DIAGRAM ===== */
.hero-visual {
  display: flex;
  justify-content: center;
}

.workflow-diagram {
  background: var(--bg-dark);
  border-radius: 12px;
  padding: 20px;
  width: 100%;
  max-width: 340px;
  box-shadow: 0 20px 60px rgba(15, 31, 20, 0.25);
}

.wf-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.wf-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.wf-dot.red { background: #ff5f57; }
.wf-dot.yellow { background: #febc2e; }
.wf-dot.green { background: #28c840; }

.wf-title {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  margin-left: 6px;
}

.wf-body {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.wf-node {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.06);
}

.wf-node-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wf-node-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wf-node-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}

.wf-node-sub {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
}

.wf-connector {
  display: flex;
  align-items: center;
  padding-left: 30px;
  height: 20px;
  position: relative;
}

.wf-line {
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, rgba(212, 144, 10, 0.5), rgba(45, 143, 111, 0.5));
}

.wf-arrow {
  position: absolute;
  left: 26px;
  width: 9px;
  height: 9px;
  border-right: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(45deg);
  bottom: -5px;
  background: var(--bg-dark);
}

.wf-badge {
  text-align: center;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.3);
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ===== PIPELINE ===== */
.pipeline {
  padding: 80px 32px;
  background: var(--green-deep);
  color: white;
}

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

.pipeline-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
}

.pipeline h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: white;
  margin-bottom: 16px;
  max-width: 560px;
}

.pipeline-sub {
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  margin-bottom: 56px;
  font-size: 1rem;
  line-height: 1.7;
}

.pipeline-steps {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 0;
}

.step {
  padding: 28px 32px;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
}

.step-num {
  font-family: 'Instrument Serif', serif;
  font-size: 2.4rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}

.step h3 {
  font-family: 'Instrument Serif', serif;
  font-size: 1.2rem;
  color: white;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

.step-arrow {
  display: flex;
  justify-content: center;
  padding: 0 8px;
  opacity: 0.5;
}

/* ===== FEATURES ===== */
.features {
  padding: 80px 32px;
  background: var(--bg);
}

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

.features-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
}

.features h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--green-deep);
  margin-bottom: 56px;
  max-width: 520px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.feature-card {
  background: var(--surface);
  padding: 36px 28px;
  border: 1px solid var(--border);
  border-radius: 2px;
  transition: transform 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(26, 58, 42, 0.08);
}

.feature-icon {
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: 'Instrument Serif', serif;
  font-size: 1.25rem;
  color: var(--green-deep);
  margin-bottom: 10px;
}

.feature-card > p {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

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

.feature-list li {
  font-size: 0.82rem;
  color: var(--fg-muted);
  padding-left: 16px;
  position: relative;
}

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

/* ===== MANIFESTO ===== */
.manifesto {
  padding: 80px 32px;
  background: var(--green-deep);
  color: white;
}

.manifesto-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.manifesto-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: white;
  margin-bottom: 28px;
  line-height: 1.25;
}

.manifesto-text p {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
  margin-bottom: 20px;
}

.manifesto-visual {
  display: flex;
  justify-content: center;
}

.manifesto-illustration {
  background: rgba(255,255,255,0.04);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.06);
}

/* ===== CLOSING ===== */
.closing {
  padding: 80px 32px 100px;
  background: var(--bg);
  text-align: center;
}

.closing-inner {
  max-width: 680px;
  margin: 0 auto;
}

.closing-badge {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 28px;
}

.closing h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: var(--green-deep);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.closing p {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 40px;
}

.closing-offer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-bottom: 28px;
}

.offer-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.offer-price {
  font-family: 'Instrument Serif', serif;
  font-size: 1.8rem;
  color: var(--green-deep);
}

.offer-desc {
  font-size: 0.75rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.offer-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.closing-note {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto;
}

/* ===== FOOTER ===== */
.footer {
  padding: 40px 32px;
  background: var(--bg-dark);
  color: rgba(255,255,255,0.5);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Instrument Serif', serif;
  font-size: 1rem;
  color: white;
}

.footer-desc {
  font-size: 0.82rem;
  max-width: 380px;
  line-height: 1.6;
}

.footer-copy {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-visual { order: -1; }
  .pipeline-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .step-arrow { display: none; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .manifesto-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .manifesto-visual { order: -1; }
}

@media (max-width: 600px) {
  .hero { padding: 48px 20px 40px; }
  .pipeline { padding: 48px 20px; }
  .features { padding: 48px 20px; }
  .manifesto { padding: 48px 20px; }
  .closing { padding: 48px 20px 64px; }
  .hero-stats { gap: 20px; }
  .feature-grid { grid-template-columns: 1fr; }
  .closing-offer { flex-direction: column; gap: 16px; }
  .offer-divider { width: 40px; height: 1px; }
  .nav-inner { padding: 12px 20px; }
}

/* ===== SHARED BUTTONS ===== */
.btn-primary {
  display: inline-block;
  padding: 14px 28px;
  background: var(--green-deep);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.2s, transform 0.1s;
}
.btn-primary:hover {
  background: #122a1d;
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-block;
  padding: 14px 24px;
  color: var(--accent-2);
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}
.btn-secondary:hover { color: var(--green-deep); }

/* ===== HERO CTAs ===== */
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-demo-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.hero-demo-label {
  font-size: 0.78rem;
  color: var(--fg-muted);
}
.hero-demo-link {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent-2);
  text-decoration: none;
}
.hero-demo-link:hover { text-decoration: underline; }
.hero-demo-sep { color: var(--border); font-size: 0.78rem; }

/* ===== BOOK-CALL PAGE ===== */
.bc-hero { padding: 72px 32px 48px; background: var(--bg); text-align: center; }
.bc-hero-inner { max-width: 640px; margin: 0 auto; }
.bc-badge {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.bc-hero h1 { font-size: clamp(2.4rem, 4vw, 3.4rem); color: var(--green-deep); letter-spacing: -0.02em; margin-bottom: 16px; }
.bc-hero .lede { font-size: 1.05rem; color: var(--fg-muted); line-height: 1.7; max-width: 520px; margin: 0 auto; }
.bc-form-section { padding: 0 32px 100px; background: var(--bg); }
.bc-form-outer { max-width: 1060px; margin: 0 auto; display: grid; grid-template-columns: 1fr 280px; gap: 40px; align-items: start; }
.bc-form-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 40px; }
.bc-error { padding: 12px 16px; background: #fef2f2; border: 1px solid #fecaca; border-radius: 8px; color: #b91c1c; font-size: 0.88rem; margin-bottom: 20px; }
.bc-section-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); font-weight: 600; margin: 28px 0 16px; }
.bc-section-label:first-child { margin-top: 0; }
.bc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.bc-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.bc-field label { font-size: 0.82rem; font-weight: 500; color: var(--fg); }
.bc-req { color: var(--accent); }
.bc-field input, .bc-field select, .bc-field textarea {
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 7px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  background: var(--bg);
  color: var(--fg);
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.bc-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b6b5a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.bc-field input:focus, .bc-field select:focus, .bc-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212,144,10,0.1);
}
.bc-field textarea { resize: vertical; min-height: 90px; }
.bc-submit {
  width: 100%;
  padding: 15px;
  background: var(--green-deep);
  color: white;
  border: none;
  border-radius: 9px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  margin-top: 8px;
}
.bc-submit:hover:not(:disabled) { background: #122a1d; transform: translateY(-1px); }
.bc-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.bc-fine-print { text-align: center; font-size: 0.78rem; color: var(--fg-muted); margin-top: 14px; }
.bc-thanks { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 48px 40px; text-align: center; }
.bc-thanks-icon { font-size: 3rem; margin-bottom: 20px; }
.bc-thanks h2 { font-size: 2rem; color: var(--green-deep); margin-bottom: 14px; }
.bc-thanks > p { font-size: 1rem; color: var(--fg-muted); line-height: 1.7; max-width: 480px; margin: 0 auto 40px; }
.bc-thanks-demos { margin-top: 32px; }
.bc-thanks-demos-label { font-size: 0.82rem; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.bc-demos-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.bc-demo-pill { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border: 1px solid var(--border); border-radius: 8px; text-decoration: none; color: var(--green-deep); font-size: 0.9rem; font-weight: 500; background: var(--bg); transition: border-color 0.2s, transform 0.1s; }
.bc-demo-pill:hover { border-color: var(--accent); transform: translateY(-1px); }
.bc-demo-pill-green { border-color: rgba(45,143,111,0.3); }
.bc-demo-pill-green:hover { border-color: #2d8f6f; }
.bc-demo-pill-icon { font-size: 1.1rem; }
.bc-demo-arrow { color: var(--accent); font-size: 0.85rem; }
.bc-trust { display: flex; flex-direction: column; gap: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 28px; position: sticky; top: 80px; }
.bc-trust-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--border); }
.bc-trust-item:first-child { padding-top: 0; }
.bc-trust-item:last-of-type { border-bottom: none; }
.bc-trust-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.bc-trust-item strong { display: block; font-size: 0.88rem; color: var(--fg); margin-bottom: 3px; }
.bc-trust-item p { font-size: 0.8rem; color: var(--fg-muted); line-height: 1.5; margin: 0; }
.bc-trust-demos { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
.bc-trust-demos-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--fg-muted); margin-bottom: 10px; }
.bc-trust-link { display: block; font-size: 0.85rem; color: var(--accent-2); text-decoration: none; font-weight: 500; margin-bottom: 6px; }
.bc-trust-link:hover { text-decoration: underline; }
@media (max-width: 820px) { .bc-form-outer { grid-template-columns: 1fr; } .bc-trust { position: static; } }
@media (max-width: 600px) { .bc-hero { padding: 48px 20px 36px; } .bc-form-section { padding: 0 20px 64px; } .bc-form-card { padding: 28px 20px; } .bc-row { grid-template-columns: 1fr; } }
