/* Generated by sites/main/src/build.py from sites/main/public/styles.css (the main nav) and sites/main/src/product-nav.css; edit those, then run it. */
/* Site navigation: dropdown menus from 1181 px, a menu panel below that. Built by sites/main/src/build.py, which also
   copies this block, up to the footer site map, into the product pages' site-nav.css. */
.nav { position: relative; margin-left: auto; }
.nav > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-top { display: inline-flex; align-items: center; gap: 4px; padding: 10px 10px; border: 0; border-radius: 10px; background: none; color: rgba(255,255,255,.82); font: 500 15px/1 var(--text); text-decoration: none; cursor: pointer; white-space: nowrap; }
.nav-top svg { width: 14px; height: 14px; opacity: .7; transition: transform .15s ease; }
.nav-top:hover, .has-menu.open > .nav-top, .nav-top[aria-current="page"] { color: #fff; background: rgba(255,255,255,.07); }
.has-menu.open > .nav-top svg { transform: rotate(180deg); }
.has-menu { position: relative; }
.menu { display: none; position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%); width: 400px; padding: 16px; background: var(--paper); color: var(--body); border-radius: var(--radius); box-shadow: 0 30px 80px -24px rgba(4, 17, 10, .55), 0 0 0 1px rgba(4, 17, 10, .06); z-index: 60; }
.menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
/* The wide menu hangs from the right edge of the whole nav, so it stays on screen whichever item opens it. */
.has-menu.has-wide { position: static; }
.menu.wide { width: 720px; left: auto; right: 0; transform: none; }
.has-menu.open > .menu { display: block; }
.menu-intro { margin: 0 0 8px; padding: 2px 10px 12px; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.45; color: var(--muted); }
.menu-intro b { display: block; margin-bottom: 6px; font: 700 12px/1 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--green-deep); }
.menu ul { display: grid; gap: 2px; list-style: none; margin: 0; padding: 0; }
.menu.wide ul { grid-template-columns: 1fr 1fr; }
.menu ul a { display: block; padding: 9px 10px; border-radius: 12px; text-decoration: none; }
.menu ul a:hover, .menu ul a:focus-visible { background: var(--mint-soft); outline: none; }
.menu ul b { display: block; font: 700 14.5px/1.3 var(--head); color: var(--ink); }
.menu ul span { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.35; color: var(--muted); }
.menu ul a[aria-current="page"] b { color: var(--green-deep); }
.menu-all { display: inline-block; margin: 10px 10px 2px; font: 700 14px/1 var(--head); color: var(--green-deep); text-decoration: none; }
.menu.wide li.menu-feature, .menu.wide li.menu-label { grid-column: 1 / -1; }
.menu li.menu-feature a { background: var(--mint-soft); }
.menu li.menu-feature i { display: block; margin-bottom: 3px; font: 600 11px/1.2 var(--head); font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: var(--green-deep); }
.menu li.menu-label { margin: 8px 10px 2px; padding-top: 10px; border-top: 1px solid var(--line); font: 700 11.5px/1 var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.menu-toggle { display: none; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0; border: 1px solid rgba(255,255,255,.22); border-radius: 12px; background: none; color: #fff; cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; }
.mobile-menu { background: var(--forest-950); border-top: 1px solid rgba(255,255,255,.08); max-height: calc(100vh - 72px); overflow-y: auto; }
.mobile-menu .wrap { display: block; height: auto; padding-top: 8px; padding-bottom: 20px; }
.mobile-menu details { border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-menu summary, .m-top { display: flex; align-items: center; justify-content: space-between; padding: 15px 2px; color: #fff; font: 600 17px/1.2 var(--head); text-decoration: none; cursor: pointer; list-style: none; }
.m-top { border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary svg { width: 18px; height: 18px; opacity: .7; transition: transform .15s ease; }
.mobile-menu details[open] summary svg { transform: rotate(180deg); }
.mobile-menu details > div { display: grid; padding: 0 2px 12px; }
.mobile-menu details a { padding: 9px 0; color: rgba(255,255,255,.78); text-decoration: none; font-size: 16px; }
.mobile-menu details a[aria-current="page"], .m-top[aria-current="page"] { color: var(--lime); }
.mobile-menu .m-all { color: var(--green); font-weight: 500; }
.site-head.menu-open { background: var(--forest-950); }
@media (max-width: 1180px) {
  .nav { display: none; }
  .site-head .btn { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
}
@media (min-width: 1181px) {
  .mobile-menu { display: none !important; }
}
@media (max-width: 600px) {
  .site-head .btn { padding: 10px 14px; font-size: 14px; }
}

/* The product pages' header. build.py writes it into each product's site-nav.css after main's nav rules: the main
   nav in a floating capsule, then a slimmer capsule with the product's name and page sections. The two are 126 px
   tall with their gaps (114 px on phones); the product pages' .hero top padding and section scroll-margin allow for
   that. The home page and the other main pages keep their own header. */
.site-head { position: fixed; inset: 0 0 auto 0; z-index: 50; }
.site-head > .wrap { position: relative; z-index: 2; display: flex; align-items: center; gap: 28px; width: calc(100% - 24px); height: 60px; margin-top: 12px; padding: 0 10px 0 22px; border-radius: 16px; background: rgba(17, 30, 23, .9); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 20px 44px -18px rgba(0,0,0,.8); }
/* z-index: the capsule's blur makes it a layer of its own, and its open menus must cover the product bar, which comes
   after it. */
.brand { flex: none; display: flex; align-items: center; text-decoration: none; }
.brand img { height: 24px; width: auto; }
.site-head .btn { padding: 10px 16px; font-size: 14.5px; }
.nav-top[data-current] { color: #fff; background: rgba(255,255,255,.07); }
.site-head.menu-open { background: none; }
.site-head.menu-open .pbar { display: none; }
.mobile-menu { margin: 8px 12px 0; border: 0; border-radius: 16px; background: #111e17; box-shadow: 0 20px 44px -18px rgba(0,0,0,.8); }

/* The product bar. */
.pbar .wrap { display: flex; align-items: center; gap: 28px; width: calc(100% - 24px); height: 46px; margin-top: 8px; padding: 0 12px 0 22px; border-radius: 13px; background: rgba(4, 17, 10, .62); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border: 1px solid rgba(255,255,255,.08); }
.pbar-crumb { display: flex; align-items: center; gap: 6px; min-width: 0; font: 600 14px/1 var(--head); white-space: nowrap; }
.pbar-crumb a { color: rgba(255,255,255,.55); text-decoration: none; }
.pbar-crumb a:hover { color: #fff; }
.pbar-crumb [aria-current] { color: #fff; overflow: hidden; text-overflow: ellipsis; }
.pbar-crumb svg { flex: none; width: 14px; height: 14px; color: rgba(255,255,255,.3); }
.pbar-nav { display: flex; gap: 4px; margin-left: auto; }
.pbar-nav a { padding: 8px 10px; border-radius: 8px; color: rgba(255,255,255,.7); text-decoration: none; font: 500 14px/1 var(--text); white-space: nowrap; }
.pbar-nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
.pbar-nav a.on { color: #fff; box-shadow: inset 0 -2px 0 var(--green); border-radius: 8px 8px 0 0; }
/* Below 861 px the sections drop down from the bar's Sections button (product-nav.js). */
.pbar-toggle { display: none; }

@media (max-width: 1100px) {
  .pbar-nav a { padding: 8px 7px; font-size: 13.5px; }
}
@media (max-width: 860px) {
  .pbar-toggle { flex: none; display: inline-flex; align-items: center; gap: 4px; margin-left: auto; padding: 7px 8px 7px 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 9px; background: none; color: #fff; font: 500 14px/1 var(--text); cursor: pointer; }
  .pbar-toggle svg { width: 16px; height: 16px; opacity: .7; transition: transform .15s ease; }
  .pbar.open .pbar-toggle { background: rgba(255,255,255,.08); }
  .pbar.open .pbar-toggle svg { transform: rotate(180deg); }
  .pbar-nav { display: none; position: absolute; top: calc(100% + 6px); right: 0; flex-direction: column; gap: 2px; min-width: 210px; padding: 6px; border-radius: 13px; background: #111e17; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 20px 44px -18px rgba(0,0,0,.8); }
  .pbar.open .pbar-nav { display: flex; }
  .pbar-nav a { padding: 12px; font-size: 15px; }
  .pbar-nav a.on { color: var(--green); box-shadow: none; border-radius: 8px; background: rgba(255,255,255,.05); }
}
@media (max-width: 600px) {
  .site-head > .wrap { gap: 12px; width: calc(100% - 16px); height: 56px; margin-top: 8px; padding-left: 16px; }
  .pbar .wrap { gap: 12px; width: calc(100% - 16px); height: 44px; margin-top: 6px; padding-left: 16px; }
  .mobile-menu { margin: 6px 8px 0; }
  .pbar-crumb > :first-child, .pbar-crumb > svg:first-of-type { display: none; }
}
/* Dark mode: start. Visitors whose system is set to dark get the whole page at the hero's forest, with cards one step
   lighter and green-deep accents brightened to read on it. build.py copies this block, up to "Dark mode: end", into
   the product pages' site-nav.css (loaded after their styles.css), so it also covers rules only they have. */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --ink: #f1f7f3;
    --body: #c3cfc8;
    --muted: #8ea198;
    --line: #1b3526;
    --paper: #0a1d12;
    --paper-2: #071710;
    --mint: #123620;
    --mint-soft: #0d2818;
    --green-deep: #5fd487;
  }
  body { background: var(--forest-950); }
  .hero-fade { background: none; }
  .tinted { background: var(--paper-2); border-block: 1px solid #0f2418; }
  .dark, .foot { border-top: 1px solid #0f2418; }
  .logos { background: transparent; }
  .logo-cloud img { filter: invert(1); }
  /* The forest panels that stood out on white get lift instead. */
  .case.feat, .channel.feat, .plant-main, .stat, .cert, .flow-end, .study-outcome {
    background: linear-gradient(160deg, #15442a 0%, #0c2a18 55%, #0a2214 100%); border: 1px solid rgba(71,201,114,.28); }
  .case:hover, .announced a:hover, .plinks a:hover, .jobs a:hover, .watch-steps button:hover { border-color: rgba(71,201,114,.45); }
  .case:hover, .plant-main:hover, .plant-inc:hover, .announced a:hover { box-shadow: 0 18px 40px -24px rgba(0,0,0,.8); }
  .watch-steps button[aria-current] { border-color: rgba(71,201,114,.6); }
  /* Surfaces that are white in the light theme. */
  .chip, .mosaic figcaption { background: rgba(10,29,18,.92); color: var(--ink); box-shadow: 0 18px 50px -12px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.1); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  .msg.bot { background: var(--paper); border: 1px solid var(--line); }
  .form-card { background: var(--paper); border: 1px solid var(--line); }
  #demo-form input, #demo-form select, #demo-form textarea, #subscribe-form input { background: var(--forest-950); border-color: #2a4a37; }
  #demo-form .chips span { background: var(--forest-950); border-color: #2a4a37; }
  #demo-form .chips input:checked + span { background: var(--green); border-color: var(--green); color: var(--forest-900); }
  .panel-list .warn { background: rgba(240,140,0,.1); border-color: rgba(240,140,0,.35); }
  .panel-list .warn b { color: #ffa94d; }
  .not { border-color: #2f4d3b; }
  .flow-mid { border-color: rgba(71,201,114,.35); }
  .flow-mid span { background: var(--paper-2); }
  .road-col { background: var(--paper); }
  .watch-frame { background: var(--paper); box-shadow: 0 40px 100px -40px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.08); }
  .menu { border: 1px solid var(--line); box-shadow: 0 30px 80px -24px rgba(0,0,0,.8); }
  .checks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2347c972' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }
  .walkthrough video { box-shadow: 0 30px 60px -30px rgba(0,0,0,.8), 0 0 0 1px var(--line); }
  .shot img { box-shadow: 0 30px 80px -30px rgba(0,0,0,.85); }
}
/* Dark mode: end */
