/* Tri-Town Revival Currency Ecosystem shared navigation */
:root{--eco-green:#059669;--eco-green-dark:#047857;--eco-deep:#052e24;--eco-light:#ecfdf5;--eco-border:#dbe6e2;--eco-text:#0f172a;--eco-muted:#64748b;--eco-gold:#b7791f}
.ecosystem-header{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.98);border-bottom:1px solid var(--eco-border);backdrop-filter:blur(14px);box-shadow:0 8px 30px rgba(15,23,42,.04)}
.ecosystem-nav-shell{width:min(82rem,calc(100% - 2rem));min-height:76px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:1rem;position:relative}
.ecosystem-brand{display:flex;align-items:center;gap:.72rem;text-decoration:none;color:#065f46;min-width:0}
.ecosystem-brand-mark{width:46px;height:46px;border-radius:50%;overflow:hidden;flex:0 0 auto;background:#fff;border:1px solid #a7f3d0;box-shadow:0 7px 20px rgba(5,46,36,.11)}
.ecosystem-brand-mark img{width:100%;height:100%;object-fit:cover;display:block}
.ecosystem-brand-copy{display:flex;flex-direction:column;line-height:1.05;min-width:0}
.ecosystem-brand-copy strong{font-size:1.03rem;letter-spacing:-.02em;white-space:nowrap}
.ecosystem-brand-copy small{margin-top:.28rem;color:#64748b;font-size:.66rem;font-weight:850;letter-spacing:.09em;text-transform:uppercase;white-space:nowrap}
.ecosystem-menu{display:flex;align-items:center;gap:.15rem;font-size:.84rem;font-weight:850}
.ecosystem-menu>a,.ecosystem-dropdown-toggle{border:0;background:transparent;color:#334155;text-decoration:none;font:inherit;cursor:pointer;padding:.68rem .7rem;border-radius:.68rem;white-space:nowrap;display:inline-flex;align-items:center;gap:.3rem}
.ecosystem-menu>a:hover,.ecosystem-dropdown-toggle:hover,.ecosystem-menu>a[aria-current="page"],.ecosystem-dropdown.active>.ecosystem-dropdown-toggle{background:var(--eco-light);color:#065f46}
.ecosystem-menu .ecosystem-buy{background:var(--eco-green);color:#fff!important;margin-left:.18rem;padding:.68rem .85rem}
.ecosystem-menu .ecosystem-buy:hover,.ecosystem-menu .ecosystem-buy[aria-current="page"]{background:var(--eco-green-dark);color:#fff}
.ecosystem-dropdown{position:relative}
.ecosystem-dropdown-menu{position:absolute;top:calc(100% + .55rem);left:0;min-width:245px;background:#fff;border:1px solid var(--eco-border);border-radius:.9rem;padding:.45rem;box-shadow:0 18px 45px rgba(15,23,42,.14);display:none}
.ecosystem-dropdown:last-child .ecosystem-dropdown-menu{left:auto;right:0}
.ecosystem-dropdown.open>.ecosystem-dropdown-menu{display:grid}
.ecosystem-dropdown-menu a{display:flex;flex-direction:column;gap:.15rem;padding:.72rem .78rem;border-radius:.65rem;text-decoration:none;color:#1e293b}
.ecosystem-dropdown-menu a:hover,.ecosystem-dropdown-menu a[aria-current="page"]{background:#f0fdf4;color:#065f46}
.ecosystem-dropdown-menu a strong{font-size:.86rem}.ecosystem-dropdown-menu a span{font-size:.7rem;color:#64748b;font-weight:650;line-height:1.35}
.ecosystem-menu-toggle{display:none;width:44px;height:44px;border:1px solid var(--eco-border);border-radius:.75rem;background:#fff;color:#0f172a;align-items:center;justify-content:center;cursor:pointer;padding:0}
.ecosystem-menu-toggle span,.ecosystem-menu-toggle span:before,.ecosystem-menu-toggle span:after{display:block;width:20px;height:2px;background:currentColor;border-radius:3px;position:relative;content:"";transition:.2s}
.ecosystem-menu-toggle span:before{position:absolute;top:-6px}.ecosystem-menu-toggle span:after{position:absolute;top:6px}
.ecosystem-menu-toggle[aria-expanded="true"] span{background:transparent}.ecosystem-menu-toggle[aria-expanded="true"] span:before{top:0;transform:rotate(45deg)}.ecosystem-menu-toggle[aria-expanded="true"] span:after{top:0;transform:rotate(-45deg)}
.ecosystem-launchbar{background:var(--eco-deep);color:#d1fae5;border-bottom:1px solid rgba(167,243,208,.2)}
.ecosystem-launchbar-inner{width:min(82rem,calc(100% - 2rem));margin:auto;min-height:34px;display:flex;align-items:center;justify-content:center;gap:.55rem;text-align:center;font-size:.72rem;font-weight:800;letter-spacing:.015em}
.ecosystem-launch-dot{width:7px;height:7px;background:#34d399;border-radius:50%;box-shadow:0 0 0 4px rgba(52,211,153,.12)}
.ecosystem-footer{margin-top:4rem;background:#052e24;color:#d1fae5;border-top:1px solid rgba(167,243,208,.22)}
.ecosystem-footer-inner{width:min(82rem,calc(100% - 2rem));margin:auto;padding:2.5rem 0 1.4rem;display:grid;grid-template-columns:1.8fr 1fr 1fr 1fr;gap:2rem}
.ecosystem-footer-brand{display:flex;align-items:center;gap:.75rem;margin-bottom:.8rem}.ecosystem-footer-brand img{width:44px;height:44px;border-radius:50%;background:#fff}.ecosystem-footer-brand strong{font-size:1rem}
.ecosystem-footer p{color:#a7c7bc;font-size:.8rem;line-height:1.65;max-width:24rem;margin:.4rem 0}
.ecosystem-footer h3{font-size:.73rem;text-transform:uppercase;letter-spacing:.1em;color:#6ee7b7;margin:.15rem 0 .7rem}
.ecosystem-footer-links{display:grid;gap:.42rem}.ecosystem-footer-links a{color:#e7f8f2;text-decoration:none;font-size:.8rem}.ecosystem-footer-links a:hover{text-decoration:underline;color:#fff}
.ecosystem-footer-bottom{width:min(82rem,calc(100% - 2rem));margin:auto;padding:1rem 0 1.6rem;border-top:1px solid rgba(167,243,208,.15);display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;color:#87aa9f;font-size:.72rem}
.ecosystem-breadcrumb{width:min(72rem,calc(100% - 2rem));margin:1rem auto 0;font-size:.74rem;color:#64748b}.ecosystem-breadcrumb a{color:#047857;text-decoration:none;font-weight:750}.ecosystem-breadcrumb span{margin:0 .4rem;color:#94a3b8}
@media(min-width:901px){.ecosystem-dropdown:hover>.ecosystem-dropdown-menu{display:grid}}
@media(max-width:1080px) and (min-width:901px){.ecosystem-brand-copy small{display:none}.ecosystem-menu{font-size:.78rem}.ecosystem-menu>a,.ecosystem-dropdown-toggle{padding:.62rem .52rem}}
@media(max-width:900px){
  .ecosystem-nav-shell{min-height:68px;width:min(100% - 1.25rem,82rem)}
  .ecosystem-brand-mark{width:42px;height:42px}.ecosystem-brand-copy strong{font-size:.98rem}.ecosystem-brand-copy small{font-size:.6rem}
  .ecosystem-menu-toggle{display:inline-flex;flex:0 0 auto}
  .ecosystem-menu{display:none;position:absolute;top:100%;left:-.625rem;right:-.625rem;background:#fff;border-top:1px solid var(--eco-border);border-bottom:1px solid var(--eco-border);box-shadow:0 20px 35px rgba(15,23,42,.13);padding:.65rem;flex-direction:column;align-items:stretch;gap:.15rem;max-height:calc(100vh - 102px);overflow:auto}
  .ecosystem-menu.open{display:flex}
  .ecosystem-menu>a,.ecosystem-dropdown-toggle{width:100%;justify-content:space-between;padding:.78rem .85rem;border-radius:.7rem}
  .ecosystem-menu .ecosystem-buy{margin:.3rem 0 0;justify-content:center}
  .ecosystem-dropdown{width:100%}
  .ecosystem-dropdown-menu,.ecosystem-dropdown:last-child .ecosystem-dropdown-menu{position:static;min-width:0;margin:.1rem .35rem .35rem;padding:.3rem;background:#f8fafc;box-shadow:none;border-radius:.7rem;display:none}
  .ecosystem-dropdown.open>.ecosystem-dropdown-menu{display:grid}
  .ecosystem-dropdown-menu a{padding:.65rem .7rem}
  .ecosystem-launchbar-inner{font-size:.67rem;min-height:32px}
  .ecosystem-footer-inner{grid-template-columns:1fr 1fr;gap:1.6rem}.ecosystem-footer-inner>div:first-child{grid-column:1/-1}
}
@media(max-width:520px){
  .ecosystem-brand-copy strong{font-size:.92rem}.ecosystem-brand-copy small{display:none}
  .ecosystem-footer-inner{grid-template-columns:1fr}.ecosystem-footer-inner>div:first-child{grid-column:auto}
  .ecosystem-footer-bottom{flex-direction:column}
}
