html {
  scroll-padding-top: 86px;
}

body {
  overflow-x: clip;
}

.hero .heroInner h1 {
  font-size: clamp(52px, 5vw, 68px);
  line-height: 0.98;
}

.navDropdown {
  position: relative;
}

.navDropdownToggle {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.navDropdownToggle:hover,
.navDropdownToggle[aria-expanded="true"] {
  color: #fff;
}

.navDropdownToggle:focus-visible {
  outline: 3px solid rgba(127, 140, 255, 0.42);
  outline-offset: 4px;
  border-radius: 4px;
}

.navDropdownChevron {
  display: inline-block;
  color: #7f8cff;
  font-size: 15px;
  line-height: 1;
  transition: transform 160ms ease;
}

.navDropdownMenu {
  position: absolute;
  top: calc(100% + 8px);
  right: -18px;
  width: 292px;
  padding: 8px;
  border: 1px solid #dfe4e8;
  border-radius: 14px;
  background: #fff;
  color: #111820;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.navDropdownMenu::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 10px;
}

.navDropdownMenu a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px;
  border-radius: 9px;
  color: #111820;
}

.navDropdownMenu a:hover,
.navDropdownMenu a:focus-visible {
  background: #f0f2ff;
  color: #111820;
  outline: none;
}

.navDropdownMenu strong {
  font-size: 13px;
}

.navDropdownMenu small {
  color: #66717a;
  font-size: 11px;
  line-height: 1.4;
}

.navDropdown.is-open .navDropdownMenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.navDropdown.is-open .navDropdownChevron {
  transform: rotate(180deg);
}

.productShell {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: #f8fafb;
  color: #0b1117;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.productShell::after {
  display: none;
}

.workflowTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px 16px;
  background: #fff;
}

.workflowTop .miniLabel {
  color: #4f5bd5;
  font-size: 10px;
}

.workflowTop strong {
  display: block;
  margin-top: 4px;
  font-size: 17px;
  letter-spacing: -0.025em;
}

.workflowTop small {
  display: block;
  margin-top: 3px;
  color: #66717a;
  font-size: 11px;
}

.workflowTop .thinking {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: #f0f2ff;
  color: #424fbf;
  font-size: 11px;
}

.workflowProgress {
  height: 3px;
  background: #e7ebef;
}

.workflowProgress i {
  display: block;
  width: 61%;
  height: 100%;
  background: linear-gradient(90deg, #5968e8, #8190ff);
}

.currentStage {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-bottom: 1px solid #dfe4e8;
  background: #f8fafb;
  color: #5d6871;
  font-size: 12px;
}

.currentStage > span {
  color: #4f5bd5;
  font-weight: 850;
}

.currentStage b {
  color: #172027;
}

.currentStage small {
  color: #66717a;
  font-size: 11px;
}

.productShell .decision {
  width: auto;
  margin: 0;
  padding: 22px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(135deg, #f0f2ff 0%, #fafbff 78%);
  box-shadow: none;
}

.productShell .decisionHead {
  margin: 0 0 12px;
  color: #424fbf;
  font-size: 10px;
}

.productShell .decisionHead .sec,
.productShell .decisionHead .routeBadge {
  background: #e2e6ff;
  color: #3f4bb3;
}

.decisionWindow {
  display: grid;
  grid-template-columns: auto minmax(90px, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.windowPoint {
  display: flex;
  flex-direction: column;
  gap: 1px;
  color: #172027;
  font-size: 11px;
}

.windowPoint small {
  color: #5663dd;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.windowPoint.end {
  text-align: right;
}

.windowLead {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  color: #424fbf;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.windowLead::before,
.windowLead::after {
  content: "";
  height: 1px;
  background: #cbd2ff;
}

.productShell .decision h2 {
  max-width: 620px;
  margin: 0 0 7px;
  font-size: clamp(20px, 2.35vw, 27px);
  line-height: 1.18;
}

.productShell .decision p {
  max-width: 650px;
  margin: 0 0 17px;
  color: #4f5b65;
  font-size: 13px;
  line-height: 1.5;
}

.productShell .opts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.productShell .opts button {
  min-height: 48px;
  padding: 11px 13px;
  border-color: #cfd5da;
  color: #182027;
  font-size: 13px;
  font-weight: 750;
}

.productShell .opts button:hover {
  border-color: #7785ef;
}

.productShell .opts button:focus-visible,
.textButton:focus-visible {
  outline: 3px solid rgba(89, 104, 232, 0.35);
  outline-offset: 2px;
}

.productShell .opts button.active {
  border-color: #111b24;
  background: #111b24;
  color: #fff;
}

.decisionMeta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
  color: #59656e;
  font-size: 11px;
}

.textButton {
  appearance: none;
  min-height: 36px;
  padding: 0 3px;
  border: 0;
  background: transparent;
  color: #424fbf;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.productShell .saved {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #d7dcf5;
  color: #176f4f;
  font-size: 11px;
}

.usecase .productShell {
  max-width: 760px;
  margin: 0 auto;
}

.verticalHero .heroActions {
  justify-content: center;
}

.verticalHero {
  padding: 64px 0 38px;
}

.verticalHero h1 {
  max-width: 1100px;
  font-size: clamp(50px, 6vw, 76px);
}

.verticalHero .lead {
  margin-top: 19px;
}

.scenarioGrid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.scenarioLink {
  min-height: 150px;
  padding: 20px;
}

.scenarioLink b {
  margin: 18px 0 10px;
  font-size: 16px;
  line-height: 1.3;
}

.scenarioLink em {
  color: #172027;
  font-size: 11px;
}

.noSurvey {
  color: #59656e;
  font-size: 13px;
}

@media (max-width: 1000px) {
  .scenarioGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .links .navDropdownMenu a {
    display: flex;
  }
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 74px;
  }

  .workflowTop {
    align-items: flex-start;
    padding: 17px;
  }

  .workflowTop small {
    max-width: 210px;
  }

  .currentStage {
    grid-template-columns: auto 1fr;
    padding: 12px 17px;
  }

  .currentStage small {
    grid-column: 2;
  }

  .productShell .decision {
    padding: 18px 17px;
  }

  .productShell .opts,
  .scenarioGrid {
    grid-template-columns: 1fr;
  }

  .decisionMeta {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .textButton {
    min-height: 42px;
  }

  .verticalHero {
    padding: 54px 0 34px;
  }

  .verticalHero h1 {
    font-size: 45px;
  }

  .hero .heroInner h1 {
    font-size: 46px;
  }

  .links {
    gap: 13px;
  }

  .navDropdownMenu {
    position: fixed;
    top: 66px;
    right: 12px;
    left: 12px;
    width: auto;
  }
}

@media (max-width: 360px) {
  .brand > span:last-child {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .spinner {
    animation: none;
  }

  .btn,
  .pill,
  .vcard,
  .scenarioLink {
    transition: none;
  }

  .navDropdownChevron,
  .navDropdownMenu {
    transition: none;
  }
}
