/* The public join page (/apply/). Loaded after app.css, which carries the tokens, type, buttons, hero, bands, product cards,
   the Proven Formulas frames, and the tier graphic. The step illustrations follow jointrybe.com's How it works cards in
   Driveline's look: black and paper stages with an orange glow, white product-style cards, orange as the spark. Hidden start
   states sit under html.js (set in the head, dropped by its 2.5 s guard if apply.js never runs); each block plays once when
   apply.js marks it .is-in. Reduced motion shows every final state. */

/* ---------- header ---------- */
.ap-hdr { position: sticky; top: 0; z-index: 60; background: var(--black); color: var(--white); border-bottom: 1px solid var(--line-dark); }
.ap-hdr__in { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; height: 64px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.ap-hdr__logo { display: block; justify-self: center; }
.ap-hdr__img { width: 136px; height: auto; }
.ap-hdr__login { justify-self: end; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .6); color: var(--white); text-decoration: none; font: 700 12px/1 var(--display); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; transition: border-color var(--t-fast), color var(--t-fast); }
.ap-hdr__login .only-phone, .ap-hdr__login .only-wide { line-height: 1; }
@media (hover: hover) { .ap-hdr__login:hover { border-color: var(--orange); color: var(--orange); } }
@media (min-width: 900px) { .ap-hdr__in { height: 72px; } .ap-hdr__img { width: 170px; } .ap-hdr__login { min-height: 44px; padding: 0 20px; font-size: 13px; } }

/* ---------- hero ---------- */
.ap-hero .hero__in { min-height: min(76svh, 640px); padding: 56px 0 36px; }
.ap-hero .hero__lede { max-width: 540px; }
.ap-hero__how { color: var(--white); border-color: rgba(255, 255, 255, .7); }
@media (min-width: 900px) { .ap-hero .hero__copy { max-width: 780px; } }
/* Phones: no caption row here, so the pause button sits in the hero's top corner instead of on a row of its own. */
@media (max-width: 899px) { .ap-hero .hero__clip { margin: 0; } .ap-hero .hero__ctl { position: absolute; top: 12px; right: 12px; } }
@media (hover: hover) { .ap-hero__how:hover { background: var(--white); color: var(--black); border-color: var(--white); } }

/* ---------- why join (Joel, fb-c1mt): three cards over small visuals, then the solid ask ---------- */
.ap-why { background: var(--black); color: var(--white); padding: 52px 0 64px; }
.ap-why .shead { margin-bottom: 28px; }
.ap-why__grid { list-style: none; display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 800px) { .ap-why__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.ap-why__card { position: relative; display: grid; align-content: start; gap: 10px; padding: 12px 12px 24px; border-radius: 22px; background: linear-gradient(180deg, #171717 0%, #0E0E0E 100%); border: 1px solid var(--line-dark); transition: opacity 560ms var(--ease), transform 560ms var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .ap-why__grid:not(.is-in) .ap-why__card { opacity: 0; transform: translateY(20px); }
.ap-why__visual { height: 148px; margin-bottom: 8px; border-radius: 15px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(110% 90% at 50% 0%, rgba(255, 163, 0, .22), transparent 62%), var(--char); }
.ap-why__title, .ap-why__text { padding-inline: 8px; }
.ap-why__title { font: 800 22px/1.15 var(--display); text-transform: uppercase; }
.ap-why__text { color: var(--text-2-dark); font-size: 16px; line-height: 1.5; }
.ap-why__pct { font: 800 96px/1 var(--display); color: var(--orange); letter-spacing: -.03em; text-shadow: 0 12px 40px rgba(255, 163, 0, .3); }
.ap-why__pct b { font-weight: inherit; font-variant-numeric: tabular-nums; }
.ap-why__weeks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; width: min(90%, 300px); }
.ap-why__wk { display: grid; justify-items: center; gap: 10px; padding: 14px 4px 12px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); transition: opacity 400ms var(--ease), transform 400ms var(--ease); transition-delay: calc(var(--i) * 150ms + 250ms); }
.ap-why__wk-n { font: 700 10px/1 var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--text-2-dark); white-space: nowrap; }
.ap-why__wk .mk__tick { transition-delay: calc(var(--i) * 150ms + 520ms); }
.js .ap-why__grid:not(.is-in) .ap-why__wk { opacity: 0; transform: translateY(8px); }
.js .ap-why__grid:not(.is-in) .ap-why__wk .mk__tick { transform: scale(0); opacity: 0; }
.ap-why__gear { position: relative; width: 236px; height: 112px; }
.ap-why__pic { position: absolute; top: 8px; width: 96px; height: 96px; border-radius: 16px; background: var(--white); box-shadow: 0 16px 34px rgba(0, 0, 0, .5); display: grid; place-items: center; overflow: hidden; transition: transform 560ms cubic-bezier(.3, 1.3, .5, 1), opacity 400ms; transition-delay: calc(var(--i) * 120ms + 200ms); }
.ap-why__pic img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.ap-why__pic:nth-child(1) { left: 0; transform: rotate(-8deg); }
.ap-why__pic:nth-child(2) { left: 70px; top: 0; z-index: 2; transform: translateY(-2px); }
.ap-why__pic:nth-child(3) { left: 140px; transform: rotate(8deg); }
.js .ap-why__grid:not(.is-in) .ap-why__pic { opacity: 0; transform: translateY(18px) scale(.9); }
.ap-ask { position: relative; margin-top: 20px; display: grid; gap: 26px; padding: 28px 22px; border-radius: 22px; background: var(--orange); color: var(--black); transition: opacity 560ms var(--ease), transform 560ms var(--ease); }
.js .ap-ask:not(.is-in) { opacity: 0; transform: translateY(20px); }
@media (min-width: 900px) { .ap-ask { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); align-items: center; gap: 56px; padding: 44px 48px; } }
.ap-ask__over { display: flex; align-items: center; gap: 10px; font: 800 13px/1.2 var(--display); text-transform: uppercase; letter-spacing: .12em; }
.ap-ask__over::before { content: ''; flex: 0 0 auto; width: 18px; height: 3px; border-radius: 2px; background: var(--black); }
.ap-ask__title { margin-top: 12px; font: 800 clamp(28px, 2.4vw + 16px, 46px)/1.04 var(--display); text-transform: uppercase; letter-spacing: -.01em; }
.ap-ask__text { margin-top: 14px; max-width: 58ch; font-size: 16px; line-height: 1.55; color: rgba(0, 0, 0, .8); }
.ap-ask__days { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 7px; width: min(100%, 340px); justify-self: center; }
@media (max-width: 899px) { .ap-ask__days { width: min(100%, 280px); gap: 6px; } }
.ap-ask__day { aspect-ratio: 1; border-radius: 9px; background: rgba(0, 0, 0, .12); display: grid; place-items: center; }
.ap-ask__day.is-vid { background: var(--black); color: var(--orange); transition: transform 420ms cubic-bezier(.3, 1.5, .5, 1), background-color 300ms, color 300ms; transition-delay: calc(var(--k) * 170ms + 300ms); }
.ap-ask__day .i { width: 40%; height: 40%; }
.js .ap-ask:not(.is-in) .ap-ask__day.is-vid { background: rgba(0, 0, 0, .12); color: transparent; transform: scale(.82); }

/* ---------- how it works: six step cards ---------- */
.ap-how .shead { margin-bottom: 32px; }
.ap-cards { list-style: none; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .ap-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1024px) { .ap-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.ap-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 10px; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); transition: opacity 560ms var(--ease), transform 560ms var(--ease), box-shadow var(--t-med) var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .ap-card:not(.is-in) { opacity: 0; transform: translateY(22px); }
@media (hover: hover) { .ap-card.is-in:hover, html:not(.js) .ap-card:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(0, 0, 0, .10); transition-delay: 0s; } }
.ap-stage { position: relative; overflow: hidden; isolation: isolate; border-radius: 15px; min-height: 252px; display: grid; place-items: center; padding: 24px 18px; }
.ap-stage--dark { background: radial-gradient(120% 90% at 88% 0%, rgba(255, 163, 0, .28), transparent 56%), var(--ink); }
.ap-stage--paper { background: radial-gradient(120% 90% at 8% 100%, rgba(255, 163, 0, .18), transparent 56%), var(--paper); }
/* Two or three across, every stage is the same height so the numbers and titles line up row by row. */
@media (min-width: 700px) { .ap-stage { min-height: 336px; } }
.ap-card__body { flex: 1; display: grid; gap: 8px; align-content: start; padding: 20px 14px 14px; }
.ap-card__n { font: 800 18px/1 var(--display); color: var(--orange); letter-spacing: .02em; }
.ap-card__title { font: 800 22px/1.15 var(--display); text-transform: uppercase; }
.ap-card__text { color: var(--fg-2); font-size: 16px; line-height: 1.5; }
.ap-card__btns { margin-top: 8px; gap: 8px 20px; }
.ap-card__btns .btn-link .i { width: 14px; height: 14px; }
.ap-card__more { margin-top: 2px; }

/* ---------- the illustrations (shared parts) ---------- */
.mk { position: relative; width: min(100%, 304px); background: var(--white); color: var(--black); border-radius: 16px; padding: 16px; box-shadow: 0 26px 54px rgba(0, 0, 0, .34), 0 2px 6px rgba(0, 0, 0, .14); font: 400 14px/1.35 var(--body); text-align: left; }
.ap-stage--paper .mk { box-shadow: 0 22px 46px rgba(0, 0, 0, .13), 0 1px 3px rgba(0, 0, 0, .08); }
.mk b { font-weight: 700; }
.mk .i { width: 16px; height: 16px; }
.mk__row { display: flex; align-items: center; gap: 12px; }
.mk__row--sb { justify-content: space-between; }
.mk__head { font: 700 12px/1.2 var(--display); text-transform: uppercase; letter-spacing: .08em; color: var(--text-2); margin-bottom: 10px; }
.mk__row--sb .mk__head { margin-bottom: 0; }
.mk__list { list-style: none; display: grid; gap: 8px; }
.mk__item { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 10px 8px 8px; border-radius: 12px; background: var(--paper); transition: opacity 420ms var(--ease), transform 420ms var(--ease); transition-delay: calc(var(--i, 0) * 150ms + 150ms); }
.js .ap-card:not(.is-in) .mk__item { opacity: 0; transform: translateX(-14px); }
.mk__thumb { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px; background: var(--white); display: grid; place-items: center; overflow: hidden; }
.mk__thumb img { width: 100%; height: 100%; object-fit: contain; padding: 3px; mix-blend-mode: multiply; }
.mk__name { flex: 1; min-width: 0; font: 700 13px/1.25 var(--body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk__tick { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 999px; background: var(--orange); color: var(--black); display: grid; place-items: center; transition: transform 380ms cubic-bezier(.3, 1.6, .5, 1), opacity 200ms; transition-delay: calc(var(--i, 0) * 150ms + 620ms); }
.mk__tick .i { width: 14px; height: 14px; }
.mk__tick--sm { width: 18px; height: 18px; }
.mk__tick--sm .i { width: 11px; height: 11px; }
.js .ap-card:not(.is-in) .mk__tick { transform: scale(0); opacity: 0; }
.mk__foot { display: flex; align-items: center; gap: 8px; margin-top: 12px; font: 700 12px/1.2 var(--display); text-transform: uppercase; letter-spacing: .06em; transition: opacity 420ms var(--ease) 1.15s, transform 420ms var(--ease) 1.15s; }
.mk__foot .i { width: 18px; height: 18px; color: var(--black); }
.js .ap-card:not(.is-in) .mk__foot { opacity: 0; transform: translateY(6px); }

/* 01: the program card, Apply to Approved */
.mk__logo { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; background: var(--black); display: grid; place-items: center; }
.mk__logo img { width: 27px; height: auto; }
.mk__ttl { display: grid; gap: 3px; min-width: 0; }
.mk__ttl b { font: 700 15px/1.2 var(--body); }
.mk__ttl small { font-size: 13px; color: var(--text-2); }
.mk__chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0; }
.mk__chips span { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px; background: var(--paper); font: 700 11px/1 var(--display); text-transform: uppercase; letter-spacing: .05em; color: var(--text-2); }
.mk__join { position: relative; display: block; margin-top: 18px; height: 44px; border-radius: 999px; background: var(--orange); color: var(--black); overflow: hidden; }
.mk__join-s { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 6px; font: 700 13px/1 var(--display); text-transform: uppercase; letter-spacing: .06em; }
.mk__join-s--a, .mk__join-s--b { opacity: 0; }
.js .ap-card:not(.is-in) .mk__join { background: var(--black); color: var(--white); }
.js .ap-card:not(.is-in) .mk__join-s--a { opacity: 1; }
.js .ap-card:not(.is-in) .mk__join-s--c { opacity: 0; }
.js .ap-card.is-in .mk__join { animation: mk-join 2.6s var(--ease) both; }
.js .ap-card.is-in .mk__join-s--a { animation: mk-join-a 2.6s both; }
.js .ap-card.is-in .mk__join-s--b { animation: mk-join-b 2.6s both; }
.js .ap-card.is-in .mk__join-s--c { animation: mk-join-c 2.6s both; }
@keyframes mk-join { 0%, 64% { background-color: #000; color: #fff; } 72%, 100% { background-color: #FFA300; color: #000; } }
@keyframes mk-join-a { 0%, 30% { opacity: 1; transform: none; } 38%, 100% { opacity: 0; transform: translateY(-12px); } }
@keyframes mk-join-b { 0%, 32% { opacity: 0; transform: translateY(12px); } 40%, 62% { opacity: 1; transform: none; } 70%, 100% { opacity: 0; transform: translateY(-12px); } }
@keyframes mk-join-c { 0%, 66% { opacity: 0; transform: translateY(12px) scale(.96); } 76%, 100% { opacity: 1; transform: none; } }

/* 02: one product, its set picked, requested */
.mk--order .mk__prod { border: 0; padding: 0; }
.mk__label { margin: 14px 0 8px; font: 700 11px/1 var(--display); text-transform: uppercase; letter-spacing: .08em; color: var(--text-2); }
.mk__sets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.mk__sets span { display: flex; align-items: center; justify-content: center; min-height: 38px; border-radius: 10px; border: 1.5px solid var(--line-strong); font: 700 12px/1 var(--display); text-transform: uppercase; letter-spacing: .04em; transition: background-color 320ms var(--ease), border-color 320ms var(--ease), color 320ms var(--ease); }
.mk__sets .mk__set-on { background: var(--black); border-color: var(--black); color: var(--white); transition-delay: 650ms; }
.js .ap-card:not(.is-in) .mk__sets .mk__set-on { background: transparent; border-color: var(--line-strong); color: var(--black); }
.mk--order .mk__foot .mk__tick { transition-delay: 1.15s; }

/* 03: the Creator Lab, with Boddy Bot typing */
.mk__url { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--paper); font: 700 12px/1 var(--body); color: var(--text-2); margin-bottom: 12px; }
.mk__url .i { width: 13px; height: 13px; }
.mk__prod { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; transition: opacity 420ms var(--ease) 150ms, transform 420ms var(--ease) 150ms; }
.js .ap-card:not(.is-in) .mk__prod { opacity: 0; transform: translateY(8px); }
.mk__prod .mk__thumb { width: 52px; height: 52px; background: #F5F5F3; }
.mk__prod-body { display: grid; gap: 7px; min-width: 0; }
.mk__prod-body b { font: 800 13px/1.2 var(--display); text-transform: uppercase; }
.mk__tags { display: flex; flex-wrap: wrap; gap: 5px; }
.mk__tags span { padding: 4px 8px; border-radius: 4px; background: var(--black); color: var(--white); font: 700 10px/1 var(--display); text-transform: uppercase; letter-spacing: .05em; }
.mk__bot { display: flex; align-items: flex-end; gap: 8px; margin-top: 14px; }
.mk__face { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 999px; background: var(--orange); color: var(--black); display: grid; place-items: center; }
.mk__bbot { width: 26px; height: 26px; overflow: visible; }
.mk__bbot .bbot__head, .mk__bbot .bbot__antenna { fill: currentColor; }
.mk__bbot .bbot__eye { fill: #fff; } .mk__bbot .bbot__pupil { fill: #111; } .mk__bbot .bbot__shine { fill: #fff; }
.mk__bbot .bbot__smile { fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; }
.mk__bbot .bbot__eyes { transform-box: fill-box; transform-origin: 50% 55%; animation: mk-blink 5.4s ease-in-out infinite 1.2s; }
@keyframes mk-blink { 0%, 88%, 100% { transform: scaleY(1); } 91% { transform: scaleY(.08); } 94% { transform: scaleY(1); } }
.mk__bubble { display: grid; padding: 10px 13px; border-radius: 14px 14px 14px 4px; background: var(--black); color: var(--white); font: 700 13px/1.3 var(--body); }
.mk__dots, .mk__say { grid-area: 1 / 1; }
.mk__dots { display: flex; align-items: center; gap: 4px; opacity: 0; }
.mk__dots i { width: 6px; height: 6px; border-radius: 999px; background: currentColor; }
.js .ap-card:not(.is-in) .mk__say { opacity: 0; }
.js .ap-card.is-in .mk__dots { animation: mk-dots 1.9s both; }
.js .ap-card.is-in .mk__dots i { animation: mk-bounce .6s ease-in-out 3; }
.js .ap-card.is-in .mk__dots i:nth-child(2) { animation-delay: .12s; } .js .ap-card.is-in .mk__dots i:nth-child(3) { animation-delay: .24s; }
.js .ap-card.is-in .mk__say { animation: mk-say 2.1s both; }
@keyframes mk-dots { 0%, 12% { opacity: 0; } 18%, 80% { opacity: 1; } 88%, 100% { opacity: 0; } }
@keyframes mk-bounce { 0%, 100% { transform: translateY(0); opacity: .45; } 50% { transform: translateY(-3px); opacity: 1; } }
@keyframes mk-say { 0%, 84% { opacity: 0; transform: translateY(4px); } 100% { opacity: 1; transform: none; } }

/* 04: six videos, then submitted */
.mk__count { font: 800 22px/1 var(--display); }
.mk__count b { font-weight: inherit; font-variant-numeric: tabular-nums; }
.mk__tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin-top: 12px; }
.mk__tile { position: relative; aspect-ratio: 9 / 16; border-radius: 7px; overflow: hidden; background: var(--char); transition: opacity 360ms var(--ease), transform 380ms cubic-bezier(.3, 1.4, .5, 1); transition-delay: calc(var(--i) * 160ms + 150ms); }
.mk__tile img { width: 100%; height: 100%; object-fit: cover; }
.mk__ok { position: absolute; right: 3px; bottom: 3px; width: 16px; height: 16px; border-radius: 999px; background: var(--orange); color: var(--black); display: grid; place-items: center; transition: transform 300ms cubic-bezier(.3, 1.6, .5, 1); transition-delay: calc(var(--i) * 160ms + 420ms); }
.mk__ok .i { width: 10px; height: 10px; }
.js .ap-card:not(.is-in) .mk__tile { opacity: 0; transform: translateY(10px) scale(.9); }
.js .ap-card:not(.is-in) .mk__ok { transform: scale(0); }
.mk--film .mk__foot { transition-delay: 1.45s; }

/* 05: the ads go live */
.mk__ico { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 999px; display: grid; place-items: center; background: var(--black); color: var(--white); }
.mk__ico--check { background: var(--orange); color: var(--black); }
.mk__ico--dl img { width: 19px; height: auto; }
.mk__live { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(255, 163, 0, .18); color: var(--black); font: 700 11px/1 var(--display); text-transform: uppercase; letter-spacing: .06em; transition: opacity 300ms var(--ease); transition-delay: calc(var(--i, 0) * 150ms + 700ms); }
.mk__live::before { content: ''; width: 7px; height: 7px; border-radius: 999px; background: var(--orange); }
.js .ap-card:not(.is-in) .mk__live { opacity: 0; }
.js .ap-card.is-in .mk__live::before { animation: mk-pulse 1.8s ease-out infinite 1.4s; }
@keyframes mk-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 163, 0, .6); } 80%, 100% { box-shadow: 0 0 0 8px rgba(255, 163, 0, 0); } }

/* 06: paid weekly */
.mk__pill { display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 999px; background: var(--black); color: var(--white); font: 700 11px/1 var(--display); text-transform: uppercase; letter-spacing: .06em; }
.mk__big { margin-top: 12px; font: 800 54px/1 var(--display); letter-spacing: -.02em; }
.mk__big b { font-weight: inherit; font-variant-numeric: tabular-nums; }
.mk__sub { margin-top: -6px; font-size: 13px; color: var(--text-2); }
.mk__weeks { list-style: none; display: grid; gap: 6px; margin-top: 12px; }
.mk__live--pay::before { animation: none !important; }
.mk__weeks li { display: flex; align-items: center; justify-content: space-between; min-height: 38px; padding: 6px 10px; border-radius: 10px; background: var(--paper); font: 700 13px/1 var(--body); transition: opacity 400ms var(--ease), transform 400ms var(--ease); transition-delay: calc(var(--i) * 170ms + 700ms); }
.mk__paid { display: inline-flex; align-items: center; gap: 6px; font: 700 11px/1 var(--display); text-transform: uppercase; letter-spacing: .06em; }
.mk__weeks .mk__tick { transition-delay: calc(var(--i) * 170ms + 950ms); }
.js .ap-card:not(.is-in) .mk__weeks li { opacity: 0; transform: translateY(8px); }

/* ---------- your first order ---------- */
.ap-gear .shead { margin-bottom: 4px; }
.ap-lede { display: grid; gap: 12px; max-width: 72ch; margin-top: 12px; }
.ap-lede .shead__lede { margin: 0; max-width: none; }
.ap-group { margin-top: 34px; }
.ap-group__name { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font: 800 14px/1 var(--display); text-transform: uppercase; letter-spacing: .1em; }
.ap-group__name::before { content: ''; flex: 0 0 auto; width: 18px; height: 3px; border-radius: 2px; background: var(--orange); }
.ap-grid { display: grid; gap: 24px 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .ap-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 20px; } }
@media (min-width: 1024px) { .ap-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pcard--static { cursor: default; }
.pcard--static .pcard__media { background: var(--white); }
.pcard--static .pcard__body { gap: 6px; padding-top: 12px; }
.pcard--static .pcard__name { font-size: 15px; }
.pcard--static .pcard__job { display: block; -webkit-line-clamp: unset; overflow: visible; font-size: 15px; line-height: 1.45; }
.pcard__meta { margin-top: 2px; font: 700 11px/1.3 var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--text-2); }
@media (hover: hover) { .pcard--static:hover .pcard__media img { transform: none; } }
.ap-notes { list-style: none; display: grid; gap: 12px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line-strong); }
.ap-notes li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.45; }
.ap-notes .i { flex: 0 0 auto; width: 22px; height: 22px; padding: 4px; border-radius: 999px; background: var(--black); color: var(--orange); }
@media (max-width: 699px) { .pcard--static .pcard__name { font-size: 14px; } .pcard--static .pcard__job { font-size: 14px; } }

/* ---------- why 6+: each bar is one ad ---------- */
.ap-volume__in { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .ap-volume__in { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; } }
.ap-volume__text { margin-top: 14px; max-width: 46ch; font-size: var(--fs-lede); line-height: 1.55; color: var(--fg-2); }
.vchart { margin: 0; padding: 28px 22px 18px; border-radius: 22px; color: var(--white); background: radial-gradient(110% 80% at 0% 0%, rgba(255, 163, 0, .22), transparent 55%), var(--ink); }
.vchart__bars { height: 210px; display: flex; align-items: flex-end; gap: 6px; border-bottom: 1px solid var(--line-dark); }
.vchart__bar { flex: 1 1 0; height: calc(var(--h) * 1%); min-height: 5px; border-radius: 6px 6px 2px 2px; background: #3A3A3A; transform-origin: bottom; transition: transform 760ms cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i) * 45ms); }
.vchart__bar.is-top { background: var(--orange); }
.js .vchart:not(.is-in) .vchart__bar { transform: scaleY(0); }
.vchart__cap { margin-top: 14px; font-size: 14px; line-height: 1.45; color: var(--text-2-dark); }
@media (min-width: 900px) { .vchart { padding: 34px 30px 22px; } .vchart__bars { height: 250px; gap: 8px; } }

/* ---------- how you earn: the two tiers ---------- */
.ap-earn .ptiers { margin-top: 24px; max-width: none; }
.ap-earn .ptier__pct b { font-weight: inherit; font-variant-numeric: tabular-nums; }
.ap-earn .ptier { transition: opacity 560ms var(--ease), transform 560ms var(--ease); }
.ap-earn .ptier--vip { transition-delay: 240ms; }
.ap-earn .ptiers__step { transition: opacity 400ms var(--ease) 160ms; }
.js .ap-earn__tiers:not(.is-in) .ptier { opacity: 0; transform: translateY(18px); }
.js .ap-earn__tiers:not(.is-in) .ptiers__step { opacity: 0; }

/* ---------- what every video needs ---------- */
.ap-std { list-style: none; display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); margin-top: 8px; }
@media (min-width: 700px) { .ap-std { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .ap-std { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.ap-std__item { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: var(--r-lg); background: var(--paper); transition: opacity 480ms var(--ease), transform 480ms var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .ap-std:not(.is-in) .ap-std__item { opacity: 0; transform: translateY(14px); }
.ap-std__icon { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; background: var(--black); color: var(--orange); display: grid; place-items: center; }
.ap-std__icon .i { width: 22px; height: 22px; }
.ap-std__body { display: grid; gap: 4px; }
.ap-std__title { font: 800 15px/1.25 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.ap-std__text { color: var(--fg-2); font-size: 15px; line-height: 1.45; }
.ap-formulas { margin-top: 52px; }
.ap-formulas__title { margin-bottom: 18px; }

/* ---------- FAQ ---------- */
.ap-faq__in { display: grid; gap: 22px; }
@media (min-width: 900px) { .ap-faq__in { grid-template-columns: minmax(0, .42fr) minmax(0, 1fr); gap: 56px; align-items: start; } .ap-faq .shead { position: sticky; top: 100px; } }
.ap-faq__list { display: grid; gap: 10px; }
.ap-faq__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); }
.ap-faq__q { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 14px 18px; cursor: pointer; font: 700 16px/1.3 var(--body); }
.ap-faq__q::-webkit-details-marker { display: none; }
.ap-faq__icon { flex: 0 0 auto; width: 20px; height: 20px; transition: transform var(--t-med) var(--ease); }
.ap-faq__item[open] .ap-faq__icon { transform: rotate(45deg); }
.ap-faq__a { padding: 0 18px 18px; color: var(--fg-2); font-size: 16px; line-height: 1.55; }
.ap-faq__a a { color: var(--fg); text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
@media (hover: hover) { .ap-faq__q:hover { color: var(--black); } .ap-faq__item:hover { border-color: var(--line-strong); } }

/* ---------- closing call and footer ---------- */
.ap-cta { text-align: center; background: radial-gradient(80% 120% at 50% 0%, rgba(255, 163, 0, .22), transparent 62%), var(--black); }
.ap-cta__in { display: grid; justify-items: center; gap: 20px; }
.ap-cta__title { font: 800 var(--fs-h1)/1.1 var(--display); text-transform: uppercase; }
.ap-cta .btns { justify-content: center; width: min(100%, 420px); }
.ap-cta__contact { max-width: 46ch; color: var(--text-2-dark); font-size: 15px; line-height: 1.5; }
.ap-cta__login a { color: var(--text-2-dark); font-size: 15px; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 4px; }
@media (hover: hover) { .ap-cta__login a:hover { color: var(--white); } }
.ap-ftr { background: var(--black); color: var(--white); border-top: 1px solid var(--line-dark); padding: 36px 0 30px; }
.ap-ftr__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.ap-ftr__logo { width: 150px; height: auto; }
.ap-ftr__links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.ap-ftr__links a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--white); text-decoration: none; font: 700 13px/1 var(--display); text-transform: uppercase; letter-spacing: .06em; }
.ap-ftr__links .i { width: 14px; height: 14px; }
/* An email address reads wrong in capitals: the mail link keeps its own case. */
.ap-ftr__links a[href^="mailto:"] { text-transform: none; letter-spacing: 0; font: 700 15px/1 var(--body); }
@media (hover: hover) { .ap-ftr__links a:hover { color: var(--orange); } }
.ap-ftr__legal { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line-dark); max-width: 82ch; color: var(--text-3-dark); font-size: 13px; line-height: 1.55; }
@media (max-width: 699px) { body.has-dock .ap-ftr { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } }

/* ---------- reduced motion: every final state, no movement ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-apply *, .page-apply *::before, .page-apply *::after { animation: none !important; transition: none !important; }
}
