:root {
  --green-50: #f2f8f3;
  --green-100: #eaf5ec;
  --green-500: #20b446;
  --green-600: #1a9a3c;
  --green-700: #158033;
  --green-900: #11391f;
  --green-950: #0c2b17;
  --ink: #0f1a13;
  --ink-soft: #374151;
  --muted: #6b7280;
  --border: #e3e9e4;
  --bg: #ffffff;
  --bg-alt: #f7faf7;
  --shadow-sm: 0 1px 3px rgba(15, 26, 19, 0.08), 0 1px 2px rgba(15, 26, 19, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 26, 19, 0.10);
  --shadow-lg: 0 24px 60px rgba(12, 43, 23, 0.18);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--green-900);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 200;
}
.skip-link:focus { left: 0; top: 0; }

h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; margin: 0 0 12px; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); line-height: 1.12; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.2; }
h3 { font-size: 1.15rem; margin-bottom: 8px; }
p { margin: 0 0 12px; color: var(--ink-soft); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 10px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green-500);
  color: #fff;
  box-shadow: 0 2px 0 rgba(32,180,70,0.25);
}
.btn-primary:hover { background: var(--green-600); transform: translateY(-1px); }
.btn-outline {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,0.14); transform: translateY(-1px); }
.btn-ghost { color: var(--ink); }
.btn-ghost:hover { color: var(--green-600); }
.btn-lg { padding: 14px 26px; font-size: 1rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.brand-logo { height: 28px; width: auto; }
.main-nav { display: flex; gap: 28px; margin: 0 auto; }
.main-nav a { font-size: 0.92rem; font-weight: 500; color: var(--ink-soft); transition: color .15s ease; }
.main-nav a:hover { color: var(--green-600); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 140% at 15% -10%, #163d21 0%, var(--green-950) 55%, #081c0f 100%);
  color: #fff;
  padding: 84px 0 100px;
}
.hero-glow {
  position: absolute;
  inset: -20% -10% auto auto;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(32,180,70,0.35) 0%, rgba(32,180,70,0) 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
}
.hero-sub { color: rgba(255,255,255,0.78); font-size: 1.08rem; max-width: 46ch; }
.hero h1 { color: #fff; }
.hero-actions { display: flex; gap: 12px; margin: 26px 0 22px; flex-wrap: wrap; }
.hero-trust {
  list-style: none;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}
.hero-trust li { position: relative; padding-left: 16px; }
.hero-trust li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 6px; height: 6px;
  transform: translateY(-50%);
  background: var(--green-500);
  border-radius: 50%;
}

/* Browser frame for screenshots */
.browser-frame {
  background: #12261a;
  border-radius: var(--radius-lg);
  padding: 8px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.08);
}
.browser-bar { display: flex; gap: 6px; padding: 8px 10px 10px; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot-r { background: #ef5350; } .dot-y { background: #f2c14e; } .dot-g { background: #20b446; }
.browser-frame img { border-radius: var(--radius-sm); width: 100%; height: auto; background: var(--bg-alt); aspect-ratio: 16/10; object-fit: cover; }

/* Differentiators strip */
.diff-strip { background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.diff-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding: 38px 24px;
}
.diff { position: relative; padding-left: 18px; }
.diff::before {
  content: '';
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 3px;
  border-radius: 3px;
  background: var(--green-500);
}
.diff-title { display: block; font-size: 1.05rem; font-weight: 800; color: var(--green-900); letter-spacing: -0.01em; margin-bottom: 4px; }
.diff-label { color: var(--muted); font-size: 0.88rem; line-height: 1.5; }

/* Sections */
section { padding: 92px 0; }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-sub { font-size: 1.03rem; }

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--green-100);
  color: var(--green-700);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card p { font-size: 0.94rem; margin-bottom: 0; }

/* Savings / ROI */
.savings { background: var(--green-950); color: #fff; }
.savings-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.savings h2 { color: #fff; }
.section-sub-left { color: rgba(255,255,255,0.72); font-size: 1.03rem; margin-bottom: 28px; }
.savings-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.savings-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  transition: background .2s ease, border-color .2s ease;
}
.savings-item:hover { background: rgba(255,255,255,0.08); border-color: rgba(32,180,70,0.45); }
.savings-icon {
  flex: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(32,180,70,0.18);
  color: var(--green-500);
  display: flex; align-items: center; justify-content: center;
}
.savings-icon svg { width: 22px; height: 22px; }
.savings-item h3 { color: #fff; font-size: 1.05rem; margin-bottom: 6px; }
.savings-item p { color: rgba(255,255,255,0.68); font-size: 0.93rem; margin: 0; }

/* Product tour */
.product-tour { background: var(--bg-alt); }
.tour-item {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 76px;
}
.tour-item:last-child { margin-bottom: 0; }
.tour-item-reverse { grid-template-columns: 0.9fr 1.1fr; }
.tour-item-reverse .tour-visual { order: 2; }
.tour-item-reverse .tour-copy { order: 1; }
.tour-copy h3 { font-size: 1.4rem; }
.tour-copy p { font-size: 1.02rem; }
.tour-visual .browser-frame { background: #fff; border: 1px solid var(--border); }
.tour-visual .browser-frame img { background: var(--bg-alt); }

/* Workflow */
.workflow-steps {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}
.workflow-steps li {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
}
.step-num {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--green-600);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.workflow-steps p { font-size: 0.9rem; margin-bottom: 0; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-list details {
  border-bottom: 1px solid var(--border);
  padding: 18px 4px;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--green-600);
  font-weight: 400;
  margin-left: 12px;
  transition: transform .2s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin-top: 12px; font-size: 0.95rem; }

/* CTA */
.cta {
  background: radial-gradient(120% 160% at 85% 0%, #163d21 0%, var(--green-950) 60%, #081c0f 100%);
  color: #fff;
}
.cta-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,0.75); }
.cta-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  justify-content: center;
}
.cta-form .field {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  text-align: left;
}
.cta-form input {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color .15s ease;
}
.cta-form input::placeholder { color: rgba(255,255,255,0.55); }
.cta-form input:focus { outline: 2px solid var(--green-500); outline-offset: 1px; }
.cta-form input.invalid { border-color: #ff7d70; }
.cta-form input.invalid:focus { outline-color: #ff7d70; }
.field-error {
  color: #ffab9f;
  font-size: 0.8rem;
  min-height: 1.1em;
  margin-top: 5px;
}
.field-submit { justify-content: flex-start; }
.cta-form button { width: 100%; }
.cta-form button[disabled] { opacity: .65; cursor: not-allowed; }
.form-note { margin-top: 14px; font-size: 0.9rem; color: var(--green-500); min-height: 1.2em; }
.form-note.error { color: #ffab9f; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Footer */
.site-footer { background: #081c0f; color: rgba(255,255,255,0.65); padding: 52px 0 28px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 28px;
}
.footer-brand p { margin: 8px 0 0; font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-nav a { font-size: 0.9rem; color: rgba(255,255,255,0.65); transition: color .15s ease; }
.footer-nav a:hover { color: #fff; }
.footer-copy { grid-column: 1 / -1; text-align: center; font-size: 0.82rem; margin: 22px 0 0; color: rgba(255,255,255,0.4); }

/* Reveal-on-scroll animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Hero entrance stagger */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-copy > * { animation: fadeUp .7s cubic-bezier(.22,.9,.35,1) both; }
.hero-copy > *:nth-child(1) { animation-delay: .05s; }
.hero-copy > *:nth-child(2) { animation-delay: .15s; }
.hero-copy > *:nth-child(3) { animation-delay: .28s; }
.hero-copy > *:nth-child(4) { animation-delay: .4s; }
.hero-copy > *:nth-child(5) { animation-delay: .52s; }
.hero-visual { animation: fadeUp .9s cubic-bezier(.22,.9,.35,1) .35s both; }

/* Gentle float on the hero screenshot */
@keyframes floaty {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}
.hero-visual .browser-frame { animation: floaty 6s ease-in-out 1.3s infinite alternate; }

/* Hero glow slow pulse */
@keyframes glowPulse {
  from { opacity: .7; transform: scale(1); }
  to { opacity: 1; transform: scale(1.08); }
}
.hero-glow { animation: glowPulse 8s ease-in-out infinite alternate; }

/* Tour items slide in from the side */
.tour-item .tour-visual,
.tour-item .tour-copy {
  opacity: 0;
  transition: opacity .7s ease, transform .7s cubic-bezier(.22,.9,.35,1);
}
.tour-item .tour-visual { transform: translateX(-36px); }
.tour-item .tour-copy { transform: translateX(36px); transition-delay: .12s; }
.tour-item-reverse .tour-visual { transform: translateX(36px); }
.tour-item-reverse .tour-copy { transform: translateX(-36px); }
.tour-item.is-visible .tour-visual,
.tour-item.is-visible .tour-copy { opacity: 1; transform: translateX(0); }
/* wrapper keeps opacity for non-JS fallback but children carry the motion */
.tour-item.reveal { transform: none; }

/* Sticky header shadow after scroll */
.site-header { transition: box-shadow .25s ease; }
.site-header.scrolled { box-shadow: 0 4px 18px rgba(15,26,19,0.08); }

/* Primary button shine sweep */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left .55s ease;
}
.btn-primary:hover::after { left: 130%; }

/* FAQ answer fade-in */
.faq-list details[open] p { animation: fadeUp .35s ease both; }

/* Workflow steps hover lift */
.workflow-steps li { transition: transform .2s ease, box-shadow .2s ease; }
.workflow-steps li:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .feature-card, .workflow-steps li, .site-header { transition: none; }
  .hero-copy > *, .hero-visual, .hero-visual .browser-frame, .hero-glow,
  .faq-list details[open] p { animation: none; }
  .tour-item .tour-visual, .tour-item .tour-copy { opacity: 1; transform: none; transition: none; }
  .btn-primary::after { display: none; }
}

/* Responsive */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .savings-inner { grid-template-columns: 1fr; gap: 36px; }
  .diff-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .tour-item, .tour-item-reverse { grid-template-columns: 1fr; }
  .tour-item-reverse .tour-visual, .tour-item-reverse .tour-copy { order: initial; }
  .workflow-steps { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-nav { justify-content: center; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .header-cta .btn-ghost { display: none; }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 34px; height: 34px;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
  }
  .nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }
  .site-header.nav-open .main-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: #fff;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--border);
    gap: 14px;
  }
  .feature-grid { grid-template-columns: 1fr; }
  .workflow-steps { grid-template-columns: 1fr; }
  .diff-strip-inner { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .hero { padding: 56px 0 72px; }
}
