/* Astrafuse Reusable Component System
   Usage: add `stylesheet: /assets/css/components.css` to page frontmatter
   and `pageClass: af-page` to activate the theme tokens.
   Components are included via {% include "blocks/af-*.njk" %} with
   Nunjucks variables set before each include. */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600;700;800&display=swap');

/* ===== Theme Tokens ===== */
.af-page {
  --af-magenta: #e11d74;
  --af-purple: #912bbc;
  --af-purple-deep: #2d033b;
  --af-navy: #001c30;
  --af-white: #ffffff;
  --af-grey: #f5f5f5;
  --af-dark: #0a0a12;
  --af-text: #0f172a;
  --af-text-muted: #475569;
  --af-radius: 10px;
  --af-font: Inter, system-ui, sans-serif;
  --af-display: Montserrat, Inter, system-ui, sans-serif;
  --af-section-pad: clamp(4rem, 11vw, 8.5rem);
  --af-container-pad: clamp(1.25rem, 4vw, 2.25rem);
  --af-stack: clamp(1.5rem, 4vw, 2.5rem);
  font-family: var(--af-font);
  color: var(--af-text);
  background: var(--af-white);
  line-height: 1.65;
}

.af-page h1, .af-page h2, .af-page h3 {
  font-family: var(--af-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--af-text);
}

.af-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--af-container-pad);
}

.af-page .visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}


/* ===== 1. Gradient Hero ===== */
.af-hero {
  background: linear-gradient(100deg, #413AED 0%, #FD1976 100%);
  padding: clamp(5.5rem, 14vw, 10rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.af-hero .af-hero-landing__header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
}

.af-hero__logo-white {
  filter: brightness(0) invert(1);
}

/* Hero background variants */
.af-hero--red-purple {
  background: linear-gradient(100deg, #e11d74 0%, #c2185b 50%, #a0339a 100%);
}

.af-hero--blue-pink {
  background: linear-gradient(100deg, #413AED 0%, #8b3ce8 45%, #d640c0 75%, #e840a0 100%);
}

.af-hero .af-hero__title {
  font-size: clamp(1.85rem, 4.5vw, 3.25rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--af-white);
  margin: 0 auto var(--af-stack);
  max-width: 48rem;
}

.af-hero .af-hero__title strong {
  font-weight: 600;
}

.af-hero__scroll {
  position: absolute;
  bottom: clamp(1.5rem, 3vw, 2.5rem);
  left: 50%;
  transform: translateX(-50%);
}

.af-hero__scroll svg {
  width: 28px;
  height: 28px;
  color: rgba(255,255,255,0.7);
  animation: af-bob 2s ease-in-out infinite;
}

@keyframes af-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.af-hero__sub {
  font-size: clamp(0.95rem, 1.4vw, 1.125rem);
  color: rgba(255,255,255,0.78);
  max-width: 36rem;
  margin: 0 auto;
}

.af-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--af-stack);
  padding: 0.875rem 2rem;
  background: var(--af-white);
  color: var(--af-magenta);
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: var(--af-radius);
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s;
}

.af-hero__cta:hover {
  color: var(--af-magenta);
  box-shadow: 0 0 20px rgba(255,255,255,0.25), 0 4px 12px rgba(0,0,0,0.1);
}


/* ===== 2. Rich Text / Article ===== */
.af-richtext {
  padding: var(--af-section-pad) 0;
  background: var(--af-grey);
}

/* Tighten gap when richtext is followed by features */
.af-richtext + .af-features {
  padding-top: 0;
  margin-top: -1px;
}

.af-richtext__title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.25rem;
}

.af-richtext__subtitle {
  font-family: var(--af-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--af-text-muted);
  margin: 0 0 var(--af-stack);
}

.af-richtext__overline {
  font-family: var(--af-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--af-magenta);
  margin-bottom: 1.25rem;
}

.af-richtext__body {
  color: var(--af-text-muted);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 48rem;
}

.af-richtext__body p { margin-bottom: 1.25rem; }
.af-richtext__body strong { color: var(--af-text); font-weight: 600; }
.af-richtext__body em { color: var(--af-magenta); font-style: normal; font-weight: 600; }

.af-richtext__body ul, .af-richtext__body ol {
  padding-left: 1.25rem;
  margin-bottom: 1.25rem;
}

.af-richtext__body li { margin-bottom: 0.5rem; }


/* ===== 3. Video Block ===== */
.af-video {
  padding: 0 0 var(--af-section-pad);
  background: var(--af-grey);
}

.af-video__wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}

.af-video__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.af-video__play svg {
  width: 64px;
  height: 64px;
  fill: #666;
  transition: fill 0.2s;
}

.af-video__wrap:hover .af-video__play svg {
  fill: #888;
}


/* ===== 4. Logo Bar ===== */
.af-logos {
  padding: var(--af-section-pad) 0;
  background: var(--af-grey);
}

.af-logos__overline {
  font-family: var(--af-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--af-magenta);
  margin-bottom: 1.25rem;
}

.af-logos__body {
  color: var(--af-text-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin: 0 0 clamp(2.5rem, 6vw, 4rem);
}

.af-logos__row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.af-logos__row img {
  width: clamp(100px, 12vw, 160px);
  height: auto;
  max-height: 60px;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.af-logos__row img:hover { opacity: 1; }

/* Dark variant */
.af-logos--dark { background: #000; }
.af-logos--dark .af-logos__overline { color: var(--af-magenta); }
.af-logos--dark .af-logos__body { color: rgba(255,255,255,0.65); }


/* ===== 5. Email Capture / CTA ===== */
.af-capture {
  padding: var(--af-section-pad) 0;
  background: var(--af-white);
}

.af-capture__overline {
  font-family: var(--af-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--af-magenta);
  margin: 0 0 1rem;
}

.af-capture .af-capture__title {
  font-family: var(--af-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--af-magenta);
  margin: 0 0 0.25rem;
}

.af-capture__title strong {
  font-weight: 700;
  display: block;
}

.af-capture__sub {
  color: var(--af-text);
  font-size: 1rem;
  font-weight: 500;
  margin: 0.75rem 0 var(--af-stack);
}

.af-capture__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.af-capture__input {
  width: 100%;
  padding: 1.125rem 1.25rem;
  background: var(--af-grey);
  border: none;
  border-radius: var(--af-radius);
  font-family: var(--af-font);
  font-size: 1rem;
  color: var(--af-text);
  transition: box-shadow 0.2s;
}

.af-capture__input::placeholder {
  color: #999;
}

.af-capture__input:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--af-magenta);
}

.af-capture__btn {
  padding: 1.125rem 2.5rem;
  background: linear-gradient(135deg, var(--af-magenta) 0%, var(--af-purple) 100%);
  color: var(--af-white);
  font-family: var(--af-display);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--af-radius);
  cursor: pointer;
  transition: filter 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
}

.af-capture__btn:hover {
  color: var(--af-white);
  box-shadow: 0 0 20px rgba(225,29,116,0.35), 0 4px 12px rgba(0,0,0,0.1);
}

/* Dark variant */
.af-capture--dark {
  background: linear-gradient(317deg, #021A58 0%, #000512 100%);
}

.af-capture--dark .af-capture__title {
  color: var(--af-magenta);
}

.af-capture--dark .af-capture__title strong {
  color: var(--af-magenta);
}

.af-capture--dark .af-capture__sub {
  color: rgba(255,255,255,0.65);
}

.af-capture--dark .af-capture__input {
  background: rgba(255,255,255,0.08);
  color: var(--af-white);
  border: 1px solid rgba(255,255,255,0.1);
}

.af-capture--dark .af-capture__input::placeholder {
  color: rgba(255,255,255,0.35);
}


/* ===== 6. Stats Rings ===== */
.af-stats {
  padding: var(--af-section-pad) 0;
  background: var(--af-grey);
  text-align: center;
}

.af-stats__card {
  background: var(--af-white);
  border-radius: 16px;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(2rem, 4vw, 3rem);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.af-stats .af-stats__title {
  font-family: var(--af-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 300;
  color: var(--af-text);
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.af-stats__subtitle {
  color: var(--af-magenta);
  font-family: var(--af-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.af-stats__grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(2rem, 5vw, 4rem);
}

.af-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.af-stat__ring {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.af-stat__ring::after {
  content: '';
  position: absolute;
  inset: 14px;
  background: var(--af-white);
  border-radius: 50%;
}

.af-stat__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.af-stat__value {
  font-family: var(--af-display);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
}

.af-stat__label {
  font-size: 0.75rem;
  color: var(--af-text-muted);
  line-height: 1.3;
  text-align: center;
  margin-top: 0.25rem;
}

/* Ring color variants — gradient strokes */
.af-stat__ring--magenta {
  background: conic-gradient(#413AED 0deg, var(--af-magenta) var(--ring-pct, 0deg), #ddd var(--ring-pct, 0deg) 360deg);
}
.af-stat__ring--magenta .af-stat__value { color: var(--af-magenta); }

.af-stat__ring--purple {
  background: conic-gradient(#413AED 0deg, var(--af-purple) var(--ring-pct, 0deg), #ddd var(--ring-pct, 0deg) 360deg);
}
.af-stat__ring--purple .af-stat__value { color: var(--af-purple); }


/* ===== 7. Content Section (headline + two-col body) ===== */
.af-content {
  padding: var(--af-section-pad) 0;
  background: var(--af-white);
}

.af-content__overline {
  font-family: var(--af-display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--af-magenta);
  margin-bottom: 0.5rem;
}

.af-content__title {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  margin-bottom: 0.25rem;
}

.af-content__subtitle {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 400;
  color: var(--af-text-muted);
  margin-bottom: var(--af-stack);
}

.af-content__cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

@media (min-width: 768px) {
  .af-content__cols { grid-template-columns: 1fr 1fr; }
}

.af-content__cols p {
  color: var(--af-text-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin: 0;
}

.af-content__cols p strong { color: var(--af-text); font-weight: 600; }


/* ===== 8. Info Card (accent side + data side) ===== */
.af-infocard {
  padding: var(--af-section-pad) 0;
  background: linear-gradient(317deg, #021A58 0%, #000512 100%);
}

.af-infocard__wrap {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: 16px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .af-infocard__wrap { grid-template-columns: 1fr 1.2fr; }
}

.af-infocard__accent {
  background: linear-gradient(160deg, var(--af-magenta) 0%, var(--af-purple) 100%);
  padding: clamp(2.5rem, 6vw, 4rem);
  color: var(--af-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.af-infocard__accent h3 {
  color: var(--af-white);
  font-family: var(--af-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.af-infocard__accent p {
  color: rgba(255,255,255,0.75);
  font-size: 0.9375rem;
  line-height: 1.65;
  margin: 0;
}

/* Chart side */
.af-infocard__chart-side {
  background: var(--af-white);
  padding: clamp(2rem, 5vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

.af-infocard__donut-area {
  position: relative;
  width: 420px;
  height: 420px;
}

.af-infocard__donut {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.af-infocard__donut::after {
  content: '';
  position: absolute;
  inset: 24px;
  background: var(--af-white);
  border-radius: 50%;
}

.af-infocard__donut-label {
  position: relative;
  z-index: 1;
  font-family: var(--af-display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--af-text);
  text-align: center;
  line-height: 1.4;
}

/* Callout labels */
.af-infocard__callout {
  position: absolute;
  text-align: left;
}

.af-infocard__callout-value {
  display: block;
  font-family: var(--af-display);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
}

.af-infocard__callout-label {
  display: block;
  font-size: 0.8125rem;
  color: var(--af-text-muted);
  line-height: 1.3;
  margin-top: 0.25rem;
}

/* Position callouts around the donut (up to 5) */
.af-infocard__callout--1 { top: 2%; left: 0; }
.af-infocard__callout--2 { top: 2%; right: 0; text-align: right; }
.af-infocard__callout--3 { top: 42%; left: 0; }
.af-infocard__callout--4 { bottom: 2%; left: 0; }
.af-infocard__callout--5 { bottom: 8%; right: 0; text-align: right; }

@media (max-width: 767px) {
  .af-infocard__donut-area {
    width: 300px;
    height: 300px;
  }
  .af-infocard__donut {
    width: 160px;
    height: 160px;
  }
  .af-infocard__callout-value { font-size: 1.25rem; }
}


/* ===== 9. Testimonial / Quote ===== */
.af-quote {
  padding: clamp(3rem, 8vw, 5rem) 0;
  background: var(--af-white);
  text-align: center;
}

.af-quote .af-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.af-quote--dark {
  background: linear-gradient(135deg, var(--af-purple-deep) 0%, var(--af-purple) 50%, var(--af-magenta) 100%);
}


.af-quote blockquote {
  font-family: var(--af-display);
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 300;
  line-height: 1.55;
  max-width: 48rem;
  margin: 0;
  padding: 0;
  color: var(--af-text);
}

.af-quote blockquote strong { font-weight: 700; }

.af-quote--dark blockquote { color: var(--af-white); }

.af-quote__marks {
  font-size: 3rem;
  line-height: 1;
  color: var(--af-magenta);
  margin: 0 0 0.75rem;
}

.af-quote--dark .af-quote__marks { color: rgba(255,255,255,0.4); }

.af-quote cite {
  display: block;
  margin: 1rem 0 0;
  font-size: 0.875rem;
  font-style: normal;
  color: var(--af-text-muted);
}

.af-quote--dark cite { color: rgba(255,255,255,0.65); }


/* ===== 10. Image + Text Overlay ===== */
.af-image-overlay {
  position: relative;
  min-height: clamp(320px, 50vw, 520px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.af-image-overlay__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.af-image-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%);
  z-index: 1;
}

.af-image-overlay__content {
  position: relative;
  z-index: 2;
  padding: clamp(2rem, 5vw, 3.5rem) var(--af-container-pad);
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
  color: var(--af-white);
}

.af-image-overlay__content h2 {
  color: var(--af-white);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 0.75rem;
}

.af-image-overlay__content p {
  color: rgba(255,255,255,0.82);
  font-size: 1rem;
  max-width: 40rem;
  margin: 0;
}

.af-image-overlay__overline {
  font-family: var(--af-display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--af-magenta);
  margin-bottom: 0.5rem;
}


/* ===== 11. Bar Chart ===== */
.af-barchart {
  padding: var(--af-section-pad) 0;
  background: var(--af-grey);
}

.af-barchart__card {
  background: var(--af-white);
  border-radius: 16px;
  padding: clamp(2.5rem, 6vw, 4rem);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.af-barchart__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

@media (min-width: 768px) {
  .af-barchart__inner { grid-template-columns: 1fr 1.2fr; }
}

.af-barchart .af-barchart__title {
  font-family: var(--af-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--af-magenta);
  margin-bottom: 1.25rem;
}

.af-barchart__text {
  color: var(--af-text-muted);
  font-size: 1rem;
  line-height: 1.75;
}

/* Chart area */
.af-barchart__chart-wrap {
  text-align: center;
}

.af-barchart__top-label {
  display: block;
  font-family: var(--af-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--af-magenta);
  margin-bottom: 0.5rem;
}

.af-barchart__chart-area {
  display: flex;
  gap: 0.5rem;
}

.af-barchart__y-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 280px;
  font-size: 0.6875rem;
  color: var(--af-text-muted);
  text-align: right;
  padding-bottom: 1.5rem;
}

.af-barchart__bars {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  height: 280px;
  border-bottom: 1px solid #e0e0e0;
}

.af-barchart__bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  position: relative;
}

.af-barchart__bar-track {
  width: 14px;
  height: 100%;
  background: #e8e8e8;
  border-radius: 7px;
  position: relative;
  display: flex;
  align-items: flex-end;
}

.af-barchart__bar-fill {
  width: 100%;
  background: linear-gradient(to bottom, var(--af-magenta), var(--af-purple));
  border-radius: 7px;
  position: relative;
}

.af-barchart__bar-dot {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: var(--af-white);
  border: 1.5px solid #ddd;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.af-barchart__bar-label {
  position: absolute;
  bottom: -1.5rem;
  font-size: 0.75rem;
  color: var(--af-text-muted);
  white-space: nowrap;
}


/* ===== 12. Feature List ===== */
.af-features {
  padding: var(--af-section-pad) 0;
  background: var(--af-grey);
}

.af-feature {
  display: flex;
  align-items: flex-start;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  padding: clamp(1.5rem, 4vw, 2.5rem) 0;
}

.af-feature + .af-feature {
  border-top: 1px solid rgba(0,0,0,0.06);
}

.af-feature__icon {
  flex: 0 0 auto;
}

.af-feature__icon img {
  width: clamp(80px, 10vw, 120px);
  height: auto;
  display: block;
}

.af-feature__text {
  flex: 1;
  min-width: 0;
}

.af-feature__overline {
  font-family: var(--af-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--af-magenta);
  margin: 0 0 0.75rem;
}

.af-feature__body {
  color: var(--af-text-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin: 0;
}

/* White variant */
.af-features--white { background: var(--af-white); }
.af-features--white .af-feature + .af-feature { border-top-color: rgba(0,0,0,0.06); }

/* Dark variant */
.af-features--dark { background: #0a0a0a; }
.af-features--dark .af-feature + .af-feature { border-top-color: rgba(255,255,255,0.08); }
.af-features--dark .af-feature__body { color: rgba(255,255,255,0.65); }




/* ===== Product Cards ===== */
.af-products {
  padding: var(--af-section-pad) 0;
  background: var(--af-white);
}

.af-products .af-products__title {
  font-family: var(--af-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 300;
  color: var(--af-text);
  margin: 0 0 0.25rem;
  text-align: center;
}

.af-products__title strong { font-weight: 700; }

.af-products__sub {
  color: var(--af-text-muted);
  font-size: 1rem;
  text-align: center;
  margin: 0 0 clamp(2rem, 5vw, 3.5rem);
}

.af-products__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

.af-products__card {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--af-grey);
  border-radius: 16px;
  text-decoration: none;
  color: var(--af-text);
  transition: box-shadow 0.3s, transform 0.3s;
}

@media (min-width: 600px) {
  .af-products__card { width: calc(50% - 0.625rem); }
}

@media (min-width: 900px) {
  .af-products__card { width: calc(33.333% - 0.834rem); }
}

.af-products__card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.af-products__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
}

.af-products__name {
  font-family: var(--af-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--af-text);
  margin: 0 0 0.5rem;
}

.af-products__tagline {
  color: var(--af-text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.af-products__link {
  display: inline-block;
  margin-top: 1.25rem;
  font-family: var(--af-display);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--af-magenta);
  letter-spacing: 0.02em;
}


/* ===== Site Footer (shared from alt-home) ===== */
.alt-site-footer {
  background: #030b1a;
  color: rgba(255, 255, 255, 0.82);
  padding: clamp(4rem, 10vw, 6rem) 0 0;
}

.alt-site-footer .alt-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--af-container-pad);
}

.alt-site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: clamp(3rem, 8vw, 5rem);
}

@media (min-width: 768px) {
  .alt-site-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    align-items: start;
  }
}

.alt-site-footer__logo {
  height: auto;
  max-height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
}

.alt-site-footer__logo-link {
  display: inline-block;
  cursor: pointer;
}

.alt-site-footer__tagline {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.65);
  max-width: 20rem;
}

.af-page .alt-site-footer__heading {
  font-family: var(--af-display);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--af-magenta);
  margin: 0 0 0.75rem;
}

.alt-site-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.alt-site-footer__list li {
  margin-bottom: 0.5rem;
}

.alt-site-footer__list a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
  cursor: pointer;
}

.alt-site-footer__list a:hover {
  color: #fff;
}

.alt-btn-alt-footer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: var(--af-magenta);
  color: #fff;
  font-weight: 700;
  border-radius: var(--af-radius);
  text-decoration: none;
  transition: background 0.2s ease;
  cursor: pointer;
}

.alt-btn-alt-footer:hover {
  color: #fff;
  box-shadow: 0 0 20px rgba(225,29,116,0.35), 0 4px 12px rgba(0,0,0,0.1);
}

.alt-site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 0;
}

.alt-site-footer__legal {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

.alt-site-footer__legal a {
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.alt-site-footer__legal a:hover {
  color: #fff;
}


/* ===== Landing Hero ===== */
.af-hero-landing {
  min-height: clamp(620px, 90vh, 860px);
  display: flex;
  align-items: center;
  position: relative;
  background: #0a0e1a center center / cover no-repeat;
  color: #fff;
  overflow: hidden;
  padding-top: clamp(5rem, 10vw, 7rem);
}

.af-hero-landing::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(3,9,29,0.92) 0%, rgba(3,9,29,0.6) 45%, rgba(3,9,29,0.1) 100%),
    linear-gradient(to top, rgba(3,9,29,0.75) 0%, transparent 50%);
  z-index: 1;
}

.af-hero-landing__header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.5rem var(--af-container-pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.af-hero-landing__logo { text-decoration: none; display: inline-block; flex-shrink: 0; }
.af-hero-landing__logo img { height: 40px; width: auto; display: block; }

/* Hamburger button (mobile only) */
.af-hero-landing__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 20;
}

.af-hero-landing__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Animate to X when open */
.af-hero-landing__burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.af-hero-landing__burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.af-hero-landing__burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Nav — hidden on mobile by default */
.af-hero-landing__nav {
  display: none;
}

/* Mobile menu panel */
.af-hero-landing__nav.is-open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.95);
  z-index: 15;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.af-hero-landing__nav.is-open a {
  color: #fff;
  text-decoration: none;
  font-family: var(--af-display);
  font-size: 1.5rem;
  font-weight: 600;
  transition: color 0.2s;
}

.af-hero-landing__nav.is-open a:hover { color: var(--af-magenta); }

.af-hero-landing__nav.is-open .af-hero-landing__nav-cta {
  margin-top: 1.5rem;
  padding: 0.875rem 2rem;
  background: var(--af-magenta);
  color: #fff;
  border-radius: var(--af-radius);
  font-size: 1rem;
}

.af-hero-landing__nav.is-open .af-hero-landing__nav-cta:hover {
  color: #fff;
  box-shadow: 0 0 20px rgba(225,29,116,0.4);
}

/* Desktop nav */
@media (min-width: 768px) {
  .af-hero-landing__burger { display: none; }
  .af-hero-landing__nav-cta { display: none; }

  .af-hero-landing__nav {
    display: flex;
    gap: 2rem;
  }
  .af-hero-landing__nav a {
    color: rgba(255,255,255,0.88);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: color 0.2s;
  }
  .af-hero-landing__nav a:hover { color: #fff; }
}

.af-hero-landing .af-container {
  width: 100%;
}

.af-hero-landing__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  text-align: left;
}

.af-hero-landing .af-hero-landing__title {
  font-family: var(--af-display);
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 1.5rem;
}

.af-hero-landing__title strong { font-weight: 800; display: block; }

.af-hero-landing__sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.82);
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.65;
}

.af-hero-landing__actions {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.af-hero-landing__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  background: transparent;
  color: #fff;
  font-family: var(--af-display);
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: var(--af-radius);
  transition: border-color 0.2s, background 0.2s;
}

.af-hero-landing__cta:hover {
  color: #fff;
  border-color: #fff;
  box-shadow: 0 0 20px rgba(255,255,255,0.2);
}

.af-hero-landing__link {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: opacity 0.2s;
}

.af-hero-landing__link:hover { opacity: 0.8; }


/* ===== Image Carousel ===== */
.af-carousel {
  background: var(--af-grey);
  padding: var(--af-section-pad) 0;
}

.af-carousel__overline {
  font-family: var(--af-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--af-magenta);
  text-align: center;
  margin-bottom: 1.5rem;
  padding: 0 var(--af-container-pad);
}

.af-carousel__viewport {
  position: relative;
  overflow: hidden;
  padding-bottom: 2rem;
}

.af-carousel__track {
  display: flex;
  gap: 24px;
  will-change: transform;
}

.af-carousel__slide {
  position: relative;
  flex: 0 0 min(85vw, 720px);
  height: min(55vw, 460px);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  color: #fff;
  text-decoration: none;
}

.af-carousel__slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.af-carousel__slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 55%);
  z-index: 1;
}

.af-carousel__slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 3;
  opacity: 1;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.af-carousel__slide--active::before { opacity: 0; }

.af-carousel__track--no-transition .af-carousel__slide::before { transition: none; }

.af-carousel__slide-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.af-carousel__slide-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
}

.af-carousel__slide-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.92);
  line-height: 1.5;
  margin: 0;
}

.af-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: none;
  border: none;
  padding: 8px;
  color: rgba(255,255,255,0.9);
  cursor: pointer;
  transition: color 0.2s;
}

.af-carousel__arrow svg { width: 28px; height: 28px; }
.af-carousel__arrow:hover { color: #fff; }
.af-carousel__arrow--prev { left: max(3vw, 16px); }
.af-carousel__arrow--next { right: max(3vw, 16px); }

.af-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 1.5rem;
}

.af-carousel__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 2px solid #888;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, border-color 0.2s;
}

.af-carousel__dot--active {
  background: #222;
  border-color: #222;
}

@media (max-width: 767px) {
  .af-carousel__slide { flex: 0 0 85vw; height: 360px; }
}


/* ===== Gradient Divider ===== */
.af-divider {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(5rem, 12vw, 9rem) 0;
  background: linear-gradient(135deg, #4a3af5 0%, #8b3ce8 35%, #b840d6 60%, #e040a0 100%);
  text-align: center;
}

.af-divider__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.af-divider__overline {
  font-family: var(--af-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: clamp(3rem, 8vw, 6rem);
}

.af-divider .af-divider__title {
  font-family: var(--af-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 64rem;
  margin: 0 auto;
}

.af-divider__title strong { font-weight: 800; }


/* ===== Process Steps ===== */
.af-process__slide {
  background: radial-gradient(ellipse 120% 80% at 70% 50%, #0a1a3a 0%, #060e1f 50%, #0a0a12 100%);
  position: relative;
}

.af-process__slide-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(5rem, 12vw, 8rem);
  padding-bottom: clamp(5rem, 12vw, 8rem);
}

.af-process__step {
  font-family: var(--af-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e8377a;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.af-process__body {
  display: flex;
  align-items: center;
  gap: clamp(3rem, 6vw, 6rem);
  width: 100%;
}

.af-process__icon { flex: 0 0 auto; }
.af-process__icon img {
  width: clamp(120px, 14vw, 180px);
  height: auto;
  display: block;
}

.af-process__text { flex: 1; min-width: 0; }

.af-process__slide .af-process__title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 1.5rem;
  line-height: 1.15;
}

.af-process__rule {
  border: none;
  height: 1px;
  background: linear-gradient(to right, rgba(255,255,255,0.15), rgba(255,255,255,0.05));
  margin: 0 0 1.5rem;
}

.af-process__desc {
  color: rgba(255,255,255,0.6);
  font-size: clamp(1rem, 1.5vw, 1.1875rem);
  line-height: 1.7;
  max-width: 36rem;
  margin: 0;
}

@media (max-width: 767px) {
  .af-process__body {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .af-process__icon img { width: 100px; }
  .af-process__step { margin-bottom: 2rem; }
}


/* ===== Card Grid ===== */
.af-card-grid {
  padding: var(--af-section-pad) 0;
  background: #000;
}

.af-card-grid__intro {
  text-align: center;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.af-card-grid .af-card-grid__title {
  color: #fff;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 300;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.af-card-grid__title strong { font-weight: 800; }

.af-card-grid__subtitle {
  color: rgba(255,255,255,0.55);
  font-size: 1rem;
  margin: 0.75rem 0 0;
}

/* Light variant */
.af-card-grid--light { background: var(--af-white); }
.af-card-grid--light .af-card-grid__title { color: var(--af-text); }
.af-card-grid--light .af-card-grid__subtitle { color: var(--af-text-muted); }
.af-card-grid--light .af-card-grid__wrap { background: var(--af-white); }

.af-card-grid__wrap {
  overflow: hidden;
  background: #000;
}

.af-card-grid__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.af-card-grid__card {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  color: #fff;
  overflow: hidden;
  background-size: 300% 200%;
}

.af-card-grid__card:nth-child(1) { background-position: 0% 0%; }
.af-card-grid__card:nth-child(2) { background-position: 50% 0%; }
.af-card-grid__card:nth-child(3) { background-position: 100% 0%; }
.af-card-grid__card:nth-child(4) { background-position: 0% 100%; }
.af-card-grid__card:nth-child(5) { background-position: 50% 100%; }
.af-card-grid__card:nth-child(6) { background-position: 100% 100%; }

.af-card-grid__card h3 {
  position: relative;
  z-index: 2;
  font-size: clamp(0.9375rem, 1.6vw, 1.25rem);
  font-weight: 700;
  margin: 0;
  line-height: 1.35;
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.af-card-grid__icon {
  position: absolute;
  z-index: 2;
  bottom: 1rem;
  right: 1rem;
  width: 28px; height: 28px;
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
}

@media (max-width: 600px) {
  .af-card-grid__grid { grid-template-columns: repeat(2, 1fr); }
}


/* ===== Stats body copy enhancement ===== */
.af-stats__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  margin-top: clamp(2.5rem, 6vw, 4rem);
  text-align: left;
}

.af-stats__body p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--af-text-muted);
  margin: 0;
}

@media (max-width: 600px) {
  .af-stats__body { grid-template-columns: 1fr; }
}


/* ===== Capture enhancements ===== */
.af-capture__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (max-width: 480px) {
  .af-capture__row { grid-template-columns: 1fr; }
}

.af-capture__legal {
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  color: var(--af-text-muted);
  opacity: 0.8;
}

.af-capture__legal a {
  color: inherit;
  text-decoration: underline;
}

.af-capture--dark .af-capture__legal {
  color: rgba(255,255,255,0.5);
}

/* Gradient variant */
.af-capture--gradient {
  background: linear-gradient(100deg, #e11d74 0%, #912bbc 50%, #413AED 100%);
}

.af-capture--gradient .af-capture__overline { color: rgba(255,255,255,0.7); }
.af-capture--gradient .af-capture__title { color: #fff; }
.af-capture--gradient .af-capture__title strong { color: #fff; }
.af-capture--gradient .af-capture__sub { color: rgba(255,255,255,0.8); }
.af-capture--gradient .af-capture__btn {
  background: #fff;
  color: #111;
}
.af-capture--gradient .af-capture__btn:hover {
  color: #111;
  box-shadow: 0 0 24px rgba(255,255,255,0.3), 0 4px 12px rgba(0,0,0,0.1);
}

.af-capture__embed {
  margin-top: var(--af-stack);
}

.af-capture__embed iframe {
  width: 100%;
  border: none;
}


/* ===== Team Members ===== */
.af-team {
  padding: var(--af-section-pad) 0;
  background: #0a0a0a;
}

.af-team__header {
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.af-team__overline {
  font-family: var(--af-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--af-magenta);
  margin-bottom: 0.5rem;
}

.af-team .af-team__title {
  font-family: var(--af-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 300;
  color: #fff;
  margin: 0;
  line-height: 1.2;
}

.af-team__title strong { font-weight: 700; }

.af-team__sub {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  margin: 0.5rem 0 0;
}

.af-team__member {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #111;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.af-team__member:last-child { margin-bottom: 0; }

.af-team__photo {
  position: relative;
  overflow: hidden;
}

.af-team__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.3);
}

.af-team__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(49,51,206,1) 0%, rgba(175,40,156,0.53125) 46%, rgba(253,25,118,0) 93%);
  pointer-events: none;
}

.af-team__name-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
  padding: 1.5rem;
}

.af-team .af-team__name {
  font-family: var(--af-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.25rem;
  line-height: 1.2;
}

.af-team__role {
  font-size: 0.6875rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.af-team__info {
  display: flex;
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--af-white);
}

.af-team__bio {
  color: var(--af-text);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 700px) {
  .af-team__member {
    grid-template-columns: 1fr;
  }
  .af-team__photo {
    aspect-ratio: 3 / 2;
  }
}


/* ===== Legal Content (inline, not a component file) ===== */
.af-legal {
  padding: var(--af-section-pad) 0;
  background: var(--af-white);
}

.af-legal h2 {
  font-family: var(--af-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--af-text);
  margin: 2.5rem 0 1rem;
}

.af-legal h2:first-child { margin-top: 0; }

.af-legal h3 {
  font-family: var(--af-display);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 700;
  color: var(--af-text);
  margin: 2rem 0 0.75rem;
}

.af-legal p {
  color: var(--af-text-muted);
  font-size: 0.9375rem;
  line-height: 1.8;
  margin: 0 0 1rem;
}

.af-legal ul, .af-legal ol {
  color: var(--af-text-muted);
  font-size: 0.9375rem;
  line-height: 1.8;
  padding-left: 1.5rem;
  margin: 0 0 1rem;
}

.af-legal li { margin-bottom: 0.5rem; }

.af-legal a {
  color: var(--af-magenta);
  text-decoration: underline;
}

.af-legal strong { color: var(--af-text); }

.af-legal .af-legal__updated {
  font-size: 0.8125rem;
  color: var(--af-text-muted);
  margin-bottom: 2rem;
}


/* ===== Metric Callout ===== */
.af-metric {
  padding: clamp(3rem, 8vw, 5rem) 0;
  background: linear-gradient(100deg, var(--af-magenta) 0%, var(--af-purple) 100%);
  text-align: center;
}

.af-metric__value {
  display: block;
  font-family: var(--af-display);
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.af-metric__label {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: rgba(255,255,255,0.85);
  max-width: 36rem;
  margin: 0 auto;
  line-height: 1.5;
}


/* ===== Badges ===== */
.af-badges {
  padding: clamp(2rem, 5vw, 3rem) 0;
  background: var(--af-grey);
}

.af-badges__title {
  font-family: var(--af-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--af-text-muted);
  margin: 0 0 1rem;
}

.af-badges__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.af-badges__pill {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--af-white);
  border: 1px solid #e0e0e0;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--af-text);
}


/* ===== Testimonial Carousel ===== */
.af-testimonials {
  padding: clamp(4rem, 10vw, 7rem) 0;
  background: linear-gradient(100deg, #e11d74 0%, #912bbc 50%, #7b1fa2 100%);
  overflow: hidden;
}

.af-testimonials__viewport {
  position: relative;
  overflow: hidden;
}

.af-testimonials__track {
  display: flex;
  gap: 24px;
  will-change: transform;
}

.af-testimonials__card {
  flex: 0 0 min(85vw, 520px);
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: clamp(2rem, 5vw, 3rem);
  color: rgba(255,255,255,0.7);
  opacity: 0.6;
  transition: background 0.4s, color 0.4s, box-shadow 0.4s, opacity 0.4s;
}

.af-testimonials__card--active {
  background: var(--af-white);
  color: var(--af-text);
  opacity: 1;
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
}

.af-testimonials__card blockquote {
  font-family: var(--af-display);
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 300;
  line-height: 1.5;
  margin: 0;
  padding: 0;
}

.af-testimonials__card blockquote strong {
  font-weight: 700;
}

.af-testimonials__card--active blockquote {
  color: var(--af-text);
}

.af-testimonials__card cite {
  display: block;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  font-style: normal;
  opacity: 0.7;
}

.af-testimonials__card--active cite {
  color: var(--af-text-muted);
  opacity: 1;
}

/* Arrows */
.af-testimonials__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: none;
  border: none;
  padding: 8px;
  color: #fff;
  cursor: pointer;
  transition: opacity 0.2s;
}

.af-testimonials__arrow svg {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
}

.af-testimonials__arrow:hover { opacity: 0.8; }

.af-testimonials__arrow:hover { color: #fff; }
.af-testimonials__arrow--prev { left: max(3vw, 16px); }
.af-testimonials__arrow--next { right: max(3vw, 16px); }

@media (max-width: 600px) {
  .af-testimonials__card {
    flex: 0 0 85vw;
  }
  .af-testimonials__arrow { font-size: 1.75rem; }
}


/* ===== Responsive Shared ===== */
@media (prefers-reduced-motion: reduce) {
  .af-hero__cta,
  .af-video__play,
  .af-bar,
  .af-capture__btn {
    transition: none;
  }
}
