@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Sora:wght@500;600;700;800&display=swap");

:root {
  --theme-ink: #1d2b24;
  --theme-text: #3e4f46;
  --theme-muted: #6f8077;
  --theme-surface: #ffffff;
  --theme-surface-soft: #f7f8f4;
  --theme-line: #dde4dc;
  --theme-line-strong: #cfd8cf;
  --theme-accent: #00A62A;
  --theme-accent-dark: #00A62A;
  --theme-shadow: none;
  --page-gutter: 1.5rem;
  --space-shell: 1.2rem;
  --space-card: 1.15rem;
  --space-compact: 0.95rem;
}

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  color: var(--theme-text) !important;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.brand,
.site-brand,
.site-menu a,
.section-label,
.eyebrow {
  font-family: "Sora", "Plus Jakarta Sans", sans-serif !important;
}

h1,
h2,
h3,
h4 {
  color: var(--theme-ink) !important;
  letter-spacing: -0.045em !important;
  line-height: 1.02 !important;
}

p,
li,
small,
span,
a,
.btn,
.footer-col a,
.site-footer-col a {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif !important;
}

.site-header,
header {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(15, 36, 23, 0.08) !important;
}

.site-nav,
.nav {
  min-height: 78px !important;
}

.site-menu a,
.menu a {
  color: #213128 !important;
  font-size: 0.86rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
}

.site-menu a:hover,
.menu a:hover,
.menu a.active {
  color: var(--theme-accent) !important;
}

.dropdown {
  border-color: rgba(15, 36, 23, 0.09) !important;
  border-radius: 16px !important;
  box-shadow: none !important;
}

.dropdown a:hover {
  background: #f1f4ee !important;
}

.btn {
  border-radius: 999px !important;
  padding: 0.8rem 1.2rem !important;
  font-size: 0.88rem !important;
}

.btn-primary {
  background: var(--theme-accent-dark) !important;
  border-color: var(--theme-accent-dark) !important;
  color: #fff !important;
}

.btn-outline {
  border-color: rgba(15, 36, 23, 0.14) !important;
  background: rgba(255, 255, 255, 0.82) !important;
  color: var(--theme-ink) !important;
}

.site-footer,
footer {
  background: linear-gradient(180deg, #fcfcfa 0%, #f4f6f1 100%) !important;
  border-top: 1px solid rgba(15, 36, 23, 0.08) !important;
}

.site-footer-col h4,
.footer-col h4 {
  font-family: "Sora", "Plus Jakarta Sans", sans-serif !important;
  color: var(--theme-ink) !important;
  letter-spacing: -0.03em;
}

.site-footer-col a,
.site-footer-col li,
.site-footer-col p,
.footer-col a,
.footer-col li,
.footer-col p,
.site-footer-note,
.footer-note,
.site-regulatory p {
  color: var(--theme-muted) !important;
}

.social-links a {
  border-color: rgba(15, 36, 23, 0.12) !important;
  background: rgba(255, 255, 255, 0.8) !important;
}

.social-links a:hover {
  color: var(--theme-accent) !important;
  border-color: rgba(0, 166, 42, 0.24) !important;
}

body > main {
  width: min(1180px, calc(100vw - (var(--page-gutter) * 2)));
  margin: 0 auto;
}

body > main > .hero {
  width: 100% !important;
  margin: 0 auto 1.15rem !important;
  padding: 3rem 0 1rem !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.04fr) minmax(280px, 0.96fr);
  gap: 1rem !important;
  align-items: stretch !important;
}

body > main > .hero > div:first-child,
body > main > .hero > .container,
body > main > .hero > aside,
body > main > .hero > .sidebar,
body > main > .hero + .grid,
body > main > .hero + .posts,
body > main > .hero + .panel,
body > main > .hero + section,
.section,
.panel,
.paper,
.doc,
.content,
.support-grid,
.faq-wrap > .container,
.posts,
.grid,
.cta-wrap {
  border: 1px solid rgba(15, 36, 23, 0.08);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: none !important;
}

body > main > .hero > div:first-child,
body > main > .hero > .container,
body > main > .hero > .sidebar,
body > main > .hero > aside {
  padding: calc(var(--space-shell) + 0.3rem) !important;
  background:
    linear-gradient(135deg, rgba(0, 166, 42, 0.1), rgba(255, 255, 255, 0.72) 55%),
    rgba(255, 255, 255, 0.92);
}

body > main > .hero h1 {
  max-width: 12ch;
  font-size: clamp(2.35rem, 5vw, 4.25rem) !important;
  margin-bottom: 0.8rem !important;
}

body > main > .hero p,
.lead {
  color: var(--theme-text) !important;
  font-size: 1rem !important;
  max-width: 58ch;
}

body > main > .hero .hero-media,
body > main > .hero > div:last-child:not(:first-child) {
  min-height: 320px;
  border: 1px solid rgba(15, 36, 23, 0.08);
  border-radius: 30px;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(29, 43, 36, 0.03), rgba(0, 166, 42, 0.08)),
    rgba(255, 255, 255, 0.9);
}

body > main > .hero .hero-media img,
body > main > .hero > div:last-child img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.grid,
.people-grid,
.posts,
.support-grid,
.split {
  display: grid !important;
  gap: 1rem !important;
  padding: var(--space-compact) !important;
  margin: 0 auto 1.15rem !important;
  align-items: stretch !important;
}

.grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.posts { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.people-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.support-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.split { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }

.card,
.item-card,
.post,
.person-card,
.support-card,
.faq-item,
.block,
.paper .block,
.doc .panel,
.content .section,
.sidebar,
.alert {
  border: 1px solid rgba(15, 36, 23, 0.08) !important;
  border-radius: 24px !important;
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: none !important;
  display: grid !important;
  align-content: start !important;
  gap: 0.65rem !important;
  min-height: 100% !important;
}

.grid > *,
.people-grid > *,
.posts > *,
.support-grid > *,
.split > * {
  height: 100% !important;
}

.card,
.item-card,
.post,
.support-card,
.faq-item,
.block,
.content .section,
.doc .panel {
  padding: var(--space-card) !important;
}

.card h2,
.item-card h3,
.post h2,
.support-card h3,
.faq-item h3,
.block h2,
.block h3,
.content .section h3,
.doc .panel h3 {
  margin-bottom: 0.45rem !important;
  font-size: clamp(1.15rem, 2vw, 1.6rem) !important;
}

.card p,
.item-card p,
.post p,
.support-card p,
.faq-item p,
.block p,
.content .section p,
.doc .panel p,
.doc .panel li,
.content .section li {
  color: var(--theme-text) !important;
}

.card ul,
.item-card ul,
.doc .panel ul,
.content .section ul {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.card li,
.item-card li,
.doc .panel li,
.content .section li {
  padding: 0.7rem 0.8rem;
  border-radius: 14px;
  background: #f3f5ef;
  font-size: 0.9rem;
}

.card li::before,
.item-card li::before {
  color: var(--theme-accent) !important;
}

.cta-wrap {
  padding: calc(var(--space-shell) + 0.1rem) !important;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem !important;
  background:
    linear-gradient(135deg, rgba(0, 166, 42, 0.1), rgba(255, 255, 255, 0.78) 55%),
    rgba(255, 255, 255, 0.92) !important;
}

.cta-wrap p {
  max-width: 48ch;
  color: var(--theme-ink) !important;
  font-family: "Sora", "Plus Jakarta Sans", sans-serif !important;
  font-size: clamp(1.15rem, 2.4vw, 1.8rem) !important;
  letter-spacing: -0.04em;
}

.cta-wrap .btn-secondary,
.btn-secondary {
  border: 1px solid rgba(15, 36, 23, 0.14) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.84) !important;
  color: var(--theme-ink) !important;
  text-decoration: none !important;
}

.panel,
.paper,
.doc,
.content {
  padding: var(--space-shell) !important;
  margin: 0 auto 1.15rem !important;
}

.layout,
.grid .layout,
.wrap .grid,
.grid .paper,
.grid .doc,
.grid .content,
.grid .sidebar {
  gap: 1rem !important;
}

.sidebar,
.toc {
  padding: 1rem !important;
  position: sticky;
  top: 6rem;
  align-self: start;
}

.sidebar a,
.toc a {
  color: var(--theme-text) !important;
}

.paper,
.doc,
.content {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 250, 244, 0.96)) !important;
}

.faq-wrap {
  margin-bottom: 2rem !important;
}

.faq-wrap > .container {
  padding: var(--space-shell) !important;
}

.faq-wrap h2,
.panel h2,
.section h2 {
  margin-bottom: 0.8rem !important;
}

.alert {
  background: #f4f7f1 !important;
  border-color: rgba(0, 166, 42, 0.2) !important;
}

.photo-placeholder {
  background: linear-gradient(180deg, #fafbf8 0%, #eff3ec 100%) !important;
}

.site-footer-brand p {
  max-width: 34ch;
  color: var(--theme-muted) !important;
  margin-bottom: 0.8rem;
}

.wrap {
  width: min(1100px, calc(100vw - (var(--page-gutter) * 2))) !important;
  margin: 0 auto 2rem !important;
  padding: 1rem 0 1.75rem !important;
  overflow-x: clip;
}

.wrap > .grid,
.wrap > .layout {
  display: grid !important;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr) !important;
  gap: 1rem !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.wrap > .grid > .paper,
.wrap > .grid > .doc,
.wrap > .layout > .content,
.wrap > .grid > .toc,
.wrap > .grid > .navpanel,
.wrap > .layout > .sidebar {
  min-width: 0 !important;
  width: 100% !important;
  margin: 0 !important;
}

.wrap > .grid > .paper,
.wrap > .grid > .doc,
.wrap > .layout > .content {
  padding: var(--space-shell) !important;
  border: 1px solid rgba(15, 36, 23, 0.08) !important;
  border-radius: 28px !important;
  background: rgba(255, 255, 255, 0.94) !important;
}

.wrap > .grid > .toc,
.wrap > .grid > .navpanel,
.wrap > .layout > .sidebar {
  padding: calc(var(--space-compact) + 0.05rem) !important;
  border: 1px solid rgba(15, 36, 23, 0.08) !important;
  border-radius: 24px !important;
  background: rgba(255, 255, 255, 0.92) !important;
  position: sticky !important;
  top: 6rem !important;
  align-self: start !important;
}

.layout > .sidebar {
  min-height: 0 !important;
  height: auto !important;
  align-self: start !important;
  position: sticky !important;
  top: 96px !important;
}

.wrap .paper .block,
.wrap .doc .panel,
.wrap .content .section {
  min-width: 0 !important;
  overflow: hidden !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}

@media (max-width: 980px) {
  :root {
    --page-gutter: 1.1rem;
    --space-shell: 1rem;
    --space-card: 1rem;
    --space-compact: 0.85rem;
  }

  body > main > .hero,
  .grid,
  .posts,
  .support-grid,
  .split,
  .people-grid {
    grid-template-columns: 1fr !important;
  }

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

  .sidebar,
  .toc {
    position: static;
  }

  .wrap > .grid,
  .wrap > .layout {
    grid-template-columns: 1fr !important;
  }

  .wrap > .grid > .toc,
  .wrap > .grid > .navpanel,
  .wrap > .layout > .sidebar {
    position: static !important;
    top: auto !important;
  }
}

@media (max-width: 640px) {
  :root {
    --page-gutter: 0.75rem;
    --space-shell: 0.9rem;
    --space-card: 0.9rem;
    --space-compact: 0.78rem;
  }

  body > main > .hero {
    padding: 2.2rem 0 0.8rem !important;
    gap: 0.8rem !important;
  }

  .grid,
  .people-grid,
  .posts,
  .support-grid,
  .split,
  .cta-wrap,
  .panel,
  .paper,
  .doc,
  .content,
  .faq-wrap > .container {
    margin-bottom: 0.9rem !important;
  }

  .grid,
  .people-grid,
  .posts,
  .support-grid,
  .split {
    gap: 0.8rem !important;
    padding: var(--space-compact) !important;
  }

  .cta-wrap {
    padding: var(--space-shell) !important;
    gap: 0.8rem !important;
  }
}
