:root {
  --green: #21c02b;
  --green-dark: #17961f;
  --green-soft: #eafbec;
  --ink: #10231a;
  --body: #38473f;
  --muted: #6b7d74;
  --bg: #ffffff;
  --bg-alt: #f4f8f5;
  --line: #e3ebe5;
  --shadow-sm: 0 2px 8px rgba(16, 35, 26, 0.06);
  --shadow-md: 0 12px 30px rgba(16, 35, 26, 0.08);
  --shadow-lg: 0 24px 60px rgba(16, 35, 26, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

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

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

h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.accent { color: var(--green); }

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

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  cursor: pointer; border: 2px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn-sm { padding: 10px 18px; font-size: .95rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgba(33, 192, 43, 0.28); }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(33, 192, 43, 0.34); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--green); color: var(--green-dark); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.86); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand-logo { height: 40px; width: auto; }
.main-nav { display: flex; align-items: center; }
.nav-menu { list-style: none; display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; }
.nav-menu a { font-weight: 500; color: var(--body); transition: color .15s ease; }
.nav-menu a:hover { color: var(--green-dark); }
.nav-menu .btn { color: #fff; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(33, 192, 43, 0.14), transparent 60%),
    radial-gradient(700px 400px at 0% 10%, rgba(33, 192, 43, 0.07), transparent 55%),
    var(--bg);
  padding: clamp(56px, 9vw, 110px) 0;
}
.hero-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--green-dark); background: var(--green-soft); padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
}
.lead { font-size: 1.18rem; color: var(--body); max-width: 44ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-stats { display: flex; flex-direction: column; gap: 18px; }
.stat {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 26px; box-shadow: var(--shadow-md);
}
.stat-num { display: block; font-size: 2rem; font-weight: 800; color: var(--green); letter-spacing: -0.02em; }
.stat-label { color: var(--muted); font-weight: 500; }

/* Sections */
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p { font-size: 1.1rem; color: var(--muted); margin: 0; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-tag {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--green-dark); background: var(--green-soft); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.check-list { list-style: none; padding: 0; margin: 16px 0 0; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 10px; color: var(--body); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317961f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 44px; }
.feature {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; box-shadow: var(--shadow-sm);
}
.feature ul { list-style: none; padding: 0; margin: 14px 0 0; }
.feature li { position: relative; padding-left: 26px; margin-bottom: 9px; }
.feature li::before { content: "→"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.center .btn { margin-top: 8px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm); position: relative;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--green); color: #fff; font-weight: 800; font-size: 1.2rem; margin-bottom: 16px;
}

/* Quotes */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; margin: 0; box-shadow: var(--shadow-sm);
}
.quote blockquote { margin: 0 0 16px; font-size: 1.08rem; color: var(--ink); font-weight: 500; }
.quote figcaption { color: var(--muted); font-weight: 600; }

/* Prose */
.prose p { font-size: 1.08rem; }

/* ROI */
.roi {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 32px; align-items: stretch;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-md);
}
.roi-controls { display: flex; flex-direction: column; gap: 26px; justify-content: center; }
.roi-field label { display: block; margin-bottom: 12px; font-weight: 500; color: var(--body); }
.roi-field strong { color: var(--green-dark); }
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px;
  background: var(--green-soft); outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green); cursor: pointer; box-shadow: 0 2px 8px rgba(33,192,43,.4); border: 3px solid #fff;
}
input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%; background: var(--green); cursor: pointer; border: 3px solid #fff;
}
.roi-result {
  background: linear-gradient(160deg, var(--green) 0%, var(--green-dark) 100%); color: #fff;
  border-radius: var(--radius-sm); padding: 32px; text-align: center; display: flex; flex-direction: column; justify-content: center;
}
.roi-result-label { font-size: .95rem; opacity: .9; }
.roi-result-num { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.02em; margin: 6px 0; }
.roi-result-sub { opacity: .92; }
.roi-mini { display: flex; gap: 16px; margin-top: 24px; }
.roi-mini > div { flex: 1; background: rgba(255,255,255,.15); border-radius: 10px; padding: 14px 10px; }
.roi-mini strong { display: block; font-size: 1.5rem; }
.roi-mini span { font-size: .82rem; opacity: .9; }

/* Contact form */
.contact-form { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 8px; font-size: .95rem; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; color: var(--ink); background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(33,192,43,.12);
}
.form-field textarea { resize: vertical; }
.hp-field { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-status { margin: 16px 0 0; font-weight: 600; text-align: center; }
.form-status.success { color: var(--green-dark); }
.form-status.error { color: #c0392b; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

/* Footer */
.site-footer { background: var(--ink); color: #cfe0d6; padding: 40px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-logo { height: 34px; width: auto; background: #fff; padding: 6px 10px; border-radius: 8px; }
.site-footer p { margin: 0; font-size: .95rem; }

/* Responsive */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-stats { flex-direction: row; flex-wrap: wrap; }
  .stat { flex: 1 1 30%; }
  .card-grid, .quote-grid, .steps { grid-template-columns: 1fr 1fr; }
  .roi { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    max-height: 0; overflow: hidden; transition: max-height .3s ease; padding: 0 24px;
  }
  .nav-menu.open { max-height: 420px; padding: 12px 24px 20px; }
  .nav-menu li { width: 100%; }
  .nav-menu a { display: block; padding: 12px 0; }
  .nav-menu .btn { margin-top: 8px; text-align: center; }
  .card-grid, .feature-grid, .quote-grid, .steps, .form-row { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; }
  .roi { padding: 24px; }
  .contact-form { padding: 24px; }
}
