/* Shared navigation and motion. The document works without animation. */
.site-header {
  position: sticky; top: 16px; width: calc(100% - 40px); max-width: 1344px;
  margin: 16px auto -100px; z-index: 30; background: rgb(16 38 51 / 95%);
  border: 1px solid #ffffff29; border-radius: 5px;
  box-shadow: 0 8px 35px #071c2720; backdrop-filter: blur(18px);
}
.nav-bar { height: 84px; padding: 0 34px; }
.nav-bar .brand { width: 225px; margin-left: -29px; }
.nav-bar .brand img { width: 290px; }
.nav-bar nav { gap: 27px; font-size: .875rem; }
.nav-bar nav > a:not(.nav-cta) { position: relative; }
.nav-bar nav > a:not(.nav-cta)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 4px;
  height: 1px; background: #d1e2e9; transform: scaleX(0);
  transform-origin: left; transition: transform .25s ease;
}
.nav-bar nav > a:hover::after, .nav-bar nav > a:focus-visible::after { transform: scaleX(1); }
.nav-cta { border: 1px solid #8b9fa8; padding: 11px 17px !important; gap: 20px; }
.nav-cta:hover { background: #ffffff0d; }
.nav-disclosure { position: relative; }
.services-toggle { display: flex; align-items: center; gap: 9px; color: inherit; cursor: pointer; border: 0; padding: 13px 0; background: none; }
.services-toggle span { transition: rotate .25s; }
.services-toggle[aria-expanded="true"] span { rotate: 180deg; }
.services-menu {
  position: absolute; top: calc(100% + 18px); left: -28px; width: 360px;
  display: grid; padding: 24px; background: var(--ivory); color: var(--ink);
  border: 1px solid #d5dfe2; border-radius: 3px; box-shadow: 0 18px 55px #05151e30;
  animation: menu-arrive .2s ease-out;
}
.services-menu[hidden] { display: none; }
.nav-menu-label { margin: 0 0 14px; color: #60757f; font-size: .875rem; }
.services-menu > a { display: flex; align-items: baseline; gap: 17px; padding: 16px 0; border-top: 1px solid #d8e0e2; }
.services-menu > a > span { font-size: .75rem; color: #738995; }
.services-menu strong { font-size: 1rem; font-weight: 550; }
.services-menu small { display: block; margin-top: 3px; color: #65747b; font-size: .875rem; }
.services-menu a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.services-menu .nav-demo-link { font-size: .875rem; justify-content: space-between; padding-bottom: 0; }
.hero-content { padding-top: 190px; }
.hero-content > * { animation: hero-arrive .9s both cubic-bezier(.2,.7,.2,1); }
.hero-content > :nth-child(2) { animation-delay: 90ms; }
.hero-content > :nth-child(3) { animation-delay: 180ms; }
.hero-content > :nth-child(4) { animation-delay: 270ms; }
@keyframes hero-arrive { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.hero-art { top: -60px; height: calc(100% + 120px); }
.hero-bottom p:nth-child(2) { margin-right: 70px; }
.service-card, #example { scroll-margin-top: 120px; }
.service-grid { overflow: hidden; }
.principles h3 { font-size: 1.0625rem; }
.diagram-caption { font-size: .8125rem; line-height: 1.7; }
.system-top, .service-card .eyebrow, .demo-heading, .demo-footer > span { font-size: .8125rem; }
.service-card ul, .service-card .text-link, .system-nodes div, .system-center > span { font-size: .875rem; }
.system-nodes { align-items: stretch; }
.system-nodes div { display: grid; place-items: center; }
.step-number { font-family: var(--serif); font-size: 2.8rem; color: #78909d; line-height: 1; }
.demo-footer .text-link { font-size: 1rem; letter-spacing: 0; padding: 4px 0; }
.reveal-item { transition: opacity .85s ease, transform 1s cubic-bezier(.2,.7,.2,1); transition-delay: var(--reveal-delay, 0ms); }
.reveal-pending { opacity: 0; transform: translate3d(0, 28px, 0); }
[data-parallax] { translate: 0 var(--parallax-y, 0px); }
.skip-link { z-index: 60; position: fixed; }
@keyframes menu-arrive { from { opacity: 0; transform: translateY(-7px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width:1001px) and (max-width:1150px) {
  .nav-bar { padding: 0 24px; } .nav-bar nav { gap: 19px; }
  .nav-bar .brand { width: 205px; } .nav-bar .brand img { width: 267px; }
}
@media (max-width:1000px) {
  .site-header { top: 10px; width: calc(100% - 24px); margin: 10px auto -86px; }
  .nav-bar { height: 76px; padding: 0 23px; }
  .nav-bar .brand { width: 200px; } .nav-bar .brand img { width: 266px; }
  .menu-toggle { display: flex; align-items: center; gap: 15px; background: none; border: 0; color: var(--ivory); padding: 10px 0; font-size: 1rem; }
  .menu-toggle span { font-size: 23px; }
  .nav-bar nav { display: none; position: absolute; top: calc(100% + 8px); left: -1px; right: -1px; max-height: calc(100dvh - 110px); overflow-y: auto; overscroll-behavior: contain; background: var(--navy); padding: 20px 24px 24px; border: 1px solid #ffffff30; border-radius: 4px; flex-direction: column; align-items: stretch; gap: 5px; font-size: 1rem; }
  .nav-bar nav.open { display: flex; }
  .services-toggle { width: 100%; justify-content: space-between; }
  .services-menu { position: static; width: 100%; padding: 17px; margin: 6px 0 13px; box-shadow: none; }
  .services-menu > a { gap: 12px; }
  .nav-cta { margin-top: 10px; justify-content: space-between; }
  .hero-content { padding-top: 148px; }
  [data-parallax] { translate: none; }
  .hero-bottom p:nth-child(2) { display: block; margin: 0; font-size: .875rem; }
  .hero-bottom { gap: 20px; flex-wrap: wrap; } .hero-bottom > a { display: none; }
}
@media (max-width:480px) {
  .nav-bar { padding: 0 18px; } .nav-bar .brand { width: 176px; margin-left: -29px; }
  .nav-bar .brand img { width: 236px; } .hero-content { padding-top: 134px; }
  .hero-bottom p:first-child { font-size: .6875rem; }
  .hero-bottom p:nth-child(2) { font-size: .8125rem; }
  .demo-footer .text-link { margin-top: 12px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  .reveal-item, .reveal-pending { opacity: 1 !important; transform: none !important; transition: none !important; }
  [data-parallax] { translate: none !important; }
  *, *::before, *::after { animation: none !important; }
}
@media print {
  .reveal-item, .reveal-pending { opacity: 1 !important; transform: none !important; }
  [data-parallax] { translate: none !important; }
}
