body.af-product-page {
  --af-product-green: #c8ff85;
  --af-product-cyan: #7de7ff;
  --af-product-orange: #ffb45e;
  --af-product-surface: rgba(255, 255, 255, 0.035);
  --af-product-surface-strong: rgba(255, 255, 255, 0.065);
  --af-product-border: rgba(255, 255, 255, 0.16);
}

body.af-product-page .g-core-content > :is(.af-product-intro, .af-product-section, .af-product-cta-band) {
  margin-left: auto;
  margin-right: auto;
  max-width: 70rem;
  width: 100%;
}

body.af-product-page .g-core-content,
body.af-product-page :is(.af-product-intro, .af-product-section, .af-product-cta-band, [id]) {
  scroll-margin-top: 6rem;
}

.af-product-hero {
  align-items: center;
  background: #050505;
  color: #fff;
  display: flex;
  min-height: 42rem;
  overflow: hidden;
  padding: 8rem 1.5rem 4rem;
  position: relative;
}

.af-product-hero::before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.74) 44%, rgba(0, 0, 0, 0.2) 76%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0) 38%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.af-product-hero__media {
  inset: 0;
  position: absolute;
}

.af-product-hero__media img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.82;
  width: 100%;
}

.af-product-hero__content {
  margin: 0 auto;
  max-width: 70rem;
  position: relative;
  width: 100%;
  z-index: 2;
}

.af-product-hero h1 {
  color: #fff !important;
  font-size: 2.6rem;
  line-height: 1.03;
  margin: 0;
  max-width: 55rem;
}

.af-product-hero__lede {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 1.08rem !important;
  line-height: 1.65 !important;
  margin: 1.2rem 0 0 !important;
  max-width: 45rem;
}

.af-product-hero__metrics {
  max-width: 54rem;
}

.af-product-hero__metrics .af-product-metric {
  background: rgba(0, 0, 0, 0.32);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.af-product-intro {
  border-top: 1px solid var(--af-product-border);
  padding: 3rem 0;
}

.af-product-kicker {
  color: var(--af-product-green) !important;
  font-size: 0.78rem !important;
  font-weight: 750;
  letter-spacing: 0.08em;
  line-height: 1.2 !important;
  margin: 0 0 0.9rem !important;
  text-transform: uppercase;
}

.af-product-intro h2,
.af-product-section h2,
.af-product-cta-band h2 {
  color: #fff !important;
  margin: 0;
}

.af-product-lede {
  color: rgba(255, 255, 255, 0.76) !important;
  font-size: 1.15rem !important;
  line-height: 1.65 !important;
  margin: 1rem 0 0 !important;
  max-width: 48rem;
}

.af-product-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

body.af-product-page .core-title-overlay__content > .af-product-actions {
  justify-content: center;
  margin-top: 1.4rem;
}

body.af-streaming-product-page .core-title-overlay__content > .af-product-actions .core-title-overlay__cta {
  margin: 0;
}

body.af-streaming-product-page .core-title-overlay__cta--secondary {
  background: rgba(0, 0, 0, 0.2);
  color: #fff !important;
}

body.af-streaming-product-page .core-title-overlay__cta--secondary:hover,
body.af-streaming-product-page .core-title-overlay__cta--secondary:focus-visible {
  background: #fff;
  color: #000 !important;
}

.af-product-button {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  color: #fff !important;
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 700;
  gap: 0.45rem;
  justify-content: center;
  line-height: 1.2;
  min-height: 2.85rem;
  padding: 0.78rem 1.05rem;
  text-decoration: none !important;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.af-product-button:hover,
.af-product-button:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.52);
  transform: translateY(-1px);
}

.af-product-button--quiet {
  border-color: transparent;
  color: rgba(255, 255, 255, 0.8) !important;
}

.af-product-metrics {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2.5rem;
  overflow: hidden;
}

.af-product-metric {
  background: var(--af-product-surface);
  border-top: 2px solid var(--af-product-border);
  min-height: 8rem;
  padding: 1.25rem;
}

.af-product-metric:nth-child(1) {
  border-top-color: var(--af-product-green);
}

.af-product-metric:nth-child(2) {
  border-top-color: var(--af-product-cyan);
}

.af-product-metric:nth-child(3) {
  border-top-color: var(--af-product-orange);
}

.af-product-metric strong {
  color: #fff !important;
  display: block;
  font-size: 1.8rem;
  line-height: 1;
}

.af-product-metric span {
  color: rgba(255, 255, 255, 0.64) !important;
  display: block;
  font-size: 0.88rem;
  line-height: 1.45;
  margin-top: 0.7rem;
}

.af-product-section {
  border-top: 1px solid var(--af-product-border);
  margin-top: 4.5rem;
  padding-top: 3rem;
}

body.af-product-hub-page .g-core-content > .af-product-section:first-child {
  margin-top: 3rem;
}

.af-product-section__header {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 0.8fr) minmax(18rem, 1.2fr);
  margin-bottom: 2rem;
}

.af-product-section__header p {
  color: rgba(255, 255, 255, 0.7) !important;
  margin: 0 !important;
}

.af-product-benefits,
.af-product-stories {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.af-product-benefit {
  border-top: 1px solid var(--af-product-border);
  padding: 1.35rem 0 0;
}

.af-product-story {
  background: var(--af-product-surface);
  border: 1px solid var(--af-product-border);
  border-radius: 8px;
  overflow: hidden;
}

.af-product-story__media {
  display: block !important;
  margin: 0 !important;
  overflow: hidden;
  position: relative;
  text-decoration: none !important;
}

.af-product-story__media::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 42%, rgba(0, 0, 0, 0.34) 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.af-product-story__media img {
  aspect-ratio: 16 / 10;
  display: block;
  height: auto;
  object-fit: cover;
  transition: transform 220ms ease;
  width: 100%;
}

.af-product-story__media:hover img,
.af-product-story__media:focus-visible img {
  transform: scale(1.035);
}

.af-product-story__content {
  padding: 1.25rem;
}

.af-product-benefit__mark,
.af-product-story__mark {
  align-items: center;
  border: 1px solid var(--af-product-border);
  border-radius: 6px;
  color: var(--af-product-green) !important;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 800;
  height: 2rem;
  justify-content: center;
  margin-bottom: 1rem;
  min-width: 2rem;
  padding: 0 0.5rem;
}

.af-product-benefit h3,
.af-product-story h3 {
  color: #fff !important;
  font-size: 1.05rem !important;
  line-height: 1.3 !important;
  margin: 0 !important;
}

.af-product-benefit p,
.af-product-story p {
  color: rgba(255, 255, 255, 0.64) !important;
  font-size: 0.92rem !important;
  line-height: 1.55 !important;
  margin: 0.75rem 0 0 !important;
}

.af-product-benefit a {
  color: #fff !important;
  display: inline-block;
  font-size: 0.86rem;
  font-weight: 700;
  margin-top: 1rem;
  text-decoration-color: var(--af-product-green) !important;
  text-underline-offset: 0.2em;
}

.af-product-story__content > a {
  color: #fff !important;
  display: inline-block;
  font-size: 0.86rem;
  font-weight: 700;
  margin-top: 1rem;
  text-decoration-color: var(--af-product-green) !important;
  text-underline-offset: 0.2em;
}

.af-product-quickstart {
  align-items: start;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(17rem, 0.8fr) minmax(0, 1.2fr);
}

.af-product-quickstart__copy p {
  color: rgba(255, 255, 255, 0.68) !important;
}

.af-product-quickstart pre.af-code-block {
  margin: 0 !important;
}

.af-product-matrix-wrap {
  border: 1px solid var(--af-product-border);
  border-radius: 6px;
  overflow-x: auto;
}

table.af-product-matrix {
  border: 0 !important;
  margin: 0 !important;
  min-width: 46rem;
  width: 100%;
}

table.af-product-matrix :is(th, td) {
  border: 0 !important;
  border-bottom: 1px solid var(--af-product-border) !important;
  padding: 1rem !important;
}

table.af-product-matrix tr:last-child td {
  border-bottom: 0 !important;
}

table.af-product-matrix th {
  background: rgba(255, 255, 255, 0.07) !important;
  color: #fff !important;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

table.af-product-matrix td {
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 0.9rem;
}

table.af-product-matrix td:first-child {
  color: #fff !important;
  font-weight: 700;
}

.af-product-pipeline {
  align-items: stretch;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.af-product-pipeline__stage {
  background: var(--af-product-surface);
  border: 1px solid var(--af-product-border);
  border-radius: 6px;
  min-height: 8.5rem;
  padding: 1.15rem;
  position: relative;
}

.af-product-pipeline__stage:not(:last-child)::after {
  color: var(--af-product-green);
  content: ">";
  font-size: 1rem;
  font-weight: 800;
  position: absolute;
  right: -0.64rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.af-product-pipeline__stage strong {
  color: #fff !important;
  display: block;
  font-size: 0.93rem;
}

.af-product-pipeline__stage span {
  color: rgba(255, 255, 255, 0.62) !important;
  display: block;
  font-size: 0.8rem;
  line-height: 1.45;
  margin-top: 0.65rem;
}

.af-product-cta-band {
  align-items: center;
  border-bottom: 1px solid var(--af-product-border);
  border-top: 1px solid var(--af-product-border);
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin-top: 4.5rem;
  padding: 2.5rem 0;
}

.af-product-cta-band p {
  color: rgba(255, 255, 255, 0.68) !important;
  margin: 0.65rem 0 0 !important;
}

.af-product-note {
  border-left: 2px solid var(--af-product-orange);
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 0.9rem !important;
  line-height: 1.55 !important;
  margin: 1.2rem 0 2rem !important;
  padding-left: 1rem;
}

.af-product-newsletter {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(16rem, 0.7fr) minmax(0, 1.3fr);
}

.af-product-newsletter-band {
  align-items: center;
  background: linear-gradient(135deg, rgba(200, 255, 133, 0.11), rgba(125, 231, 255, 0.055));
  border: 1px solid var(--af-product-border);
  border-radius: 8px;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(16rem, 0.85fr) minmax(0, 1.15fr);
  margin-top: 3rem;
  padding: 1.75rem;
}

.af-product-newsletter-band h2 {
  font-size: clamp(1.65rem, 3vw, 2.5rem) !important;
  line-height: 1.1 !important;
}

.af-product-newsletter-band .af-product-lede {
  margin-top: 0 !important;
}

.af-product-newsletter-band + .af-product-intro {
  border-top: 0;
  margin-top: 2.75rem;
}

.af-product-newsletter__copy p {
  color: rgba(255, 255, 255, 0.68) !important;
}

.af-product-newsletter .af-download-form {
  background: var(--af-product-surface);
  border: 1px solid var(--af-product-border);
  border-radius: 6px;
  padding: 1.25rem;
}

.af-binaries-list {
  display: grid;
  gap: 0;
  margin: 1.75rem 0 0;
}

.af-binaries-list__item {
  align-items: center;
  border-top: 1px solid var(--af-product-border);
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  padding: 1.3rem 0;
}

.af-binaries-list__item:last-child {
  border-bottom: 1px solid var(--af-product-border);
}

.af-binaries-list__header {
  display: grid;
  gap: 0.4rem;
}

.af-binaries-list h3.af-binaries-list__title {
  color: #fff !important;
  font-size: 1.1rem !important;
  line-height: 1.2 !important;
  margin: 0 !important;
}

.af-binaries-list__title-link {
  align-items: center;
  display: inline-flex;
  gap: 0.5rem;
  text-decoration: none !important;
}

.af-binaries-list__title-link-icon {
  display: inline-flex;
  height: 1rem;
  width: 1rem;
}

.af-binaries-list__title-link-icon svg {
  height: 100%;
  width: 100%;
}

.af-binaries-list p.af-binaries-list__meta {
  color: rgba(255, 255, 255, 0.58) !important;
  font-size: 0.82rem !important;
  line-height: 1.4 !important;
  margin: 0 !important;
}

.af-binaries-list__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.af-binaries-list__actions a {
  border: 1px solid var(--af-product-border);
  border-radius: 6px;
  color: #fff !important;
  display: inline-flex;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.3;
  padding: 0.7rem 0.85rem;
  text-decoration: none !important;
}

.af-binaries-list__actions a:hover,
.af-binaries-list__actions a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--af-product-green);
}

@media (min-width: 45rem) {
  .af-product-hero {
    min-height: 46rem;
    padding: 9rem var(--spacing-m) 5rem;
  }

  .af-product-hero h1 {
    font-size: 4.45rem;
  }

  .af-product-hero__lede {
    font-size: 1.18rem !important;
  }
}

@media (min-width: 72rem) {
  .af-product-hero {
    min-height: 50rem;
    padding-left: var(--spacing-l);
    padding-right: var(--spacing-l);
  }

  .af-product-hero h1 {
    font-size: 5.15rem;
  }
}

@media (max-width: 54rem) {
  .af-product-section__header,
  .af-product-quickstart,
  .af-product-newsletter,
  .af-product-newsletter-band {
    grid-template-columns: 1fr;
  }

  .af-product-benefits,
  .af-product-stories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .af-product-pipeline__stage:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 44.99rem) {
  .af-product-hero {
    min-height: 0;
    padding: 7rem 1.25rem 3rem;
  }

  .af-product-hero::before {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.76) 100%);
  }

  .af-product-hero h1 {
    font-size: 2.1rem;
    overflow-wrap: break-word;
  }

  .af-product-hero__lede {
    font-size: 1rem !important;
  }

  body.af-product-hub-page .af-product-hero__content,
  body.af-product-hub-page .g-core-content > :is(.af-product-section, .af-product-cta-band) {
    margin-left: 0;
    margin-right: auto;
    max-width: 22rem;
    width: 22rem;
  }

  .af-product-intro {
    padding: 2.25rem 0;
  }

  .af-product-metrics,
  .af-product-benefits,
  .af-product-stories,
  .af-product-pipeline {
    grid-template-columns: 1fr;
  }

  .af-product-metric {
    min-height: 0;
  }

  .af-product-pipeline__stage:not(:last-child)::after {
    bottom: -0.75rem;
    left: 50%;
    right: auto;
    top: auto;
    transform: rotate(90deg) translateY(50%);
  }

  .af-product-pipeline__stage:nth-child(2)::after {
    display: block;
  }

  .af-product-cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .af-binaries-list__item {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .af-product-button,
  .af-binaries-list__actions a {
    width: 100%;
  }
}

@media (min-width: 37.5rem) and (max-width: 44.99rem) {
  body.af-product-hub-page .af-product-hero__content,
  body.af-product-hub-page .g-core-content > :is(.af-product-section, .af-product-cta-band) {
    max-width: calc(100vw - 2.5rem);
    width: calc(100vw - 2.5rem);
  }
}
