/* AI Agents page only. Scoped to body.aa-page so placeholder pages are unaffected. */

.aa-page {
  --aa-ink: #283038;
  --aa-ink-deep: #1f1235;
  --aa-muted: #535b66;
  --aa-purple: #725ee1;
  --aa-purple-deep: #6048d0;
  --aa-magenta: #b840a9;
  --aa-tint: #f7f6fd;
  --aa-line: #e3e0f2;
  --aa-white: #ffffff;
  --aa-max: 1120px;
  --aa-header-h: 4.5rem;
  --aa-hero-sky: #eef2f8;
}

.aa-page .aa-wrap {
  margin: 0 auto;
  max-width: var(--aa-max);
  padding: 0 2rem;
}

.aa-page .aa-eyebrow {
  color: var(--aa-purple);
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.aa-page .aa-section-title {
  color: var(--aa-ink-deep);
  font-size: clamp(1.85rem, 3.4vw, 2.55rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0.7rem 0 1rem;
}

.aa-page .aa-lead {
  color: var(--aa-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 40rem;
}

.aa-page .aa-section {
  padding: 6.25rem 0;
}

.aa-page .aa-section--tint {
  background: var(--aa-tint);
}


/* Hero */

.aa-page .aa-hero {
  background: var(--aa-white);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: clip;
  padding-top: var(--aa-header-h);
}

.aa-page .aa-hero__stage {
  background: var(--aa-hero-sky);
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  isolation: isolate;
  min-height: 0;
  overflow: hidden;
  position: relative;
}

.aa-page .aa-hero__media {
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.aa-page .aa-hero__media img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: 100% 48%;
  width: 100%;
}

.aa-page .aa-hero__stage::before {
  background: linear-gradient(90deg, var(--aa-hero-sky) 0%, var(--aa-hero-sky) 36%, rgba(238, 242, 248, 0.55) 50%, transparent 68%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.aa-page .aa-hero__main {
  align-items: center;
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  position: relative;
  z-index: 2;
}

.aa-page .aa-hero__content {
  box-sizing: border-box;
  margin: 0 auto;
  max-width: 1200px;
  padding: 2.5rem 16px;
  position: relative;
  width: 95%;
  z-index: 1;
}

.aa-page .aa-hero .aa-eyebrow {
  color: var(--aa-purple-deep);
}

.aa-page .aa-hero__title {
  color: var(--aa-ink-deep);
  font-size: clamp(2.2rem, 3.6vw, 3.25rem);
  font-weight: 700;
  hyphens: none;
  letter-spacing: -0.04em;
  line-height: 1.12;
  margin: 0.85rem 0 1.25rem;
}

.aa-page .aa-hero__kicker,
.aa-page .aa-hero__rest {
  display: block;
}

.aa-page .aa-hero__rest {
  max-width: 11.4em;
}

.aa-page .aa-hero__copy {
  color: var(--aa-ink);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
  max-width: 34rem;
}

.aa-page .aa-hero .button--primary {
  background: var(--aa-purple);
  box-shadow: none;
}

.aa-page .aa-hero .button--primary:hover,
.aa-page .aa-hero .button--primary:focus-visible {
  background: var(--aa-purple-deep);
  transform: none;
}

.aa-page .aa-hero__cue {
  align-items: center;
  align-self: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--aa-purple);
  border-radius: 50%;
  box-sizing: border-box;
  color: var(--aa-purple);
  display: flex;
  flex-shrink: 0;
  height: 2.875rem;
  justify-content: center;
  margin: 0.75rem 0 max(1.5rem, calc(1.5rem + env(safe-area-inset-bottom, 0px)));
  position: relative;
  text-decoration: none;
  width: 2.875rem;
  z-index: 2;
}

.aa-page .aa-hero__cue svg {
  display: block;
  height: 1rem;
  width: 1rem;
}

.aa-page .aa-hero__cue:hover {
  background: rgba(255, 255, 255, 0.9);
}

.aa-page .aa-hero__cue:focus-visible {
  outline: 3px solid #ffb000;
  outline-offset: 4px;
}

.aa-page #what-we-build {
  min-height: 0;
  padding: 4.5rem 0;
  scroll-margin-top: 7.25rem;
}

.aa-page #what-we-build .aa-section-title {
  font-size: clamp(1.75rem, 2.1vw + 1.15rem, 2.375rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 0 0.85rem;
  max-width: none;
}

.aa-page #what-we-build .aa-lead {
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 40rem;
}

/* Capabilities */

.aa-page .aa-build__intro {
  margin-bottom: 2.25rem;
}

.aa-page .aa-capabilities {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.aa-page .aa-capability {
  min-width: 0;
  padding: 1.75rem 1.5rem 1.75rem 0;
}

.aa-page .aa-capability:nth-child(-n + 3) {
  padding-top: 0;
}

.aa-page .aa-capability:nth-child(3n-1),
.aa-page .aa-capability:nth-child(3n) {
  padding-left: 1.5rem;
}

.aa-page .aa-capability:nth-child(n + 4) {
  border-top: 1px solid var(--aa-line);
}

.aa-page .aa-capability:not(:nth-child(3n)) {
  border-right: 1px solid var(--aa-line);
}

.aa-page .aa-capability__icon {
  align-items: center;
  color: var(--aa-purple);
  display: flex;
  height: 1.75rem;
  margin-bottom: 0.85rem;
  width: 1.75rem;
}

.aa-page .aa-capability__icon svg {
  display: block;
  height: 1.5rem;
  width: 1.5rem;
}

.aa-page .aa-capability h3 {
  color: var(--aa-ink-deep);
  font-size: 1.05rem;
  font-weight: 600;
  hyphens: none;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0 0 0.6rem;
}

.aa-page .aa-capability p {
  color: var(--aa-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* Workflow */

.aa-page .aa-workflow {
  isolation: isolate;
  min-height: 0;
  overflow: hidden;
  padding: 5.5rem 0;
  position: relative;
}

.aa-page .aa-workflow .aa-section-title {
  font-size: clamp(1.75rem, 2.1vw + 1.15rem, 2.375rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 0 0.85rem;
}

.aa-page .aa-workflow::before,
.aa-page .aa-workflow::after {
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.aa-page .aa-workflow::before {
  background: var(--aa-purple);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  height: 26rem;
  left: -16.5rem;
  opacity: 0.04;
  top: 8%;
  width: 26rem;
}

.aa-page .aa-workflow::after {
  background: var(--aa-magenta);
  border-radius: 50%;
  bottom: 6%;
  height: 22.5rem;
  opacity: 0.04;
  right: -12.5rem;
  width: 22.5rem;
}

.aa-page .aa-workflow .aa-wrap {
  position: relative;
  z-index: 1;
}

.aa-page .aa-workflow__intro {
  margin-bottom: 2.75rem;
  max-width: 40rem;
}

.aa-page .aa-panels {
  align-items: stretch;
  display: grid;
  gap: 0 0.7rem;
  grid-template-columns: minmax(0, 1fr) 1.5rem minmax(0, 1fr) 1.5rem minmax(0, 1fr);
}

.aa-page .aa-panel {
  background: #f6f4fc;
  border: 1px solid var(--aa-line);
  border-radius: 0.875rem;
  box-shadow: none;
  cursor: default;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.5rem;
}

.aa-page .aa-panel__preview {
  align-items: center;
  background: #eeeaf8;
  border-radius: 0.65rem;
  display: flex;
  flex: 0 0 9.5rem;
  height: 9.5rem;
  justify-content: center;
  margin-bottom: 1rem;
  min-height: 9.5rem;
  overflow: hidden;
  padding: 0.7rem 0.75rem 0.6rem;
}

.aa-page .aa-mini {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  width: 100%;
}

.aa-page .aa-mini--doc {
  align-items: center;
  justify-content: center;
}

.aa-page .aa-mini__sheet {
  background: #fff;
  border: 1px solid #ddd6f0;
  border-radius: 0.35rem;
  box-sizing: border-box;
  flex: 0 1 auto;
  height: 6.15rem;
  max-width: 8.25rem;
  min-height: 6.15rem;
  padding: 0.85rem 0.8rem 0.65rem;
  position: relative;
  width: 78%;
}

.aa-page .aa-mini__fold {
  background: #eeeaf8;
  border-bottom: 1px solid #ddd6f0;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  height: 0.75rem;
  position: absolute;
  right: 0;
  top: 0;
  width: 0.75rem;
}

.aa-page .aa-mini__heading {
  background: var(--aa-ink-deep);
  border-radius: 1px;
  display: block;
  height: 0.32rem;
  margin: 0.2rem 0.85rem 0.6rem 0;
  opacity: 0.78;
  width: 62%;
}

.aa-page .aa-mini__line {
  background: #c5c9d2;
  border-radius: 1px;
  display: block;
  height: 0.2rem;
  margin-bottom: 0.32rem;
  width: 100%;
}

.aa-page .aa-mini__line--mid {
  width: 86%;
}

.aa-page .aa-mini__line--short {
  margin-bottom: 0;
  width: 64%;
}

.aa-page .aa-panel .aa-mini__status {
  color: var(--aa-purple-deep);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.3;
  margin: 0.55rem 0 0;
  text-align: center;
}

.aa-page .aa-mini--fields,
.aa-page .aa-mini--record {
  gap: 0.3rem;
  justify-content: center;
}

.aa-page .aa-mini__row {
  align-items: center;
  background: #fff;
  border: 1px solid #ddd6f0;
  border-radius: 0.3rem;
  display: flex;
  gap: 0.45rem;
  justify-content: space-between;
  min-height: 1.45rem;
  padding: 0.18rem 0.45rem;
}

.aa-page .aa-mini__row--flag {
  background: #fbf6ea;
  border-color: #ead7a8;
}

.aa-page .aa-mini__key {
  color: var(--aa-ink);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.aa-page .aa-mini__row svg {
  display: block;
  flex: 0 0 auto;
  height: 0.85rem;
  width: 0.85rem;
}

.aa-page .aa-mini__amber {
  background: #d4a24c;
  border-radius: 50%;
  display: block;
  height: 0.5rem;
  width: 0.5rem;
}

.aa-page .aa-panel .aa-mini__badge {
  color: var(--aa-purple-deep);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.3;
  margin: 0.35rem 0 0;
  text-align: center;
  white-space: normal;
}

.aa-page .aa-mini__chrome {
  display: flex;
  gap: 0.22rem;
  margin-bottom: 0.12rem;
  padding: 0.05rem 0.12rem 0.18rem;
}

.aa-page .aa-mini__chrome i {
  background: #cfc7f3;
  border-radius: 50%;
  display: block;
  height: 0.32rem;
  width: 0.32rem;
}

.aa-page .aa-mini__value {
  background: #e7e3f4;
  border-radius: 1px;
  display: block;
  height: 0.28rem;
  width: 2.4rem;
}

.aa-page .aa-mini__value--short {
  width: 1.55rem;
}

.aa-page .aa-mini__complete {
  align-items: center;
  display: flex;
  gap: 0.35rem;
  justify-content: center;
  margin-top: 0.35rem;
}

.aa-page .aa-mini__complete svg {
  display: block;
  height: 1rem;
  width: 1rem;
}

.aa-page .aa-panel .aa-mini__complete .aa-mini__status {
  margin: 0;
}

.aa-page .aa-panel h3 {
  color: var(--aa-ink-deep);
  font-size: 1.05rem;
  font-weight: 600;
  hyphens: none;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0 0 0.4rem;
}

.aa-page .aa-panel p {
  color: var(--aa-muted);
  font-size: 1rem;
  line-height: 1.55;
  margin: 0;
}

.aa-page .aa-panels__arrow {
  align-items: center;
  align-self: start;
  color: var(--aa-purple);
  display: flex;
  height: 9.5rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.aa-page .aa-panels__arrow svg {
  display: block;
  height: 1rem;
  width: 1rem;
}

.aa-page .aa-note {
  color: #737985;
  font-size: 0.88rem;
  line-height: 1.55;
  margin-top: 2.25rem;
  max-width: 38rem;
}

.aa-page .aa-workflow .aa-note {
  margin-top: 1.875rem;
}

/* Commitments */

.aa-page .aa-commit {
  background-color: #f6f5fb;
  background-image:
    linear-gradient(90deg, rgba(210, 226, 242, 0.28) 0%, transparent 16%, transparent 84%, rgba(244, 222, 230, 0.22) 100%);
  min-height: 0;
  padding: 4.25rem 0;
}

.aa-page .aa-commit .aa-section-title {
  font-size: clamp(1.75rem, 2.1vw + 1.15rem, 2.375rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 0 2.25rem;
}

.aa-page .aa-commit__grid {
  align-items: stretch;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.aa-page .aa-commit__item {
  background: #fcfbfe;
  border: 1px solid var(--aa-line);
  border-radius: 1rem;
  box-shadow: none;
  cursor: default;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.875rem;
}

.aa-page .aa-commit__art {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  height: 10rem;
  justify-content: center;
  margin: 0 0 1.25rem;
}

.aa-page .aa-commit__art img {
  display: block;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  width: 100%;
}

.aa-page .aa-commit__art--build img {
  transform: scale(1.02);
}

.aa-page .aa-commit__art--connect img {
  transform: scale(1.04);
}

.aa-page .aa-commit__art--control img {
  transform: scale(1);
}

.aa-page .aa-commit__art--prove img {
  transform: scale(0.92);
}

.aa-page .aa-commit__item h3 {
  color: var(--aa-ink-deep);
  font-size: 1.4375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0 0 0.75rem;
}

.aa-page .aa-commit__item p {
  color: var(--aa-muted);
  font-size: 1.125rem;
  line-height: 1.6;
  margin: 0;
}

/* Approach */

.aa-page .aa-approach__intro {
  margin-bottom: 2.75rem;
  max-width: 40rem;
}

.aa-page .aa-stages {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.aa-page .aa-stage {
  align-items: start;
  border-top: 1px solid var(--aa-line);
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 3rem 13.75rem minmax(0, 40rem);
  padding: 1.875rem 0;
}

.aa-page .aa-stage:last-child {
  border-bottom: 1px solid var(--aa-line);
}

.aa-page .aa-stage__num {
  color: var(--aa-purple);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
}

.aa-page .aa-stage h3 {
  color: var(--aa-ink-deep);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0;
}

.aa-page .aa-stage p {
  color: var(--aa-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
  max-width: 40rem;
}

/* Closing CTA */

.aa-page .aa-close {
  min-height: 37.5rem;
  padding: 5.5rem 0;
  text-align: left;
}

.aa-page .aa-close__inner {
  align-items: center;
  display: grid;
  gap: 2.5rem 3rem;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
  min-height: 26.5rem;
}

.aa-page .aa-close__copy {
  max-width: 34rem;
}

.aa-page .aa-close .aa-section-title {
  margin: 0 0 1.5rem;
  max-width: 11.4em;
}

.aa-page .aa-close__keep {
  white-space: nowrap;
}

.aa-page .aa-close .aa-lead {
  margin: 0 0 2rem;
}

.aa-page .aa-close__art {
  align-items: center;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.aa-page .aa-close__art img {
  display: block;
  height: 23rem;
  max-width: 100%;
  object-fit: contain;
  pointer-events: none;
  width: auto;
}

@media (max-width: 800px) {
  .aa-page {
    --aa-header-h: 4.25rem;
  }

  .aa-page header {
    padding: 0;
  }

  .aa-page .navbar {
    max-width: none;
    min-height: 4.25rem;
    padding: 0 1.25rem;
    width: 100%;
  }

  .aa-page .mobile-menu-toggle {
    align-items: center;
    display: flex;
    height: 2.75rem;
    justify-content: center;
    min-width: 2.75rem;
    padding: 0;
  }

  .aa-page .aa-hero {
    min-height: 0;
  }

  .aa-page .aa-hero__stage {
    flex: 0 0 auto;
    min-height: 0;
  }

  .aa-page .aa-hero__main {
    align-items: flex-start;
    flex: 0 0 auto;
  }

  .aa-page .aa-hero__media {
    height: clamp(15.25rem, 46vw, 18.5rem);
    inset: auto;
    overflow: hidden;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
    width: min(23rem, 64%);
    z-index: 0;
  }

  .aa-page .aa-hero__media::after {
    background:
      linear-gradient(90deg, var(--aa-hero-sky) 0%, rgba(238, 242, 248, 0.55) 18%, transparent 38%),
      linear-gradient(180deg, transparent 68%, var(--aa-hero-sky) 100%);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
  }

  .aa-page .aa-hero__media img {
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 96% 36%;
    width: 100%;
  }

  .aa-page .aa-hero__stage::before {
    background: linear-gradient(90deg, var(--aa-hero-sky) 0%, rgba(238, 242, 248, 0.94) 38%, rgba(238, 242, 248, 0.42) 54%, transparent 70%);
  }

  .aa-page .aa-hero__content {
    max-width: none;
    padding: 2rem 1.375rem 1.75rem;
    width: 100%;
  }

  .aa-page .aa-hero .aa-eyebrow {
    font-size: 0.6875rem;
    letter-spacing: 0.06em;
    line-height: 1.35;
    max-width: 100%;
    white-space: normal;
  }

  .aa-page .aa-hero__title {
    font-size: 1.75rem;
    line-height: 1.15;
    margin: 0.45rem 0 1rem;
    max-width: 19.5rem;
    white-space: normal;
  }

  .aa-page .aa-hero__kicker,
  .aa-page .aa-hero__rest {
    white-space: normal;
  }

  .aa-page .aa-hero__rest {
    max-width: none;
  }

  .aa-page .aa-hero__copy {
    font-size: 0.9375rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    max-width: 19.5rem;
  }

  .aa-page .aa-hero__cue {
    display: none;
  }

  .aa-page #what-we-build {
    scroll-margin-top: 5.5rem;
  }
}

@media (max-width: 360px) {
  .aa-page .aa-hero__title {
    font-size: 1.625rem;
  }

  .aa-page .aa-hero__media {
    height: 13.25rem;
    width: 58%;
  }

  .aa-page .aa-hero__media img {
    object-position: 98% 34%;
  }

  .aa-page .aa-hero__stage::before {
    background: linear-gradient(90deg, var(--aa-hero-sky) 0%, rgba(238, 242, 248, 0.96) 46%, rgba(238, 242, 248, 0.5) 62%, transparent 82%);
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .aa-page .aa-hero__content {
    padding-bottom: 1.25rem;
    padding-top: 1.15rem;
  }
}

@media (max-width: 1024px) {
  .aa-page .aa-capabilities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aa-page .aa-capability,
  .aa-page .aa-capability:nth-child(-n + 3),
  .aa-page .aa-capability:nth-child(3n-1),
  .aa-page .aa-capability:nth-child(3n),
  .aa-page .aa-capability:not(:nth-child(3n)) {
    border-right: 0;
    padding: 1.5rem 0;
  }

  .aa-page .aa-capability:nth-child(-n + 2) {
    padding-top: 0;
  }

  .aa-page .aa-capability:nth-child(odd) {
    padding-right: 1.35rem;
  }

  .aa-page .aa-capability:nth-child(even) {
    border-left: 1px solid var(--aa-line);
    padding-left: 1.35rem;
  }

  .aa-page .aa-capability:nth-child(n + 3) {
    border-top: 1px solid var(--aa-line);
  }
}

@media (max-width: 700px) {
  .aa-page .aa-commit__grid {
    gap: 1.375rem;
    grid-template-columns: 1fr;
  }

  .aa-page .aa-commit__item {
    padding: 1.5rem;
  }

  .aa-page .aa-commit__item h3 {
    font-size: 1.3125rem;
  }

  .aa-page .aa-commit__art {
    flex-basis: auto;
    height: 8.75rem;
    margin-bottom: 1.15rem;
  }
}

@media (max-width: 768px) {
  .aa-page .aa-section {
    padding: 4.75rem 0;
  }

  .aa-page #what-we-build {
    padding: 2.75rem 0;
  }

  .aa-page #what-we-build .aa-wrap {
    padding-left: 1.375rem;
    padding-right: 1.375rem;
  }

  .aa-page .aa-build__intro {
    margin-bottom: 1.85rem;
  }

  .aa-page .aa-wrap {
    padding: 0 1.5rem;
  }

  .aa-page .aa-commit {
    padding: 3.5rem 0;
  }

  .aa-page .aa-commit .aa-section-title {
    font-size: 1.875rem;
    margin-bottom: 2rem;
  }

  .aa-page .aa-workflow::before {
    height: 15rem;
    left: -11.5rem;
    top: 4%;
    width: 15rem;
  }

  .aa-page .aa-workflow::after {
    bottom: 4%;
    height: 13.5rem;
    right: -9.25rem;
    width: 13.5rem;
  }

  .aa-page .aa-workflow {
    padding: 3.25rem 0;
  }

  .aa-page .aa-close {
    min-height: 0;
    padding: 3.5rem 0;
  }

  .aa-page .aa-close__inner {
    align-items: stretch;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-height: 0;
  }

  .aa-page .aa-close .aa-section-title {
    max-width: none;
  }

  .aa-page .aa-close__keep {
    white-space: normal;
  }

  .aa-page .aa-close__art img {
    height: 15.625rem;
  }

  .aa-page .aa-stage {
    gap: 0.7rem 0.85rem;
    grid-template-columns: 2.4rem minmax(0, 1fr);
    padding: 1.5rem 0;
  }

  .aa-page .aa-stage p {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .aa-page .aa-panels {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .aa-page .aa-panels__arrow {
    align-self: center;
    height: 1.25rem;
    margin: 0.45rem 0;
    transform: rotate(90deg);
    width: 1.25rem;
  }

  .aa-page .aa-panel__preview {
    flex-basis: 8.75rem;
    height: 8.75rem;
    min-height: 8.75rem;
  }
}

@media (max-width: 640px) {
  .aa-page .aa-capabilities {
    grid-template-columns: 1fr;
  }

  .aa-page .aa-capability,
  .aa-page .aa-capability:nth-child(odd),
  .aa-page .aa-capability:nth-child(even) {
    border-left: 0;
    border-right: 0;
    padding: 1.35rem 0;
  }

  .aa-page .aa-capability:first-child {
    padding-top: 0;
  }

  .aa-page .aa-capability:nth-child(n + 2) {
    border-top: 1px solid var(--aa-line);
  }
}

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

  .aa-page .button,
  .aa-page .aa-hero__cue {
    transition: none;
  }
}
