@import url('design-system/colors_and_type.css');

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--w-bg1); color: var(--w-fg1); font-family: var(--w-font-primary); }

/* Site applies main { padding-top: 100px !important } globally to clear fixed header.
   Neutralize on this page so the hero owns its own top padding. The hero has its own dark bg. */
main.af-root { padding-top: 0 !important; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

/* ── Layout shells ── */
.af-section { padding: 96px 48px; max-width: 1280px; margin: 0 auto; }
.af-section-narrow { max-width: 1100px; }
.af-section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.af-section-sub { color: var(--w-fg2); font-size: 17px; max-width: 58ch; margin: 16px auto 0; line-height: 1.6; }

.af-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--w-primary); display: block; margin-bottom: 14px; }
.af-eyebrow--teal { color: var(--w-teal); }
.af-eyebrow--white { color: rgba(255,255,255,0.85); }

.af-launch-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 16px 6px 6px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 13px;
}
.af-launch-pill-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--w-teal);
  color: #061419;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.14em;
  line-height: 1;
}
.af-launch-pill-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.92);
  font-weight: 600;
  letter-spacing: 0.005em;
}
.af-launch-pill-text i { color: var(--w-teal); font-size: 12px; }

.af-h1 { font-size: clamp(38px, 4.6vw, 64px); font-weight: 800; line-height: 1.08; letter-spacing: -0.022em; margin: 0; }
.af-h2 { font-size: clamp(30px, 3vw, 44px); font-weight: 700; line-height: 1.15; letter-spacing: -0.015em; margin: 0; }
.af-h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 10px; }

.af-grad-magenta { background: linear-gradient(135deg, var(--w-primary), var(--w-mauve)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.af-grad-teal { background: linear-gradient(135deg, var(--w-teal), var(--w-moonstone)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.af-grad-dual { background: linear-gradient(135deg, var(--w-teal) 0%, var(--w-moonstone) 35%, var(--w-mauve) 65%, var(--w-primary) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.af-grad-white { background: linear-gradient(135deg, #fff, var(--w-mauve)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ── Buttons ── */
.af-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 8px; font-size: 14px; font-weight: 600; border: none; transition: all 250ms ease-out; cursor: pointer; text-decoration: none; white-space: nowrap; }
.af-btn-sm { padding: 8px 14px; font-size: 13px; }
.af-btn-lg { padding: 15px 28px; font-size: 15.5px; }
.af-btn-primary { background: var(--w-primary); color: #fff; }
.af-btn-primary:hover { background: var(--w-primary-hover); box-shadow: 0 0 60px rgba(144,49,99,0.3), 0 8px 24px rgba(144,49,99,0.25); transform: translateY(-2px); }
.af-btn-white { background: #fff; color: var(--w-primary); }
.af-btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.18); }
.af-btn-ghost-dark { background: rgba(255,255,255,0.06); color: #fff; border: 1px solid rgba(255,255,255,0.16); backdrop-filter: blur(12px); }
.af-btn-ghost-dark:hover { background: rgba(255,255,255,0.12); }
.af-btn-ghost-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.4); }
.af-btn-ghost-light:hover { background: rgba(255,255,255,0.1); }
.af-btn-secondary { background: transparent; color: var(--w-primary); border: 1.5px solid var(--w-primary); }
.af-btn-secondary:hover { background: var(--w-primary-light); }
.af-link-ghost { color: var(--w-primary); font-weight: 600; font-size: 13.5px; display: inline-flex; align-items: center; gap: 6px; transition: transform 200ms; }
.af-link-ghost:hover { transform: translateX(4px); }

/* ── Header ── */
.af-header { position: sticky; top: 0; z-index: 50; height: 64px; background: rgba(17,17,17,0.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255,255,255,0.06); }
.af-header-inner { max-width: 1280px; margin: 0 auto; padding: 0 32px; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.af-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; }
.af-brand img { height: 22px; }
.af-brand-sep { color: rgba(255,255,255,0.3); font-size: 14px; }
.af-brand-product { font-size: 14px; letter-spacing: -0.01em; white-space: nowrap; }
.af-nav { display: flex; gap: 26px; }
.af-nav a { color: rgba(255,255,255,0.78); font-size: 13.5px; font-weight: 500; transition: color 200ms; }
.af-nav a:hover { color: #fff; }
.af-header-cta { display: flex; align-items: center; gap: 14px; }
.af-header-cta .af-link-ghost { color: rgba(255,255,255,0.78); }
.af-header-cta .af-link-ghost:hover { color: #fff; }
@media (max-width: 1023px) { .af-nav, .af-header-cta { display: none; } }

/* ── Sub-nav (host-site embed mode) ── */
.af-subnav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 56px;
  background: rgba(17,17,17,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.af-subnav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.af-subnav-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.005em;
}
.af-subnav-label i { color: var(--w-teal); font-size: 13px; }
.af-subnav-links { display: flex; gap: 26px; }
.af-subnav-links a {
  color: rgba(255,255,255,0.72);
  font-size: 13.5px;
  font-weight: 500;
  transition: color 180ms;
}
.af-subnav-links a:hover { color: #fff; }
@media (max-width: 1023px) { .af-subnav-links { display: none; } }

/* ── Hero (dark, ambient) ── */
.af-hero { position: relative; background: #0F0F11; color: #fff; padding: 88px 48px 96px; overflow: hidden; }
.af-hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.af-hero-glow--magenta { width: 560px; height: 560px; background: rgba(144,49,99,0.5); top: -160px; left: -120px; }
.af-hero-glow--teal { width: 460px; height: 460px; background: rgba(0,128,128,0.34); bottom: -120px; right: -100px; }
.af-hero-grain { position: absolute; inset: 0; opacity: 0.04; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='3'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>"); pointer-events: none; }
.af-hero-inner { position: relative; z-index: 2; max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.15fr 1fr; gap: 80px; align-items: center; }
.af-hero-title { font-size: clamp(38px, 4.6vw, 60px); font-weight: 800; line-height: 1.08; letter-spacing: -0.022em; margin: 0 0 22px; color: #fff; }
.af-hero-amp { color: rgba(255,255,255,0.6); font-weight: 400; }
.af-hero-sub { font-size: 18px; line-height: 1.6; color: rgba(255,255,255,0.74); max-width: 56ch; margin: 0 0 32px; }
.af-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.af-hero-meta { display: flex; gap: 28px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); }
.af-hero-meta > div { display: flex; flex-direction: column; gap: 2px; }
.af-hero-meta b { font-size: 13.5px; font-weight: 700; color: #fff; }
.af-hero-meta span { font-size: 12px; color: rgba(255,255,255,0.55); }

/* Hero stat card */
.af-stat-card { position: relative; background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%); border: 1px solid rgba(255,255,255,0.1); border-radius: 24px; padding: 32px; backdrop-filter: blur(12px); }
.af-stat-card::before { content: ""; position: absolute; inset: -1px; border-radius: 24px; padding: 1px; background: linear-gradient(135deg, rgba(0,128,128,0.5), rgba(144,49,99,0.5)); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.af-stat-rows { display: flex; flex-direction: column; gap: 16px; }
.af-stat-row { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 20px 24px; border-radius: 16px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); }
.af-stat-row--teal { background: linear-gradient(135deg, rgba(0,128,128,0.14), rgba(56,179,194,0.06)); border-color: rgba(0,128,128,0.32); }
.af-stat-row--magenta { background: linear-gradient(135deg, rgba(144,49,99,0.18), rgba(194,124,161,0.08)); border-color: rgba(144,49,99,0.36); }
.af-stat-row-label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.65); margin-bottom: 4px; }
.af-stat-row--teal .af-stat-row-label { color: #4FCDD9; }
.af-stat-row--magenta .af-stat-row-label { color: #E5A4C5; }
.af-stat-row-text { font-size: 14.5px; color: rgba(255,255,255,0.92); font-weight: 500; line-height: 1.4; }
.af-stat-row-pct { font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: #fff; }
.af-stat-row--teal .af-stat-row-pct { background: linear-gradient(135deg, #4FCDD9, #fff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.af-stat-row--magenta .af-stat-row-pct { background: linear-gradient(135deg, #E5A4C5, #fff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.af-stat-foot { margin-top: 18px; padding-top: 18px; border-top: 1px dashed rgba(255,255,255,0.12); display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 12.5px; color: rgba(255,255,255,0.6); }
.af-stat-foot i { color: var(--w-teal); margin-right: 6px; }

@media (max-width: 980px) {
  .af-hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .af-hero { padding: 64px 24px 80px; }
}

/* ── How it works ── */
.af-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.af-step { background: #fff; border: 1px solid var(--w-border-card); border-radius: 20px; padding: 32px; position: relative; transition: all 300ms ease-out; }
.af-step:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(144,49,99,0.1); border-color: rgba(144,49,99,0.18); }
.af-step-num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 12px; background: linear-gradient(135deg, var(--w-primary), var(--w-mauve)); color: #fff; font-size: 14px; font-weight: 800; margin-bottom: 18px; }
.af-step h3 { font-size: 20px; font-weight: 700; margin: 0 0 8px; color: var(--w-fg1); letter-spacing: -0.01em; }
.af-step p { font-size: 14.5px; line-height: 1.6; color: var(--w-fg2); margin: 0 0 18px; }
.af-step-foot { display: flex; align-items: center; gap: 10px; padding-top: 18px; border-top: 1px solid var(--w-bg2); font-size: 12.5px; color: var(--w-fg3); }
.af-step-foot i { color: var(--w-teal); }
.af-step-arrow { position: absolute; right: -12px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; background: #fff; border-radius: 50%; display: grid; place-items: center; color: var(--w-primary); border: 1px solid var(--w-border-card); z-index: 1; font-size: 11px; }
.af-step:last-child .af-step-arrow { display: none; }
@media (max-width: 900px) { .af-steps { grid-template-columns: 1fr; } .af-step-arrow { display: none !important; } }

/* ── Calculator ── */
.af-calc-wrap { background: var(--w-bg2); padding: 96px 48px; }
.af-calc { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.af-calc-controls { background: #fff; border: 1px solid var(--w-border-card); border-radius: 20px; padding: 32px; box-shadow: 0 8px 24px rgba(144,49,99,0.06); }
.af-calc-field { margin-bottom: 28px; }
.af-calc-field:last-child { margin-bottom: 0; }
.af-calc-label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.af-calc-label-l { font-size: 13px; font-weight: 600; color: var(--w-fg2); text-transform: uppercase; letter-spacing: 0.04em; }
.af-calc-label-v { font-size: 22px; font-weight: 800; color: var(--w-primary); letter-spacing: -0.01em; }
.af-calc-label-v small { font-size: 12px; font-weight: 600; color: var(--w-fg3); margin-left: 4px; letter-spacing: 0; text-transform: none; }
/* ── Slider ──
   Native browser behavior: the thumb stays fully inside the input's box.
   At value=min, the thumb's LEFT edge sits at the input's left edge.
   At value=max, the thumb's RIGHT edge sits at the input's right edge.
   So the visible rail (= input's background) and the thumb's range of motion
   are both bounded by the same box. No empty rail past the thumb at extremes. */
.af-calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: var(--w-bg3);
  border-radius: 999px;
  outline: none;
  cursor: pointer;
  /* Site theme leaks input { padding: ... } onto our range — explicitly zero it
     so the thumb position maps cleanly to the slider's full visible width. */
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
}
.af-calc-slider::-webkit-slider-runnable-track {
  height: 6px;
  background: transparent;
  border-radius: 999px;
}
.af-calc-slider::-moz-range-track {
  height: 6px;
  background: var(--w-bg3);
  border-radius: 999px;
}
.af-calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--w-primary);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(144, 49, 99, 0.3);
  margin-top: -8px; /* center 22px thumb on 6px track */
  transition: transform 200ms;
}
.af-calc-slider::-webkit-slider-thumb:hover { transform: scale(1.1); }
.af-calc-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--w-primary);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(144, 49, 99, 0.3);
}
/* Tick labels positioned at their TRUE value position on each slider.
   Formula: left = thumb_radius + (value - min) / (max - min) × (track_width - 2×thumb_radius)
   Computed per-slider via nth-child since Hugo's minifier strips inline custom-property styles. */
.af-calc-ticks {
  position: relative;
  height: 14px;
  margin-top: 10px;
  font-size: 11px;
  color: var(--w-fg3);
}
.af-calc-ticks span {
  position: absolute;
  transform: translateX(-50%);
  white-space: nowrap;
}

/* CLIENTS slider: min=1, max=100. Value positions: 1=0%, 25=24.24%, 50=49.49%, 75=74.75%, 100=100% */
.af-calc-ticks--clients span:nth-child(1) { left: 11px; }
.af-calc-ticks--clients span:nth-child(2) { left: calc(11px + 0.2424 * (100% - 22px)); }
.af-calc-ticks--clients span:nth-child(3) { left: calc(11px + 0.4949 * (100% - 22px)); }
.af-calc-ticks--clients span:nth-child(4) { left: calc(11px + 0.7475 * (100% - 22px)); }
.af-calc-ticks--clients span:nth-child(5) { left: calc(100% - 11px); }

/* SEATS slider: min=5, max=500. Value positions: 5=0%, 100=19.19%, 250=49.49%, 500=100% */
.af-calc-ticks--seats span:nth-child(1) { left: 11px; }
.af-calc-ticks--seats span:nth-child(2) { left: calc(11px + 0.1919 * (100% - 22px)); }
.af-calc-ticks--seats span:nth-child(3) { left: calc(11px + 0.4949 * (100% - 22px)); }
.af-calc-ticks--seats span:nth-child(4) { left: calc(100% - 11px); }

/* Product dropdown */
.af-calc-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  padding: 14px 44px 14px 18px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--w-fg1);
  background-color: #fff;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'><path d='M3 5.5L7 9.5L11 5.5' stroke='%23903163' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px;
  border: 1.5px solid var(--w-border-default);
  border-radius: var(--w-radius-md);
  cursor: pointer;
  transition: border-color 200ms, box-shadow 200ms;
}
.af-calc-select:hover { border-color: var(--w-primary); }
.af-calc-select:focus { outline: none; border-color: var(--w-primary); box-shadow: 0 0 0 4px rgba(144, 49, 99, 0.10); }
.af-calc-select option, .af-calc-select optgroup { font-weight: 500; }
.af-calc-help { font-size: 12px; color: var(--w-fg3); margin: 8px 0 0; line-height: 1.45; }

.af-calc-result { background: linear-gradient(160deg, #1A1530 0%, #2E2951 50%, #361326 100%); border-radius: 20px; padding: 36px; color: #fff; position: relative; overflow: hidden; }
.af-calc-result::before { content: ""; position: absolute; top: -80px; right: -80px; width: 280px; height: 280px; background: radial-gradient(circle, rgba(144,49,99,0.6), transparent 70%); filter: blur(40px); }
.af-calc-result::after { content: ""; position: absolute; bottom: -80px; left: -80px; width: 240px; height: 240px; background: radial-gradient(circle, rgba(0,128,128,0.4), transparent 70%); filter: blur(40px); }
.af-calc-result > * { position: relative; z-index: 1; }
.af-calc-result-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-bottom: 8px; }
.af-calc-result-headline { font-size: 17px; color: rgba(255,255,255,0.85); margin: 0 0 28px; font-weight: 500; }
.af-calc-big-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.af-calc-big { padding: 20px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 14px; backdrop-filter: blur(8px); }
.af-calc-big-label { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 8px; }
.af-calc-big-num { font-size: clamp(28px, 3vw, 40px); font-weight: 800; line-height: 1; letter-spacing: -0.02em; background: linear-gradient(135deg, #fff, var(--w-mauve)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.af-calc-big-sub { font-size: 12px; color: rgba(255,255,255,0.55); margin-top: 6px; }
.af-calc-result-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.1); }
.af-calc-result-foot div { font-size: 12.5px; color: rgba(255,255,255,0.7); }
.af-calc-result-foot b { display: block; color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.af-calc-disclaimer { margin-top: 18px; font-size: 11.5px; color: var(--w-fg3); text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }

@media (max-width: 880px) { .af-calc { grid-template-columns: 1fr; } .af-calc-wrap { padding: 64px 24px; } }

/* ── Split commission card (alt to hero stat) ── */
.af-split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 960px; margin: 0 auto; }
.af-split-card { padding: 44px 36px; border-radius: 24px; background: #fff; border: 1px solid var(--w-border-card); position: relative; overflow: hidden; }
.af-split-card--teal::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--w-teal), var(--w-moonstone)); }
.af-split-card--magenta::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--w-primary), var(--w-mauve)); }
.af-split-pct { font-size: clamp(64px, 7vw, 88px); font-weight: 800; line-height: 1; letter-spacing: -0.04em; margin-bottom: 16px; }
.af-split-card--teal .af-split-pct { background: linear-gradient(135deg, var(--w-teal), var(--w-moonstone)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.af-split-card--magenta .af-split-pct { background: linear-gradient(135deg, var(--w-primary), var(--w-mauve)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.af-split-card h3 { font-size: 22px; font-weight: 700; margin: 0 0 8px; color: var(--w-fg1); }
.af-split-card p { font-size: 15px; line-height: 1.6; color: var(--w-fg2); margin: 0 0 16px; max-width: 36ch; }
.af-split-list { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; color: var(--w-fg1); }
.af-split-list li { display: flex; align-items: center; gap: 10px; }
.af-split-list i { color: var(--w-teal); font-size: 12px; }
.af-split-card--magenta .af-split-list i { color: var(--w-primary); }
@media (max-width: 720px) { .af-split { grid-template-columns: 1fr; } }

/* ── Bento product grid ── */
/* ── Bento group (category section: AI Agents / Apps) ── */
.af-bento-group { margin-bottom: 56px; }
.af-bento-group:last-child { margin-bottom: 0; }
.af-bento-group-head { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.af-bento-group-eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.af-bento-group-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, currentColor 0%, transparent 100%);
  opacity: 0.25;
}
.af-bento-group--teal { color: var(--w-teal); }
.af-bento-group--magenta { color: var(--w-primary); }

/* ── Bento grid + cards ── */
.af-bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.af-bento-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--w-border-card);
  border-radius: 20px;
  padding: 24px;
  padding-top: 26px;
  transition: all 300ms ease-out;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}
.af-bento-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 20px 20px 0 0;
}
.af-bento-card.teal::before { background: linear-gradient(90deg, var(--w-teal), var(--w-moonstone)); }
.af-bento-card.magenta::before { background: linear-gradient(90deg, var(--w-primary), var(--w-mauve)); }
.af-bento-card.teal { background: linear-gradient(180deg, rgba(0,128,128,0.025) 0%, #fff 60%); }
.af-bento-card.magenta { background: linear-gradient(180deg, rgba(144,49,99,0.025) 0%, #fff 60%); }
.af-bento-card.teal:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(0,128,128,0.14); border-color: rgba(0,128,128,0.28); }
.af-bento-card.magenta:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(144,49,99,0.14); border-color: rgba(144,49,99,0.28); }
.af-bento-head { display: flex; justify-content: space-between; align-items: center; }
.af-bento-icon { width: 40px; height: 40px; border-radius: 10px; }
.af-bento-title { font-size: 17px; font-weight: 700; margin: 0; color: var(--w-fg1); letter-spacing: -0.01em; }
.af-bento-blurb { font-size: 13.5px; line-height: 1.55; color: var(--w-fg2); margin: 0; flex: 1; }
.af-bento-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid var(--w-bg2); font-size: 12px; color: var(--w-fg3); }

/* ── Category chips ── */
.af-chip { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.af-chip-magenta { background: rgba(144,49,99,0.10); color: var(--w-primary); border: 1px solid rgba(144,49,99,0.22); }
.af-chip-teal { background: rgba(0,128,128,0.10); color: var(--w-teal); border: 1px solid rgba(0,128,128,0.22); }

/* ── Inline color text helpers used in section subhead ── */
.af-text-teal { color: var(--w-teal); font-weight: 700; }
.af-text-magenta { color: var(--w-primary); font-weight: 700; }

@media (max-width: 1100px) { .af-bento { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .af-bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .af-bento { grid-template-columns: 1fr; } }

/* ── Personas (Who is this for) ── */
.af-personas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.af-persona { background: linear-gradient(180deg, #fff, var(--w-bg2)); border: 1px solid var(--w-border-card); border-radius: 20px; padding: 32px; transition: all 300ms ease-out; }
.af-persona:hover { transform: translateY(-3px); border-color: rgba(144,49,99,0.18); }
.af-persona-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 20px; color: #fff; margin-bottom: 18px; background: linear-gradient(135deg, var(--w-primary), var(--w-mauve)); }
.af-persona:nth-child(2) .af-persona-icon { background: linear-gradient(135deg, var(--w-teal), var(--w-moonstone)); }
.af-persona:nth-child(3) .af-persona-icon { background: linear-gradient(135deg, var(--w-spacecadet), var(--w-lavender)); }
.af-persona h3 { font-size: 19px; font-weight: 700; margin: 0 0 8px; color: var(--w-fg1); }
.af-persona p { font-size: 14px; line-height: 1.6; color: var(--w-fg2); margin: 0 0 16px; }
.af-persona ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--w-fg1); }
.af-persona ul li { display: flex; align-items: center; gap: 8px; }
.af-persona ul i { color: var(--w-teal); font-size: 11px; }
@media (max-width: 900px) { .af-personas { grid-template-columns: 1fr; } }

/* ── FAQ ── */
.af-faq { max-width: 820px; margin: 0 auto; }
.af-faq-item { border: 1px solid var(--w-border-card); border-radius: 12px; background: #fff; margin-bottom: 12px; overflow: hidden; transition: all 250ms ease-out; }
.af-faq-item.open { border-color: rgba(144,49,99,0.25); box-shadow: 0 4px 16px rgba(144,49,99,0.05); }
.af-faq-q { width: 100%; padding: 20px 24px; background: transparent; border: none; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 15.5px; font-weight: 600; color: var(--w-fg1); }
.af-faq-q:hover { background: var(--w-bg2); }
.af-faq-q i { font-size: 14px; color: var(--w-primary); transition: transform 250ms; flex-shrink: 0; }
.af-faq-item.open .af-faq-q i { transform: rotate(45deg); }
.af-faq-a { padding: 0 24px 22px; font-size: 14.5px; line-height: 1.65; color: var(--w-fg2); }

/* ── Trust strip ── */
.af-trust { padding: 56px 48px; background: var(--w-bg2); text-align: center; }
.af-trust-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--w-fg3); margin-bottom: 22px; }
.af-trust-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%); -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%); }
.af-trust-track { display: flex; gap: 56px; animation: af-marquee 32s linear infinite; width: max-content; }
.af-trust-item { font-size: 21px; font-weight: 700; color: var(--w-lavender); letter-spacing: -0.01em; white-space: nowrap; }
@keyframes af-marquee { to { transform: translateX(-50%); } }

/* ── CTA banner ── */
.af-cta-banner { background: linear-gradient(135deg, #361326 0%, var(--w-primary) 50%, #1A1530 100%); padding: 96px 48px; color: #fff; text-align: center; position: relative; overflow: hidden; }
.af-cta-banner::before { content: ""; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(0,128,128,0.45), transparent 70%); filter: blur(40px); }
.af-cta-banner::after { content: ""; position: absolute; bottom: -100px; left: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(194,124,161,0.35), transparent 70%); filter: blur(40px); }
.af-cta-banner-inner { max-width: 800px; margin: 0 auto; position: relative; z-index: 2; }
.af-cta-banner h2 { color: #fff; margin-bottom: 14px; font-size: clamp(32px, 3.4vw, 48px); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.af-cta-banner-sub { font-size: 18px; color: rgba(255,255,255,0.86); margin: 0 auto 32px; max-width: 56ch; }
.af-cta-banner-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.af-cta-banner-meta { font-size: 12.5px; color: rgba(255,255,255,0.6); display: inline-flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center; }
.af-cta-banner-meta i { color: #4FCDD9; margin-right: 4px; }

/* ── Footer ── */
.af-footer { background: #0B0B0B; color: rgba(255,255,255,0.7); padding: 64px 48px 32px; }
.af-footer-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 48px; }
.af-footer-brand img { height: 22px; margin-bottom: 16px; }
.af-footer-brand p { font-size: 13px; line-height: 1.6; max-width: 32ch; margin: 0 0 20px; }
.af-footer-social { display: flex; gap: 12px; }
.af-footer-social a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 8px; background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.7); transition: all 200ms; cursor: pointer; }
.af-footer-social a:hover { background: var(--w-primary); color: #fff; }
.af-footer-col h4 { font-size: 13px; font-weight: 700; color: #fff; margin: 0 0 16px; letter-spacing: 0.02em; }
.af-footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.af-footer-col a { font-size: 13px; color: rgba(255,255,255,0.65); transition: color 200ms; cursor: pointer; }
.af-footer-col a:hover { color: #fff; }
.af-footer-legal { max-width: 1280px; margin: 48px auto 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 12px; color: rgba(255,255,255,0.5); }
@media (max-width: 900px) { .af-footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .af-footer-inner { grid-template-columns: 1fr; } }

/* ── Responsive section paddings ── */
@media (max-width: 720px) {
  .af-section { padding: 64px 24px; }
  .af-cta-banner { padding: 64px 24px; }
  .af-trust { padding: 40px 24px; }
}

/* ── Light hero variant ── */
.af-hero.af-hero--light { background: linear-gradient(180deg, #FFFFFF 0%, var(--w-bg2) 100%); color: var(--w-fg1); }
.af-hero--light .af-hero-glow--magenta { background: rgba(144,49,99,0.18); }
.af-hero--light .af-hero-glow--teal { background: rgba(0,128,128,0.14); }
.af-hero--light .af-hero-grain { display: none; }
.af-hero--light .af-hero-title { color: var(--w-fg1); }
.af-hero--light .af-hero-amp { color: var(--w-fg3); }
.af-hero--light .af-hero-sub { color: var(--w-fg2); }
.af-hero--light .af-hero-meta { border-top-color: var(--w-border-light); }
.af-hero--light .af-hero-meta b { color: var(--w-fg1); }
.af-hero--light .af-hero-meta span { color: var(--w-fg3); }
.af-hero--light .af-stat-card { background: #fff; border: 1px solid var(--w-border-card); box-shadow: 0 16px 40px rgba(144,49,99,0.1); }
.af-hero--light .af-stat-card::before { display: none; }
.af-hero--light .af-stat-row { background: var(--w-bg2); border-color: var(--w-border-card); }
.af-hero--light .af-stat-row--teal { background: linear-gradient(135deg, rgba(0,128,128,0.08), rgba(56,179,194,0.04)); border-color: rgba(0,128,128,0.2); }
.af-hero--light .af-stat-row--magenta { background: linear-gradient(135deg, rgba(144,49,99,0.08), rgba(194,124,161,0.04)); border-color: rgba(144,49,99,0.22); }
.af-hero--light .af-stat-row-label { color: var(--w-fg3); }
.af-hero--light .af-stat-row--teal .af-stat-row-label { color: var(--w-teal); }
.af-hero--light .af-stat-row--magenta .af-stat-row-label { color: var(--w-primary); }
.af-hero--light .af-stat-row-text { color: var(--w-fg1); }
.af-hero--light .af-stat-row-pct { color: var(--w-fg1); -webkit-text-fill-color: initial; background: none; }
.af-hero--light .af-stat-row--teal .af-stat-row-pct { background: linear-gradient(135deg, var(--w-teal), var(--w-moonstone)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.af-hero--light .af-stat-row--magenta .af-stat-row-pct { background: linear-gradient(135deg, var(--w-primary), var(--w-mauve)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.af-hero--light .af-stat-foot { color: var(--w-fg3); border-top-color: var(--w-border-light); }
.af-hero--light .af-btn-ghost-dark { background: var(--w-bg2); color: var(--w-fg1); border-color: var(--w-border-default); }
.af-hero--light .af-btn-ghost-dark:hover { background: var(--w-bg3); }

/* ── Inline code chip ── */
.af-code { font-family: var(--w-font-mono); font-size: 0.9em; background: var(--w-primary-light); color: var(--w-primary); padding: 3px 8px; border-radius: var(--w-radius-sm); white-space: nowrap; }

/* ── "What you share" preview (mockup of the affiliate landing page) ── */
.af-preview { display: flex; justify-content: center; padding: 0 24px 56px; }
.af-preview-window { position: relative; width: 100%; max-width: 880px; border-radius: 16px; box-shadow: 0 24px 60px rgba(144,49,99,0.15), 0 4px 12px rgba(0,0,0,0.06); border: 1px solid var(--w-border-light); overflow: hidden; background: #fff; }
.af-preview-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--w-bg2); border-bottom: 1px solid var(--w-border-light); }
.af-preview-dot { width: 10px; height: 10px; border-radius: 50%; background: #d0c4cc; }
.af-preview-dot:nth-child(1) { background: #ff5f57; }
.af-preview-dot:nth-child(2) { background: #ffbd2e; }
.af-preview-dot:nth-child(3) { background: #28c840; }
.af-preview-url { margin-left: 16px; font-family: var(--w-font-mono); font-size: 13px; color: var(--w-fg2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.af-preview-url b { color: var(--w-primary); font-weight: 600; }
.af-preview-body { padding: 48px 56px 56px; text-align: center; background: linear-gradient(180deg, #fff 0%, var(--w-bg2) 100%); padding-right: 96px; }
.af-preview-code-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; background: rgba(0, 128, 128, 0.10); color: var(--w-teal); border: 1px solid rgba(0, 128, 128, 0.25); border-radius: 999px; font-size: 13px; font-weight: 600; margin-bottom: 20px; }
.af-preview-code-chip i { font-size: 11px; }
.af-preview-code-chip b { font-family: var(--w-font-mono); font-weight: 700; }
.af-preview-headline { font-size: clamp(1.5rem, 1.25rem + 1.25vw, 2rem); font-weight: 700; line-height: 1.2; color: var(--w-fg1); margin-bottom: 12px; }
.af-preview-sub { font-size: 15px; color: var(--w-fg2); max-width: 520px; margin: 0 auto 32px; line-height: 1.55; }

/* Stylized product card (mirrors the real page's card with strikethrough pricing) */
.af-preview-product { display: flex; flex-direction: column; gap: 14px; max-width: 360px; margin: 0 auto; padding: 22px 24px; background: #fff; border: 1px solid var(--w-border-light); border-radius: var(--w-radius-card); box-shadow: var(--w-shadow-sm); text-align: left; }
.af-preview-product-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.af-preview-product-name { font-size: 16px; font-weight: 700; color: var(--w-fg1); }
.af-preview-product-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--w-teal); padding: 4px 10px; background: rgba(0, 128, 128, 0.08); border-radius: 999px; }
.af-preview-product-prices { display: flex; align-items: baseline; gap: 8px; }
.af-preview-price-old { font-size: 14px; color: var(--w-fg3); text-decoration: line-through; }
.af-preview-price-new { font-size: 24px; font-weight: 800; color: var(--w-primary); letter-spacing: -0.01em; }
.af-preview-price-unit { font-size: 13px; color: var(--w-fg2); }
.af-preview-product-cta { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 16px; background: var(--w-primary); color: #fff; border-radius: var(--w-radius-md); font-weight: 600; font-size: 13px; }

/* Lateral drawer hint (peeking from right) */
.af-preview-drawer { position: absolute; top: 80px; right: 0; height: calc(100% - 80px); width: 56px; background: #fff; border-left: 1px solid var(--w-border-light); box-shadow: -8px 0 16px rgba(0,0,0,0.04); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--w-fg3); }
.af-preview-drawer-label { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.af-preview-drawer i { font-size: 14px; color: var(--w-primary); }

@media (max-width: 720px) {
  .af-preview-body { padding: 36px 24px 40px; padding-right: 60px; }
  .af-preview-url { font-size: 11px; }
  .af-preview-drawer { width: 36px; top: 64px; height: calc(100% - 64px); }
  .af-preview-drawer-label { font-size: 10px; }
}

/* ── 5 friction-killers grid ── */
.af-friction-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 8px; }
.af-friction { padding: 24px 20px; background: #fff; border: 1px solid var(--w-border-light); border-radius: var(--w-radius-card); text-align: left; transition: transform 200ms var(--w-ease), box-shadow 200ms var(--w-ease); }
.af-friction:hover { transform: translateY(-2px); box-shadow: var(--w-shadow-md); }
.af-friction-icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: var(--w-primary-light); color: var(--w-primary); margin-bottom: 14px; font-size: 14px; }
.af-friction-title { font-size: 15px; font-weight: 700; color: var(--w-fg1); margin: 0 0 6px; line-height: 1.3; }
.af-friction-text { font-size: 13.5px; color: var(--w-fg2); line-height: 1.5; margin: 0; }

@media (max-width: 1023px) {
  .af-friction-grid { grid-template-columns: repeat(2, 1fr); }
  .af-friction:nth-child(5) { grid-column: span 2; max-width: calc(50% - 8px); margin: 0 auto; }
}
@media (max-width: 540px) {
  .af-friction-grid { grid-template-columns: 1fr; }
  .af-friction:nth-child(5) { grid-column: auto; max-width: none; margin: 0; }
}

.af-preview-cta-row { display: flex; justify-content: center; margin-top: 40px; }

/* ── Hero portrait (photo + floating stat overlay) ── */
.af-hero-portrait {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 4 / 5;
  border-radius: var(--w-radius-card);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(144, 49, 99, 0.35), 0 8px 24px rgba(0, 0, 0, 0.4);
  isolation: isolate;
}
.af-hero-portrait-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  z-index: 0;
}
.af-hero-portrait-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(15, 15, 17, 0) 0%, rgba(15, 15, 17, 0) 35%, rgba(15, 15, 17, 0.55) 70%, rgba(15, 15, 17, 0.85) 100%),
    linear-gradient(135deg, rgba(144, 49, 99, 0.15) 0%, transparent 40%);
  pointer-events: none;
}
.af-stat-card--floating {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  padding: 22px;
  background: linear-gradient(180deg, rgba(15, 15, 17, 0.55) 0%, rgba(15, 15, 17, 0.78) 100%);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
}
.af-stat-card--floating .af-stat-row { padding: 14px 18px; }
.af-stat-card--floating .af-stat-row-pct { font-size: 36px; }
.af-stat-card--floating .af-stat-row-text { font-size: 13px; }
.af-stat-card--floating .af-stat-foot { margin-top: 14px; padding-top: 14px; font-size: 11.5px; }

@media (max-width: 1023px) {
  .af-hero-portrait { max-width: 480px; margin: 32px auto 0; aspect-ratio: 16 / 14; }
  .af-hero-portrait-img { object-position: center 30%; }
}
@media (max-width: 640px) {
  .af-hero-portrait { aspect-ratio: 4 / 5; }
  .af-stat-card--floating { left: 14px; right: 14px; bottom: 14px; padding: 16px; }
  .af-stat-card--floating .af-stat-row-pct { font-size: 30px; }
  .af-stat-card--floating .af-stat-foot { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ════════════════════════════════════════════════════════════
   "Powered by Trackdesk" trust strip
   ════════════════════════════════════════════════════════════ */
.af-trust-strip {
  background: var(--w-bg2);
  border-top: 1px solid var(--w-border-light);
  border-bottom: 1px solid var(--w-border-light);
  padding: 36px 24px;
}
.af-trust-strip-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.af-trust-strip-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--w-fg3);
  text-transform: uppercase;
}
.af-trust-strip img.af-trust-strip-logo {
  height: 64px;
  width: auto;
  max-width: none;
  opacity: 1;
  transition: opacity 200ms;
}
.af-trust-strip-stat {
  font-size: 14.5px;
  color: var(--w-fg2);
  margin-top: 4px;
}
.af-trust-strip-stat b { color: var(--w-fg1); font-weight: 700; }
@media (max-width: 640px) {
  .af-trust-strip { padding: 28px 20px; }
  .af-trust-strip img.af-trust-strip-logo { height: 48px; }
  .af-trust-strip-stat { font-size: 13.5px; }
}

/* ════════════════════════════════════════════════════════════
   Split feature layout (media on left, feature list on right)
   Used by "What you share" and "What you see" sections.
   ════════════════════════════════════════════════════════════ */
.af-split-feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}
.af-split-feature--reverse { grid-template-columns: 1fr 1.1fr; }
.af-split-feature--reverse .af-split-media { order: 2; }
.af-split-feature--reverse .af-feature-list { order: 1; }

@media (max-width: 960px) {
  .af-split-feature,
  .af-split-feature--reverse { grid-template-columns: 1fr; gap: 40px; }
  .af-split-feature--reverse .af-split-media { order: initial; }
  .af-split-feature--reverse .af-feature-list { order: initial; }
}

/* ── Media frame (browser-style) ── */
.af-split-media { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.af-media-frame {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--w-border-light);
  box-shadow: 0 24px 60px rgba(144, 49, 99, 0.15), 0 4px 12px rgba(0, 0, 0, 0.06);
  background: #fff;
}
.af-media-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  background: var(--w-bg2);
  border-bottom: 1px solid var(--w-border-light);
}
.af-media-url {
  margin-left: 14px;
  font-family: var(--w-font-mono);
  font-size: 12.5px;
  color: var(--w-fg2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.af-media-url b { color: var(--w-primary); font-weight: 600; }
.af-media-asset {
  display: block;
  width: 100%;
  height: auto;
  background: var(--w-bg2);
}
.af-media-placeholder {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 320px;
  background: linear-gradient(135deg, var(--w-bg2), var(--w-bg3));
  color: var(--w-fg3);
  font-size: 14px;
  font-weight: 500;
}
.af-media-placeholder i { font-size: 24px; color: var(--w-primary); opacity: 0.5; }
.af-media-cta { align-self: flex-start; }
.af-media-caption {
  font-size: 12.5px;
  color: var(--w-fg3);
  font-style: italic;
  margin: 0;
}

/* ── Feature list (icon + title + text rows) ── */
.af-feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.af-feature {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
}
.af-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--w-primary-light), rgba(0, 128, 128, 0.08));
  color: var(--w-primary);
  font-size: 16px;
  flex-shrink: 0;
}
.af-feature-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--w-fg1);
  margin: 0 0 4px;
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.af-feature-text {
  font-size: 14px;
  color: var(--w-fg2);
  line-height: 1.55;
  margin: 0;
}

/* ── "Coming soon" badge ── */
.af-badge-soon {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--w-teal);
  background: rgba(0, 128, 128, 0.10);
  border: 1px solid rgba(0, 128, 128, 0.25);
  border-radius: 999px;
}

/* ════════════════════════════════════════════════════════════
   Phone frame (for portrait video recording of affiliate page)
   ════════════════════════════════════════════════════════════ */
.af-phone-frame {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  aspect-ratio: 9 / 19.5;
  padding: 12px;
  background: #1a1a1a;
  border-radius: 42px;
  box-shadow:
    0 30px 60px rgba(144, 49, 99, 0.18),
    0 12px 24px rgba(0, 0, 0, 0.18),
    inset 0 0 0 2px rgba(255, 255, 255, 0.04);
}
.af-phone-frame::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 38px;
  background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(0,0,0,0));
  pointer-events: none;
}
.af-phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 24px;
  background: #000;
  border-radius: 999px;
  z-index: 2;
}
.af-phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  background: #000;
  object-fit: cover;
  display: block;
}

@media (max-width: 540px) {
  .af-phone-frame { max-width: 280px; }
  .af-phone-notch { width: 80px; height: 22px; top: 16px; }
}
