/* EcoSystem Inc. — static site styles */
:root {
  --blue: #2098d5;
  --blue-600: #1a86bf;
  --blue-700: #146fa0;
  --green: #8bc63f;
  --green-600: #78b22e;
  --green-50: #f2f9e9;
  --blue-50: #ebf6fc;
  --ink: #0f2233;
  --ink-2: #29415a;
  --muted: #5b6b7a;
  --line: #e2eaf1;
  --bg: #ffffff;
  --bg-soft: #f5f9fc;
  --navy: #0b1d2e;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 34, 51, .06), 0 8px 24px rgba(15, 34, 51, .06);
  --shadow-lg: 0 2px 4px rgba(15, 34, 51, .06), 0 24px 48px rgba(15, 34, 51, .12);
  --container: 1180px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65;
  color: var(--ink-2); background: var(--bg); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 750; }
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); letter-spacing: -0.03em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.narrow { max-width: 760px; }
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section-sm { padding: clamp(48px, 6vw, 72px) 0; }
.soft { background: var(--bg-soft); }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--green-600); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.center .eyebrow::before { display: none; }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 680px; }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); }
.accent { color: var(--blue); }
.accent-g { color: var(--green-600); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px;
  border-radius: 999px; font-weight: 700; font-size: .98rem; text-decoration: none; line-height: 1.2;
  border: 2px solid transparent; transition: transform .15s ease, background .15s ease, box-shadow .15s ease, color .15s ease;
  cursor: pointer; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: var(--navy); box-shadow: 0 6px 18px rgba(139, 198, 63, .35); }
.btn-primary:hover { background: #9bd24f; color: var(--navy); }
.btn-blue { background: var(--blue-700); color: #fff; box-shadow: 0 6px 18px rgba(20, 111, 160, .25); }
.btn-blue:hover { background: var(--blue-600); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue-700); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.center .btn-row { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--blue-700); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .15s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(15, 34, 51, .06); }
.topbar { background: var(--navy); color: #c9d6e2; font-size: .85rem; }
.topbar .container { display: flex; justify-content: flex-end; gap: 22px; padding: 7px 0; }
.topbar a { color: #c9d6e2; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 14px; height: 14px; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 9px 13px; border-radius: 999px;
  transition: background .15s ease, color .15s ease;
}
.nav a:hover { background: var(--blue-50); color: var(--blue-700); }
.nav a[aria-current="page"] { color: var(--blue-700); background: var(--blue-50); }
.nav .btn { margin-left: 10px; padding: 11px 20px; }
.nav .btn:hover { background: #9bd24f; color: var(--navy); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--ink); cursor: pointer; border-radius: 10px; }
.menu-toggle svg { width: 28px; height: 28px; }
.menu-toggle .i-close { display: none; }

@media (max-width: 1060px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line); padding: 10px 20px 22px; box-shadow: 0 20px 30px rgba(15, 34, 51, .08);
    display: none;
  }
  .nav a { padding: 13px 14px; border-radius: 10px; font-size: 1.02rem; }
  .nav .btn { margin: 10px 0 0; }
  .site-header.open .nav { display: flex; }
  .site-header.open .i-menu { display: none; }
  .site-header.open .i-close { display: block; }
  .topbar .hide-sm { display: none; }
}

/* Hero */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--navy); isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(8, 24, 40, .94) 0%, rgba(8, 24, 40, .82) 42%, rgba(8, 24, 40, .35) 100%);
}
.hero .container { padding: clamp(80px, 12vw, 150px) 0 clamp(80px, 11vw, 140px); }
.hero h1 { color: #fff; max-width: 820px; }
.hero .lede { color: #d4e1ec; max-width: 640px; }
.hero .eyebrow { color: var(--green); }
.hero-sm .container { padding: clamp(64px, 9vw, 104px) 0 clamp(56px, 8vw, 88px); }
.hero-sm h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
.crumbs { font-size: .88rem; color: #a9bccd; margin-bottom: 18px; }
.crumbs a { color: #a9bccd; text-decoration: none; }
.crumbs a:hover { color: #fff; }

.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 36px; padding: 0; list-style: none; color: #d4e1ec; font-size: .95rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--green); }

/* Software hero (light) */
.hero-light { background: linear-gradient(180deg, var(--blue-50) 0%, #fff 100%); overflow: hidden; }
.hero-light .container { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px; padding: clamp(64px, 9vw, 110px) 0; }
.hero-light h1 { font-size: clamp(2.7rem, 6.4vw, 5rem); line-height: 1.02; }
.hero-light h1 strong { color: var(--blue); }
.hero-light .art { position: relative; }
.hero-light .art img { width: 100%; max-width: 460px; margin-inline: auto; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero-light .art img { animation: none; } html { scroll-behavior: auto; } }
@media (max-width: 860px) { .hero-light .container { grid-template-columns: 1fr; } .hero-light .art img { max-width: 260px; } }

/* Grids & cards */
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--muted); }
a.card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #cfe3f1; }
a.card .link-arrow { margin-top: auto; padding-top: 18px; }
.icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--blue-50); color: var(--blue-700);
}
.icon svg { width: 26px; height: 26px; }
.icon.g { background: var(--green-50); color: #4d8a17; }
.num { font-size: .85rem; font-weight: 800; letter-spacing: .1em; color: var(--green-600); margin-bottom: 10px; display: block; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.rev > :first-child { order: 2; }
.split-media img { border-radius: 20px; box-shadow: var(--shadow-lg); width: 100%; }
.split-media.plain img { box-shadow: none; border-radius: 0; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }

/* Check list */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks svg { width: 20px; height: 20px; color: var(--green-600); flex: none; margin-top: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li, .chips a {
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: .93rem;
  color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
}
.chips a:hover { border-color: var(--blue); color: var(--blue-700); }
.chips svg { width: 16px; height: 16px; color: var(--blue); }
.chips.states li { font-size: .86rem; padding: 6px 12px; font-weight: 500; }

/* Funding products */
.product { display: grid; grid-template-columns: 340px 1fr; gap: clamp(28px, 4vw, 56px); padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--line); }
.product:first-of-type { border-top: 0; }
.product-media { position: sticky; top: 110px; align-self: start; }
.product-media img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.product .tag { font-size: 1.1rem; color: var(--muted); margin-top: -4px; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 26px 0; }
.fact { background: var(--bg-soft); border-radius: var(--radius-sm); padding: 20px 22px; }
.fact h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--blue-700); margin-bottom: 10px; }
.fact ul { margin: 0; padding-left: 1.1em; }
.fact li { margin-bottom: 4px; font-size: .96rem; }
.soft .fact { background: #fff; border: 1px solid var(--line); }
.fact.good, .soft .fact.good { background: var(--green-50); border-color: #dcefc4; grid-column: 1 / -1; }
.fact.good h4 { color: #4d8a17; }
@media (max-width: 900px) { .product { grid-template-columns: 1fr; } .product-media { position: static; } .product-media img { aspect-ratio: 16 / 9; } }
@media (max-width: 600px) { .facts { grid-template-columns: 1fr; } }

/* Features */
.feature { display: flex; gap: 18px; align-items: flex-start; }
.feature .icon { margin: 0; flex: none; width: 46px; height: 46px; border-radius: 12px; }
.feature .icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.08rem; margin-bottom: .3em; }
.feature p { color: var(--muted); margin: 0; font-size: .97rem; }

/* Quotes */
.quote { background: var(--blue-700); color: #fff; border-radius: var(--radius); padding: 32px; position: relative; box-shadow: var(--shadow-lg); }
.quote blockquote { margin: 0 0 22px; font-size: 1.2rem; line-height: 1.5; font-weight: 500; }
.quote blockquote::before { content: "\201C"; display: block; font-size: 3.6rem; line-height: .7; color: var(--green); font-family: Georgia, serif; margin-bottom: 8px; }
.quote .who { display: flex; align-items: center; gap: 12px; font-size: .92rem; color: #cfe6f5; }
.quote .who strong { color: #fff; display: block; font-size: 1rem; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .9rem;
  background: var(--green); color: var(--navy); flex: none;
}

/* Devices */
.devices { position: relative; }
.devices .laptop { width: 100%; }
.devices .phone { position: absolute; width: 34%; right: -2%; bottom: -8%; filter: drop-shadow(0 20px 30px rgba(15, 34, 51, .25)); }

/* People */
.person { text-align: center; }
.person .avatar { width: 84px; height: 84px; font-size: 1.5rem; margin: 0 auto 16px; background: linear-gradient(135deg, var(--green), var(--blue)); color: #fff; }
.person h3 { margin-bottom: .2em; }
.person p { color: var(--muted); margin: 0; }

/* Jobs */
.job { padding: clamp(28px, 4vw, 44px); }
.job-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.job-head h3 { font-size: 1.5rem; margin: 0; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.badge { font-size: .8rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: var(--blue-50); color: var(--blue-700); }
.badge.g { background: var(--green-50); color: #4d8a17; }
.job h4 { margin-top: 1.4em; }
.meta { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: .95rem; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.meta dt { font-weight: 700; color: var(--ink); }
.meta dd { margin: 0; color: var(--muted); }

/* Callout */
.callout { border-left: 4px solid var(--green); background: var(--green-50); padding: 24px 28px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.callout h3 { font-size: 1.05rem; }
.callout p { margin: 0; color: var(--ink-2); font-size: .95rem; }

/* Contact */
.contact-list { display: grid; gap: 16px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item .icon { margin: 0; flex: none; }
.contact-item small { display: block; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; font-size: .75rem; color: var(--muted); }
.contact-item a, .contact-item span { font-size: 1.15rem; font-weight: 650; color: var(--ink); text-decoration: none; }
.contact-item a:hover { color: var(--blue-700); }
.map { border: 0; width: 100%; height: 100%; min-height: 380px; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--bg-soft); }

/* CTA band */
.cta {
  background: radial-gradient(1200px 400px at 100% 0%, rgba(32, 152, 213, .35), transparent 60%),
              radial-gradient(900px 400px at 0% 100%, rgba(139, 198, 63, .25), transparent 60%), var(--navy);
  color: #d4e1ec; border-radius: 28px; padding: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center;
}
.cta h2 { color: #fff; }
.cta p { margin: 0; }
.cta .btn-row { margin: 0; justify-content: flex-end; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } .cta .btn-row { justify-content: flex-start; } }

/* Prose (policy) */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.45rem; margin-top: 2.2em; padding-top: .4em; }
.prose h2:first-child { margin-top: 0; }
.prose li { margin-bottom: .5em; }
.prose p, .prose li { color: var(--ink-2); }
.toc { position: sticky; top: 110px; align-self: start; font-size: .92rem; }
.toc h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.toc a { display: block; padding: 6px 12px; border-radius: 8px; color: var(--ink-2); text-decoration: none; border-left: 2px solid var(--line); border-radius: 0; }
.toc a:hover { color: var(--blue-700); border-color: var(--blue); }
.policy { display: grid; grid-template-columns: 260px 1fr; gap: 56px; }
@media (max-width: 900px) { .policy { grid-template-columns: 1fr; } .toc { position: static; } }

/* Footer */
.site-footer { background: var(--navy); color: #a9bccd; padding: 72px 0 28px; margin-top: clamp(24px, 4vw, 56px); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #a9bccd; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.foot-brand { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.foot-brand img { width: 52px; height: auto; }
.foot-brand span { color: #fff; font-weight: 800; font-size: 1.2rem; letter-spacing: -.01em; }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; }
.foot-contact svg { width: 18px; height: 18px; color: var(--green); flex: none; margin-top: 3px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 48px; padding-top: 24px; font-size: .86rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 1rem; }
