:root {
  color-scheme: light;
  --af-ink: #10202f;
  --af-muted: #647285;
  --af-border: #d8e1eb;
  --af-panel: #ffffff;
  --af-soft: #f3f7fb;
  --af-page-bg: #f8fafc;
  --af-teal: #00a896;
  --af-blue: #1f5a93;
  --af-app-blue: #0747a6;
  --af-amber: #f5b841;
  --af-coral: #e86f51;
  --wa-color-brand-fill-loud: var(--af-teal);
  --wa-color-brand-border-loud: #008b7d;
  --wa-color-brand-on-loud: #ffffff;
  --wa-border-radius-m: 8px;
  --wa-border-radius-l: 8px;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

:root.wa-light {
  color-scheme: light;
}

:root.wa-dark {
  color-scheme: dark;
  --af-ink: #e6edf3;
  --af-muted: #9aa8b8;
  --af-border: #364350;
  --af-panel: #1b2128;
  --af-soft: #171d23;
  --af-page-bg: #101418;
  --af-teal: #44d7c7;
  --af-blue: #8ab8ff;
  --af-app-blue: #0c336a;
  --af-amber: #f5c26b;
  --af-coral: #ff9c8f;
  --wa-color-brand-fill-loud: #00a896;
  --wa-color-brand-border-loud: #27c9ba;
  --wa-color-brand-on-loud: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root:not(.wa-light) {
    color-scheme: dark;
    --af-ink: #e6edf3;
    --af-muted: #9aa8b8;
    --af-border: #364350;
    --af-panel: #1b2128;
    --af-soft: #171d23;
    --af-page-bg: #101418;
    --af-teal: #44d7c7;
    --af-blue: #8ab8ff;
    --af-app-blue: #0c336a;
    --af-amber: #f5c26b;
    --af-coral: #ff9c8f;
    --wa-color-brand-fill-loud: #00a896;
    --wa-color-brand-border-loud: #27c9ba;
    --wa-color-brand-on-loud: #ffffff;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--af-ink);
  background: var(--af-page-bg);
  font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.af-site {
  min-height: 100vh;
  overflow-x: clip;
}

.af-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  min-height: 80px;
  padding: 14px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--af-app-blue);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 28px rgba(7, 71, 166, 0.22);
  transition: min-height 180ms ease, padding 180ms ease, box-shadow 180ms ease, background 180ms ease;
  will-change: min-height, padding;
}

.af-topbar.is-compact {
  min-height: 58px;
  padding-block: 7px;
  background: color-mix(in srgb, var(--af-app-blue) 94%, #000000 6%);
  box-shadow: 0 12px 34px rgba(7, 71, 166, 0.28);
}

.af-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  width: min(196px, 44vw);
  height: 52px;
  overflow: visible;
  transition: width 180ms ease, height 180ms ease;
}

.af-brand__logo,
.af-brand__icon {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.18));
  object-fit: contain;
  object-position: left center;
}

.af-brand__icon {
  display: none;
}

.af-topbar.is-compact .af-brand {
  width: 50px;
  height: 44px;
}

.af-topbar.is-compact .af-brand__logo {
  display: none;
}

.af-topbar.is-compact .af-brand__icon {
  display: block;
}

.af-topbar__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1 1 auto;
  gap: 18px;
  min-width: 0;
}

.af-nav {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  gap: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
  font-weight: 650;
}

.af-nav .neos-contentcollection {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  gap: 18px;
}

.af-nav .neos-contentcollection > * {
  display: inline-flex;
  align-items: center;
}

.af-header-link {
  display: inline-flex;
  align-items: center;
}

.af-header-link:hover {
  color: #ffffff;
}

.af-utility {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
}

.af-language-dropdown {
  flex: 0 0 auto;
}

.af-language-dropdown__trigger {
  --wa-color-neutral-on-normal: rgba(255, 255, 255, 0.84);
  --wa-color-neutral-border-normal: rgba(255, 255, 255, 0.28);
  font-weight: 800;
}

.af-language-dropdown__trigger::part(base) {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.84);
  min-height: 34px;
  min-width: 82px;
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.af-language-dropdown__trigger:hover::part(base) {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.38);
}

.af-language-dropdown__trigger wa-icon {
  width: 15px;
  height: 15px;
}

.af-language-dropdown::part(panel) {
  min-width: 170px;
  padding: 6px;
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(18, 36, 58, 0.18);
}

.af-language-dropdown wa-dropdown-item::part(base) {
  border-radius: 6px;
  font-weight: 650;
}

.af-theme-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
}

.af-theme-control wa-icon {
  width: 17px;
  height: 17px;
}

.af-theme-control wa-icon:last-child {
  color: #ffffff;
}

.af-theme-switch {
  flex: 0 0 auto;
}

.af-theme-switch::part(control) {
  border-color: rgba(255, 255, 255, 0.44);
  background-color: rgba(255, 255, 255, 0.18);
}

.af-theme-switch:state(checked)::part(control) {
  border-color: #ffffff;
  background-color: #ffffff;
}

.af-theme-switch:state(checked)::part(thumb) {
  background-color: var(--af-app-blue);
}

.af-topbar .af-header-app-link {
  --wa-color-brand-fill-normal: #ffffff;
  --wa-color-brand-border-normal: rgba(255, 255, 255, 0.92);
  --wa-color-brand-on-normal: #0747a6;
  --wa-color-brand-fill-loud: #ffffff;
  --wa-color-brand-border-loud: rgba(255, 255, 255, 0.88);
  --wa-color-brand-on-loud: #0747a6;
  margin-left: auto;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.18));
}

:root.wa-dark .af-topbar .af-header-app-link {
  --wa-color-brand-fill-normal: #ffffff;
  --wa-color-brand-border-normal: #ffffff;
  --wa-color-brand-on-normal: #0747a6;
}

.af-hero,
.af-page-hero,
.af-section,
.af-metrics {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.af-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 82px);
  padding: clamp(48px, 8vw, 96px) 0 clamp(32px, 6vw, 72px);
}

.af-hero--with-media {
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
}

.af-hero__content {
  display: grid;
  gap: 22px;
}

.af-hero-eyebrow {
  --wa-color-brand-fill-normal: color-mix(in srgb, var(--af-teal) 13%, var(--af-panel));
  --wa-color-brand-border-normal: color-mix(in srgb, var(--af-teal) 52%, var(--af-border));
  --wa-color-brand-on-normal: var(--af-ink);
  display: inline-flex;
  align-items: center;
  align-self: start;
  width: fit-content;
  min-height: 2.15rem;
  padding: 0.48rem 0.86rem;
  box-shadow: 0 14px 34px rgba(0, 168, 150, 0.16);
  font-size: 0.84rem;
  line-height: 1;
}

.af-hero-eyebrow::part(base) {
  white-space: normal;
}

.af-hero-eyebrow::part(start) {
  display: inline-flex;
  align-items: center;
}

.af-hero-eyebrow wa-icon,
.af-hero-eyebrow__svg-icon {
  display: block;
  flex: 0 0 auto;
  width: 0.95rem;
  height: 0.95rem;
}

.af-hero-eyebrow wa-icon {
  color: var(--af-teal);
}

.af-hero-eyebrow__svg-icon {
  object-fit: contain;
}

.af-hero h1,
.af-page-hero h1 {
  margin: 0;
  color: var(--af-ink);
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: 0;
  max-width: 11ch;
}

.af-lead,
.af-page-hero .af-rich-text,
.af-section__intro .af-rich-text,
.af-media-showcase__copy .af-rich-text,
.af-cta .af-rich-text {
  color: var(--af-muted);
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  line-height: 1.7;
}

.af-lead {
  max-width: 680px;
}

.af-rich-text {
  color: var(--af-muted);
}

.af-rich-text :where(p, ul, ol, h2, h3, h4, blockquote, pre) {
  margin: 0;
}

.af-rich-text :where(p, ul, ol, h2, h3, h4, blockquote, pre) + :where(p, ul, ol, h2, h3, h4, blockquote, pre) {
  margin-top: 0.75em;
}

.af-rich-text :where(ul, ol) {
  padding-left: 1.25em;
}

.af-rich-text :where(h2, h3, h4) {
  color: var(--af-ink);
  line-height: 1.18;
  letter-spacing: 0;
}

.af-rich-text h2 {
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
}

.af-rich-text h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.af-rich-text h4 {
  font-size: 1.08rem;
}

.af-rich-text blockquote {
  padding-left: 1rem;
  border-left: 3px solid var(--af-teal);
  color: var(--af-ink);
}

.af-rich-text a {
  color: var(--af-blue);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.af-rich-text code,
.af-code-block code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, ui-monospace, monospace;
  font-size: 0.92em;
}

.af-rich-text :not(pre) > code {
  padding: 0.08em 0.32em;
  border: 1px solid color-mix(in srgb, var(--af-border) 78%, transparent);
  border-radius: 5px;
  background: color-mix(in srgb, var(--af-blue) 8%, var(--af-panel));
  color: var(--af-ink);
}

.af-rich-text pre,
.af-code-block__pre {
  overflow-x: auto;
  max-width: 100%;
  margin: 0;
  padding: 1rem;
  border: 1px solid var(--af-border);
  border-radius: 8px;
  background: color-mix(in srgb, var(--af-soft) 78%, #ffffff 22%);
  color: var(--af-ink);
  line-height: 1.58;
  tab-size: 2;
}

.af-code-copy-frame {
  position: relative;
}

.af-rich-text pre {
  white-space: pre-wrap;
}

.af-code-block__pre {
  white-space: pre;
}

.af-rich-text pre code,
.af-code-block__pre code {
  display: block;
  min-width: max-content;
  background: transparent;
  color: inherit;
}

.af-code-token--comment {
  color: #6a737d;
  font-style: italic;
}

.af-code-token--keyword {
  color: #b4235a;
}

.af-code-token--string {
  color: #0f6c54;
}

.af-code-token--number,
.af-code-token--literal {
  color: #1f5a93;
}

.af-code-token--tag,
.af-code-token--selector {
  color: #7f4ab8;
}

.af-code-token--attribute,
.af-code-token--key {
  color: #9a5b13;
}

.af-code-copy-button {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 2;
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--af-border) 78%, transparent);
  border-radius: 6px;
  background: color-mix(in srgb, var(--af-panel) 92%, transparent);
  color: var(--af-muted);
  box-shadow: 0 10px 28px rgba(12, 21, 33, 0.14);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    opacity 160ms ease,
    transform 160ms ease;
}

.af-code-copy-button wa-icon {
  width: 0.95rem;
  height: 0.95rem;
}

.af-code-copy-button:hover,
.af-code-copy-button:focus-visible {
  background: var(--af-panel);
  color: var(--af-ink);
  transform: translateY(-1px);
}

.af-code-copy-button[data-af-copied="true"] {
  color: #0f6c54;
}

.af-code-block:hover > .af-code-copy-button,
.af-code-block:focus-within > .af-code-copy-button,
.af-code-copy-frame:hover > .af-code-copy-button,
.af-code-copy-frame:focus-within > .af-code-copy-button {
  opacity: 1;
  pointer-events: auto;
}

.af-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.af-hero__media {
  width: 100%;
  min-height: 360px;
  border: 1px solid var(--af-border);
  border-radius: 8px;
  background: var(--af-panel);
  box-shadow: 0 24px 80px rgba(31, 90, 147, 0.15);
}

.af-product-frame,
.af-hero__media--image {
  margin: 0;
  overflow: hidden;
}

.af-product-frame {
  display: grid;
}

.af-product-frame__trigger {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  min-height: inherit;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
}

.af-product-frame__trigger[data-af-lightbox-trigger] {
  cursor: zoom-in;
}

.af-product-frame__asset {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.af-product-frame__zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid color-mix(in srgb, var(--af-border) 60%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--af-panel) 88%, transparent);
  color: var(--af-blue);
  box-shadow: 0 10px 24px rgba(16, 32, 47, 0.16);
}

.af-product-frame__zoom wa-icon {
  width: 18px;
  height: 18px;
}

.af-product-frame__asset--dark {
  display: none;
}

:root.wa-dark .af-product-frame__asset--light {
  display: none;
}

:root.wa-dark .af-product-frame__asset--dark {
  display: block;
}

@media (prefers-color-scheme: dark) {
  :root:not(.wa-light) .af-product-frame__asset--light {
    display: none;
  }

  :root:not(.wa-light) .af-product-frame__asset--dark {
    display: block;
  }
}

.af-product-frame__asset img,
.af-hero__media--image img,
.af-media-frame img,
.af-screenshot-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.af-image-lightbox::part(panel),
.af-screenshot-lightbox::part(panel) {
  width: var(--af-lightbox-width, min(calc(100vw - 112px), 1280px));
  max-width: calc(100vw - 112px);
  max-height: calc(100vh - 112px);
  overflow: hidden;
}

.af-image-lightbox,
.af-screenshot-lightbox {
  --width: var(--af-lightbox-width, min(calc(100vw - 112px), 1280px));
}

.af-image-lightbox::part(body),
.af-screenshot-lightbox::part(body) {
  padding: 0;
  overflow: hidden;
}

.af-image-lightbox::part(header),
.af-screenshot-lightbox::part(header) {
  padding-bottom: 8px;
}

.af-image-lightbox__body,
.af-screenshot-lightbox__body {
  display: grid;
  place-items: center;
  width: var(--af-lightbox-width, min(calc(100vw - 112px), 1280px));
  height: var(--af-lightbox-height, auto);
  max-width: min(calc(100vw - 112px), 1280px);
  max-height: calc(100vh - 180px);
  margin-top: 12px;
  overflow: hidden;
  background: var(--af-soft);
}

.af-image-lightbox__asset,
.af-screenshot-lightbox__asset {
  grid-area: 1 / 1;
  display: grid;
  place-items: center;
  width: var(--af-lightbox-width, min(calc(100vw - 112px), 1280px));
  height: var(--af-lightbox-height, auto);
  max-width: min(calc(100vw - 112px), 1280px);
  max-height: calc(100vh - 180px);
}

.af-image-lightbox__asset--dark,
.af-screenshot-lightbox__asset--dark {
  display: none;
}

:root.wa-dark .af-image-lightbox__asset--light,
:root.wa-dark .af-screenshot-lightbox__asset--light {
  display: none;
}

:root.wa-dark .af-image-lightbox__asset--dark,
:root.wa-dark .af-screenshot-lightbox__asset--dark {
  display: grid;
}

@media (prefers-color-scheme: dark) {
  :root:not(.wa-light) .af-image-lightbox__asset--light,
  :root:not(.wa-light) .af-screenshot-lightbox__asset--light {
    display: none;
  }

  :root:not(.wa-light) .af-image-lightbox__asset--dark,
  :root:not(.wa-light) .af-screenshot-lightbox__asset--dark {
    display: grid;
  }
}

.af-image-lightbox__body img,
.af-screenshot-lightbox__body img {
  display: block;
  width: var(--af-lightbox-width, auto);
  max-width: min(calc(100vw - 112px), 1280px);
  max-height: calc(100vh - 180px);
  height: auto;
  object-fit: contain;
}

@media (max-width: 720px) {
  .af-image-lightbox::part(panel),
  .af-screenshot-lightbox::part(panel) {
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 32px);
  }

  .af-image-lightbox,
  .af-screenshot-lightbox {
    --width: var(--af-lightbox-width, calc(100vw - 32px));
  }

  .af-image-lightbox__body,
  .af-screenshot-lightbox__body {
    width: var(--af-lightbox-width, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 120px);
  }

  .af-image-lightbox__asset,
  .af-screenshot-lightbox__asset,
  .af-image-lightbox__body img,
  .af-screenshot-lightbox__body img {
    width: var(--af-lightbox-width, auto);
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 120px);
  }
}

.af-page-hero {
  padding: clamp(64px, 9vw, 120px) 0 clamp(32px, 5vw, 64px);
}

.af-page-hero h1 {
  max-width: 14ch;
}

.af-section {
  padding: clamp(48px, 8vw, 96px) 0;
}

.af-section__intro {
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin-bottom: 28px;
}

.af-section__intro h2,
.af-media-showcase__copy h2,
.af-cta h2 {
  margin: 0;
  color: var(--af-ink);
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.af-section__intro .af-rich-text,
.af-media-showcase__copy .af-rich-text,
.af-cta .af-rich-text {
  margin: 0;
}

.af-card-grid {
  --af-card-grid-columns: 1fr;
  display: grid;
  grid-template-columns: var(--af-card-grid-columns);
  gap: 18px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  justify-self: stretch;
}

.af-card-grid .neos-contentcollection {
  display: grid !important;
  grid-column: 1 / -1 !important;
  grid-template-columns: var(--af-card-grid-columns) !important;
  gap: inherit !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

.af-card-grid .neos-contentcollection > * {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  justify-self: stretch !important;
}

.af-card-grid .neos-contentcollection > * > .af-feature-card,
.af-card-grid .neos-contentcollection > * > .af-screenshot-card,
.af-card-grid .neos-contentcollection > .af-feature-card,
.af-card-grid .neos-contentcollection > .af-screenshot-card {
  width: 100% !important;
  max-width: none !important;
  justify-self: stretch !important;
}

.af-card-grid .af-feature-card,
.af-card-grid .af-screenshot-card {
  display: block;
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  justify-self: stretch;
}

.af-card-grid--three {
  --af-card-grid-columns: repeat(3, minmax(240px, 1fr));
}

.af-card-grid--screens {
  --af-card-grid-columns: repeat(2, minmax(320px, 1fr));
}

.af-feature-card::part(base),
.af-screenshot-card::part(base),
.af-quote::part(base) {
  width: 100%;
  max-width: none;
  height: 100%;
  border-color: var(--af-border);
  border-radius: 8px;
  box-shadow: none;
}

.af-feature-card {
  --spacing: 22px;
}

.af-feature-card wa-icon,
.af-feature-card__svg-icon {
  width: 38px;
  height: 38px;
}

.af-feature-card wa-icon {
  color: var(--af-blue);
}

.af-feature-card__svg-icon {
  display: block;
  object-fit: contain;
}

.af-feature-card h3,
.af-screenshot-card h3 {
  margin: 16px 0 8px;
  color: var(--af-ink);
  font-size: 1.22rem;
  line-height: 1.25;
}

.af-feature-card__text,
.af-screenshot-card__text {
  margin: 0;
  color: var(--af-muted);
  line-height: 1.65;
}

.af-media-section {
  display: grid;
  gap: 24px;
}

.af-media-showcase {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
}

.af-media-showcase__copy {
  display: grid;
  gap: 14px;
}

.af-caption {
  padding-left: 14px;
  border-left: 3px solid var(--af-teal);
  font-size: 0.98rem !important;
}

.af-media-frame,
.af-video {
  overflow: hidden;
  min-height: 320px;
  border: 1px solid var(--af-border);
  border-radius: 8px;
  background: var(--af-panel);
  box-shadow: 0 18px 54px rgba(31, 90, 147, 0.12);
}

.af-video {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.af-media-frame--placeholder {
  display: grid;
  place-items: center;
  gap: 18px;
  padding: 32px;
  color: var(--af-muted);
  text-align: center;
}

.af-window {
  display: grid;
  gap: 12px;
  width: min(420px, 100%);
}

.af-window div {
  height: 18px;
  border-radius: 4px;
  background: #dbe7f0;
}

.af-window div:first-child {
  width: 80%;
  background: #bbe9e3;
}

.af-window div:nth-child(2) {
  width: 58%;
  background: #d7e6f6;
}

.af-window div:nth-child(3) {
  width: 70%;
  background: #f8dfa2;
}

.af-screenshot-card__media,
.af-screenshot-card__placeholder {
  aspect-ratio: 16 / 10;
  background: #edf3f8;
}

.af-screenshot-card__media {
  position: relative;
  display: grid;
  overflow: hidden;
}

.af-screenshot-card__asset {
  grid-area: 1 / 1;
  display: block;
  width: 100%;
  height: 100%;
}

.af-screenshot-card__asset--dark {
  display: none;
}

:root.wa-dark .af-screenshot-card__asset--light {
  display: none;
}

:root.wa-dark .af-screenshot-card__asset--dark {
  display: block;
}

@media (prefers-color-scheme: dark) {
  :root:not(.wa-light) .af-screenshot-card__asset--light {
    display: none;
  }

  :root:not(.wa-light) .af-screenshot-card__asset--dark {
    display: block;
  }
}

.af-screenshot-card__media--contain img {
  object-fit: contain;
}

.af-screenshot-card__media--cover img {
  object-fit: cover;
}

.af-screenshot-card__lightbox-trigger {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
}

.af-screenshot-card__zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid color-mix(in srgb, var(--af-border) 60%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--af-panel) 88%, transparent);
  color: var(--af-blue);
  box-shadow: 0 10px 24px rgba(16, 32, 47, 0.16);
}

.af-screenshot-card__zoom wa-icon {
  width: 17px;
  height: 17px;
}

.af-screenshot-card__placeholder {
  display: grid;
  place-items: center;
  color: var(--af-blue);
}

.af-screenshot-card__placeholder wa-icon {
  width: 44px;
  height: 44px;
}

.af-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-block: clamp(32px, 6vw, 72px);
  border: 1px solid var(--af-border);
  border-radius: 8px;
  background: var(--af-border);
}

.af-metrics div {
  display: grid;
  gap: 8px;
  padding: clamp(24px, 4vw, 36px);
  background: var(--af-panel);
}

.af-metrics strong {
  color: var(--af-blue);
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1;
}

.af-metrics span {
  color: var(--af-muted);
  line-height: 1.5;
}

.af-quote {
  max-width: 900px;
}

.af-quote wa-icon {
  color: var(--af-teal);
}

.af-quote blockquote {
  margin: 18px 0;
  color: var(--af-ink);
  font-size: clamp(1.45rem, 3vw, 2.4rem);
  line-height: 1.25;
}

.af-quote footer {
  display: grid;
  gap: 4px;
  color: var(--af-muted);
}

.af-quote footer strong {
  color: var(--af-ink);
}

.af-faq__items {
  display: grid;
  gap: 12px;
  max-width: 900px;
}

.af-callout-section {
  padding-block: clamp(24px, 5vw, 56px);
}

.af-callout::part(base) {
  border-radius: 8px;
}

.af-callout h2,
.af-doc-block h3,
.af-tab-panel h3,
.af-product-carousel__caption h3 {
  margin: 0;
  color: var(--af-ink);
  letter-spacing: 0;
}

.af-callout h2 {
  margin-bottom: 0.35rem;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.2;
}

.af-product-carousel-frame {
  border: 1px solid var(--af-border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--af-panel);
  box-shadow: 0 18px 54px rgba(31, 90, 147, 0.12);
}

.af-product-carousel {
  display: block;
  --wa-color-brand-fill-normal: var(--af-blue);
  --wa-color-brand-fill-loud: var(--af-blue);
  --wa-color-brand-border-loud: var(--af-blue);
  border-radius: 8px;
  background: transparent;
}

.af-product-carousel::part(base) {
  overflow: hidden;
}

.af-product-carousel::part(scroll-container) {
  cursor: grab;
}

.af-product-carousel::part(pagination) {
  padding: 14px 0 18px;
}

.af-product-carousel[data-af-product-carousel="true"]::part(pagination) {
  display: none;
}

.af-product-carousel::part(pagination-item) {
  background: color-mix(in srgb, var(--af-muted) 42%, transparent);
  border-color: transparent;
}

.af-product-carousel::part(pagination-item-active) {
  background: var(--af-blue);
}

.af-product-carousel::part(navigation-button) {
  color: var(--af-blue);
}

.af-product-carousel[orientation="vertical"] {
  height: auto;
  max-height: none;
}

.af-product-carousel[orientation="vertical"]::part(base) {
  min-height: 0;
  grid-template-areas: 'slides slides pagination';
}

.af-product-carousel[orientation="vertical"]::part(pagination) {
  flex-direction: column;
  padding: 0 18px;
}

.af-product-carousel[orientation="vertical"]::part(navigation) {
  display: flex;
  transform: rotate(90deg);
}

.af-product-carousel-thumbnails {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin: 0;
  padding: 14px 16px 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-padding: 16px;
  scrollbar-width: none;
}

.af-product-carousel-thumbnails::-webkit-scrollbar {
  display: none;
}

.af-product-carousel-thumbnail {
  position: relative;
  flex: 0 0 auto;
  width: 76px;
  height: 52px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 8px;
  background: var(--af-soft);
  cursor: pointer;
  opacity: 0.58;
  transition: border-color 160ms ease, opacity 160ms ease;
}

.af-product-carousel-thumbnail.is-active,
.af-product-carousel-thumbnail:focus-visible {
  border-color: var(--af-blue);
  opacity: 1;
}

.af-product-carousel-thumbnail:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--af-blue) 35%, transparent);
  outline-offset: 2px;
}

.af-product-carousel-thumbnail__asset,
.af-product-carousel-thumbnail__asset img {
  display: block;
  width: 100%;
  height: 100%;
}

.af-product-carousel-thumbnail__asset img {
  object-fit: cover;
}

.af-product-carousel-thumbnail__asset--dark {
  display: none;
}

:root.wa-dark .af-product-carousel-thumbnail__asset--light {
  display: none;
}

:root.wa-dark .af-product-carousel-thumbnail__asset--dark {
  display: block;
}

@media (prefers-color-scheme: dark) {
  :root:not(.wa-light) .af-product-carousel-thumbnail__asset--light {
    display: none;
  }

  :root:not(.wa-light) .af-product-carousel-thumbnail__asset--dark {
    display: block;
  }
}

.af-product-carousel__figure {
  position: relative;
  display: grid;
  min-height: 100%;
  margin: 0;
  background: var(--af-soft);
}

.af-product-carousel__asset {
  grid-area: 1 / 1;
  display: block;
  width: 100%;
  height: 100%;
}

.af-product-carousel__asset img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.af-product-carousel__asset--dark {
  display: none;
}

:root.wa-dark .af-product-carousel__asset--light {
  display: none;
}

:root.wa-dark .af-product-carousel__asset--dark {
  display: block;
}

@media (prefers-color-scheme: dark) {
  :root:not(.wa-light) .af-product-carousel__asset--light {
    display: none;
  }

  :root:not(.wa-light) .af-product-carousel__asset--dark {
    display: block;
  }
}

.af-product-carousel__caption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: grid;
  gap: 6px;
  width: min(460px, calc(100% - 36px));
  padding: 16px;
  border: 1px solid color-mix(in srgb, var(--af-border) 72%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--af-panel) 92%, transparent);
  box-shadow: 0 14px 34px rgba(16, 32, 47, 0.14);
}

.af-product-carousel__caption h3 {
  font-size: 1.12rem;
  line-height: 1.25;
}

.af-product-carousel__caption .af-rich-text {
  font-size: 0.95rem;
  line-height: 1.55;
}

.af-doc-blocks {
  display: grid;
  gap: 22px;
}

.af-doc-blocks .neos-contentcollection {
  display: grid !important;
  gap: inherit !important;
}

.af-doc-blocks .af-callout-section {
  width: 100%;
  margin: 0;
  padding: 0;
}

.af-doc-blocks .af-code-block {
  width: 100%;
  margin: 0;
}

.af-code-block {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--af-border);
  border-radius: 8px;
  background: var(--af-panel);
}

.af-code-block.has-code-header > .af-code-copy-button {
  top: 3.35rem;
}

.af-code-block__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--af-border);
  background: color-mix(in srgb, var(--af-soft) 78%, var(--af-panel) 22%);
}

.af-code-block__title {
  min-width: 0;
  overflow: hidden;
  color: var(--af-ink);
  font-size: 0.9rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.af-code-block__language {
  flex: 0 0 auto;
  color: var(--af-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.af-code-block__pre {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.af-doc-block {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--af-border);
  border-radius: 8px;
  background: var(--af-panel);
}

.af-doc-block--media-left .af-doc-block__copy {
  order: 2;
}

.af-doc-block--media-left .af-doc-block__media {
  order: 1;
}

.af-doc-block--no-media {
  grid-template-columns: 1fr;
}

.af-doc-block__copy {
  display: grid;
  gap: 14px;
}

.af-doc-block h3,
.af-tab-panel h3 {
  font-size: clamp(1.45rem, 2.8vw, 2.25rem);
  line-height: 1.1;
}

.af-doc-block__media,
.af-tab-panel__media {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--af-border);
  border-radius: 8px;
  background: var(--af-soft);
}

.af-doc-block__asset,
.af-tab-panel__media img {
  display: block;
  width: 100%;
}

.af-doc-block__asset img,
.af-tab-panel__media img {
  display: block;
  width: 100%;
  height: auto;
}

.af-doc-block__asset--dark {
  display: none;
}

:root.wa-dark .af-doc-block__asset--light {
  display: none;
}

:root.wa-dark .af-doc-block__asset--dark {
  display: block;
}

@media (prefers-color-scheme: dark) {
  :root:not(.wa-light) .af-doc-block__asset--light {
    display: none;
  }

  :root:not(.wa-light) .af-doc-block__asset--dark {
    display: block;
  }
}

.af-tabs::part(base) {
  border-radius: 8px;
}

.af-tabs {
  --indicator-color: var(--af-blue);
  --track-color: var(--af-border);
  --track-width: 2px;
}

.af-tabs wa-tab::part(base) {
  color: var(--af-muted);
  font-weight: 700;
}

.af-tabs wa-tab[active]::part(base),
.af-tabs wa-tab[aria-selected="true"]::part(base),
.af-tabs wa-tab:state(active)::part(base) {
  color: var(--af-blue);
  border-color: var(--af-blue);
}

.af-tabs-edit {
  display: flex;
  flex-wrap: wrap;
  gap: 0 22px;
  align-items: end;
  overflow-x: auto;
}

.af-tabs-edit > *:not(.af-tab-edit-item),
.af-tab-edit-item {
  display: contents;
}

.af-tab-edit-tab {
  order: 1;
  flex: 0 0 auto;
  min-width: 0;
  padding: 0 0 12px;
  color: var(--af-muted);
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transform: translateY(2px);
}

.af-tab-edit-item.is-active .af-tab-edit-tab {
  color: var(--af-blue);
  border-color: var(--af-blue);
}

.af-tab-edit-tab:focus-visible {
  outline: 2px solid var(--af-blue);
  outline-offset: 4px;
}

.af-tab-edit-panel {
  order: 2;
  display: none;
  flex: 0 0 100%;
  min-width: 0;
  padding-top: 20px;
  border-top: 2px solid var(--af-border);
}

.af-tab-edit-item.is-active .af-tab-edit-panel {
  display: block;
}

.af-tab-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(20px, 4vw, 40px);
  align-items: center;
  padding-top: 20px;
}

.af-tab-panel--no-media {
  grid-template-columns: fit-content(100%);
  justify-content: start;
}

.af-tab-panel--no-media.af-tab-panel--width-50 {
  grid-template-columns: minmax(0, 50%);
}

.af-tab-panel--no-media.af-tab-panel--width-66 {
  grid-template-columns: minmax(0, 66%);
}

.af-tab-panel--no-media.af-tab-panel--width-80 {
  grid-template-columns: minmax(0, 80%);
}

.af-tab-panel--no-media.af-tab-panel--width-100 {
  grid-template-columns: minmax(0, 100%);
}

.af-tab-panel__copy {
  display: grid;
  gap: 12px;
}

.af-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-block: clamp(40px, 7vw, 88px);
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--af-border);
  border-radius: 8px;
  background: var(--af-panel);
  box-shadow: 0 18px 54px rgba(31, 90, 147, 0.10);
}

.af-cta > div {
  max-width: 720px;
}

.af-cta--brand {
  border-color: color-mix(in srgb, var(--af-blue) 38%, var(--af-border));
  background: color-mix(in srgb, var(--af-blue) 9%, var(--af-panel));
}

.af-cta--teal {
  border-color: color-mix(in srgb, var(--af-teal) 42%, var(--af-border));
  background: color-mix(in srgb, var(--af-teal) 10%, var(--af-panel));
}

.af-cta--dark {
  --af-ink: #ffffff;
  --af-muted: rgba(255, 255, 255, 0.78);
  border-color: color-mix(in srgb, var(--af-app-blue) 76%, #ffffff 24%);
  background: var(--af-app-blue);
  color: #ffffff;
}

:root.wa-dark .af-topbar {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32);
}

:root.wa-dark .af-cta {
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.18);
}

:root.wa-dark .af-cta--brand,
:root.wa-dark .af-cta--teal,
:root.wa-dark .af-cta--neutral {
  background: var(--af-panel);
}

:root.wa-dark .af-media-frame--placeholder,
:root.wa-dark .af-screenshot-card__media,
:root.wa-dark .af-screenshot-card__placeholder {
  background: #202833;
}

:root.wa-dark .af-window div {
  background: #364350;
}

:root.wa-dark .af-window div:first-child {
  background: #176f66;
}

:root.wa-dark .af-window div:nth-child(2) {
  background: #274f80;
}

:root.wa-dark .af-window div:nth-child(3) {
  background: #6b541e;
}

:root.wa-dark .af-rich-text pre,
:root.wa-dark .af-code-block__pre {
  background: #111820;
  color: #dbe7f0;
}

:root.wa-dark .af-code-token--comment {
  color: #8b98a8;
}

:root.wa-dark .af-code-token--keyword {
  color: #ff8fb3;
}

:root.wa-dark .af-code-token--string {
  color: #8ee0c2;
}

:root.wa-dark .af-code-token--number,
:root.wa-dark .af-code-token--literal {
  color: #8ab8ff;
}

:root.wa-dark .af-code-token--tag,
:root.wa-dark .af-code-token--selector {
  color: #d8b4ff;
}

:root.wa-dark .af-code-token--attribute,
:root.wa-dark .af-code-token--key {
  color: #f5c26b;
}

:root.wa-dark .af-code-copy-button {
  background: color-mix(in srgb, #1d2732 92%, transparent);
  color: #b7c5d4;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

:root.wa-dark .af-code-copy-button:hover,
:root.wa-dark .af-code-copy-button:focus-visible {
  background: #263341;
  color: #ffffff;
}

:root.wa-dark .af-code-copy-button[data-af-copied="true"] {
  color: #8ee0c2;
}

@media (max-width: 980px) {
  .af-hero,
  .af-media-showcase {
    grid-template-columns: 1fr;
  }

  .af-doc-block,
  .af-tab-panel {
    grid-template-columns: 1fr;
  }

  .af-tab-panel--no-media {
    grid-template-columns: 1fr;
  }

  .af-doc-block--media-left .af-doc-block__copy,
  .af-doc-block--media-left .af-doc-block__media {
    order: initial;
  }

  .af-hero {
    min-height: auto;
  }

  .af-card-grid--three,
  .af-metrics {
    --af-card-grid-columns: repeat(2, minmax(220px, 1fr));
    grid-template-columns: var(--af-card-grid-columns);
  }

  .af-card-grid--screens {
    --af-card-grid-columns: 1fr;
    grid-template-columns: var(--af-card-grid-columns);
  }

  .af-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .af-topbar {
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .af-topbar__controls {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .af-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 10px;
    font-size: 0.86rem;
  }

  .af-nav .neos-contentcollection {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
  }

  .af-topbar .af-header-app-link {
    margin-left: 0;
  }

  .af-utility {
    width: 100%;
    justify-content: space-between;
  }

  .af-language-dropdown {
    align-self: flex-start;
  }

  .af-card-grid--three,
  .af-card-grid--screens {
    --af-card-grid-columns: 1fr;
    grid-template-columns: var(--af-card-grid-columns);
  }

  .af-hero,
  .af-page-hero,
  .af-section,
  .af-metrics {
    width: min(100% - 28px, 1160px);
  }
  .af-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .af-product-carousel__caption {
    position: static;
    width: auto;
    margin: 12px;
  }
}
