.header-inner:has(#main-nav) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 24px;
}
.header-inner > .brand { justify-self: start; }
.brand > span { letter-spacing: 0; }
.header-cta { justify-self: end; white-space: nowrap; }
#main-nav { justify-content: center; gap: 28px; }
#main-nav > a { position: relative; white-space: nowrap; }
#main-nav > a[aria-current="page"] { color: var(--blue); }
#main-nav > a[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 20px;
  height: 3px;
  transform: translateX(-50%);
  border-radius: 3px;
  background: currentColor;
}
.js-enabled #main { min-height: calc(100svh - 245px); overflow: clip; }
.js-enabled #main > section:not(.is-active) { display: none; }
.js-enabled #main > section.section { padding-block: 56px 64px; }
.js-enabled #main > #faq { padding-block: 72px 96px; }
.js-enabled #main > #start { padding-block: 48px 64px; }
.js-enabled .hero { min-height: 660px; padding-block: 48px 56px; }
.js-enabled .section-heading { margin-bottom: 32px; }
.js-enabled .workflow-list { margin-top: 40px; }
.js-enabled .capability-notes { margin-top: 28px; }
.back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin: -16px 0 16px;
  padding: 8px 14px;
  border: 1px solid rgba(155, 179, 220, .38);
  border-radius: 10px;
  background: rgba(255, 255, 255, .25);
  color: #284e9c;
  font-size: 13px;
  font-weight: 550;
}
.back-button:hover { background: rgba(255, 255, 255, .65); color: #173d9c; }
.back-button > span { font-size: 18px; line-height: 1; }

@media (max-width: 1024px) and (min-width: 621px) {
  .header-inner:has(#main-nav) { gap: 16px; grid-template-columns: auto 1fr auto; }
  #main-nav { gap: 18px; }
  .header-cta { padding-inline: 14px; font-size: 12px; gap: 10px; }
}
@media (max-width: 620px) {
  .header-inner:has(#main-nav), html:not(.js-enabled) .header-inner:has(#main-nav) {
    height: auto;
    min-height: 112px;
    padding-block: 12px 0;
    grid-template-columns: 1fr auto;
    gap: 6px 16px;
  }
  #main-nav, html:not(.js-enabled) #main-nav {
    display: flex;
    position: static;
    grid-row: 2;
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    padding: 0 0 4px;
    border: 0;
    background: transparent;
    box-shadow: none;
    overflow-x: auto;
    scrollbar-width: thin;
  }
  #main-nav > a { flex-shrink: 0; font-size: 13px; min-height: 44px; padding: 8px 0; }
  .header-cta { grid-column: 2; grid-row: 1; font-size: 12px; min-height: 40px; padding: 8px 12px; gap: 12px; }
  .js-enabled .hero { min-height: auto; padding-block: 32px 24px; }
  .js-enabled #main > section.section, .js-enabled #main > #faq, .js-enabled #main > #start { padding-block: 36px 48px; }
  .js-enabled #main { min-height: calc(100svh - 330px); }
  .js-enabled #home .hero { padding-block: 20px 16px; }
  #home .intro-label { line-height: 1.5; margin-bottom: 14px; }
  #home .hero h1 { font-size: clamp(36px, 9vw, 44px); line-height: 1.12; }
  #home .hero-description { margin-top: 16px; font-size: 15px; line-height: 1.6; }
  #home .hero-actions { margin-top: 18px; gap: 20px; }
  #home .hero-actions .button { min-height: 46px; padding-block: 10px; }
  #home .hero-note { margin-top: 14px; font-size: 10px; line-height: 1.5; }
  #home .hero-note > span { margin-top: 2px; }
  #home .signal-scene {
    width: 440px;
    height: 540px;
    transform: scale(.68);
    transform-origin: top center;
    margin: 8px 0 -173px;
  }
}
