:root {
  --bg: #052f1c;
  --bg-deep: #031b11;
  --surface: #f4fff7;
  --surface-soft: #e1f8e8;
  --surface-strong: #ffffff;
  --text: #0c2015;
  --muted: #4e6b5a;
  --green: #1fbf63;
  --green-dark: #0b6b38;
  --lime: #c6f36a;
  --gold: #f6c85f;
  --line: rgba(12, 32, 21, 0.14);
  --shadow: 0 24px 60px rgba(3, 27, 17, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: #dff8e6;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0 0 0.7rem 0.7rem;
  background: rgba(5, 47, 28, 0.94);
  box-shadow: 0 18px 40px rgba(3, 27, 17, 0.16);
  color: #f6fff8;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: "Outfit", sans-serif;
  font-weight: 800;
}

.brand-mark {
  width: 2.7rem;
  height: 2.7rem;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 0.45rem;
  background: var(--lime);
  color: var(--bg-deep);
}

.brand-name {
  font-size: 1.08rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4rem;
}

.nav-links a {
  padding: 0.65rem 0.85rem;
  border-radius: 0.45rem;
  color: rgba(246, 255, 248, 0.78);
  font-size: 0.94rem;
  font-weight: 800;
}

.nav-links a.active,
.nav-links a:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.hero,
.subhero {
  color: #f6fff8;
  padding: 2.5rem 0 3.5rem;
  background:
    linear-gradient(115deg, rgba(198, 243, 106, 0.18) 0 20%, transparent 20% 100%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
}

.hero-grid,
.subhero-grid,
.section-inner,
.site-footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.78fr);
  gap: 2rem;
  align-items: end;
  min-height: 28rem;
}

.subhero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Outfit", sans-serif;
  letter-spacing: 0;
  line-height: 1;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3rem, 7vw, 6.8rem);
}

.subhero h1 {
  max-width: 12ch;
  font-size: clamp(2.5rem, 5vw, 5.4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
  font-size: 1.35rem;
}

.lead,
.subhero p,
.feature-row p,
.content-card p,
.pricing-card p,
.demo-body p,
.contact-card p,
.legal-card p,
.signal-list li,
.timeline li {
  color: var(--muted);
  line-height: 1.72;
}

.hero .lead,
.subhero p {
  max-width: 42rem;
  color: rgba(246, 255, 248, 0.76);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0 1.2rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  font-weight: 900;
}

.button-primary {
  background: var(--lime);
  color: var(--bg-deep);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.18);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.button-muted {
  border-color: var(--line);
  color: var(--green-dark);
}

.hero-panel,
.subhero-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 1rem;
}

.subhero-panel {
  padding: 0.85rem;
}

.svg-art {
  display: block;
  width: 100%;
  height: auto;
}

.dispatch-board {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  margin-top: 1rem;
  border-radius: 0.55rem;
  background: #f6fff8;
  color: var(--text);
}

.dispatch-row,
.metric-strip,
.section-split,
.pricing-grid,
.contact-grid,
.footer-links,
.tab-row,
.output-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.dispatch-row {
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
}

.dispatch-row strong {
  display: block;
}

.dispatch-row span {
  color: var(--muted);
  font-size: 0.9rem;
}

.metric-strip {
  margin-top: 2rem;
}

.metric {
  flex: 1 1 11rem;
  padding: 1rem;
  border-left: 3px solid var(--lime);
  background: rgba(255, 255, 255, 0.11);
}

.metric strong {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 1.8rem;
}

.section {
  padding: 4rem 0;
}

.section.alt {
  background: rgba(255, 255, 255, 0.36);
}

.section-head {
  max-width: 650px;
  margin-bottom: 1.6rem;
}

.section-head .eyebrow {
  color: var(--green-dark);
}

.section-split {
  align-items: stretch;
}

.feature-row {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr) minmax(260px, 0.7fr);
  gap: 1.2rem;
  align-items: start;
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
}

.feature-number,
.tag,
.price-label,
.demo-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 0.38rem 0.7rem;
  background: var(--surface-soft);
  color: var(--green-dark);
  font-weight: 900;
}

.signal-list,
.detail-list,
.timeline {
  margin: 0;
  padding-left: 1.1rem;
}

.signal-list li,
.detail-list li,
.timeline li {
  margin: 0.5rem 0;
}

.content-card,
.pricing-card,
.summary-card,
.interactive-card,
.contact-card,
.legal-card {
  flex: 1 1 260px;
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.content-card {
  min-height: 13rem;
}

.content-card h3,
.pricing-card h2,
.demo-body h3,
.contact-card h2,
.legal-card h2 {
  margin: 0.7rem 0;
}

.cta-band {
  background: var(--bg-deep);
  color: #f6fff8;
}

.cta-band .section-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-band p {
  max-width: 34rem;
  color: rgba(246, 255, 248, 0.72);
  line-height: 1.7;
}

.pricing-grid {
  align-items: stretch;
}

.pricing-card.featured {
  border-color: rgba(31, 191, 99, 0.4);
  background: linear-gradient(180deg, #ffffff 0%, #edfff2 100%);
}

.pricing-card h2 span {
  color: var(--muted);
  font-size: 1rem;
}

.demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: 1rem;
  align-items: stretch;
}

.output-badges span,
.tab-button {
  border-radius: 0.45rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--green-dark);
  font-weight: 900;
}

.tab-button {
  cursor: pointer;
}

.tab-button.active {
  background: var(--green-dark);
  color: #ffffff;
}

.demo-image-wrap {
  margin: 1rem 0;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: #f7fff9;
}

.demo-body {
  padding: 1rem;
  border-radius: 0.55rem;
  background: var(--surface-soft);
}

.contact-grid {
  align-items: flex-start;
}

.contact-card {
  max-width: 390px;
}

.contact-form {
  flex: 1 1 420px;
  display: grid;
  gap: 1rem;
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  background: #f8fff9;
  color: var(--text);
}

.legal-card {
  max-width: 880px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0 2rem;
}

.footer-links a {
  color: var(--green-dark);
  font-weight: 800;
}

.footer-links a.active,
.footer-links a:hover {
  color: var(--text);
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 920px) {
  .topbar {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero-grid,
  .subhero-grid,
  .demo-grid,
  .feature-row {
    grid-template-columns: 1fr;
  }

  h1,
  .subhero h1 {
    max-width: none;
  }

  .cta-band .section-inner,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .hero,
  .subhero {
    padding: 1.5rem 0 2.5rem;
  }

  .nav-links a {
    padding: 0.55rem 0.6rem;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 3.4rem);
  }

  .section {
    padding: 3rem 0;
  }
}
