:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --text: #0f172a;
  --muted: #475569;
  --border: #cdcdcd;
  --accent: #318017;
  --accent-dark: #256114;
  --accent-soft: #eaf4e7;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  --radius: 20px;
  --radius-sm: 14px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(49, 128, 23, 0.08), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; color: var(--muted); line-height: 1.75; }
h1, h2, h3, h4 { margin: 0 0 0.75rem; line-height: 1.1; }
h1 { font-size: clamp(2.5rem, 6vw, 5rem); letter-spacing: -0.05em; }
h2 { font-size: clamp(1.8rem, 3vw, 3rem); letter-spacing: -0.04em; }
h3 { font-size: 1.35rem; }
ul, ol { margin: 0; padding-left: 1.2rem; }
.wrap {
  width: min(var(--wrap), calc(100% - 2rem));
  margin: 0 auto;
}
.section {
  padding: 5.5rem 0;
}
.section.alt {
  background: linear-gradient(180deg, rgba(255,255,255,0.86), rgba(234, 244, 231, 0.42));
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
  will-change: transform;
}
.button:hover { transform: translateY(-1px); }
.button.primary {
  background: linear-gradient(180deg, #3a9520 0%, var(--accent-dark) 100%);
  color: #fff;
  box-shadow: 0 12px 25px rgba(49, 128, 23, 0.25);
}
.button.secondary {
  background: rgba(255,255,255,0.85);
  border-color: var(--border);
  color: var(--text);
}
.button.ghost {
  background: transparent;
  border-color: rgba(226, 232, 240, 0.8);
  color: var(--text);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 150;
  backdrop-filter: blur(14px);
}
.top-strip {
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  font-size: 0.9rem;
}
.top-strip-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
}
.top-strip a { color: var(--accent-dark); font-weight: 700; }

/* mobile-only copy of top-strip; hidden by default and shown inside mobile nav via media query */
.mobile-top-strip { display: none; }

.nav-shell {
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
}
.nav-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}
.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex: 0 0 auto;
}
.brand strong {
  display: block;
  font-size: 1rem;
  letter-spacing: -0.02em;
}
.brand span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.nav-links a {
  padding: 0.7rem 0.9rem;
  color: var(--muted);
  border-radius: 999px;
  font-weight: 700;
}
.nav-links a:hover,
.nav-links a.is-active {
  color: var(--text);
  background: rgba(49, 128, 23, 0.08);
}
.nav-links .nav-cta {
  margin-left: 0.3rem;
}
.nav-links .nav-cta.is-active,
.nav-links .nav-cta:hover {
  background: linear-gradient(180deg, #3a9520 0%, var(--accent-dark) 100%);
  color: #fff;
}
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 2px solid var(--border);
  background: #fff;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  border-radius: 999px;
}
.hero {
  padding: 5.5rem 0 4.5rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}
.hero-copy .lede {
  max-width: 58ch;
  font-size: 1.08rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}
.hero-panel {
  padding: 1.5rem;
}
.card {
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.16); z-index: 60;
}
.panel-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.search-box {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.65rem;
  border-radius: 18px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}
.search-box input {
  flex: 1;
  min-width: 0;
  height: 48px;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
}
.search-box input[readonly] {
  cursor: default;
}
.helper {
  margin-top: 0.85rem;
  font-size: 0.95rem;
}
.section-heading {
  max-width: 62ch;
  margin-bottom: 1.75rem;
}
.section-heading p { font-size: 1.02rem; }
.product-card,
.service-card,
.callout-card,
.contact-grid,
.legal-card,
.demo-shell {
  overflow: hidden;
}
.product-card,
.contact-grid,
.demo-shell {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
}
.product-media,
.demo-visual {
  padding: 1.25rem;
  background: linear-gradient(180deg, rgba(49,128,23,0.08), rgba(255,255,255,0.98));
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}
.product-media img {
  width: min(100%, 460px);
  height: auto;
  object-fit: contain;
}
.product-copy,
.demo-copy,
.contact-copy,
.legal-content,
.service-copy {
  padding: 1.6rem;
}
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 0;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  background: #ffffff;
  color: #256114;
  font-size: 0.84rem;
  font-weight: 1000;
  box-shadow: 0 8px 18px rgba(49,128,23,0.12);
  border: 1px solid rgba(49,128,23,0.12);
  margin-bottom: 10px;
  border: 2px solid #256114;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.check-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.8rem;
  color: var(--muted);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(49, 128, 23, 0.12);
}
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.mini-card {
  padding: 1.25rem;
}
.mini-card h3 { margin-top: 0.25rem; }
.mini-card p { margin-bottom: 0; }
.callout-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.6rem;
}
.callout-card p { margin-bottom: 0; }
.step-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}
.step-list li {
  padding: 1rem 1rem 1rem 1rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.82);
}
.step-list strong { display: block; margin-bottom: 0.35rem; }
.contact-grid {
  gap: 0;
}
.contact-form,
.contact-aside {
  padding: 1.6rem;
}
.contact-aside {
  background: linear-gradient(180deg, rgba(49,128,23,0.08), rgba(255,255,255,0.95));
  border-left: 1px solid var(--border);
}
.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.field {
  margin-bottom: 1rem;
}
label {
  display: block;
  margin-bottom: 0.45rem;
  font-weight: 700;
  color: var(--text);
}
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.85rem 1rem;
  border: 2px solid var(--border);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font: inherit;
}
textarea {
  min-height: 160px;
  resize: vertical;
}
input:focus,
textarea:focus {
  outline: 2px solid rgba(49, 128, 23, 0.2);
  border-color: var(--accent);
}
.field small {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
}
.form-actions { margin-top: 0.5rem; }
.form-success {
  margin-bottom: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 700;
  border: 1px solid rgba(49, 128, 23, 0.18);
}
.legal-card {
  max-width: 880px;
  margin: 0 auto;
}
.legal-content h2 {
  margin-top: 1.5rem;
  font-size: 1.3rem;
}
.legal-content h3 {
  margin-top: 1.1rem;
  font-size: 1.05rem;
}
.site-footer {
  margin-top: 1rem;
  padding: 3rem 0 2rem;
  background: linear-gradient(180deg, #0f172a, #0b1220);
  color: rgba(255,255,255,0.9);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
}
.footer-brand {
  display: flex;
  gap: 0.9rem;
  align-items: center;
}
.footer-brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 1rem;
  align-content: start;
}
.footer-links a,
.footer-meta a {
  color: rgba(255,255,255,0.82);
}
.footer-links a:hover,
.footer-meta a:hover {
  color: #fff;
}
.top-strip a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}
.footer-meta {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  color: rgba(255,255,255,0.68);
  font-size: 0.9rem;
}
.demo-shell {
  border: 1px solid var(--border);
}
.demo-window {
  border-radius: var(--radius);
  border: 1px solid rgba(226, 232, 240, 0.95);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.16); z-index: 60;
}
.demo-bar {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  padding: 0.8rem 1rem;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
}
.demo-bar span {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: #cbd5e1;
}
.demo-bar strong {
  margin-left: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.demo-visual {
  min-height: 360px;
  text-align: center;
}
.demo-visual .center {
  max-width: 34rem;
}
.demo-visual img {
  width: min(100%, 440px);
  margin: 0 auto 1rem;
}
.demo-visual .chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

@media (max-width: 960px) {
  .hero-grid,
  .product-card,
  .contact-grid,
  .demo-shell,
  .footer-grid,
  .callout-card {
    grid-template-columns: 1fr;
  }
  .contact-aside {
    border-left: 0;
    border-top: 1px solid var(--border);
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

.btn-mockup-mobile {
  display: none;
}

@media (max-width: 820px) {
  /* Hide the top strip on small screens; a mobile copy is shown inside the expanded nav */
  .top-strip { display: none; }
  .mobile-top-strip {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding: 0.5rem 0;
    color: var(--muted);
    border-bottom: 1px solid rgba(226, 232, 240, 0.95);
    margin-bottom: 0.5rem;
  }
  .mobile-top-strip span { font-weight: 700; }
  .mobile-top-strip a { color: var(--accent-dark); font-weight: 700; text-decoration: none; }

  .nav-toggle { display: inline-block; }
  .nav-links {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.75rem);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    border-radius: 22px;
    background: rgba(255,255,255,0.98);
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.16); z-index: 60;
  }
  body.nav-open .nav-links { display: flex; z-index: 60; }
  .nav-links a { padding: 0.9rem 1rem; }
  .nav-inner {
    position: relative;
    align-items: center;
  }
  .search-box {
    flex-direction: column;
    align-items: stretch;
  }
  .search-box input {
    width: 100%;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .section { padding: 4.25rem 0; }
  .hero { padding: 4rem 0 3rem; }

  .button.btn-mockup-mobile {
    display: inline-flex;
    width: 100%;
  }

  .button.btn-mockup {
    display: none;
  }
}

@media (max-width: 560px) {
  .wrap { width: min(var(--wrap), calc(100% - 1.2rem)); }
  .hero-actions,
  .inline-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .button { width: 100%; }
  .product-media,
  .demo-visual {
    min-height: 250px;
  }

  .button.btn-mockup-mobile {
    display: inline-flex;
  }
  
  .button.btn-mockup {
    display: none;
  }
}

/* Hero: single-column centered layout and wide search bar */
.hero-single .hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  gap: 1rem;
}
.hero-single .hero-content .lede { max-width: 58ch; margin: 0 auto; }
.hero-single h1 { font-size: clamp(2.75rem, 6.5vw, 5.25rem); line-height: 1.02; }
.hero-single .search-wrap { width: 100%; display:flex; flex-direction:column; align-items:center; gap:0.75rem; margin-top:1rem; }
.hero-single .search-box {
  width: 100%;
  max-width: 700px;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.7rem;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15);
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}
.hero-single .search-box input {
  flex: 1;
  height: 56px;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 600;
  padding: 0 1rem;
}
.hero-single .search-box .button {
  min-height: 56px;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
}
.hero-single .search-wrap .button.ghost { margin-top: 0.25rem; }

@media (max-width: 820px) {
  .hero-single h1 { font-size: clamp(1.6rem, 6vw, 2.25rem); }
  .hero-single .search-box { flex-direction: column; align-items: stretch; padding: 0.6rem; }
  .hero-single .search-box .button { width: 100%; min-height: 52px; }
  .hero-single .search-box input { height: 56px; }
}

/* Typewriter cursor & rotating text styling */
.hero-single .search-box { cursor: pointer; }
.rotating-text {
  flex: 1;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  padding: 1rem;
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rotating-text::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 1.2em;
  background: var(--accent-dark);
  margin-left: 8px;
  vertical-align: middle;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* Navigation: active pill and hover underline animation */
.nav-links a { position: relative; }
.nav-links a:not(.nav-cta) { transition: color 0.3s ease; }

/* underline attaches to the text label so it aligns correctly when nav items are full-width on mobile */
.nav-links a .nav-label { position: relative; display: inline-block; }
.nav-links a .nav-label::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 100%;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.nav-links a:hover:not(.is-active):not(.nav-cta) .nav-label { color: var(--accent-dark); }
.nav-links a:hover:not(.is-active):not(.nav-cta) .nav-label::after { transform: scaleX(1); }

.nav-links a.is-active:not(.nav-cta) {
  background-color: rgba(76, 175, 80, 0.10); /* light green pill */
  color: #2E7D32; /* deep brand green */
  font-weight: 600;
  border-radius: 30px;
  padding: 0.5rem 0.95rem;
  border: 1px solid rgba(46, 125, 50, 0.12);
}
.nav-links a.is-active:not(.nav-cta) .nav-label::after { display: none; }

/* Ensure primary CTA keeps its solid style */
.nav-links .nav-cta { transition: none; }

/* Section alternation and visual hierarchy */
/* Desktop spacing: 120px vertical breathing room */
@media (min-width: 960px) {
  .section { padding: 7.5rem 0; }
}

/* Muted showcase background */
.section--muted { background-color: #e3e3e3 !important; }
.section--muted .wrap { border-radius: 24px; padding: 1.25rem; }
.section--muted .product-card { background: #fff; border-radius: 24px; border: 1px solid rgba(226,232,240,0.95); padding: 1rem; }

/* Services keep white but cards get elevation */
.services { background-color: #ffffff; }
.services .mini-card {
  padding: 40px;
  background: #fff;
  border: 1px solid #E0E0E0;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.services .mini-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

/* CTA banner */
.cta-banner { background-color: #DFF4E8 !important; }
.cta-banner .callout-card { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 2rem; border-radius: 16px; }

/* Button affordance: primary CTA isolation, shadow anchor & micro-interaction */
.button.primary {
  box-shadow: 0 10px 20px rgba(70, 140, 70, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.button.primary:hover { transform: scale(1.05); box-shadow: 0 20px 40px rgba(70,140,70,0.22); }

/* Keep only primary CTAs strongly saturated; avoid using solid brand green elsewhere where possible */
.badge, .eyebrow, .nav-links a { /* leave muted/soft styling as-is */ }

/* Z-pattern helper: reverse two-column sections when needed */
.section--reverse .product-card { grid-template-columns: 1.05fr 0.95fr; }
.section--reverse .product-media { order: 2; }
.section--reverse .product-copy { order: 1; }

/* Footer: soften contrast */
.site-footer {
  background: linear-gradient(180deg, #0f172a, #0b1220);
  color: rgba(203,213,225,0.95); /* soft slate gray */
}
.site-footer img { opacity: 0.9; filter: saturate(0.9) brightness(0.95); }


/* Hero gradient that blends into the muted section below */
.hero {
  background: linear-gradient(180deg, #ffffff 0%, #e3e3e3 100%);
}
