:root {
  --green-900: #0a3a2c;
  --green-800: #0f5942;
  --green-700: #0f9d68;
  --green-600: #28b879;
  --green-500: #41c88d;
  --green-100: #e8f7ef;
  --green-050: #f4fbf7;
  --emerald-ink: #123127;
  --text-primary: #13261f;
  --text-secondary: #5f746b;
  --border-soft: rgba(16, 74, 54, 0.12);
  --surface: #ffffff;
  --surface-muted: rgba(255, 255, 255, 0.9);
  --shadow-soft: 0 20px 60px rgba(16, 33, 28, 0.08);
  --shadow-lift: 0 26px 80px rgba(14, 82, 58, 0.16);
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-primary);
  font-family: Aptos, "Segoe UI", "Trebuchet MS", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(65, 200, 141, 0.18), transparent 30%),
    radial-gradient(circle at top right, rgba(15, 157, 104, 0.1), transparent 24%),
    linear-gradient(180deg, #f8fcf9 0%, #f5faf7 22%, #f7faf8 100%);
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.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;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 18px 0;
  backdrop-filter: blur(18px);
  background: rgba(248, 252, 249, 0.78);
  border-bottom: 1px solid transparent;
}

.site-header-solid {
  background: rgba(248, 252, 249, 0.95);
  border-bottom-color: rgba(16, 74, 54, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand strong {
  display: block;
  font-size: 1.05rem;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.01em;
}

.brand small {
  display: block;
  color: var(--text-secondary);
  font-size: 0.82rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 12px 14px;
  border-radius: 999px;
  color: var(--emerald-ink);
  font-size: 0.95rem;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(15, 157, 104, 0.1);
  color: var(--green-800);
}

.site-nav a:hover {
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(16, 74, 54, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
}

.menu-toggle span:not(.sr-only) {
  width: 18px;
  height: 2px;
  background: var(--green-900);
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  padding: 56px 0 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
  align-items: center;
  gap: 36px;
}

.hero-copy,
.hero-visual,
.topic-card,
.stat-card,
.testimonial-card,
.cta-banner,
.legal-card,
.contact-card,
.contact-form-card,
.blog-card {
  border-radius: var(--radius-lg);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-800);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 700;
}

.hero h1,
.page-hero h1,
.section-heading h2,
.cta-banner h2,
.contact-card h2,
.contact-form-card h2,
.blog-card h2,
.legal-card h2,
.hero-panel h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5.1rem);
  max-width: 11ch;
}

.hero-text,
.section-heading p,
.page-hero p,
.hero-panel p,
.topic-card p,
.testimonial-text,
.cta-banner p,
.footer-copy,
.legal-card p,
.contact-card p,
.blog-card p {
  color: var(--text-secondary);
  line-height: 1.72;
}

.hero-text {
  margin: 20px 0 0;
  font-size: 1.08rem;
  max-width: 58ch;
}

.hero-proof,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(15, 157, 104, 0.24);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(16, 74, 54, 0.14);
  color: var(--green-900);
}

.button-inline {
  min-height: 46px;
  padding: 0 18px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-proof div {
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(16, 74, 54, 0.08);
  box-shadow: var(--shadow-soft);
}

.hero-proof strong,
.stat-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.hero-proof span,
.stat-card span {
  color: var(--text-secondary);
  line-height: 1.6;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.hero-panel {
  position: absolute;
  top: 28px;
  left: 0;
  max-width: 320px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(16, 74, 54, 0.08);
  box-shadow: var(--shadow-lift);
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-panel h2 {
  margin-top: 14px;
  font-size: 1.5rem;
}

.panel-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.panel-list li,
.check-list li {
  position: relative;
  padding-left: 20px;
  color: var(--text-secondary);
}

.panel-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
}

.section {
  padding: 46px 0 92px;
}

.section-tight {
  padding-top: 0;
}

.section-alt {
  position: relative;
}

.section-alt::before {
  content: "";
  position: absolute;
  inset: 40px 0;
  background: linear-gradient(180deg, rgba(232, 247, 239, 0.86), rgba(244, 251, 247, 0.92));
  z-index: -1;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading-left {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.section-heading h2 {
  font-size: clamp(2.1rem, 4vw, 3.5rem);
}

.stats-grid,
.card-grid,
.topic-grid,
.blog-grid {
  display: grid;
  gap: 22px;
}

.stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-card,
.topic-card,
.testimonial-card,
.legal-card,
.contact-card,
.contact-form-card,
.blog-card,
.cta-banner {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.stat-card {
  padding: 26px;
}

.card-grid-three,
.topic-grid,
.blog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.topic-card,
.blog-card {
  padding: 28px;
}

.icon-badge,
.blog-tag,
.contact-label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-800);
  font-weight: 700;
  font-size: 0.82rem;
}

.topic-card h3 {
  margin: 18px 0 10px;
  font-size: 1.28rem;
  font-family: Georgia, "Times New Roman", serif;
}

.article-thumb {
  min-height: 168px;
  border-radius: 22px;
  padding: 18px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  background:
    linear-gradient(140deg, rgba(12, 89, 66, 0.9), rgba(65, 200, 141, 0.55)),
    linear-gradient(180deg, #d7f6e7, #f4fbf7);
}

.article-thumb-soft {
  background:
    linear-gradient(140deg, rgba(40, 184, 121, 0.28), rgba(232, 247, 239, 0.92)),
    linear-gradient(180deg, #f8fcf9, #e8f7ef);
}

.article-thumb-dark {
  background:
    linear-gradient(140deg, rgba(10, 58, 44, 0.96), rgba(15, 157, 104, 0.62)),
    linear-gradient(180deg, #effaf4, #d7f6e7);
}

.why-grid,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: 26px;
  align-items: start;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 14px;
}

.testimonial-card {
  padding: 32px;
}

.quote-mark {
  margin: 0;
  color: var(--green-600);
  font-size: 5rem;
  line-height: 0.8;
  font-family: Georgia, "Times New Roman", serif;
}

.testimonial-text {
  margin-top: 6px;
  font-size: 1.08rem;
}

.testimonial-author strong {
  display: block;
  margin-top: 26px;
}

.testimonial-author span {
  color: var(--text-secondary);
}

.section-cta {
  padding-top: 8px;
}

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 38px;
  background:
    radial-gradient(circle at top right, rgba(65, 200, 141, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(232, 247, 239, 0.96));
}

.cta-banner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-top: 8px;
}

.site-footer {
  padding: 24px 0 34px;
  background: #0b2d22;
  color: rgba(255, 255, 255, 0.9);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(180px, 0.6fr));
  gap: 26px;
  padding: 38px 0;
}

.brand-footer small,
.footer-copy,
.footer-links a,
.footer-links li {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer h3 {
  margin-top: 4px;
  margin-bottom: 14px;
  font-size: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
}

.inner-main {
  padding-bottom: 42px;
}

.page-hero {
  padding: 72px 0 22px;
}

.page-hero .container {
  max-width: 800px;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  margin-top: 8px;
}

.legal-layout {
  display: grid;
}

.legal-card {
  padding: 34px;
}

.legal-card h2 {
  font-size: 1.52rem;
  margin-top: 28px;
  margin-bottom: 10px;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.contact-sidebar {
  display: grid;
  gap: 18px;
}

.contact-card,
.contact-form-card {
  padding: 28px;
}

.contact-card h2 {
  font-size: 1.5rem;
  margin-top: 14px;
}

.contact-form {
  margin-top: 24px;
  display: grid;
  gap: 18px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--emerald-ink);
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(16, 74, 54, 0.12);
  border-radius: 18px;
  padding: 15px 16px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-primary);
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(15, 157, 104, 0.4);
  box-shadow: 0 0 0 4px rgba(15, 157, 104, 0.12);
}

.blog-card h2 {
  margin-top: 18px;
  font-size: 1.5rem;
}

.blog-card a {
  margin-top: 18px;
}

.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.js-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero-grid,
  .why-grid,
  .contact-layout,
  .blog-grid,
  .stats-grid,
  .card-grid-three,
  .topic-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 840px) {
  .site-header {
    padding: 14px 0;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .js-ready .menu-toggle {
    display: inline-flex;
  }

  .js-ready .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(16, 74, 54, 0.12);
    border-radius: 24px;
    box-shadow: var(--shadow-lift);
  }

  .js-ready .site-nav.is-open {
    display: flex;
  }

  .js-ready .site-nav a {
    width: 100%;
  }

  .hero {
    padding-top: 30px;
  }

  .hero-grid,
  .why-grid,
  .contact-layout,
  .blog-grid,
  .stats-grid,
  .card-grid-three,
  .topic-grid,
  .field-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
    padding-top: 22px;
  }

  .hero-panel {
    position: relative;
    top: 0;
    left: 0;
    max-width: none;
    margin-bottom: 20px;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .section {
    padding-bottom: 72px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .hero h1 {
    max-width: none;
  }

  .button {
    width: 100%;
  }

  .cta-actions {
    flex-direction: column;
  }

  .stat-card,
  .topic-card,
  .blog-card,
  .testimonial-card,
  .legal-card,
  .contact-card,
  .contact-form-card,
  .cta-banner {
    padding: 22px;
  }
}
