/* Page body styles, written by hand.
 *
 * Replaces the Tailwind utility classes that previously carried the page
 * content. Values are taken from the generated stylesheet they replace:
 * navy #1B244F, green #59D895, light green #EEFBF4, warm gray #F4F1E9,
 * spacing on a 0.25rem scale, desktop breakpoint 1024px, tablet 768px.
 *
 * Base element resets, the .prose typography, .content width, and the vendored
 * font/Font Awesome rules all still come from styles.css.
 */

/* --------------------------------------------------------------- document --- */

/* The site is designed light-only, but nothing ever set a page background, so
 * under an OS dark theme the browser's dark canvas showed through behind the
 * navy body text — heading and body copy became almost unreadable. This affects
 * the ax-2233 build identically; it is not specific to the hand-written CSS.
 *
 * `color-scheme: light` tells the browser the page is light-only, so the default
 * canvas, form controls, and scrollbars all render light. The explicit body
 * background makes the intent stick regardless. */
:root {
  color-scheme: light;
}

body {
  background-color: #fff;
}

/* Lets keyboard and screen-reader users jump past the header, which repeats on
 * every page. Off-screen until focused, then pinned top-left. */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background-color: #fff;
  color: #1b244f;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  text-decoration-line: none;
}

.skip-link:focus {
  left: 0;
  outline: 3px solid #1b244f;
  outline-offset: 2px;
}

/* -------------------------------------------------------------- page shell --- */

.page {
  width: 100%;
}

/* Gradient strip carrying the page title, on every inner page. */
.page-banner {
  background-image: linear-gradient(to right, #f8f9ff, #fff);
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.page-title {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  color: #1b244f;
}

/* Vertical rhythm helper matching the generated stylesheet's space-y-*, which
 * targets every child that follows another (ignoring [hidden] ones). */
.page-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.page-section > :not([hidden]) ~ :not([hidden]) {
  margin-top: 4rem;
  margin-bottom: 0;
}

.page-section--tall {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.lede {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

/* ------------------------------------------------------------ calls to action --- */

.cta-button {
  display: inline-block;
  border-radius: 9999px;
  background-color: #59d895;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  color: #1b244f;
  text-decoration-line: none;
}

.cta-button:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.cta-button:focus-visible {
  outline: 3px solid #1b244f;
  outline-offset: 8px;
}

.cta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.inline-contact {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.email-link {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
  text-decoration-line: underline;
}

.icon-base {
  font-size: 1rem;
  line-height: 1.5rem;
}

/* ----------------------------------------------------------------- contact --- */

.contact-body {
  position: relative;
  overflow: hidden;
}

.prose-block {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* Decorative skewed gradient panel, desktop only. */
.contact-flourish {
  display: none;
  position: absolute;
  left: 66.666667%;
  top: 2rem;
  height: 100%;
  width: 24rem;
  background-image: linear-gradient(to right, #eff1fe, #fff);
  transform: skewX(-30deg);
}

.contact-flourish-mark {
  transform: translate(-5rem, -1rem) skewX(30deg);
  transform-origin: center;
}

/* ------------------------------------------------- shared content components --- */

/* Small heading kicker. Uses the muted navy rather than navy at 50% opacity:
 * the opacity version measured 3.0:1 against both white and #EFF1FE, below the
 * 4.5:1 WCAG AA minimum for text this size. #5A6180 gives 5.4:1 and 6.1:1. */
.eyebrow {
  font-weight: 900;
  text-transform: uppercase;
  color: #5a6180;
}

.band-warm {
  background-color: #f4f1e9;
}

.band-intro {
  padding-top: 3rem;
  padding-bottom: 3rem;
  text-align: center;
}

.band-intro > :not([hidden]) ~ :not([hidden]) {
  margin-top: 2rem;
  margin-bottom: 0;
}

.two-col {
  display: grid;
  gap: 2rem;
}

.two-col--wide {
  gap: 4rem;
}

.grid-stack {
  display: grid;
  gap: 1rem;
}

.section-heading {
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
}

.feature-heading {
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  color: #1b244f;
}

.feature-item {
  display: grid;
  align-content: flex-start;
  align-items: flex-start;
  gap: 1rem;
}

.feature-icon {
  display: flex;
  height: 3rem;
  width: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  background-color: #1b244f;
}

.feature-icon--green {
  background-color: #59d895;
}

/* Tinted rounded panel used for feature call-outs. */
.panel-tinted {
  position: relative;
  border-radius: 0.5rem;
  background-color: #eff1fe;
  padding: 2rem;
}

.panel-prose {
  max-width: 36rem;
}

.panel-prose > :not([hidden]) ~ :not([hidden]) {
  margin-top: 2rem;
  margin-bottom: 0;
}

/* Low-level helpers: hand-written CSS still needs a few. */
.bold-text {
  font-weight: 700;
}

.nowrap {
  white-space: nowrap;
}

.centered {
  text-align: center;
}

.icon-green {
  color: #59d895;
}

.icon-after {
  margin-left: 1rem;
}

.icon-before {
  margin-right: 1rem;
}

.positioned {
  position: relative;
}

/* ------------------------------------------------- solution page components --- */

.pricing-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-radius: 1rem;
  background-color: #f5f7fe;
  padding: 4rem;
}

/* Skewed tinted wash behind the management screenshots, tablet and up. */
.management-band {
  display: none;
  position: relative;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.management-band::before {
  content: '';
  position: absolute;
  top: 33.333333%;
  height: 50%;
  width: 100%;
  transform: skewY(-3deg);
  /* Tailwind fades a gradient to the same colour at zero alpha, not to
   * transparent, so the midpoint does not drift towards black. */
  background-image: linear-gradient(
    to bottom,
    rgb(239 241 254 / 0.5),
    rgb(239 241 254 / 0)
  );
}

.band-tight {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* Scrolling brick-wall band on the security page. */
.security-band {
  background-color: #f5f7fe;
  background-image: url('/background/brick-wall-pattern.svg');
  background-blend-mode: multiply;
  text-align: center;
  color: #fff;
}

.security-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
}

.security-figure {
  display: none;
  transform: translateY(-3.5rem);
}

.anim-slow,
.anim-medium {
  transform-origin: center;
  transition-property: all;
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

.anim-slow {
  transition-duration: 1000ms;
}

.anim-medium {
  transition-duration: 700ms;
}

.anim-delayed {
  transform-origin: center;
  transition-delay: 500ms;
  transition-duration: 1000ms;
}

.anim-delayed--out {
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

.anim-delayed--in {
  transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
}

/* Desaturated customer logo strip. */
.logo-band {
  width: 100%;
  background-color: #fff;
  padding-top: 4rem;
  padding-bottom: 4rem;
  color: #1b244f;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.logo-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0.3;
  filter: saturate(0);
  overflow-x: auto;
}

/* ------------------------------------------------------------------- why --- */

/* Illustration that sits inline on mobile and is pinned beside the copy on
 * desktop. The --right/--in/--out variants differ only in horizontal offset. */
.why-figure {
  margin-left: auto;
  margin-right: auto;
  margin-top: 1rem;
  margin-bottom: 1rem;
  width: 100%;
  max-width: 24rem;
}

/* ------------------------------------------------------------- home page --- */

.hero {
  position: relative;
  margin-bottom: -4rem;
  background-color: #eefbf4;
}

/* Two soft green radial glows behind the hero copy. The unusual first stop
 * reproduces the generated stylesheet's radial-gradient position syntax. */
.hero-content {
  position: relative;
  z-index: 20;
}

.hero-content::before,
.hero-content::after {
  content: '';
  position: absolute;
  top: 0;
  height: 315px;
  background-image: radial-gradient(
    50% 50% at 50% 50%,
    rgba(89, 216, 149, 0.3) 0%,
    rgba(89, 216, 149, 0) 100%
  );
}

.hero-content::before {
  left: 0;
  width: 425px;
  transform: translateX(-75%);
}

.hero-content::after {
  right: 0;
  z-index: 0;
  width: 530px;
  transform: translate(-25%, -33.333333%);
}

.hero-copy {
  position: relative;
  z-index: 10;
  display: grid;
  max-width: 32rem;
  gap: 2rem;
  padding-top: 2rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  column-gap: 2rem;
  row-gap: 1rem;
}

.hero-figure {
  margin: 2rem;
  margin-bottom: 0;
  height: 13rem;
  overflow: hidden;
}

.stat {
  display: block;
}

.stat-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1rem;
}

.stat-value {
  display: block;
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 900;
  opacity: 0.9;
}

.stat-label {
  font-size: 0.875rem;
  line-height: 1.25rem;
  text-transform: uppercase;
  opacity: 0.7;
}

.col-2 {
  grid-column-start: 2;
}

.full-width {
  width: 100%;
}

/* Plain bold link with the standard focus ring. */
.text-link {
  display: inline-block;
  border-radius: 0.375rem;
  font-weight: 700;
}

.text-link:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.text-link:focus-visible {
  outline: 3px solid #1b244f;
  outline-offset: 8px;
}

/* Outlined pill CTA that inverts on hover. */
.cta-button-outline {
  display: inline-block;
  border-radius: 9999px;
  border-width: 2px;
  border-color: #1b244f;
  background-color: #fff;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  color: #1b244f;
  text-decoration-line: none;
}

.cta-button-outline:hover {
  background-color: #1b244f;
  color: #fff;
}

.cta-button-outline:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.cta-button-outline:focus-visible {
  outline: 3px solid #59d895;
  outline-offset: 8px;
}

/* Channel tabs on the home page, selected state driven by site.js. */
.tab-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  white-space: nowrap;
  border-radius: 9999px;
  background-color: #121b45;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  color: #fff;
}

.tab-pill:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.tab-pill[data-state~='selected'],
[data-state~='selected'] .tab-pill {
  background-color: #070f32;
  box-shadow:
    0 4px 6px -1px rgb(0 0 0 / 0.1),
    0 2px 4px -2px rgb(0 0 0 / 0.1);
}

/* The keyboard focus ring for tabs lives in site.css, which loads before this
 * file at the same specificity — so the selected state's own shadow would
 * otherwise replace it and the focused tab would have no visible indicator.
 * Restate both here: ring first, then the selected elevation. */
.tab-pill[data-state~='selected']:focus-visible,
[data-state~='selected'] .tab-pill:focus-visible {
  box-shadow:
    0 0 0 0 #fff,
    0 0 0 3px #59d895,
    0 4px 6px -1px rgb(0 0 0 / 0.1),
    0 2px 4px -2px rgb(0 0 0 / 0.1);
}

[data-keyboard-focus] .tab-pill:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  box-shadow:
    0 0 0 0 #fff,
    0 0 0 3px #59d895;
}

.showcase {
  display: grid;
  overflow: hidden;
  border-radius: 0.75rem;
  background-color: #070f32;
  color: #fff;
  box-shadow:
    0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.showcase-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #eff1fe;
  color: #1b244f;
}

.showcase-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    to bottom right,
    rgb(255 255 255 / 0),
    #1b244f
  );
}

.showcase-copy {
  padding: 2rem;
}

.showcase-copy > :not([hidden]) ~ :not([hidden]) {
  margin-top: 2rem;
  margin-bottom: 0;
}

.showcase-figure {
  margin: 2rem;
  max-width: 24rem;
}

.showcase-figure-narrow {
  margin-left: auto;
  margin-right: auto;
  margin-top: 2rem;
  margin-bottom: 2rem;
  max-width: 28rem;
}

.showcase-image {
  height: 100%;
  min-height: 200px;
  width: 100%;
}

.showcase-image-zoom {
  transform: scale(1.1);
  transform-origin: top;
  object-fit: cover;
  object-position: left top;
}

.navy-band {
  position: relative;
  overflow: hidden;
  background-color: #1b244f;
  padding-top: 6rem;
  padding-bottom: 6rem;
  color: #fff;
}

.navy-band-bg {
  position: absolute;
  left: 50%;
  right: 0;
  top: 0;
}

/* Brick-wall illustration band. */
.brick-band {
  background-image: url('/background/home-brick-wall.svg');
  background-position: center top 0;
  background-repeat: no-repeat;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.brick-figure {
  max-width: 100%;
  transform: scale(0.85);
}

.three-col {
  display: grid;
  width: 100%;
  gap: 1rem;
}

/* Vertical rhythm without padding, for sections that set their own. */
.stack-8 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 2rem;
  margin-bottom: 0;
}

.stack-16 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 4rem;
  margin-bottom: 0;
}

.stack-24 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 6rem;
  margin-bottom: 0;
}

/* --------------------------------------------------------------- channels --- */

/* Interactive branding demo. The bg-*-500 and opacity-0 class names below are
 * kept verbatim because site.js adds and removes them by name (see the colors
 * array in site.js); they are hand-written rules here, not Tailwind output. */
.bg-rose-500 {
  background-color: rgb(244 63 94);
}

.bg-amber-500 {
  background-color: rgb(245 158 11);
}

.bg-emerald-500 {
  background-color: rgb(16 185 129);
}

.bg-sky-500 {
  background-color: rgb(14 165 233);
}

.bg-indigo-500 {
  background-color: rgb(99 102 241);
}

.opacity-0 {
  opacity: 0;
}

.channels-demo {
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.channels-preview {
  position: relative;
  grid-column: span 2 / span 2;
  display: flex;
  user-select: none;
  flex-direction: column;
  gap: 1rem;
  border-top-left-radius: 0.75rem;
  border-bottom-left-radius: 0.75rem;
  background-color: #eff1fe;
  padding: 1rem;
}

.channels-field {
  width: 100%;
  border-radius: 0.375rem;
  background-color: rgb(243 244 246);
  padding: 0.5rem 1rem;
}

.channels-caption {
  width: 100%;
  text-align: center;
  font-weight: 700;
  /* Muted navy rather than navy at 50%: the latter measured 3.0:1 on #EFF1FE. */
  color: #5a6180;
}

.channels-canvas {
  width: 100%;
  flex: 1 1 0%;
  overflow: hidden;
  border-radius: 0.375rem;
  background-image: linear-gradient(to bottom, #fff, #eff1fe);
}

.channels-canvas-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
}

.channels-card {
  margin-left: auto;
  margin-right: auto;
  display: grid;
  width: 400px;
  transform: translateY(-33.333333%);
  gap: 2rem;
  border-radius: 0.5rem;
  background-color: #fff;
  padding: 2rem;
  box-shadow:
    0 4px 6px -1px rgb(0 0 0 / 0.1),
    0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.channels-panel {
  position: relative;
  display: grid;
  height: 100%;
  align-content: flex-start;
  align-items: flex-start;
  gap: 2rem;
  border-top-right-radius: 0.75rem;
  border-bottom-right-radius: 0.75rem;
  background-image: linear-gradient(to bottom right, #1b244f, #3d4779);
  padding: 2rem;
  color: #fff;
}

.channels-label {
  font-weight: 700;
  color: #c4c9e9;
}

.channels-name-input {
  border-radius: 0.375rem;
  background-color: #1b244f;
  padding: 1rem;
}

.channels-name-input:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  box-shadow:
    0 0 0 0 #fff,
    0 0 0 3px rgb(255 255 255 / 0.1);
}

.channels-swatches {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

/* Colour swatch and preview tile share the same multiply-blended sheen. */
.channels-swatch,
.channels-tile {
  position: relative;
  height: 2rem;
  width: 2rem;
  overflow: hidden;
  background-blend-mode: multiply;
}

.channels-swatch::before,
.channels-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    to bottom right,
    rgb(0 0 0 / 0.5),
    rgb(255 255 255 / 0.5)
  );
  mix-blend-mode: multiply;
}

.channels-swatch {
  border-radius: 9999px;
}

.channels-swatch:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  box-shadow:
    0 0 0 0 #fff,
    0 0 0 3px rgb(255 255 255 / 0.3);
}

.channels-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  transition-property: color, background-color, border-color,
    text-decoration-color, fill, stroke;
  transition-duration: 200ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.channels-swatch-bar {
  height: 12rem;
  opacity: 0.2;
  transition-property: color, background-color, border-color,
    text-decoration-color, fill, stroke;
  transition-duration: 200ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mock call-to-action in the branding demo. Its background is whichever theme
 * colour the visitor picks, so the label has to stay legible on all five. White
 * text failed on every one of them (2.2:1 to 4.5:1). Navy at large-text size
 * clears the 3:1 large-text minimum on all five, worst case 3.3:1 on indigo. */
.channels-button {
  border-radius: 0.375rem;
  padding: 0.5rem;
  text-align: center;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
  color: #1b244f;
  transition-property: color, background-color, border-color,
    text-decoration-color, fill, stroke;
  transition-duration: 200ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.channels-figure {
  margin-bottom: -2rem;
  height: auto;
  width: 100%;
  max-width: 24rem;
  transform: translateY(-4rem);
}

.row-bold {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 700;
}

.two-col-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.grid-stack-sm {
  display: grid;
  gap: 0.5rem;
}

.text-small {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.icon-muted {
  color: rgb(156 163 175);
}

.icon-navy {
  color: #1b244f;
}

.icon-white {
  color: #fff;
}

.icon-faded {
  opacity: 0.3;
}

/* ------------------------------------------------------------------ about --- */

.person {
  display: flex;
  max-width: 100%;
  align-items: flex-start;
  gap: 1rem;
  overflow: hidden;
}

.person-avatar {
  position: relative;
  height: 3.5rem;
  width: 3.5rem;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 9999px;
}

/* Navy wash over the portrait, blended so it tints rather than covers. */
.person-avatar::after {
  content: '';
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  background-color: rgb(27 36 79 / 0.3);
  mix-blend-mode: overlay;
}

.person-detail {
  min-width: 0;
  flex: 1 1 0%;
}

.person-detail > :not([hidden]) ~ :not([hidden]) {
  margin-top: 1rem;
  margin-bottom: 0;
}

.person-name {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 700;
}

.person-role {
  display: block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.person-lead {
  display: block;
  margin-bottom: 1rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.team-layout {
  display: grid;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.team-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.team-section > :not([hidden]) ~ :not([hidden]) {
  margin-top: 2rem;
  margin-bottom: 0;
}

/* Navy call-to-action band at the foot of the about page. */
.about-cta {
  position: relative;
  margin-top: 4rem;
  background-color: #1b244f;
  padding-top: 4rem;
  padding-bottom: 4rem;
  color: #fff;
  overflow: hidden;
}

.about-cta-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 100%;
}

.about-cta-figure {
  position: relative;
  margin-bottom: 4rem;
  height: 20rem;
  width: 100%;
  border-style: dotted;
  border-bottom-width: 1px;
  border-bottom-color: rgb(255 255 255 / 0.1);
}

.about-cta-layout {
  position: relative;
  display: grid;
  align-content: flex-start;
  align-items: flex-start;
  gap: 2rem;
}

.hero-heading {
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 700;
}

/* White pill CTA used on the navy band. */
.cta-button-light {
  border-radius: 9999px;
  background-color: #fff;
  padding: 0.75rem 1.5rem;
  color: #1b244f;
  text-decoration-line: none;
}

.icon-after-sm {
  margin-left: 0.5rem;
}

.link-strong {
  font-weight: 700;
  text-decoration-line: underline;
}

/* ---------------------------------------------------------- integrations --- */

.integration-card {
  border-radius: 0.5rem;
  border-width: 1px;
  border-color: #f3f4f6;
  background-color: #fff;
  padding: 2rem;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.integration-card > :not([hidden]) ~ :not([hidden]) {
  margin-top: 2rem;
  margin-bottom: 0;
}

.integration-name {
  display: block;
  font-weight: 700;
}

.integration-intro {
  margin-bottom: 4rem;
}

.integration-intro > :not([hidden]) ~ :not([hidden]) {
  margin-top: 4rem;
  margin-bottom: 0;
}

.integration-tabs {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
}

.integration-tab {
  border-bottom-width: 2px;
  border-color: #f3f4f6;
  padding: 1rem;
  font-weight: 700;
}

/* Selected tab, driven by the data-state attribute site.js sets. */
.integration-tab[data-state~='selected'],
[data-state~='selected'] .integration-tab {
  border-color: #59d895;
}

.integration-figure {
  margin-left: auto;
  margin-right: auto;
  height: auto;
  max-width: 100%;
}

/* ------------------------------------------------------------- A/B testing --- */

.ab-step {
  display: grid;
  align-items: center;
  justify-content: center;
  justify-items: center;
  gap: 1rem;
  padding: 2.5rem;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 900;
}

.ab-steps {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  list-style-type: none;
}

.ab-card {
  height: auto;
  width: 100%;
  border-radius: 0.75rem;
  background-color: #f5f7fe;
  padding: 1.5rem;
}

.ab-card > :not([hidden]) ~ :not([hidden]) {
  margin-top: 2rem;
  margin-bottom: 0;
}

.ab-card-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-weight: 700;
}

.ab-chevron {
  font-size: 2.25rem;
  line-height: 2.5rem;
  color: rgb(27 36 79 / 0.1);
}

.ab-layout {
  display: grid;
  align-items: center;
  gap: 2rem;
}

.ab-figure {
  margin-left: auto;
  margin-right: auto;
  width: 15rem;
}

/* Gradient band behind the A/B testing illustration, desktop only. */
.ab-band {
  display: none;
  width: 100%;
  overflow: hidden;
  border-top-width: 1px;
  border-bottom-width: 1px;
  border-color: #eff1fe;
  background-image: linear-gradient(to bottom, #fff, #eff1fe);
}

.band-plain {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.grid-stack-lg {
  display: grid;
  gap: 2rem;
}

/* ---------------------------------------------------------------- partners --- */

.partner-row {
  position: relative;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.partner-layout {
  display: grid;
  align-content: flex-start;
  gap: 2rem;
  overflow: visible;
}

.partner-copy {
  display: grid;
  align-content: flex-start;
  gap: 1rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.partner-logo {
  height: 2.5rem;
  width: 10rem;
}

.partner-logos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  justify-content: space-evenly;
  gap: 2rem;
  list-style-type: none;
}

/* Mock browser window framing the partner screenshots. */
.partner-window {
  display: grid;
  gap: 1rem;
  border-radius: 0.5rem;
  background-color: #eff1fe;
  padding: 1rem;
}

.partner-window-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow: hidden;
}

.partner-window-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 8px;
  opacity: 0.2;
}

.partner-window-title {
  width: 100%;
  flex: 1 1 0%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
  font-weight: 700;
  /* Muted navy rather than navy at 50%: the latter measured 3.0:1 on #EFF1FE. */
  color: #5a6180;
}

.partner-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
  border-radius: 0.125rem;
}

/* --------------------------------------------------------- solutions index --- */

.solution-index {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.solution-index > :not([hidden]) ~ :not([hidden]) {
  margin-top: 2rem;
  margin-bottom: 0;
}

.solution-grid {
  display: grid;
  gap: 1rem;
  list-style-type: none;
}

.solution-card {
  display: grid;
  width: 100%;
  justify-content: center;
  justify-items: center;
  gap: 1rem;
  border-radius: 0.5rem;
  background-color: #f5f7fe;
  /* p-8 then py-12: the vertical value wins in the generated stylesheet. */
  padding: 3rem 2rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 700;
}

.solution-card-label {
  text-align: center;
  font-weight: 700;
}

/* ------------------------------------------------------------ legal pages --- */

.legal-layout {
  display: grid;
  gap: 4rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
  align-items: flex-start;
}

.legal-toc {
  margin-left: 2rem;
  top: 2rem;
  max-width: 100%;
  list-style-type: decimal;
}

.plain-link {
  text-decoration-line: none;
}

.clause-number {
  margin-right: 0.5rem;
}

@media (min-width: 768px) {
  .cta-row {
    flex-direction: row;
  }

  .solution-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partner-logos {
    display: flex;
  }

  .management-band {
    display: block;
  }

  .hero {
    margin-bottom: 0;
    padding-bottom: 6rem;
  }

  .hero-figure {
    position: absolute;
    left: 50%;
    top: 0;
    z-index: 20;
    margin: 0;
    height: 100%;
    width: 800px;
    transform: translateX(7rem);
  }
}

@media (min-width: 1024px) {
  .page-banner {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .page-title {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }

  .contact-flourish {
    display: block;
  }

  .solution-index {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .solution-index > :not([hidden]) ~ :not([hidden]) {
    margin-top: 4rem;
  }

  .solution-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .legal-layout {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .legal-toc {
    margin-left: 0;
    position: sticky;
  }

  .legal-body {
    grid-column: span 2 / span 2;
  }

  .two-col,
  .partner-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .panel-tinted {
    padding: 4rem;
  }

  .partner-window {
    height: 580px;
    width: 530px;
  }

  .partner-window--right {
    transform: translateX(8rem);
  }

  .partner-window--left {
    transform: translateX(-8rem);
  }

  .band-tight,
  .security-band {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .security-row {
    flex-direction: row;
  }

  .security-figure {
    display: block;
  }

  .shift-down-lg {
    transform: translateY(5rem);
  }

  .anim-delayed {
    transition-property: all;
  }

  .why-figure {
    position: absolute;
    right: 0;
    top: 50%;
    margin-top: 0;
    margin-bottom: 0;
    height: 100%;
    width: auto;
    transform: translateY(-50%);
  }

  .why-figure--out {
    right: -1rem;
  }

  .why-figure--in {
    right: 1rem;
    transform: translateY(-50%) scale(0.75);
  }

  .integration-figure {
    position: absolute;
    right: 0;
    top: 50%;
    margin-left: 0;
    margin-right: 0;
    transform: translate(50%, -50%);
  }

  .ab-band {
    display: block;
  }

  .ab-layout {
    margin-left: auto;
    width: 750px;
    justify-content: flex-end;
  }

  .person {
    gap: 2rem;
  }

  .person-avatar {
    height: 5rem;
    width: 5rem;
  }

  .about-cta {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .about-cta-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-cta-copy {
    grid-column-start: 2;
  }

  .about-cta-figure {
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-bottom: 0;
    height: calc(100% + 5rem);
    width: auto;
    transform: translateX(-100%);
    border-width: 0;
  }

  .channels-demo {
    display: grid;
  }

  .channels-figure {
    position: absolute;
    right: 0;
    top: 50%;
    margin-bottom: 0;
    width: auto;
    max-width: none;
    transform: translate(4rem, -50%);
  }

  .hero {
    padding-top: 2rem;
  }

  .hero-figure {
    transform: translateX(1rem);
  }

  .hero-stats {
    margin-top: 2rem;
  }

  .showcase {
    min-height: 320px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showcase-copy {
    padding: 3rem;
  }

  .showcase-figure {
    margin: 4rem;
  }

  .navy-band {
    padding-top: 9rem;
    padding-bottom: 9rem;
  }

  .brick-band {
    background-position: left calc(50% - 384px) top 0;
    padding-top: 9rem;
    padding-bottom: 9rem;
  }

  .brick-figure {
    transform: scale(1);
  }

  .three-col {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }
}

@media (min-width: 640px) {
  .integration-figure {
    max-width: 24rem;
  }

  .ab-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.two-col-full {
  display: grid;
  width: 100%;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .two-col-full {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4rem;
  }
}
