/* ==========================================================================
   AlphaPros — Frank page (page-frank.php)
   ========================================================================== */

@keyframes ap-shimmer { to { background-position: -200% 0; } }
@keyframes ap-dots-drift { to { background-position: 180px 90px; } }
@keyframes ap-float-y { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
.fr-hero .text-gradient,
.fr-title .text-gradient,
.contact__title .text-gradient {
	background-image: linear-gradient(90deg, #b57be8, #e7c4ff, #b57be8);
	background-size: 200% 100%;
	animation: ap-shimmer 6s linear infinite;
}

.fr-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 48px); }
.fr-head--center { margin-inline: auto; text-align: center; }
.fr-title { font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.18; margin-bottom: .45em; }
.fr-lede { font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.85; margin: 0; color: var(--ap-text); }
.fr-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.8em; }
.fr-trust { margin: 1.2em 0 0; font-size: .875rem; letter-spacing: .02em; color: var(--ap-muted); }

.fr-card__icon {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 52px;
	height: 52px;
	color: var(--ap-white);
	background: linear-gradient(135deg, var(--ap-primary), #6d28d9);
	border-radius: 15px;
	box-shadow: 0 10px 24px rgba(175, 71, 254, .35);
	transition: transform .4s var(--ap-ease);
}
.fr-card__icon .icon { width: 24px; height: 24px; }

/* Hero
   ========================================================================== */
.fr-hero {
	position: relative;
	margin-top: calc(var(--ap-header-h) * -1);
	padding: calc(var(--ap-header-h) + clamp(32px, 5vw, 72px)) 0 clamp(32px, 4vw, 56px);
	overflow: hidden;
	isolation: isolate;
	background:
		radial-gradient(45% 55% at 78% 40%, rgba(150, 60, 210, .45), transparent 70%),
		radial-gradient(30% 40% at 60% 90%, rgba(255, 120, 60, .12), transparent 70%),
		radial-gradient(35% 45% at 5% 10%, rgba(110, 40, 160, .3), transparent 70%),
		linear-gradient(180deg, #170d1c 0%, #1f1226 65%, var(--ap-bg) 100%);
}
.fr-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: radial-gradient(rgba(220, 180, 255, .16) 1px, transparent 1.4px);
	background-size: 18px 18px;
	mask-image: radial-gradient(50% 60% at 72% 45%, #000 10%, transparent 75%);
	-webkit-mask-image: radial-gradient(50% 60% at 72% 45%, #000 10%, transparent 75%);
	animation: ap-dots-drift 40s linear infinite;
	pointer-events: none;
}
.fr-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 72px); }
.fr-hero__logo { width: min(220px, 50%); height: auto; margin-bottom: 18px; filter: drop-shadow(0 6px 20px rgba(80, 180, 230, .35)); }
.fr-hero__title { font-size: clamp(2.5rem, 5.2vw, 4.1rem); line-height: 1.08; margin-bottom: .45em; }
.fr-hero__title .text-gradient { display: block; }
.fr-hero__text { max-width: 560px; font-size: clamp(1rem, 1.35vw, 1.1rem); line-height: 1.85; color: var(--ap-text); margin-bottom: .9em; }
.fr-hero__text--strong { color: var(--ap-white); font-weight: 500; }

.fr-hero__media { position: relative; padding: 0 0 40px; }
.fr-video {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	overflow: hidden;
	background: none;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 22px;
	box-shadow: 0 40px 80px rgba(0, 0, 0, .5), 0 0 80px rgba(175, 71, 254, .3);
	cursor: pointer;
	transform: perspective(1400px) rotateY(-6deg);
	transition: transform .8s var(--ap-ease);
}
.fr-hero__media:hover .fr-video { transform: none; }
.fr-video img { width: 100%; transition: transform .8s var(--ap-ease); }
.fr-video:hover img { transform: scale(1.04); }
.fr-video__play {
	position: absolute;
	left: 50%;
	top: 50%;
	display: grid;
	place-items: center;
	width: 78px;
	height: 78px;
	color: var(--ap-white);
	background: var(--ap-primary);
	border-radius: 50%;
	transform: translate(-50%, -50%);
	animation: ap-play-pulse 2.2s var(--ap-ease) infinite;
}
.fr-video__play .icon { width: 30px; height: 30px; margin-left: 4px; }
@keyframes ap-play-pulse {
	0% { box-shadow: 0 0 0 0 rgba(175, 71, 254, .6); }
	70% { box-shadow: 0 0 0 24px rgba(175, 71, 254, 0); }
	100% { box-shadow: 0 0 0 0 rgba(175, 71, 254, 0); }
}

/* Frank the fox: jumps onto the video card, then idles (bob, sway, glow, sparks).
   Follows the pointer slightly (--fx/--fy set in main.js). Entrance waits for the hero reveal. */
.fr-fox {
	--fx: 0;
	--fy: 0;
	position: absolute;
	right: -5%;
	bottom: -4px;
	z-index: 2;
	width: clamp(130px, 15vw, 200px);
	pointer-events: none;
	transform: translate3d(calc(var(--fx) * 10px), calc(var(--fy) * 8px), 0) rotate(calc(var(--fx) * 4deg));
	transition: transform .5s var(--ap-ease);
}
.fr-fox__img {
	position: relative;
	z-index: 1;
	width: 100%;
	transform-origin: 50% 92%;
	filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .45));
	opacity: 0;
}
.fr-fox__glow {
	position: absolute;
	inset: 18% 5% 10%;
	background: radial-gradient(closest-side, rgba(255, 140, 60, .45), rgba(175, 71, 254, .25) 60%, transparent);
	filter: blur(14px);
	opacity: 0;
}
.fr-fox__shadow {
	position: absolute;
	left: 18%;
	right: 18%;
	bottom: -4px;
	height: 14px;
	background: radial-gradient(closest-side, rgba(0, 0, 0, .55), transparent);
	opacity: 0;
}
.fr-fox__sparks span {
	position: absolute;
	z-index: 2;
	width: 8px;
	height: 8px;
	background: #fff;
	clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
	opacity: 0;
}
.fr-fox__sparks span:nth-child(1) { top: 12%; left: 4%; }
.fr-fox__sparks span:nth-child(2) { top: 4%; right: 18%; width: 11px; height: 11px; background: #e7c4ff; }
.fr-fox__sparks span:nth-child(3) { top: 42%; right: -2%; background: #ffc35a; }
.fr-fox__sparks span:nth-child(4) { top: 55%; left: -6%; width: 6px; height: 6px; background: #e7c4ff; }

html:not(.js-anim) .fr-fox__img,
.fr-hero__media.is-visible .fr-fox__img {
	animation:
		ap-fox-in 1.1s cubic-bezier(.34, 1.56, .64, 1) .35s both,
		ap-fox-idle 4.2s ease-in-out 1.45s infinite;
}
html:not(.js-anim) .fr-fox__glow,
.fr-hero__media.is-visible .fr-fox__glow { animation: ap-fox-glow 4.2s ease-in-out 1.45s infinite; }
html:not(.js-anim) .fr-fox__shadow,
.fr-hero__media.is-visible .fr-fox__shadow { animation: ap-fox-shadow 4.2s ease-in-out 1.45s infinite; }
.fr-hero__media.is-visible .fr-fox__sparks span,
html:not(.js-anim) .fr-fox__sparks span { animation: ap-fox-spark 2.8s ease-in-out infinite; }
.fr-fox__sparks span:nth-child(1) { animation-delay: 1.5s; }
.fr-fox__sparks span:nth-child(2) { animation-delay: 2.2s; }
.fr-fox__sparks span:nth-child(3) { animation-delay: 2.9s; }
.fr-fox__sparks span:nth-child(4) { animation-delay: 3.5s; }

/* Jump in from below-right, land with a squash, settle */
@keyframes ap-fox-in {
	0% { opacity: 0; transform: translate(60%, 70%) rotate(25deg) scale(.4); }
	55% { opacity: 1; transform: translate(-4%, -14%) rotate(-8deg) scale(1.06); }
	72% { transform: translate(0, 0) rotate(0) scale(1.08, .9); }
	86% { transform: translate(0, -3%) scale(.97, 1.04); }
	100% { opacity: 1; transform: none; }
}
/* Idle: hover-bob with a gentle sway and a small hop */
@keyframes ap-fox-idle {
	0%, 100% { translate: 0 0; rotate: 0deg; scale: 1; }
	25% { translate: 0 -8px; rotate: -3deg; }
	50% { translate: 0 -2px; rotate: 2deg; }
	62% { translate: 0 0; scale: 1.04 .96; }
	70% { translate: 0 -14px; rotate: 0deg; scale: .98 1.03; }
	80% { translate: 0 0; scale: 1.03 .97; }
	88% { scale: 1; }
}
@keyframes ap-fox-shadow {
	0%, 100%, 62%, 80% { opacity: .9; transform: scaleX(1); }
	25% { opacity: .6; transform: scaleX(.85); }
	70% { opacity: .45; transform: scaleX(.7); }
}
@keyframes ap-fox-glow {
	0%, 100% { opacity: .55; transform: scale(1); }
	50% { opacity: 1; transform: scale(1.12); }
}
@keyframes ap-fox-spark {
	0%, 100% { opacity: 0; transform: scale(0) rotate(0); }
	45% { opacity: 1; transform: scale(1) rotate(90deg); }
	70% { opacity: 0; transform: scale(.4) rotate(180deg); }
}
/* Hovering the video: Frank leans in toward the play button */
.fr-hero__media:hover .fr-fox { transform: translate3d(-10px, -6px, 0) rotate(-8deg) scale(1.06); }

.fr-works {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px 18px;
	margin-top: clamp(36px, 5vw, 56px);
	padding: 16px 22px;
	background: rgba(255, 255, 255, .03);
	border: 1px solid var(--ap-border-soft);
	border-radius: 16px;
}
.fr-works__label { font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ap-muted); }
.fr-works__list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.fr-works__list li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px 7px 10px; font-size: .875rem; font-weight: 500; color: var(--ap-white); background: rgba(255, 255, 255, .05); border: 1px solid var(--ap-border); border-radius: 999px; transition: border-color .3s, background-color .3s, transform .3s var(--ap-ease); }
.fr-works__list li:hover { border-color: rgba(175, 71, 254, .5); background: rgba(175, 71, 254, .1); transform: translateY(-2px); }
.fr-works__logo { width: 20px; height: 20px; flex-shrink: 0; }
.fr-works__more { font-size: .875rem; color: var(--ap-primary-soft); }

/* Capability viewer
   ========================================================================== */
.fr-viewer { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.fr-caps { display: grid; gap: 10px; }
.fr-cap {
	display: flex;
	align-items: center;
	gap: 16px;
	width: 100%;
	padding: 16px 18px;
	text-align: left;
	font: inherit;
	color: inherit;
	background: rgba(255, 255, 255, .025);
	border: 1px solid var(--ap-border-soft);
	border-radius: 16px;
	cursor: pointer;
	transition: border-color .3s, background-color .3s, transform .35s var(--ap-ease);
}
.fr-cap:hover { border-color: rgba(175, 71, 254, .35); transform: translateX(4px); }
.fr-cap.is-active { background: linear-gradient(90deg, rgba(175, 71, 254, .22), rgba(175, 71, 254, .05)); border-color: rgba(175, 71, 254, .55); box-shadow: 0 0 30px rgba(175, 71, 254, .15); }
.fr-cap__icon { display: grid; place-items: center; flex-shrink: 0; width: 42px; height: 42px; color: var(--ap-primary-soft); border: 1px solid var(--ap-border); border-radius: 12px; transition: background-color .3s, color .3s; }
.fr-cap__icon .icon { width: 20px; height: 20px; }
.fr-cap.is-active .fr-cap__icon { color: var(--ap-white); background: var(--ap-primary); border-color: var(--ap-primary); }
.fr-cap__txt { display: grid; gap: 2px; flex: 1; }
.fr-cap__title { font: 700 1.05rem/1.3 var(--ap-font-heading); color: var(--ap-white); }
.fr-cap__desc { font-size: .875rem; line-height: 1.6; color: var(--ap-muted); }
.fr-cap__chev { font-size: 1.5rem; color: var(--ap-muted); transition: transform .3s var(--ap-ease), color .3s; }
.fr-cap.is-active .fr-cap__chev { color: var(--ap-white); transform: translateX(4px); }

.fr-screen {
	position: sticky;
	top: calc(var(--ap-header-h) + 24px);
	overflow: hidden;
	background: #0f0a11;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 20px;
	box-shadow: 0 40px 80px rgba(0, 0, 0, .5), 0 0 80px rgba(175, 71, 254, .2);
}
.fr-screen__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--ap-border-soft); }
.fr-screen__bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.fr-screen__bar span:nth-child(1) { background: #ff6b81; }
.fr-screen__bar span:nth-child(2) { background: #ffc35a; }
.fr-screen__bar span:nth-child(3) { background: #4ade80; }
.fr-screen__bar em { margin-left: 12px; padding: 3px 14px; font-size: .78rem; font-style: normal; color: var(--ap-muted); background: rgba(255, 255, 255, .05); border-radius: 999px; }
.fr-screen img { width: 100%; transition: opacity .35s; }
.fr-screen img.is-swapping { opacity: 0; }

/* Margin math
   ========================================================================== */
.fr-margin { background: radial-gradient(50% 60% at 80% 50%, rgba(120, 40, 170, .22), transparent 70%), var(--ap-bg-deep); border-block: 1px solid var(--ap-border-soft); }
.fr-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.fr-compare__card { padding: clamp(26px, 3vw, 38px); border: 1px solid var(--ap-border); border-radius: 22px; }
.fr-compare__card--without { background: rgba(255, 255, 255, .02); }
.fr-compare__card--with { background: linear-gradient(135deg, rgba(175, 71, 254, .24), rgba(175, 71, 254, .05)); border-color: rgba(175, 71, 254, .5); box-shadow: 0 0 50px rgba(175, 71, 254, .18); }
.fr-compare__tag { display: inline-block; padding: 5px 14px; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; }
.fr-compare__card--without .fr-compare__tag { color: #ffb4bd; background: rgba(255, 90, 110, .12); }
.fr-compare__card--with .fr-compare__tag { color: var(--ap-white); background: var(--ap-primary); }
.fr-compare__value { margin: 18px 0 2px; font: 800 clamp(2.6rem, 5vw, 3.8rem)/1 var(--ap-font-heading); color: var(--ap-white); }
.fr-compare__card--without .fr-compare__value { color: #ffb4bd; }
.fr-compare__sub { margin: 0 0 22px; color: var(--ap-muted); }
.fr-compare__list { display: grid; gap: 12px; list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--ap-border-soft); }
.fr-compare__list li { display: flex; gap: 12px; line-height: 1.6; color: var(--ap-text); }
.fr-compare__list span { flex-shrink: 0; display: grid; place-items: center; width: 22px; height: 22px; font-size: .75rem; border-radius: 50%; }
.fr-compare__card--without .fr-compare__list span { color: #ffb4bd; background: rgba(255, 90, 110, .14); }
.fr-compare__card--with .fr-compare__list span { color: var(--ap-white); background: var(--ap-primary); }
.fr-compare__card--with .fr-compare__list li { color: var(--ap-white); }

/* Steps
   ========================================================================== */
.fr-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.fr-steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 30px; height: 2px; background: linear-gradient(90deg, transparent, rgba(175, 71, 254, .6), transparent); }
.fr-step {
	position: relative;
	padding: 26px 22px;
	background: rgba(20, 12, 22, .7);
	border: 1px solid var(--ap-border);
	border-radius: 20px;
	transition: transform .4s var(--ap-ease), border-color .3s;
}
.fr-step:hover { transform: translateY(-6px); border-color: rgba(175, 71, 254, .5); }
.fr-step__num { display: inline-block; margin-bottom: 14px; padding: 5px 12px; font-size: .75rem; font-weight: 700; letter-spacing: .12em; color: var(--ap-white); background: linear-gradient(135deg, var(--ap-primary), #6d28d9); border-radius: 999px; box-shadow: 0 6px 16px rgba(175, 71, 254, .4); }
.fr-step__title { font-size: 1.3rem; margin-bottom: .4em; }
.fr-step p { margin: 0; line-height: 1.75; color: var(--ap-text); }

/* Different + who
   ========================================================================== */
.fr-diff__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.fr-card,
.fr-aud {
	padding: 28px 24px;
	background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .008));
	border: 1px solid var(--ap-border);
	border-radius: 20px;
	transition: transform .4s var(--ap-ease), border-color .3s, box-shadow .4s var(--ap-ease);
}
.fr-card:hover,
.fr-aud:hover { transform: translateY(-6px); border-color: rgba(175, 71, 254, .5); box-shadow: 0 22px 44px rgba(0, 0, 0, .4); }
.fr-card:hover .fr-card__icon,
.fr-aud:hover .fr-card__icon { transform: rotate(-6deg) scale(1.06); }
.fr-card .fr-card__icon { margin-bottom: 20px; }
.fr-card__title { font-size: 1.2rem; margin-bottom: .45em; }
.fr-card p { margin: 0; line-height: 1.75; color: var(--ap-text); }

.fr-who__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.fr-aud { display: flex; flex-direction: column; }
.fr-aud__top { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.fr-aud__label { font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ap-primary-soft); }
.fr-aud__title { font-size: 1.35rem; margin-bottom: .45em; }
.fr-aud > p { line-height: 1.8; color: var(--ap-text); }
.fr-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 20px; padding: 0; }
.fr-tags li { padding: 4px 12px; font-size: .8rem; color: var(--ap-white); background: rgba(175, 71, 254, .14); border: 1px solid rgba(175, 71, 254, .32); border-radius: 999px; }
.fr-aud__list { display: grid; gap: 10px; list-style: none; margin: auto 0 0; padding: 18px 0 0; border-top: 1px solid var(--ap-border-soft); }
.fr-aud__list li { display: flex; gap: 10px; font-size: .9375rem; line-height: 1.55; color: var(--ap-white); }
.fr-aud__list .icon { flex-shrink: 0; width: 20px; height: 20px; padding: 3px; color: var(--ap-white); background: var(--ap-primary); border-radius: 50%; stroke-width: 3; }

/* Track record
   ========================================================================== */
.fr-record__box {
	padding: clamp(40px, 6vw, 72px) clamp(20px, 4vw, 56px);
	background: radial-gradient(60% 80% at 50% 0%, rgba(150, 60, 210, .4), transparent 70%), rgba(255, 255, 255, .015);
	border: 1px solid var(--ap-border);
	border-radius: 28px;
}
.fr-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; border: 1px solid var(--ap-border-soft); border-radius: 20px; background: rgba(20, 12, 22, .5); }
.fr-stat { display: grid; gap: 6px; padding: clamp(22px, 3vw, 34px) 18px; text-align: center; }
.fr-stat + .fr-stat { border-left: 1px solid var(--ap-border-soft); }
.fr-stat__value { font: 800 clamp(2.2rem, 4vw, 3.2rem)/1 var(--ap-font-heading); background: linear-gradient(180deg, #ffffff, #cfa0f5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fr-stat__label { font-size: .9375rem; color: var(--ap-muted); }
.fr-strip { margin: 28px 0 0; text-align: center; font-size: .9rem; letter-spacing: .02em; color: var(--ap-primary-soft); }

/* Proof
   ========================================================================== */
.fr-quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.fr-quote {
	position: relative;
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 30px 26px 26px;
	background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .008));
	border: 1px solid var(--ap-border);
	border-radius: 20px;
	transition: transform .4s var(--ap-ease), border-color .3s;
}
.fr-quote:hover { transform: translateY(-6px); border-color: rgba(175, 71, 254, .5); }
.fr-quote__mark { font: 800 4rem/.7 var(--ap-font-heading); color: var(--ap-primary); opacity: .6; }
.fr-quote blockquote { margin: 10px 0 22px; padding: 0; border: 0; }
.fr-quote blockquote p { margin: 0; font-size: 1.05rem; line-height: 1.75; color: var(--ap-white); }
.fr-quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.fr-quote__avatar { display: grid; place-items: center; width: 44px; height: 44px; font: 700 1.1rem/1 var(--ap-font-heading); color: var(--ap-white); background: linear-gradient(135deg, var(--ap-primary), #6d28d9); border-radius: 50%; }
.fr-quote__who { display: grid; line-height: 1.35; }
.fr-quote__who strong { color: var(--ap-white); }
.fr-quote__who span { font-size: .875rem; color: var(--ap-muted); }
.fr-quote__result { align-self: flex-start; margin-top: 18px; padding: 6px 14px; font-size: .85rem; font-weight: 600; color: #b8f0cf; background: rgba(60, 200, 120, .12); border: 1px solid rgba(60, 200, 120, .35); border-radius: 999px; }

/* FAQ
   ========================================================================== */
.fr-faq__grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.fr-faq .fr-head { position: sticky; top: calc(var(--ap-header-h) + 24px); }
.fr-faq__mascot { width: min(200px, 60%); margin-top: 24px; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .5)); }
.fr-faq__list { display: grid; gap: 12px; }
.fr-faq__item { background: rgba(255, 255, 255, .025); border: 1px solid var(--ap-border-soft); border-radius: 16px; transition: border-color .3s, background-color .3s; }
.fr-faq__item[open] { background: rgba(175, 71, 254, .08); border-color: rgba(175, 71, 254, .45); }
.fr-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 22px;
	font: 600 1.05rem/1.4 var(--ap-font-heading);
	color: var(--ap-white);
	list-style: none;
	cursor: pointer;
}
.fr-faq__item summary::-webkit-details-marker { display: none; }
.fr-faq__toggle { display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; color: var(--ap-primary-soft); border: 1px solid var(--ap-border); border-radius: 50%; transition: transform .35s var(--ap-ease), background-color .3s, color .3s; }
.fr-faq__toggle .icon { width: 16px; height: 16px; }
.fr-faq__item[open] .fr-faq__toggle { transform: rotate(45deg); color: var(--ap-white); background: var(--ap-primary); border-color: var(--ap-primary); }
.fr-faq__item p { margin: 0; padding: 0 22px 20px; line-height: 1.85; color: var(--ap-text); }

/* CTA
   ========================================================================== */
.fr-cta__box {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 32px;
	padding: clamp(36px, 5vw, 64px);
	overflow: hidden;
	background: radial-gradient(60% 100% at 100% 50%, rgba(150, 60, 210, .45), transparent 70%), rgba(255, 255, 255, .015);
	border: 1px solid var(--ap-border);
	border-radius: 28px;
}
.fr-cta__content { max-width: 640px; }
.fr-cta__mascot { width: clamp(140px, 18vw, 240px); filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .5)); animation: ap-float-y 6s ease-in-out infinite; }

/* Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.fr-diff__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fr-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fr-steps::before { display: none; }
}
@media (max-width: 960px) {
	.fr-hero__grid,
	.fr-viewer,
	.fr-faq__grid { grid-template-columns: 1fr; }
	.fr-hero__media { max-width: 620px; width: 100%; margin-inline: auto; }
	.fr-screen,
	.fr-faq .fr-head { position: static; }
	.fr-faq__mascot { display: none; }
	.fr-compare,
	.fr-who__grid,
	.fr-quotes { grid-template-columns: 1fr; }
	.fr-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fr-stat:nth-child(3) { border-left: 0; }
	.fr-stat:nth-child(n + 3) { border-top: 1px solid var(--ap-border-soft); }
}
@media (max-width: 600px) {
	.fr-diff__grid,
	.fr-steps { grid-template-columns: 1fr; }
	.fr-cta__box { grid-template-columns: 1fr; }
	.fr-cta__mascot { display: none; }
	.fr-video { transform: none; }
	.fr-fox { right: -2%; width: 120px; }
}

/* Join the waitlist pop-up
   ========================================================================== */
.waitlist {
	width: min(480px, calc(100vw - 32px));
	max-width: none;
	padding: 40px 36px 34px;
	overflow: visible;
	text-align: center;
	color: var(--ap-text);
	background:
		radial-gradient(70% 60% at 50% 0%, rgba(150, 60, 210, .4), transparent 70%),
		#1c1220;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 24px;
	box-shadow: 0 40px 120px rgba(0, 0, 0, .7), 0 0 80px rgba(175, 71, 254, .2);
}
.waitlist[open] { animation: ap-wl-in .35s var(--ap-ease); }
.waitlist::backdrop { background: rgba(8, 4, 10, .8); backdrop-filter: blur(6px); }
@keyframes ap-wl-in { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.waitlist__mascot { position: absolute; top: -78px; left: 50%; width: 96px; transform: translateX(-50%); filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .5)); animation: ap-float-y 6s ease-in-out infinite; pointer-events: none; }
.waitlist .eyebrow { margin: 14px 0 .5em; }
.waitlist__title { margin: 0 0 22px; font-size: clamp(1.7rem, 4vw, 2.1rem); }
.waitlist__close {
	position: absolute;
	top: 14px;
	right: 14px;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	padding: 0;
	color: var(--ap-white);
	background: rgba(255, 255, 255, .08);
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	transition: background-color .2s, transform .3s var(--ap-ease);
}
.waitlist__close:hover { background: var(--ap-primary); transform: rotate(90deg); }
.waitlist__close .icon { width: 18px; height: 18px; }
.waitlist__form { text-align: left; }
.waitlist .gform_wrapper.gravity-theme .gform_fields { row-gap: 12px; column-gap: 0 !important; }
.waitlist .gform_wrapper.gravity-theme .gfield > .gfield_label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
.waitlist .gform_wrapper.gravity-theme .gform_footer { margin-top: 14px; }
.waitlist .gform_wrapper.gravity-theme .gform_button { width: 100%; justify-content: center; }
.waitlist .gform_confirmation_message { text-align: center; }
.waitlist .gform_wrapper,
.waitlist .gform_wrapper form,
.waitlist .gform_wrapper .gfield,
.waitlist .gform_wrapper .ginput_container { min-width: 0; max-width: 100%; }
.waitlist .gform_wrapper.gravity-theme input[type="email"],
.waitlist .gform_wrapper.gravity-theme input[type="text"] { width: 100% !important; max-width: 100%; box-sizing: border-box; }
@media (max-width: 600px) { .waitlist { padding: 36px 20px 26px; } }
