:root {
  --ec-green: #6b8e62;
  --ec-green-dark: #4e6b47;
  --ec-sage: #a8c49a;
  --ec-bg: #fafbf8;
  --ec-text: #243024;
  --ec-muted: #667066;
  --ec-surface: #ffffff;
  --ec-surface-warm: #f3f6ef;
  --ec-border: #dde6d7;
  --ec-border-strong: #c6d5bf;
  --ec-oak: #b58a5a;
  --ec-oak-dark: #8a6842;
  --ec-focus: #2f5f36;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--ec-bg);
  color: var(--ec-text);
  font-family: Inter, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

img,
svg {
  max-width: 100%;
}

.ec-brand-logo {
  display: block;
  height: auto;
  max-width: min(212px, 54vw);
}

.ec-nav-toggle {
  background: #fff;
  border-color: var(--ec-border-strong);
  color: var(--ec-green-dark);
}

.ec-nav-toggle:hover {
  border-color: var(--ec-green);
}

.ec-nav-toggle-line {
  background: var(--ec-green-dark);
  border-radius: 999px;
}

.ec-footer-logo {
  display: block;
  height: auto;
  max-width: 220px;
}

:focus-visible {
  outline: 3px solid var(--ec-focus);
  outline-offset: 3px;
}

.ec-skip-link {
  background: var(--ec-green-dark);
  color: #fff;
  left: 1rem;
  padding: 0.75rem 1rem;
  position: fixed;
  top: 1rem;
  transform: translateY(-150%);
  z-index: 100;
}

.ec-skip-link:focus {
  transform: translateY(0);
}

.ec-container,
.ec-container-narrow,
.ec-container-wide {
  margin-inline: auto;
  padding-inline: 1rem;
  width: 100%;
}

.ec-container {
  max-width: 1200px;
}

.ec-container-narrow {
  max-width: 880px;
}

.ec-container-wide {
  max-width: 1360px;
}

@media (min-width: 768px) {
  .ec-container,
  .ec-container-narrow,
  .ec-container-wide {
    padding-inline: 1.5rem;
  }
}

.ec-heading,
.ec-heading-1,
.ec-heading-2,
.ec-heading-3 {
  color: var(--ec-text);
  font-family: Georgia, Cambria, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: 0;
}

.ec-heading-1 {
  font-size: 2.5rem;
  line-height: 1.08;
}

.ec-heading-2 {
  font-size: 2rem;
  line-height: 1.14;
}

.ec-heading-3 {
  font-size: 1.45rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .ec-heading-1 {
    font-size: 3.25rem;
  }

  .ec-heading-2 {
    font-size: 2.5rem;
  }

  .ec-heading-3 {
    font-size: 1.75rem;
  }
}

@media (min-width: 1024px) {
  .ec-heading-1 {
    font-size: 4.25rem;
  }

  .ec-heading-2 {
    font-size: 3.25rem;
  }

  .ec-heading-3 {
    font-size: 2rem;
  }
}

.ec-eyebrow {
  color: var(--ec-green-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ec-lede {
  color: var(--ec-muted);
  font-size: 1.125rem;
  line-height: 1.75;
  max-width: 720px;
}

.ec-section {
  padding-block: 4rem;
}

@media (min-width: 768px) {
  .ec-section {
    padding-block: 5rem;
  }
}

@media (min-width: 1024px) {
  .ec-section {
    padding-block: 6rem;
  }
}

.ec-section-heading {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
  max-width: 760px;
}

.ec-btn {
  align-items: center;
  border-radius: 0.375rem;
  display: inline-flex;
  font-weight: 700;
  gap: 0.5rem;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.2rem;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.ec-btn-primary {
  background: var(--ec-green);
  border: 1px solid var(--ec-green);
  color: #fff;
}

.ec-btn-primary:hover {
  background: var(--ec-green-dark);
  border-color: var(--ec-green-dark);
}

.ec-btn-secondary {
  background: var(--ec-surface);
  border: 1px solid var(--ec-border-strong);
  color: var(--ec-green-dark);
}

.ec-btn-secondary:hover {
  border-color: var(--ec-green);
  color: var(--ec-text);
}

.ec-btn-quiet {
  color: var(--ec-green-dark);
  min-height: 44px;
  padding-inline: 0;
}

.ec-card {
  background: var(--ec-surface);
  border: 1px solid var(--ec-border);
  border-radius: 0.5rem;
  box-shadow: 0 16px 40px rgba(36, 48, 36, 0.04);
  padding: 1.5rem;
}

.ec-card-title {
  color: var(--ec-text);
  font-family: Georgia, Cambria, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.25;
}

.ec-card-copy {
  color: var(--ec-muted);
  margin-top: 0.75rem;
}

.ec-oak-rule {
  background: linear-gradient(90deg, var(--ec-green-dark), var(--ec-oak), transparent);
  height: 2px;
  width: 88px;
}

.ec-surface-band {
  background:
    linear-gradient(90deg, rgba(168, 196, 154, 0.18), transparent 38%),
    var(--ec-surface-warm);
}

.ec-risk-note {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.875rem;
  line-height: 1.6;
}

.ec-site-footer {
  background:
    linear-gradient(135deg, rgba(181, 138, 90, 0.18), transparent 34%),
    var(--ec-green-dark);
  color: #fff;
}

.ec-site-footer-inner {
  padding-block: 3.5rem;
}

.ec-site-footer-grid {
  display: grid;
  gap: 2.5rem;
}

.ec-footer-brand {
  align-items: center;
  background: #fff;
  border-radius: 8px;
  display: inline-flex;
  gap: 0.75rem;
  padding: 0.55rem 0.75rem;
  text-decoration: none;
}

.ec-footer-summary {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  margin-top: 1.25rem;
  max-width: 28rem;
}

.ec-footer-links-grid {
  display: grid;
  gap: 2rem;
}

.ec-footer-heading {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ec-footer-links {
  color: rgba(255, 255, 255, 0.78);
  display: grid;
  font-size: 1rem;
  gap: 0.75rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.ec-footer-links a {
  text-decoration: none;
}

.ec-footer-links a:hover,
.ec-footer-links a:focus-visible {
  color: #fff;
}

.ec-footer-disclosure {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  margin-top: 3rem;
  padding-top: 2rem;
}

.ec-footer-copyright {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.875rem;
  margin-top: 1.25rem;
}

@media (min-width: 640px) {
  .ec-footer-links-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .ec-site-footer-grid {
    grid-template-columns: 1.35fr 2fr;
  }

  .ec-site-footer-inner {
    padding-block: 4rem;
  }
}

.ec-hero {
  background:
    linear-gradient(90deg, rgba(250, 251, 248, 0.98) 0%, rgba(250, 251, 248, 0.9) 42%, rgba(250, 251, 248, 0.5) 100%),
    var(--ec-bg);
  overflow: hidden;
}

.ec-hero-media {
  min-height: 420px;
  position: relative;
}

.ec-hero-media img,
.ec-hero-slide {
  border-radius: 0.5rem;
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.ec-hero-slide {
  opacity: 0;
  transition: opacity 900ms ease;
}

.ec-hero-slide.is-active {
  opacity: 1;
}

.ec-hero-panel {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--ec-border);
  border-radius: 0.5rem;
  box-shadow: 0 18px 50px rgba(36, 48, 36, 0.08);
}

.ec-market-ticker {
  border-block: 1px solid var(--ec-border);
  background: var(--ec-surface);
}

.ec-market-ticker span {
  white-space: nowrap;
}

.ec-subnav {
  background: rgba(255, 255, 255, 0.96);
  border-block: 1px solid var(--ec-border);
  position: sticky;
  top: 80px;
  z-index: 30;
}

.ec-subnav-scroll {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-block: 0.75rem;
  scrollbar-width: thin;
}

.ec-subnav a {
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ec-muted);
  flex: 0 0 auto;
  font-size: 0.9rem;
  font-weight: 800;
  min-height: 44px;
  padding: 0.55rem 0.9rem;
  text-decoration: none;
}

.ec-subnav a:hover,
.ec-subnav a:focus-visible {
  background: var(--ec-surface-warm);
  border-color: var(--ec-border);
  color: var(--ec-text);
}

[aria-current="page"] {
  color: var(--ec-text) !important;
}

header [aria-current="page"] {
  position: relative;
}

header [aria-current="page"]::after {
  background: var(--ec-oak);
  border-radius: 999px;
  bottom: -0.4rem;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  right: 0;
}

.ec-icon-mark {
  align-items: center;
  background: var(--ec-surface-warm);
  border: 1px solid var(--ec-border);
  border-radius: 0.5rem;
  color: var(--ec-green-dark);
  display: inline-flex;
  font-family: Georgia, Cambria, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 700;
  height: 2.75rem;
  justify-content: center;
  width: 2.75rem;
}

.ec-table-wrap {
  overflow-x: auto;
}

.ec-table {
  border-collapse: separate;
  border-spacing: 0;
  min-width: 720px;
  width: 100%;
}

.ec-table th,
.ec-table td {
  border-bottom: 1px solid var(--ec-border);
  padding: 1rem;
  text-align: left;
}

.ec-table th {
  color: var(--ec-text);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ec-table tbody tr:last-child th,
.ec-table tbody tr:last-child td {
  border-bottom: 0;
}

.ec-widget-shell {
  background:
    linear-gradient(135deg, rgba(168, 196, 154, 0.16), transparent 42%),
    #fff;
  border: 1px solid var(--ec-border);
  border-radius: 0.5rem;
  box-shadow: 0 18px 50px rgba(36, 48, 36, 0.05);
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .ec-widget-shell {
    padding: 2rem;
  }
}

.ec-widget-tabs,
.ec-choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.ec-widget-tab,
.ec-choice {
  background: #fff;
  border: 1px solid var(--ec-border-strong);
  border-radius: 999px;
  color: var(--ec-muted);
  font-weight: 800;
  min-height: 44px;
  padding: 0.55rem 0.9rem;
}

.ec-widget-tab:hover,
.ec-choice:hover,
.ec-widget-tab.is-active,
.ec-choice.is-active {
  background: var(--ec-green-dark);
  border-color: var(--ec-green-dark);
  color: #fff;
}

.ec-widget-panel[hidden],
[data-filter-card][hidden] {
  display: none;
}

.ec-tv-shell {
  overflow: hidden;
}

.ec-tv-widget {
  background: #fff;
  border: 1px solid var(--ec-border);
  border-radius: 0.5rem;
  margin-top: 1.5rem;
  min-height: 74px;
  overflow: hidden;
}

.ec-tv-widget .tradingview-widget-container,
.ec-tv-widget .tradingview-widget-container__widget {
  min-height: 74px;
  width: 100%;
}

.ec-accordion {
  background: #fff;
  border: 1px solid var(--ec-border);
  border-radius: 0.5rem;
  overflow: hidden;
}

.ec-accordion-item + .ec-accordion-item {
  border-top: 1px solid var(--ec-border);
}

.ec-accordion-button {
  align-items: center;
  background: #fff;
  color: var(--ec-text);
  display: flex;
  font-family: Georgia, Cambria, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 600;
  gap: 1rem;
  justify-content: space-between;
  min-height: 64px;
  padding: 1.1rem 1.25rem;
  text-align: left;
  width: 100%;
}

.ec-accordion-button:hover {
  background: var(--ec-surface-warm);
}

.ec-accordion-indicator {
  align-items: center;
  border: 1px solid var(--ec-border-strong);
  border-radius: 999px;
  color: var(--ec-green-dark);
  display: inline-flex;
  flex: 0 0 auto;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 1rem;
  height: 2rem;
  justify-content: center;
  width: 2rem;
}

.ec-accordion-panel {
  color: var(--ec-muted);
  padding: 0 1.25rem 1.25rem;
}

.ec-article {
  background: #fff;
}

.ec-article-body {
  color: var(--ec-muted);
  display: grid;
  gap: 1.25rem;
  line-height: 1.85;
}

.ec-article-body h2 {
  color: var(--ec-text);
  font-family: Georgia, Cambria, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.18;
  margin-top: 1rem;
}

.ec-article-body ul {
  display: grid;
  gap: 0.65rem;
  list-style: disc;
  padding-left: 1.25rem;
}

.ec-demo-frame {
  background: #fff;
  border: 1px solid var(--ec-border);
  border-radius: 0.5rem;
  box-shadow: 0 22px 60px rgba(36, 48, 36, 0.08);
  overflow: hidden;
}

.ec-demo-topbar {
  align-items: center;
  background: var(--ec-green-dark);
  color: #fff;
  display: flex;
  justify-content: space-between;
  min-height: 56px;
  padding: 0.75rem 1rem;
}

.ec-demo-body {
  display: grid;
  gap: 1px;
  background: var(--ec-border);
}

.ec-demo-panel {
  background: #fff;
  padding: 1rem;
}

@media (min-width: 1024px) {
  .ec-demo-body {
    grid-template-columns: 0.75fr 1.25fr 0.9fr;
  }
}

.ec-allocation-row {
  display: grid;
  gap: 0.45rem;
}

.ec-allocation-track {
  background: var(--ec-surface-warm);
  border-radius: 999px;
  height: 0.65rem;
  overflow: hidden;
}

.ec-allocation-track span {
  background: linear-gradient(90deg, var(--ec-green-dark), var(--ec-green), var(--ec-sage));
  border-radius: inherit;
  display: block;
  height: 100%;
}

.ec-institutional-band {
  background:
    linear-gradient(135deg, rgba(181, 138, 90, 0.18), transparent 38%),
    var(--ec-green-dark);
  color: #fff;
  padding-block: 4rem;
}

.ec-institutional-band .ec-icon-mark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.ec-institutional-band h2,
.ec-institutional-band h3 {
  color: #fff;
}

.ec-institutional-band p {
  color: rgba(255, 255, 255, 0.76);
}

.ec-form-field {
  display: grid;
  gap: 0.45rem;
}

.ec-form-label {
  color: var(--ec-text);
  font-size: 0.95rem;
  font-weight: 700;
}

.ec-input {
  background: #fff;
  border: 1px solid var(--ec-border-strong);
  border-radius: 0.375rem;
  color: var(--ec-text);
  min-height: 52px;
  padding: 0.8rem 0.95rem;
  width: 100%;
}

.ec-input::placeholder {
  color: #7d867d;
}

.ec-input:focus {
  border-color: var(--ec-green-dark);
}

.ec-process-step {
  border-left: 2px solid var(--ec-sage);
  padding-left: 1.25rem;
  position: relative;
}

.ec-process-step::before {
  background: var(--ec-green-dark);
  border: 4px solid var(--ec-bg);
  border-radius: 999px;
  content: "";
  height: 1rem;
  left: -0.55rem;
  position: absolute;
  top: 0.25rem;
  width: 1rem;
}

.ec-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.ec-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 767px) {
  body {
    font-size: 17px;
  }

  .ec-section {
    padding-block: 3.25rem;
  }

  .ec-hero-media {
    min-height: 360px;
  }

  .ec-hero-panel {
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
  }

  .ec-card,
  .ec-widget-shell {
    padding: 1.25rem;
  }

  .ec-table {
    min-width: 0;
  }

  .ec-table thead {
    display: none;
  }

  .ec-table tr {
    border-bottom: 1px solid var(--ec-border);
    display: grid;
    gap: 0.25rem;
    padding: 1rem;
  }

  .ec-table th,
  .ec-table td {
    border-bottom: 0;
    display: block;
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .ec-reveal {
    opacity: 1;
    transform: none;
  }
}
