/* Evenbatch landing — ported from DC palette (deep green / cream), light theme only, system fonts */

:root {
  --green: #17553b;
  --green-dark: #0f3f2b;
  --green-dot: #2f9e6b;
  --green-tint-bg: #eef4f0;
  --green-tint-bd: #d9e6df;
  --green-soft-bg: #f3f8f5;
  --green-soft-bd: #cfe0d3;
  --green-pale: #c3ddce;
  --green-mint: #8fd3b0;
  --cream: #fafbf9;
  --cream-2: #f6f7f4;
  --cream-3: #fbfdfb;
  --chrome: #f4f6f2;
  --border: #eceee9;
  --border-2: #e6e9e4;
  --border-3: #e0e4dd;
  --ink: #1a1f1c;
  --ink-2: #2a332d;
  --body: #4b544e;
  --muted: #6b746e;
  --faint: #7c857e;
  --faint-2: #8a938c;
  --faint-3: #9aa39c;
  --quote-mark: #c9d2cb;
  --danger: #c0392b;
  --danger-bg: #fdeceb;
  --danger-bd: #f6d5d2;
  --amber: #b8860b;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--green); }
a:hover { color: var(--green-dark); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  padding-top: 16px; padding-bottom: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 26px; height: 26px; border-radius: 7px; background: var(--green);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 15px; line-height: 1;
}
.brand-name { font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a.nav-link { text-decoration: none; color: var(--body); font-size: 14px; font-weight: 500; }
.site-nav a.nav-link:hover { color: var(--ink); }

.btn {
  display: inline-block; text-decoration: none; text-align: center;
  font-family: inherit; font-weight: 600; border-radius: 10px; cursor: pointer;
  border: none;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-sm { font-size: 13.5px; padding: 9px 16px; border-radius: 8px; }
.btn-lg { font-size: 15.5px; padding: 15px 26px; }
.btn-block { display: block; width: 100%; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 40px; }
.hero-grid { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero-copy { flex: 1 1 400px; min-width: 300px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-tint-bg); border: 1px solid var(--green-tint-bd);
  border-radius: 999px; padding: 6px 13px; margin-bottom: 24px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-dot); }
.hero-badge span:last-child { font-size: 12.5px; font-weight: 500; color: var(--green); }
.hero h1 {
  font-size: clamp(34px, 4.8vw, 54px); line-height: 1.06; letter-spacing: -0.025em;
  font-weight: 700; margin: 0 0 22px;
}
.hero-sub {
  font-size: clamp(17px, 2vw, 20px); line-height: 1.5; color: var(--body);
  margin: 0 0 28px; max-width: 560px;
}
.hero-sub strong { color: var(--ink); font-weight: 500; }
.hero-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.hero-micro { margin: 14px 2px 0; font-size: 13.5px; color: var(--muted); }
.price-mono { font-family: var(--mono); font-weight: 600; color: var(--green); }

/* ---------- Mockup shells ---------- */
.hero-mockup { flex: 1 1 440px; min-width: 300px; }
.browser {
  border-radius: 14px; overflow: hidden; background: #fff;
  box-shadow: 0 24px 60px -24px rgba(23, 85, 59, 0.28), 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-2);
}
.browser-bar {
  display: flex; align-items: center; gap: 8px; padding: 12px 15px;
  background: var(--chrome); border-bottom: 1px solid var(--border-2);
}
.browser-bar .b-dot { width: 11px; height: 11px; border-radius: 50%; }
.b-dot.red { background: #e2c7c0; }
.b-dot.yellow { background: #e8dcbd; }
.b-dot.green { background: var(--green-soft-bd); }
.browser-url {
  margin-left: 10px; flex: 1; background: #fff; border: 1px solid var(--border-2);
  border-radius: 6px; padding: 4px 12px; font-family: var(--mono); font-size: 11px; color: var(--faint-2);
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.browser-body { padding: 22px 22px 24px; }
.mock-title-row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 4px; }
.mock-title { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.mock-tag { font-family: var(--mono); font-size: 11px; color: var(--faint-3); }
.mock-motto { margin: 0 0 18px; font-size: 13.5px; font-weight: 500; color: var(--green); }
.mock-label {
  font-size: 12px; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 10px;
}
.sync-rows { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.sync-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border: 1px solid var(--border-2); border-radius: 10px; padding: 12px 14px;
}
.sync-row-name { font-size: 14px; font-weight: 500; }
.sync-row-amount { font-family: var(--mono); font-size: 12px; color: var(--green); margin-top: 3px; }
.chip-preview {
  font-size: 12.5px; font-weight: 600; color: var(--green);
  border: 1px solid var(--green-soft-bd); border-radius: 7px; padding: 6px 12px;
  background: var(--green-soft-bg); white-space: nowrap;
}
.mock-approve {
  width: 100%; border: none; background: var(--green); color: #fff; font-family: inherit;
  font-size: 14px; font-weight: 600; padding: 13px; border-radius: 10px; margin-bottom: 18px;
}
.history-rows { display: flex; flex-direction: column; gap: 9px; }
.history-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.history-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.history-left .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green-dot); flex: none; }
.history-text {
  font-size: 12.5px; color: var(--body);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.history-undo { font-size: 12px; font-weight: 600; color: var(--faint-2); }

/* ---------- Quotes band ---------- */
.band {
  background: var(--cream-2);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.quotes { margin-top: 36px; }
.quotes .container { padding-top: 64px; padding-bottom: 64px; }
.quotes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.quote-card { background: #fff; border: 1px solid var(--border-2); border-radius: 14px; padding: 26px 24px; }
.quote-card blockquote { margin: 0; }
.quote-mark {
  font-family: Georgia, "Times New Roman", serif; font-size: 44px; line-height: 1;
  color: var(--quote-mark); margin-bottom: 6px;
}
.quote-card p { margin: 0; font-size: 18px; line-height: 1.45; font-weight: 500; letter-spacing: -0.01em; }
.quote-card .mono { font-family: var(--mono); }
.quotes-tail { margin: 32px 0 0; text-align: center; font-size: 18px; color: var(--body); }
.quotes-tail strong { color: var(--ink); font-weight: 600; }

/* ---------- Pledge ---------- */
.pledge { padding: 80px 0; scroll-margin-top: 80px; }
.pledge-card {
  background: var(--green); border-radius: 22px; padding: clamp(38px, 6vw, 66px);
  color: #fff; position: relative; overflow: hidden;
}
.pledge-ring {
  position: absolute; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 50%;
}
.pledge-ring.r1 { top: -60px; right: -40px; width: 220px; height: 220px; }
.pledge-ring.r2 { top: -30px; right: -10px; width: 160px; height: 160px; border-color: rgba(255, 255, 255, 0.10); }
.pledge-inner { position: relative; max-width: 820px; }
.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 22px;
}
.pledge .eyebrow { color: var(--green-mint); }
.pledge-lead {
  margin: 0 0 20px; font-size: clamp(24px, 3.4vw, 38px); line-height: 1.25;
  font-weight: 600; letter-spacing: -0.02em;
}
.pledge-sub { margin: 0; font-size: 17px; line-height: 1.5; color: var(--green-pale); }

/* ---------- Pillars ---------- */
.pillars { padding: 20px 0 40px; scroll-margin-top: 80px; }
.pillars-stack { display: flex; flex-direction: column; gap: 64px; }
.pillar { display: flex; flex-wrap: wrap; gap: 44px; align-items: center; }
.pillar.reverse { flex-wrap: wrap-reverse; }
.pillar-copy { flex: 1 1 320px; min-width: 280px; }
.pillar-visual { flex: 1 1 380px; min-width: 280px; }
.pillar-index { font-family: var(--mono); font-size: 12px; color: var(--faint); margin-bottom: 12px; }
.pillar h2 {
  margin: 0 0 16px; font-size: clamp(26px, 3.2vw, 34px); line-height: 1.15;
  letter-spacing: -0.02em; font-weight: 700;
}
.pillar-intro { margin: 0 0 22px; font-size: 16.5px; line-height: 1.55; color: var(--body); max-width: 460px; }
.feature-list { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.feature { display: flex; gap: 11px; align-items: flex-start; }
.feature .check { color: var(--green-dot); flex: none; font-weight: 700; line-height: 1.4; }
.feature h3 { margin: 0 0 3px; font-size: 15.5px; font-weight: 600; color: var(--ink-2); line-height: 1.4; }
.feature p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.pillar-note {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px;
  background: var(--green-tint-bg); border: 1px solid var(--green-tint-bd);
  border-radius: 10px; padding: 12px 16px;
}
.pillar-note .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-dot); }
.pillar-note span:last-child { font-size: 15px; font-weight: 600; color: var(--green); }

/* Pillar mockup cards */
.card {
  border: 1px solid var(--border-2); border-radius: 14px; background: #fff;
  box-shadow: 0 12px 34px -20px rgba(0, 0, 0, 0.18);
}
.card-pad { padding: 22px; }
.card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; gap: 10px; }
.card-head-title { font-size: 14px; font-weight: 600; }
.badge-danger {
  font-family: var(--mono); font-size: 11px; color: var(--danger);
  background: var(--danger-bg); border: 1px solid var(--danger-bd);
  padding: 3px 8px; border-radius: 6px; white-space: nowrap;
}
.trace-step {
  display: flex; align-items: center; gap: 12px; padding: 11px 13px;
  border: 1px solid var(--border-2); border-radius: 10px; background: var(--cream);
}
.trace-step.align-top { align-items: flex-start; }
.trace-step.hot { border: 1.5px solid var(--green-soft-bd); background: var(--green-soft-bg); }
.trace-key { font-family: var(--mono); font-size: 10px; color: var(--faint-3); width: 58px; flex: none; }
.trace-step.hot .trace-key { color: var(--green); }
.trace-val { font-size: 13.5px; font-weight: 500; }
.trace-step.hot .trace-val { font-weight: 600; color: var(--green); }
.trace-line { height: 16px; width: 1px; background: #d6ddd7; margin-left: 26px; }
.trace-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-soft { font-size: 12px; background: #eef2ec; border-radius: 6px; padding: 4px 9px; }
.chip-pill { font-size: 12px; background: #fff; border: 1px solid var(--border-3); border-radius: 999px; padding: 4px 10px; }

.card-strip {
  padding: 16px 20px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.run-make { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin-bottom: 18px; }
.run-make .qty { font-family: var(--mono); font-size: 20px; font-weight: 600; color: var(--green); }
.run-make span { font-size: 15px; color: var(--body); }
.consume-rows { display: flex; flex-direction: column; gap: 8px; }
.consume-row { border: 1px solid var(--border-2); border-radius: 10px; padding: 12px 14px; background: var(--cream); }
.consume-row.hot { border: 1.5px solid var(--green-soft-bd); background: var(--green-soft-bg); }
.consume-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.consume-name { font-size: 14px; font-weight: 500; }
.consume-qty { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--body); }
.consume-row.hot .consume-qty { color: var(--green); }
.consume-lot { margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.consume-row.hot .consume-lot { color: #4b6b58; }
.consume-lot .expires { color: var(--amber); font-weight: 500; }

.preview-table { border: 1px solid var(--border-2); border-radius: 10px; overflow: hidden; }
.preview-head {
  padding: 12px 14px; background: var(--cream); border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 10px;
}
.preview-head .to { font-size: 13px; color: var(--muted); }
.preview-head .amt { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--green); }
.preview-lines { padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.preview-line { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
.preview-line span:first-child { color: var(--body); }
.preview-line span:last-child { font-family: var(--mono); color: var(--ink-2); }
.preview-total {
  border-top: 1px dashed var(--border-3); margin-top: 4px; padding-top: 8px;
  display: flex; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 600;
}
.preview-total span:last-child { font-family: var(--mono); color: var(--green); }
.preview-actions { display: flex; gap: 8px; margin-top: 14px; }
.mock-btn {
  font-family: inherit; font-size: 13.5px; font-weight: 600; padding: 11px;
  border-radius: 9px; text-align: center;
}
.mock-btn.hold { flex: 1; border: 1px solid var(--border-3); background: #fff; color: var(--body); }
.mock-btn.approve { flex: 2; border: none; background: var(--green); color: #fff; }

/* ---------- Migration band ---------- */
.migration .container { padding-top: 64px; padding-bottom: 64px; text-align: center; }
.migration h2 {
  margin: 0 auto 10px; font-size: clamp(24px, 3vw, 32px); line-height: 1.15;
  letter-spacing: -0.02em; font-weight: 700; max-width: 760px;
}
.migration h3 { margin: 0 auto 14px; font-size: 17px; font-weight: 600; color: var(--green); max-width: 700px; }
.migration p { margin: 0 auto 30px; font-size: 16.5px; line-height: 1.55; color: var(--body); max-width: 640px; }
.migration-chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.migration-chip {
  display: flex; align-items: center; gap: 9px; background: #fff;
  border: 1px solid var(--border-3); border-radius: 999px; padding: 10px 18px;
}
.migration-chip .sq { width: 8px; height: 8px; border-radius: 2px; background: #c2cdc6; }
.migration-chip span:last-child { font-size: 14.5px; font-weight: 500; color: var(--ink-2); }

/* ---------- Pricing ---------- */
.pricing { padding: 80px 0; scroll-margin-top: 80px; }
.pricing-card {
  border: 1.5px solid var(--green); border-radius: 22px;
  padding: clamp(34px, 5vw, 56px); background: var(--cream-3);
}
.pricing-grid { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: space-between; }
.pricing-copy { flex: 1 1 380px; min-width: 300px; }
.plan-badge {
  display: inline-flex; align-items: center; background: var(--green); color: #fff;
  border-radius: 999px; padding: 6px 14px; margin-bottom: 20px;
  font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
}
.pricing h2 {
  margin: 0 0 10px; font-size: clamp(26px, 3.4vw, 36px); line-height: 1.12;
  letter-spacing: -0.02em; font-weight: 700;
}
.pricing h2 .price-mono { font-size: 0.95em; }
.pricing h3 { margin: 0 0 14px; font-size: 17.5px; font-weight: 600; color: var(--ink-2); }
.pricing-lock { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--body); max-width: 520px; }
.pricing-includes { flex: 1 1 320px; min-width: 280px; }
.includes-list {
  margin: 0 0 18px; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 11px;
}
.includes-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.includes-list .check { color: var(--green-dot); flex: none; font-weight: 700; }
.pricing-micro { margin: 10px 2px 0; font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; padding: 20px 28px 80px; scroll-margin-top: 80px; }
.faq h2 {
  margin: 0 0 32px; font-size: clamp(26px, 3vw, 34px); line-height: 1.1;
  letter-spacing: -0.02em; font-weight: 700; text-align: center;
}
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--border-2); border-radius: 12px; background: #fff; }
.faq-item summary {
  list-style: none; padding: 18px 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.faq-item summary .plus {
  font-size: 22px; line-height: 1; color: var(--green); font-weight: 400; flex: none;
  transition: transform 0.2s;
}
.faq-item[open] summary .plus { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 20px 20px; font-size: 15.5px; line-height: 1.6; color: var(--body); }
.faq-item .faq-a p { margin: 0; }

/* ---------- Final CTA ---------- */
.final-cta { padding: 0 0 90px; text-align: center; }
.final-cta h2 {
  margin: 0 auto 14px; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.12;
  letter-spacing: -0.02em; font-weight: 700; max-width: 720px;
}
.final-cta p { margin: 0 auto 28px; font-size: 17px; line-height: 1.55; color: var(--body); max-width: 560px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--cream-3); }
.site-footer .container {
  padding-top: 40px; padding-bottom: 40px;
  display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between;
}
.footer-brand { display: flex; align-items: center; gap: 11px; }
.footer-tagline { font-size: 13px; color: var(--muted); margin-top: 2px; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.footer-links a { font-size: 13.5px; color: var(--body); text-decoration: none; }
.footer-links a:hover { color: var(--green); text-decoration: underline; }
.footer-meta { font-family: var(--mono); font-size: 12px; color: var(--faint-3); }

/* ---------- Legal pages ---------- */
.legal-main { max-width: 780px; margin: 0 auto; padding: 56px 28px 80px; }
.legal-main h1 { font-size: clamp(28px, 4vw, 38px); letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 8px; }
.legal-updated { font-family: var(--mono); font-size: 12.5px; color: var(--faint-3); margin: 0 0 36px; }
.legal-main h2 { font-size: 21px; letter-spacing: -0.01em; margin: 40px 0 12px; }
.legal-main p, .legal-main li { font-size: 15.5px; line-height: 1.65; color: var(--ink-2); }
.legal-main ul { padding-left: 22px; }
.legal-main li { margin-bottom: 8px; }
.legal-note {
  background: var(--cream-2); border: 1px solid var(--border);
  border-radius: 10px; padding: 14px 18px; font-size: 14px; color: var(--muted);
}
.legal-table-wrap { overflow-x: auto; }
.legal-table { border-collapse: collapse; width: 100%; min-width: 520px; margin: 12px 0 4px; }
.legal-table th, .legal-table td {
  border: 1px solid var(--border-2); padding: 10px 14px;
  font-size: 14.5px; text-align: left; vertical-align: top; line-height: 1.5;
}
.legal-table th { background: var(--cream-2); font-weight: 600; }
.legal-crosslinks { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 14.5px; }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .hero { padding-top: 48px; }
  .hero-grid { gap: 40px; }
  .pillars-stack { gap: 52px; }
  .site-nav { gap: 16px; }
  .faq { padding-left: 20px; padding-right: 20px; }
  .legal-main { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 480px) {
  .site-nav a.nav-link { display: none; }
  .browser-url { display: none; }
  .hero h1 { font-size: 32px; }
}
