/* Humantic AI · Affiliate Program (rebuilt Oct 12 2026 after AK review: anti-slop pass).
   Palette: gold #FFC61E carries the hero (committed colour), ink #110A33, cream #FFF4D2,
   violet (one token), lavender #DDD6FF, mist #F6F4FF, slate #5B6478.
   Cabinet Grotesk + Manrope come from hai-brand.css.
   Signature moments: the seat earnings strip under the hero calculator, and the step deck
   (application, split-flap referral code, payout) that plays as you read the steps. */

.aff {
  --gold: #FFC61E; --gold-2: #FFD54F; --cream: #FFF4D2; --ink: #110A33; --ink-2: #1D1450;
  --violet: #341D99; --lav: #DDD6FF; --mist: #F6F4FF; --slate: #5B6478; --line: #DDD6FF;
  --ease: cubic-bezier(0.16, 1, 0.3, 1); --disp: "Cabinet Grotesk", Cabinetgrotesk, Arial, sans-serif;
  --shell: 1200px; --gutter: clamp(20px, 4vw, 48px);
  background: #fff; color: var(--ink);
}
body.aff { margin: 0; overflow-x: clip; }
.aff *, .aff *::before, .aff *::after { box-sizing: border-box; }
.aff h1, .aff h2, .aff h3 { margin: 0; text-wrap: balance; }
.aff p { margin: 0; text-wrap: pretty; }
.aff .skip { position: absolute; left: -9999px; }
.aff .skip:focus { left: 8px; top: 8px; z-index: 2000; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.af-shell { max-width: var(--shell); margin: 0 auto; padding: 0 var(--gutter); }

/* Buttons */
.af-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.af-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 700 16px/1 var(--disp); text-decoration: none; white-space: nowrap; border: 1.5px solid transparent; transition: transform .25s var(--ease), background-color .2s, color .2s, border-color .2s; }
.af-btn:hover, .af-btn:focus-visible { transform: translateY(-2px); text-decoration: none; }
.af-btn:active { transform: scale(.97); transition-duration: .1s; }
.af-btn svg { transition: transform .25s var(--ease); }
.af-btn:hover svg { transform: translateX(3px); }
.af-btn--ink { background: var(--ink); color: #fff; }
.af-btn--ink:hover, .af-btn--ink:focus-visible { background: var(--violet); color: #fff; }
.af-btn--gold { background: var(--gold); color: var(--ink); }
.af-btn--gold:hover, .af-btn--gold:focus-visible { background: var(--gold-2); color: var(--ink); }
.af-btn--line { border-color: var(--ink); color: var(--ink); }
.af-btn--line:hover, .af-btn--line:focus-visible { background: var(--ink); color: #fff; }
.af-btn--line-light { border-color: rgba(255,255,255,.45); color: #fff; }
.af-btn--line-light:hover, .af-btn--line-light:focus-visible { border-color: #fff; color: #fff; background: rgba(255,255,255,.07); }

/* Reveal primitive */
.af-rv { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.af-rv.on { opacity: 1; transform: none; }

/* ---------- 1. HERO (gold) ---------- */
.af-hero { position: relative; overflow: hidden; background: var(--gold); padding: clamp(140px, 13vw, 176px) 0 clamp(64px, 8vw, 104px); }
.af-hero::before { content: ""; position: absolute; right: -14vw; top: -18vw; width: 62vw; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(17,10,51,.12); box-shadow: 0 0 0 7vw rgba(17,10,51,.035), 0 0 0 14vw rgba(17,10,51,.025); pointer-events: none; }
.af-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.af-h1 { font: 700 clamp(38px, 6vw, 76px)/1.06 var(--disp) !important; letter-spacing: -.045em !important; color: var(--ink) !important; }
.af-h1 .ln { display: block; overflow: hidden; padding-bottom: .05em; }
.af-h1 .ln > span { display: block; transform: translateY(105%); animation: afUp 1.1s var(--ease) forwards; }
.af-h1 .ln:nth-child(2) > span { animation-delay: .1s; }
.af-h1 .ln:nth-child(3) > span { animation-delay: .2s; }
.af-lead { margin-top: 26px !important; max-width: none; font-size: clamp(17px, 1rem + .35vw, 20px); line-height: 1.6; color: #110A33; opacity: 0; animation: afFade .9s .45s var(--ease) forwards; }
.af-lead b { color: var(--ink); }
.af-hero .af-cta { opacity: 0; animation: afFade .9s .6s var(--ease) forwards; }

.af-calc { position: relative; background: var(--ink); color: #fff; border-radius: 28px; padding: clamp(26px, 3vw, 38px); box-shadow: 0 40px 80px -40px rgba(17,10,51,.6); }
.af-calc__h { font: 700 clamp(27px, 3.4vw, 44px)/1.12 var(--disp) !important; color: #fff !important; }
.af-calc__lab { display: block; margin-top: 18px; font-size: 14px; color: #DDD6FF; }
.af-calc__in { display: flex; align-items: center; gap: 6px; margin-top: 8px; padding: 0 16px; height: 54px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(221,214,255,.22); font: 700 22px/1 var(--disp); color: #fff; transition: border-color .2s; }
.af-calc__in:focus-within { border-color: var(--gold); }
.af-calc__in input { all: unset; width: 100%; font: inherit; color: #fff; }
.af-calc__in input::-webkit-inner-spin-button { opacity: .3; }
/* Deal value and seats side by side (AK/Krish, Oct 19) */
.af-calc__row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 10px; margin-top: 8px; }
.af-calc__row .af-calc__in { margin-top: 0; cursor: text; font-variant-numeric: tabular-nums; }
.af-calc__in--seats { justify-content: space-between; }
.af-calc__in--seats input { width: 4ch; flex: 1 1 auto; text-align: right; }
.af-calc__in--seats input::-webkit-inner-spin-button, .af-calc__in--seats input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.af-calc__unit { font: 600 15px/1 Manrope, Arial, sans-serif; color: #DDD6FF; white-space: nowrap; min-width: 4ch; }
@media (max-width: 460px) { .af-calc__row { grid-template-columns: minmax(0, 1fr); } .af-calc__in--seats input { width: 100%; } }
.af-range { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; margin: 14px 0 0; background: transparent; cursor: pointer; --fill: 18%; }
.af-range::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--gold) var(--fill), rgba(255,255,255,.14) var(--fill)); }
.af-range::-moz-range-track { height: 6px; border-radius: 6px; background: rgba(255,255,255,.14); }
.af-range::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--gold); }
.af-range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: #fff; border: 4px solid var(--gold); box-shadow: 0 4px 12px rgba(0,0,0,.35); transition: transform .15s var(--ease); }
.af-range:active::-webkit-slider-thumb { transform: scale(1.15); }
.af-range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--gold); }
.af-range:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 6px; }
.af-calc__ends { display: flex; justify-content: space-between; margin-top: 2px; font-size: 12px; line-height: 16px; font-weight: 700; color: #DDD6FF; }
.af-calc__out { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(221,214,255,.16); }
.af-calc__you { font-size: 15px; font-weight: 700; color: var(--gold); }
.af-calc__val { font: 700 clamp(44px, 1.6rem + 3vw, 68px)/1 var(--disp); letter-spacing: -.04em; color: #fff; font-variant-numeric: tabular-nums; }
.af-calc__note { margin-top: 14px !important; font-size: 14px; line-height: 1.5; color: #DDD6FF; }

/* Seat earnings strip: the same 20% worked out for six seat counts */
.af-earn { margin-top: clamp(32px, 4vw, 48px); padding: 20px 24px 24px; background: #fff; border-radius: 24px; box-shadow: 0 2px 8px rgba(17,10,51,.08); }
.af-earn__cap { font-size: 14px; line-height: 1.4; color: var(--slate); text-align: center; }
.af-earn__list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.af-earn__item { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 14px 12px; background: var(--mist); border-radius: 16px; }
.af-earn__seats { font: 700 15px/1.2 var(--disp); color: var(--ink); }
.af-earn__deal { font-size: 13px; line-height: 1.3; color: var(--slate); overflow-wrap: anywhere; }
.af-earn__pay { margin-top: 6px; font: 700 clamp(18px, 1rem + .6vw, 24px)/1.1 var(--disp); letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

/* ---------- 2. STEPS (three steps, one compact static row) ---------- */
.af-steps { background: #fff; padding: 64px 0; }
.af-steps__head { max-width: 680px; margin: 0 auto; text-align: center; }
.af-steps__head h2, .af-deal__head h2, .af-kit__head h2, .af-apply h2 { font: 700 clamp(27px, 3.4vw, 44px)/1.12 var(--disp) !important; letter-spacing: -.04em !important; color: inherit; }
.af-steps__head p, .af-deal__head p, .af-kit__head p { font-size: 17.5px; font-weight: 400; line-height: 1.6; color: var(--slate); max-width: 52ch; }
.af-steps__head p { margin: 14px auto 0; }
/* Steps left, video right: equal height, each step centred in its third of the video's height */
.af-steps__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: stretch; margin-top: clamp(28px, 3.5vw, 44px); }
.af-steprow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); }
.af-stepc { display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-areas: "ic t" "ic p"; column-gap: 16px; row-gap: 2px; align-content: center; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.af-stepc:first-child { border-top: 0; padding-top: 0; }
.af-stepc:last-child { padding-bottom: 0; }
.af-stepc__ic { grid-area: ic; align-self: center; width: 44px; height: 44px; border-radius: 14px; background: var(--lav); color: var(--ink); display: grid; place-items: center; }
.af-stepc h3 { grid-area: t; align-self: end; font: 700 19px/1.2 var(--disp) !important; letter-spacing: -.03em !important; color: var(--ink) !important; }
.af-stepc p { grid-area: p; align-self: start; margin: 0 !important; font-size: 15.5px; line-height: 1.45; color: var(--slate); max-width: 38ch; }

/* Partner video: click-to-play facade, 16:9, nothing from YouTube loads until it is pressed */
.af-vid { position: relative; align-self: center; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: var(--ink); box-shadow: 0 12px 32px -12px rgba(17,10,51,.22); isolation: isolate; }
.af-vid__btn { position: absolute; inset: 0; display: block; cursor: pointer; color: var(--ink); text-decoration: none; -webkit-tap-highlight-color: transparent; }
.af-vid__img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
/* Play pill sits bottom-right so it never covers the headline baked into the thumbnail */
.af-vid__play { position: absolute; z-index: 2; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px 0 8px; border-radius: 999px; background: var(--gold); color: var(--ink); font: 800 15px/1 Manrope, Arial, sans-serif; font-variant-numeric: tabular-nums; box-shadow: 0 12px 32px -12px rgba(17,10,51,.35); transition: transform .25s var(--ease), background-color .2s; }
.af-vid__play i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--gold); font-style: normal; }
.af-vid__play svg { margin-left: 2px; }
@media (hover: hover) and (pointer: fine) { .af-vid__btn:hover .af-vid__play { transform: translateY(-2px); background: var(--gold-2); } .af-vid__btn:hover .af-vid__img { transform: scale(1.03); } }
.af-vid__btn:active .af-vid__play { transform: scale(.97); transition-duration: .1s; }
.af-vid__btn:focus-visible { outline: 3px solid var(--violet); outline-offset: -3px; }
.af-vid__btn[hidden] { display: none; }
.af-vid__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; background: var(--ink); }
.af-inline-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: clamp(40px, 5vw, 64px); padding: 22px 26px; border-radius: 20px; background: var(--mist); }
.af-inline-cta p { font: 700 clamp(18px, 1rem + .4vw, 22px)/1.3 var(--disp); color: var(--ink); }

/* ---------- 3. THE PARTNERSHIP TABLE ---------- */
.af-deal { background: var(--cream); padding: 64px 0; }
.af-deal__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 4vw, 52px); }
.af-deal__head p { color: #5A5130; }
.af-table { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); border-radius: 28px; overflow: hidden; box-shadow: 0 30px 60px -40px rgba(17,10,51,.4); }
.af-table__side { padding: clamp(26px, 3vw, 40px); }
.af-table__side h3 { font: 700 19px/1.12 var(--disp) !important; margin-bottom: 18px !important; }
.af-table__side--get { background: var(--ink); color: #fff; }
.af-table__side--get h3 { color: var(--gold) !important; }
.af-table__side--ask { background: #fff; color: var(--ink); display: flex; flex-direction: column; }
.af-table__side--ask h3 { color: var(--violet) !important; }
.af-table dl { margin: 0; }
.af-row { display: grid; grid-template-columns: minmax(150px, 34%) minmax(0, 1fr); gap: 20px; padding: 16px 0; border-top: 1px solid rgba(17,10,51,.1); }
.af-table__side--get .af-row { border-top-color: rgba(221,214,255,.14); }
.af-row dt { font: 700 17px/1.3 var(--disp); }
.af-row dd { margin: 0; font-size: 15px; line-height: 1.55; }
.af-table__side--get dd { color: #DDD6FF; }
.af-table__side--ask dd { color: var(--slate); }
.af-table__cta { margin-top: auto; align-self: flex-start; }
.af-table__side--ask dl { margin-bottom: 28px; }

/* ---------- 4. PARTNER KIT (horizontal) ---------- */
.af-kit { background: #fff; padding: 64px 0; }
.af-kit__head { display: block; text-align: center; margin-bottom: clamp(32px, 4vw, 48px); }
.af-kit__head h2 { max-width: 24ch; margin-inline: auto; }
.af-kit__cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.af-kit__col { padding: 20px 18px 8px 0; }
.af-kit__col + .af-kit__col { padding-left: 18px; border-left: 1px solid var(--line); }
.af-kit__col h3 { display: flex; align-items: center; gap: 8px; font: 700 19px/1.12 var(--disp) !important; color: var(--ink) !important; margin-bottom: 14px !important; }
.af-kit__col h3 small { font: 700 12px/1 Manrope, Arial, sans-serif; padding: 4px 7px; border-radius: 999px; background: var(--gold); color: var(--ink); }
.af-kit__col ul { list-style: none; margin: 0; padding: 0; }
.af-kit__col a { display: block; padding: 12px 10px; margin: 0 -10px; border-radius: 12px; text-decoration: none; color: var(--ink); transition: background-color .25s; }
.af-kit__col a:hover, .af-kit__col a:focus-visible { background: var(--mist); }
.af-kit__kind { display: block; font-size: 14px; font-weight: 700; color: var(--violet); }
.af-kit__name { display: block; margin-top: 3px; font: 700 16px/1.3 var(--disp); }
.af-kit__col a:hover .af-kit__name::after { content: " \2197"; color: var(--violet); }
.af-kit__desc { display: block; margin-top: 3px; font-size: 14px; line-height: 1.45; color: var(--slate); }

/* ---------- 5. WORD FROM OUR PARTNERS ---------- */
.af-voices { background: var(--mist); padding: clamp(72px, 9vw, 112px) 0; }
.af-voices__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 40px; margin-bottom: clamp(32px, 4vw, 48px); }
.af-voices__head h2 { font: 700 clamp(27px, 3.4vw, 44px)/1.12 var(--disp) !important; letter-spacing: -.04em !important; color: var(--ink) !important; }
.af-voices__all { display: inline-flex; align-items: center; gap: 8px; font: 700 16px/1 var(--disp); color: var(--violet); text-decoration: none; }
.af-voices__all:hover, .af-voices__all:focus-visible { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.af-voices__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; }
.af-voice { margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; padding: clamp(22px, 2.4vw, 30px); background: #fff; border: 1px solid #E7E2FA; border-radius: 22px; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.af-voice:hover { transform: translateY(-4px); box-shadow: 0 28px 50px -34px rgba(17,10,51,.45); }
.af-voice blockquote { margin: 0; }
.af-voice blockquote p { margin: 0 0 10px !important; font-size: 15px; line-height: 1.6; color: #110A33; }
.af-voice blockquote p:last-child { margin-bottom: 0 !important; }
.af-voice figcaption { display: flex; align-items: center; gap: 12px; }
.af-voice figcaption img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--gold); }
.af-voice figcaption b { display: block; font: 700 17px/1.2 var(--disp); color: var(--ink); }
.af-voice figcaption span { font-size: 14px; color: var(--slate); }
.af-voice--lead { grid-row: span 3; background: var(--ink); border-color: var(--ink); }
.af-voice--lead blockquote p { font: 700 clamp(20px, 1rem + .7vw, 26px)/1.35 var(--disp); color: #fff; letter-spacing: -.01em; }
.af-voice--lead blockquote p:first-child::before { content: "“"; display: block; font: 700 80px/.6 var(--disp); color: var(--gold); margin-bottom: 14px; }
.af-voice--lead figcaption b { color: #fff; }
.af-voice--lead figcaption span { color: #DDD6FF; }
@media (max-width: 900px) { .af-voices__grid { grid-template-columns: 1fr; } .af-voice--lead { grid-row: auto; } }

/* ---------- 6. APPLY ---------- */
.af-apply { background: var(--mist); color: var(--ink); padding: 64px 0; text-align: center; }
section#partners.pv { padding: 64px 0; }
.af-apply__in { display: flex; flex-direction: column; align-items: center; }
.af-apply h2 { color: var(--ink) !important; max-width: 22ch; text-wrap: balance; }
.af-apply p { margin: 16px 0 0; font-size: 17.5px; font-weight: 400; line-height: 1.6; color: var(--slate); max-width: 46ch; text-wrap: pretty; }
.af-apply .af-cta { justify-content: center; margin-top: 28px; }
.af-apply__note { margin-top: 20px !important; font-size: 14px !important; }
.af-apply__note a { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }

/* ---------- motion ---------- */
@keyframes afUp { to { transform: none; } }
@keyframes afFade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .af-kit__cols { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .af-kit__col { scroll-snap-align: start; }
}
@media (max-width: 900px) {
  .af-hero__grid, .af-steps__grid, .af-deal__head, .af-kit__head, .af-table, .af-apply__grid { grid-template-columns: 1fr; }
  .af-row { grid-template-columns: 1fr; gap: 4px; }
  .af-steprow { grid-template-rows: none; }
  .af-stepc, .af-stepc:first-child, .af-stepc:last-child { padding: 14px 0; }
  .af-stepc:first-child { padding-top: 0; }
  .af-stepc:last-child { padding-bottom: 0; }
  .af-earn__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .af-calc__out { flex-direction: column; align-items: flex-start; gap: 6px; }
  .af-calc__val { font-size: clamp(40px, 13vw, 56px); }
  .af-earn { padding: 16px; }
  .af-earn__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .aff *, .aff *::before, .aff *::after { animation: none !important; transition: none !important; }
  .af-h1 .ln > span, .af-lead, .af-hero .af-cta { opacity: 1; transform: none; }
  .af-rv { opacity: 1; transform: none; }
}

/* Trust wall on this page (Krish K-179; bento rebuild Oct 20): slimmer padding so heading and bento sit on one laptop screen */
@media (min-width: 1000px) { .aff #wall { padding-block: 40px 48px; } }

/* MOBILE-B (Oct 21): shorter affiliate page on phones */
@media (max-width: 767px) {
  .af-hero { padding: 96px 0 40px; }
  .af-steps, .af-deal, .af-kit, .af-apply { padding: 40px 0; }
  .af-inline-cta { margin-top: 24px; }
  .af-deal__head, .af-kit__head { gap: 12px; margin-bottom: 20px; }
  .af-steps__head p { margin-top: 10px; }
  .af-steps__grid { margin-top: 20px; gap: 20px; }
  .af-steps__head p, .af-deal__head p, .af-kit__head p, .af-apply p { font-size: 16px; line-height: 1.5; }
  .af-stepc { column-gap: 14px; }
  .af-stepc h3 { font-size: 18px !important; }
  .af-stepc p { font-size: 15px; line-height: 1.4; }
  .af-vid { border-radius: 20px; }
  .af-vid__play { right: 10px; top: 10px; bottom: auto; min-height: 36px; padding: 0 14px 0 5px; gap: 8px; font-size: 13px; }
  .af-vid__play i { width: 26px; height: 26px; }
  .af-table__side { padding: 20px 16px; }
  .af-table__side h3 { margin-bottom: 8px !important; }
  .af-table dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .af-table dl .af-row:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .af-row { padding: 10px 0; }
  .af-row dt { font-size: 15px; }
  .af-row dd { font-size: 13.5px; line-height: 1.4; }
  .af-table__side--ask dl { margin-bottom: 16px; }
  .af-kit__col a { padding: 8px 10px; }
  .af-earn { margin-top: 24px; }
}
@media (max-width: 359px) {
  .af-table dl { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 2b. REFERRAL FIT SCORER (rebuilt Oct 28 for ICP v2) ----------
   One question at a time on a white card, lavender answer chips, an instant 0 to 100 score on a four-zone meter, the profile it matched
   (lead with, also mention, don't pitch, how they would buy) and one line per answer saying why. A "How the score works" disclosure sits at the foot.
   Browser only: nothing is sent or stored. Without JS every question shows as a plain radio group. */
.af-fit { background: var(--mist); padding: 40px 0; }
.af-fit [hidden] { display: none !important; }
/* Krish, Oct 27 call: title + intro left-aligned, ONE merged title, the block uses the full content width (no empty space left and right). */
.af-fit__head { margin: 0 0 clamp(16px, 2vw, 24px); text-align: center; } /* AK Oct 27: centred like every section heading */
.af-fit__head h2 { font: 700 clamp(24px, 1rem + 1.6vw, 36px)/1.15 var(--disp) !important; letter-spacing: -.04em !important; color: var(--ink) !important; text-wrap: balance; }
.af-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.af-fit__card { max-width: none; margin: 0; padding: clamp(16px, 2.6vw, 32px); background: #fff; border-radius: 24px; box-shadow: 0 12px 32px -12px rgba(17,10,51,.22); }
.af-fit__card:not(.is-js) .af-fit__nav, .af-fit__card:not(.is-js) .af-fit__prog { display: none; }
.af-fit__card:not(.is-js) .af-fit__q + .af-fit__q { margin-top: 24px; }
.af-fit__prog { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.af-fit__track { flex: 1 1 auto; height: 4px; border-radius: 4px; background: var(--lav); overflow: hidden; }
.af-fit__track i { display: block; height: 100%; width: 100%; border-radius: 4px; background: var(--ink); transform-origin: left center; transform: scaleX(.1429); transition: transform .3s var(--ease); }
.af-fit__step { flex: none; font-size: 13px; font-weight: 700; color: var(--slate); font-variant-numeric: tabular-nums; }
.af-fit__q { margin: 0; padding: 0; border: 0; min-width: 0; }
.af-fit__q.is-in { animation: afFitIn .22s var(--ease); }
.af-fit__q legend { padding: 0; margin: 0 0 10px; font: 700 clamp(17px, 1rem + .35vw, 20px)/1.25 var(--disp); letter-spacing: -.03em; color: var(--ink); outline: 0; text-wrap: balance; }
.af-fit__opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.af-fit__opts[data-cols="1"] { grid-template-columns: minmax(0, 1fr); }
.af-fit__opts[data-cols="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.af-chip { position: relative; display: block; cursor: pointer; }
.af-chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.af-chip span { display: flex; align-items: center; height: 100%; min-height: 40px; padding: 6px 12px; border: 1.5px solid transparent; border-radius: 12px; background: var(--lav); color: var(--ink); font: 700 13.5px/1.3 Manrope, Arial, sans-serif; text-wrap: balance; transition: background-color .15s, border-color .15s, transform .15s var(--ease); }
@media (hover: hover) and (pointer: fine) { .af-chip:hover span { border-color: var(--ink); } }
.af-chip input:checked + span { background: var(--gold); border-color: var(--ink); }
.af-chip input:focus-visible + span { outline: 2px solid var(--violet); outline-offset: 3px; }
.af-chip:active span { transform: scale(.97); }
.af-fit__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; min-height: 40px; }
.af-fit__back { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; min-height: 40px; padding: 0 4px; font: 700 14px/1 Manrope, Arial, sans-serif; color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 5px; cursor: pointer; }
.af-fit__back:hover { text-decoration-color: var(--ink); }
.af-fit__back:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; border-radius: 6px; }
.af-fit__next { margin-left: auto; min-height: 40px; padding: 0 22px; font-size: 14px; }
.af-fit__next:disabled { opacity: .35; cursor: not-allowed; transform: none; }
.af-fit__next:disabled:hover { background: var(--ink); }

/* result */
.af-fit__top { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 8px clamp(14px, 2vw, 20px); }
.af-fit__top.is-solo { grid-template-columns: minmax(0, 1fr); }
.af-fit__score { display: flex; align-items: baseline; gap: 6px; }
.af-fit__num { font: 700 clamp(44px, 2.4rem + 1vw, 56px)/1 var(--disp); letter-spacing: -.05em; color: var(--ink); font-variant-numeric: tabular-nums; min-width: 2ch; text-align: right; }
.af-fit__of { font: 700 14px/1 var(--disp); color: var(--slate); }
.af-fit__verdict h3 { font: 700 clamp(19px, 1rem + .5vw, 22px)/1.15 var(--disp) !important; letter-spacing: -.03em !important; color: var(--ink) !important; outline: 0; }
.af-fit__verdict p { margin-top: 4px !important; font-size: 14px; line-height: 1.45; color: var(--slate); text-wrap: pretty; }
.af-fit__verdict .af-fit__plain { margin-top: 6px !important; font-size: 15px; font-weight: 700; color: var(--ink); }
.af-fit__verdict .af-fit__held { color: var(--ink); font-weight: 700; font-size: 14px; }
.af-fit__meter { margin-top: 14px; }
.af-fit__zones { position: relative; display: flex; height: 8px; border-radius: 999px; }
.af-fit__zones i { display: block; height: 100%; }
.af-fit__zones .z1 { background: var(--lav); border-radius: 999px 0 0 999px; }
.af-fit__zones .z2 { background: #FFE8A5; }
.af-fit__zones .z3 { background: var(--gold); }
.af-fit__zones .z4 { background: var(--ink); border-radius: 0 999px 999px 0; }
.af-fit__pin { position: absolute; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); box-shadow: 0 2px 8px rgba(17,10,51,.3); }
.af-fit__ticks { position: relative; height: 16px; margin-top: 8px; font-size: 12px; font-weight: 700; color: var(--slate); font-variant-numeric: tabular-nums; }
.af-fit__ticks span { position: absolute; top: 0; transform: translateX(-50%); }
.af-fit__ticks span:first-child { transform: none; }
.af-fit__ticks span:last-child { transform: translateX(-100%); }
.af-fit__plan { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 14px 0 0; }
.af-fit__plan > div { padding: 10px 12px 12px; border-radius: 12px; background: var(--mist); }
.af-fit__plan dt { font: 700 12px/1.2 Manrope, Arial, sans-serif; color: var(--slate); }
.af-fit__plan dd { margin: 4px 0 0; font: 700 14px/1.4 Manrope, Arial, sans-serif; color: var(--ink); text-wrap: pretty; }
.af-fit__why { margin: 18px 0 0 !important; font: 700 16px/1.2 var(--disp) !important; letter-spacing: -.02em !important; color: var(--ink) !important; }
.af-fit__rows { list-style: none; margin: 8px 0 0; padding: 0; border-top: 2px solid var(--ink); }
.af-fit__row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr) 64px; align-items: start; gap: 4px 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.af-fit__row.is-plain { grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); }
.af-fit__rq b { display: block; font: 700 12px/1.2 Manrope, Arial, sans-serif; color: var(--slate); }
.af-fit__rq span { display: block; margin-top: 2px; font: 700 14px/1.3 var(--disp); color: var(--ink); }
.af-fit__rr { margin: 0 !important; font-size: 14px; line-height: 1.45; color: var(--slate); text-wrap: pretty; }
.af-fit__rp { margin: 0 !important; font: 700 12px/1.2 Manrope, Arial, sans-serif; color: var(--slate); font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.af-fit__rp b { font: 700 15px/1 var(--disp); color: var(--ink); }
.af-fit__rp i { display: block; position: relative; height: 3px; margin-top: 6px; border-radius: 4px; background: var(--lav); overflow: hidden; }
.af-fit__rp i::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p); border-radius: 4px; background: var(--ink); }
.af-fit__tip { margin: 12px 0 0 !important; font-size: 14px; line-height: 1.5; color: var(--slate); text-wrap: pretty; }
.af-fit__tip b { color: var(--ink); }
.af-fit__end { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.af-fit__end .af-btn { min-height: 40px; padding: 0 18px; font-size: 14px; }

/* how the score works */
.af-fit__how { margin-top: 16px; padding-top: 2px; border-top: 1px solid var(--line); }
.af-fit__how summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; cursor: pointer; list-style: none; font: 700 14px/1.2 Manrope, Arial, sans-serif; color: var(--ink); }
.af-fit__how summary::-webkit-details-marker { display: none; }
.af-fit__how summary::after { content: ""; flex: none; width: 9px; height: 9px; border: solid var(--ink); border-width: 0 2.5px 2.5px 0; transform: translateY(-2px) rotate(45deg); transition: transform .2s var(--ease); }
.af-fit__how[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.af-fit__how summary:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; border-radius: 8px; }
.af-how { padding: 2px 0 4px; }
.af-how__w { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }
.af-how__w li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: start; align-content: start; }
.af-how__w b { display: block; font: 700 14px/1.3 var(--disp); color: var(--ink); }
.af-how__w span { display: block; margin-top: 2px; font-size: 13px; line-height: 1.45; color: var(--slate); }
.af-how__w em { font: 700 16px/1 var(--disp); font-style: normal; color: var(--ink); font-variant-numeric: tabular-nums; }
.af-how__w i { grid-column: 1 / -1; display: block; position: relative; height: 3px; margin-top: 4px; border-radius: 4px; background: var(--lav); overflow: hidden; }
.af-how__w i::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 4px; background: var(--ink); }
.af-how__bands { margin: 12px 0 0 !important; font-size: 14px; line-height: 1.5; color: var(--slate); }
.af-how__bands b { color: var(--ink); }
.af-how__r { margin: 8px 0 0; padding-left: 18px; font-size: 14px; line-height: 1.5; color: var(--slate); }
.af-how__r li + li { margin-top: 4px; }
@keyframes afFitIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
/* Wide card (Oct 27): answer chips spread across the width so each question stays one short block. */
.af-fit__verdict p, .af-fit__tip, .af-fit__rr, .af-how__bands, .af-how__r { max-width: 75ch; }
/* Nov 2: the questions live in the narrow pop-up panel (about 440px), so the old wide-card chip grids (min-width 1000px) are gone; old rules in 04-build/backups/nov02-phase3/P/affiliate.css */
@media (max-width: 600px) {
  .af-fit__opts, .af-fit__opts[data-cols="3"] { grid-template-columns: minmax(0, 1fr); }
  .af-fit__q[data-q="size"] .af-fit__opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .af-chip span { min-height: 44px; padding: 6px 12px; font-size: 14px; }
  .af-fit__next { min-height: 44px; }
  .af-fit__end .af-btn { min-height: 44px; }
  .af-fit__how summary { min-height: 44px; }
  .af-fit__top { grid-template-columns: minmax(0, 1fr); }
  .af-fit__num { min-width: 0; text-align: left; }
  .af-fit__plan { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .af-fit__row, .af-fit__row.is-plain { grid-template-columns: minmax(0, 1fr) auto; }
  .af-fit__rr { grid-column: 1 / -1; }
  .af-fit__rp { grid-column: 2; grid-row: 1; }
  .af-how__w { grid-template-columns: minmax(0, 1fr); }
  .af-fit__end .af-btn { flex: 1 1 100%; white-space: normal; text-align: center; }
}

/* =====================================================================================================================
   Nov 2 2026: Partner Program (Amar's list + AK's final answers). Old file: 04-build/backups/nov02-phase3/P/affiliate.css
   ===================================================================================================================== */

/* Hero calculator: the co-sell switch and the rate label that changes with the slab */
.af-switch { position: relative; display: flex; align-items: center; gap: 12px; margin-top: 16px; min-height: 44px; cursor: pointer; }
.af-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.af-switch__ui { flex: none; position: relative; width: 44px; height: 26px; border-radius: 999px; background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(221,214,255,.32); transition: background-color .2s var(--ease); }
.af-switch__ui i { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); }
.af-switch input:checked + .af-switch__ui { background: var(--gold); box-shadow: none; }
.af-switch input:checked + .af-switch__ui i { transform: translateX(18px); background: var(--ink); }
.af-switch input:focus-visible + .af-switch__ui { outline: 2px solid var(--gold); outline-offset: 3px; }
.af-switch__txt { font: 700 15px/1.3 Manrope, Arial, sans-serif; color: #fff; }
.af-calc__out { margin-top: 16px; padding-top: 18px; }
.af-calc__you.is-up { animation: afRate .28s var(--ease); }
@keyframes afRate { from { opacity: .3; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.af-calc__note { min-height: 3em; }

/* Steps: the Ready bar carries the fit-check reopen button next to Apply */
.af-inline-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.af-inline-cta .af-btn { min-height: 48px; }
.af-inline-cta .af-btn--line { background: #fff; }
.af-inline-cta .af-btn--line:hover, .af-inline-cta .af-btn--line:focus-visible { background: var(--ink); }
.af-btn[hidden] { display: none; }

/* ---------- 3. PARTNER TYPES (new): one white frame, four types split by hairlines, the partner stories as its ink foot ---------- */
.af-types { background: var(--mist); padding: 64px 0; }
.af-types__head { max-width: 680px; margin: 0 auto clamp(28px, 3.5vw, 44px); text-align: center; }
.af-types__head h2 { font: 700 clamp(27px, 3.4vw, 44px)/1.12 var(--disp) !important; letter-spacing: -.04em !important; color: var(--ink) !important; }
.af-types__frame { border-radius: 28px; overflow: hidden; background: #fff; box-shadow: 0 12px 32px -12px rgba(17,10,51,.22); }
.af-types__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--lav); }
.af-type { display: flex; flex-direction: column; padding: clamp(22px, 2.4vw, 30px); background: #fff; scroll-margin-top: 120px; }
.af-type__ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--cream); color: var(--ink); }
.af-type h3 { margin-top: 16px !important; font: 700 20px/1.2 var(--disp) !important; letter-spacing: -.03em !important; color: var(--ink) !important; }
.af-type p { margin-top: 8px !important; font-size: 15px; line-height: 1.5; color: var(--slate); }
.af-type__how { list-style: none; margin: auto 0 0; padding: 16px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.af-type__how li { padding: 5px 11px; border-radius: 999px; background: var(--lav); color: var(--ink); font: 700 13px/1.2 Manrope, Arial, sans-serif; }
.af-stories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: rgba(221,214,255,.16); }
.af-stories--1 .af-story, .af-stories > .af-story:last-child:nth-child(odd) { grid-column: 1 / -1; }
.af-story { margin: 0; display: flex; flex-direction: column; gap: 16px; padding: clamp(24px, 2.6vw, 34px); background: var(--ink); color: #fff; }
.af-story__who { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 4px 14px; }
.af-story__who img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--gold); }
.af-story__who b { display: block; font: 700 18px/1.2 var(--disp); color: #fff; }
.af-story__who span span { display: block; margin-top: 2px; font-size: 14px; line-height: 1.3; color: var(--lav); }
.af-story__type { align-self: center; padding: 6px 12px; border-radius: 999px; background: var(--lav); color: var(--ink); font: 700 13px/1.2 Manrope, Arial, sans-serif; text-decoration: none; white-space: nowrap; transition: background-color .15s; }
.af-story__type:hover, .af-story__type:focus-visible { background: #fff; color: var(--ink); text-decoration: none; }
.af-story__type:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.af-story blockquote { margin: 0; }
.af-story blockquote p { margin: 0 0 10px !important; font-size: 15px; line-height: 1.6; color: #fff; }
.af-story blockquote p:last-child { margin-bottom: 0 !important; }

/* ---------- 4. EARN + GET + ASK: one three-part table; the commission ladder is the ink part ---------- */
.af-deal { background: #fff; }   /* Nov 2: the trust wall (cream) now sits right below, so this band is white */
.af-table--3 { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr); background: #fff; }
.af-table--3 .af-table__side--earn { background: var(--ink); color: #fff; }
.af-table--3 .af-table__side--earn h3 { color: var(--gold) !important; }
.af-table--3 .af-table__side--get { background: #fff; color: var(--ink); }
.af-table--3 .af-table__side--get h3, .af-table--3 .af-table__side--ask h3 { color: var(--ink) !important; }
.af-table--3 .af-table__side--get dd { color: var(--slate); }
.af-table--3 .af-table__side--get .af-row { border-top-color: rgba(17,10,51,.1); }
.af-table--3 .af-table__side--ask { border-left: 1px solid var(--lav); }
.af-table--3 .af-row { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 12px 0; }
.af-table--3 .af-row dt { font-size: 16px; }
.af-table--3 .af-row dd { font-size: 14.5px; line-height: 1.45; }
.af-ladder { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: start; }
.af-ladder__step { display: flex; flex-direction: column; min-width: 0; }
.af-ladder__bar { position: relative; display: block; height: 220px; }
.af-ladder__pct { position: absolute; left: 0; right: 0; bottom: 0; height: var(--h); display: flex; align-items: flex-start; padding: 10px 12px; border-radius: 14px 14px 6px 6px; background: var(--gold); color: var(--ink); font: 700 clamp(24px, 1rem + 1vw, 32px)/1 var(--disp); letter-spacing: -.03em; font-variant-numeric: tabular-nums; transform-origin: bottom; transition: transform .55s var(--ease); transition-delay: calc(var(--i) * 90ms); }
.af-ladder__step:first-child .af-ladder__pct { background: #FFE8A5; }
.af-ladder__t { margin-top: 14px; font: 700 16px/1.2 var(--disp); color: #fff; }
.af-ladder__d { margin-top: 6px; font-size: 13.5px; line-height: 1.45; color: var(--lav); }
.af-ladder.af-rv:not(.on) .af-ladder__pct { transform: scaleY(.12); }

/* ---------- The fit questions, now the page's first pop-up (promo.js builds .hx-fitpop; base look from callouts.css .hx-promo) ---------- */
.af-fitpop[hidden] { display: none !important; }
.hx-promo.hx-fitpop { display: block; padding: 12px 12px 12px 16px; }   /* 320px wide like the sign-up card: wider, it meets the cookie bar and has to sit over the calculator */
/* Compact on purpose (two rows, about 90px): on this page the hero calculator fills the right side, so the card has to fit the strip under it
   to be seen without scrolling. promo.js still never places it over a heading, CTA or the calculator. */
.hx-fitpop .hx-fit-teaser { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t t" "s go"; gap: 4px 12px; align-items: center; }
.hx-fitpop .hx-fit-t { grid-area: t; margin: 0; padding-right: 40px; font: 700 17px/1.2 "Cabinet Grotesk", Cabinetgrotesk, Arial, sans-serif; letter-spacing: -.02em; color: #110A33; text-wrap: balance; }
.hx-fitpop .hx-fit-s { grid-area: s; margin: 0; font: 500 12px/16px Manrope, Arial, sans-serif; color: #5B6478; text-wrap: pretty; }
.hx-fitpop .hx-fit-bars { display: none; }
.hx-fitpop .hx-fit-go { grid-area: go; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 16px; border: 0; border-radius: 999px; background: #FFC61E; color: #110A33; font: 800 13px/1 Manrope, Arial, sans-serif; white-space: nowrap; cursor: pointer; transition: background-color .15s, transform .16s cubic-bezier(.23,1,.32,1); }
.hx-fitpop .hx-fit-go:active { transform: scale(.97); }
.hx-fitpop .hx-fit-go:focus-visible { outline: 2px solid #341D99; outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .hx-fitpop .hx-fit-go:hover { background: #FFE8A5; } }
.hx-fitpop .hx-promo-x { z-index: 3; }
/* Open: a tall panel under the nav, scrolling inside, the close button pinned top right */
.hx-fitpop.is-open { width: min(460px, calc(100vw - 32px)); padding: 0; overflow: hidden; transform-origin: top right; }
.hx-fitpop.is-open .hx-fit-teaser { display: none; }
.hx-fitpop .hx-fit-body { max-height: var(--fit-max, 70vh); overflow-y: auto; overscroll-behavior: contain; padding: 20px 20px 16px; scrollbar-width: thin; scrollbar-color: #DDD6FF transparent; }
.hx-fitpop.is-open .hx-fit-body { animation: hxFitIn .22s cubic-bezier(.23,1,.32,1); }
@keyframes hxFitIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.hx-fitpop .af-fit { background: none; padding: 0; }
.hx-fitpop .af-fit__ph { margin: 0 40px 14px 0; font: 700 20px/1.2 var(--disp); letter-spacing: -.03em; color: var(--ink); text-wrap: balance; }
.hx-fitpop .af-fit__card { padding: 0; border-radius: 0; box-shadow: none; background: none; }
.hx-fitpop .af-fit__q legend { font-size: 18px; }
.hx-fitpop .af-fit__opts { gap: 6px; }
.hx-fitpop .af-fit__q[data-q="model"] .af-fit__opts { grid-template-columns: minmax(0, 1fr); }
.hx-fitpop .af-chip span { min-height: 44px; font-size: 14px; }
.hx-fitpop .af-fit__next, .hx-fitpop .af-fit__end .af-btn, .hx-fitpop .af-fit__how summary { min-height: 44px; }
.hx-fitpop .af-fit__top { grid-template-columns: minmax(0, 1fr); }
.hx-fitpop .af-fit__num { min-width: 0; text-align: left; }
.hx-fitpop .af-fit__row, .hx-fitpop .af-fit__row.is-plain { grid-template-columns: minmax(0, 1fr) auto; }
.hx-fitpop .af-fit__rr { grid-column: 1 / -1; }
.hx-fitpop .af-fit__rp { grid-column: 2; grid-row: 1; }
.hx-fitpop .af-fit__end .af-btn { flex: 1 1 auto; }

/* AK Nov 5: partner faces (replace the two quote cards). Ink card, round photo in the gold ring, name, one line, lavender type chip. */
/* AK Nov 5 (2): one ink band under the type columns, opened by a centred label between two gold rules; 8 faces in one row on desktop,
   so no face lines up under a partner-type column. No cell borders. */
.af-people { background: var(--ink); padding: 32px 24px 32px; }
.aff .af-people__label { display: flex; align-items: center; gap: 16px; margin: 0 auto 40px; max-width: 760px; color: #fff; font: 700 15px/1.2 var(--disp); letter-spacing: .01em; white-space: nowrap; }
.aff .af-people__label::before, .af-people__label::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(255,198,30,0), rgba(255,198,30,.7)); }
.aff .af-people__label::after { background: linear-gradient(90deg, rgba(255,198,30,.7), rgba(255,198,30,0)); }
.af-faces { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 24px 20px; }
.af-face { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 0; color: #fff; min-width: 0; }
.af-face img, .af-face__mono { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--gold); margin-bottom: 8px; }
.af-face__mono { display: grid; place-items: center; background: var(--lav); color: var(--ink); font: 700 22px/1 var(--disp); }
.af-face b { font: 700 16px/1.2 var(--disp); text-wrap: balance; }
.af-face b a { color: #fff; text-decoration: none; }
.af-face b a:hover { text-decoration: underline; text-underline-offset: 3px; }
.af-face b a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.af-face__role { margin-bottom: 8px; font-size: 13px; line-height: 1.35; color: var(--lav); text-wrap: balance; }
/* AK Nov 6 ("make them aligned and clean"): every chip is one line, one width and one height, on the same baseline at the foot of its column. */
.af-face__type { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; width: 100%; max-width: 132px; height: 28px; padding: 0 8px; box-sizing: border-box; white-space: nowrap; border-radius: 999px; background: var(--gold); color: var(--ink); /* AK Nov 5: gold, not lavender */ font: 700 12px/1 Manrope, Arial, sans-serif; letter-spacing: 0; }
.af-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 1100px) { .af-faces { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 700px) { .af-people { padding: 24px 12px 28px; } .af-faces { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 8px; } .af-face__type { max-width: 140px; } }

/* ---------- responsive (Nov 2 parts) ---------- */
@media (max-width: 1080px) {
  .af-types__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .af-table--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .af-table--3 .af-table__side--earn { grid-column: 1 / -1; }
  .af-ladder__bar { height: 160px; }
  .af-story__who { grid-template-columns: 56px minmax(0, 1fr); }
  .af-story__type { grid-column: 1 / -1; justify-self: start; margin-top: 8px; }
}
@media (max-width: 767px) {
  .af-types { padding: 40px 0; }
  .af-types__head { margin-bottom: 20px; }
  .af-stories { grid-template-columns: minmax(0, 1fr); }
  .af-story__who { grid-template-columns: 48px minmax(0, 1fr); }
  .af-story__who img { width: 48px; height: 48px; }
  .af-story__type { grid-column: 1 / -1; justify-self: start; margin-top: 8px; }
  .af-table--3 { grid-template-columns: minmax(0, 1fr); }
  .af-table--3 .af-table__side--ask { border-left: 0; border-top: 1px solid var(--lav); }
  .af-inline-cta__btns { width: 100%; }
  .af-inline-cta__btns .af-btn { flex: 1 1 auto; }
}
@media (max-width: 600px) {
  .af-types__grid { grid-template-columns: minmax(0, 1fr); }
  .af-type { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; align-items: center; padding: 18px 20px; }
  .af-type__ic { width: 40px; height: 40px; }
  .af-type__ic svg { width: 20px; height: 20px; }
  .af-type h3 { margin-top: 0 !important; font-size: 18px !important; }
  .af-type p, .af-type__how { grid-column: 1 / -1; }
  .af-type p { margin-top: 10px !important; }
  .af-type__how { padding-top: 12px; }
  .af-ladder { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .af-ladder__bar { height: 44px; }
  .af-ladder__pct { top: 0; bottom: 0; right: auto; width: var(--h); height: auto; align-items: center; border-radius: 6px 14px 14px 6px; font-size: 22px; transform-origin: left; }
  .af-ladder.af-rv:not(.on) .af-ladder__pct { transform: scaleX(.15); }
  .af-ladder__t { margin-top: 8px; }
  .af-ladder__d { margin-top: 2px; }
}
@media (max-width: 640px) {
  .hx-promo.hx-fitpop { width: auto; display: block; }
  html.hx-fit-open #hx-ask, html.hx-fit-open .hx-ask { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
  .hx-fitpop.is-open { width: auto; padding: 0; }
  .hx-fitpop .hx-fit-t { font-size: 16px; }
  .hx-fitpop .hx-fit-body { padding: 16px 14px 14px; }
  .hx-fitpop .af-fit__ph { font-size: 18px; }
  .hx-fitpop .af-fit__q legend { font-size: 17px; }
  .hx-fitpop .af-fit__opts, .hx-fitpop .af-fit__opts[data-cols="3"] { grid-template-columns: minmax(0, 1fr); }
  .hx-fitpop .af-fit__q[data-q="size"] .af-fit__opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .hx-fitpop.is-open .hx-fit-body, .af-calc__you.is-up { animation: none; }
  .af-ladder__pct, .af-switch__ui, .af-switch__ui i { transition: none; }
  .af-ladder.af-rv:not(.on) .af-ladder__pct { transform: none; }
}
/* Nov 2 final review (backup: 04-build/backups/nov02-final/review2): when the "Ready when you are" strip wraps (tablet and phones),
   its buttons had 16-18px above them; 24px there, as on every other CTA. */
@media (max-width: 1023px) { .af-inline-cta { row-gap: 24px; } }

/* AK Nov 7 (Amar): the hero fits the first screen; sections with enough content fill the screen; partners in two parts, people and organizations */
@media (min-width: 960px) {
  .af-hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 96px 0 40px; }
  .af-hero > .af-shell { width: 100%; }
  .af-steps, .af-types, .af-deal, .af-kit { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
  .af-steps > .af-shell, .af-types > .af-shell, .af-deal > .af-shell, .af-kit > .af-shell { width: 100%; }
}
@media (min-width: 960px) and (max-height: 800px) {
  .af-hero { padding-top: 84px; padding-bottom: 24px; }
  .af-calc { padding: 22px 26px; }
  .af-calc__h { font-size: 30px !important; }
  .af-calc__lab { margin-top: 10px; }
  .af-calc__out { margin-top: 12px; padding-top: 12px; }
  .af-calc__val { font-size: 52px; }
  .af-calc__note { margin-top: 8px !important; }
}
.af-people__sub { margin: 20px 0 10px; font: 800 13px/1.2 Manrope, Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--slate, #5B6478); text-align: center; }
.af-orgs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.af-org > a, .af-org > .af-org__mark { color: inherit; text-decoration: none; }
.af-org > a, .af-org:not(:has(> a)) { display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; padding: 16px 12px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px #DDD6FF; text-align: center; }
.af-org > a { transition: box-shadow .2s, transform .2s; }
@media (hover: hover) { .af-org > a:hover { box-shadow: inset 0 0 0 1px #110A33; transform: translateY(-2px); } }
.af-org__mark { display: grid; place-items: center; height: 40px; }
.af-org__mark img { max-height: 32px; max-width: 140px; width: auto; height: auto; }
.af-org__mark > span { font: 800 20px/1 "Cabinet Grotesk", Arial, sans-serif; letter-spacing: -.01em; color: #341D99; }
.af-org b { font: 700 15px/1.25 "Cabinet Grotesk", Arial, sans-serif; color: #110A33; text-wrap: balance; }
.af-org__role { font-size: 13px; line-height: 1.35; color: #5B6478; }
@media (max-width: 767px) { .af-orgs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* the partners panel is ink: lavender sub-labels; seven people across; organizations as one compact row, so the section fits one screen */
.af-people__sub { color: #DDD6FF; margin: 0 0 14px; }
.af-faces + .af-people__sub { margin-top: 28px; }
.aff .af-people__label { margin-bottom: 20px; }
@media (min-width: 1101px) { .af-faces { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
@media (min-width: 768px) {
  .af-org > a, .af-org:not(:has(> a)) { flex-direction: row; align-items: center; text-align: left; gap: 12px; padding: 12px 16px; }
  .af-org__mark { flex: none; width: 72px; height: 32px; }
  .af-org__mark img { max-width: 72px; max-height: 28px; }
  .af-org__mark > span { font-size: 16px; }
  .af-org b { display: block; font-size: 14px; }
  .af-org__role { display: block; font-size: 12px; }
  .af-org > a > b, .af-org > b { flex: 1; }
}
.af-org__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
@media (max-width: 767px) { .af-org__txt { align-items: center; } }
.af-org__mark--dark { padding: 4px 8px; border-radius: 10px; background: #110A33; }
.af-org__mark--dark img { max-height: 24px; }
@media (min-width: 768px) {
  .af-org__mark { width: 112px; height: 36px; }
  .af-org__mark img { max-width: 112px; max-height: 30px; }
  .af-org__mark--dark img { max-height: 26px; }
}
