/* Landing page base */
html {
  overflow-x: hidden;
}

body.landing-page {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: 16px;
  line-height: 1.65;
  color: #222;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.landing-page .page-main,
body.landing-page .site-footer,
body.landing-page #contact.main-container {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body.landing-page .pre-footer-banner {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Top green bar — Open Sans only */
body.landing-page #top-bar,
body.landing-page #top-bar a,
body.landing-page #top-bar .top-bar-links,
body.landing-page #top-bar .top-bar-links li {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Main white navbar — Montserrat */
body.landing-page .site-header .site-navigation,
body.landing-page .site-header .site-navigation .nav-link,
body.landing-page .site-header .site-navigation .dropdown-item,
body.landing-page .site-header .site-navigation .navbar-brand {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Top bar — single row on desktop; wraps on small screens so all links stay visible */
.top-bar {
  background-color: #003300;
  color: #ffffff;
  min-height: 35px;
  font-size: 12px;
  font-weight: 600;
}

.top-bar .top-bar-inner {
  min-height: 35px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0.25rem 1rem;
  max-width: 100%;
}

.top-bar .top-bar-links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  max-width: 100%;
}

.top-bar .top-bar-links li {
  flex: 0 0 auto;
}

.top-bar .top-bar-links a {
  color: #ffffff;
  text-decoration: none;
  padding: 0.2rem 10px;
  white-space: nowrap;
  line-height: 1.4;
  display: inline-block;
}

.top-bar .top-bar-links a:hover {
  color: #c8e6c9;
}

@media (max-width: 991px) {
  .top-bar .top-bar-inner {
    justify-content: center;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
  }

  .top-bar .top-bar-links {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 0.2rem;
  }

  .top-bar .top-bar-links a {
    padding: 0.15rem 8px;
    font-size: 11px;
  }
}

/* Main navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: #fff;
}

.site-navigation {
  border-bottom: 1px solid #003300;
  background: #ffffff;
}

.site-navigation .nav-container {
  padding-left: 1rem;
  padding-right: 1rem;
  max-width: 100%;
}

.site-navigation .navbar {
  min-height: 72px;
  align-items: center;
}

.site-navigation .site-logo {
  height: 64px;
  width: 64px;
  display: block;
}

.site-navigation .navbar-toggler {
  border-color: rgba(0, 51, 0, 0.35);
  padding: 0.35rem 0.55rem;
}

.site-navigation .main-menu {
  align-items: center;
  justify-content: flex-end;
}

.site-navigation .main-menu > .nav-item > .nav-link {
  color: #003300 !important;
  font-weight: 700;
  font-size: 14px;
  padding: 0.8rem 0.65rem;
  line-height: 1.2;
  white-space: nowrap;
}

.site-navigation .main-menu > .nav-item > .nav-link:hover,
.site-navigation .main-menu > .nav-item > .nav-link:focus {
  color: #006600 !important;
}

.site-navigation .main-menu > .nav-item > .dropdown-toggle::after {
  margin-left: 0.2em;
  vertical-align: 0.15em;
}

.site-navigation .dropdown-menu {
  border-radius: 0;
  border: 1px solid #e0e0e0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  min-width: 220px;
  margin-top: 0;
}

.site-navigation .dropdown-item {
  font-size: 13px;
  padding: 0.5rem 1rem;
  white-space: normal;
  font-weight: 500;
}

.site-navigation .dropdown-item:hover {
  background-color: #e8f5e9;
  color: #003300;
}

@media (min-width: 992px) {
  .site-navigation .main-menu {
    flex-wrap: wrap;
    row-gap: 0.1rem;
    max-width: 100%;
  }

  .site-navigation .navbar {
    align-items: flex-start;
    padding-top: 0.2rem !important;
    padding-bottom: 0.2rem !important;
  }

  .site-navigation .main-menu > .nav-item > .nav-link {
    font-size: 13.8px;
    padding: 0.6rem 0.58rem;
  }

  .site-navigation .nav-item.dropdown:hover > .dropdown-menu {
    display: block;
  }
}

@media (min-width: 1200px) {
  .site-navigation .main-menu > .nav-item > .nav-link {
    font-size: 14.5px;
    padding: 0.62rem 0.66rem;
  }

  .site-navigation .site-logo {
    height: 72px;
    width: 72px;
  }
}

@media (min-width: 1400px) {
  .site-navigation .main-menu > .nav-item > .nav-link {
    font-size: 15px;
    padding: 0.65rem 0.72rem;
  }
}

@media (max-width: 991px) {
  .site-navigation .site-logo {
    height: 52px;
    width: 52px;
  }

  .site-navigation .navbar {
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  .site-navigation .navbar-brand {
    max-width: calc(100% - 4.5rem);
  }

  .site-navigation .navbar-toggler {
    flex-shrink: 0;
    margin-left: 0.5rem;
    padding: 0.5rem 0.65rem;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    display: inline-flex;
  }

  .site-navigation .navbar-collapse {
    flex-basis: 100%;
    flex-grow: 1;
    max-height: min(70vh, 32rem);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    border-top: 1px solid #e8ebe8;
    margin-top: 0.5rem;
    padding: 0.35rem 0 0.75rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  }

  .site-navigation .main-menu {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
    padding-bottom: 0.5rem;
  }

  .site-navigation .main-menu > .nav-item > .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 0.65rem 0.5rem;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
    white-space: normal;
  }

  .site-navigation .navbar-nav .dropdown-menu {
    position: static;
    float: none;
    width: 100%;
    margin: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: #f3f7f3;
    border-left: 4px solid #003300;
  }

  .site-navigation .dropdown-item {
    padding: 0.65rem 1rem;
    font-size: 0.95rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .site-navigation .nav-item.dropdown.show > .nav-link,
  .site-navigation .nav-item.dropdown .nav-link[aria-expanded='true'] {
    background: rgba(0, 51, 0, 0.06);
  }
}

/* Landing page sections */
.page-main {
  color: #1a1a1a;
}

.page-section {
  padding: 3rem 0;
}

.page-section.alt-bg {
  background-color: #f0f0f0;
}

.page-section.hero-section {
  padding-top: 2.5rem;
  padding-bottom: 3rem;
  background: #ffffff;
}

.hero-lead {
  color: #002200;
  font-size: 1.2rem;
  font-weight: 700;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  white-space: nowrap;
}

.hero-sub {
  color: #111827;
  font-size: 1.0625rem;
  line-height: 1.65;
  max-width: 40rem;
  margin: 0 auto 2rem;
  font-weight: 500;
}

.hero-figure {
  margin: 0 auto;
  max-width: 920px;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 51, 0, 0.12);
}

/* Readable body copy — clearer than default gray-on-white */
.container-narrow {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-readable--emphasis {
  background: linear-gradient(180deg, #f7fbf7 0%, #ffffff 100%);
  border-top: 1px solid rgba(0, 51, 0, 0.08);
  border-bottom: 1px solid rgba(0, 51, 0, 0.06);
}

.section-title-readable {
  color: #002b00;
  font-weight: 700;
  font-size: 1.65rem;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.body-readable {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #111827;
  font-weight: 500;
  margin-bottom: 1rem;
}

/* Stronger than `.page-section p` so key blurbs keep the same color in every section */
.page-main p.body-readable {
  color: #111827;
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.75;
}

.body-readable:last-child {
  margin-bottom: 0;
}

.section-product .body-readable a {
  font-weight: 600;
}

.intro-how {
  max-width: 42rem;
  margin-bottom: 1.75rem;
}

.intro-how-oneline {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: none;
}

@media (min-width: 992px) {
  .intro-how-oneline {
    white-space: nowrap;
  }
}

.section-how-it-works h2 {
  margin-bottom: 0.75rem;
}

.section-figure {
  margin: 0 0 2rem;
  text-align: center;
}

.section-figure img {
  width: 100%;
  height: auto;
  display: inline-block;
  max-width: 960px;
  border-radius: 8px;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.1);
}

.section-figure--how {
  margin-top: 2rem;
  margin-bottom: 0;
}

.section-cta-visual {
  padding-top: 2rem;
  padding-bottom: 3rem;
  background: #fafafa;
}

.section-performance .feature-list li {
  font-size: 1.02rem;
  color: #111827;
  font-weight: 500;
}

.cta-section__text {
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
}

.page-hero-title {
  color: #003300;
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1.35;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .page-hero-title {
    font-size: 2.25rem;
  }
}

.page-section h2 {
  color: #003300;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.page-section h3 {
  color: #003300;
  font-weight: 700;
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.page-section p,
.page-section li {
  font-size: 1rem;
  line-height: 1.7;
  text-align: left;
  color: #1f2937;
  font-weight: 400;
}

.page-section .text-center,
.page-section .lead-text {
  text-align: center;
}

.page-section .lead-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1f2937;
}

.page-section-image {
  padding: 2rem 0;
  background: #f5f5f5;
}

.page-section-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.feature-list {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.feature-list li {
  margin-bottom: 0.5rem;
  color: #111827;
  font-weight: 500;
}

.feature-list li strong {
  color: #0f172a;
  font-weight: 700;
}

.benefits-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 1.5rem;
  max-width: 100%;
}

.benefits-table {
  width: 100%;
  margin-bottom: 0;
  background: #ffffff;
  min-width: 600px;
}

.benefits-table thead th {
  background-color: #003300;
  color: #ffffff;
  font-weight: 600;
  border: 1px solid #002200;
  padding: 0.75rem;
  vertical-align: middle;
}

.benefits-table tbody td {
  border: 1px solid #dee2e6;
  padding: 0.75rem;
  vertical-align: top;
  color: #1f2937;
  font-weight: 500;
}

.benefits-table tbody tr:nth-child(even) {
  background-color: #f8f9fa;
}

@media (max-width: 767.98px) {
  .benefits-table-wrap {
    overflow-x: visible;
    margin-top: 1rem;
  }

  .benefits-table {
    min-width: 0;
    border: none;
    background: transparent;
  }

  .benefits-table thead {
    display: none;
  }

  .benefits-table tbody tr {
    display: block;
    margin-bottom: 1rem;
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
  }

  .benefits-table tbody tr:nth-child(even) {
    background: #ffffff;
  }

  .benefits-table tbody td {
    display: block;
    width: 100%;
    border: none;
    border-bottom: 1px solid #e8ece8;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
  }

  .benefits-table tbody tr td:last-child {
    border-bottom: none;
  }

  .benefits-table tbody td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #003300;
    margin-bottom: 0.35rem;
  }

  .benefits-table tbody td:first-child {
    background: #003300;
    color: #ffffff;
    font-weight: 700;
    padding: 0.75rem 1rem;
  }

  .benefits-table tbody td:first-child::before {
    color: rgba(255, 255, 255, 0.85);
  }
}

.cta-section {
  text-align: center;
}

.cta-section h2 {
  margin-bottom: 1rem;
}

.cta-section p {
  text-align: center;
}

.cta-section .body-readable {
  text-align: center;
}

/* Pre-footer banner */
.pre-footer-banner {
  line-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  display: block;
}

.pre-footer-banner__img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
  margin: 0;
  padding: 0;
}

/* Contact */
#contact.main-container {
  background-color: #e6e6e6;
  padding: 3rem 0;
  scroll-margin-top: 100px;
}

#contact h3 {
  color: #003300;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

#contact label,
#contact .form-feedback {
  color: #111827;
  font-weight: 500;
}

#contact label {
  color: #0f172a;
  font-weight: 600;
}

#contact .form-control {
  border-radius: 0;
  border: 1px solid #ccc;
  font-family: inherit;
}

#contact .btn-submit-contact {
  background-color: #003300;
  color: #ffffff;
  border: none;
  padding: 0.5rem 2rem;
  font-weight: 600;
}

#contact .btn-submit-contact:hover {
  background-color: #004d00;
  color: #ffffff;
}

#contact .form-feedback {
  display: none;
  margin-top: 1rem;
}

#contact .form-feedback.show {
  display: block;
}

.site-footer {
  margin: 0;
  padding: 0;
  border-top: 3px solid #0a4d0a;
}

.site-footer__main {
  background: linear-gradient(180deg, #0a1f0a 0%, #000000 48%);
  color: #e8ece9;
  padding: 2.75rem 0 2.5rem;
}

.site-footer__grid {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.site-footer__brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.01em;
  margin-bottom: 0.85rem;
}

.site-footer__text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(232, 236, 233, 0.92);
  margin-bottom: 0.35rem;
}

.site-footer__text a {
  color: #b8e6bc;
  text-decoration: none;
  border-bottom: 1px solid rgba(184, 230, 188, 0.4);
}

.site-footer__text a:hover {
  color: #d4f7d7;
  border-bottom-color: #d4f7d7;
}

.site-footer__col-contact,
.site-footer__col-links {
  padding-top: 0;
}

.site-footer__links-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.65rem;
}

.site-footer__links li {
  margin-bottom: 0.4rem;
}

.site-footer__links a {
  color: #e8ece9;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}

.site-footer__links a:hover {
  color: #b8e6bc;
}

.site-footer__legal {
  background: #f0f4f1;
  border-top: 1px solid #c8d9cc;
  padding: 0.85rem 0;
}

.site-footer__legal-inner {
  text-align: center;
  font-size: 0.875rem;
  color: #3d5242;
}

.site-footer__legal-inner a {
  color: #005500;
  font-weight: 600;
}

.site-footer__legal-inner a:hover {
  color: #003300;
}

@media (max-width: 768px) {
  .page-section {
    padding: 2rem 0;
  }

  .hero-lead {
    white-space: normal;
  }

  .site-footer__col-contact,
  .site-footer__col-links {
    padding-top: 1.5rem;
  }

  .section-title-readable {
    font-size: 1.45rem;
  }
}
